{"version":3,"file":"ShortTextGenerator.D4xeTcq0.mjs","names":["useState","useRef","useCallback","url","p","_Fragment","useId","useMemo","c"],"sources":["https:/framerusercontent.com/modules/vCcypFFEO137RVTiaJcq/tE5k33hzrzzO3eimzdTB/ShortTextGenerator.js"],"sourcesContent":["// GENERATED by build.mjs from AiPause.ts, LimitLines.ts, WSToolKit.tsx, AbstractShared.ts, FileText.ts, Generators.ts, DocxLite.ts, OutlineFormat.ts, EssayHandoff.ts, AppHandoff.ts, OutlineEditor.tsx, ShortTextGenerator.tsx. Edit those files, then rebuild.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useCallback,useEffect,useRef,useState,useId,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// ---- AiPause.ts --------------------------------------------------\n// GENERATED from lexi/src/lib/publicAi/pause.ts by sync-shared.sh. Edit it there, not here.\n/** When the free AI tools on writingstudio.com are paused for the rest of the\n *  day, and the line the tool pages show by their AI buttons while they are.\n *\n *  Each tool spends from a daily budget (publicAi/limits.ts): the cap they\n *  share, or a share of its own. Once one is used up, that tool's AI waits\n *  for the next UTC day, which is evening in the Americas and morning in\n *  Asia, so the pages say when in the student's own time, as soon as they\n *  open, not after the student has pasted a paper and pressed the button.\n *\n *  Shared with the tool pages: framer-tools/AiPause.ts is a copy made by\n *  sync-shared.sh. Plain code, no imports. *//** The free AI features a page can ask about (GET /api/public/ai-status). */const AI_FEATURES=[\"abstract\",\"generate\",\"claims\",\"finder\",\"review\"];function nextUtcMidnight(now=Date.now()){const d=new Date(now);return Date.UTC(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()+1);}/** A status the server sent, or null when it isn't one. */function aiStatusFrom(raw){if(!raw||typeof raw!==\"object\")return null;const{paused,until}=raw;if(!Array.isArray(paused)||typeof until!==\"number\"||!Number.isFinite(until))return null;const known=AI_FEATURES;return{paused:paused.filter(f=>typeof f===\"string\"&&known.includes(f)),until};}/** When this feature's AI is back, or null when it isn't paused (or that time has come). */function pausedUntil(status,feature,now=Date.now()){return status&&status.until>now&&status.paused.includes(feature)?status.until:null;}/** \"8:00 PM\", or \"9:00 AM tomorrow\" when that's tomorrow where the student is. */function backAtLabel(at,now=Date.now(),timeZone){const day=t=>new Date(t).toLocaleDateString(\"en-CA\",{timeZone});const time=new Date(at).toLocaleTimeString(undefined,{hour:\"numeric\",minute:\"2-digit\",timeZone});return day(at)===day(now)?time:`${time} tomorrow`;}/** The line every free tool shows by its AI button while its AI is paused.\n *  `still` says what works without it (\"Checking your references still works.\"). */function pausedLine(until,still,now=Date.now(),timeZone){return`AI is paused for everyone until ${backAtLabel(until,now,timeZone)}.${still?` ${still}`:\"\"}`;}/** The server's refusal while a feature is paused, `backIn` being \"5 hours\". The pages\n *  show pausedLine in the student's own time instead; this is for pages from before it. */function pausedMessage(backIn){return`AI is paused for everyone. It’s back in ${backIn}.`;}// ---- LimitLines.ts -----------------------------------------------\n// GENERATED from lexi/src/lib/publicAi/limitLines.ts by sync-shared.sh. Edit it there, not here.\n/** What the free tools on writingstudio.com say when a daily limit is used up,\n *  and what a free Writing Studio account really gives, beside every sign-up\n *  link on their pages. Kept together so they stay true when plans change.\n *\n *  An account gives no more of a free tool. The app has no abstract, title,\n *  thesis, introduction, conclusion, outline or annotated bibliography tool,\n *  and its Free plan has its own small AI allowances (plans.ts). So a limit\n *  line says when the tool is back and what still works, never \"create an\n *  account for more\", and each sign-up link sits beside the line here that\n *  says what an account adds for that task.\n *\n *  ACCOUNT_NEEDS names the Free plan's allowances (plans.ts meter ids) a line\n *  relies on; publicAiLimitLines.test.ts fails if Free stops including one.\n *\n *  Shared with the tool pages: framer-tools/LimitLines.ts is a copy made by\n *  sync-shared.sh. Plain code, no imports. *//** A free tool's daily limit: what's used up (\"5 free abstracts\"), when it's\n *  back (`backIn`, \"5 hours\") and, if anything, what still works without it. */function limitLine(used,backIn,still=\"\"){return`You’ve used today’s ${used}. They come back in ${backIn}.${still?` ${still}`:\"\"}`;}/** What a free account adds for each free tool's task, said beside its sign-up link. */const ACCOUNT_GIVES={/** The abstract and essay generators (titles, theses, introductions, conclusions, outlines). */paper:\"In a free Writing Studio account, you write your paper, and every source you cite gets checked.\",/** The citation generator and the annotated bibliography. */sources:\"In a free Writing Studio account, your sources stay in one library you can cite from as you write.\",/** The citation checker. */citations:\"In a free Writing Studio account, every citation you add links back to its source.\",/** The citation finder. */finding:\"In a free Writing Studio account, you can find a source for any sentence as you write.\"};/** The Free plan allowances each line relies on. Writing, citing, the library and\n *  checking your own sources aren't metered on any plan. */const ACCOUNT_NEEDS={paper:[],sources:[],citations:[],finding:[\"cites\"]};// ---- WSToolKit.tsx -----------------------------------------------\n/**\n * WSToolKit: shared building blocks for Writing Studio's free tools\n * (citation generator, paraphrasing tool, thesis statement generator and\n * the rest). Every tool imports its tokens, styles, buttons, popover,\n * toasts, icons, storage and analytics from here, so the family looks and\n * behaves the same and a design change lands everywhere at once.\n *\n * Colors read the site's own Framer color styles through CSS variables,\n * with the current values as fallbacks, so the tools follow the site.\n *\n * Nothing here touches window, document, localStorage or the clipboard\n * during render; all of that happens in effects and event handlers, so\n * Framer's server render is always clean.\n *//* ------------------------------------------------------------ tokens -- */const token=(id,fallback)=>`var(--token-${id}, ${fallback})`;const T={font:'\"Google Sans Flex Variable\", \"Google Sans Flex Variable Placeholder\", \"Google Sans Flex\", system-ui, -apple-system, \"Segoe UI\", sans-serif',serif:'\"Instrument Serif\", \"Instrument Serif Placeholder\", Georgia, serif',blue:\"#2B4CFF\",blueHover:token(\"74f0a186-517f-42e6-9594-419eaad265e0\",\"rgb(32, 64, 227)\"),blueSoft:\"rgba(43, 76, 255, 0.08)\",blueRing:\"rgba(43, 76, 255, 0.35)\",text:token(\"6e6e337d-28cc-44d1-a0da-bb7b5b6c59e1\",\"#000000\"),text800:token(\"70c2ae7b-a5e6-4414-a82e-94a47fd10245\",\"rgb(51, 51, 51)\"),text700:token(\"66b6d7ff-ba33-4d69-8906-b2633b6d4a86\",\"rgb(84, 84, 84)\"),text600:token(\"813ec4a8-3f64-40f4-ae75-c758ceafa922\",\"rgb(99, 99, 99)\"),text500:token(\"184dcff3-e572-4075-ade0-8c6d8e309c5e\",\"rgb(120, 120, 120)\"),icon400:token(\"67254f3c-b607-431f-8193-1d669a2bdcca\",\"rgb(161, 161, 161)\"),white:token(\"18b15b83-4ec0-475b-b37c-540277e0faa8\",\"#ffffff\"),bg50:token(\"6c8d10ba-463b-4990-b64f-32918ca2d4f2\",\"rgb(253, 253, 253)\"),bg100:token(\"88de8be5-fdc6-43ad-98d5-dc2e7d77e5cc\",\"rgb(247, 247, 247)\"),bg200:token(\"487debdd-9588-4cf5-b389-1f7017cbcedd\",\"rgb(237, 237, 237)\"),black3:token(\"1f4a9512-b90d-4ca4-bb0a-8c8034c20bcc\",\"rgba(0, 0, 0, 0.03)\"),black5:token(\"fe732e94-f30f-4945-91af-015cdcf1f937\",\"rgba(0, 0, 0, 0.05)\"),border10:token(\"c501e0d1-c10e-4ef2-baa7-db83ded46808\",\"rgba(0, 0, 0, 0.1)\"),border200:token(\"7e7d9213-6afe-4309-afa8-7dccf478cb0d\",\"rgb(222, 222, 222)\"),border300:token(\"95a8f7e0-de26-4a21-abd8-7324f048c094\",\"rgb(189, 189, 189)\"),red:token(\"0492d6f2-d22d-49e2-88a7-a7e4b06bd484\",\"rgb(255, 34, 68)\"),redSoft:token(\"b06755cf-e72e-4b54-b92e-df84e1441a16\",\"rgba(255, 34, 68, 0.15)\"),amber:\"#9a6700\",amberSoft:\"#fff8e6\",green:\"#1a7f37\",radius:10,radiusLg:14,shadowButton:\"0px 1px 2px 0px rgba(0, 0, 0, 0.25)\",shadowCard:\"0 1px 2px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.05)\",shadowPop:\"0 2px 6px rgba(0, 0, 0, 0.06), 0 16px 40px rgba(0, 0, 0, 0.12)\",ease:\"cubic-bezier(0.2, 0.8, 0.2, 1)\"};/** Base CSS for every tool. Class names are prefixed \"wst-\" so nothing\n *  collides with Framer's own classes. Responsive rules live here as media\n *  queries, not JavaScript, so the server render already has the right\n *  layout and nothing shifts when the page hydrates. */const TOOLKIT_CSS=`\n.wst-root{position:relative;width:100%;font-family:${T.font};color:${T.text};font-size:15px;line-height:1.5;letter-spacing:.01em;-webkit-font-smoothing:antialiased;text-align:left}\n.wst-root *,.wst-root *::before,.wst-root *::after{box-sizing:border-box}\n/* :where() keeps this reset at the lowest specificity, so button variants (white text on blue) always win. */\n.wst-root :where(button,input,textarea,select){font:inherit;color:inherit;letter-spacing:inherit}\n.wst-root :focus{outline:none}\n/* Focus cues are grey, never blue (the owner's rule for the free tools). */\n.wst-root :focus-visible{outline:2px solid ${T.text500};outline-offset:2px}\n.wst-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;cursor:pointer;border-radius:${T.radius}px;padding:0 14px;height:36px;white-space:nowrap;font-variation-settings:\"wght\" 560;font-weight:560;transition:background-color .15s ${T.ease},box-shadow .15s ${T.ease},transform .1s ${T.ease},opacity .15s}\n.wst-btn:active{transform:translateY(1px)}\n.wst-btn[disabled]{opacity:.55;cursor:default;transform:none}\n.wst-btn--primary{background:${T.blue};color:#fff;box-shadow:${T.shadowButton}}\n.wst-btn--primary:hover:not([disabled]){background:${T.blueHover}}\n.wst-btn--secondary{background:${T.black5};color:${T.text};box-shadow:${T.shadowButton},inset 0 0 0 1px ${T.border10}}\n.wst-btn--secondary:hover:not([disabled]){background:${T.border10}}\n.wst-btn--ghost{background:transparent;color:${T.text700};padding:0 10px}\n.wst-btn--ghost:hover:not([disabled]){background:${T.black5};color:${T.text}}\n.wst-btn--link{background:transparent;color:${T.text700};padding:0 4px;height:auto;font-variation-settings:\"wght\" 500;font-weight:500}\n.wst-btn--link:hover{color:${T.blue}}\n.wst-btn--lg{height:44px;padding:0 20px;font-size:15px}\n.wst-btn--sm{height:30px;padding:0 10px;font-size:13px;border-radius:8px}\n.wst-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;border-radius:8px;background:transparent;color:${T.text600};cursor:pointer;transition:background-color .15s,color .15s}\n.wst-icon-btn:hover{background:${T.black5};color:${T.text}}\n.wst-card{background:${T.white};border:1px solid ${T.border200};border-radius:${T.radiusLg}px}\n.wst-badge{display:inline-flex;align-items:center;gap:4px;height:22px;padding:0 8px;border-radius:999px;font-size:12px;line-height:1;white-space:nowrap;font-variation-settings:\"wght\" 520;font-weight:520;background:${T.black5};color:${T.text700}}\n.wst-badge--blue{background:${T.blueSoft};color:${T.blue}}\n.wst-badge--amber{background:${T.amberSoft};color:${T.amber}}\n.wst-muted{color:${T.text600}}\n.wst-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}\n.wst-spin{width:16px;height:16px;border-radius:50%;border:2px solid currentColor;border-right-color:transparent;animation:wst-spin .7s linear infinite;display:inline-block;flex:none}\n@keyframes wst-spin{to{transform:rotate(360deg)}}\n@keyframes wst-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}\n@keyframes wst-drop{from{opacity:0;transform:translateY(-8px) scale(.99)}to{opacity:1;transform:none}}\n.wst-pop{position:absolute;z-index:40;background:${T.white};border:1px solid ${T.border200};border-radius:${T.radiusLg}px;box-shadow:${T.shadowPop};animation:wst-in .16s ${T.ease}}\n.wst-toasts{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:1000;display:flex;flex-direction:column;gap:8px;align-items:center;pointer-events:none;width:max-content;max-width:calc(100vw - 32px)}\n.wst-toast{pointer-events:auto;display:flex;align-items:center;gap:12px;background:${T.text800};color:#fff;border-radius:12px;padding:10px 14px;font-size:14px;box-shadow:${T.shadowPop};animation:wst-in .18s ${T.ease}}\n.wst-toast button{background:transparent;border:0;color:#fff;cursor:pointer;padding:2px 4px;text-decoration:underline;text-underline-offset:3px;font-variation-settings:\"wght\" 560;font-weight:560}\n@media (prefers-reduced-motion:reduce){.wst-root *,.wst-toast{animation:none!important;transition:none!important}}\n`;/* ----------------------------------------------------------- pieces -- *//** The tool's CSS. Set as raw HTML: as a text child, React escapes quotes on the server (&quot;), which a\n *  <style> tag never decodes, so the server's CSS differed from the browser's and React threw the server\n *  render away on every load (a hydration mismatch). The CSS is a constant, so nothing is injected. */function ToolStyles({css}){return /*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:TOOLKIT_CSS+(css??\"\")}});}function cx(...names){return names.filter(Boolean).join(\" \");}function Button(props){const{variant=\"primary\",size=\"md\",loading,icon,className,children,disabled,keepFocus,...rest}=props;const off=disabled||loading;return /*#__PURE__*/_jsxs(\"button\",{type:\"button\",...rest,disabled:keepFocus?disabled:off,\"aria-disabled\":keepFocus&&off?true:undefined,\"aria-busy\":loading||undefined,className:cx(\"wst-btn\",`wst-btn--${variant}`,size!==\"md\"&&`wst-btn--${size}`,className),children:[loading?/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",\"aria-hidden\":true}):icon,children]});}function IconButton(props){const{label,children,className,...rest}=props;return /*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":label,title:label,...rest,className:cx(\"wst-icon-btn\",className),children:children});}function Badge({children,tone,style}){return /*#__PURE__*/_jsx(\"span\",{className:cx(\"wst-badge\",tone&&`wst-badge--${tone}`),style:style,children:children});}function Spinner({label=\"Loading\"}){return /*#__PURE__*/_jsxs(\"span\",{role:\"status\",style:{display:\"inline-flex\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",\"aria-hidden\":true}),/*#__PURE__*/_jsx(\"span\",{className:\"wst-sr\",children:label})]});}const svg=path=>function Icon({size=18,style}){return /*#__PURE__*/_jsx(\"svg\",{width:size,height:size,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:1.8,strokeLinecap:\"round\",strokeLinejoin:\"round\",\"aria-hidden\":true,style:{flex:\"none\",...style},children:path});};const Icons={Search:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"7\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m20 20-3.5-3.5\"})]})),ChevronDown:svg(/*#__PURE__*/_jsx(\"path\",{d:\"m6 9 6 6 6-6\"})),Check:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M5 12.5 10 17l9-10\"})),Copy:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"9\",y:\"9\",width:\"11\",height:\"11\",rx:\"2.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 15V6.5A2.5 2.5 0 0 1 7.5 4H15\"})]})),Trash:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 7h16M10 11v6M14 11v6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M6 7l1 12a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2l1-12M9 7V4h6v3\"})]})),X:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M6 6l12 12M18 6 6 18\"})),Plus:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M12 5v14M5 12h14\"})),Upload:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 16V4M7 9l5-5 5 5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 16v2a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-2\"})]})),Keyboard:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"6\",width:\"18\",height:\"12\",rx:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M7 10h.01M11 10h.01M15 10h.01M7 14h10\"})]})),Globe:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18\"})]})),Journal:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M5 4h11a3 3 0 0 1 3 3v13H8a3 3 0 0 1-3-3z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M9 8h6M9 12h6\"})]})),Book:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 5a2 2 0 0 1 2-2h13v16H6a2 2 0 0 0-2 2z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 21V5\"})]})),Video:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3\",y:\"6\",width:\"13\",height:\"12\",rx:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m16 10 5-3v10l-5-3\"})]})),File:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 3v5h5\"})]})),News:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 5h13v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2z\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M17 9h3v10a2 2 0 0 1-2 2M8 9h5M8 13h5M8 17h3\"})]})),Alert:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"9\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 8v5M12 16h.01\"})]})),Pencil:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M4 20h4L19 9l-4-4L4 16zM13 7l4 4\"})),Image:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"3.5\",y:\"4.5\",width:\"17\",height:\"15\",rx:\"2.5\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"10\",r:\"1.6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"m20.5 15.5-4.5-4.5-9 8.5\"})]})),Link:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M10 14a4.5 4.5 0 0 0 6.4 0l3-3a4.5 4.5 0 0 0-6.4-6.4l-1 1\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M14 10a4.5 4.5 0 0 0-6.4 0l-3 3a4.5 4.5 0 0 0 6.4 6.4l1-1\"})]})),Quote:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M7 11h4v6H5v-4a6 6 0 0 1 3-5M17 11h4v6h-6v-4a6 6 0 0 1 3-5\"})),Arrow:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M5 12h14M13 6l6 6-6 6\"})),Sparkle:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M12 3.5 13.9 9a1.6 1.6 0 0 0 1.1 1.1l5.5 1.9-5.5 1.9a1.6 1.6 0 0 0-1.1 1.1L12 20.5 10.1 15A1.6 1.6 0 0 0 9 13.9L3.5 12 9 10.1A1.6 1.6 0 0 0 10.1 9z\"})),Stop:svg(/*#__PURE__*/_jsx(\"rect\",{x:\"6.5\",y:\"6.5\",width:\"11\",height:\"11\",rx:\"2\"})),Refresh:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M20 11a8 8 0 0 0-14.3-4.9L4 8\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 4v4h4M4 13a8 8 0 0 0 14.3 4.9L20 16\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M20 20v-4h-4\"})]})),Sliders:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 7h9M17 7h3M4 17h3M11 17h9\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"7\",r:\"2\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"17\",r:\"2\"})]})),Undo:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M9 14 4 9l5-5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M4 9h10.5a5.5 5.5 0 0 1 0 11H11\"})]})),Heart:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M12 20.2s-7.5-4.6-7.5-10.4A4.3 4.3 0 0 1 12 7.2a4.3 4.3 0 0 1 7.5 2.6c0 5.8-7.5 10.4-7.5 10.4z\"})),History:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 12a8.5 8.5 0 1 0 2.6-6.1L3.5 8.5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 3.5v5h5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M12 7.5V12l3 2\"})]})),Download:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M12 4v12M7 11l5 5 5-5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M5 20h14\"})]})),Grip:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"6\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"6\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"12\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"12\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"9\",cy:\"18\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"15\",cy:\"18\",r:\"1\"})]})),More:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"5\",cy:\"12\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"12\",cy:\"12\",r:\"1\"}),/*#__PURE__*/_jsx(\"circle\",{cx:\"19\",cy:\"12\",r:\"1\"})]})),ArrowUp:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M12 19V5M6 11l6-6 6 6\"})),ArrowDown:svg(/*#__PURE__*/_jsx(\"path\",{d:\"M12 5v14M6 13l6 6 6-6\"})),Expand:svg(/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M4 6h10M4 12h10M4 18h6\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M18 14v6M15 17h6\"})]}))};/* --------------------------------------------------------- popover -- *//** Closes on outside pointer down and on Escape; returns focus to the trigger. */function useDismiss(open,onClose,refs){useEffect(()=>{if(!open)return;const onPointer=event=>{const target=event.target;if(refs.some(r=>r.current&&r.current.contains(target)))return;onClose();};const onKey=event=>{if(event.key===\"Escape\")onClose();};document.addEventListener(\"pointerdown\",onPointer);document.addEventListener(\"keydown\",onKey);return()=>{document.removeEventListener(\"pointerdown\",onPointer);document.removeEventListener(\"keydown\",onKey);};},[open,onClose]);}function useToasts(){const[toasts,setToasts]=useState([]);const seq=useRef(0);const timers=useRef(new Map);const dismiss=useCallback(id=>{window.clearTimeout(timers.current.get(id));timers.current.delete(id);setToasts(list=>list.filter(t=>t.id!==id));},[]);/** Starts (or restarts) the countdown; a toast with an action gets long enough to reach it by keyboard. */const later=useCallback((id,ms)=>{if(typeof window===\"undefined\")return;window.clearTimeout(timers.current.get(id));timers.current.set(id,window.setTimeout(()=>dismiss(id),ms));},[dismiss]);const show=useCallback((text,action,ms=3200)=>{seq.current+=1;const id=seq.current;setToasts(list=>[...list.slice(-2),{id,text,action}]);later(id,action?Math.max(ms,1e4):ms);return id;},[later]);/** Hovering or focusing a toast holds it; leaving starts a fresh countdown. */const hold=useCallback((id,on)=>{if(on)window.clearTimeout(timers.current.get(id));else later(id,4e3);},[later]);return{toasts,show,dismiss,hold};}function ToastViewport({toasts,dismiss,hold}){return /*#__PURE__*/_jsx(\"div\",{className:\"wst-toasts\",role:\"status\",\"aria-live\":\"polite\",children:toasts.map(t=>/*#__PURE__*/_jsxs(\"div\",{className:\"wst-toast\",onMouseEnter:()=>hold?.(t.id,true),onMouseLeave:()=>hold?.(t.id,false),onFocus:()=>hold?.(t.id,true),onBlur:()=>hold?.(t.id,false),children:[/*#__PURE__*/_jsx(\"span\",{children:t.text}),t.action?/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:()=>{t.action?.run();dismiss(t.id);},children:t.action.label}):null]},t.id))});}/* ---------------------------------------------------------- storage -- *//** Reads and writes one JSON value in localStorage without ever throwing:\n *  private windows, full storage and blocked site data all just mean the\n *  value lives in memory for this visit. Reads happen after mount, so the\n *  server render and the first client render always match. */const safeStorage={get(key){try{return typeof window===\"undefined\"?null:window.localStorage.getItem(key);}catch{return null;}},set(key,value){try{if(typeof window===\"undefined\")return false;window.localStorage.setItem(key,value);return true;}catch{return false;}},remove(key){try{if(typeof window!==\"undefined\")window.localStorage.removeItem(key);}catch{/* blocked storage has nothing to remove */}}};const BROWSER_KEY=\"ws-browser-id\";let browserId=null;/** Headers for a POST to the free AI tools: JSON, and a random id for this\n *  browser, so each browser gets its own daily allowance instead of sharing\n *  one with everyone on its school or library network (lexi\n *  publicAi/limits.ts). The id means nothing else and is never shown. Kept\n *  in localStorage; where that's blocked it lasts for this visit. Call it\n *  from event handlers, not during render. */function toolHeaders(){if(!browserId){const saved=safeStorage.get(BROWSER_KEY);if(saved&&/^[A-Za-z0-9_-]{16,64}$/.test(saved))browserId=saved;else{try{browserId=crypto.randomUUID();}catch{browserId=uid()+uid()+uid();}safeStorage.set(BROWSER_KEY,browserId);}}return{\"Content-Type\":\"application/json\",\"X-WS-Visitor\":browserId};}const aiStatusRequests=new Map;/** Whether a free AI feature is paused for the rest of the day, its daily\n *  budget used up (lexi publicAi/limits.ts), so the tool can say so by its\n *  AI button as soon as the page opens, before the student does any work:\n *  show pausedLine(until, …) there and hold the button. Asks the tool's own\n *  server (`apiUrl` is any of its endpoints) once per page; null asks\n *  nothing. Call `pause()` when a request comes back with code \"paused\".\n *  The pause ends on its own when the budgets reset, with no reload. If the\n *  status can't be read, nothing changes and the tool's request says what\n *  happened. */function useAiPause(apiUrl,feature){const[until,setUntil]=useState(null);useEffect(()=>{if(!apiUrl)return;let url;try{url=new URL(\"/api/public/ai-status\",apiUrl).href;}catch{return;}let request=aiStatusRequests.get(url);if(!request){request=fetch(url).then(response=>response.ok?response.json():null).then(aiStatusFrom).catch(()=>null);aiStatusRequests.set(url,request);}let cancelled=false;void request.then(status=>{const at=pausedUntil(status,feature);if(at!==null&&!cancelled)setUntil(at);});return()=>{cancelled=true;};},[apiUrl,feature]);useEffect(()=>{if(until===null)return;const timer=window.setTimeout(()=>setUntil(null),Math.max(0,until-Date.now())+1e3);return()=>window.clearTimeout(timer);},[until]);const pause=useCallback(()=>setUntil(nextUtcMidnight()),[]);return{until,pause};}/** Versioned, never-destructive storage for a tool's saved data. A value\n *  from a newer or unknown version is backed up under its own key before\n *  anything is written, so an update can never wipe someone's work. */function useVersionedStore(key,initial,migrate,/** Given, a save from another tab or tool on this site is taken in as it lands (through `adopt`, which\n     *  can keep this tab's own view), so a tab left open never writes an older copy over it. */adopt){const[state,setState]=useState(initial);const[loaded,setLoaded]=useState(false);const loadedRef=useRef(false);useEffect(()=>{const raw=safeStorage.get(key);if(raw){let parsed=null;try{parsed=JSON.parse(raw);}catch{parsed=null;}const migrated=parsed?migrate(parsed):null;if(migrated)setState(migrated);else safeStorage.set(`${key}:backup:${Date.now()}`,raw);}loadedRef.current=true;setLoaded(true);},[key]);useEffect(()=>{if(!adopt||typeof window===\"undefined\")return;const onStorage=event=>{if(event.key!==key||!event.newValue)return;let parsed=null;try{parsed=JSON.parse(event.newValue);}catch{return;}const migrated=migrate(parsed);if(migrated)setState(prev=>adopt(migrated,prev));};window.addEventListener(\"storage\",onStorage);return()=>window.removeEventListener(\"storage\",onStorage);},[key]);const update=useCallback(fn=>{setState(prev=>{const next=fn(prev);if(loadedRef.current)safeStorage.set(key,JSON.stringify(next));return next;});},[key]);return[state,update,loaded];}/* -------------------------------------------------------- analytics -- *//** Sends an event through the site's Google Analytics (gtag), which only\n *  records it when the visitor has accepted analytics cookies. Never throws. */function track(tool,event,params={}){try{if(typeof window===\"undefined\")return;const w=window;const payload={tool,...params};if(typeof w.gtag===\"function\")w.gtag(\"event\",`${tool}_${event}`,payload);else if(Array.isArray(w.dataLayer))w.dataLayer.push({event:`${tool}_${event}`,...payload});}catch{/* analytics must never break the tool */}}/* ------------------------------------------------------------ misc -- */function useDebounced(value,ms){const[debounced,setDebounced]=useState(value);useEffect(()=>{const id=setTimeout(()=>setDebounced(value),ms);return()=>clearTimeout(id);},[value,ms]);return debounced;}function uid(){return Math.random().toString(36).slice(2,10)+Date.now().toString(36).slice(-4);}/** Runs `work` when the browser is idle (or soon, where idle callbacks are missing). */function whenIdle(work,timeout=2500){if(typeof window===\"undefined\")return()=>undefined;const w=window;if(w.requestIdleCallback){const id=w.requestIdleCallback(work,{timeout});return()=>w.cancelIdleCallback?.(id);}const id=window.setTimeout(work,800);return()=>window.clearTimeout(id);}/** A new tab opened on a press, while it still counts as one (a tab opened after waiting for the server or a\n *  file is blocked), saying `text` until it has somewhere to go. Null when the browser blocked it. */function waitingTab(text){const tab=window.open(\"\",\"_blank\");try{if(tab){tab.opener=null;tab.document.title=\"Writing Studio\";tab.document.body.style.cssText=\"margin:0;display:grid;place-items:center;min-height:100vh;font:15px system-ui,sans-serif;color:#555\";tab.document.body.textContent=text;}}catch{/* the tab still opens the page */}return tab;}/** Copies rich HTML and plain text together, so pasting into Word or Google\n *  Docs keeps italics. Falls back to a hidden selection where the async\n *  clipboard API is missing or refused. */async function copyRich(html,text){try{const w=window;if(navigator.clipboard&&w.ClipboardItem){await navigator.clipboard.write([new w.ClipboardItem({\"text/html\":new Blob([html],{type:\"text/html\"}),\"text/plain\":new Blob([text],{type:\"text/plain\"})})]);return true;}}catch{/* fall through to the selection fallback */}// The fallback selects a hidden element: put focus back where it was afterwards.\nconst focused=document.activeElement;try{const holder=document.createElement(\"div\");holder.contentEditable=\"true\";holder.innerHTML=html;holder.style.cssText=\"position:fixed;left:-9999px;top:0;opacity:0;white-space:pre-wrap\";document.body.appendChild(holder);const range=document.createRange();range.selectNodeContents(holder);const selection=window.getSelection();selection?.removeAllRanges();selection?.addRange(range);const ok=document.execCommand(\"copy\");selection?.removeAllRanges();holder.remove();focused?.focus?.({preventScroll:true});if(ok)return true;}catch{/* try plain text last */}try{await navigator.clipboard.writeText(text);return true;}catch{return false;}}async function copyPlain(text){try{await navigator.clipboard.writeText(text);return true;}catch{return copyRich(text.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\"),text);}}// ---- AbstractShared.ts -------------------------------------------\n// GENERATED from lexi/src/lib/publicAbstract/shared.ts by sync-shared.sh. Edit it there, not here.\n/** Word counting, input limits and the gibberish check for the free AI\n *  abstract generator, shared word for word with the Framer component (the\n *  Framer build copies this file), so the counter a visitor sees and the\n *  limits the server enforces can never disagree. No imports. *//* ------------------------------------------------------------ limits -- *//** Below this the tool refuses: there is nothing to summarise. */const MIN_WORDS=30;/** Below this the abstract can only be general; the tool says so. */const THIN_BELOW=150;/** A long chapter or a full journal article. Past this, ask for the key sections. */const MAX_WORDS=12e3;/** Guards against huge inputs with few spaces (tables, code, CJK scripts). */const MAX_CHARS=1e5;const CJK_CHARS=/[぀-ヿ㐀-䶿一-鿿가-힯]/g;/** Words, counting CJK characters (written without spaces) at about 1.5 characters a word. */function countWords(text){const cjk=(text.match(CJK_CHARS)??[]).length;const spaced=text.replace(CJK_CHARS,\" \").split(/\\s+/).filter(w=>RegExp(\"[\\\\p{L}\\\\p{N}]\",\"u\").test(w)).length;return spaced+Math.round(cjk/1.5);}/** Text that is mostly symbols, digits or keyboard mashing is not worth a model call. */function looksLikeGibberish(text){const sample=text.slice(0,4e3);const letters=(sample.match(RegExp(\"\\\\p{L}\",\"gu\"))??[]).length;const visible=sample.replace(/\\s+/g,\"\").length;if(visible===0)return true;if(letters/visible<.55)return true;// Latin-script text with almost no vowels is mashing (\"sdfghjkl qwrtzp\").\nconst latin=(sample.match(/[A-Za-z]/g)??[]).length;if(latin>80){const vowels=(sample.match(/[aeiouyAEIOUY]/g)??[]).length;if(vowels/latin<.2)return true;}// The same short token repeated over and over.\nconst tokens=sample.toLowerCase().split(/\\s+/).filter(Boolean);if(tokens.length>=20&&new Set(tokens).size/tokens.length<.15)return true;return false;}// ---- FileText.ts -------------------------------------------------\n/**\n * FileText: reads the text out of a PDF or DOCX file in the visitor's\n * browser, for the free writing tools. The file never leaves the device,\n * and there is no upload size limit to hit.\n *\n * pdf.js and mammoth are loaded from jsDelivr only when a file is actually\n * dropped, so they cost nothing on page load. Everything here runs in\n * event handlers, never during the server render.\n *\n * Two readings: plain (the abstract and short-text tools: running text, the\n * reference list left out) and rich (the citation checker's full paper mode:\n * the reference list kept with one reference per paragraph, superscript\n * citation numbers kept as superscripts, footnotes read as notes, and the\n * phrases in italics from Word files).\n */const PDFJS=\"https://cdn.jsdelivr.net/npm/pdfjs-dist@4.10.38/build/pdf.min.mjs\";const PDFJS_WORKER=\"https://cdn.jsdelivr.net/npm/pdfjs-dist@4.10.38/build/pdf.worker.min.mjs\";const MAMMOTH=\"https://cdn.jsdelivr.net/npm/mammoth@1.12.0/mammoth.browser.min.js\";const MAX_FILE_BYTES=40*1024*1024;const MAX_PDF_PAGES=300;class FileTextError extends Error{}let pdfjsPromise=null;function loadPdfJs(){if(!pdfjsPromise){const url=PDFJS;pdfjsPromise=import(/* @vite-ignore */url).then(mod=>{const lib=mod.GlobalWorkerOptions?mod:mod.default;lib.GlobalWorkerOptions.workerSrc=PDFJS_WORKER;return lib;}).catch(e=>{pdfjsPromise=null;throw e;});}return pdfjsPromise;}let mammothPromise=null;function loadMammoth(){if(!mammothPromise){mammothPromise=new Promise((resolve,reject)=>{const w=window;if(w.mammoth)return resolve(w.mammoth);const script=document.createElement(\"script\");script.src=MAMMOTH;script.async=true;script.onload=()=>w.mammoth?resolve(w.mammoth):reject(new Error(\"mammoth did not load\"));script.onerror=()=>reject(new Error(\"mammoth did not load\"));document.head.appendChild(script);}).catch(e=>{mammothPromise=null;throw e;});}return mammothPromise;}/** Tests outside the browser hand in their own pdf.js and mammoth. */function setFileTextLoaders(loaders){if(loaders.pdfjs)pdfjsPromise=loaders.pdfjs();if(loaders.mammoth)mammothPromise=loaders.mammoth();}async function pdfPages(data){const pdfjs=await loadPdfJs();const task=pdfjs.getDocument({data});const doc=await task.promise;try{const count=Math.min(doc.numPages,MAX_PDF_PAGES);const pages=[];for(let n=1;n<=count;n+=1){const page=await doc.getPage(n);const content=await page.getTextContent();const lines=[];let line=[];for(const item of content.items){const t=item.transform??[1,0,0,1,0,0];const size=Math.hypot(t[2],t[3])||item.height||0;if(item.str!==undefined)line.push({str:item.str,x:t[4],y:t[5],size});if(item.hasEOL){lines.push(line);line=[];}}if(line.length)lines.push(line);pages.push(lines);}return{pages,count:doc.numPages};}finally{// pdf.js 4 closes the document itself; later versions close it through the loading task.\nvoid(doc.destroy?doc.destroy():task.destroy?.())?.catch(()=>undefined);}}/** The plain reading: lines in order, with a blank line wherever the gap is clearly bigger than normal line spacing. */function plainPdfText(pages){const out=[];for(const page of pages){const lines=page.map(items=>({text:items.map(i=>i.str).join(\"\"),y:items.find(i=>i.str)?.y??null})).filter(l=>l.text.trim());const gaps=[];for(let i=1;i<lines.length;i+=1){const a=lines[i-1].y;const b=lines[i].y;if(a!==null&&b!==null&&a>b)gaps.push(a-b);}const normal=gaps.length?gaps.slice().sort((p,q)=>p-q)[Math.floor(gaps.length/2)]:0;const text=[];lines.forEach((l,i)=>{const prev=lines[i-1];if(i&&normal&&prev.y!==null&&l.y!==null&&prev.y-l.y>normal*1.45)text.push(\"\");text.push(l.text);});out.push(text.join(\"\\n\"));}return out.join(\"\\n\\n\");}const SUPERSCRIPT=\"⁰\\xb9\\xb2\\xb3⁴⁵⁶⁷⁸⁹\";/** \"12\" as \"¹²\", \"1,3\" as \"¹,³\", \"2-5\" as \"²⁻⁵\": citation numbers that stay superscript in plain text. */function toSuperscript(s){return s.replace(/\\s+/g,\"\").replace(/\\d/g,d=>SUPERSCRIPT[Number(d)]).replace(/[-–—]/g,\"⁻\");}const CITE_NUMBERS=/^\\s*\\d{1,3}(?:\\s*[-–—,]\\s*\\d{1,3})*\\s*$/;/** Superscript text that cites: \"12\", \"1,3\", \"2-5\", or AMA's \"7(p162)\" (the page is left out). */function citeSuperscript(text){if(CITE_NUMBERS.test(text))return toSuperscript(text);const ama=text.match(/^\\s*(\\d{1,3}(?:\\s*[-–—,]\\s*\\d{1,3})*)\\s*\\(pp?\\.?\\s*[\\d\\s,–—-]+\\)\\s*$/);return ama?toSuperscript(ama[1]):null;}function weightedMedian(values){const sorted=values.filter(x=>x.w>0).sort((a,b)=>a.v-b.v);const total=sorted.reduce((s,x)=>s+x.w,0);let run=0;for(const x of sorted){run+=x.w;if(run>=total/2)return x.v;}return sorted.length?sorted[sorted.length-1].v:0;}/** One line's text, with raised small numbers written as superscripts. */function lineText(items){const real=items.filter(i=>i.str.trim());const main=real.slice().sort((a,b)=>b.str.trim().length-a.str.trim().length)[0];const size=main?main.size:0;const y=main?main.y:0;let text=\"\";for(const i of items){const raised=size&&i.size&&i.size<=size*.82&&i.y>y+size*.18;const cited=raised?citeSuperscript(i.str):null;text+=cited??i.str;}return{text,size,y,x:real.length?Math.min(...real.map(i=>i.x)):0};}const FOOTNOTE_START=new RegExp(`^(?:([${SUPERSCRIPT}]+)|(\\\\d{1,3})[.)]?)\\\\s*(?=\\\\S)`);function fromSuperscriptDigits(s){return Number([...s].map(c=>SUPERSCRIPT.indexOf(c)).join(\"\"));}const REF_HEADING_LINE=/^\\s*(?:(?:\\d{1,2}|[IVXL]{1,5})[.)]?\\s+)?(references?(?: list| cited)?|bibliography|selected bibliography|works cited|work cited|works consulted|literature cited|sources(?: cited)?|refer[eê]ncias|bibliograf[ií]a|referencias|r[eé]f[eé]rences|literaturverzeichnis|riferimenti bibliografici)\\s*:?\\s*$/i;const END_HEADING_LINE=/^\\s*(?:(?:\\d{1,2}|[IVXL]{1,5})[.)]?\\s+)?(appendix|appendices|tables?|figures?|figure captions|footnotes|end ?notes|notes|author(?:'s|s')? note|acknowledg(?:e)?ments?)\\b.{0,60}$/i;/**\n * The rich reading of a PDF: running heads and page numbers dropped,\n * footnotes (smaller lines at the foot of a page, starting with a number)\n * taken out as notes, superscript citation numbers kept, and the reference\n * list laid out one reference per paragraph using the hanging indent.\n */function richPdfText(pages){const lines=[];pages.forEach((page,p)=>{for(const items of page){const t=lineText(items);if(t.text.trim())lines.push({items,text:t.text.replace(/\\s+/g,\" \").trim(),x:t.x,y:t.y,size:t.size,page:p});}});const body=weightedMedian(lines.map(l=>({v:Math.round(l.size*10)/10,w:l.text.length})));// Running heads and footers: the same first or last line on many pages (numbers aside).\nconst key=t=>t.replace(/\\d+/g,\"#\").toLowerCase();const edgeCount=new Map;for(let p=0;p<pages.length;p+=1){const onPage=lines.filter(l=>l.page===p);for(const l of[onPage[0],onPage[onPage.length-1]])if(l)edgeCount.set(key(l.text),(edgeCount.get(key(l.text))??0)+1);}const repeated=t=>pages.length>=3&&(edgeCount.get(key(t))??0)>=Math.max(2,pages.length*.4);const kept=[];const notes=[];let refsBegun=false;for(let p=0;p<pages.length;p+=1){let onPage=lines.filter(l=>l.page===p);onPage=onPage.filter((l,i)=>!((i===0||i===onPage.length-1)&&repeated(l.text))&&!/^(?:page\\s+)?\\d{1,4}(?:\\s+of\\s+\\d+)?$/i.test(l.text));// Footnotes: a run of smaller lines at the foot of the page, the first one numbered. Not once the\n// reference list has begun (a list in a smaller font is not footnotes).\nconst headAt=onPage.findIndex(l=>l.text.length<=60&&REF_HEADING_LINE.test(l.text));let k=onPage.length;while(k>0&&body&&onPage[k-1].size<=body*.92)k-=1;const foot=onPage.slice(k);// On the page where the list begins, footnotes sit below normal-size entries; a smaller-font list\n// right under the heading is the list itself.\nconst footnotesHere=!refsBegun&&(headAt<0||k>headAt+1);if(headAt>=0)refsBegun=true;if(footnotesHere&&foot.length&&FOOTNOTE_START.test(foot[0].text)&&k>0){for(const l of foot){const m=l.text.match(FOOTNOTE_START);const n=m?m[1]?fromSuperscriptDigits(m[1]):Number(m[2]):NaN;if(m&&n===notes.length+1)notes.push(l.text.slice(m[0].length).trim());else if(notes.length)notes[notes.length-1]+=` ${l.text}`;}onPage=onPage.slice(0,k);}kept.push(...onPage);}// The left margin and normal line gap of body text.\nconst margins=kept.filter(l=>Math.abs(l.size-body)<body*.1).map(l=>l.x).sort((a,b)=>a-b);const margin=margins.length?margins[Math.floor(margins.length*.1)]:0;const gaps=[];for(let i=1;i<kept.length;i+=1)if(kept[i].page===kept[i-1].page&&kept[i-1].y>kept[i].y)gaps.push(kept[i-1].y-kept[i].y);const normal=gaps.length?gaps.sort((a,b)=>a-b)[Math.floor(gaps.length/2)]:body*1.2;let head=-1;for(let i=kept.length-1;i>=0;i-=1){if(kept[i].text.length<=60&&REF_HEADING_LINE.test(kept[i].text)){head=i;break;}}let end=kept.length;if(head>=0){for(let i=head+1;i<kept.length;i+=1){// A heading sits at the margin and starts with a capital; an indented \"tables in education...\" is a wrapped line.\nif(kept[i].text.length<=70&&END_HEADING_LINE.test(kept[i].text)&&kept[i].x<=margin+4&&RegExp(\"^[\\\\p{Lu}\\\\d]\",\"u\").test(kept[i].text)){end=i;break;}}}// The body: a blank line at big gaps and first-line indents, then the usual tidy-up.\nconst bodyText=(from,to)=>{const out=[];for(let i=from;i<to;i+=1){const l=kept[i];const prev=kept[i-1];if(i>from&&prev){const gap=prev.page===l.page?prev.y-l.y:0;if(gap>normal*1.45||l.x>margin+12&&prev.x<=margin+4&&l.x<margin+60)out.push(\"\");}out.push(l.text);}return tidyExtractedText(out.join(\"\\n\"));};// The reference list: a line back at the margin after indented lines starts a new reference\n// (hanging indent); without indents, a bigger gap or a number does.\nconst refText=()=>{const list=kept.slice(head+1,end);const hanging=list.some(l=>l.x>margin+8)&&list.some(l=>l.x<=margin+4);const entries=[];list.forEach((l,i)=>{const prev=list[i-1];const gap=prev&&prev.page===l.page?prev.y-l.y:0;// A number starts a reference only when it's the next one (\"189.\" may be the end of a page range).\nconst num=l.text.match(/^\\s*(?:\\[(\\d{1,3})\\]|(\\d{1,3})\\.)\\s/);const starts=!prev||num&&Number(num[1]??num[2])===entries.length+1||(hanging?l.x<=margin+4&&(prev.x>margin+8||/[.)]$/.test(prev.text)):gap>normal*1.3&&/[.)]\\s*$|\\S+\\/\\S*$/.test(prev.text));if(starts)entries.push(l.text);else{const last=entries[entries.length-1];// A link or DOI broken across lines is joined without a space; so is a hyphenated word.\nconst inLink=/(?:https?:\\/\\/|doi\\.org\\/|\\b10\\.\\d{4,9}\\/)\\S*[/._\\-=?&#]$/.test(last)&&/^[\\w./\\-_%?=&#]+/.test(l.text)&&!RegExp(\"^[\\\\p{Lu}][\\\\p{Ll}]+\\\\s\",\"u\").test(l.text);if(inLink)entries[entries.length-1]=last+l.text;else if(RegExp(\"[\\\\p{Ll}]-$\",\"u\").test(last)&&RegExp(\"^[\\\\p{Ll}]\",\"u\").test(l.text))entries[entries.length-1]=last.slice(0,-1)+l.text;else entries[entries.length-1]=`${last} ${l.text}`;}});return entries.join(\"\\n\\n\");};const parts=head>=0?[bodyText(0,head),kept[head].text,refText(),end<kept.length?bodyText(end,kept.length):\"\"]:[bodyText(0,kept.length)];return{text:parts.filter(x=>x.trim()).join(\"\\n\\n\"),notes};}/** Joins lines broken by the PDF layout back into paragraphs, repairs\n *  hyphenation across lines, keeps headings on their own line, and drops\n *  page numbers. */function tidyExtractedText(raw){const lines=raw.replace(/\\r/g,\"\").split(\"\\n\").map(l=>l.replace(/\\s+/g,\" \").trim());const lengths=lines.filter(l=>l.length>40).map(l=>l.length).sort((a,b)=>a-b);const full=lengths.length?lengths[Math.floor(lengths.length*.75)]:90;const ends=t=>/[.?!:][\"”')\\]]?$/.test(t);const isHeading=t=>t.length<=60&&RegExp(\"^[\\\\p{Lu}\\\\d]\",\"u\").test(t)&&!/[.,;:]$/.test(t)&&t.split(\" \").length<=8;const out=[];let para=\"\";let lastLine=\"\";const flush=()=>{if(para.trim())out.push(para.trim());para=\"\";};for(const t of lines){if(!t){flush();lastLine=\"\";continue;}if(/^\\d{1,4}$/.test(t))continue;// bare page numbers\nif(isHeading(t)&&(!para||ends(para))){flush();out.push(t);lastLine=\"\";continue;}if(!para)para=t;else if(para.endsWith(\"-\")&&RegExp(\"^\\\\p{Ll}\",\"u\").test(t))para=para.slice(0,-1)+t;else if(ends(lastLine)&&lastLine.length<full*.8){// The line before ended a sentence well short of the margin: a new paragraph.\nflush();para=t;}else para+=\" \"+t;lastLine=t;}flush();return out.join(\"\\n\\n\").trim();}const ENTITIES={amp:\"&\",lt:\"<\",gt:\">\",quot:'\"',apos:\"'\",nbsp:\" \",ndash:\"–\",mdash:\"—\",hellip:\"…\",lsquo:\"‘\",rsquo:\"’\",ldquo:\"“\",rdquo:\"”\",laquo:\"\\xab\",raquo:\"\\xbb\",shy:\"\",zwj:\"\",zwnj:\"\",eacute:\"\\xe9\",egrave:\"\\xe8\",aacute:\"\\xe1\",agrave:\"\\xe0\",iacute:\"\\xed\",oacute:\"\\xf3\",uacute:\"\\xfa\",ntilde:\"\\xf1\",uuml:\"\\xfc\",ouml:\"\\xf6\",auml:\"\\xe4\",ccedil:\"\\xe7\",oslash:\"\\xf8\",aring:\"\\xe5\",szlig:\"\\xdf\"};function decodeHtmlEntities(s){return s.replace(/&(#x[0-9a-f]+|#\\d+|[a-z]+);/gi,(m,e)=>{if(e[0]===\"#\"){const code=e[1]===\"x\"||e[1]===\"X\"?parseInt(e.slice(2),16):Number(e.slice(1));return Number.isFinite(code)&&code>0&&code<1114112?String.fromCodePoint(code):m;}return ENTITIES[e.toLowerCase()]??m;});}const BLOCK=/^(p|div|h[1-6]|li|blockquote|tr|table|section|article|header|footer|pre|ol|ul|dd|dt|figure|figcaption|caption)$/;const NOTE_BODY_REF=/#(?:_?ftn|_?edn|ftnt|footnote-|endnote-)(\\d+)$/i;const NOTE_BACK_REF=/#(?:_?ftnref|_?ednref|ftnt_ref|footnote-ref-|endnote-ref-)(\\d+)$/i;const NOTE_ID=/^(?:_?ftn|_?edn|ftnt|footnote-|endnote-)(\\d+)$/i;/** Endnotes are kept apart from footnotes while reading (then numbered after them): \"#_edn1\", \"endnote-1\". */const ENDNOTE=/(?:^|#)(?:_?edn|endnote-)(?:ref-?)?\\d+$/i;const ENDNOTE_BASE=1e5;function noteNumber(ref,n){return ENDNOTE.test(ref)?ENDNOTE_BASE+Number(n):Number(n);}/**\n * HTML (a DOCX converted by mammoth, or a paste from Word or Google Docs)\n * into text for the citation checker: paragraphs separated by blank lines,\n * numbered lists numbered, superscript citation numbers kept as ¹²³, notes\n * (footnotes and endnotes) collected separately, and the phrases in italics.\n * A small tag reader rather than DOMParser, so it runs the same everywhere.\n */function richTextFromHtml(html){const src=html.replace(/<!--\\[if[\\s\\S]*?<!\\[endif\\]-->/gi,\"\").replace(/<!--[\\s\\S]*?-->/g,\"\").replace(/<![A-Za-z][^>]*>|<\\?[\\s\\S]*?\\?>/g,\"\").replace(/<(style|script|head|title|xml|template)\\b[\\s\\S]*?<\\/\\1>/gi,\"\");const body=[];const notes=new Map;const italics=[];let italicRun=\"\";let sawItalicMarkup=false;const stack=[];let noteTarget=null;let blockNote=null;let olCounters=[];/** A list item's number was just written: the item's own paragraph continues it. */let listLead=false;const current=()=>stack[stack.length-1];const inItalic=()=>stack.some(s=>s.italic);const inSup=()=>stack.some(s=>s.sup);const skipping=()=>stack.some(s=>s.skip);const noteOf=()=>{for(let i=stack.length-1;i>=0;i-=1)if(stack[i].noteId!==null)return stack[i].noteId;return blockNote;};const emit=text=>{const n=noteOf();if(n!==null)notes.set(n,(notes.get(n)??\"\")+text);else body.push(text);};const breakBlock=()=>{const n=noteOf();if(n!==null)notes.set(n,(notes.get(n)??\"\")+\" \");else body.push(\"\\n\\n\");blockNote=null;if(italicRun.trim())italics.push(italicRun.replace(/\\s+/g,\" \").trim());italicRun=\"\";};const re=/<\\/?([a-zA-Z][\\w:-]*)([^>]*)>|<!\\[[^\\]]*\\]>|([^<]+)/g;let m;while(m=re.exec(src)){if(m[3]!==undefined){if(skipping())continue;let text=decodeHtmlEntities(m[3]).replace(/[\\r\\n\\t]+/g,\" \");if(inSup())text=citeSuperscript(text)??text;if(text.trim())listLead=false;if(inItalic()){italicRun+=text;}else if(text.trim()&&italicRun.trim()){italics.push(italicRun.replace(/\\s+/g,\" \").trim());italicRun=\"\";}else if(!text.trim()&&italicRun){// \"<i>Journal</i> <i>of Sleep</i>\": one phrase across the space.\nitalicRun+=\" \";}emit(text);continue;}if(!m[1])continue;// <![if ...]> and <![endif]>\nconst tag=m[1].toLowerCase().replace(/^\\w+:/,\"\");const closing=m[0][1]===\"/\";const attrs=m[2]??\"\";const selfClosing=/\\/\\s*$/.test(attrs)||tag===\"br\"||tag===\"img\"||tag===\"hr\"||tag===\"meta\"||tag===\"link\"||tag===\"input\";if(tag===\"br\"){if(!skipping())emit(\"\\n\");continue;}if(closing){// Close up to the matching tag (HTML from Word is not always well nested).\nlet k=stack.length-1;while(k>=0&&stack[k].tag!==tag)k-=1;if(k<0)continue;const closed=stack.splice(k);if(closed.some(s=>s.italic)&&!inItalic()&&italicRun.trim()){// A run may continue into the next italic element; flushed when plain text follows.\n}if(tag===\"ol\")olCounters=olCounters.slice(0,-1);if(BLOCK.test(tag)&&!skipping())breakBlock();if(closed.some(s=>s.noteId!==null)&&noteTarget!==null)noteTarget=null;continue;}if(selfClosing)continue;const style=(attrs.match(/style\\s*=\\s*([\"'])([\\s\\S]*?)\\1/i)?.[2]??attrs.match(/style\\s*=\\s*([^\\s>]+)/i)?.[1]??\"\").toLowerCase();const cls=(attrs.match(/class\\s*=\\s*([\"']?)([\\w\\s-]+)\\1/i)?.[2]??\"\").toLowerCase();const href=attrs.match(/href\\s*=\\s*([\"'])([^\"']*)\\1/i)?.[2]??\"\";const id=attrs.match(/\\b(?:id|name)\\s*=\\s*([\"']?)([\\w-]+)\\1/i)?.[2]??\"\";const italic=tag===\"i\"||tag===\"em\"||/font-style\\s*:\\s*italic/.test(style);if(italic)sawItalicMarkup=true;const sup=tag===\"sup\"||/vertical-align\\s*:\\s*super/.test(style)||/msofootnotereference|msoendnotereference/.test(cls);let skip=false;let noteId=null;// A note container: mammoth's <li id=\"footnote-1\">, Word's <div id=\"ftn1\">.\nconst idNote=id.match(NOTE_ID);if(idNote&&(tag===\"li\"||tag===\"div\")&&!NOTE_BODY_REF.test(href))noteId=noteNumber(id,idNote[1]);if(tag===\"a\"){const back=href.match(NOTE_BACK_REF);const ref=href.match(NOTE_BODY_REF);if(back){// The link back from a note to the text: the rest of this block is that note (Google Docs, Word).\nif(noteOf()===null){blockNote=noteNumber(href,back[1]);// Text already written in this block belongs to the note too.\nconst moved=[];while(body.length&&body[body.length-1]!==\"\\n\\n\")moved.unshift(body.pop());if(moved.join(\"\").trim())notes.set(blockNote,moved.join(\"\"));}skip=true;}else if(ref&&noteOf()===null){// A note marker in the text: written as a superscript number (endnotes numbered at the end).\nif(!skipping())emit(ENDNOTE.test(href)?`\\u0000E${ref[1]}\\u0000`:toSuperscript(ref[1]));skip=true;}}if(/mso-element\\s*:\\s*(?:footnote|endnote)-list/.test(style)){// Word's container of all notes: each note inside has its own id.\n}let list=null;if(tag===\"ol\"){const start=Number(attrs.match(/start\\s*=\\s*[\"']?(\\d+)/i)?.[1]??1);olCounters.push({n:start-1});}if(tag===\"li\"&&noteId===null&&!skipping()){const counter=olCounters[olCounters.length-1];const inOl=stack.some(s=>s.tag===\"ol\")&&counter;if(BLOCK.test(tag))breakBlock();if(inOl){counter.n+=1;list=counter;emit(`${counter.n}. `);listLead=true;}}else if(BLOCK.test(tag)&&!skipping()&&!(listLead&&current()?.tag===\"li\"))breakBlock();stack.push({tag,italic,sup,skip,noteId,list});}if(italicRun.trim())italics.push(italicRun.replace(/\\s+/g,\" \").trim());const footnotes=[...notes.keys()].filter(n=>n<ENDNOTE_BASE).length;const text=body.join(\"\").replace(/\\u0000E(\\d+)\\u0000/g,(_m,n)=>toSuperscript(String(footnotes+Number(n)))).split(/\\n{2,}/).map(p=>p.replace(/[ \\t ]+/g,\" \").replace(/ *\\n */g,\"\\n\").trim()).filter(Boolean).join(\"\\n\\n\");const noteList=[];const ids=[...notes.keys()].sort((a,b)=>a-b);for(const n of ids){const t=notes.get(n).replace(/\\s+/g,\" \").replace(/^\\s*(?:\\[\\d+\\]|\\d+[.)]?)\\s*/,\"\").replace(/\\s*[↑^]\\s*$/,\"\").trim();const at=n>=ENDNOTE_BASE?footnotes+(n-ENDNOTE_BASE):n;if(t)noteList[at-1]=t;}return{text,notes:Array.from({length:noteList.length},(_,i)=>noteList[i]??\"\"),italics:sawItalicMarkup?[...new Set(italics.filter(t=>t.length>1))]:null};}/* ---------------------------------------------------------- references -- */const REF_HEADING=/^(references|reference list|bibliography|works cited|literature cited|referencias|bibliografía|références|literaturverzeichnis|literatur|riferimenti bibliografici)\\s*:?$/i;/** Leaves out a reference list at the end of the document: it adds cost\n *  and invites citations into the abstract, and an abstract never needs it.\n *  What was left out comes back as `references`. */function removeReferenceList(text){const paras=text.split(/\\n{2,}/);for(let i=Math.floor(paras.length*.5);i<paras.length;i+=1){const p=paras[i].trim();if(REF_HEADING.test(p)||REF_HEADING.test(p.split(\"\\n\")[0].trim())&&p.length<40){return{text:paras.slice(0,i).join(\"\\n\\n\").trim(),removed:true,references:paras.slice(i).join(\"\\n\\n\").trim()};}}return{text,removed:false};}async function extractFileText(file,options={}){if(file.size>MAX_FILE_BYTES)throw new FileTextError(\"That file is over 40 MB. Try a smaller file, or paste the text instead.\");const name=file.name.toLowerCase();const isPdf=file.type===\"application/pdf\"||name.endsWith(\".pdf\");const isDocx=file.type===\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\"||name.endsWith(\".docx\");if(!isPdf&&!isDocx){if(name.endsWith(\".doc\"))throw new FileTextError(\"Old .doc files aren't supported. Save it as .docx or PDF, or paste the text.\");throw new FileTextError(\"Upload a PDF or Word (.docx) file, or paste the text instead.\");}const data=await file.arrayBuffer();let raw=\"\";let pages;let rich=null;try{if(isPdf){const result=await pdfPages(data);pages=result.count;if(options.rich){const r=richPdfText(result.pages);rich={text:r.text,notes:r.notes,italics:null};}else raw=plainPdfText(result.pages);}else{const mammoth=await loadMammoth();if(options.rich)rich=richTextFromHtml((await mammoth.convertToHtml({arrayBuffer:data})).value);else raw=(await mammoth.extractRawText({arrayBuffer:data})).value;}}catch(e){if(globalThis.__fileTextDebug)console.error(e);throw new FileTextError(isPdf?\"We couldn't read that PDF. It may be protected or damaged. Try pasting the text instead.\":\"We couldn't read that Word file. Try saving it again, or paste the text instead.\");}const tidy=rich?rich.text:isPdf?tidyExtractedText(raw):raw.replace(/\\n{3,}/g,\"\\n\\n\").trim();if(tidy.replace(/\\s/g,\"\").length<40){throw new FileTextError(isPdf?\"This PDF has no readable text. It may be a scan. Paste the text instead, or upload the original document.\":\"This file looks empty. Check it and try again, or paste the text instead.\");}// A Word file always carries its formatting: no italics found means none were used (PDFs can't tell).\nif(rich)return{text:tidy,pages,removedReferences:false,fileName:file.name,notes:rich.notes,italics:isPdf?null:rich.italics??[]};const{text,removed,references}=removeReferenceList(tidy);return{text,pages,removedReferences:removed,...references?{references}:{},fileName:file.name};}/* ------------------------------------------------------------ shared -- */const ESSAY_TYPES=[{value:\"any\",label:\"Any\"},{value:\"argumentative\",label:\"Argumentative\"},{value:\"persuasive\",label:\"Persuasive\"},{value:\"expository\",label:\"Expository\"},{value:\"analytical\",label:\"Analytical\"},{value:\"compare-contrast\",label:\"Compare and contrast\"},{value:\"cause-effect\",label:\"Cause and effect\"},{value:\"narrative\",label:\"Narrative\"},{value:\"descriptive\",label:\"Descriptive\"},{value:\"reflective\",label:\"Reflective\"},{value:\"literary-analysis\",label:\"Literary analysis\"},{value:\"research-paper\",label:\"Research paper\"}];/** The output language option any tool can offer (values match the server's ESSAY_LANGUAGE_OPTION). It starts\n *  on the student's own language, so a short thesis in Spanish gets a Spanish outline, as the abstract generator does. */const LANGUAGE_FIELD={key:\"language\",label:\"Output language\",default:\"same\",options:[{value:\"same\",label:\"Same as my text\"},{value:\"english\",label:\"English\"},{value:\"spanish\",label:\"Spanish\"},{value:\"french\",label:\"French\"},{value:\"german\",label:\"German\"},{value:\"portuguese\",label:\"Portuguese\"},{value:\"chinese\",label:\"Chinese\"},{value:\"japanese\",label:\"Japanese\"},{value:\"korean\",label:\"Korean\"}]};/* ------------------------------------------------------- essay titles -- */const ESSAY_TITLES={id:\"essay-titles\",historyNoun:\"titles\",modes:[{id:\"titles\",label:\"Essay titles\",input:{label:\"Essay topic or content\",placeholder:\"Enter your essay topic, your thesis, or paste your full essay.\",hint:\"Pasting your essay or thesis gives more accurate titles.\",maxWords:5e3},fields:[],selects:[{key:\"essayType\",label:\"Essay type\",default:\"any\",options:ESSAY_TYPES},{key:\"tone\",label:\"Tone\",default:\"academic\",options:[{value:\"academic\",label:\"Academic\"},{value:\"neutral\",label:\"Neutral\"},{value:\"creative\",label:\"Creative\"},{value:\"bold\",label:\"Bold\"}]},{key:\"style\",label:\"Title style\",default:\"any\",options:[{value:\"any\",label:\"Any\"},{value:\"descriptive\",label:\"Descriptive\"},{value:\"question\",label:\"Question\"},{value:\"subtitle\",label:\"Title: Subtitle\"},{value:\"hook\",label:\"Hook or creative\"}]},{key:\"caps\",label:\"Capitalization\",default:\"title\",options:[{value:\"title\",label:\"Title Case\"},{value:\"sentence\",label:\"Sentence case\"}]}],instructions:{label:\"Additional instructions\",placeholder:\"For example: under 10 words, mention climate policy\",max:300},outputs:[{value:\"titles\",label:\"Titles\",tool:\"essay-titles\",shape:\"list\",counts:{new:10,more:10,similar:5},noun:{one:\"title\",many:\"titles\"},labels:{generate:\"Generate titles\",generating:\"Writing titles...\",results:\"Titles\",empty:\"Your titles will appear here.\",more:\"Generate more\"},list:{similar:\"More like this\",save:true,longWords:12,longHint:\"Many instructors prefer titles of 12 words or fewer.\"}}]}],nextSteps:[{label:\"Cite your sources\",url:\"/citation-generator\",carryTopic:false}],// A thesis makes a good title prompt; a topic, when both are given, wins.\nparams:[{name:\"thesis\",mode:\"titles\",target:\"input\"},{name:\"topic\",mode:\"titles\",target:\"input\"}]};/* -------------------------------------------------------- conclusions -- */const CONCLUSION_PARTS=[{label:\"Restated thesis\",hint:\"Your main claim, in fresh words.\"},{label:\"Main points pulled together\",hint:\"Why your points matter together, not a list of them.\"},{label:\"Final thought\",hint:\"The idea your reader leaves with.\"}];const CONCLUSION_REFINES=[{value:\"shorter\",label:\"Shorter\"},{value:\"longer\",label:\"Longer\"},{value:\"formal\",label:\"More formal\"},{value:\"simpler\",label:\"Simpler\"},{value:\"stronger\",label:\"Stronger ending\"}];const CONCLUSION_TONES={key:\"tone\",label:\"Tone\",default:\"academic\",options:[{value:\"academic\",label:\"Academic\"},{value:\"neutral\",label:\"Neutral\"},{value:\"persuasive\",label:\"Persuasive\"}]};const CONCLUSIONS={id:\"conclusions\",historyNoun:\"conclusions\",modes:[{id:\"write\",label:\"Write a conclusion\",input:{label:\"Your essay\",placeholder:\"Paste your essay, or your thesis and main points.\",hint:\"Pasting your full essay gives the best conclusion.\",maxWords:5e3,showMax:true,upload:true,rows:7},fields:[{key:\"thesis\",label:\"Thesis statement\",placeholder:\"If you leave this empty, we'll find the thesis in your essay.\",rows:2,maxChars:1e3}],selects:[{key:\"essayType\",label:\"Essay type\",default:\"any\",options:ESSAY_TYPES},{key:\"length\",label:\"Length\",default:\"standard\",options:[{value:\"short\",label:\"Short (3 to 4 sentences)\"},{value:\"standard\",label:\"Standard (5 to 7)\"},{value:\"long\",label:\"Long (8 to 10)\"}]},{key:\"ending\",label:\"Ending style\",default:\"best-fit\",options:[{value:\"best-fit\",label:\"Best fit\"},{value:\"significance\",label:\"Broader significance\"},{value:\"action\",label:\"Call to action\"},{value:\"research\",label:\"Future research\"},{value:\"reflection\",label:\"Personal reflection\"}]},CONCLUSION_TONES,LANGUAGE_FIELD],instructions:null,examples:[{label:\"An argumentative essay on school uniforms\",input:\"Every morning, students at thousands of schools decide what to wear, and for many of them that choice carries real social weight. Schools should require uniforms because they reduce bullying, ease the financial pressure on families and help students focus on learning.\\n\\nFirst, uniforms take away one of the most visible targets for teasing. When every student wears the same clothes, there is less room to single out classmates for owning cheaper or unfashionable brands. Teachers at schools that adopted uniforms often report fewer conflicts about appearance.\\n\\nSecond, uniforms can save families money. A few sets of uniform clothing cost less than keeping up with changing trends, and parents no longer feel pressure to buy expensive labels so their children fit in.\\n\\nFinally, uniforms help create a setting built for learning. With fewer distractions about clothing, students can put their attention on class, and the shared look builds a sense of belonging to the school community.\"},{label:\"A research paper on social media and sleep\",input:\"Introduction: This study examined whether social media use in the hour before bed is linked to poorer sleep among university students.\\n\\nMethods: We surveyed 212 undergraduate students about their nightly social media use and measured sleep quality with a standard sleep questionnaire.\\n\\nResults: Students who used social media for more than 30 minutes before bed reported lower sleep quality than those who used it for less than 10 minutes. They also took longer to fall asleep, on average 24 minutes compared with 13 minutes. The association remained after accounting for caffeine use and study hours.\\n\\nDiscussion: The findings suggest that social media use late at night may disrupt sleep, possibly through mental stimulation and delayed bedtimes. Because the study relied on self-reported data from a single university, the results should be confirmed with larger and more varied samples.\"},{label:\"An analytical essay on The Great Gatsby\",input:\"In The Great Gatsby, F. Scott Fitzgerald uses the green light at the end of Daisy's dock to show that the American Dream is always just out of reach.\\n\\nWhen Nick first sees Gatsby, he is stretching his arms toward the green light across the bay. The light stands for Gatsby's hope of winning Daisy back and, through her, the life he has spent years building toward.\\n\\nOnce Gatsby is reunited with Daisy, the light loses its power. Nick notes that its colossal significance has vanished, and the real Daisy can never match the dream Gatsby has built around her.\\n\\nIn the final pages, Nick turns the light into a symbol for everyone: the orgastic future that year by year recedes before us. Gatsby's longing becomes a picture of a nation that keeps reaching for a promise it cannot hold.\"}],outputLabel:\"What do you need?\",outputs:[{value:\"paragraph\",label:\"Full conclusion paragraph\",tool:\"conclusions\",shape:\"text\",counts:{new:1,more:1,similar:1},noun:{one:\"conclusion\",many:\"conclusions\"},labels:{generate:\"Write my conclusion\",generating:\"Writing your conclusion...\",results:\"Your conclusion\",empty:\"Your conclusion will appear here.\",more:\"Another version\"},text:{parts:CONCLUSION_PARTS,partsToggle:\"How this conclusion works\",refine:CONCLUSION_REFINES,refineTool:\"conclusions\"}},{value:\"sentence\",label:\"Concluding sentence for a body paragraph\",tool:\"concluding-sentences\",shape:\"list\",input:{label:\"Your body paragraph\",placeholder:\"Paste the body paragraph that needs a concluding sentence.\",hint:\"Add your thesis below so the sentence links back to it.\",maxWords:1500,upload:false,rows:5},selects:[\"essayType\",\"tone\",\"language\"],showExamples:false,counts:{new:3,more:3,similar:3},noun:{one:\"sentence\",many:\"sentences\"},labels:{generate:\"Write concluding sentences\",generating:\"Writing sentences...\",results:\"Concluding sentences\",empty:\"Your concluding sentences will appear here.\",more:\"More options\"},list:{similar:null,save:false,longWords:40,longHint:\"A long concluding sentence can be hard to follow.\"}}]},{id:\"improve\",label:\"Improve my conclusion\",input:{label:\"Your conclusion\",placeholder:\"Paste the conclusion you want to improve.\",hint:\"Paste the whole paragraph.\",maxWords:600,rows:5},fields:[{key:\"essay\",label:\"Your essay or thesis\",placeholder:\"Paste your essay or thesis so the feedback can check your conclusion against it.\",hint:\"Optional, but feedback is much better with it.\",rows:4,maxChars:4e4,upload:true}],selects:[LANGUAGE_FIELD],instructions:null,outputs:[{value:\"feedback\",label:\"Feedback\",tool:\"conclusion-feedback\",shape:\"feedback\",after:\"text\",counts:{new:1,more:1,similar:1},noun:{one:\"version\",many:\"versions\"},labels:{generate:\"Check my conclusion\",generating:\"Reading your conclusion...\",results:\"Feedback\",empty:\"Your feedback will appear here.\",more:\"Another version\"},text:{parts:CONCLUSION_PARTS,partsToggle:\"How this conclusion works\",refine:CONCLUSION_REFINES,refineTool:\"conclusions\"},checks:[{key:\"thesis\",label:\"Restates the thesis in new words\"},{key:\"synthesis\",label:\"Pulls the main points together\"},{key:\"no-new\",label:\"Adds no new arguments\"},{key:\"final\",label:\"Ends with a strong final thought\"},{key:\"opener\",label:\"Avoids clich\\xe9 openers\"}]}]}],nextSteps:[{label:\"Write your introduction\",url:\"/introduction-generator\",carryTopic:true,param:\"thesis\"},{label:\"Generate a title for your essay\",url:\"/essay-title-generator\",carryTopic:true,param:\"thesis\"},{label:\"Writing a research paper? Create your abstract\",url:\"/abstract-generator\",carryTopic:false,onlyWhen:\"research-paper\"}],params:[{name:\"topic\",mode:\"write\",target:\"input\"},{name:\"thesis\",mode:\"write\",target:\"thesis\"}]};/* ------------------------------------------------------------ theses -- */const THESIS_TYPES=[{value:\"argumentative\",label:\"Argumentative\"},{value:\"persuasive\",label:\"Persuasive\"},{value:\"expository\",label:\"Expository\"},{value:\"analytical\",label:\"Analytical\"},{value:\"compare-contrast\",label:\"Compare and contrast\"},{value:\"cause-effect\",label:\"Cause and effect\"},{value:\"research-paper\",label:\"Research paper\"}];const THESIS_LEVEL={key:\"level\",label:\"Level\",default:\"college\",options:[{value:\"high-school\",label:\"High school\"},{value:\"college\",label:\"College\"},{value:\"graduate\",label:\"Graduate\"}]};const THESIS_LIST={similar:\"More like this\",save:false,longWords:45,longHint:\"Most thesis statements are one sentence.\",refine:[{value:\"specific\",label:\"More specific\"},{value:\"arguable\",label:\"More arguable\"},{value:\"shorter\",label:\"Shorter\"},{value:\"points\",label:\"Add main points\"}],select:\"Use this thesis\",why:\"Why it works\"};const THESES={id:\"theses\",historyNoun:\"thesis statements\",nextAfterSelect:true,modes:[{id:\"write\",label:\"Write a thesis\",input:{label:\"Essay topic\",placeholder:\"What is your essay about? For example: the effect of social media on teenage sleep.\",hint:\"A few words is enough. Add your argument below for a sharper thesis.\",maxWords:1500,rows:2},fields:[{key:\"position\",label:\"Your argument or position\",placeholder:\"What do you want to argue or show? Leave blank for ideas.\",rows:2,maxChars:1e3},{key:\"points\",label:\"Main points\",placeholder:\"One point per line\",hint:\"Add your main supporting points to get a thesis that previews them.\",rows:3,maxChars:2e3}],selects:[{key:\"essayType\",label:\"Essay type\",default:\"argumentative\",options:THESIS_TYPES},{key:\"style\",label:\"Thesis style\",default:\"best-fit\",options:[{value:\"best-fit\",label:\"Best fit\"},{value:\"direct\",label:\"Direct claim\"},{value:\"preview\",label:\"Previews main points\"},{value:\"concession\",label:\"Acknowledges the other side\"}]},THESIS_LEVEL,LANGUAGE_FIELD],instructions:null,examples:[{label:\"Social media and teenage sleep\",input:\"The effect of social media on teenage sleep\"},{label:\"Remote work and productivity\",input:\"Remote work and employee productivity\",fields:{position:\"Remote work makes most office workers more productive\",points:\"Fewer interruptions than open-plan offices\\nNo commute, so more energy for work\\nFlexible hours that fit when people focus best\"}},{label:\"Symbolism in The Great Gatsby\",input:\"Symbolism in The Great Gatsby\",options:{essayType:\"analytical\"}}],outputs:[{value:\"theses\",label:\"Thesis statements\",tool:\"thesis-statements\",shape:\"list\",counts:{new:5,more:5,similar:3},noun:{one:\"thesis statement\",many:\"thesis statements\"},labels:{generate:\"Write thesis statements\",generating:\"Writing...\",results:\"Thesis statements\",empty:\"Your thesis statements will appear here.\",more:\"More options\"},list:THESIS_LIST}]},{id:\"check\",label:\"Check my thesis\",input:{label:\"Your thesis statement\",placeholder:\"Paste your thesis statement.\",hint:\"Usually one or two sentences.\",maxWords:150,rows:3},fields:[{key:\"essay\",label:\"Your essay or prompt\",placeholder:\"Paste your essay or the assignment prompt.\",hint:\"Optional, but feedback is much better with it.\",rows:3,maxChars:4e4,upload:true}],selects:[{key:\"essayType\",label:\"Essay type\",default:\"any\",options:[{value:\"any\",label:\"Not sure\"},...THESIS_TYPES]},THESIS_LEVEL,LANGUAGE_FIELD],instructions:null,outputs:[{value:\"feedback\",label:\"Feedback\",tool:\"thesis-feedback\",shape:\"feedback\",after:\"list\",counts:{new:3,more:3,similar:3},noun:{one:\"thesis statement\",many:\"thesis statements\"},labels:{generate:\"Check my thesis\",generating:\"Checking your thesis...\",results:\"Feedback\",empty:\"Your feedback will appear here.\",more:\"More options\"},list:{...THESIS_LIST,tool:\"thesis-statements\"},checks:[{key:\"arguable\",label:\"Arguable, not just a fact\"},{key:\"specific\",label:\"Specific, not vague\"},{key:\"scope\",label:\"The right scope for the essay\"},{key:\"announce\",label:\"Doesn't announce the essay\"},{key:\"fit\",label:\"Fits the essay type\"}]}]}],nextSteps:[{label:\"Outline your essay\",url:\"/essay-outline-generator\",carryTopic:true,param:\"thesis\"},{label:\"Write your introduction\",url:\"/introduction-generator\",carryTopic:true,param:\"thesis\"},{label:\"Find sources\",url:\"/literature-review-generator\",carryTopic:true,carryOptions:false},{label:\"Generate a title for your essay\",url:\"/essay-title-generator\",carryTopic:true,param:\"thesis\"},{label:\"Write your conclusion\",url:\"/conclusion-generator\",carryTopic:true,param:\"thesis\"}],params:[{name:\"topic\",mode:\"write\",target:\"input\"},{name:\"thesis\",mode:\"check\",target:\"input\",open:true}]};/* --------------------------------------------------------- introductions -- */const STANDARD_INTRO_PARTS=[{label:\"Hook\",hint:\"The opening line that draws the reader in.\"},{label:\"Background\",hint:\"What the reader needs to know before the thesis.\"},{label:\"Thesis\",hint:\"Your main claim.\"}];const RESEARCH_INTRO_PARTS=[{label:\"Topic and significance\",hint:\"What this is about, and why it matters.\"},{label:\"What's known\",hint:\"What's already established in this area.\"},{label:\"The gap\",hint:\"The open question or tension this paper addresses.\"},{label:\"Aim\",hint:\"The paper's aim or research question.\"}];/** Matches the server's own `wantsRoadmap`: an explicit on/off wins, otherwise it follows\n *  whether main points were given. */const introWantsRoadmap=(options,fields)=>options.roadmap===\"on\"||options.roadmap!==\"off\"&&Boolean(fields.mainPoints?.trim());const INTRO_PARTS=(options,fields)=>{const research=options.essayType===\"research-paper\";const base=research?RESEARCH_INTRO_PARTS:STANDARD_INTRO_PARTS;if(!introWantsRoadmap(options,fields))return base;return[...base,research?{label:\"Organization\",hint:\"How the paper is organized.\"}:{label:\"Roadmap\",hint:\"A preview of your main points.\"}];};const INTRO_REFINES=[{value:\"shorter\",label:\"Shorter\"},{value:\"longer\",label:\"Longer\"},{value:\"formal\",label:\"More formal\"},{value:\"simpler\",label:\"Simpler\"},{value:\"stronger-hook\",label:\"Stronger hook\"}];const HOOK_STYLES={key:\"hookStyle\",label:\"Hook style\",default:\"best-fit\",options:[{value:\"best-fit\",label:\"Best fit\"},{value:\"question\",label:\"Question\"},{value:\"claim\",label:\"Bold claim\"},{value:\"scenario\",label:\"Short scenario\"},{value:\"fact\",label:\"Surprising fact\"},{value:\"quote\",label:\"Quote\"}]};const INTRODUCTIONS={id:\"introductions\",historyNoun:\"introductions\",modes:[{id:\"write\",label:\"Write an introduction\",aside:{text:\"Need a thesis first?\",label:\"Try the AI Thesis Generator\",url:\"/thesis-statement-generator\"},input:{label:\"Topic or thesis\",placeholder:\"Enter your essay topic or thesis statement.\",hint:\"A topic works. A thesis gives a sharper introduction.\",maxWords:1500,rows:2},fields:[{key:\"mainPoints\",label:\"Main points\",placeholder:\"One point per line\",hint:\"Add your main points to get an introduction that previews them.\",rows:3,maxChars:3e3},{key:\"essay\",label:\"Upload or paste your draft\",placeholder:\"Paste your essay draft, or upload a PDF or Word file.\",hint:\"The introduction will fit what you actually wrote.\",rows:6,maxChars:4e4,upload:true,collapsed:\"Add your draft\"}],selects:[{key:\"essayType\",label:\"Essay type\",default:\"any\",options:ESSAY_TYPES},HOOK_STYLES,{key:\"length\",label:\"Length\",default:\"standard\",options:[{value:\"short\",label:\"Short (3 to 4 sentences)\"},{value:\"standard\",label:\"Standard (5 to 7)\"},{value:\"long\",label:\"Long (8 to 10)\"}]},CONCLUSION_TONES,THESIS_LEVEL,LANGUAGE_FIELD],toggles:[{key:\"roadmap\",label:\"Include a roadmap sentence\",hint:\"Previews your main points. On by default when you've added them.\",defaultOn:(o,f)=>introWantsRoadmap(o,f)}],instructions:null,examples:[{label:\"School uniforms\",input:\"Schools should require uniforms because they reduce bullying, ease the financial pressure on families and help students focus on learning.\"},{label:\"Social media and teenage sleep (research paper)\",input:\"Whether social media use in the hour before bed is linked to poorer sleep among university students.\",options:{essayType:\"research-paper\"}},{label:\"The Great Gatsby's green light\",input:\"In The Great Gatsby, F. Scott Fitzgerald uses the green light at the end of Daisy's dock to show that the American Dream is always just out of reach.\",options:{essayType:\"literary-analysis\"}}],outputs:[{value:\"introduction\",label:\"Introduction\",tool:\"introductions\",shape:\"text\",counts:{new:1,more:1,similar:1},noun:{one:\"introduction\",many:\"introductions\"},labels:{generate:\"Write my introduction\",generating:\"Writing your introduction...\",results:\"Your introduction\",empty:\"Your introduction will appear here.\",more:\"Another version\"},text:{parts:INTRO_PARTS,partsToggle:\"How this introduction works\",refine:INTRO_REFINES,refineTool:\"introductions\"}}]},{id:\"improve\",label:\"Improve my introduction\",input:{label:\"Your introduction\",placeholder:\"Paste the introduction you want to improve.\",hint:\"Paste the whole paragraph.\",maxWords:600,rows:5},fields:[{key:\"essay\",label:\"Your essay or thesis\",placeholder:\"Paste your essay or thesis so the feedback can check your introduction against it.\",hint:\"Optional, but feedback is much better with it.\",rows:4,maxChars:4e4,upload:true}],selects:[LANGUAGE_FIELD],instructions:null,outputs:[{value:\"feedback\",label:\"Feedback\",tool:\"intro-feedback\",shape:\"feedback\",after:\"text\",counts:{new:1,more:1,similar:1},noun:{one:\"version\",many:\"versions\"},labels:{generate:\"Check my introduction\",generating:\"Reading your introduction...\",results:\"Feedback\",empty:\"Your feedback will appear here.\",more:\"Another version\"},text:{parts:STANDARD_INTRO_PARTS,partsToggle:\"How this introduction works\",refine:INTRO_REFINES,refineTool:\"introductions\"},checks:[{key:\"hook\",label:\"Opens with a hook that draws the reader in\"},{key:\"background\",label:\"Gives enough background, on topic\"},{key:\"thesis\",label:\"Ends with a clear thesis\"},{key:\"cliche\",label:\"Avoids clich\\xe9 openers\"},{key:\"length\",label:\"The right length for the essay\"}]}]}],nextSteps:[{label:\"Outline your essay\",url:\"/essay-outline-generator\",carryTopic:true,param:\"thesis\",hideIfParamUsed:\"outline\"},{label:\"Write your conclusion\",url:\"/conclusion-generator\",carryTopic:true,param:\"thesis\"},{label:\"Generate a title\",url:\"/essay-title-generator\",carryTopic:true,param:\"thesis\"}],params:[{name:\"topic\",mode:\"write\",target:\"input\"},{name:\"thesis\",mode:\"write\",target:\"input\",open:true,note:\"Using the thesis you picked.\"},{name:\"outline\",mode:\"write\",target:\"mainPoints\"}]};/* ------------------------------------------------------------ outlines -- */const OUTLINE_TYPES=[{value:\"argumentative\",label:\"Argumentative\"},{value:\"persuasive\",label:\"Persuasive\"},{value:\"expository\",label:\"Expository\"},{value:\"analytical\",label:\"Analytical\"},{value:\"compare-contrast\",label:\"Compare and contrast\"},{value:\"cause-effect\",label:\"Cause and effect\"},{value:\"narrative\",label:\"Narrative\"},{value:\"research-paper\",label:\"Research paper\"}];const isEssay=ctx=>ctx.outlineType===\"essay\";const isThesis=ctx=>ctx.outlineType===\"thesis\";const OUTLINE_SELECTS=[{key:\"essayType\",label:\"Essay type\",default:\"argumentative\",options:OUTLINE_TYPES,showWhen:isEssay},{key:\"length\",label:\"Length\",default:\"1000\",options:[{value:\"500\",label:\"500 words\"},{value:\"1000\",label:\"1,000 words\"},{value:\"1500\",label:\"1,500 words\"},{value:\"2000\",label:\"2,000 words\"},{value:\"3000\",label:\"3,000+ words\"}],showWhen:ctx=>!isThesis(ctx)},{key:\"length\",label:\"Length\",default:\"masters\",options:[{value:\"undergraduate\",label:\"Undergraduate (10,000 words)\"},{value:\"masters\",label:\"Master's (20,000 words)\"},{value:\"phd\",label:\"PhD (80,000 words)\"}],showWhen:isThesis},{key:\"style\",label:\"Outline style\",default:\"topic\",options:[{value:\"topic\",label:\"Topic outline (phrases)\"},{value:\"sentence\",label:\"Sentence outline\"}]},{key:\"numbering\",label:\"Numbering\",default:\"classic\",options:[{value:\"classic\",label:\"Classic (I, A, 1)\"},{value:\"decimal\",label:\"Decimal (1, 1.1, 1.1.1)\"}]},THESIS_LEVEL,LANGUAGE_FIELD];const OUTLINE_STRUCTURED={itemLabels:{hook:\"Hook\",background:\"Background\",gap:\"Gap\",thesis:\"Thesis\",topic:\"Topic sentence\",evidence:\"Evidence to find\",detail:\"Detail to add\",claim:\"Counterargument\",rebuttal:\"Rebuttal\",restate:\"Restate thesis\",takeaway:\"Takeaway\",closing:\"Closing thought\",main:\"Main point\",support:\"Support\"},movable:[\"body\",\"counter\"],newSection:{kind:\"body\",heading:\"New section\",items:[{kind:\"topic\",text:\"\"}]},newItemKind:[\"point\",\"evidence\",\"detail\"],expandable:[\"point\",\"topic\",\"claim\",\"rebuttal\",\"subsection\",\"background\",\"takeaway\"],refine:[{value:\"detailed\",label:\"More detailed\"},{value:\"simpler\",label:\"Simpler\"},{value:\"add\",label:\"Add a section\"},{value:\"remove\",label:\"Remove a section\"}],reworkTool:\"outlines\",budget:{option:\"length\",words:{\"500\":500,\"1000\":1e3,\"1500\":1500,\"2000\":2e3,\"3000\":3e3,undergraduate:1e4,masters:2e4,phd:8e4},weights:{intro:1,conclusion:1,body:2,counter:2,litreview:2.5,methods:1.5,results:1.5,discussion:2.5}},numberingOption:\"numbering\",thesisKind:\"thesis\",pointKind:\"topic\",// Each body section (a counterargument counts as one) opens the citation finder with its topic\n// sentence and points, the claims its \"Evidence to find\" notes are for. The finder reads up to 300 words.\n// Add { kind: \"body\", label: \"Write topic sentence\", url: \"/topic-sentence-generator\" } once that page is live.\nsectionLinks:[{kind:\"body\",label:\"Find sources\",url:\"/citation-finder\",text:{kinds:[\"topic\",\"point\"],maxWords:300},hideWhen:\"narrative\"},{kind:\"counter\",label:\"Find sources\",url:\"/citation-finder\",text:{kinds:[\"claim\",\"rebuttal\"],maxWords:300},hideWhen:\"narrative\"}]};const OUTLINE_LABELS={generate:\"Create outline\",generating:\"Outlining...\",results:\"Your outline\",empty:\"Your outline will appear here.\",more:\"Another outline\"};const OUTLINES={id:\"outlines\",historyNoun:\"outlines\",historyList:{title:\"Your outlines\",note:\"Saved in this browser only. To keep one in Writing Studio, open it and choose Open in Writing Studio.\"},outlineTypeProp:true,modes:[{id:\"create\",label:\"Create an outline\",aside:{text:\"Need a thesis first?\",label:\"Try the AI Thesis Generator\",url:\"/thesis-statement-generator\"},input:{label:\"Topic or thesis\",placeholder:\"Enter your essay topic or thesis statement.\",hint:\"A topic works. A thesis gives a sharper outline.\",maxWords:600,rows:2},fields:[{key:\"points\",label:\"Main points\",placeholder:\"One point per line\",hint:\"Add the points you want to make, or leave blank for suggestions.\",rows:3,maxChars:3e3}],selects:OUTLINE_SELECTS,toggles:[{key:\"counter\",label:\"Include a counterargument section\",hint:\"On by default for argumentative and persuasive essays.\",defaultOn:o=>o.essayType===\"argumentative\"||o.essayType===\"persuasive\",showWhen:ctx=>isEssay(ctx)&&ctx.options.essayType!==\"research-paper\"}],instructions:{label:\"Assignment instructions\",placeholder:\"Paste your assignment prompt or rubric.\",hint:\"The outline will follow it: required sections, number of paragraphs, focus.\",max:5e3,rows:4,collapsed:\"Add assignment instructions\"},examples:[{label:\"Social media and teenage sleep\",input:\"The effect of social media on teenage sleep\"},{label:\"Phones in class\",input:\"Schools should require phones to be turned off during class because constant notifications fragment students' attention and weaken learning.\",fields:{points:\"Notifications break concentration\\nPhones make cheating easier\\nFewer phones means more class discussion\"},options:{essayType:\"argumentative\"}},{label:\"Online vs in-person classes\",input:\"Online and in-person college classes\",options:{essayType:\"compare-contrast\"}}],outputs:[{value:\"outline\",label:\"Outline\",tool:\"outlines\",shape:\"structured\",counts:{new:1,more:1,similar:1},noun:{one:\"outline\",many:\"outlines\"},labels:OUTLINE_LABELS,structured:OUTLINE_STRUCTURED}]},{id:\"draft\",label:\"Outline my draft\",input:{label:\"Your draft\",placeholder:\"Paste your essay draft, or upload a PDF or Word file.\",hint:\"We outline what each paragraph says, check the structure and suggest a better outline.\",maxWords:8e3,showMax:true,upload:true,rows:7},fields:[],selects:[{key:\"essayType\",label:\"Essay type\",default:\"any\",options:[{value:\"any\",label:\"Not sure\"},...OUTLINE_TYPES],showWhen:isEssay},...OUTLINE_SELECTS.filter(f=>f.key===\"style\"||f.key===\"numbering\"||f.key===\"level\"||f.key===\"language\")],instructions:{label:\"Assignment instructions\",placeholder:\"Paste your assignment prompt or rubric.\",hint:\"The feedback and the suggested outline will follow it.\",max:5e3,rows:4,collapsed:\"Add assignment instructions\"},outputs:[{value:\"draft-outline\",label:\"Outline of my draft\",tool:\"outline-draft\",shape:\"structured\",counts:{new:1,more:1,similar:1},noun:{one:\"outline\",many:\"outlines\"},labels:{generate:\"Outline my draft\",generating:\"Reading your draft...\",results:\"Your draft's structure\",empty:\"The outline of your draft will appear here.\",more:\"Another outline\"},checks:[{key:\"thesis\",label:\"The thesis is clear in the introduction\"},{key:\"focus\",label:\"Each body paragraph has one main point\"},{key:\"order\",label:\"No repeated or out-of-order points\"},{key:\"connect\",label:\"Every paragraph connects to the thesis\"},{key:\"missing\",label:\"Nothing important is missing\"}],structured:{...OUTLINE_STRUCTURED,reworkTool:\"outline-draft\",// The suggested outline's length follows the draft's own length.\nbudget:{...OUTLINE_STRUCTURED.budget,option:undefined},groups:[{id:\"draft\",label:\"Your draft, paragraph by paragraph\",readOnly:true},{id:\"improved\",label:\"Suggested outline\"}]}}]}],nextSteps:[{label:\"Write your introduction\",url:\"/introduction-generator\",carryTopic:true,param:\"thesis\",summaryParam:\"outline\"},{label:\"Write your conclusion\",url:\"/conclusion-generator\",carryTopic:true,param:\"thesis\",summaryParam:\"topic\"},{label:\"Generate a title\",url:\"/essay-title-generator\",carryTopic:true,param:\"thesis\"}],params:[{name:\"topic\",mode:\"create\",target:\"input\"},{name:\"thesis\",mode:\"create\",target:\"input\",open:true,note:\"Using the thesis you picked.\"}]};const GENERATORS={[ESSAY_TITLES.id]:ESSAY_TITLES,[CONCLUSIONS.id]:CONCLUSIONS,[INTRODUCTIONS.id]:INTRODUCTIONS,[THESES.id]:THESES,[OUTLINES.id]:OUTLINES};const GENERATOR_IDS=Object.keys(GENERATORS);/* -------------------------------------------------------- next steps -- *//** Topics up to this length are carried to the next tool in the URL. */const CARRY_TOPIC_CHARS=300;/** An outline's main points carried to the next tool, at most this long. */const CARRY_SUMMARY_CHARS=1500;/** The settings a next step carries, as URL parameters named by their option keys. */const CARRIED_OPTIONS=[\"essayType\",\"level\",\"language\"];/** Where the next tool has no such essay type, the nearest one it has. */const NEAREST_TYPE={\"literary-analysis\":\"analytical\"};/** The settings a result was made with, to carry to the next tool. A research paper or thesis\n *  outline has no essay type of its own, so it goes on as a research paper. */function carriedOptions(options){const out={};for(const key of CARRIED_OPTIONS)if(options[key])out[key]=options[key];if(!out.essayType&&(options.outlineType===\"research-paper\"||options.outlineType===\"thesis\"))out.essayType=\"research-paper\";return out;}/** A next step's link: the topic (or thesis) and an outline's summary when they are short enough,\n *  and the settings the result was made with unless the step says not to. */function nextStepUrl(link,topic,summary=\"\",options={}){if(!link.carryTopic)return link.url;const q=new URLSearchParams;if(topic&&topic.length<=CARRY_TOPIC_CHARS)q.set(link.param??\"topic\",topic);if(link.summaryParam&&summary&&summary.length<=CARRY_SUMMARY_CHARS)q.set(link.summaryParam,summary);if(link.carryOptions!==false)for(const[key,value]of Object.entries(carriedOptions(options)))q.set(key,value);const query=q.toString();return query?`${link.url}${link.url.includes(\"?\")?\"&\":\"?\"}${query}`:link.url;}/** A mode's options with the settings the previous tool carried in the URL, wherever the mode shows\n *  that dropdown and offers the value (or its nearest type). The rest keep what they had. */function withCarriedOptions(mode,options,query,outlineType){const out={...options};for(const key of CARRIED_OPTIONS){const given=query.get(key)?.trim();if(!given)continue;const field=mode.selects.find(f=>f.key===key&&(!f.showWhen||f.showWhen({options:out,outlineType})));const value=[given,key===\"essayType\"?NEAREST_TYPE[given]:undefined].find(v=>v&&field?.options.some(o=>o.value===v));if(value)out[key]=value;}return out;}/* -------------------------------------------------------------- zip -- */const CRC_TABLE=(()=>{const table=new Uint32Array(256);for(let n=0;n<256;n+=1){let c=n;for(let k=0;k<8;k+=1)c=c&1?3988292384^c>>>1:c>>>1;table[n]=c>>>0;}return table;})();function crc32(bytes){let c=4294967295;for(let i=0;i<bytes.length;i+=1)c=CRC_TABLE[(c^bytes[i])&255]^c>>>8;return(c^4294967295)>>>0;}/** A zip archive with every file stored as is. */function zipStored(files){const encoder=new TextEncoder;const now=new Date;const time=now.getHours()<<11|now.getMinutes()<<5|Math.floor(now.getSeconds()/2);const date=now.getFullYear()-1980<<9|now.getMonth()+1<<5|now.getDate();const locals=[];const centrals=[];let offset=0;for(const file of files){const name=encoder.encode(file.name);const data=encoder.encode(file.data);const crc=crc32(data);const local=new Uint8Array(30+name.length+data.length);const lv=new DataView(local.buffer);lv.setUint32(0,67324752,true);lv.setUint16(4,20,true);lv.setUint16(6,2048,true);lv.setUint16(8,0,true);lv.setUint16(10,time,true);lv.setUint16(12,date,true);lv.setUint32(14,crc,true);lv.setUint32(18,data.length,true);lv.setUint32(22,data.length,true);lv.setUint16(26,name.length,true);lv.setUint16(28,0,true);local.set(name,30);local.set(data,30+name.length);const central=new Uint8Array(46+name.length);const cv=new DataView(central.buffer);cv.setUint32(0,33639248,true);cv.setUint16(4,20,true);cv.setUint16(6,20,true);cv.setUint16(8,2048,true);cv.setUint16(10,0,true);cv.setUint16(12,time,true);cv.setUint16(14,date,true);cv.setUint32(16,crc,true);cv.setUint32(20,data.length,true);cv.setUint32(24,data.length,true);cv.setUint16(28,name.length,true);cv.setUint32(42,offset,true);central.set(name,46);locals.push(local);centrals.push(central);offset+=local.length;}const centralSize=centrals.reduce((n,c)=>n+c.length,0);const end=new Uint8Array(22);const ev=new DataView(end.buffer);ev.setUint32(0,101010256,true);ev.setUint16(8,files.length,true);ev.setUint16(10,files.length,true);ev.setUint32(12,centralSize,true);ev.setUint32(16,offset,true);const out=new Uint8Array(offset+centralSize+end.length);let at=0;for(const part of[...locals,...centrals,end]){out.set(part,at);at+=part.length;}return out;}/* ------------------------------------------------------------- docx -- */function xml(s){return s.replace(/[\\u0000-\\u0008\\u000b\\u000c\\u000e-\\u001f]/g,\"\").replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\"/g,\"&quot;\");}const inch=n=>Math.round(n*1440);function paragraphXml(p,line){// Spacing is set on every paragraph as well as the defaults: some readers\n// (Quick Look, older Pages) ignore the document defaults.\nconst own=p.lineSpacing?p.lineSpacing===2?480:240:line;const props=[`<w:spacing w:before=\"${Math.round((p.before??0)*20)}\" w:after=\"${Math.round((p.after??0)*20)}\" w:line=\"${own}\" w:lineRule=\"auto\"/>`];if(p.align===\"center\")props.push('<w:jc w:val=\"center\"/>');if(p.level!==undefined)props.unshift(`<w:numPr><w:ilvl w:val=\"${p.level}\"/><w:numId w:val=\"1\"/></w:numPr>`);else if(p.hanging)props.push(`<w:ind w:left=\"${inch(p.left??p.hanging)}\" w:hanging=\"${inch(p.hanging)}\"/>`);else if(p.left)props.push(`<w:ind w:left=\"${inch(p.left)}\"${p.indent?` w:firstLine=\"${inch(p.indent)}\"`:\"\"}/>`);else if(p.indent)props.push(`<w:ind w:firstLine=\"${inch(p.indent)}\"/>`);const runs=p.runs.filter(r=>r.text).map(r=>{const sz=r.size?`<w:sz w:val=\"${Math.round(r.size*2)}\"/><w:szCs w:val=\"${Math.round(r.size*2)}\"/>`:\"\";const rp=`${r.bold?\"<w:b/>\":\"\"}${r.italic?\"<w:i/>\":\"\"}${sz}`;const body=r.text.split(\"\t\").map(part=>`<w:t xml:space=\"preserve\">${xml(part)}</w:t>`).join(\"<w:tab/>\");return`<w:r>${rp?`<w:rPr>${rp}</w:rPr>`:\"\"}${body}</w:r>`;}).join(\"\");return`<w:p><w:pPr>${props.join(\"\")}</w:pPr>${runs}</w:p>`;}function tableXml(t,line){const widths=t.columns.map(inch);const rule=side=>`<w:${side} w:val=\"single\" w:sz=\"4\" w:space=\"0\" w:color=\"auto\"/>`;const rows=t.rows.map((row,r)=>{// Every cell ends with a paragraph, even an empty one, or Word won't open the file.\nconst cells=widths.map((w,c)=>`<w:tc><w:tcPr><w:tcW w:w=\"${w}\" w:type=\"dxa\"/></w:tcPr>${row[c]?.length?row[c].map(p=>paragraphXml(p,line)).join(\"\"):\"<w:p/>\"}</w:tc>`).join(\"\");return`<w:tr>${t.header&&r===0?\"<w:trPr><w:tblHeader/></w:trPr>\":\"\"}${cells}</w:tr>`;}).join(\"\");return`<w:tbl><w:tblPr><w:tblW w:w=\"${widths.reduce((a,b)=>a+b,0)}\" w:type=\"dxa\"/>`+`<w:tblBorders>${[\"top\",\"left\",\"bottom\",\"right\",\"insideH\",\"insideV\"].map(rule).join(\"\")}</w:tblBorders>`+'<w:tblLayout w:type=\"fixed\"/><w:tblCellMar><w:top w:w=\"58\" w:type=\"dxa\"/><w:left w:w=\"101\" w:type=\"dxa\"/><w:bottom w:w=\"58\" w:type=\"dxa\"/><w:right w:w=\"101\" w:type=\"dxa\"/></w:tblCellMar></w:tblPr>'+`<w:tblGrid>${widths.map(w=>`<w:gridCol w:w=\"${w}\"/>`).join(\"\")}</w:tblGrid>${rows}</w:tbl>`;}function blockXml(b,line){return\"table\"in b?tableXml(b.table,line):paragraphXml(b,line);}function buildDocx(paragraphs,options){const font=xml(options.font??\"Times New Roman\");const halfPoints=Math.round((options.size??12)*2);const line=options.lineSpacing===2?480:240;const W='xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\"';const R='xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\"';const list=options.list;const numbering=list?`<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><w:numbering ${W}><w:abstractNum w:abstractNumId=\"0\"><w:multiLevelType w:val=\"multilevel\"/>`+list.levels.map((l,i)=>`<w:lvl w:ilvl=\"${i}\"><w:start w:val=\"1\"/><w:numFmt w:val=\"${l.format}\"/><w:lvlText w:val=\"${xml(l.text)}\"/><w:lvlJc w:val=\"left\"/>`+`<w:pPr><w:tabs><w:tab w:val=\"num\" w:pos=\"${inch(l.left)}\"/></w:tabs><w:ind w:left=\"${inch(l.left)}\" w:hanging=\"${inch(l.hanging)}\"/></w:pPr>${l.bold?\"<w:rPr><w:b/></w:rPr>\":\"\"}</w:lvl>`).join(\"\")+'</w:abstractNum><w:num w:numId=\"1\"><w:abstractNumId w:val=\"0\"/></w:num></w:numbering>':\"\";const files=[{name:\"[Content_Types].xml\",data:'<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>'+'<Types xmlns=\"http://schemas.openxmlformats.org/package/2006/content-types\">'+'<Default Extension=\"rels\" ContentType=\"application/vnd.openxmlformats-package.relationships+xml\"/>'+'<Default Extension=\"xml\" ContentType=\"application/xml\"/>'+'<Override PartName=\"/word/document.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml\"/>'+'<Override PartName=\"/word/styles.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml\"/>'+(list?'<Override PartName=\"/word/numbering.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml\"/>':\"\")+(options.header?'<Override PartName=\"/word/header1.xml\" ContentType=\"application/vnd.openxmlformats-officedocument.wordprocessingml.header+xml\"/>':\"\")+'<Override PartName=\"/docProps/core.xml\" ContentType=\"application/vnd.openxmlformats-package.core-properties+xml\"/>'+\"</Types>\"},{name:\"_rels/.rels\",data:'<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>'+'<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">'+'<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\" Target=\"word/document.xml\"/>'+'<Relationship Id=\"rId2\" Type=\"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\" Target=\"docProps/core.xml\"/>'+\"</Relationships>\"},{name:\"docProps/core.xml\",data:'<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>'+'<cp:coreProperties xmlns:cp=\"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:dcterms=\"http://purl.org/dc/terms/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">'+`<dc:title>${xml(options.title??\"\")}</dc:title><dc:creator>Writing Studio</dc:creator>`+`<dcterms:created xsi:type=\"dcterms:W3CDTF\">${new Date().toISOString().slice(0,19)}Z</dcterms:created>`+\"</cp:coreProperties>\"},{name:\"word/_rels/document.xml.rels\",data:'<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>'+'<Relationships xmlns=\"http://schemas.openxmlformats.org/package/2006/relationships\">'+'<Relationship Id=\"rId1\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles\" Target=\"styles.xml\"/>'+(list?'<Relationship Id=\"rId2\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering\" Target=\"numbering.xml\"/>':\"\")+(options.header?'<Relationship Id=\"rId3\" Type=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/header\" Target=\"header1.xml\"/>':\"\")+\"</Relationships>\"},{name:\"word/styles.xml\",data:`<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><w:styles ${W}>`+`<w:docDefaults><w:rPrDefault><w:rPr><w:rFonts w:ascii=\"${font}\" w:hAnsi=\"${font}\" w:eastAsia=\"${font}\" w:cs=\"${font}\"/><w:sz w:val=\"${halfPoints}\"/><w:szCs w:val=\"${halfPoints}\"/><w:lang w:val=\"en-US\"/></w:rPr></w:rPrDefault>`+`<w:pPrDefault><w:pPr><w:spacing w:before=\"0\" w:after=\"0\" w:line=\"${line}\" w:lineRule=\"auto\"/></w:pPr></w:pPrDefault></w:docDefaults>`+'<w:style w:type=\"paragraph\" w:default=\"1\" w:styleId=\"Normal\"><w:name w:val=\"Normal\"/><w:qFormat/></w:style>'+\"</w:styles>\"},{name:\"word/document.xml\",data:`<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><w:document ${W} ${R}><w:body>`+paragraphs.map(p=>blockXml(p,line)).join(\"\")+// Word always keeps a paragraph after a table at the very end.\n(paragraphs.length&&\"table\"in paragraphs[paragraphs.length-1]?\"<w:p/>\":\"\")+`<w:sectPr>${options.header?'<w:headerReference w:type=\"default\" r:id=\"rId3\"/>':\"\"}<w:pgSz w:w=\"12240\" w:h=\"15840\"/><w:pgMar w:top=\"${inch(1)}\" w:right=\"${inch(1)}\" w:bottom=\"${inch(1)}\" w:left=\"${inch(1)}\" w:header=\"720\" w:footer=\"720\" w:gutter=\"0\"/></w:sectPr>`+\"</w:body></w:document>\"}];if(list)files.push({name:\"word/numbering.xml\",data:numbering});if(options.header){// The page number is a PAGE field, so Word and Google Docs number every page themselves.\nconst text=options.header.text?`<w:r><w:t xml:space=\"preserve\">${xml(options.header.text)} </w:t></w:r>`:\"\";const page=options.header.pageNumber?'<w:r><w:fldChar w:fldCharType=\"begin\"/></w:r><w:r><w:instrText xml:space=\"preserve\"> PAGE </w:instrText></w:r><w:r><w:fldChar w:fldCharType=\"separate\"/></w:r><w:r><w:t>1</w:t></w:r><w:r><w:fldChar w:fldCharType=\"end\"/></w:r>':\"\";files.push({name:\"word/header1.xml\",data:`<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><w:hdr ${W} ${R}><w:p><w:pPr><w:jc w:val=\"right\"/><w:spacing w:before=\"0\" w:after=\"0\" w:line=\"240\" w:lineRule=\"auto\"/></w:pPr>${text}${page}</w:p></w:hdr>`});}return new Blob([zipStored(files).buffer],{type:\"application/vnd.openxmlformats-officedocument.wordprocessingml.document\"});}/** Starts a download of `blob` as `fileName`. Call from a click handler. */function downloadBlob(blob,fileName){const url=URL.createObjectURL(blob);const a=document.createElement(\"a\");a.href=url;a.download=fileName;a.rel=\"noopener\";a.style.display=\"none\";document.body.appendChild(a);a.click();a.remove();window.setTimeout(()=>URL.revokeObjectURL(url),4e3);}/* ------------------------------------------------------------- helpers -- */const ROMAN=[[1e3,\"M\"],[900,\"CM\"],[500,\"D\"],[400,\"CD\"],[100,\"C\"],[90,\"XC\"],[50,\"L\"],[40,\"XL\"],[10,\"X\"],[9,\"IX\"],[5,\"V\"],[4,\"IV\"],[1,\"I\"]];function roman(n){let out=\"\";for(const[v,r]of ROMAN)while(n>=v)out+=r,n-=v;return out;}function letter(n,lower){let out=\"\";while(n>0){const r=(n-1)%26;out=String.fromCharCode((lower?97:65)+r)+out;n=Math.floor((n-1)/26);}return out;}/** \"II.\" for a section, \"B.\" \"3.\" \"c.\" below it (classic), or \"2\", \"2.2\", \"2.2.3\" (decimal). */function numberLabel(numbering,section,path=[]){if(numbering===\"decimal\")return[section+1,...path.map(p=>p+1)].join(\".\");if(!path.length)return`${roman(section+1)}.`;const n=path[path.length-1]+1;const depth=path.length;return`${depth===1?letter(n,false):depth===2?String(n):letter(n,true)}.`;}/** About how many words each section should get, from the chosen length (or the draft's own). */function wordBudget(sections,ui,options,inputWords){const out=new Map;const b=ui.budget;if(!b||!sections.length)return out;// From a draft's own length, targets only help once it's a few paragraphs long.\nconst total=b.option?b.words[options[b.option]]??0:inputWords>=300?inputWords:0;if(total<100)return out;const weight=s=>b.weights[s.kind]??1.5;const sum=sections.reduce((a,s)=>a+weight(s),0);const step=total>=1e4?100:total>=2e3?50:10;for(const s of sections)out.set(s.id,Math.max(step,Math.round(total*weight(s)/sum/step)*step));return out;}/** The outline as the server reads it back: no ids, no groups. */function forServer(sections){const items=list=>list.map(i=>({kind:i.kind,text:i.text,...i.children?.length?{children:items(i.children)}:{}}));return sections.map(s=>({kind:s.kind,heading:s.heading,items:items(s.items)}));}function findKind(items,kind){for(const i of items){if(i.kind===kind&&i.text.trim())return i;const deeper=i.children?findKind(i.children,kind):undefined;if(deeper)return deeper;}return undefined;}/** The thesis, wherever the outline keeps it. */function thesisOf(sections,ui){for(const s of sections){const t=findKind(s.items,ui.thesisKind);if(t)return t.text.trim();}return\"\";}/** One line per body section: its main point, for carrying to the next tool. */function summaryOf(sections,ui){return sections.filter(s=>s.kind===ui.newSection.kind).map(s=>(findKind(s.items,ui.pointKind)?.text??s.heading).trim()).filter(Boolean).join(\"\\n\");}/** A section's items of these kinds (its topic sentence and points), in order, one per line, for a tool\n *  that reads sentences (the citation finder). A phrase gets a full stop, so it reads as a sentence and\n *  not a heading. The lines stop before one that would go past `maxWords`. */function sectionSentences(section,kinds,maxWords){const lines=[];let words=0;let full=false;const walk=items=>{for(const item of items){if(full)return;const text=item.text.trim().replace(/[\\s,;:–—-]+$/,\"\");if(text&&kinds.includes(item.kind)){const n=text.split(/\\s+/).filter(w=>RegExp(\"[\\\\p{L}\\\\p{N}]\",\"u\").test(w)).length;if(words+n>maxWords){full=true;return;}words+=n;lines.push(/[.!?…。！？][\"”’)\\]]*$/u.test(text)?text:`${text}.`);}if(item.children)walk(item.children);}};walk(section.items);return lines.join(\"\\n\");}function sectionTitle(s,index,numbering,paragraphs){return paragraphs?`Paragraph ${index+1}: ${s.heading}`:`${numberLabel(numbering,index)} ${s.heading}`;}function itemLine(i,ui){const label=ui.itemLabels[i.kind];return label?`${label}: ${i.text.trim()}`:i.text.trim();}/** Plain text with numbers and indents, for pasting anywhere. */function outlineText(sections,ui,numbering,budget,paragraphs=false){const lines=[];const walk=(items,si,path)=>items.forEach((item,i)=>{if(!item.text.trim()&&!item.children?.length)return;const p=[...path,i];lines.push(`${\"    \".repeat(p.length)}${paragraphs?\"-\":numberLabel(numbering,si,p)} ${itemLine(item,ui)}`);if(item.children)walk(item.children,si,p);});sections.forEach((s,si)=>{const words=budget.get(s.id);lines.push(`${sectionTitle(s,si,numbering,paragraphs)}${words?` (about ${words.toLocaleString(\"en-US\")} words)`:\"\"}`);walk(s.items,si,[]);lines.push(\"\");});return lines.join(\"\\n\").trim();}function esc(s){return s.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\");}/** Formatted text: bold section headings and indented, numbered lines, which keep their\n *  structure when pasted into Word or Google Docs. */function outlineHtml(sections,ui,numbering,budget,paragraphs=false){const parts=[];const font=\"font-family:Arial,sans-serif;font-size:11pt;line-height:1.4\";const walk=(items,si,path)=>items.forEach((item,i)=>{if(!item.text.trim()&&!item.children?.length)return;const p=[...path,i];const label=ui.itemLabels[item.kind];parts.push(`<p style=\"${font};margin:0 0 4pt ${p.length*24+18}pt;text-indent:-18pt\">${paragraphs?\"&#8226;\":esc(numberLabel(numbering,si,p))}&nbsp;&nbsp;${label?`<b>${esc(label)}:</b> `:\"\"}${esc(item.text.trim())}</p>`);if(item.children)walk(item.children,si,p);});sections.forEach((s,si)=>{const words=budget.get(s.id);parts.push(`<p style=\"${font};margin:12pt 0 4pt\"><b>${esc(sectionTitle(s,si,numbering,paragraphs))}</b>${words?` <i>(about ${words.toLocaleString(\"en-US\")} words)</i>`:\"\"}</p>`);walk(s.items,si,[]);});return`<div>${parts.join(\"\")}</div>`;}/** The Word list behind an outline: I, A, 1, a (classic) or 1, 1.1, 1.1.1 (decimal). */function outlineList(numbering){if(numbering===\"decimal\")return{levels:[{format:\"decimal\",text:\"%1\",left:.35,hanging:.35,bold:true},{format:\"decimal\",text:\"%1.%2\",left:.85,hanging:.45},{format:\"decimal\",text:\"%1.%2.%3\",left:1.45,hanging:.55},{format:\"decimal\",text:\"%1.%2.%3.%4\",left:2.15,hanging:.65}]};return{levels:[{format:\"upperRoman\",text:\"%1.\",left:.4,hanging:.4,bold:true},{format:\"upperLetter\",text:\"%2.\",left:.75,hanging:.3},{format:\"decimal\",text:\"%3.\",left:1.1,hanging:.3},{format:\"lowerLetter\",text:\"%4.\",left:1.45,hanging:.3}]};}/** Word paragraphs: a title, then the outline as one numbered list (sections at the top\n *  level, bold, with their word targets), so Word keeps numbering as the student adds lines. */function outlineDocx(sections,ui,budget,title){const doc=[{runs:[{text:title,bold:true,size:16}],after:12}];const walk=(items,depth)=>items.forEach(item=>{if(!item.text.trim()&&!item.children?.length)return;const label=ui.itemLabels[item.kind];doc.push({runs:[...label?[{text:`${label}: `,bold:true}]:[],{text:item.text.trim()}],level:Math.min(depth,3),after:3});if(item.children)walk(item.children,depth+1);});sections.forEach(s=>{const words=budget.get(s.id);doc.push({runs:[{text:s.heading,bold:true},...words?[{text:`  (about ${words.toLocaleString(\"en-US\")} words)`,italic:true}]:[]],level:0,before:10,after:4});walk(s.items,1);});return doc;}/** The topic, at most this long, is the brief when there's no thesis (the length other tools carry it at). */const BRIEF_TOPIC_CHARS=300;const oneLine=text=>text.replace(/\\s+/g,\" \").trim();/** A topic short enough to be the paper's title (\"The effect of social media on teenage sleep\"): one line, and\n *  not a sentence (a thesis typed in the box goes to the brief instead). Empty when it isn't one. */function titleFrom(topic){const text=oneLine(topic);if(!text||/\\n/.test(topic.trim())||text.length>120||/[.!。！][\"”’)\\]]*$/u.test(text))return\"\";return text;}/** A section's points as its section brief in the app: one line each, nested ones indented under their point,\n *  with the labels the page shows (\"Topic sentence:\", \"Evidence to find:\"). */function sectionBrief(section,ui){const lines=[];const walk=(items,depth)=>{for(const item of items){const text=oneLine(item.text);const label=ui.itemLabels[item.kind];if(text)lines.push(`${\"  \".repeat(depth)}- ${label?`${label}: `:\"\"}${text}`);if(item.children?.length)walk(item.children,text?depth+1:depth);}};walk(section.items,0);return lines.join(\"\\n\");}/** The outline as the student has it now. `topic` is what they typed in the box (a topic or a thesis). */function outlineStart(sections,ui,topic){const title=titleFrom(topic);const short=oneLine(topic);const brief=thesisOf(sections,ui)||(short.length<=BRIEF_TOPIC_CHARS&&short!==title?short:\"\");const parts=sections.map(s=>({heading:oneLine(s.heading),brief:sectionBrief(s,ui)})).filter(s=>s.heading||s.brief);return{tool:\"outlines\",...title?{title}:{},...brief?{brief}:{},sections:parts};}/** A result the student copied from one of the other generators, or null for a tool that has no way in.\n *  `topic` is what they typed in the box when it held a topic, and `thesis` the thesis they gave. */function resultStart(tool,result,from={}){const text=result.trim();if(!text)return null;const thesis=oneLine(from.thesis??\"\");const topic=oneLine(from.topic??\"\");const shortTopic=topic.length<=BRIEF_TOPIC_CHARS?topic:\"\";if(tool===\"essay-titles\"){const brief=thesis||shortTopic;return{tool,title:oneLine(text),...brief?{brief}:{}};}const title=titleFrom(from.topic??\"\");const named=title?{title}:{};if(tool===\"theses\")return{tool,...named,brief:text};if(tool===\"introductions\"||tool===\"conclusions\"){const brief=thesis||(shortTopic!==title?shortTopic:\"\");return{tool,...named,...brief?{brief}:{},text};}return null;}/** Where it's sent, and where the app opens it once kept: the server the generator runs on. */function startUrls(apiBaseUrl){let origin=\"https://app.writingstudio.com\";try{origin=new URL(apiBaseUrl).origin;}catch{/* the default server */}return{api:`${origin}/api/public/essay-start`,open:(id,tool)=>`${origin}/import/essay/${encodeURIComponent(id)}?tool=${tool}`};}// ---- AppHandoff.ts -----------------------------------------------\n// GENERATED from lexi/src/lib/publicAi/handoff.ts by sync-shared.sh. Edit it there, not here.\n/** How long a free tool's result can be opened in the app with \"Continue in Writing Studio\" (the\n *  literature review generator and the citation finder). Pure, and shared word for word with the\n *  Framer pages (framer-tools/AppHandoff.ts, by sync-shared.sh), so the server and the page can't\n *  disagree about it.\n *\n *  The page stops offering Continue once its result is a week old, by the time it saved with it,\n *  and says it's too old instead, before the student reaches sign-up. The server keeps the result a\n *  day longer than that, so a student who presses Continue late on the last day still has time to\n *  sign up and open it.\n *\n *  What a page sends only when the student presses Open in Writing Studio (the abstract generator's paper,\n *  the essay generators' outline or result) is kept a day instead, and the page sends it afresh once that\n *  day is nearly up (sentStillKept). */const OPENS_FOR_DAYS=7;const DAY_SECONDS=24*60*60;/** How long the server keeps a result for the app to open: the week, and a day for signing up. */const KEEP_SECONDS=(OPENS_FOR_DAYS+1)*DAY_SECONDS;/** Whether a result made at `at` (milliseconds, the page's own clock) can still be opened in the\n *  app. A missing or broken time counts as too old, so nobody is sent to sign up for nothing. */function opensInApp(at,now=Date.now()){return typeof at===\"number\"&&Number.isFinite(at)&&now-at<OPENS_FOR_DAYS*DAY_SECONDS*1e3;}/** How long the server keeps what a page sends on a press for the app to open after sign-up (the abstract\n *  generator's paper, the essay generators' outline or result): a day from when it's sent. */const SENT_KEEP_SECONDS=DAY_SECONDS;/** Whether something a page sent at `at` (milliseconds, the page's own clock) can still be opened from that\n *  page, with an hour to spare for signing up. Past that, pressing again sends it afresh rather than opening\n *  a copy that has gone, so nobody signs up to find it expired. */function sentStillKept(at,now=Date.now()){return typeof at===\"number\"&&Number.isFinite(at)&&now-at<(SENT_KEEP_SECONDS-60*60)*1e3;}// ---- OutlineEditor.tsx -------------------------------------------\n/**\n * OutlineEditor: the structured result of the short-text generators (an\n * essay outline; later a study guide or a literature review plan). Sections\n * hold nested items; the student edits any line in place, reorders\n * sections by dragging (mouse or touch) or with Move up and Move down,\n * adds and deletes sections and points, and asks for one section or point\n * to be rewritten or expanded.\n *\n * Numbering and word budgets (OutlineFormat.ts) are worked out on the page,\n * never by the model, so they stay right after edits and moves.\n */function withIds(v,group){const items=list=>list.map(i=>({id:uid(),kind:i.kind,text:i.text,...i.children?.length?{children:items(i.children)}:{}}));return{id:uid(),kind:v.kind,heading:v.heading,items:items(v.items),...group?{group}:{}};}function mapItems(items,path,fn){if(path.length===1)return fn(items,path[0]);return items.map((item,i)=>i===path[0]?{...item,children:mapItems(item.children??[],path.slice(1),fn)}:item);}function onSection(sections,si,fn){return sections.map((s,i)=>i===si?fn(s):s);}/* --------------------------------------------------------------- styles -- */const OUTLINE_CSS=`\n.wso-card{border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white};overflow:hidden}\n.wso-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px 8px 18px;border-bottom:1px solid ${T.border200};background:${T.bg50};font-size:13px;color:${T.text600}}\n.wso-bar-tools{display:flex;flex-wrap:wrap;gap:6px}\n.wso-sections{list-style:none;margin:0;padding:0}\n.wso-section{position:relative;padding:14px 14px 12px 10px;border-top:1px solid ${T.border200};background:${T.white};transition:box-shadow .15s,background-color .15s}\n.wso-section:first-child{border-top:0}\n.wso-section--new{animation:wst-drop .3s ${T.ease}}\n.wso-section--drag{z-index:2;user-select:none;-webkit-user-select:none;background:${T.bg50};box-shadow:0 8px 24px rgba(0,0,0,.12),0 0 0 2px ${T.blue};border-radius:10px}\n.wso-section--busy .wso-items,.wso-section--busy .wso-head-text{opacity:.45}\n.wso-head{display:flex;align-items:flex-start;gap:6px}\n.wso-grip{flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:32px;border:0;border-radius:8px;background:transparent;color:${T.text500};cursor:grab;touch-action:none}\n.wso-grip:hover{background:${T.bg100};color:${T.text700}}\n.wso-grip:active{cursor:grabbing}\n.wso-grip-space{flex:none;width:26px}\n.wso-num{flex:none;min-width:30px;padding-top:6px;font-size:15px;line-height:1.35;color:${T.text600};font-variant-numeric:tabular-nums;font-variation-settings:\"wght\" 560;font-weight:560}\n.wso-head-text{flex:1;min-width:0}\n.wso-heading{display:block;width:100%;min-height:32px;padding:4px 6px;margin:0 0 0 -6px;border:0;border-radius:6px;background:transparent;font:inherit;font-size:16px;line-height:1.4;color:${T.text};font-variation-settings:\"wght\" 600;font-weight:600;resize:none;overflow:hidden}\n.wso-words{display:block;margin-top:1px;font-size:12px;color:${T.text600};font-variant-numeric:tabular-nums}\n.wso-head-actions{flex:none;display:flex;align-items:center;gap:2px}\n.wso-menu-wrap{position:relative;display:none}\n.wso-menu{right:0;top:calc(100% + 4px);min-width:220px;padding:6px}\n.wso-menu button,.wso-menu a{display:flex;align-items:center;gap:10px;width:100%;min-height:40px;padding:0 10px;border:0;border-radius:8px;background:transparent;color:${T.text};font-size:14px;text-align:left;text-decoration:none;cursor:pointer}\n.wso-menu button:hover,.wso-menu a:hover,.wso-menu button:focus-visible{background:${T.bg100}}\n.wso-menu button[disabled]{opacity:.45;cursor:default}\n.wso-items{list-style:none;margin:6px 0 0;padding:0 0 0 62px}\n.wso-items .wso-items{margin-top:2px;padding-left:28px}\n.wso-item{margin:0}\n.wso-row{display:grid;grid-template-columns:28px 124px minmax(0,1fr) auto;align-items:start;gap:0 6px;padding:1px 0;border-radius:8px}\n.wso-row--plain .wso-text-wrap{grid-column:2 / 4}\n.wso-row-num{padding-top:5px;font-size:14px;line-height:1.5;color:${T.text600};font-variant-numeric:tabular-nums}\n.wso-label{padding-top:6px;font-size:12.5px;line-height:1.45;color:${T.text600};font-variation-settings:\"wght\" 560;font-weight:560}\n.wso-text,.wso-heading{field-sizing:content}\n.wso-text{display:block;width:100%;min-height:30px;padding:4px 6px;margin:0;border:0;border-radius:6px;background:transparent;font:inherit;font-size:15px;line-height:1.5;color:${T.text};resize:none;overflow:hidden}\n.wso-text:hover:not([readonly]),.wso-heading:hover:not([readonly]){background:${T.black3}}\n.wst-root .wso-text:focus-visible,.wst-root .wso-heading:focus-visible{outline:2px solid ${T.text500};outline-offset:0;background:${T.bg50}}\n.wso-text[readonly],.wso-heading[readonly]{cursor:default}\n.wso-text::placeholder,.wso-heading::placeholder{color:${T.text500}}\n.wso-row-actions{display:flex;align-items:center;gap:0;opacity:0;transition:opacity .12s}\n.wso-row:hover .wso-row-actions,.wso-row:focus-within .wso-row-actions{opacity:1}\n.wso-row-actions .wst-icon-btn{width:30px;height:30px}\n.wso-add{display:inline-flex;align-items:center;gap:6px;margin:4px 0 0 60px;min-height:30px;padding:0 8px;border:0;border-radius:8px;background:transparent;color:${T.text600};font-size:13px;cursor:pointer}\n.wso-add:hover{background:${T.bg100};color:${T.text}}\n.wso-add-section{margin:0;padding:10px 18px;border-top:1px solid ${T.border200};width:100%;border-radius:0;justify-content:flex-start}\n.wso-busy{display:inline-flex;align-items:center;gap:6px;margin-left:8px;font-size:12px;color:${T.blue};font-variation-settings:\"wght\" 560;font-weight:560}\n.wso-link{display:inline-flex;align-items:center;gap:4px;min-height:30px;margin:4px 0 0 8px;vertical-align:top;padding:0 8px;border-radius:8px;font-size:13px;color:${T.blue};text-decoration:none}\n.wso-link:hover{text-decoration:underline}\n.wst-root .wso-link:focus-visible{outline-color:${T.text500};outline-offset:0}\n.wso-group{margin:0 0 10px;padding:0 4px;font-size:15px;color:${T.text};font-variation-settings:\"wght\" 560;font-weight:560}\n.wso-read .wso-items{padding-left:36px}\n.wso-read .wso-add{display:none}\n.wso-skel{padding:14px 18px;border-top:1px solid ${T.border200}}\n@media (hover:none){.wso-row-actions{opacity:1}}\n@media (max-width:600px){\n  .wso-section{padding:12px 8px 10px 4px}\n  .wso-head-actions{display:none}\n  .wso-menu-wrap{display:block}\n  .wso-items{padding-left:8px}\n  .wso-items .wso-items{padding-left:14px}\n  .wso-read .wso-items{padding-left:8px}\n  .wso-row{grid-template-columns:24px minmax(0,1fr) auto}\n  .wso-row .wso-label{grid-column:2;grid-row:1;padding-top:4px}\n  .wso-row .wso-text-wrap{grid-column:2;grid-row:2}\n  .wso-row--plain .wso-text-wrap{grid-row:1}\n  .wso-row-num{grid-row:1}\n  .wso-row-actions{grid-column:3;grid-row:1;opacity:1}\n  .wso-row:not(:focus-within) .wso-row-actions .wso-hide-idle{display:none}\n  .wso-add,.wso-link{margin-left:8px}\n  .wso-num{min-width:26px}\n}\n`;/* ---------------------------------------------------------- component -- *//** A text box that grows with its text. */function Grow(props){const ref=useRef(null);useEffect(()=>{const el=ref.current;if(!el)return;el.style.height=\"auto\";el.style.height=`${el.scrollHeight}px`;},[props.value,props.remeasure]);return /*#__PURE__*/_jsx(\"textarea\",{ref:ref,rows:1,className:props.className,value:props.value,readOnly:props.readOnly,\"aria-label\":props.label,placeholder:props.placeholder,\"data-focus\":props.focusId,onChange:e=>props.onChange(e.target.value.replace(/\\n/g,\" \")),onKeyDown:props.onKeyDown,onBlur:props.onBlur});}function OutlineEditor(props){const{sections,ui,numbering,budget,readOnly=false,streaming,busy,working,canAsk=true}=props;const locked=readOnly||streaming||busy;const[draggingId,setDraggingId]=useState(null);const[menuFor,setMenuFor]=useState(null);const[remeasure,setRemeasure]=useState(0);const latest=useRef(sections);latest.current=sections;// Handlers that outlive a render (a drag in progress) read the newest props from here.\nconst propsRef=useRef(props);propsRef.current=props;const endDragRef=useRef(null);const els=useRef(new Map);const drag=useRef(null);const pendingFocus=useRef(null);const rootRef=useRef(null);const menuRef=useRef(null);useDismiss(menuFor!==null,()=>setMenuFor(null),[menuRef]);useEffect(()=>()=>endDragRef.current?.(),[]);// Text wraps differently after a resize or rotation; measure the boxes again.\nuseEffect(()=>{let t=0;const onResize=()=>{window.clearTimeout(t);t=window.setTimeout(()=>setRemeasure(n=>n+1),120);};window.addEventListener(\"resize\",onResize);return()=>{window.removeEventListener(\"resize\",onResize);window.clearTimeout(t);};},[]);// Focus a line the student just added.\nuseEffect(()=>{const id=pendingFocus.current;if(!id)return;pendingFocus.current=null;const el=rootRef.current?.querySelector(`[data-focus=\"${id}\"]`);if(el){el.focus();// A new section's placeholder heading is selected, ready to type over.\nif(el.classList.contains(\"wso-heading\"))el.select();else el.setSelectionRange(el.value.length,el.value.length);}});const movable=s=>Boolean(s&&ui.movable.includes(s.kind));const change=(next,what)=>propsRef.current.onChange(next,what);const move=(from,to,announce)=>{const list=latest.current;if(to<0||to>=list.length||!movable(list[from])||!movable(list[to]))return false;const next=list.slice();const[s]=next.splice(from,1);next.splice(to,0,s);latest.current=next;change(next,\"reorder\");if(announce){const moving=next.filter(x=>movable(x));propsRef.current.announce(`Moved to position ${moving.indexOf(s)+1} of ${moving.length}.`);propsRef.current.onReorder?.();}return true;};/* ---- drag to reorder: pointer events, so mouse, pen and touch all work ----\n     * Listened for on the window: reordering moves the section's element in the\n     * page, which would drop a pointer capture on the handle itself. */const dragTo=y=>{const d=drag.current;if(!d)return;// Scroll a long outline while dragging near the top or bottom of the screen.\nif(y<70)window.scrollBy(0,-14);else if(y>window.innerHeight-70)window.scrollBy(0,14);const list=latest.current;const i=list.findIndex(s=>s.id===d.id);const mid=s=>{const r=els.current.get(s.id)?.getBoundingClientRect();return r?r.top+r.height/2:NaN;};const before=list[i-1];const after=list[i+1];if(movable(before)&&y<mid(before))d.moved=move(i,i-1,false)||d.moved;else if(movable(after)&&y>mid(after))d.moved=move(i,i+1,false)||d.moved;};const onGripDown=(e,id)=>{if(locked||e.button!==0)return;e.preventDefault();endDragRef.current?.();drag.current={id,moved:false};setDraggingId(id);const onMove=ev=>{ev.preventDefault();dragTo(ev.clientY);};const onUp=()=>{window.removeEventListener(\"pointermove\",onMove);window.removeEventListener(\"pointerup\",onUp);window.removeEventListener(\"pointercancel\",onUp);endDragRef.current=null;const d=drag.current;drag.current=null;setDraggingId(null);if(d?.moved){const moving=latest.current.filter(x=>movable(x));propsRef.current.announce(`Moved to position ${moving.findIndex(x=>x.id===d.id)+1} of ${moving.length}.`);propsRef.current.onReorder?.();}};window.addEventListener(\"pointermove\",onMove,{passive:false});window.addEventListener(\"pointerup\",onUp);window.addEventListener(\"pointercancel\",onUp);endDragRef.current=onUp;};const onGripKey=(e,index)=>{if(e.key!==\"ArrowUp\"&&e.key!==\"ArrowDown\")return;e.preventDefault();move(index,index+(e.key===\"ArrowUp\"?-1:1),true);};/* ---- edits ---- */const setHeading=(si,text)=>change(onSection(sections,si,s=>({...s,heading:text})),\"edit\");const setText=(si,path,text)=>change(onSection(sections,si,s=>({...s,items:mapItems(s.items,path,(list,i)=>list.map((it,k)=>k===i?{...it,text}:it))})),\"edit\");const addItem=(si,path,where)=>{const depth=where===\"end\"?1:where===\"child\"?path.length+1:path.length;const item={id:uid(),kind:ui.newItemKind[Math.min(depth,ui.newItemKind.length)-1]??\"point\",text:\"\"};pendingFocus.current=item.id;change(onSection(sections,si,s=>{if(where===\"end\")return{...s,items:[...s.items,item]};if(where===\"child\")return{...s,items:mapItems(s.items,path,(list,i)=>list.map((it,k)=>k===i?{...it,children:[...it.children??[],item]}:it))};return{...s,items:mapItems(s.items,path,(list,i)=>[...list.slice(0,i+1),item,...list.slice(i+1)])};}),\"add\");};const deleteItem=(si,path,focusBefore)=>{const s=sections[si];const flat=[];const walk=(list,p)=>list.forEach((it,i)=>(flat.push({id:it.id,path:[...p,i]}),walk(it.children??[],[...p,i])));walk(s.items,[]);const at=flat.findIndex(f=>f.path.join(\".\")===path.join(\".\"));if(focusBefore&&at>0)pendingFocus.current=flat[at-1].id;change(onSection(sections,si,x=>({...x,items:mapItems(x.items,path,(list,i)=>list.filter((_,k)=>k!==i))})),\"delete\");props.announce(\"Point deleted.\");};const deleteSection=si=>{setMenuFor(null);change(sections.filter((_,i)=>i!==si),\"delete\");props.announce(`Section deleted: ${sections[si].heading}.`);};const addSection=()=>{// After the last section of the same kind (body sections come before a counterargument).\nconst lastSame=sections.reduce((a,s,i)=>s.kind===ui.newSection.kind?i:a,-1);const lastMovable=sections.reduce((a,s,i)=>movable(s)?i:a,-1);const at=lastSame>=0?lastSame+1:lastMovable>=0?lastMovable+1:Math.max(0,sections.length-1);const section={id:uid(),kind:ui.newSection.kind,heading:ui.newSection.heading,items:ui.newSection.items.map(i=>({id:uid(),...i})),...sections[0]?.group?{group:sections[0].group}:{}};pendingFocus.current=section.id;change([...sections.slice(0,at),section,...sections.slice(at)],\"add\");props.announce(\"Section added.\");};/* ---- render ---- */const renderItems=(items,si,path)=>/*#__PURE__*/_jsx(\"ol\",{className:\"wso-items\",children:items.map((item,i)=>{const p=[...path,i];const label=ui.itemLabels[item.kind];const num=readOnly?\"\":numberLabel(numbering,si,p);const expanding=working===`${si}.${i}`&&p.length===1;const canExpand=!readOnly&&p.length===1&&ui.expandable.includes(item.kind);const lineLabel=`${label??\"Point\"} ${num}`.trim();return /*#__PURE__*/_jsxs(\"li\",{className:\"wso-item\",children:[/*#__PURE__*/_jsxs(\"div\",{className:cx(\"wso-row\",!label&&\"wso-row--plain\"),children:[/*#__PURE__*/_jsx(\"span\",{className:\"wso-row-num\",\"aria-hidden\":true,children:readOnly?\"•\":num}),label?/*#__PURE__*/_jsx(\"span\",{className:\"wso-label\",children:label}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"wso-text-wrap\",children:[/*#__PURE__*/_jsx(Grow,{className:\"wso-text\",value:item.text,readOnly:locked,label:readOnly?lineLabel:`${lineLabel} (you can edit it)`,placeholder:readOnly?undefined:\"Type a point\",focusId:item.id,remeasure:remeasure,onChange:v=>setText(si,p,v),onBlur:props.onCommit,onKeyDown:e=>{if(locked)return;if(e.key===\"Enter\"&&!e.shiftKey){e.preventDefault();addItem(si,p,\"after\");}else if(e.key===\"Backspace\"&&!item.text&&!item.children?.length){e.preventDefault();deleteItem(si,p,true);}}}),expanding?/*#__PURE__*/_jsxs(\"span\",{className:\"wso-busy\",role:\"status\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",style:{width:12,height:12},\"aria-hidden\":true}),\"Adding detail...\"]}):null]}),readOnly?null:/*#__PURE__*/_jsxs(\"span\",{className:\"wso-row-actions\",children:[canExpand?/*#__PURE__*/_jsx(IconButton,{label:`Expand: add detail under ${lineLabel}`,className:\"wso-hide-idle\",disabled:busy||streaming||!canAsk,onClick:()=>props.onExpand(si,i),children:/*#__PURE__*/_jsx(Icons.Expand,{size:16})}):null,p.length<3?/*#__PURE__*/_jsx(IconButton,{label:`Add a sub-point under ${lineLabel}`,className:\"wso-hide-idle\",disabled:locked,onClick:()=>addItem(si,p,\"child\"),children:/*#__PURE__*/_jsx(Icons.Plus,{size:16})}):null,/*#__PURE__*/_jsx(IconButton,{label:`Delete ${lineLabel}`,className:\"wso-hide-idle\",disabled:locked,onClick:()=>deleteItem(si,p,false),children:/*#__PURE__*/_jsx(Icons.Trash,{size:15})})]})]}),item.children?.length?renderItems(item.children,si,p):null]},item.id);})});const movableIdx=sections.map((s,i)=>movable(s)?i:-1).filter(i=>i>=0);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:cx(readOnly&&\"wso-read\"),children:[/*#__PURE__*/_jsxs(\"ol\",{className:\"wso-sections\",\"aria-busy\":streaming||busy||undefined,children:[sections.map((s,si)=>{const canMove=!readOnly&&movable(s);const first=movableIdx[0]===si;const last=movableIdx[movableIdx.length-1]===si;const words=budget.get(s.id);const rewriting=working===String(si);const title=readOnly?`Paragraph ${si+1}`:numberLabel(numbering,si);// Links carry the section as it reads now, so they wait until it has finished streaming in.\nconst links=readOnly||streaming?[]:(ui.sectionLinks??[]).filter(l=>l.kind===s.kind);const actions=[{key:\"regen\",label:\"Regenerate this section\",icon:/*#__PURE__*/_jsx(Icons.Refresh,{size:16}),disabled:busy||streaming||!canAsk,run:()=>props.onRegenerate(si)},...canMove?[{key:\"up\",label:\"Move up\",icon:/*#__PURE__*/_jsx(Icons.ArrowUp,{size:16}),disabled:locked||first,run:()=>move(si,si-1,true)},{key:\"down\",label:\"Move down\",icon:/*#__PURE__*/_jsx(Icons.ArrowDown,{size:16}),disabled:locked||last,run:()=>move(si,si+1,true)},{key:\"delete\",label:\"Delete section\",icon:/*#__PURE__*/_jsx(Icons.Trash,{size:15}),disabled:locked,run:()=>deleteSection(si)}]:[]];return /*#__PURE__*/_jsxs(\"li\",{ref:el=>{if(el)els.current.set(s.id,el);else els.current.delete(s.id);},className:cx(\"wso-section\",draggingId===s.id&&\"wso-section--drag\",rewriting&&\"wso-section--busy\",props.freshIds.has(s.id)&&\"wso-section--new\"),children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wso-head\",children:[canMove?/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"wso-grip\",\"aria-label\":`Reorder section: ${s.heading}. Drag, or use the up and down arrow keys.`,title:\"Drag to reorder\",disabled:locked,onPointerDown:e=>onGripDown(e,s.id),onKeyDown:e=>onGripKey(e,si),children:/*#__PURE__*/_jsx(Icons.Grip,{size:16})}):readOnly?null:/*#__PURE__*/_jsx(\"span\",{className:\"wso-grip-space\",\"aria-hidden\":true}),/*#__PURE__*/_jsx(\"span\",{className:\"wso-num\",\"aria-hidden\":true,children:readOnly?`${si+1}.`:title}),/*#__PURE__*/_jsxs(\"div\",{className:\"wso-head-text\",children:[/*#__PURE__*/_jsx(Grow,{className:\"wso-heading\",value:s.heading,readOnly:locked,label:`Section ${title} heading${readOnly?\"\":\" (you can edit it)\"}`,focusId:s.id,remeasure:remeasure,onChange:v=>setHeading(si,v),onBlur:props.onCommit}),words?/*#__PURE__*/_jsxs(\"span\",{className:\"wso-words\",children:[\"About \",words.toLocaleString(\"en-US\"),\" words\"]}):null,rewriting?/*#__PURE__*/_jsxs(\"span\",{className:\"wso-busy\",role:\"status\",style:{marginLeft:0},children:[/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",style:{width:12,height:12},\"aria-hidden\":true}),\"Rewriting this section...\"]}):null]}),readOnly?null:/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{className:\"wso-head-actions\",children:actions.map(a=>/*#__PURE__*/_jsx(IconButton,{label:`${a.label}: ${s.heading}`,disabled:a.disabled,onClick:a.run,children:a.icon},a.key))}),/*#__PURE__*/_jsxs(\"div\",{className:\"wso-menu-wrap\",ref:menuFor===s.id?menuRef:undefined,children:[/*#__PURE__*/_jsx(IconButton,{label:`Section actions: ${s.heading}`,\"aria-haspopup\":\"true\",\"aria-expanded\":menuFor===s.id,onClick:()=>setMenuFor(m=>m===s.id?null:s.id),children:/*#__PURE__*/_jsx(Icons.More,{size:18})}),menuFor===s.id?/*#__PURE__*/_jsx(\"div\",{className:\"wst-pop wso-menu\",children:actions.map(a=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",disabled:a.disabled,onClick:()=>{if(a.key!==\"up\"&&a.key!==\"down\")setMenuFor(null);a.run();},children:[a.icon,a.label]},a.key))}):null]})]})]}),renderItems(s.items,si,[]),readOnly?null:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wso-add\",disabled:locked,onClick:()=>addItem(si,null,\"end\"),children:[/*#__PURE__*/_jsx(Icons.Plus,{size:14}),\"Add point\"]}),links.map(l=>{const href=props.sectionHref?.(s,l);// A new tab, so the outline stays here for the next section.\nreturn href?/*#__PURE__*/_jsxs(\"a\",{className:\"wso-link\",href:href,target:\"_blank\",rel:\"noopener\",\"aria-label\":`${l.label}: ${s.heading}`,onClick:()=>props.onLink?.(l.label),children:[l.label,/*#__PURE__*/_jsx(Icons.Arrow,{size:13})]},l.label):null;})]},s.id);}),streaming?/*#__PURE__*/_jsxs(\"li\",{className:\"wso-skel\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"60%\",margin:\"4px 0\"}}),/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"42%\",margin:\"12px 0 4px 40px\"}})]}):null]}),readOnly||streaming?null:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wso-add wso-add-section\",disabled:locked,onClick:addSection,children:[/*#__PURE__*/_jsx(Icons.Plus,{size:15}),\"Add a section\"]})]});}// ---- ShortTextGenerator.tsx --------------------------------------\n/**\n * ShortTextGenerator: Writing Studio's free short-text generators (essay\n * titles, conclusions, and later introductions, thesis statements and the\n * rest). The Tool property picks a config from Generators.ts; the server\n * builds every prompt at /api/public/generate.\n *\n * A config has one or more modes (shown as tabs when there are several).\n * Each mode has a main input, optional extra fields, dropdowns and example\n * cards, and one or more outputs, each with a shape:\n *   list      short items streamed one by one (titles, concluding sentences)\n *   text      one paragraph streamed as written, with versions, refine chips\n *             and optional part labels (conclusions)\n *   feedback  checks, then an improved paragraph (improve my conclusion)\n *   structured  sections of nested items, streamed section by section and\n *             edited in place (essay outlines; see OutlineEditor.tsx)\n *\n * Renders only the tool. The page's H1, intro, how-to, examples and FAQ\n * are native Framer content, so search engines read them directly.\n *\n * Server render: the empty form and an empty results card. URL parameters,\n * storage, files, network, clipboard and analytics only run in effects and\n * event handlers.\n */const MAX_HISTORY=20;const MAX_SAVED=50;/** Longest text kept in history; a pasted essay is trimmed, not dropped. */const HISTORY_TEXT_CHARS=2e4;const STALL_MS=3e4;const FILE_ACCEPT=\".pdf,.docx,application/pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document\";/** The outline's hand-off for this outline, unless it was kept so long ago that it has (nearly) gone. */function openingFor(opening,key){return opening&&opening.key===key&&(opening.status!==\"ready\"||sentStillKept(opening.at))?opening:null;}const SEND_FAILED=\"We couldn’t reach Writing Studio. Check your connection and try again.\";const MESSAGES={network:\"We couldn't reach the generator. Check your connection and try again.\",failed:\"Something went wrong. Please try again.\",slow:\"This is taking longer than usual. Check your connection and try again.\"};/* ------------------------------------------------------------ helpers -- */const MARKER=/\\[\\[(\\d)\\]\\]\\s*/g;/** The text a student sees: part markers removed. */function plainOf(raw){return raw.replace(MARKER,\"\").trim();}/** While streaming, hide a marker that has only partly arrived (\"[\", \"[[1\"). */function streamingPlain(raw){return raw.replace(/\\[(?:\\[(?:\\d\\]?)?)?$/,\"\").replace(MARKER,\"\");}function partsOf(raw){const out=[];const re=/\\[\\[(\\d)\\]\\]\\s*/g;let last=0;let part=0;let m;while(m=re.exec(raw)){if(m.index>last)out.push({part,text:raw.slice(last,m.index)});part=Number(m[1]);last=m.index+m[0].length;}if(last<raw.length)out.push({part,text:raw.slice(last)});return out.filter(p=>p.text.trim());}/** Replaces part 1 of a marked result (an introduction's hook) with new text, keeping the\n *  marker and everything from part 2 on unchanged. Returns `raw` unchanged if it has no\n *  [[1]] marker to find. */function withPart1Swapped(raw,newText){const re=/\\[\\[(\\d)\\]\\]\\s*/g;let afterFirst=-1;let secondStart=-1;let m;while(m=re.exec(raw)){if(afterFirst<0){if(m[1]!==\"1\")return raw;afterFirst=m.index+m[0].length;}else{secondStart=m.index;break;}}if(afterFirst<0)return raw;return`${raw.slice(0,afterFirst)}${newText.trim()} ${secondStart>=0?raw.slice(secondStart):\"\"}`.trimEnd();}function versionText(v){if(!v)return\"\";return v.edited??plainOf(v.raw);}function historyFrom(raw){const r=raw;if(!r||r.v!==1||!Array.isArray(r.batches))return null;return{v:1,batches:r.batches.filter(b=>b&&Array.isArray(b.items))// Batches saved before modes existed lack these fields.\n.map(b=>({modeId:\"\",output:\"\",fields:{},versions:[],current:0,checks:[],sections:[],...b})).slice(0,MAX_HISTORY)};}function savedFrom(raw){const r=raw;return r&&r.v===1&&Array.isArray(r.items)?{v:1,items:r.items.filter(x=>typeof x===\"string\").slice(0,MAX_SAVED)}:null;}function timeLabel(at){try{const d=new Date(at);const today=new Date().toDateString()===d.toDateString();return today?d.toLocaleTimeString([],{hour:\"numeric\",minute:\"2-digit\"}):d.toLocaleDateString([],{month:\"short\",day:\"numeric\"});}catch{return\"\";}}function capitalize(s){return s.charAt(0).toUpperCase()+s.slice(1);}function initialForms(ui,props,outlineType){const overrides={essayType:props.defaultEssayType,tone:props.defaultTone,style:props.defaultTitleStyle,level:props.defaultLevel,length:props.defaultLength,hookStyle:props.defaultHookStyle};const forms={};for(const mode of ui.modes){const options={};for(const field of mode.selects){// Two fields can share a key (essay and thesis lengths); the one that shows sets it.\nif(options[field.key]!==undefined||field.showWhen&&!field.showWhen({options,outlineType}))continue;const wanted=overrides[field.key];options[field.key]=wanted&&field.options.some(o=>o.value===wanted)?wanted:field.default;}for(const t of mode.toggles??[])options[t.key]=\"auto\";const output=mode.outputs.some(o=>o.value===props.defaultOutputType)?props.defaultOutputType:mode.outputs[0].value;forms[mode.id]={input:\"\",fields:Object.fromEntries(mode.fields.map(f=>[f.key,\"\"])),options,instructions:\"\",output};}return forms;}function outputOf(mode,value){return mode.outputs.find(o=>o.value===value)??mode.outputs[0];}/** The group of a structured result the student edits (the suggested outline in draft mode). */function editGroupOf(st){return st.groups?.find(g=>!g.readOnly)?.id;}/* ---------------------------------------------------------------- CSS -- */const CSS=`\n.wsg{max-width:880px;margin:0 auto}\n.wsg .wst-btn--link{min-height:30px;padding:0 6px}\n.wsg-tabs{display:flex;gap:4px;margin:0 0 14px;padding:4px;border-radius:14px;background:${T.bg100};width:max-content;max-width:100%}\n.wsg-tab{height:40px;padding:0 16px;border:0;border-radius:10px;background:transparent;color:${T.text700};font-size:15px;cursor:pointer;white-space:nowrap;transition:background-color .15s,color .15s}\n.wsg-tab:hover{color:${T.text}}\n.wsg-tab[aria-selected=\"true\"]{background:${T.white};color:${T.text};box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 1px ${T.border10};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-form{background:${T.white};border:1px solid ${T.border200};border-radius:18px;padding:20px 20px 18px;box-shadow:0 1px 2px rgba(0,0,0,.04),0 2px 8px rgba(0,0,0,.035);transition:box-shadow .2s ${T.ease}}\n.wsg-form:hover,.wsg-form:focus-within{box-shadow:0 1px 3px rgba(0,0,0,.06),0 6px 16px rgba(0,0,0,.08)}\n.wsg-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;min-height:30px}\n.wsg-label{display:block;margin-bottom:8px;font-size:14px;color:${T.text800};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-label-row .wsg-label{margin:0}\n.wsg-label em{font-style:normal;color:${T.text600};font-variation-settings:\"wght\" 450;font-weight:450}\n.wsg-box{position:relative}\n.wsg-text{display:block;width:100%;min-height:92px;max-height:60vh;resize:vertical;border:1px solid ${T.border200};border-radius:12px;background:${T.white};padding:12px 14px;font-size:16px;line-height:1.55;color:${T.text};transition:border-color .15s,box-shadow .15s}\n.wsg-text::placeholder,.wsg-input::placeholder{color:${T.text500}}\n.wst-root .wsg-text:focus-visible,.wst-root .wsg-input:focus-visible,.wst-root .wsg-select select:focus-visible{outline:none;border-color:${T.border300};box-shadow:0 0 0 3px ${T.black5}}\n.wsg-box--drag .wsg-text{border-color:${T.blue};box-shadow:0 0 0 3px ${T.blueSoft}}\n.wsg-drop{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;background:rgba(255,255,255,.94);color:${T.blue};font-size:15px;font-variation-settings:\"wght\" 560;font-weight:560;pointer-events:none}\n.wsg-reading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;background:rgba(255,255,255,.9);color:${T.text700};font-size:14px}\n.wsg-under{display:flex;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px;line-height:1.45;color:${T.text600}}\n.wsg-under--error{color:${T.red}}\n.wsg-count{flex:none;font-variant-numeric:tabular-nums}\n.wsg-count--over{color:${T.red}}\n.wsg-file{display:flex;align-items:flex-start;gap:8px;margin:0 0 8px;padding:8px 6px 8px 12px;border-radius:10px;background:${T.bg100};font-size:13px;line-height:1.45;color:${T.text700}}\n.wsg-file > span{flex:1;min-width:0;padding-top:5px;overflow-wrap:anywhere}\n.wsg-examples{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}\n.wsg-examples-label{font-size:13px;color:${T.text600};margin-right:2px}\n.wsg-example{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:5px 12px;border:1px dashed ${T.border300};border-radius:10px;background:${T.bg50};color:${T.text800};font-size:13px;line-height:1.35;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s}\n.wsg-example:hover{background:${T.bg100};border-color:${T.text500}}\n.wsg-example svg{color:${T.text600}}\n.wsg-field-block{margin-top:16px}\n.wsg-choice{border:0;margin:16px 0 0;padding:0;min-width:0}\n.wsg-choice legend{padding:0;margin-bottom:8px;font-size:14px;color:${T.text800};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-seg{display:inline-flex;flex-wrap:wrap;gap:2px;padding:3px;border-radius:11px;background:${T.bg100};max-width:100%}\n.wsg-seg label{position:relative;display:inline-flex}\n.wsg-seg span{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border-radius:8px;font-size:14px;line-height:1.3;color:${T.text700};cursor:pointer;transition:background-color .15s,color .15s}\n.wsg-seg span:hover{color:${T.text}}\n.wsg-seg input:checked + span{background:${T.white};color:${T.text};box-shadow:0 1px 2px rgba(0,0,0,.08),0 0 0 1px ${T.border10};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-seg input:focus-visible + span{outline:2px solid ${T.text500};outline-offset:1px}\n.wsg-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:18px}\n.wsg-grid--5{grid-template-columns:repeat(3,minmax(0,1fr))}\n.wsg-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}\n.wsg-grid--1{grid-template-columns:minmax(0,260px)}\n.wsg-field{display:block;min-width:0}\n.wsg-field .wsg-label{font-size:13px;margin-bottom:6px;color:${T.text700}}\n.wsg-select{position:relative;display:block}\n.wsg-select select{display:block;width:100%;height:44px;padding:0 34px 0 12px;border:1px solid ${T.border200};border-radius:10px;background:${T.white};font-size:15px;color:${T.text};appearance:none;-webkit-appearance:none;cursor:pointer;text-overflow:ellipsis;transition:border-color .15s,box-shadow .15s}\n.wsg-select select:hover{border-color:${T.border300}}\n.wsg-select svg{position:absolute;right:11px;top:50%;transform:translateY(-50%);pointer-events:none;color:${T.text600}}\n.wsg-extra{margin-top:14px}\n.wsg-input{display:block;width:100%;height:44px;padding:0 12px;border:1px solid ${T.border200};border-radius:10px;background:${T.white};font-size:15px;color:${T.text};transition:border-color .15s,box-shadow .15s}\n.wsg-foot{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:18px}\n.wsg-foot-note{margin-right:auto;font-size:13px;color:${T.text600}}\n.wsg-go{height:44px;padding:0 22px;border-radius:12px;font-size:15px}\n.wsg-saved{margin-top:24px;padding:14px 16px;border-radius:${T.radiusLg}px;background:${T.blueSoft};border:1px solid rgba(43,76,255,.14)}\n.wsg-saved-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}\n.wsg-saved-title{display:flex;align-items:center;gap:8px;font-size:15px;font-variation-settings:\"wght\" 560;font-weight:560;color:${T.text}}\n.wsg-saved-title svg{color:${T.blue};fill:${T.blue}}\n.wsg-saved ul{list-style:none;margin:0;padding:0}\n.wsg-saved li{display:flex;align-items:center;gap:8px;padding:6px 0;border-top:1px solid rgba(43,76,255,.12);font-size:15px;line-height:1.45}\n.wsg-saved li:first-child{border-top:0}\n.wsg-saved li span{flex:1;min-width:0;overflow-wrap:anywhere}\n.wsg-out{margin-top:28px}\n.wsg-out-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px;padding:0 4px 10px}\n.wsg-out-title{display:flex;align-items:baseline;gap:8px;margin:0;font-size:17px;line-height:1.3;color:${T.text};font-variation-settings:\"wght\" 520;font-weight:520}\n.wsg-out-count{font-size:14px;color:${T.text600};font-variation-settings:\"wght\" 450;font-weight:450;font-variant-numeric:tabular-nums}\n.wsg-hist-wrap{position:relative}\n.wsg-hist{right:0;top:calc(100% + 6px);width:min(360px,calc(100vw - 32px));max-height:min(420px,60vh);overflow:auto;padding:6px}\n.wsg-hist ul{list-style:none;margin:0;padding:0}\n.wsg-hist-item{display:block;width:100%;padding:10px 12px;border:0;border-radius:10px;background:transparent;text-align:left;cursor:pointer;color:${T.text}}\n.wsg-hist-item:hover,.wsg-hist-item:focus-visible{background:${T.bg100}}\n.wsg-hist-item[aria-current=\"true\"]{background:${T.blueSoft}}\n.wsg-hist-topic{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.4;font-variation-settings:\"wght\" 520;font-weight:520}\n.wsg-hist-meta{display:block;margin-top:2px;font-size:12px;color:${T.text600}}\n.wsg-hist-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px 4px;margin-top:4px;border-top:1px solid ${T.border200};font-size:12px;color:${T.text600}}\n.wsg-empty{margin:0;padding:22px;border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white};color:${T.text600};font-size:15px}\n.wsg-note{display:flex;align-items:flex-start;gap:8px;margin:0 0 10px;padding:10px 14px;border-radius:12px;background:${T.amberSoft};color:${T.amber};font-size:14px;line-height:1.45}\n.wsg-note svg{margin-top:2px}\n.wsg-list{list-style:none;margin:0;padding:0;border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white};overflow:hidden}\n.wsg-item{display:flex;align-items:flex-start;gap:12px;padding:14px 12px 12px 18px;border-top:1px solid ${T.border200}}\n.wsg-item:first-child{border-top:0}\n.wsg-item--new{animation:wst-drop .3s ${T.ease}}\n.wsg-item.wsg-item--variant{padding-left:34px;background:${T.bg50};position:relative}\n.wsg-item--variant::before{content:\"\";position:absolute;left:18px;top:14px;bottom:14px;width:2px;border-radius:2px;background:${T.border200}}\n.wsg-item-main{flex:1;min-width:0}\n.wsg-item-text{font-size:16px;line-height:1.5;color:${T.text};overflow-wrap:anywhere}\n.wsg-item-meta{display:flex;align-items:center;gap:8px;margin-top:4px;font-size:12px;color:${T.text600};font-variant-numeric:tabular-nums}\n.wsg-long{color:${T.amber}}\n.wsg-actions{display:flex;align-items:center;gap:2px;flex:none;margin-top:-3px}\n.wsg-item--rich{flex-direction:column;gap:8px;padding:16px 16px 12px 18px}\n.wsg-item--rich .wsg-actions{margin:0 0 0 -8px;flex-wrap:wrap;gap:4px}\n.wsg-item--selected{background:${T.blueSoft};box-shadow:inset 3px 0 0 ${T.blue}}\n.wsg-item-labels{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:6px}\n.wsg-kind{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;line-height:1.35;border-radius:11px;background:${T.bg100};color:${T.text700};font-size:12px;font-variation-settings:\"wght\" 540;font-weight:540}\n.wsg-tag{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;line-height:1.35;border-radius:11px;background:${T.amberSoft};color:${T.amber};font-size:12px;font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-chosen{display:inline-flex;align-items:center;min-height:22px;padding:2px 8px;line-height:1.35;border-radius:11px;background:${T.blue};color:#fff;font-size:12px;font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-why-toggle{display:inline-flex;align-items:center;gap:3px;min-height:24px;padding:0 4px;border:0;border-radius:6px;background:transparent;color:${T.text700};font-size:12px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}\n.wsg-why-toggle:hover{color:${T.blue}}\n.wsg-why{margin:6px 0 0;padding:8px 10px;border-radius:8px;background:${T.bg100};font-size:14px;line-height:1.45;color:${T.text700}}\n.wsg-rewrite{margin-top:0}\n.wsg-select-btn{margin-left:auto}\n.wsg-heart[aria-pressed=\"true\"]{color:${T.blue}}\n.wsg-heart[aria-pressed=\"true\"] svg{fill:${T.blue}}\n.wsg-similar{color:${T.text700}}\n.wsg-skel{height:16px;margin:18px 18px;border-radius:8px;background:linear-gradient(90deg,${T.bg100} 0%,${T.bg200} 50%,${T.bg100} 100%);background-size:200% 100%;animation:wsg-shimmer 1.2s linear infinite}\n@keyframes wsg-shimmer{to{background-position:-200% 0}}\n.wsg-card{border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white};overflow:hidden}\n.wsg-card-body{padding:18px 20px}\n.wsg-version-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:6px 10px 6px 20px;border-bottom:1px solid ${T.border200};background:${T.bg50};font-size:13px;color:${T.text600}}\n.wsg-version-nav{display:flex;align-items:center;gap:2px}\n.wsg-prose{font-size:16px;line-height:1.7;color:${T.text};white-space:pre-wrap;overflow-wrap:anywhere}\n.wsg-editor{display:block;min-height:120px;resize:none;overflow:hidden;border:0;border-radius:8px;margin:-4px -8px;padding:4px 8px;width:calc(100% + 16px);background:transparent;font-size:16px;line-height:1.7;color:${T.text};transition:background-color .15s}\n.wsg-editor:hover{background:${T.black3}}\n.wst-root .wsg-editor:focus-visible{outline:2px solid ${T.text500};outline-offset:0;background:${T.bg50}}\n.wsg-caret{display:inline-block;width:2px;height:1.05em;margin-left:2px;vertical-align:-2px;background:${T.blue};animation:wsg-blink 1s steps(1) infinite}\n@keyframes wsg-blink{50%{opacity:0}}\n.wsg-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 10px 20px;border-top:1px solid ${T.border200}}\n.wsg-tools-left{display:flex;flex-wrap:wrap;align-items:center;gap:6px}\n.wsg-words{font-size:13px;color:${T.text600};font-variant-numeric:tabular-nums}\n.wsg-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px;padding:0 2px}\n.wsg-chips-label{font-size:13px;color:${T.text600};margin-right:4px;font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-chip{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px;border:1px solid ${T.border200};border-radius:999px;background:${T.white};color:${T.text800};font-size:13px;cursor:pointer;transition:background-color .15s,border-color .15s}\n.wsg-chip:hover:not([disabled]){background:${T.bg100};border-color:${T.border300}}\n.wsg-chip[disabled]{opacity:.5;cursor:default}\n.wsg-parts-toggle{margin-top:12px}\n.wsg-parts{margin-top:10px;padding:16px 18px;border-radius:${T.radiusLg}px;border:1px solid ${T.border200};background:${T.white}}\n.wsg-parts-text{margin:0;font-size:16px;line-height:2;color:${T.text}}\n.wsg-part{padding:2px 2px;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone}\n.wsg-part--1{background:rgba(43,76,255,.08);border-bottom:2px solid rgba(43,76,255,.45)}\n.wsg-part--2{background:rgba(154,103,0,.08);border-bottom:2px dashed rgba(154,103,0,.55)}\n.wsg-part--3{background:rgba(26,127,55,.08);border-bottom:2px dotted rgba(26,127,55,.6)}\n.wsg-part-tag{display:inline-flex;align-items:center;margin-right:6px;padding:0 7px;border-radius:999px;background:${T.text800};color:#fff;font-size:11px;line-height:18px;vertical-align:2px;font-variation-settings:\"wght\" 600;font-weight:600;white-space:nowrap}\n.wsg-legend{list-style:none;margin:14px 0 0;padding:12px 0 0;border-top:1px solid ${T.border200};display:grid;gap:8px}\n.wsg-legend li{display:flex;align-items:baseline;gap:8px;font-size:14px;line-height:1.45;color:${T.text700}}\n.wsg-parts-note{margin:0 0 10px;font-size:13px;color:${T.text600}}\n.wsg-hooks{margin-top:12px;padding:0 2px}\n.wsg-hook-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:6px}\n.wsg-hook{display:flex;align-items:flex-start;gap:8px;width:100%;padding:10px 12px;border:1px solid ${T.border200};border-radius:${T.radius}px;background:${T.white};color:${T.text800};font-size:14px;line-height:1.4;text-align:left;cursor:pointer;transition:background-color .15s,border-color .15s}\n.wsg-hook:hover:not([disabled]){background:${T.bg100};border-color:${T.border300}}\n.wsg-hook[disabled]{opacity:.5;cursor:default}\n.wsg-hook[aria-pressed=\"true\"]{border-color:${T.border300};background:${T.bg100};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-hook-active{flex:none;display:inline-flex;align-items:center;margin-top:2px;color:${T.text600}}\n.wsg-checks{list-style:none;margin:0 0 18px;padding:0;border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white};overflow:hidden}\n.wsg-check{display:flex;gap:12px;padding:14px 18px;border-top:1px solid ${T.border200};animation:wst-drop .3s ${T.ease}}\n.wsg-check:first-child{border-top:0}\n.wsg-check-icon{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;margin-top:1px}\n.wsg-check--good .wsg-check-icon{background:rgba(26,127,55,.12);color:${T.green}}\n.wsg-check--work .wsg-check-icon{background:${T.amberSoft};color:${T.amber}}\n.wsg-check-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;font-size:15px;font-variation-settings:\"wght\" 560;font-weight:560;color:${T.text}}\n.wsg-check-status{font-size:12px;font-variation-settings:\"wght\" 600;font-weight:600;text-transform:uppercase;letter-spacing:.04em}\n.wsg-check--good .wsg-check-status{color:${T.green}}\n.wsg-check--work .wsg-check-status{color:${T.amber}}\n.wsg-check-text{margin-top:3px;font-size:14px;line-height:1.5;color:${T.text700}}\n.wsg-subhead{margin:0 0 10px;padding:0 4px;font-size:15px;font-variation-settings:\"wght\" 560;font-weight:560;color:${T.text}}\n.wsg-alert{display:flex;align-items:flex-start;gap:10px;margin-top:12px;padding:12px 14px;border-radius:12px;font-size:14px;line-height:1.5;background:${T.redSoft};color:${T.text800}}\n.wsg-alert--amber{background:${T.amberSoft}}\n.wsg-alert > span{flex:1;min-width:0;padding-top:1px}\n.wsg-alert-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}\n.wsg-more{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:14px;padding:0 2px}\n.wsg-next{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px;padding:16px 2px 0;border-top:1px solid ${T.border200}}\n.wsg-next-label{font-size:13px;color:${T.text600};margin-right:4px;font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-next a{display:inline-flex;align-items:center;gap:6px;min-height:34px;padding:4px 14px;border:1px solid ${T.border200};border-radius:999px;background:${T.white};color:${T.text800};font-size:14px;text-decoration:none;transition:background-color .15s,border-color .15s}\n.wsg-next a:hover{background:${T.bg100};border-color:${T.border300}}\n.wsg-next a svg{color:${T.text600}}\n.wst-root .wsg-next a:focus-visible{outline-color:${T.text500}}\n.wsg-aside{margin:0 0 12px;font-size:13px;color:${T.text600}}\n.wsg-aside a{color:${T.blue};text-decoration:none}\n.wsg-aside a:hover{text-decoration:underline}\n.wsg-param-note{display:flex;align-items:center;gap:6px;margin:8px 0 0;font-size:13px;color:${T.green}}\n.wsg-toggle{display:flex;align-items:flex-start;gap:10px;margin-top:14px;cursor:pointer}\n.wsg-toggle input{flex:none;width:18px;height:18px;margin:2px 0 0;accent-color:${T.blue};cursor:pointer}\n.wsg-toggle-label{display:block;font-size:14px;color:${T.text800}}\n.wsg-toggle-hint{display:block;margin-top:2px;font-size:13px;color:${T.text600}}\n.wsg-instr-open{margin-top:12px}\n.wsg-yours{padding:8px;border:1px solid ${T.border200};border-radius:${T.radiusLg}px;background:${T.white}}\n.wsg-yours-title{padding:8px 10px 4px;font-size:15px;color:${T.text};font-variation-settings:\"wght\" 560;font-weight:560}\n.wsg-yours ul{list-style:none;margin:0;padding:0}\n.wsg-yours li{display:flex;align-items:center;gap:4px}\n.wsg-yours li .wsg-hist-item{flex:1;min-width:0}\n.wsg-yours-note{margin:6px 10px 6px;padding-top:10px;border-top:1px solid ${T.border200};font-size:13px;line-height:1.45;color:${T.text600}}\n.wso-group-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px}\n.wso-group-row .wso-group{margin:0}\n.wsg-open{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:20px;padding:16px 2px 0;border-top:1px solid ${T.border200}}\n.wsg-open-text{flex:1 1 300px;min-width:0;margin:0;font-size:13px;line-height:1.45;color:${T.text600}}\n.wsg-open-note{display:flex;align-items:flex-start;gap:6px;flex-basis:100%;margin:0;font-size:13px;line-height:1.45;color:${T.text700}}\n.wsg-open-note svg{flex:none;margin-top:2px}\n.wsg-open-note--error{color:${T.red}}\n.wst-root .wsg-open :focus-visible{outline-color:${T.text500}}\n@media (max-width:760px){.wsg-grid,.wsg-grid--5,.wsg-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}\n@media (max-width:600px){\n  .wsg-form{padding:16px 14px 14px}\n  .wsg-tabs{width:100%}\n  .wsg-tab{flex:1;height:auto;min-height:40px;padding:6px 8px;font-size:14px;white-space:normal;line-height:1.2}\n  .wsg-foot{flex-direction:column;align-items:stretch}\n  .wsg-foot-note{margin:0}\n  .wsg-go{width:100%}\n  .wsg-item{flex-direction:column;gap:6px;padding:14px 12px 10px 16px}\n  .wsg-item.wsg-item--variant{padding-left:30px}\n  .wsg-actions{margin:0 0 0 -8px}\n  .wsg-select-btn{margin-left:8px}\n  .wsg-grid{gap:10px}\n  .wsg-select select{font-size:16px;padding:0 30px 0 10px}\n  .wsg-card-body{padding:16px}\n  .wsg-tools{padding:10px 12px}\n  .wsg-hide-sm{display:none}\n  .wsg-open .wst-btn{width:100%}\n}\n@media (max-width:340px){.wsg-grid,.wsg-grid--5,.wsg-grid--3{grid-template-columns:1fr}}\n`;/* ------------------------------------------------------------- pieces -- */function SelectInput(props){const{field,value,onChange}=props;return /*#__PURE__*/_jsxs(\"label\",{className:\"wsg-field\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-label\",children:field.label}),/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-select\",children:[/*#__PURE__*/_jsx(\"select\",{value:value,onChange:e=>onChange(e.target.value),children:field.options.map(o=>/*#__PURE__*/_jsx(\"option\",{value:o.value,children:o.label},o.value))}),/*#__PURE__*/_jsx(Icons.ChevronDown,{size:16})]})]});}/** A paragraph result: versions, the editable text, tools, refine chips and part labels. */function TextResult(props){const{batch,output,streaming,busy,partsOpen}=props;const version=batch.versions[batch.current];const editorRef=useRef(null);const text=version?streaming?streamingPlain(version.raw):versionText(version):\"\";const words=countWords(text);const parts=typeof output.text?.parts===\"function\"?output.text.parts(batch.options,batch.fields):output.text?.parts;const edited=Boolean(version?.edited&&version.edited!==plainOf(version.raw));const hooks=version?.hooks;const activeHook=version&&!edited?partsOf(version.raw).find(p=>p.part===1)?.text.trim():undefined;// The editor grows with its text instead of scrolling inside the card.\nuseEffect(()=>{const el=editorRef.current;if(!el)return;el.style.height=\"auto\";el.style.height=`${el.scrollHeight+2}px`;},[text,streaming]);if(!version)return null;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-card\",\"aria-busy\":streaming||undefined,children:[batch.versions.length>1?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-version-bar\",children:[/*#__PURE__*/_jsxs(\"span\",{children:[\"Version \",batch.current+1,\" of \",batch.versions.length,version.label?` (${version.label.toLowerCase()})`:\"\"]}),/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-version-nav\",children:[/*#__PURE__*/_jsx(IconButton,{label:\"Previous version\",disabled:busy||batch.current===0,onClick:()=>props.onSelect(batch.current-1),children:/*#__PURE__*/_jsx(Icons.ChevronDown,{size:16,style:{transform:\"rotate(90deg)\"}})}),/*#__PURE__*/_jsx(IconButton,{label:\"Next version\",disabled:busy||batch.current===batch.versions.length-1,onClick:()=>props.onSelect(batch.current+1),children:/*#__PURE__*/_jsx(Icons.ChevronDown,{size:16,style:{transform:\"rotate(-90deg)\"}})})]})]}):null,/*#__PURE__*/_jsx(\"div\",{className:\"wsg-card-body\",children:streaming?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-prose\",children:[text,/*#__PURE__*/_jsx(\"span\",{className:\"wsg-caret\",\"aria-hidden\":true})]}):/*#__PURE__*/_jsx(\"textarea\",{ref:editorRef,className:\"wsg-editor\",value:text,\"aria-label\":`${capitalize(output.noun.one)} (you can edit it)`,onChange:e=>props.onEdit(e.target.value),onBlur:props.onEditDone})}),/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-tools\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-tools-left\",children:[/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Copy,{size:15}),disabled:streaming||!text.trim(),onClick:props.onCopy,children:\"Copy\"}),/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Refresh,{size:15}),loading:props.runningMore,disabled:busy&&!props.runningMore,onClick:props.onMore,children:output.labels.more})]}),/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-words\",children:[words,\" \",words===1?\"word\":\"words\"]})]})]}),output.text?.refine.length?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-chips\",role:\"group\",\"aria-label\":\"Rewrite this version\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-chips-label\",children:\"Rewrite:\"}),output.text.refine.map(r=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-chip\",disabled:busy||!text.trim(),\"aria-busy\":props.runningRefine===r.value||undefined,onClick:()=>props.onRefine(r.value),children:[props.runningRefine===r.value?/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",style:{width:12,height:12},\"aria-hidden\":true}):null,r.label]},r.value))]}):null,hooks?.length&&!streaming?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-hooks\",role:\"group\",\"aria-label\":\"Swap the hook\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-chips-label\",children:\"Swap the hook:\"}),/*#__PURE__*/_jsx(\"ul\",{className:\"wsg-hook-list\",children:hooks.map((h,i)=>{const active=h===activeHook;return /*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-hook\",\"aria-pressed\":active,disabled:busy||edited,title:edited?\"Your own edits are kept as you typed them; swap a hook before editing.\":active?\"Already in your introduction\":undefined,onClick:()=>props.onSwapHook(h),children:[active?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-hook-active\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(Icons.Check,{size:13})}):null,h]})},i);})})]}):null,parts&&output.text?.partsToggle&&!streaming?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-parts-toggle\",children:[/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Sparkle,{size:15}),\"aria-expanded\":partsOpen,onClick:props.onPartsToggle,children:partsOpen?\"Hide the breakdown\":output.text.partsToggle}),partsOpen?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-parts\",children:[edited?/*#__PURE__*/_jsx(\"p\",{className:\"wsg-parts-note\",children:\"These labels describe the version as it was written. Your own edits aren't labeled.\"}):null,/*#__PURE__*/_jsx(\"p\",{className:\"wsg-parts-text\",children:partsOf(version.raw).map((seg,i)=>seg.part>=1&&seg.part<=parts.length?/*#__PURE__*/_jsxs(\"span\",{className:`wsg-part wsg-part--${seg.part}`,children:[/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-part-tag\",children:[seg.part,\" \",parts[seg.part-1].label]}),seg.text.trim(),\" \"]},i):/*#__PURE__*/_jsxs(\"span\",{children:[seg.text,\" \"]},i))}),/*#__PURE__*/_jsx(\"ol\",{className:\"wsg-legend\",children:parts.map((p,i)=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-part-tag\",children:[i+1,\" \",p.label]}),/*#__PURE__*/_jsx(\"span\",{children:p.hint})]},p.label))})]}):null]}):null]});}/* ---------------------------------------------------------- component -- *//**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function ShortTextGenerator(props){const{toolId=\"essay-titles\",resultCount=10,signupUrl=\"https://app.writingstudio.com/sign-up\",apiBaseUrl=\"https://app.writingstudio.com/api/public/generate\",style}=props;const ui=GENERATORS[toolId]??GENERATORS[\"essay-titles\"];// An empty list in Framer means \"use the tool's own next steps\".\nconst nextSteps=props.nextStepLinks?.length?props.nextStepLinks:ui.nextSteps;const outlineType=ui.outlineTypeProp?props.outlineType||\"essay\":\"essay\";const ids={tabs:useId(),input:useId(),hint:useId(),extra:useId(),out:useId(),status:useId(),choice:useId()};const[modeId,setModeId]=useState(()=>ui.modes.some(m=>m.id===props.defaultMode)?props.defaultMode:ui.modes[0].id);const[forms,setForms]=useState(()=>initialForms(ui,props,outlineType));const[shown,setShown]=useState({});const[inputError,setInputError]=useState(null);const[fileNote,setFileNote]=useState(null);const[reading,setReading]=useState(null);const[dragging,setDragging]=useState(null);const[running,setRunning]=useState(null);/** A new batch waiting for its first result; until then the current one stays put. */const[pendingNew,setPendingNew]=useState(false);const[streamingText,setStreamingText]=useState(false);const[freshIds,setFreshIds]=useState(new Set);const[outcome,setOutcome]=useState(null);const[remaining,setRemaining]=useState(null);const[announce,setAnnounce]=useState(\"\");const[historyOpen,setHistoryOpen]=useState(false);const[partsOpen,setPartsOpen]=useState(false);const[whyOpen,setWhyOpen]=useState(new Set);const[rewriteOpen,setRewriteOpen]=useState(null);const[instrOpen,setInstrOpen]=useState({});const[fieldOpen,setFieldOpen]=useState({});const[readHidden,setReadHidden]=useState(false);/** Text a URL parameter put in a box, and the note shown while it is still there. */const[paramNote,setParamNote]=useState(null);/** Which URL parameter names actually prefilled something, for `NextStep.hideIfParamUsed`. */const[usedParams,setUsedParams]=useState(new Set);const[opening,setOpening]=useState(null);const[history,setHistory]=useVersionedStore(`wst-gen-${ui.id}-history`,{v:1,batches:[]},historyFrom);const[saved,setSaved]=useVersionedStore(`wst-gen-${ui.id}-saved`,{v:1,items:[]},savedFrom);const{toasts,show,dismiss,hold}=useToasts();const{until:aiBack,pause:pauseAi}=useAiPause(apiBaseUrl,\"generate\");const inputRef=useRef(null);const fileRef=useRef(null);const uploadTarget=useRef(\"input\");const historyRef=useRef(null);const busyRef=useRef(false);const abortRef=useRef(null);const frameRef=useRef(0);const nudged=useRef(false);const continuing=useRef(false);const dragDepth=useRef(0);const attemptRef=useRef({kind:\"new\",added:0});const edited=useRef(new Set);const instrRef=useRef(null);const mode=ui.modes.find(m=>m.id===modeId)??ui.modes[0];const form=forms[mode.id];const output=outputOf(mode,form.output);const inputUi={...mode.input,...output.input};const ctx={options:form.options,outlineType};const selects=(output.selects?mode.selects.filter(s=>output.selects.includes(s.key)):mode.selects).filter(s=>!s.showWhen||s.showWhen(ctx));const toggles=(mode.toggles??[]).filter(t=>!t.showWhen||t.showWhen(ctx));const batch=shown[mode.id]??null;const batchOutput=batch?outputOf(mode,batch.output):output;const words=useMemo(()=>countWords(form.input),[form.input]);const tooLong=words>inputUi.maxWords;const busy=running!==null;const canGenerate=words>0&&!tooLong&&!busy&&!reading&&aiBack===null;/** What works while the AI is paused for the day, when there's something to work with. */const still=history.batches.length?`Your earlier ${ui.historyNoun} are still here.`:\"\";const items=pendingNew?[]:batch?.items??[];const hasResult=Boolean(batch&&!pendingNew&&(batch.items.length||batch.versions.length||batch.checks.length||batch.sections.length));const savedSet=useMemo(()=>new Set(saved.items.map(s=>s.toLowerCase())),[saved.items]);const setForm=useCallback((modeKey,update)=>setForms(all=>({...all,[modeKey]:update(all[modeKey])})),[]);const setBatch=useCallback((modeKey,b)=>setShown(s=>({...s,[modeKey]:b})),[]);// Other tools link here with ?topic= or ?thesis= so the student carries on where they were, and with\n// the essay type, level and language they had there (each mode takes the ones it offers).\nuseEffect(()=>{try{const q=new URLSearchParams(window.location.search);const mapping=ui.params??[{name:\"topic\",mode:ui.modes[0].id,target:\"input\"}];let opened=null;const used=[];for(const m of mapping){const value=q.get(m.name)?.trim();const mode=ui.modes.find(x=>x.id===m.mode);if(!value||!mode)continue;const text=value.slice(0,2e4);setForm(mode.id,f=>m.target===\"input\"?{...f,input:text}:{...f,fields:{...f.fields,[m.target]:text.slice(0,1e3)}});if(m.note&&m.target===\"input\")setParamNote({mode:mode.id,value:text,note:m.note});if(m.open)opened=mode.id;used.push(m.name);}const carried=CARRIED_OPTIONS.filter(key=>q.get(key)?.trim());if(carried.length){for(const mode of ui.modes)setForm(mode.id,f=>({...f,options:withCarriedOptions(mode,f.options,q,outlineType)}));used.push(...carried);}if(opened)setModeId(opened);if(used.length){setUsedParams(new Set(used));track(ui.id,\"prefill\",{params:used.join(\",\")});}}catch{/* no query string to read */}},[ui,setForm,outlineType]);useEffect(()=>()=>{abortRef.current?.abort();if(frameRef.current)cancelAnimationFrame(frameRef.current);},[]);const closeHistory=useCallback(()=>{setHistoryOpen(false);const active=typeof document!==\"undefined\"?document.activeElement:null;if(!active||active===document.body||active.closest(\".wst-pop\"))historyRef.current?.querySelector(\"button\")?.focus();},[]);useDismiss(historyOpen,closeHistory,[historyRef]);/** Keeps a batch in history, newest first. */const remember=useCallback(b=>{if(!b.items.length&&!b.versions.length&&!b.checks.length&&!b.sections.length)return;const trim=s=>s.slice(0,HISTORY_TEXT_CHARS);const stored={...b,updatedAt:Date.now(),input:trim(b.input),fields:Object.fromEntries(Object.entries(b.fields).map(([k,v])=>[k,trim(v)]))};setHistory(h=>({v:1,batches:[stored,...h.batches.filter(x=>x.id!==b.id)].slice(0,MAX_HISTORY)}));},[setHistory]);/* ---- files ---- */const readFile=useCallback(async(file,target)=>{setReading(target);setInputError(null);const modeKey=mode.id;const previous=target===\"input\"?form.input:form.fields[target]??\"\";const put=text=>setForm(modeKey,f=>target===\"input\"?{...f,input:text}:{...f,fields:{...f.fields,[target]:text}});try{const extracted=await extractFileText(file);put(extracted.text);setFileNote({target,name:extracted.fileName,pages:extracted.pages,removedReferences:extracted.removedReferences});track(ui.id,\"upload\",{type:file.name.toLowerCase().endsWith(\".pdf\")?\"pdf\":\"docx\",words:countWords(extracted.text),target});if(previous.trim())show(\"Replaced your text with the file.\",{label:\"Undo\",run:()=>put(previous)});}catch(e){setInputError(e instanceof FileTextError?e.message:\"We couldn't read that file. Try pasting the text instead.\");track(ui.id,\"error\",{code:\"file\"});}finally{setReading(null);}},[form,mode.id,setForm,show,ui.id]);const dropProps=target=>{const hasFiles=e=>Array.from(e.dataTransfer.types).includes(\"Files\");return{onDragEnter:e=>{if(!hasFiles(e))return;e.preventDefault();dragDepth.current+=1;setDragging(target);},onDragOver:e=>{if(!hasFiles(e))return;e.preventDefault();e.dataTransfer.dropEffect=\"copy\";},onDragLeave:()=>{dragDepth.current=Math.max(0,dragDepth.current-1);if(dragDepth.current===0)setDragging(null);},onDrop:e=>{if(!hasFiles(e))return;e.preventDefault();dragDepth.current=0;setDragging(null);const file=e.dataTransfer.files[0];if(file&&!busy)void readFile(file,target);}};};const pickFile=target=>{uploadTarget.current=target;fileRef.current?.click();};/* ---- generate ---- */const run=useCallback(async(kind,arg={})=>{if(busyRef.current)return;const base=kind===\"new\"?null:batch;if(kind!==\"new\"&&!base)return;const out=kind===\"new\"?output:outputOf(mode,base.output);if(kind===\"new\"){if(!form.input.trim()){setInputError(`${inputUi.label} is empty.`);inputRef.current?.focus();return;}if(tooLong)return;}const current=base?base.versions[base.current]:undefined;// A rewrite of one list item (a thesis) rather than of the paragraph.\nconst itemRefine=kind===\"refine\"&&Boolean(arg.seed);const st=out.shape===\"structured\"?out.structured:undefined;if(kind===\"refine\"&&!itemRefine&&!st&&!versionText(current).trim())return;const editGroup=st?editGroupOf(st):undefined;// Where in the whole result the edited outline's sections sit.\nconst editIndexes=base&&st?base.sections.map((x,i)=>x.group===editGroup?i:-1).filter(i=>i>=0):[];if(st&&kind!==\"new\"&&!editIndexes.length)return;busyRef.current=true;attemptRef.current={kind,seed:arg.seed,refine:arg.refine,section:arg.section,item:arg.item,added:0};// What the server gets: the form for a new result, the batch's own inputs afterwards.\nconst src=base?{input:base.input,fields:base.fields,options:out.shape===\"list\"&&kind===\"more\"?{...base.options,...form.options}:base.options,instructions:base.instructions}:{input:form.input.trim(),fields:Object.fromEntries(Object.entries(form.fields).map(([k,v])=>[k,v.trim()])),options:{...form.options,...ui.outlineTypeProp?{outlineType}:{}},instructions:form.instructions.trim()};// More like this and rewrites of items may run on a sibling tool (check mode's improved theses).\nconst itemTool=out.list?.tool??out.tool;let body={tool:out.tool,input:src.input,fields:src.fields,options:src.options,instructions:src.instructions,mode:kind};if(itemRefine){body={tool:itemTool,input:src.input,fields:src.fields,options:src.options,mode:\"refine\",previous:arg.seed.text,refine:arg.refine};}else if(kind===\"refine\"){// Improve mode reworks the improved version, with the student's essay (if given) as context.\nbody=out.shape===\"feedback\"?{input:src.fields.essay??\"\",fields:{},options:{language:src.options.language},mode:\"refine\"}:{input:src.input,fields:src.fields,options:src.options,mode:\"refine\"};body.tool=out.text?.refineTool??out.tool;body.previous=versionText(current);body.refine=arg.refine;}else if(kind===\"more\"){body.exclude=out.shape===\"list\"?base.items.map(x=>x.text):base.versions.map(v=>versionText(v));}else if(kind===\"similar\"){body.tool=itemTool;body.seed=arg.seed?.text;body.exclude=base.items.map(x=>x.text);}if(st&&kind!==\"new\"){// Reworks send the outline as the student has it now, edits included.\nbody={tool:st.reworkTool,input:src.input,fields:src.fields,options:src.options,instructions:src.instructions,mode:kind,previous:JSON.stringify(forServer(editIndexes.map(i=>base.sections[i]))),...kind===\"refine\"?{refine:arg.refine}:{target:kind===\"section\"?String(arg.section):`${arg.section}.${arg.item}`}};}const countKey=kind===\"new\"?\"new\":kind===\"more\"?\"more\":\"similar\";body.count=itemRefine?1:out.tool===\"essay-titles\"&&kind===\"new\"?Math.max(3,Math.min(15,Math.round(resultCount||out.counts.new))):out.counts[countKey];let target=kind===\"new\"?{id:uid(),at:Date.now(),modeId:mode.id,output:out.value,...src,items:[],versions:[],current:0,checks:[],sections:[]}:{...base};const before=base?.sections??[];const modeKey=mode.id;if(kind===\"new\")setPendingNew(true);const workTarget=kind===\"section\"?String(arg.section):kind===\"expand\"?`${arg.section}.${arg.item}`:undefined;setRunning({kind,seedId:arg.seed?.id,refine:arg.refine,target:workTarget});setOutcome(null);setInputError(null);setFreshIds(new Set);setAnnounce(kind===\"section\"?\"Rewriting the section.\":kind===\"expand\"?\"Adding detail.\":kind===\"refine\"?\"Rewriting.\":`Writing your ${out.shape===\"list\"?out.noun.many:out.noun.one}.`);const event=kind===\"new\"?\"generate\":kind===\"more\"?out.shape===\"list\"?\"generate_more\":\"another_version\":kind===\"similar\"?\"more_like_this\":kind===\"section\"?\"regenerate_section\":kind===\"expand\"?\"expand\":\"refine\";track(ui.id,event,{mode:modeKey,output:out.value,words:countWords(src.input),refine:arg.refine,...src.options});const controller=new AbortController;abortRef.current=controller;let stalled=false;let watchdog=0;const feed=()=>{window.clearTimeout(watchdog);watchdog=window.setTimeout(()=>{stalled=true;controller.abort();},STALL_MS);};feed();let added=0;let finished=false;let versionIndex=-1;let insertAt=-1;if((kind===\"similar\"||itemRefine)&&arg.seed){insertAt=target.items.findIndex(x=>x.id===arg.seed.id)+1;while(insertAt<target.items.length&&target.items[insertAt].variantOf===arg.seed.id)insertAt+=1;}const commit=()=>{setBatch(modeKey,target);setPendingNew(false);};const flushText=()=>{frameRef.current=0;commit();};const refineLabel=itemRefine?out.list?.refine?.find(r=>r.value===arg.refine)?.label:undefined;const addItem=(text,label,note)=>{const item={id:uid(),text,...label?{label}:{},...note?{note}:{},...(kind===\"similar\"||itemRefine)&&arg.seed?{variantOf:arg.seed.id}:{},...refineLabel?{tag:refineLabel}:{}};const list=target.items.slice();if(insertAt>=0){list.splice(insertAt,0,item);insertAt+=1;}else list.push(item);target={...target,items:list};added+=1;commit();setFreshIds(s=>new Set(s).add(item.id));};const addText=v=>{if(versionIndex<0){const label=kind===\"refine\"?out.text?.refine.find(r=>r.value===arg.refine)?.label:kind===\"more\"?\"another version\":undefined;target={...target,versions:[...target.versions,{id:uid(),raw:\"\",label}]};versionIndex=target.versions.length-1;target={...target,current:versionIndex};setStreamingText(true);added+=1;}const versions=target.versions.slice();versions[versionIndex]={...versions[versionIndex],raw:versions[versionIndex].raw+v};target={...target,versions};if(!frameRef.current)frameRef.current=requestAnimationFrame(flushText);};const addHook=v=>{if(versionIndex<0)return;const versions=target.versions.slice();const cur=versions[versionIndex];if((cur.hooks?.length??0)>=3)return;versions[versionIndex]={...cur,hooks:[...cur.hooks??[],v]};target={...target,versions};};let replaced=false;const addSection=(v,group)=>{const fresh=withIds(v,group);if(kind===\"section\"||kind===\"expand\"){// Replace the section in place, keeping its position and identity.\nconst at=editIndexes[arg.section??-1];if(at===undefined||added)return;target={...target,sections:target.sections.map((x,i)=>i===at?{...fresh,id:x.id,...x.group?{group:x.group}:{}}:x)};}else if(kind===\"refine\"){// The rewritten outline replaces the old one as it arrives.\nif(!replaced){replaced=true;target={...target,sections:target.sections.filter(x=>x.group!==editGroup)};}target={...target,sections:[...target.sections,{...fresh,...editGroup?{group:editGroup}:{}}]};}else target={...target,sections:[...target.sections,fresh]};added+=1;commit();setFreshIds(x=>new Set(x).add(fresh.id));};const fail=(o,code)=>{if(st&&kind===\"refine\"&&added){// Half a rewritten outline is worse than the old one: put it back.\ntarget={...target,sections:before};added=0;setBatch(modeKey,target);o={kind:\"error\",message:\"We couldn't finish the rewrite. Your outline is unchanged.\",retry:true};}setOutcome(kind===\"new\"&&!added?{...o,top:true}:o);setAnnounce(o.message);track(ui.id,\"error\",{code,kind,partial:added});};const cut=()=>({kind:\"cut\",message:\"We stopped early. What arrived is ready to use.\",retry:true});try{const response=await fetch(apiBaseUrl,{method:\"POST\",headers:toolHeaders(),body:JSON.stringify(body),signal:controller.signal});if(!response.ok||!response.body){let data={};try{data=await response.json();}catch{/* keep the generic message */}const code=data.code??`http_${response.status}`;if(response.status===400&&data.error&&kind===\"new\"){setInputError(data.error);setAnnounce(data.error);track(ui.id,\"error\",{code,kind});}else if(code===\"daily_limit\"){setRemaining(0);fail({kind:\"limit\",message:data.error??\"You've used today's free generations.\",retry:false},code);}else if(code===\"network_limit\"){// The network's ceiling, not this browser's tries: they still work from another network.\nfail({kind:\"limit\",message:data.error??MESSAGES.failed,retry:true},code);}else if(code===\"paused\"){// Today's AI budget ran out since the page opened: say so here and by the button.\npauseAi();fail({kind:\"limit\",message:pausedLine(nextUtcMidnight(),still),retry:false},code);}else fail({kind:\"error\",message:data.error??MESSAGES.failed,retry:response.status!==400},code);return;}const reader=response.body.getReader();const decoder=new TextDecoder;let pending=\"\";const handle=event=>{if(event.t===\"meta\")setRemaining(event.remaining);else if(event.t===\"note\"){target={...target,note:event.v};if(kind!==\"new\"||added)commit();}else if(event.t===\"item\")addItem(event.v,event.label,event.note);else if(event.t===\"d\")addText(event.v);else if(event.t===\"hook\")addHook(event.v);else if(event.t===\"check\"){target={...target,checks:[...target.checks,{key:event.key,ok:event.ok,v:event.v}]};added+=1;commit();}else if(event.t===\"section\")addSection(event.v,event.group);else if(event.t===\"unusable\")fail({kind:\"unusable\",message:event.message,retry:false},\"unusable\");else if(event.t===\"error\"){finished=true;fail(added?cut():{kind:\"error\",message:event.message||MESSAGES.failed,retry:true},event.code);}else if(event.t===\"done\")finished=true;};for(;;){const{value,done}=await reader.read();if(done)break;feed();pending+=decoder.decode(value,{stream:true});let nl=pending.indexOf(\"\\n\");while(nl>=0){const line=pending.slice(0,nl).trim();pending=pending.slice(nl+1);if(line){try{handle(JSON.parse(line));}catch{/* ignore a malformed line */}}nl=pending.indexOf(\"\\n\");}}if(!finished)fail(added?cut():{kind:\"error\",message:MESSAGES.failed,retry:true},\"eof\");}catch{fail(added?cut():{kind:\"error\",message:stalled?MESSAGES.slow:MESSAGES.network,retry:true},stalled?\"stalled\":\"network\");}finally{window.clearTimeout(watchdog);if(frameRef.current)cancelAnimationFrame(frameRef.current);frameRef.current=0;if(versionIndex>=0){const versions=target.versions.slice();versions[versionIndex]={...versions[versionIndex],raw:versions[versionIndex].raw.trim()};target={...target,versions};}if(added)commit();abortRef.current=null;busyRef.current=false;attemptRef.current.added=added;setRunning(null);setPendingNew(false);setStreamingText(false);if(added){remember(target);if(st){const count=target.sections.filter(x=>x.group===editGroup).length;const work=target.checks.filter(c=>!c.ok).length;if(kind===\"new\")setAnnounce(target.checks.length?`Feedback ready: ${work} of ${target.checks.length} points need work. Suggested outline below, ${count} sections.`:`Outline ready: ${count} sections.`);else{const message=kind===\"section\"?\"Section rewritten.\":kind===\"expand\"?\"Detail added.\":\"Outline rewritten.\";setAnnounce(message);const done=target;show(message,{label:\"Undo\",run:()=>{const back={...done,sections:before};setBatch(modeKey,back);remember(back);setAnnounce(\"Change undone.\");}});}}else if(out.shape===\"list\"||out.shape===\"feedback\"&&out.after===\"list\"&&kind!==\"new\"){const what=added===1?out.noun.one:out.noun.many;setAnnounce(itemRefine?`Rewritten: ${(refineLabel??\"new\").toLowerCase()} version added below.`:kind===\"new\"?`${added} ${what} ready.`:kind===\"more\"?`${added} more ${what} added at the end.`:`${added} ${what} added below the one you chose.`);}else if(out.shape===\"feedback\"&&out.after===\"list\"){const work=target.checks.filter(c=>!c.ok).length;setAnnounce(`Feedback ready: ${work} of ${target.checks.length} points need work. ${target.items.length} improved versions below.`);}else{const n=countWords(versionText(target.versions[target.current]));const work=target.checks.filter(c=>!c.ok).length;setAnnounce(out.shape===\"feedback\"&&kind===\"new\"?`Feedback ready: ${work} of ${target.checks.length} points need work. Improved version below, ${n} words.`:`${capitalize(out.noun.one)} ready, ${n} words.`);}}}},[batch,output,mode,form,inputUi.label,tooLong,resultCount,ui,apiBaseUrl,remember,setBatch,outlineType,show,pauseAi,still]);const retry=()=>{const a=attemptRef.current;// A new batch that stopped partway is topped up rather than replaced.\nif(a.kind===\"new\"&&a.added&&batchOutput.shape===\"list\")void run(\"more\");else void run(a.kind,{seed:a.seed,refine:a.refine,section:a.section,item:a.item});};/* ---- into Writing Studio ---- *//** Sends the start of a paper (EssayHandoff.ts) to Writing Studio, which keeps it for a day while the\n     *  student signs up: where it opens, or why it wasn't kept (`final` when trying again today won't help:\n     *  the day's sends are used up, or it's too long). Only ever on the student's press. */const sendStart=async start=>{const urls=startUrls(apiBaseUrl);try{const response=await fetch(urls.api,{method:\"POST\",headers:toolHeaders(),body:JSON.stringify(start)});const data=await response.json().catch(()=>({}));if(response.ok&&data.id)return{url:urls.open(data.id,start.tool)};track(ui.id,\"error\",{code:data.code??`http_${response.status}`,where:\"continue\"});return{message:data.error??SEND_FAILED,final:data.code===\"daily_limit\"||data.code===\"too_long\"};}catch{track(ui.id,\"error\",{code:\"network\",where:\"continue\"});return{message:SEND_FAILED};}};/** \"Continue in Writing Studio\" on the note after a first copy: the result copied goes to Writing Studio,\n     *  and a new tab opens on it there. Each step shows as a note (the toasts are read out). */const continueInApp=async(start,noun)=>{if(continuing.current)return;continuing.current=true;// Opened on the press, so it isn't blocked; it says it's on its way until the server answers.\nconst tab=waitingTab(\"Opening Writing Studio…\");// Stays up until the server answers, however long that takes.\nconst sending=show(`Sending your ${noun} to Writing Studio...`,undefined,6e4);const sent=await sendStart(start);continuing.current=false;dismiss(sending);if(\"url\"in sent){track(ui.id,\"continue\",{from:\"nudge\",tool:start.tool});if(tab&&!tab.closed){tab.location.href=sent.url;show(`Opened in a new tab. Your ${noun} waits there for a day while you sign up or sign in.`);}else{// If this note goes before it's pressed, the next copy offers Continue again.\nnudged.current=false;show(`Your ${noun} is ready to open in Writing Studio.`,{label:\"Open Writing Studio\",run:()=>{nudged.current=true;window.open(sent.url,\"_blank\",\"noopener\");track(ui.id,\"continue_open\");}});}return;}tab?.close();if(sent.final){// Trying again today won't help, so neither this note nor the next copy offers it.\nshow(sent.message,undefined,8e3);return;}// Not kept: Try again here, or Continue is offered again on the next copy.\nnudged.current=false;show(sent.message,{label:\"Try again\",run:()=>void continueInApp(start,noun)});};/* ---- copy, save, edit ---- *//** After the first copy, the note offers to carry what was copied into a new paper in Writing Studio. */const nudge=(what,start)=>{if(nudged.current||!start){show(what);return;}nudged.current=true;const noun=batchOutput.noun.one;show(`${what} ${ACCOUNT_GIVES.paper}`,{label:\"Continue in Writing Studio\",run:()=>void continueInApp(start,noun)});};/** What the student typed that a paper can start from: the topic (when the box held one) and their thesis. */const carryFrom=b=>({topic:b&&b.modeId===ui.modes[0].id?b.input:\"\",thesis:b?.fields.thesis??\"\"});const copyText=async(text,what,from)=>{const ok=await copyPlain(text);if(!ok)return show(\"Couldn't copy. Select the text and copy it instead.\");track(ui.id,\"copy\",{from});// A saved item may come from an earlier topic, so it goes on its own; a whole list carries nothing.\nnudge(what,from===\"saved_all\"?null:resultStart(ui.id,text,from===\"saved\"?{}:carryFrom(batch)));};const toggleSave=text=>{const key=text.toLowerCase();const isSaved=savedSet.has(key);setSaved(s=>({v:1,items:isSaved?s.items.filter(x=>x.toLowerCase()!==key):[text,...s.items].slice(0,MAX_SAVED)}));track(ui.id,\"save\",{saved:isSaved?0:1});setAnnounce(isSaved?\"Removed from saved.\":\"Saved.\");};/** Marks the result the student carries forward to the next tool. */const selectItem=(item,how)=>{if(!batch||batch.selectedId===item.id)return;const next={...batch,selectedId:item.id};setBatch(mode.id,next);remember(next);track(ui.id,\"thesis_selected\",{how});setAnnounce(`Chosen. The next steps below will use this ${inResults.noun.one}.`);};const editCurrent=text=>{if(!batch)return;const versions=batch.versions.slice();versions[batch.current]={...versions[batch.current],edited:text};setBatch(mode.id,{...batch,versions});};/** Swaps one of the 3 alternative hooks into part 1 of the current version, in place:\n     *  no new version, no history entry. Only the marked text is touched, so it does nothing\n     *  once the student has typed their own edits (there is no marker to find any more). */const swapHook=hook=>{if(!batch)return;const versions=batch.versions.slice();const cur=versions[batch.current];if(cur.edited)return;const raw=withPart1Swapped(cur.raw,hook);if(raw===cur.raw)return;versions[batch.current]={...cur,raw};const next={...batch,versions};setBatch(mode.id,next);remember(next);track(ui.id,\"hook_swapped\");};/* ---- structured results (outlines) ---- *//** The student changed the outline: keep it, and remember structural changes right away. */const editSections=(next,what)=>{const st=batchOutput.structured;if(!batch||!st)return;const group=editGroupOf(st);const updated={...batch,sections:[...batch.sections.filter(x=>x.group!==group),...next]};setBatch(mode.id,updated);if(what!==\"edit\")remember(updated);if(what===\"add\"||what===\"delete\")track(ui.id,what===\"add\"?\"outline_add\":\"outline_delete\");else if(what===\"edit\"&&!edited.current.has(batch.id)){edited.current.add(batch.id);track(ui.id,\"edit\");}};const copyOutline=async formatted=>{const st=batchOutput.structured;if(!batch||!st)return;const sections=batch.sections.filter(x=>x.group===editGroupOf(st));const numbering=form.options[st.numberingOption]??batch.options[st.numberingOption]??\"classic\";const budget=wordBudget(sections,st,batch.options,countWords(batch.input));const text=outlineText(sections,st,numbering,budget);const ok=formatted?await copyRich(outlineHtml(sections,st,numbering,budget),text):await copyPlain(text);if(!ok)return show(\"Couldn't copy. Select the outline and copy it instead.\");track(ui.id,\"copy\",{from:formatted?\"outline_formatted\":\"outline_text\"});show(formatted?\"Outline copied with its formatting. Paste it into Word or Google Docs.\":\"Outline copied.\");};const exportOutline=()=>{const st=batchOutput.structured;if(!batch||!st)return;const sections=batch.sections.filter(x=>x.group===editGroupOf(st));const numbering=form.options[st.numberingOption]??batch.options[st.numberingOption]??\"classic\";const budget=wordBudget(sections,st,batch.options,countWords(batch.input));const topic=batch.modeId===mode.id&&batch.input.length<=140?batch.input.replace(/\\s+/g,\" \").trim():\"\";const title=topic?`Outline: ${topic}`:\"Essay outline\";// A short file name that ends on a whole word.\nconst slug=topic.toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-|-$/g,\"\").slice(0,48).replace(/-[^-]*$/,m=>topic.length>48?\"\":m);try{downloadBlob(buildDocx(outlineDocx(sections,st,budget,title),{lineSpacing:1,font:\"Calibri\",size:11,title,list:outlineList(numbering)}),`${slug?`${slug}-`:\"\"}outline.docx`);track(ui.id,\"export\",{format:\"docx\",sections:sections.length});show(\"Outline downloaded as a Word file.\");}catch{show(\"Couldn't create the file. Copy the outline instead.\");track(ui.id,\"error\",{code:\"export\"});}};/** \"Open in Writing Studio\" under an outline: the outline as it stands goes to Writing Studio, which keeps\n     *  it for a day and opens it after sign-up as a new paper (headings, with the points as section briefs).\n     *  A press for the same outline again opens what was kept rather than sending it twice. */const openOutline=async(start,key)=>{const sent=openingFor(opening,key);if(busy||sent?.status===\"sending\")return;if(sent?.status===\"ready\"&&sent.url){window.open(sent.url,\"_blank\",\"noopener\");setOpening({...sent,opened:true});track(ui.id,\"continue_open\");return;}const tab=waitingTab(\"Opening Writing Studio…\");setOpening({key,status:\"sending\"});setAnnounce(\"Sending your outline to Writing Studio.\");const result=await sendStart(start);if(\"url\"in result){const opened=Boolean(tab&&!tab.closed);if(opened)tab.location.href=result.url;setOpening({key,status:\"ready\",url:result.url,at:Date.now(),opened});setAnnounce(opened?\"Your outline is opening in Writing Studio in a new tab.\":\"Your outline is ready. Press Open in Writing Studio to open it.\");track(ui.id,\"continue\",{from:\"outline\",sections:start.sections?.length??0});return;}tab?.close();setOpening({key,status:\"failed\",message:result.message});setAnnounce(result.message);};const forget=id=>{setHistory(h=>({v:1,batches:h.batches.filter(b=>b.id!==id)}));setAnnounce(\"Removed.\");track(ui.id,\"history_remove\");};const selectVersion=index=>{if(!batch||index<0||index>=batch.versions.length)return;const next={...batch,current:index};setBatch(mode.id,next);remember(next);};const openBatch=b=>{const target=ui.modes.find(m=>m.id===b.modeId)??ui.modes[0];setModeId(target.id);setBatch(target.id,b);setForm(target.id,f=>({...f,input:b.input,fields:{...f.fields,...b.fields},options:{...f.options,...b.options},instructions:b.instructions,output:b.output||f.output}));setOutcome(null);setFreshIds(new Set);setHistoryOpen(false);track(ui.id,\"history_open\");};const switchMode=id=>{if(id===modeId)return;setModeId(id);setOutcome(null);setInputError(null);setFileNote(null);track(ui.id,\"mode_switch\",{mode:id});};const onTabKey=(e,index)=>{if(e.key!==\"ArrowRight\"&&e.key!==\"ArrowLeft\")return;e.preventDefault();const next=ui.modes[(index+(e.key===\"ArrowRight\"?1:ui.modes.length-1))%ui.modes.length];switchMode(next.id);// The tab buttons are always rendered, so focus can move right away.\ndocument.getElementById(`${ids.tabs}-${next.id}`)?.focus();};/* ---- render ---- */const hint=inputError??(tooLong?`That's more than ${inputUi.maxWords.toLocaleString(\"en-US\")} words. Paste the key paragraphs instead.`:inputUi.hint);const essayType=batch?.options.essayType??form.options.essayType;const links=nextSteps.filter(l=>(!l.onlyWhen||l.onlyWhen===essayType)&&!(l.hideIfParamUsed&&usedParams.has(l.hideIfParamUsed)));// Carried to the next tool: the thesis the student typed, a short topic, or else the\n// conclusion's own first part (the thesis in fresh words).\nconst restated=batch?partsOf(batch.versions[batch.current]?.raw??\"\").find(p=>p.part===1)?.text.trim()??\"\":\"\";const selectedItem=batch?.selectedId?batch.items.find(x=>x.id===batch.selectedId):undefined;const outlineUi=batch?outputOf(mode,batch.output).structured:undefined;const outlineSecs=batch&&outlineUi?batch.sections.filter(x=>x.group===editGroupOf(outlineUi)):[];// An outline carries its thesis (or else a short topic) and its main points.\nconst summary=outlineUi?summaryOf(outlineSecs,outlineUi):\"\";const topic=outlineUi?thesisOf(outlineSecs,outlineUi)||(batch.input.length<=CARRY_TOPIC_CHARS?batch.input:\"\"):ui.nextAfterSelect?selectedItem?.text??\"\":batch?batch.fields.thesis||(batch.input.length<=CARRY_TOPIC_CHARS?batch.input:\"\")||(restated.length<=CARRY_TOPIC_CHARS?restated:\"\"):\"\";const showNext=links.length>0&&hasResult&&!busy&&(!ui.nextAfterSelect||Boolean(selectedItem));const pastBatches=history.batches;const inResults=batchOutput;const listUi=inResults.list;/** How history describes a saved result (\"6 sections\", \"3 titles\"). */const historyWhat=b=>{const m=ui.modes.find(x=>x.id===b.modeId)??ui.modes[0];const o=outputOf(m,b.output);if(o.shape===\"structured\"){const st=o.structured;const n=b.sections.filter(x=>x.group===editGroupOf(st)).length;return`${b.checks.length?\"draft feedback, \":\"\"}${n} ${n===1?\"section\":\"sections\"}`;}const n=o.shape===\"list\"?b.items.length:b.versions.length;return o.shape===\"feedback\"?\"feedback\":o.shape===\"list\"?`${n} ${n===1?o.noun.one:o.noun.many}`:n>1?`${o.noun.one}, ${n} versions`:o.noun.one;};const listCount=inResults.shape===\"list\"?items.length:0;const fileBox=target=>fileNote&&fileNote.target===target?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-file\",children:[/*#__PURE__*/_jsx(Icons.File,{size:16,style:{marginTop:5,color:T.text600}}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Read \",/*#__PURE__*/_jsx(\"strong\",{children:fileNote.name}),fileNote.pages?` (${fileNote.pages} ${fileNote.pages===1?\"page\":\"pages\"})`:\"\",\". \",fileNote.removedReferences?\"We left out the reference list. \":\"\",\"Check the text before you generate.\"]}),/*#__PURE__*/_jsx(IconButton,{label:\"Dismiss\",onClick:()=>setFileNote(null),children:/*#__PURE__*/_jsx(Icons.X,{size:15})})]}):null;const uploadButton=(target,label)=>/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Upload,{size:15}),disabled:busy||Boolean(reading),onClick:()=>pickFile(target),\"aria-label\":`Upload a PDF or Word file into ${label}`,children:\"Upload PDF or DOCX\"});const dropOverlay=target=>/*#__PURE__*/_jsxs(_Fragment,{children:[dragging===target?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-drop\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(Icons.Upload,{size:20}),\"Drop your PDF or Word file\"]}):null,reading===target?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-reading\",role:\"status\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",\"aria-hidden\":true}),\"Reading your file...\"]}):null]});const fieldBox=field=>{const id=`${ids.extra}-${field.key}`;const value=form.fields[field.key]??\"\";const openKey=`${mode.id}:${field.key}`;if(field.collapsed&&!fieldOpen[openKey]&&!value){return /*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",className:\"wsg-instr-open\",icon:/*#__PURE__*/_jsx(Icons.Plus,{size:15}),\"aria-expanded\":false,onClick:()=>setFieldOpen(o=>({...o,[openKey]:true})),children:field.collapsed},field.key);}return /*#__PURE__*/_jsxs(\"div\",{className:\"wsg-field-block\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-label-row\",children:[/*#__PURE__*/_jsxs(\"label\",{htmlFor:id,className:\"wsg-label\",children:[field.label,\" \",/*#__PURE__*/_jsx(\"em\",{children:\"(optional)\"})]}),field.upload?uploadButton(field.key,field.label):null]}),fileBox(field.key),/*#__PURE__*/_jsxs(\"div\",{className:cx(\"wsg-box\",dragging===field.key&&\"wsg-box--drag\"),...field.upload?dropProps(field.key):{},children:[/*#__PURE__*/_jsx(\"textarea\",{id:id,className:\"wsg-text\",style:{minHeight:60,height:field.rows*26+26},value:value,maxLength:field.maxChars,placeholder:field.placeholder,\"aria-describedby\":field.hint?`${id}-hint`:undefined,onChange:e=>{const v=e.target.value;setForm(mode.id,f=>({...f,fields:{...f.fields,[field.key]:v}}));}}),field.upload?dropOverlay(field.key):null]}),field.hint?/*#__PURE__*/_jsx(\"div\",{id:`${id}-hint`,className:\"wsg-under\",children:/*#__PURE__*/_jsx(\"span\",{children:field.hint})}):null]},field.key);};const renderList=()=>{const rich=Boolean(listUi&&(listUi.select||listUi.why||listUi.refine?.length));return /*#__PURE__*/_jsxs(\"ol\",{className:\"wsg-list\",\"aria-busy\":busy||undefined,children:[items.map(item=>{const n=countWords(item.text);const long=listUi?n>listUi.longWords:false;const isSaved=savedSet.has(item.text.toLowerCase());const variating=running?.kind===\"similar\"&&running.seedId===item.id;const selected=batch?.selectedId===item.id;const rewriting=running?.kind===\"refine\"&&running.seedId===item.id;return /*#__PURE__*/_jsxs(\"li\",{className:cx(\"wsg-item\",rich&&\"wsg-item--rich\",item.variantOf&&\"wsg-item--variant\",freshIds.has(item.id)&&\"wsg-item--new\",selected&&\"wsg-item--selected\"),children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-item-main\",children:[item.label||item.tag?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-item-labels\",children:[item.tag?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-tag\",children:item.tag}):null,item.label?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-kind\",children:item.label}):null,selected?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-chosen\",children:\"Chosen\"}):null]}):null,/*#__PURE__*/_jsx(\"div\",{className:\"wsg-item-text\",children:item.text}),/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-item-meta\",children:[/*#__PURE__*/_jsxs(\"span\",{children:[n,\" \",n===1?\"word\":\"words\"]}),long&&listUi?/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-long\",title:listUi.longHint,children:[\"Long\",/*#__PURE__*/_jsxs(\"span\",{className:\"wst-sr\",children:[\". \",listUi.longHint]})]}):null,listUi?.why&&item.note?/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-why-toggle\",\"aria-expanded\":whyOpen.has(item.id),onClick:()=>setWhyOpen(open=>{const next=new Set(open);if(next.has(item.id))next.delete(item.id);else{next.add(item.id);track(ui.id,\"why_open\");}return next;}),children:[listUi.why,/*#__PURE__*/_jsx(Icons.ChevronDown,{size:13,style:{transform:whyOpen.has(item.id)?\"rotate(180deg)\":undefined}})]}):null]}),listUi?.why&&item.note&&whyOpen.has(item.id)?/*#__PURE__*/_jsx(\"p\",{className:\"wsg-why\",children:item.note}):null]}),/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-actions\",children:[/*#__PURE__*/_jsx(IconButton,{label:`Copy: ${item.text}`,onClick:()=>{void copyText(item.text,`${capitalize(inResults.noun.one)} copied.`,\"item\");if(listUi?.select)selectItem(item,\"copy\");},children:/*#__PURE__*/_jsx(Icons.Copy,{size:16})}),listUi?.similar?/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",className:\"wsg-similar\",icon:/*#__PURE__*/_jsx(Icons.Refresh,{size:15}),loading:variating,disabled:busy&&!variating,\"aria-label\":`${listUi.similar}: ${item.text}`,onClick:()=>void run(\"similar\",{seed:item}),children:listUi.similar}):null,listUi?.refine?.length?/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",className:\"wsg-similar\",icon:/*#__PURE__*/_jsx(Icons.Pencil,{size:15}),loading:rewriting,disabled:busy&&!rewriting,\"aria-expanded\":rewriteOpen===item.id,\"aria-label\":`Rewrite: ${item.text}`,onClick:()=>setRewriteOpen(o=>o===item.id?null:item.id),children:\"Rewrite\"}):null,listUi?.save?/*#__PURE__*/_jsx(IconButton,{label:isSaved?`Remove from saved: ${item.text}`:`Save: ${item.text}`,className:\"wsg-heart\",\"aria-pressed\":isSaved,onClick:()=>toggleSave(item.text),children:/*#__PURE__*/_jsx(Icons.Heart,{size:17})}):null,listUi?.select?/*#__PURE__*/_jsx(Button,{variant:selected?\"primary\":\"secondary\",size:\"sm\",className:\"wsg-select-btn\",icon:selected?/*#__PURE__*/_jsx(Icons.Check,{size:15}):undefined,\"aria-pressed\":selected,onClick:()=>selectItem(item,\"click\"),children:selected?\"Chosen\":listUi.select}):null]}),listUi?.refine&&rewriteOpen===item.id?/*#__PURE__*/_jsx(\"div\",{className:\"wsg-chips wsg-rewrite\",role:\"group\",\"aria-label\":\"Rewrite this one\",children:listUi.refine.map(r=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-chip\",disabled:busy,\"aria-busy\":rewriting&&running?.refine===r.value||undefined,onClick:()=>void run(\"refine\",{seed:item,refine:r.value}),children:[rewriting&&running?.refine===r.value?/*#__PURE__*/_jsx(\"span\",{className:\"wst-spin\",style:{width:12,height:12},\"aria-hidden\":true}):null,r.label]},r.value))}):null]},item.id);}),running&&(running.kind===\"new\"||running.kind===\"more\")?/*#__PURE__*/_jsx(\"li\",{\"aria-hidden\":true,style:{listStyle:\"none\"},children:/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"72%\"}})}):null]});};const renderText=()=>batch?/*#__PURE__*/_jsx(TextResult,{batch:batch,output:inResults,streaming:streamingText,busy:busy,runningRefine:running?.kind===\"refine\"?running.refine??null:null,runningMore:running?.kind===\"more\",partsOpen:partsOpen,onPartsToggle:()=>{if(!partsOpen)track(ui.id,\"how_it_works_open\");setPartsOpen(o=>!o);},onEdit:editCurrent,onEditDone:()=>{if(batch)remember(batch);},onSelect:selectVersion,onCopy:()=>void copyText(versionText(batch.versions[batch.current]),`${capitalize(inResults.noun.one)} copied.`,inResults.shape),onMore:()=>void run(\"more\"),onRefine:kind=>void run(\"refine\",{refine:kind}),onSwapHook:swapHook}):null;const checkList=()=>{if(!batch||!inResults.checks||!batch.checks.length)return null;const labels=Object.fromEntries(inResults.checks.map(c=>[c.key,c.label]));return /*#__PURE__*/_jsx(\"ul\",{className:\"wsg-checks\",children:batch.checks.map(c=>/*#__PURE__*/_jsxs(\"li\",{className:cx(\"wsg-check\",c.ok?\"wsg-check--good\":\"wsg-check--work\"),children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-check-icon\",\"aria-hidden\":true,children:c.ok?/*#__PURE__*/_jsx(Icons.Check,{size:15}):/*#__PURE__*/_jsx(Icons.Alert,{size:15})}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-check-head\",children:[/*#__PURE__*/_jsx(\"span\",{children:labels[c.key]??c.key}),/*#__PURE__*/_jsx(\"span\",{className:\"wsg-check-status\",children:c.ok?\"Good\":\"Needs work\"})]}),/*#__PURE__*/_jsx(\"div\",{className:\"wsg-check-text\",children:c.v})]})]},c.key))});};const renderChecks=()=>{if(!batch||!inResults.checks)return null;return /*#__PURE__*/_jsxs(_Fragment,{children:[checkList(),batch.versions.length?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"wsg-subhead\",children:\"Improved version\"}),renderText()]}):batch.items.length?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{className:\"wsg-subhead\",children:\"Improved versions\"}),renderList()]}):running?.kind===\"new\"?/*#__PURE__*/_jsx(\"div\",{className:\"wsg-list\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"70%\"}})}):null]});};const renderStructured=()=>{const st=inResults.structured;if(!batch||!st)return null;const editGroup=editGroupOf(st);const numbering=form.options[st.numberingOption]??batch.options[st.numberingOption]??\"classic\";const editable=batch.sections.filter(x=>x.group===editGroup);const budget=wordBudget(editable,st,batch.options,countWords(batch.input));const total=Array.from(budget.values()).reduce((a,n)=>a+n,0);const streamingNew=running?.kind===\"new\"||running?.kind===\"refine\";const working=running?.kind===\"section\"||running?.kind===\"expand\"?running.target??null:null;const common={ui:st,numbering,busy,canAsk:remaining!==0,working,freshIds,onChange:editSections,onCommit:()=>remember(batch),onReorder:()=>track(ui.id,\"reorder\"),onRegenerate:i=>void run(\"section\",{section:i}),onExpand:(i,j)=>void run(\"expand\",{section:i,item:j}),announce:setAnnounce};const readGroups=(st.groups??[]).filter(g=>g.readOnly);const editLabel=st.groups?.find(g=>g.id===editGroup)?.label;// What Open in Writing Studio would send: the outline as it stands, with the topic the student typed.\nconst start=editable.length&&!streamingNew?outlineStart(editable,st,carryFrom(batch).topic):null;const startKey=start?JSON.stringify(start):\"\";const sent=openingFor(opening,startKey);return /*#__PURE__*/_jsxs(_Fragment,{children:[readGroups.map(g=>{const secs=batch.sections.filter(x=>x.group===g.id);if(!secs.length)return null;const canHide=!running&&editable.length>0;const hidden=readHidden&&canHide;return /*#__PURE__*/_jsxs(\"div\",{style:{marginBottom:18},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wso-group-row\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"wso-group\",children:g.label}),canHide?/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",\"aria-expanded\":!hidden,onClick:()=>setReadHidden(h=>!h),children:hidden?`Show (${secs.length} paragraphs)`:\"Hide\"}):null]}),hidden?null:/*#__PURE__*/_jsx(\"div\",{className:\"wso-card\",children:/*#__PURE__*/_jsx(OutlineEditor,{...common,sections:secs,readOnly:true,budget:new Map,streaming:running?.kind===\"new\"&&!batch.checks.length})})]},g.id);}),checkList(),editable.length?/*#__PURE__*/_jsxs(_Fragment,{children:[editLabel?/*#__PURE__*/_jsx(\"div\",{className:\"wso-group\",children:editLabel}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"wso-card\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wso-bar\",children:[/*#__PURE__*/_jsxs(\"span\",{children:[editable.length,\" sections\",total?`, about ${total.toLocaleString(\"en-US\")} words`:\"\"]}),/*#__PURE__*/_jsxs(\"span\",{className:\"wso-bar-tools\",children:[/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Copy,{size:15}),disabled:streamingNew,onClick:()=>void copyOutline(false),children:\"Copy\"}),/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.File,{size:15}),disabled:streamingNew,onClick:()=>void copyOutline(true),children:\"Copy for Word or Docs\"}),/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Download,{size:15}),disabled:streamingNew,onClick:exportOutline,children:\"Export .docx\"})]})]}),/*#__PURE__*/_jsx(OutlineEditor,{...common,sections:editable,budget:budget,streaming:streamingNew,sectionHref:(section,link)=>{if(link.hideWhen&&link.hideWhen===batch.options.essayType)return null;const q=new URLSearchParams;if(link.text){// The section's own claims, for the citation finder's box.\nconst text=sectionSentences(section,link.text.kinds,link.text.maxWords);if(!text)return null;q.set(\"text\",text);}else{const thesis=thesisOf(editable,st);const point=summaryOf([section],st);if(point)q.set(\"topic\",point.slice(0,CARRY_TOPIC_CHARS));if(thesis&&thesis.length<=CARRY_TOPIC_CHARS)q.set(\"thesis\",thesis);for(const[key,value]of Object.entries(carriedOptions(batch.options)))q.set(key,value);}return`${link.url}?${q.toString()}`;},onLink:label=>track(ui.id,\"next_step_click\",{label,from:\"section\"})})]}),st.refine.length&&!streamingNew?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-chips\",role:\"group\",\"aria-label\":\"Refine the whole outline\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-chips-label\",children:\"Refine:\"}),st.refine.map(r=>/*#__PURE__*/_jsx(\"button\",{type:\"button\",className:\"wsg-chip\",disabled:busy||remaining===0,\"aria-busy\":running?.kind===\"refine\"&&running.refine===r.value||undefined,onClick:()=>void run(\"refine\",{refine:r.value}),children:r.label},r.value))]}):null,start?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-open\",\"aria-busy\":sent?.status===\"sending\"||undefined,children:[/*#__PURE__*/_jsx(\"p\",{className:\"wsg-open-text\",children:\"Opens a new paper in Writing Studio: your thesis as its brief, each section as a heading, and the section’s points as that heading’s brief. Nothing is written for you. We keep your outline only if you press Open in Writing Studio, and then for a day while you sign up.\"}),/*#__PURE__*/_jsx(Button,{loading:sent?.status===\"sending\",keepFocus:true,disabled:busy&&sent?.status!==\"sending\",onClick:()=>void openOutline(start,startKey),children:sent?.status===\"sending\"?\"Sending...\":/*#__PURE__*/_jsxs(_Fragment,{children:[\"Open in Writing Studio \",/*#__PURE__*/_jsx(Icons.Arrow,{size:16})]})}),sent?.status===\"ready\"?/*#__PURE__*/_jsxs(\"p\",{className:\"wsg-open-note\",children:[/*#__PURE__*/_jsx(Icons.Check,{size:14}),sent.opened?\"Opened in a new tab. Your outline waits there for a day while you sign up or sign in.\":\"Your outline is ready. Press Open in Writing Studio to open it.\"]}):sent?.status===\"failed\"?/*#__PURE__*/_jsxs(\"p\",{className:\"wsg-open-note wsg-open-note--error\",children:[/*#__PURE__*/_jsx(Icons.Alert,{size:14}),sent.message]}):null]}):null]}):running?.kind===\"new\"&&batch.checks.length?/*#__PURE__*/_jsx(\"div\",{className:\"wsg-list\",\"aria-hidden\":true,children:/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"70%\"}})}):null]});};const alertBox=outcome?/*#__PURE__*/_jsxs(\"div\",{className:cx(\"wsg-alert\",outcome.kind!==\"error\"&&\"wsg-alert--amber\"),role:\"alert\",children:[/*#__PURE__*/_jsx(Icons.Alert,{size:18,style:{marginTop:1,color:outcome.kind===\"error\"?T.red:T.amber}}),/*#__PURE__*/_jsxs(\"span\",{children:[outcome.message,outcome.kind===\"limit\"?` ${ACCOUNT_GIVES.paper}`:null,outcome.retry||outcome.kind===\"limit\"?/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-alert-actions\",children:[outcome.retry?/*#__PURE__*/_jsx(Button,{variant:\"secondary\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.Refresh,{size:15}),disabled:busy,onClick:retry,children:\"Try again\"}):null,outcome.kind===\"limit\"?/*#__PURE__*/_jsx(Button,{size:\"sm\",onClick:()=>{track(ui.id,\"signup_click\",{from:\"limit\"});window.open(signupUrl,\"_blank\",\"noopener\");},children:\"Create a free account\"}):null]}):null]})]}):null;return /*#__PURE__*/_jsxs(\"div\",{className:\"wst-root wsg\",style:{...style,position:\"relative\"},children:[/*#__PURE__*/_jsx(ToolStyles,{css:CSS+OUTLINE_CSS}),/*#__PURE__*/_jsx(\"input\",{ref:fileRef,type:\"file\",accept:FILE_ACCEPT,hidden:true,onChange:e=>{const file=e.target.files?.[0];e.target.value=\"\";if(file)void readFile(file,uploadTarget.current);}}),ui.modes.length>1?/*#__PURE__*/_jsx(\"div\",{className:\"wsg-tabs\",role:\"tablist\",\"aria-label\":\"What do you want to do?\",children:ui.modes.map((m,i)=>/*#__PURE__*/_jsx(\"button\",{id:`${ids.tabs}-${m.id}`,type:\"button\",role:\"tab\",className:\"wsg-tab\",\"aria-selected\":m.id===mode.id,\"aria-controls\":`${ids.tabs}-panel`,tabIndex:m.id===mode.id?0:-1,disabled:busy&&m.id!==mode.id,onClick:()=>switchMode(m.id),onKeyDown:e=>onTabKey(e,i),children:m.label},m.id))}):null,/*#__PURE__*/_jsxs(\"div\",{id:`${ids.tabs}-panel`,role:ui.modes.length>1?\"tabpanel\":undefined,\"aria-labelledby\":ui.modes.length>1?`${ids.tabs}-${mode.id}`:undefined,children:[/*#__PURE__*/_jsxs(\"form\",{className:\"wsg-form\",onSubmit:e=>{e.preventDefault();void run(\"new\");},children:[mode.aside&&!(paramNote&&paramNote.mode===mode.id&&form.input===paramNote.value)?/*#__PURE__*/_jsxs(\"p\",{className:\"wsg-aside\",children:[mode.aside.text,\" \",/*#__PURE__*/_jsx(\"a\",{href:mode.aside.url,onClick:()=>track(ui.id,\"next_step_click\",{label:mode.aside.label,from:\"aside\"}),children:mode.aside.label})]}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-label-row\",children:[/*#__PURE__*/_jsx(\"label\",{htmlFor:ids.input,className:\"wsg-label\",children:inputUi.label}),inputUi.upload?uploadButton(\"input\",inputUi.label):null]}),fileBox(\"input\"),/*#__PURE__*/_jsxs(\"div\",{className:cx(\"wsg-box\",dragging===\"input\"&&\"wsg-box--drag\"),...inputUi.upload?dropProps(\"input\"):{},children:[/*#__PURE__*/_jsx(\"textarea\",{id:ids.input,ref:inputRef,className:\"wsg-text\",style:{height:(inputUi.rows??4)*26+28},value:form.input,placeholder:inputUi.placeholder,\"aria-describedby\":ids.hint,\"aria-invalid\":Boolean(inputError)||tooLong||undefined,onChange:e=>{const value=e.target.value;setForm(mode.id,f=>({...f,input:value}));if(inputError)setInputError(null);},onKeyDown:e=>{if(e.key===\"Enter\"&&(e.metaKey||e.ctrlKey)){e.preventDefault();void run(\"new\");}}}),inputUi.upload?dropOverlay(\"input\"):null]}),/*#__PURE__*/_jsxs(\"div\",{id:ids.hint,className:cx(\"wsg-under\",(inputError||tooLong)&&\"wsg-under--error\"),children:[/*#__PURE__*/_jsx(\"span\",{children:hint}),words>0||inputUi.showMax?/*#__PURE__*/_jsxs(\"span\",{className:cx(\"wsg-count\",tooLong&&\"wsg-count--over\"),\"aria-hidden\":true,children:[words.toLocaleString(\"en-US\"),inputUi.showMax?` / ${inputUi.maxWords.toLocaleString(\"en-US\")} words`:words===1?\" word\":\" words\"]}):null]}),paramNote&&paramNote.mode===mode.id&&form.input===paramNote.value?/*#__PURE__*/_jsxs(\"p\",{className:\"wsg-param-note\",children:[/*#__PURE__*/_jsx(Icons.Check,{size:15}),paramNote.note]}):null,mode.examples&&output.showExamples!==false?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-examples\",role:\"group\",\"aria-label\":\"Try an example\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-examples-label\",children:\"Try an example:\"}),mode.examples.map(ex=>/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-example\",disabled:busy,onClick:()=>{const previous=form;setForm(mode.id,f=>({...f,input:ex.input,// An example replaces every box, so a card never mixes with earlier text.\n        fields:{...Object.fromEntries(Object.keys(f.fields).map(k=>[k,\"\"])),...ex.fields??{}},options:{...f.options,...ex.options??{}}}));setInputError(null);setFileNote(null);track(ui.id,\"example\",{label:ex.label});if(previous.input.trim())show(\"Example added.\",{label:\"Undo\",run:()=>setForm(mode.id,()=>previous)});inputRef.current?.focus();},children:[/*#__PURE__*/_jsx(Icons.Sparkle,{size:14}),ex.label]},ex.label))]}):null,mode.outputs.length>1?/*#__PURE__*/_jsxs(\"fieldset\",{className:\"wsg-choice\",children:[/*#__PURE__*/_jsx(\"legend\",{children:mode.outputLabel??\"What do you need?\"}),/*#__PURE__*/_jsx(\"div\",{className:\"wsg-seg\",children:mode.outputs.map(o=>/*#__PURE__*/_jsxs(\"label\",{children:[/*#__PURE__*/_jsx(\"input\",{type:\"radio\",className:\"wst-sr\",name:`${ids.choice}-${mode.id}`,checked:form.output===o.value,onChange:()=>{setForm(mode.id,f=>({...f,output:o.value}));track(ui.id,\"output_switch\",{output:o.value});}}),/*#__PURE__*/_jsx(\"span\",{children:o.label})]},o.value))})]}):null,mode.fields.map(fieldBox),selects.length?/*#__PURE__*/_jsx(\"div\",{className:cx(\"wsg-grid\",(selects.length===5||selects.length===6)&&\"wsg-grid--5\",selects.length===3&&\"wsg-grid--3\",selects.length===1&&\"wsg-grid--1\"),children:selects.map(field=>/*#__PURE__*/_jsx(SelectInput,{field:field,value:form.options[field.key],onChange:v=>setForm(mode.id,f=>({...f,options:{...f.options,[field.key]:v}}))},field.key))}):null,toggles.map(t=>{const value=form.options[t.key]??\"auto\";const on=value===\"auto\"?t.defaultOn(form.options,form.fields):value===\"on\";return /*#__PURE__*/_jsxs(\"label\",{className:\"wsg-toggle\",children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:on,onChange:e=>{const checked=e.target.checked;setForm(mode.id,f=>({...f,options:{...f.options,[t.key]:checked?\"on\":\"off\"}}));}}),/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-toggle-label\",children:t.label}),t.hint?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-toggle-hint\",children:t.hint}):null]})]},t.key);}),mode.instructions?.collapsed&&!instrOpen[mode.id]&&!form.instructions?/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",className:\"wsg-instr-open\",icon:/*#__PURE__*/_jsx(Icons.Plus,{size:15}),\"aria-expanded\":false,onClick:()=>{setInstrOpen(o=>({...o,[mode.id]:true}));track(ui.id,\"instructions_open\");window.setTimeout(()=>instrRef.current?.focus(),0);},children:mode.instructions.collapsed}):mode.instructions?.rows?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-field-block\",children:[/*#__PURE__*/_jsxs(\"label\",{htmlFor:`${ids.extra}-instr`,className:\"wsg-label\",children:[mode.instructions.label,\" \",/*#__PURE__*/_jsx(\"em\",{children:\"(optional)\"})]}),/*#__PURE__*/_jsx(\"textarea\",{id:`${ids.extra}-instr`,ref:instrRef,className:\"wsg-text\",style:{minHeight:60,height:mode.instructions.rows*26+26},value:form.instructions,maxLength:mode.instructions.max,placeholder:mode.instructions.placeholder,\"aria-describedby\":mode.instructions.hint?`${ids.extra}-instr-hint`:undefined,onChange:e=>{const value=e.target.value;setForm(mode.id,f=>({...f,instructions:value}));}}),mode.instructions.hint?/*#__PURE__*/_jsx(\"div\",{id:`${ids.extra}-instr-hint`,className:\"wsg-under\",children:/*#__PURE__*/_jsx(\"span\",{children:mode.instructions.hint})}):null]}):mode.instructions?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-extra\",children:[/*#__PURE__*/_jsxs(\"label\",{htmlFor:`${ids.extra}-instr`,className:\"wsg-label\",style:{fontSize:13,marginBottom:6,color:T.text700},children:[mode.instructions.label,\" \",/*#__PURE__*/_jsx(\"em\",{children:\"(optional)\"})]}),/*#__PURE__*/_jsx(\"input\",{id:`${ids.extra}-instr`,className:\"wsg-input\",value:form.instructions,maxLength:mode.instructions.max,placeholder:mode.instructions.placeholder,onChange:e=>{const value=e.target.value;setForm(mode.id,f=>({...f,instructions:value}));}})]}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-foot\",children:[aiBack!==null?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-foot-note\",id:`${ids.hint}-paused`,children:pausedLine(aiBack,still)}):remaining!==null&&remaining<=5&&outcome?.kind!==\"limit\"?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-foot-note\",children:remaining===0?\"That was your last free generation today.\":`${remaining} free ${remaining===1?\"generation\":\"generations\"} left today.`}):null,/*#__PURE__*/_jsx(Button,{type:\"submit\",className:\"wsg-go\",icon:/*#__PURE__*/_jsx(Icons.Sparkle,{size:17}),loading:running?.kind===\"new\",disabled:!canGenerate&&running?.kind!==\"new\",\"aria-describedby\":aiBack!==null?`${ids.hint}-paused`:undefined,children:running?.kind===\"new\"?output.labels.generating:output.labels.generate})]})]}),listUi?.save&&saved.items.length?/*#__PURE__*/_jsxs(\"section\",{className:\"wsg-saved\",\"aria-label\":`Saved ${inResults.noun.many}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-saved-head\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-saved-title\",children:[/*#__PURE__*/_jsx(Icons.Heart,{size:16}),\"Saved \",inResults.noun.many,\" (\",saved.items.length,\")\"]}),/*#__PURE__*/_jsx(Button,{variant:\"link\",onClick:()=>void copyText(saved.items.join(\"\\n\"),`Saved ${inResults.noun.many} copied.`,\"saved_all\"),children:\"Copy all\"})]}),/*#__PURE__*/_jsx(\"ul\",{children:saved.items.map(text=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"span\",{children:text}),/*#__PURE__*/_jsx(IconButton,{label:`Copy: ${text}`,onClick:()=>void copyText(text,`${capitalize(inResults.noun.one)} copied.`,\"saved\"),children:/*#__PURE__*/_jsx(Icons.Copy,{size:15})}),/*#__PURE__*/_jsx(IconButton,{label:`Remove from saved: ${text}`,onClick:()=>toggleSave(text),children:/*#__PURE__*/_jsx(Icons.X,{size:15})})]},text))})]}):null,/*#__PURE__*/_jsxs(\"section\",{className:\"wsg-out\",\"aria-labelledby\":ids.out,children:[/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-out-head\",children:[/*#__PURE__*/_jsxs(\"div\",{id:ids.out,className:\"wsg-out-title\",children:[(pendingNew||!batch?output:inResults).labels.results,listCount?/*#__PURE__*/_jsx(\"span\",{className:\"wsg-out-count\",children:listCount}):null]}),pastBatches.length?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-hist-wrap\",ref:historyRef,children:[/*#__PURE__*/_jsx(Button,{variant:\"ghost\",size:\"sm\",icon:/*#__PURE__*/_jsx(Icons.History,{size:16}),\"aria-haspopup\":\"true\",\"aria-expanded\":historyOpen,disabled:busy,onClick:()=>setHistoryOpen(o=>!o),children:ui.historyList?.title??\"History\"}),historyOpen?/*#__PURE__*/_jsxs(\"div\",{className:\"wst-pop wsg-hist\",children:[/*#__PURE__*/_jsx(\"ul\",{children:pastBatches.map(b=>{const m=ui.modes.find(x=>x.id===b.modeId)??ui.modes[0];const o=outputOf(m,b.output);const what=historyWhat(b);return /*#__PURE__*/_jsx(\"li\",{children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-hist-item\",\"aria-current\":b.id===batch?.id||undefined,onClick:()=>openBatch(b),children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-hist-topic\",children:b.input.slice(0,160)}),/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-hist-meta\",children:[capitalize(what),\", \",timeLabel(b.updatedAt??b.at)]})]})},b.id);})}),/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-hist-foot\",children:[/*#__PURE__*/_jsx(\"span\",{children:\"Saved in this browser.\"}),/*#__PURE__*/_jsx(Button,{variant:\"link\",onClick:()=>{setHistory(()=>({v:1,batches:[]}));setHistoryOpen(false);},children:\"Clear history\"})]})]}):null]}):null]}),outcome?.top?alertBox:null,batch?.note&&!pendingNew?/*#__PURE__*/_jsxs(\"p\",{className:\"wsg-note\",children:[/*#__PURE__*/_jsx(Icons.Alert,{size:16}),/*#__PURE__*/_jsx(\"span\",{children:batch.note})]}):null,hasResult?inResults.shape===\"list\"?renderList():inResults.shape===\"structured\"?renderStructured():inResults.shape===\"feedback\"?renderChecks():renderText():running?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-list\",\"aria-hidden\":true,children:[/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"78%\"}}),/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"64%\"}}),/*#__PURE__*/_jsx(\"div\",{className:\"wsg-skel\",style:{width:\"71%\"}})]}):!outcome&&ui.historyList&&pastBatches.length&&!batch?/*#__PURE__*/_jsxs(\"div\",{className:\"wsg-yours\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"wsg-yours-title\",children:ui.historyList.title}),/*#__PURE__*/_jsx(\"ul\",{children:pastBatches.map(b=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",className:\"wsg-hist-item\",onClick:()=>openBatch(b),children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-hist-topic\",children:b.input.slice(0,160)}),/*#__PURE__*/_jsxs(\"span\",{className:\"wsg-hist-meta\",children:[capitalize(historyWhat(b)),\", \",b.updatedAt&&b.updatedAt-b.at>6e4?\"edited \":\"\",timeLabel(b.updatedAt??b.at)]})]}),/*#__PURE__*/_jsx(IconButton,{label:`Remove: ${b.input.slice(0,60)}`,onClick:()=>forget(b.id),children:/*#__PURE__*/_jsx(Icons.X,{size:15})})]},b.id))}),/*#__PURE__*/_jsx(\"p\",{className:\"wsg-yours-note\",children:ui.historyList.note})]}):!outcome?/*#__PURE__*/_jsx(\"p\",{className:\"wsg-empty\",children:output.labels.empty}):null,outcome&&!outcome.top?alertBox:null,hasResult&&inResults.shape===\"list\"&&!busy?/*#__PURE__*/_jsx(\"div\",{className:\"wsg-more\",children:/*#__PURE__*/_jsx(Button,{variant:\"secondary\",icon:/*#__PURE__*/_jsx(Icons.Plus,{size:16}),disabled:remaining===0,onClick:()=>void run(\"more\"),children:inResults.labels.more})}):null,showNext?/*#__PURE__*/_jsxs(\"nav\",{className:\"wsg-next\",\"aria-label\":\"Next step\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"wsg-next-label\",children:\"Next step\"}),links.map(link=>/*#__PURE__*/_jsxs(\"a\",{href:nextStepUrl(link,topic,summary,batch?.options),onClick:()=>track(ui.id,\"next_step_click\",{label:link.label}),children:[link.label,/*#__PURE__*/_jsx(Icons.Arrow,{size:15})]},`${link.label}${link.url}`))]}):null]})]}),/*#__PURE__*/_jsx(\"div\",{id:ids.status,className:\"wst-sr\",\"aria-live\":\"polite\",children:announce}),/*#__PURE__*/_jsx(ToastViewport,{toasts:toasts,dismiss:dismiss,hold:hold})]});}/* ------------------------------------------------ property controls -- */const TITLES_UI=GENERATORS[\"essay-titles\"].modes[0];const choicesOf=key=>TITLES_UI.selects.find(s=>s.key===key);const uiFor=toolId=>GENERATORS[toolId??\"essay-titles\"]??GENERATORS[\"essay-titles\"];const hasSelect=(toolId,key)=>uiFor(toolId).modes.some(m=>m.selects.some(s=>s.key===key));const ALL_MODES=Array.from(new Set(GENERATOR_IDS.flatMap(id=>GENERATORS[id].modes.map(m=>m.id))));const ALL_OUTPUTS=Array.from(new Set(GENERATOR_IDS.flatMap(id=>GENERATORS[id].modes.flatMap(m=>m.outputs.length>1?m.outputs.map(o=>o.value):[]))));const labelOfMode=id=>GENERATOR_IDS.map(t=>GENERATORS[t].modes.find(m=>m.id===id)?.label).find(Boolean)??id;const labelOfOutput=v=>GENERATOR_IDS.flatMap(t=>GENERATORS[t].modes.flatMap(m=>m.outputs)).find(o=>o.value===v)?.label??v;addPropertyControls(ShortTextGenerator,{toolId:{type:ControlType.Enum,title:\"Tool\",defaultValue:\"essay-titles\",options:GENERATOR_IDS,optionTitles:GENERATOR_IDS.map(id=>capitalize(GENERATORS[id].historyNoun))},defaultMode:{type:ControlType.Enum,title:\"Start on\",defaultValue:ALL_MODES[0],options:ALL_MODES,optionTitles:ALL_MODES.map(labelOfMode),hidden:p=>uiFor(p.toolId).modes.length<2},defaultOutputType:{type:ControlType.Enum,title:\"Output\",defaultValue:ALL_OUTPUTS[0]??\"default\",options:ALL_OUTPUTS.length?ALL_OUTPUTS:[\"default\"],optionTitles:ALL_OUTPUTS.length?ALL_OUTPUTS.map(labelOfOutput):[\"Default\"],hidden:p=>!uiFor(p.toolId).modes.some(m=>m.outputs.length>1)},defaultEssayType:{type:ControlType.Enum,title:\"Essay type\",defaultValue:choicesOf(\"essayType\").default,options:choicesOf(\"essayType\").options.map(o=>o.value),optionTitles:choicesOf(\"essayType\").options.map(o=>o.label),hidden:p=>!hasSelect(p.toolId,\"essayType\")},defaultTone:{type:ControlType.Enum,title:\"Tone\",defaultValue:\"academic\",options:[\"academic\",\"neutral\",\"creative\",\"bold\",\"persuasive\"],optionTitles:[\"Academic\",\"Neutral\",\"Creative (titles)\",\"Bold (titles)\",\"Persuasive (conclusions)\"],hidden:p=>!hasSelect(p.toolId,\"tone\")},defaultTitleStyle:{type:ControlType.Enum,title:\"Title style\",defaultValue:choicesOf(\"style\").default,options:choicesOf(\"style\").options.map(o=>o.value),optionTitles:choicesOf(\"style\").options.map(o=>o.label),hidden:p=>(p.toolId??\"essay-titles\")!==\"essay-titles\"},defaultLevel:{type:ControlType.Enum,title:\"Level\",defaultValue:\"college\",options:[\"high-school\",\"college\",\"graduate\"],optionTitles:[\"High school\",\"College\",\"Graduate\"],hidden:p=>!hasSelect(p.toolId,\"level\")},defaultHookStyle:{type:ControlType.Enum,title:\"Hook style\",defaultValue:\"best-fit\",options:[\"best-fit\",\"question\",\"claim\",\"scenario\",\"fact\",\"quote\"],optionTitles:[\"Best fit\",\"Question\",\"Bold claim\",\"Short scenario\",\"Surprising fact\",\"Quote\"],hidden:p=>!hasSelect(p.toolId,\"hookStyle\")},defaultLength:{type:ControlType.Enum,title:\"Length\",defaultValue:\"1000\",options:[\"500\",\"1000\",\"1500\",\"2000\",\"3000\",\"undergraduate\",\"masters\",\"phd\"],optionTitles:[\"500 words\",\"1,000 words\",\"1,500 words\",\"2,000 words\",\"3,000+ words\",\"Thesis: undergraduate\",\"Thesis: master's\",\"Thesis: PhD\"],hidden:p=>!hasSelect(p.toolId,\"length\")},outlineType:{type:ControlType.Enum,title:\"Outline type\",defaultValue:\"essay\",options:[\"essay\",\"research-paper\",\"thesis\"],optionTitles:[\"Essay\",\"Research paper\",\"Thesis or dissertation\"],hidden:p=>!uiFor(p.toolId).outlineTypeProp},resultCount:{type:ControlType.Number,title:\"Results\",defaultValue:10,min:3,max:15,step:1,displayStepper:true,hidden:p=>(p.toolId??\"essay-titles\")!==\"essay-titles\"},nextStepLinks:{type:ControlType.Array,title:\"Next steps\",description:\"Links shown after results. Only add tools that are live. Leave empty to use the tool's own defaults.\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Cite your sources\"},url:{type:ControlType.Link,title:\"Link\",defaultValue:\"/citation-generator\"},carryTopic:{type:ControlType.Boolean,title:\"Pass topic\",defaultValue:false,description:\"Adds ?topic= so the next tool opens with the same topic or thesis, essay type, level and language.\"},onlyWhen:{type:ControlType.String,title:\"Only for type\",defaultValue:\"\",description:\"An essay type value such as research-paper. Leave empty to always show.\"},param:{type:ControlType.Enum,title:\"Passed as\",defaultValue:\"topic\",options:[\"topic\",\"thesis\"],optionTitles:[\"Topic\",\"Thesis\"],hidden:p=>!p.carryTopic}}},defaultValue:[],maxCount:6},signupUrl:{type:ControlType.Link,title:\"Signup link\",defaultValue:\"https://app.writingstudio.com/sign-up\"},apiBaseUrl:{type:ControlType.String,title:\"API URL\",defaultValue:\"https://app.writingstudio.com/api/public/generate\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ShortTextGenerator\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ShortTextGenerator.map"],"mappings":"2OAagM,SAAS,GAAgB,EAAI,KAAK,IAAI,EAAE,CAAC,IAAM,EAAE,IAAI,KAAK,CAAG,EAAE,OAAO,KAAK,IAAI,EAAE,eAAe,EAAE,EAAE,YAAY,EAAE,EAAE,WAAW,EAAE,CAAC,CAAE,CAA4D,SAAS,EAAa,EAAI,CAAC,GAAG,CAAC,GAAK,OAAO,GAAM,SAAS,OAAO,KAAK,GAAK,CAAC,SAAO,SAAO,EAAI,GAAG,CAAC,MAAM,QAAQ,CAAM,GAAG,OAAO,GAAQ,UAAU,CAAC,OAAO,SAAS,CAAK,EAAE,OAAO,KAAK,IAAM,EAAM,GAAY,MAAM,CAAC,OAAO,EAAO,OAAO,GAAG,OAAO,GAAI,UAAU,EAAM,SAAS,CAAC,CAAC,EAAE,OAAK,CAAE,CAA6F,SAAS,EAAY,EAAO,EAAQ,EAAI,KAAK,IAAI,EAAE,CAAC,OAAO,GAAQ,EAAO,MAAM,GAAK,EAAO,OAAO,SAAS,CAAO,EAAE,EAAO,MAAM,IAAK,CAAmF,SAAS,EAAY,EAAG,EAAI,KAAK,IAAI,EAAE,EAAS,CAAC,IAAM,EAAI,GAAG,IAAI,KAAK,CAAC,CAAC,CAAC,mBAAmB,QAAQ,CAAC,UAAQ,CAAC,EAAQ,EAAK,IAAI,KAAK,CA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