PageSourceSearch

https://www.nicelyformed.ai/_next/static/chunks/38lt1-4lopnvo.js

js nicelyformed.ai collected 2026-10-05 14:37:58 UTC 37,169 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,793479,e=>{"use strict";var t=e.i(843476),s=e.i(975157);e.s(["Input",0,function({className:e,type:a,...r}){return(0,t.jsx)("input",{type:a,"data-slot":"input",className:(0,s.cn)("h-9 w-full min-w-0 rounded-xs border border-input bg-transparent px-3.5 pt-[3px] pb-[5px] text-base transition-[color,box-shadow] outline-none selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-content-placeholder disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm dark:bg-input/30","hover:border-ring focus-visible:border-ring","aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40",e),...r})}])},95187,(e,t,s)=>{"use strict";Object.defineProperty(s,"__esModule",{value:!0});var a={callServer:function(){return i.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return n.findSourceMapURL}};for(var r in a)Object.defineProperty(s,r,{enumerable:!0,get:a[r]});let i=e.r(132120),n=e.r(92245),l=e.r(235326)},189369,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(975157);let r=`url("data:image/svg+xml,${encodeURIComponent("<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M11.25 21C11.25 16.4436 7.55635 12.75 3 12.75C2.58579 12.75 2.25 12.4142 2.25 12C2.25 11.5858 2.58579 11.25 3 11.25C7.55635 11.25 11.25 7.55635 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3C12.75 7.55635 16.4436 11.25 21 11.25C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75C16.4436 12.75 12.75 16.4436 12.75 21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21Z'/></svg>")}")`,i={maskImage:r,WebkitMaskImage:r,maskSize:"100% 100%",WebkitMaskSize:"100% 100%",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat"};e.s(["SparkleLive",0,function({className:e}){let r=(0,s.useRef)(null);return(0,s.useEffect)(()=>{r.current?.style.setProperty("animation-delay",`${-(36*Math.random()).toFixed(1)}s`)},[]),(0,t.jsx)("span",{ref:r,"aria-hidden":!0,style:i,className:(0,a.cn)("inline-block size-4 shrink-0 animate-sparkle-live",e)})}])},156669,127008,328802,322153,104389,930771,348848,132280,601009,720041,20371,457866,329826,566810,150571,831023,412091,189968,796895,372563,33111,229823,952554,209278,103725,722785,659472,793824,373546,294870,336780,984912,289631,820075,788799,618085,117694,953401,426606,961578,174622,734958,863828,37118,882428,981789,953265,255141,336587,185588,260914,619161,536122,972936,203589,193630,325582,764018,e=>{"use strict";var t=e.i(843476),s=e.i(975157);function a(e,a){function r({className:e,...i}){return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",shapeRendering:"geometricPrecision","aria-hidden":"true",className:(0,s.cn)("size-6 shrink-0",e),...i,children:a})}return r.displayName=e,r}let r=/(?:^|\s)size-(\d+(?:\.\d+)?)(?:\s|$)/;function i(e,a){function i({className:e,strokeWidth:n,...l}){let d,C,o=n??((C=(d=e?.match(r))?Number(d[1]):6)<=4?1.5:4.5===C?4/3:5===C?1.2:1.25);return(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:o,strokeLinecap:"round",strokeLinejoin:"round",shapeRendering:"geometricPrecision","aria-hidden":"true",className:(0,s.cn)("size-6 shrink-0",e),...l,children:a})}return i.displayName=e,i}let n=i("ShortAnswer",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 6V18M9 6C9 4.89543 9.89543 4 11 4M9 6C9 4.89543 8.10457 4 7 4M9 18C9 19.1046 9.89543 20 11 20M9 18C9 19.1046 8.10457 20 7 20"}),(0,t.jsx)("path",{d:"M12 8H20C21.1046 8 22 8.89543 22 10V14C22 15.1046 21.1046 16 20 16H12M6 8H4C2.89543 8 2 8.89543 2 10V14C2 15.1046 2.89543 16 4 16H6"})]}));e.s(["ShortAnswer",0,n],127008);let l=i("LongAnswer",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 6V18M9 6C9 4.89543 9.89543 4 11 4M9 6C9 4.89543 8.10457 4 7 4M9 18C9 19.1046 9.89543 20 11 20M9 18C9 19.1046 8.10457 20 7 20"}),(0,t.jsx)("path",{d:"M12 6H20C21.1046 6 22 6.89543 22 8V16C22 17.1046 21.1046 18 20 18H12M6 6H4C2.89543 6 2 6.89543 2 8V16C2 17.1046 2.89543 18 4 18H6"})]}));e.s(["LongAnswer",0,l],328802);let d=i("Email",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M2 6L8.91302 9.91697C11.4616 11.361 12.5384 11.361 15.087 9.91697L22 6"}),(0,t.jsx)("path",{d:"M2 8C2 5.79086 3.79086 4 6 4H18C20.2091 4 22 5.79086 22 8V16C22 18.2091 20.2091 20 18 20H6C3.79086 20 2 18.2091 2 16V8Z"})]}));e.s(["Email",0,d],322153);let C=i("Phone",(0,t.jsx)("path",{d:"M4.75254 11L7.54448 7.90088C8.08309 7.36227 8.26947 6.56642 8.05163 5.83652C7.92939 5.26861 7.7252 4.54467 7.5618 3.99292C7.44381 3.45027 6.96763 3 6.41231 3H4.90404C3.79339 3 2.8813 3.90384 3.00313 5.0078C3.23828 7.1385 3.84329 9.15777 4.75254 11ZM4.75254 11C6.51642 14.5738 9.42525 17.4813 13 19.2435M13 19.2435C14.8401 20.1506 16.8567 20.7543 18.9844 20.9891C20.0883 21.1109 20.9922 20.1988 20.9922 19.0881V17.5799C2
10.9922 17.0246 20.5272 16.624 19.9937 16.4696C19.2022 16.2405 18.8778 16.1494 18.2198 16.0103C17.2387 15.8478 16.6013 15.9377 16.0325 16.5065L13 19.2435Z"}));e.s(["Phone",0,C],104389);let o=i("Link",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M10 14L14 10"}),(0,t.jsx)("path",{d:"M13 17.5L11.5 19C9.567 20.933 6.433 20.933 4.5 19C2.567 17.067 2.567 13.933 4.5 12L6 10.5"}),(0,t.jsx)("path",{d:"M11 6.5L12.5 5C14.433 3.067 17.567 3.067 19.5 5C21.433 6.933 21.433 10.067 19.5 12L18 13.5"})]}));e.s(["Link",0,o],930771);let c=i("NumberSign",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M14 21L18 3"}),(0,t.jsx)("path",{d:"M6 21L10 3"}),(0,t.jsx)("path",{d:"M5 8H21"}),(0,t.jsx)("path",{d:"M3 16H19"})]}));e.s(["NumberSign",0,c],348848);let h=i("Dropdown",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M17.5 9.5L13.4142 5.41415C12.6332 4.63311 11.3668 4.63311 10.5858 5.41416L6.5 9.5"}),(0,t.jsx)("path",{d:"M17.5 14.5L13.4142 18.5858C12.6332 19.3668 11.3668 19.3668 10.5858 18.5858L6.5 14.5"})]}));e.s(["Dropdown",0,h],132280);let x=i("SingleChoice",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z"}),(0,t.jsx)("path",{d:"M12 16C14.2091 16 16 14.2091 16 12C16 9.79086 14.2091 8 12 8C9.79086 8 8 9.79086 8 12C8 14.2091 9.79086 16 12 16Z"})]}));e.s(["SingleChoice",0,x],601009);let p=i("MultipleChoice",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M8 12.5L9.76148 14.2615C10.1641 14.6641 10.821 14.6498 11.2057 14.2301L16 9"}),(0,t.jsx)("path",{d:"M3 8C3 5.23858 5.23858 3 8 3H16C18.7614 3 21 5.23858 21 8V16C21 18.7614 18.7614 21 16 21H8C5.23858 21 3 18.7614 3 16V8Z"})]}));e.s(["MultipleChoice",0,p],720041);let m=i("CalendarLine",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M17 4H7C4.79086 4 3 5.79086 3 8V18C3 20.2091 4.79086 22 7 22H17C19.2091 22 21 20.2091 21 18V8C21 5.79086 19.2091 4 17 4Z"}),(0,t.jsx)("path",{d:"M21 10H3"}),(0,t.jsx)("path",{d:"M8 2V6M16 2V6"})]})),j=i("Calendar",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M16 2V6M8 2V6"}),(0,t.jsx)("path",{d:"M3 10H21"}),(0,t.jsx)("path",{d:"M3 8C3 5.79086 4.79086 4 7 4H17C19.2091 4 21 5.79086 21 8V18C21 20.2091 19.2091 22 17 22H7C4.79086 22 3 20.2091 3 18V8Z"})]}));e.s(["Calendar",0,j,"CalendarLine",0,m],20371);let u=i("TimeLine",(0,t.jsx)("path",{d:"M12 6V12L16 16M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z"})),M=i("Time",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"}),(0,t.jsx)("path",{d:"M12 5.99976V11.1293C12 11.6676 12.2884 12.1646 12.7558 12.4317L15.5 13.9998"})]}));e.s(["Time",0,M,"TimeLine",0,u],457866);let g=i("Star",(0,t.jsx)("path",{d:"M11.3281 3.03925C11.6433 2.55169 12.3565 2.55169 12.6717 3.03925L15.5952 7.56125C15.7031 7.72822 15.8694 7.84902 16.0615 7.90008L21.2656 9.28305C21.8267 9.43216 22.0471 10.1105 21.6808 10.5609L18.2835 14.7387C18.1581 14.8929 18.0946 15.0884 18.1054 15.2869L18.3982 20.6636C18.4298 21.2433 17.8528 21.6626 17.3112 21.4534L12.2881 19.5134C12.1027 19.4417 11.8971 19.4417 11.7117 19.5134L6.68861 21.4534C6.14703 21.6626 5.56999 21.2433 5.60156 20.6636L5.89443 15.2869C5.90524 15.0884 5.84174 14.8929 5.71629 14.7387L2.31901 10.5609C1.95271 10.1105 2.17312 9.43216 2.73422 9.28305L7.93828 7.90008C8.13044 7.84902 8.2967 7.72822 8.40465 7.56125L11.3281 3.03925Z"}));e.s(["Star",0,g],329826);let f=i("LinearScale",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M21.5 12C21.5 10.8955 20.6045 10 19.5 10C18.3955 10 17.5 10.8955 17.5 12C17.5 13.1045 18.3955 14 19.5 14C20.6045 14 21.5 13.1045 21.5 12Z"}),(0,t.jsx)("path",{d:"M10 12H7"}),(0,t.jsx)("path",{d:"M17 12H14"}),(0,t.jsx)("path",{d:"M14 12C14 10.8955 13.1045 10 12 10C10.8955 10 10 10.8955 10 12C10 13.1045 10.8955 14 12 14C13.1045 14 14 13.1045 14 12Z"}),(0,t.jsx)("path",{d:"M6.5 12C6.5 10.8955 5.60457 10 4.5 10C3.39543 10 2.5 10.8955 2.5 12C2.5 13.1045 3.39543 14 4.5 14C5.60457 14 6.5 13.1045 6.5 12Z"})]}));e.s(["LinearScale",0,f],566810);let H=i("Ranking",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M17 10H19C19.9319 10 20.3978 10 20.7654 9.84776C21.2554 9.64477 21.6448 9.25542 21.8478 8.76537C22 8.39782 22 7.93188 22 7C22 6.06812 22 5.60218 21.8478 5.23463C21.6448 4.74458 21.2554 4.35523 20.7654 4.15224C20.3978 4 19.9319 4 19 4H17C16.0681 4 15.6022 4 15.2346 4.15224C14.7446 4.35523 14.3552 4.74458 14.1522 5.23463C14 5.60218 14 6.06812 14 7C14 7.93188 14 8.39782 14.1522 8.76537C14.3552 9.25542 14.7446 9.64477 15.2346 9.84776C15.6022 10 16.0681 10 17 10Z"}),(0,t.jsx)("path",{d:"M10 7.00005H7C4.23858 7.00005 2 9.23863 2 12C2 14.7614 4.23858 17 7 17H10M7.69865 4.58582L9.00006 5.67162C9.79879 6.33805 10.1987 6.6717 10.1987 7.08582C10.1987 7.49993 9.79928 7.83318 9.00054 8.49961L7.69865 9.58582"}),(0,t.jsx)("path",{d:"M17 20H19C19.9319 20 20.3978 20 20.7654 19.8478C21.2554 19.6448 21.6448 19.2554 21.8478 18.7654C22 18.3978 22 17.9319 22 17C22 16.0681 22 15.6022 21.8478 15.2346C21.6448 14.7446 21.2554 14.3552 20.7654 14.1522C20.3978 14 19.9319 14 19 14H17C16.0681 14 15.6022 14 15.2346 14.1522C14.7446 14.3552 14.3552 14.7446 14.1522 15.2346C14 15.6022 14 16.0681 14 17C14 17.9319 14 18.3978 14.1522 18.7654C14.3552 19.2554 14.7446 19.6448 15.2346 19.8478C15.6022 20 16.0681 20 17 20Z"})]}));e.s(["Ranking",0,H],150571);let L=i("Matrix",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 3V21"}),(0,t.jsx)("path",{d:"M15 3V21"}),(0,t.jsx)("path",{d:"M21 9H3"}),(0,t.jsx)("path",{d:"M21 15H3"}),(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"4"})]}));e.s(["Matrix",0,L],831023);let w=i("Heading1",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M4 5V19"}),(0,t.jsx)("path",{d:"M14 5V19"}),(0,t.jsx)("path",{d:"M17 19H18.5M18.5 19H20M18.5 19V11L17 12"}),(0,t.jsx)("path",{d:"M4 12H14"})]}));e.s(["Heading1",0,w],412091);let b=i("Heading2",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3.5 5V19"}),(0,t.jsx)("path",{d:"M13.5 5V19"}),(0,t.jsx)("path",{d:"M20.5 19H16.5V18.6907C16.5 18.2521 16.5 18.0327 16.5865 17.8385C16.673 17.6443 16.836 17.4976 17.1621 17.2041L19.7671 14.8596C20.2336 14.4397 20.5 13.8416 20.5 13.214V13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13V13.4"}),(0,t.jsx)("path",{d:"M3.5 12H13.5"})]}));e.s(["Heading2",0,b],189968);let V=i("Heading3",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3.5 5V19"}),(0,t.jsx)("path",{d:"M13.5 5V19"}),(0,t.jsx)("path",{d:"M16.5 17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17C20.5 15.8954 19.6046 15 18.5 15C19.6046 15 20.5 14.1046 20.5 13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13"}),(0,t.jsx)("path",{d:"M3.5 12H13.5"})]}));e.s(["Heading3",0,V],796895);let v=i("Image",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M7.5 9C8.32843 9 9 8.32843 9 7.5C9 6.67157 8.32843 6 7.5 6C6.67157 6 6 6.67157 6 7.5C6 8.32843 6.67157 9 7.5 9Z"}),(0,t.jsx)("path",{d:"M5.5 20.5C9.87246 15.275 13.5 9.00004 21 13.0001",strokeLinecap:"butt"}),(0,t.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"4"})]}));e.s(["Image",0,v],372563);let y=i("Pilcrow",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12.9922 3V21"}),(0,t.jsx)("path",{d:"M16.9922 3V21"}),(0,t.jsx)("path",{d:"M18.9922 3H9.49219C8.29871 3 7.15412 3.47411 6.31021 4.31802C5.46629 5.16193 4.99219 6.30653 4.99219 7.5C4.99219 8.69347 5.46629 9.83807 6.31021 10.682C7.15412 11.5259 8.29871 12 9.49219 12H12.9922"})]}));e.s(["Pilcrow",0,y],33111);let k=i("Divider",(0,t.jsx)("path",{d:"M2.5 12H21.5002"}));e.s(["Divider",0,k],229823);let N=i("PageBreak",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M20.9922 12.002H19.9922M16.9922 12.002H15.9922M12.4922 12.002H11.4922M7.99219 12.002H6.99219M2.99219 12.002H3.99219"}),(0,t.jsx)("path",{d:"M20 8.33333V7.55556C20 5.59188 18.4081 4 16.4444 4H7.55556C5.59188 4 4 5.59188 4 7.55556V8.33333M20 15.6667V16.4444C20 18.4081 18.4081 20 16.4444 20H7.55556C5.59188 20 4 18.4081 4 16.4444V15.6667"})]}));e.s(["PageBreak",0,N],952554);let S=a("SparkleAi",(0,t.jsx)("path",{d:"M11.25 21C11.25 16.4436 7.55635 12.75 3 12.75C2.58579 12.75 2.25 12.4142 2.25 12C2.25 11.5858 2.58579 11.25 3 11.25C7.55635 11.25 11.25 7.55635 11.25 3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3C12.75 7.55635 16.4436 11.25 21 11.25C21.4142 11.25 21.75 11.5858 21.75 12C21.75 12.4142 21.4142 12.75 21 12.75C16.4436 12.75 12.75 16.4436 12.75 21C12.75 21.4142 12.4142 21.75 12 21.75C11.5858 21.75 11.25 21.4142 11.25 21Z"}));e.s(["SparkleAi",0,S],209278),e.i(189369);let F=a("ThumbsUp",(0,t.jsx)("path",{d:"M6.25 18.498C6.24999 19.7407 5.24263 20.748 4 20.748H3.5C2.25737 20.748 1.25001 19.7407 1.25 18.498V11.498C1.25 10.2554 2.25736 9.24805 3.5 9.24805H4C5.24264 9.24805 6.25 10.2554 6.25 11.498V18.498ZM16.7314 5.89453C16.7314 6.59177 16.535 7.28646 16.291 7.9248C16.0475 8.56189 15.7282 9.20995 15.4561 9.79004C15.4091 9.89021 15.4177 10.0067 15.4775 10.1055C15.5359 10.2016 15.6213 10.248 15.7139 10.248H20.3711C22.5369 10.248 23.8528 12.6357 22.6963 14.4668L19.5166 19.501C18.8295 20.5885 17.6331 21.248 16.3467 21.248H11C8.92894 21.248 7.25001 19.5691 7.25 17.498V12.5186C7.25007 11.3707 7.66642 10.2629 8.41992 9.39844L13.4102 3.03516L13.4395 3C14.2393 2.10023 15.8092 2.23209 16.2529 3.5127C16.4883 4.19225 16.7314 5.08019 16.7314 5.89453Z"}));e.s(["ThumbsUp",0,F],103725);let Z=a("ThumbsDown",(0,t.jsx)("path",{d:"M6.25 5.17078C6.24999 3.92814 5.24263 2.92078 4 2.92078H3.5C2.25737 2.92078 1.25001 3.92814 1.25 5.17078V12.1708C1.25 13.4134 2.25736 14.4208 3.5 14.4208H4C5.24264 14.4208 6.25 13.4134 6.25 12.1708V5.17078ZM16.7314 17.7743C16.7314 17.0771 16.535 16.3824 16.291 15.744C16.0475 15.1069 15.7282 14.4589 15.4561 13.8788C15.4091 13.7786 15.4177 13.6621 15.4775 13.5634C15.5359 13.4673 15.6213 13.4209 15.7139 13.4208H20.3711C22.5369 13.4208 23.8528 11.0332 22.6963 9.20203L19.5166 4.16785C18.8295 3.08036 17.6331 2.42084 16.3467 2.42078H11C8.92894 2.42078 7.25001 4.09972 7.25 6.17078V11.1503C7.25007 12.2981 7.66642 13.4059 8.41992 14.2704L13.4102 20.6337L13.4395 20.6688C14.2393 21.5686 15.8092 21.4367 16.2529 20.1561C16.4883 19.4766 16.7314 18.5886 16.7314 17.7743Z"}));e.s(["ThumbsDown",0,Z],722785);let P=a("MagicPen",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6.69231 9.69231C6.69231 7.82302 5.17696 6.30769 3.30769 6.30769C3.13776 6.30769 3 6.16993 3 6C3 5.83007 3.13776 5.69231 3.30769 5.69231C5.17696 5.69231 6.69231 4.17696 6.69231 2.30769C6.69231 2.13776 6.83007 2 7 2C7.16993 2 7.30769 2.13776 7.30769 2.30769C7.30769 4.17696 8.82302 5.69231 10.6923 5.69231C10.8622 5.69231 11 5.83007 11 6C11 6.16993 10.8622 6.30769 10.6923 6.30769C8.82302 6.30769 7.30769 7.82302 7.30769 9.69231C7.30769 9.86224 7.16993 10 7 10C6.83007 10 6.69231 9.86224 6.69231 9.69231Z"}),(0,t.jsx)("path",{d:"M18.4776 13.5378L12.2227 19.7927C11.4088 20.6067 10.8633 21.1704 10.1485 21.4665C9.43366 21.7627 8.64904 21.7497 7.49813 21.7497H6.00008C5.58595 21.7496 5.25008 21.4139 5.25008 20.9997V19.5017C5.25008 18.3509 5.23719 17.566 5.53329 16.8513C5.82948 16.1366 6.39329 15.5909 7.20712 14.7771L13.462 8.5222L18.4776 13.5378Z"}),(0,t.jsx)("path",{d:"M16.6534 5.53294C17.4162 5.15498 18.3124 5.15509 
119.0753 5.53294C19.504 5.74538 19.8764 6.13193 20.3722 6.62767C20.8684 7.12386 21.2543 7.49584 21.4669 7.92454C21.8448 8.68742 21.8447 9.58353 21.4669 10.3464C21.2544 10.7753 20.8684 11.147 20.3722 11.6433L19.5382 12.4773L14.5225 7.46165L15.3575 6.62669C15.8532 6.13101 16.2247 5.74534 16.6534 5.53294Z"})]}));e.s(["MagicPen",0,P],659472);let R=a("MagicChart",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5.69231 8.69231C5.69231 6.82302 4.17696 5.30769 2.30769 5.30769C2.13776 5.30769 2 5.16993 2 5C2 4.83007 2.13776 4.69231 2.30769 4.69231C4.17696 4.69231 5.69231 3.17696 5.69231 1.30769C5.69231 1.13776 5.83007 1 6 1C6.16993 1 6.30769 1.13776 6.30769 1.30769C6.30769 3.17696 7.82302 4.69231 9.69231 4.69231C9.86224 4.69231 10 4.83007 10 5C10 5.16993 9.86224 5.30769 9.69231 5.30769C7.82302 5.30769 6.30769 6.82302 6.30769 8.69231C6.30769 8.86224 6.16993 9 6 9C5.83007 9 5.69231 8.86224 5.69231 8.69231Z"}),(0,t.jsx)("path",{d:"M5.5 12.25C6.74264 12.25 7.75 13.2574 7.75 14.5V19.5C7.75 20.7426 6.74264 21.75 5.5 21.75H4.5C3.25736 21.75 2.25 20.7426 2.25 19.5V14.5C2.25 13.2574 3.25736 12.25 4.5 12.25H5.5Z"}),(0,t.jsx)("path",{d:"M12.5 2.25C13.7426 2.25 14.75 3.25736 14.75 4.5V19.5C14.75 20.7426 13.7426 21.75 12.5 21.75H11.5C10.2574 21.75 9.25 20.7426 9.25 19.5V7.308C9.25 7.04599 9.43037 6.80762 9.69238 6.80762C10.6907 6.80758 11.5 5.99833 11.5 5C11.5 4.00167 10.6907 3.19242 9.69238 3.19238C9.68329 3.19238 9.6782 3.18028 9.68357 3.17294C10.0929 2.6136 10.7538 2.25 11.5 2.25H12.5Z"}),(0,t.jsx)("path",{d:"M19.5 7.25C20.7426 7.25 21.75 8.25736 21.75 9.5V19.5C21.75 20.7426 20.7426 21.75 19.5 21.75H18.5C17.2574 21.75 16.25 20.7426 16.25 19.5V9.5C16.25 8.25736 17.2574 7.25 18.5 7.25H19.5Z"})]}));e.s(["MagicChart",0,R],793824);let z=i("PaperFile",(0,t.jsx)("path",{d:"M13.5 2.50491V8.5H19.4951M18 22H6C4.89543 22 4 21.1046 4 20V4C4 2.89543 4.89543 2 6 2H12.1716C12.702 2 13.2107 2.21071 13.5858 2.58579L19.4142 8.41421C19.7893 8.78929 20 9.29799 20 9.82843V20C20 21.1046 19.1046 22 18 22Z"}));e.s(["PaperFile",0,z],373546);let U=i("Feedback",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M8 13.5H16M8 8.5H12"}),(0,t.jsx)("path",{d:"M6.3125 19L5.93858 20.6107C5.75481 21.4023 6.54197 22.071 7.29343 21.7615L12.1708 19.7532C13.3785 19.2559 14.6721 19 15.9783 19H18C20.2091 19 22 17.2091 22 15V7C22 4.79086 20.2091 3 18 3H6C3.79086 3 2 4.79086 2 7V15C2 17.2091 3.79086 19 6 19H6.3125ZM6.3125 19L6.5 17.5"})]}));e.s(["Feedback",0,U],294870);let I=a("Inbox",(0,t.jsx)("path",{d:"M10.0625 3.75C9.06261 3.75 8.37264 3.75068 7.83596 3.80957C7.31764 3.86649 7.01322 3.97175 6.76956 4.13672C6.52593 4.30168 6.31565 4.54486 6.07034 5.00488C5.81629 5.4813 5.55894 6.12127 5.18753 7.0498L3.126 12.2061C3.12008 12.2208 3.11413 12.2357 3.10842 12.25H5.58596C6.1204 12.25 6.53286 12.2435 6.92581 12.3555C7.12848 12.4133 7.32423 12.4939 7.50881 12.5967L7.63967 12.6758C7.9389 12.8707 8.19952 13.1389 8.5303 13.4697C8.96805 13.9075 9.08934 14.0197 9.22073 14.0928C9.30419 14.1392 9.39308 14.1758 9.48538 14.2021C9.62992 14.2433 9.79505 14.25 10.4141 14.25H13.586C14.205 14.25 14.3702 14.2433 14.5147 14.2021C14.607 14.1758 14.696 14.1392 14.7793 14.0928C14.9106 14.0197 15.0322 13.9073 15.4698 13.4697C15.8477 13.0918 16.1341 12.7954 16.4912 12.5967L16.6319 12.5244C16.7743 12.4556 16.9222 12.3988 17.0742 12.3555C17.4672 12.2435 17.8797 12.25 18.4141 12.25H20.8916C20.8859 12.2357 20.8809 12.2208 20.875 12.2061L18.8125 7.0498C18.4411 6.1213 18.1838 5.4813 17.9297 5.00488C17.6844 4.54486 17.4741 4.30168 17.2305 4.13672C16.9868 3.97174 16.6824 3.86649 16.1641 3.80957C15.6274 3.75067 14.9374 3.75 13.9375 3.75H10.0625ZM22.75 15C22.75 16.3929 22.7519 17.5131 22.6338 18.3916C22.5128 19.2917 22.2533 20.0494 21.6514 20.6514C21.0495 21.2533 20.2917 21.5128 19.3916 21.6338C18.5131 21.7519 17.3929 21.75 16 21.75H8.00003C6.60711 21.75 5.48693 21.7519 4.60842 21.6338C3.70832 21.5128 2.95057 21.2533 2.34866 20.6514C1.74675 20.0494 1.48725 19.2917 1.36624 18.3916C1.24814 17.5131 1.25003 16.3929 1.25003 15V14.1553C1.25002 13.6067 1.24667 13.2355 1.31741 12.8682C1.38818 12.5009 1.52873 12.1576 1.73245 11.6484L3.79495 6.49316C4.15416 5.59513 4.44536 4.86467 4.7471 4.29883C5.05749 3.71684 5.41068 3.24528 5.92874 2.89453C6.4469 2.54374 7.01609 2.39136 7.6719 2.31934C8.30931 2.24934 9.09536 2.25 10.0625 2.25H13.9375C14.9047 2.25 15.6907 2.24934 16.3282 2.31934C16.984 2.39136 17.5531 2.54375 18.0713 2.89453L18.2578 3.03223C18.6767 3.36537 18.9813 3.78959 
119.253 4.29883C19.5547 4.86467 19.8459 5.59512 20.2051 6.49316L22.2676 11.6484C22.4205 12.0307 22.5373 12.3194 22.6162 12.5947L22.6826 12.8682C22.7532 13.2353 22.75 13.607 22.75 14.1553V15Z"}));e.s(["Inbox",0,I],336780),i("Zap",(0,t.jsx)("path",{d:"M4.66 13.12L13 2L12 10H19.8257C20.292 10 20.5468 10.5439 20.2482 10.9021L11 22L12 14H5.1C4.64678 14 4.38807 13.4826 4.66 13.12Z"}));let T=i("Plus",(0,t.jsx)("path",{d:"M12 4V20M4 12H20"}));e.s(["Plus",0,T],984912);let A=i("ChevronDown",(0,t.jsx)("path",{d:"M20 8L12 16L4 8"}));e.s(["ChevronDown",0,A],289631);let D=i("ChevronUp",(0,t.jsx)("path",{d:"M4 16L12 8L20 16"}));e.s(["ChevronUp",0,D],820075);let E=i("Upload",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 17C3 17.93 3 18.395 3.10222 18.7765C3.37962 19.8117 4.18827 20.6204 5.22354 20.8978C5.60504 21 6.07003 21 7 21H17C17.93 21 18.395 21 18.7765 20.8978C19.8118 20.6204 20.6204 19.8117 20.8978 18.7765C21 18.395 21 17.93 21 17"}),(0,t.jsx)("path",{d:"M7.5 7.49997L11.2929 3.70708C11.6834 3.31655 12.3166 3.31655 12.7071 3.70708L16.5 7.49997M12 3.99997V16"})]}));e.s(["Upload",0,E],788799);let B=i("Download",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 17C3 17.93 3 18.395 3.10222 18.7765C3.37962 19.8117 4.18827 20.6204 5.22354 20.8978C5.60504 21 6.07003 21 7 21H17C17.93 21 18.395 21 18.7765 20.8978C19.8118 20.6204 20.6204 19.8117 20.8978 18.7765C21 18.395 21 17.93 21 17"}),(0,t.jsx)("path",{d:"M7.5 11.9142L11.2929 15.7071C11.6834 16.0976 12.3166 16.0976 12.7071 15.7071L16.5 11.9142M12 15.4142V3.41418"})]}));e.s(["Download",0,B],618085);let O=i("Filter",(0,t.jsx)("path",{d:"M2 7H22M6 12H18M11 17H13"}));e.s(["Filter",0,O],117694);let $=i("NewFile",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M13.5 2.50491V8.5H19.4951M11 2H12.1716C12.702 2 13.2107 2.21071 13.5858 2.58579L19.4142 8.41421C19.7893 8.78929 20 9.29799 20 9.82843V20C20 21.1046 19.1046 22 18 22H6C4.89543 22 4 21.1046 4 20V13"}),(0,t.jsx)("path",{d:"M5 1V5M5 5V9M5 5H1M5 5H9"})]}));e.s(["NewFile",0,$],953401);let G=i("Sidebar",(0,t.jsx)("path",{d:"M9 21V3M7 21H17C19.2091 21 21 19.2091 21 17V7C21 4.79086 19.2091 3 17 3H7C4.79086 3 3 4.79086 3 7V17C3 19.2091 4.79086 21 7 21Z"}));e.s(["Sidebar",0,G],426606);let W=i("Spark",(0,t.jsx)("path",{d:"M3 12C7.97056 12 12 7.97056 12 3C12 7.97056 16.0294 12 21 12C16.0294 12 12 16.0294 12 21C12 16.0294 7.97056 12 3 12Z"}));e.s(["Spark",0,W],961578);let q=i("Minus",(0,t.jsx)("path",{d:"M4 12H20"}));e.s(["Minus",0,q],174622);let _=i("BulletedList",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 6H20M9 12H20M9 18H20"}),(0,t.jsx)("path",{d:"M4 6H4.01M4 12H4.01M4 18H4.01",strokeWidth:"2.5"})]}));e.s(["BulletedList",0,_],734958);let K=i("Quote",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M10 8C10 9.88562 10 10.8284 9.41421 11.4142C8.82843 12 7.88562 12 6 12C4.11438 12 3.17157 12 2.58579 11.4142C2 10.8284 2 9.88562 2 8C2 6.11438 2 5.17157 2.58579 4.58579C3.17157 4 4.11438 4 6 4C7.88562 4 8.82843 4 9.41421 4.58579C10 5.17157 10 6.11438 10 8Z"}),(0,t.jsx)("path",{d:"M10 7L10 11.4821C10 15.4547 7.48429 18.8237 4 20"}),(0,t.jsx)("path",{d:"M22 8C22 9.88562 22 10.8284 21.4142 11.4142C20.8284 12 19.8856 12 18 12C16.1144 12 15.1716 12 14.5858 11.4142C14 10.8284 14 9.88562 14 8C14 6.11438 14 5.17157 14.5858 4.58579C15.1716 4 16.1144 4 18 4C19.8856 4 20.8284 4 21.4142 4.58579C22 5.17157 22 6.11438 22 8Z"}),(0,t.jsx)("path",{d:"M22 7L22 11.4821C22 15.4547 19.4843 18.8237 16 20"})]}));e.s(["Quote",0,K],863828);let Q=i("X",(0,t.jsx)("path",{d:"M5 5L19 19M5 19L19 5"}));e.s(["X",0,Q],37118);let X=i("ArrowLeft",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M4.5 12L20 12.002"}),(0,t.jsx)("path",{d:"M10.5 5.5L4 12L10.5 18.5"})]}));e.s(["ArrowLeft",0,X],882428);let Y=i("Minimize",(0,t.jsx)("path",{d:"M5 12H19"}));e.s(["Minimize",0,Y],981789);let J=i("Asterisk",(0,t.jsx)("path",{d:"M12 4V20M18 6L6.00001 18M20 12L4 12M18 18L6.00001 6.00001"}));e.s(["Asterisk",0,J],953265);let ee=i("Search",(0,t.jsx)("path",{d:"M17 17L22 22M19.5 10.75C19.5 15.5825 15.5825 19.5 10.75 19.5C5.91751 19.5 2 15.5825 2 10.75C2 5.91751 5.91751 2 10.75 2C15.5825 2 19.5 5.91751 19.5 10.75Z"}));e.s(["Search",0,ee],255141);let et=i("Eye",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M1 12C1 12 5 4 12 4C19 4 23 12 23 12"}),(0,t.jsx)("path",{d:"M1 12C1 12 5 20 12 20C19 20 23 12 23 12"}),(0,t.jsx)("path",{d:"M12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15Z"})]}));e.s(["Eye",0,et],336587);let es=i("EyeOff",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6.43385 6.51953C4.22009 7.89049 2.93281 9.86457 2.31858 11.0339C2.10621 11.4382 2.00003 11.6403 2 12.0082C1.99997 12.3761 2.10584 12.5777 2.3176 12.981C3.32862 14.9066 6.16702 19.0195 11.9669 19.0195C14.2454 19.0195 16.0669 18.3848 17.5 17.4972"}),(0,t.jsx)("path",{d:"M9.87868 9.87868C9.33579 10.4216 9 11.1716 9 12C9 13.6569 10.3431 15 12 15C12.8284 15 13.5784 14.6642 14.1213 14.1213"}),(0,t.jsx)("path",{d:"M2 2L22 22"}),(0,t.jsx)("path",{d:"M10 5.14847C10.5934 5.05255 11.224 5 11.8936 5C17.7747 5 20.6528 9.05385 21.6779 10.9517C21.8927 11.3492 22 11.548 22 11.9106C22 12.2733 21.8921 12.4727 21.6765 12.8717C21.3678 13.4428 20.8916 14.2085 20.2167 15"})]}));e.s(["EyeOff",0,es],185588);let ea=i("Split",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M21 8.5V6.6C21 4.90294 21 4.05442 20.4728 3.52721C19.9456 3 19.0971 3 17.4 3H15.5M20 4L14.5 9.5"}),(0,t.jsx)("path",{d:"M3 8.5V6.6C3 4.90294 3 4.05442 3.52721 3.52721C4.05442 3 4.90294 3 6.6 3H8.5M4 4L9.65686 9.65686C10.813 10.813 11.391 11.391 11.6955 12.1261C12 12.8612 12 13.6787 12 15.3137V21"})]}));e.s(["Split",0,ea],260914);let er=i("Circle",(0,t.jsx)("circle",{cx:"12",cy:"12",r:"10"}));e.s(["Circle",0,er],619161);let ei=i("Check",(0,t.jsx)("path",{d:"M5 12.5L8.58583 15.9568C9.2525 16.6523 9.58583 17 10 17C10.4143 17 10.7476 16.6523 11.4143 15.9568L20 7"}));e.s(["Check",0,ei],536122);let en=i("Undo",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 8H15C18.3137 8 21 10.6863 21 14C21 17.3137 18.3
1137 20 15 20H11"}),(0,t.jsx)("path",{d:"M7 4L5.8462 4.87652C3.94873 6.31801 3 7.03875 3 8C3 8.96125 3.94873 9.68199 5.8462 11.1235L7 12"})]}));e.s(["Undo",0,en],972936);let el=i("Redo",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M21 8H9C5.68629 8 3 10.6863 3 14C3 17.3137 5.68629 20 9 20H13"}),(0,t.jsx)("path",{d:"M17 4L18.1538 4.87652C20.0513 6.31801 21 7.03875 21 8C21 8.96125 20.0513 9.68199 18.1538 11.1235L17 12"})]}));e.s(["Redo",0,el],203589);let ed=i("ExternalLink",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M11 4H6.77778C4.69137 4 3 5.69137 3 7.77778V17.2222C3 19.3086 4.69137 21 6.77778 21H16.2222C18.3086 21 20 19.3086 20 17.2222V12.5"}),(0,t.jsx)("path",{d:"M15 3H20C20.5523 3 21 3.44772 21 4V9"}),(0,t.jsx)("path",{d:"M20.5 3.5L11 13"})]}));e.s(["ExternalLink",0,ed],193630);let eC=i("Duplicate",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M14.8125 2.42917V7.525H20.0582M18.75 19H8.25C7.2835 19 6.5 18.2389 6.5 17.3V3.7C6.5 2.76112 7.2835 2 8.25 2H13.6502C14.1143 2 14.5594 2.1791 14.8876 2.49792L19.9874 7.45208C20.3156 7.7709 20.5 8.20329 20.5 8.65417V17.3C20.5 18.2389 19.7165 19 18.75 19Z"}),(0,t.jsx)("path",{d:"M6.5 5H5.5C4.39543 5 3.5 5.89543 3.5 7V19C3.5 20.6569 4.84315 22 6.5 22H15.5C16.6046 22 17.5 21.1046 17.5 20V19.2222"})]}));e.s(["Duplicate",0,eC],325582);let eo=i("Copy",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"7",y:"7",width:"14",height:"14",rx:"4"}),(0,t.jsx)("path",{d:"M7 17C4.79086 17 3 15.2091 3 13V7C3 4.79086 4.79086 3 7 3H13C15.2091 3 17 4.79086 17 7"})]}));e.s(["Copy",0,eo],764018),e.s([],156669)},539816,e=>{"use strict";function t(e,s="/dashboard"){let a=String(e??"");return a.startsWith("/")&&!a.startsWith("//")?a:s}e.s(["authUrlFor",0,function(e,t){return`/auth/${e}?redirectTo=${encodeURIComponent(t)}`},"pricingUrlFrom",0,function(e){let s=t(e);return"/dashboard"===s?"/pricing":`/pricing?from=${encodeURIComponent(s)}`},"safeRedirect",0,t])},772382,580860,e=>{"use strict";var t=e.i(456420);let s=(0,t.default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);e.s(["Eye",0,s],772382);let a=(0,t.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);e.s(["EyeOff",0,a],580860)},170556,971111,e=>{"use strict";var t=e.i(843476);e.s(["GoogleIcon",0,function(){return(0,t.jsx)("svg",{viewBox:"0 0 24 24","aria-hidden":!0,className:"size-4 fill-current",children:(0,t.jsx)("path",{d:"M21.35 11.1h-9.17v2.73h6.51c-.33 3.81-3.5 5.44-6.5 5.44C8.36 19.27 5 16.25 5 12c0-4.1 3.2-7.27 7.2-7.27 3.09 0 4.9 1.97 4.9 1.97L19 4.72S16.56 2 12.1 2C6.42 2 2.03 6.8 2.03 12c0 5.05 4.13 10 10.22 10 5.35 0 9.25-3.67 9.25-9.09 0-1.15-.15-1.81-.15-1.81Z"})})}],170556),e.i(156669);var s=e.i(209278);e.s(["PendingPrompt",0,function({prompt:e}){return(0,t.jsxs)("div",{className:"mt-6 rounded-sm border border-border bg-card/60 px-4 py-3 text-left",children:[(0,t.jsxs)("p",{className:"flex items-start gap-2 text-sm",children:[(0,t.jsx)(s.SparkleAi,{className:"mt-0.5 size-4 shrink-0 text-content-tertiary"}),(0,t.jsxs)("span",{className:"line-clamp-2 min-w-0",children:["“",e,"”"]})]}),(0,t.jsx)("p",{className:"mt-1 pl-6 text-xs text-muted-foreground",children:"We'll start generating this form the moment you're in."})]})}],971111)},345301,e=>{"use strict";var t=e.i(843476),s=e.i(522016),a=e.i(271645),r=e.i(618566),i=e.i(772382),n=e.i(580860),l=e.i(95187);let d=(0,l.createServerReference)("606691acd20245ffc3527eb364f4f9a6a9b57d1a38",l.callServer,void 0,l.findSourceMapURL,"loginAction"),C=(0,l.createServerReference)("60730ed3277c5c7e6fc7d96b6d58484ad395f1fded",l.callServer,void 0,l.findSourceMapURL,"requestSetPasswordAction");var o=e.i(539816),c=e.i(519455),h=e.i(793479),x=e.i(776639),p=e.i(170556),m=e.i(971111);function j(){let[e,l,C]=(0,a.useActionState)(d,void 0),[x,j]=(0,a.useState)("choose"),[M,g]=(0,a.useState)(!1),[f,H]=(0,a.useState)(!1),L=(0,r.useSearchParams)(),w="google"===L.get("error"),b=e?.code==="google_account",V=L.get("prompt"),v=L.get("template"),y=(0,o.safeRedirect)(L.get("redirectTo")??(v?`/dashboard?template=${encodeURIComponent(v)}`:V?`/dashboard?prompt=${encodeURIComponent(V)}`:null)),k=`/api/auth/google?redirectTo=${encodeURIComponent(y)}&from=login`,N=new URLSearchParams;V&&N.set("prompt",V),v&&N.set("template",v),L.get("redirectTo")&&N.set("redirectTo",L.get("redirectTo"));let S=N.size?`?${N}`:"";return(0,t.jsxs)("div",{className:"mx-auto w-full max-w-72",children:[(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)("h1",{className:"text-2xl font-semibold",children:"Welcome back"}),(0,t.jsx)("p",{className:"mx-auto mt-2 max-w-xs text-sm text-muted-foreground",children:"Log in to your Nicelyformed account."})]}),V&&(0,t.jsx)(m.PendingPrompt,{prompt:V}),"choose"===x?(0,t.jsxs)("div",{className:"mt-8 flex flex-col gap-3",children:[w&&(0,t.jsx)("p",{className:"text-center text-sm text-red-600",children:"Google sign-in didn't complete. Try again or c
1ontinue with email."}),(0,t.jsx)(c.Button,{asChild:!0,size:"pill",className:"w-full",children:(0,t.jsxs)("a",{href:k,children:[(0,t.jsx)(p.GoogleIcon,{}),"Continue with Google"]})}),(0,t.jsx)(c.Button,{type:"button",variant:"secondary",size:"pill",className:"w-full",onClick:()=>j("email"),children:"Continue with email"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{action:l,className:"mt-8 flex flex-col gap-3",children:[(0,t.jsx)("input",{type:"hidden",name:"redirectTo",value:y}),(0,t.jsx)(h.Input,{name:"email",type:"email",autoComplete:"email",required:!0,placeholder:"Email","aria-label":"Email",defaultValue:e?.email}),!b&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.Input,{name:"password",type:M?"text":"password",autoComplete:"current-password",required:!0,placeholder:"Password","aria-label":"Password",className:"pr-10"}),(0,t.jsx)("button",{type:"button",onClick:()=>g(e=>!e),"aria-label":M?"Hide password":"Show password",className:"absolute inset-y-0 right-3 my-auto flex size-6 items-center justify-center text-muted-foreground transition-colors hover:text-foreground",children:M?(0,t.jsx)(n.EyeOff,{className:"size-4"}):(0,t.jsx)(i.Eye,{className:"size-4"})})]}),(0,t.jsx)("p",{className:"text-right text-xs",children:(0,t.jsx)(s.default,{href:"/auth/forgot-password",className:"text-muted-foreground transition-colors hover:text-foreground",children:"Forgot password?"})})]}),b?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"rounded-xs bg-amber-50 px-3 py-2.5 text-sm text-amber-900 dark:bg-amber-950/40 dark:text-amber-200",children:e?.error}),(0,t.jsx)(c.Button,{asChild:!0,size:"pill",className:"mt-2 w-full",children:(0,t.jsxs)("a",{href:k,children:[(0,t.jsx)(p.GoogleIcon,{}),"Continue with Google"]})}),(0,t.jsx)(c.Button,{type:"button",variant:"secondary",size:"pill",className:"w-full",onClick:()=>H(!0),children:"Set password"})]}):(0,t.jsxs)(t.Fragment,{children:[e?.error&&(0,t.jsx)("p",{className:"text-center text-sm text-red-600",children:e.error}),(0,t.jsx)(c.Button,{type:"submit",size:"pill",className:"mt-2 w-full",disabled:C,children:C?"Logging in…":"Log in"})]})]}),(0,t.jsx)("p",{className:"mt-6 text-center text-sm",children:(0,t.jsx)("button",{type:"button",onClick:()=>j("choose"),className:"font-medium text-muted-foreground transition-colors hover:text-foreground",children:"Back to log in"})})]}),(0,t.jsxs)("p",{className:"mt-8 text-center text-xs text-muted-foreground",children:["Don't have an account?"," ",(0,t.jsx)(s.default,{href:`/auth/register${S}`,className:"font-medium text-foreground hover:underline",children:"Sign up"})]}),(0,t.jsx)(u,{open:f,onOpenChange:H,email:e?.email??"",googleHref:k})]})}function u({open:e,onOpenChange:s,email:r,googleHref:l}){let[d,o,m]=(0,a.useActionState)(C,void 0),[j,M]=(0,a.useState)(!1);return(0,t.jsx)(x.Dialog,{open:e,onOpenChange:s,children:(0,t.jsxs)(x.DialogContent,{className:"sm:max-w-sm",children:[(0,t.jsxs)(x.DialogHeader,{children:[(0,t.jsx)(x.DialogTitle,{children:"Set a password"}),(0,t.jsx)(x.DialogDescription,{children:d?.submitted?"Almost there. Check your email and open the confirmation link to activate your new password.":"You'll get an email to confirm it. After that you can log in with email or Google."})]}),!d?.submitted&&(0,t.jsxs)("form",{action:o,className:"flex flex-col gap-3",children:[(0,t.jsx)(h.Input,{name:"email",type:"email",autoComplete:"email",required:!0,placeholder:"Email","aria-label":"Email",defaultValue:r}),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)(h.Input,{name:"password",type:j?"text":"password",autoComplete:"new-password",required:!0,placeholder:"New password","aria-label":"New password",className:"pr-10"}),(0,t.jsx)("button",{type:"button",onClick:()=>M(e=>!e),"aria-label":j?"Hide password":"Show password",className:"absolute inset-y-0 right-3 my-auto flex size-6 items-center justify-center text-muted-foreground transition-colors hover:text-foreground",children:j?(0,t.jsx)(n.EyeOff,{className:"size-4"}):(0,t.jsx)(i.Eye,{className:"size-4"})})]}),(0,t.jsx)("p",{className:"text-xs text-muted-foreground",children:"At least 8 characters, with uppercase, lowercase, a number, and a special character."}),d?.error&&(0,t.jsx)("p",{className:"text-center text-sm text-red-600",children:d.error}),(0,t.jsx)(c.Button,{type:"submit",size:"pill",className:"mt-2 w-full",disabled:m,children:m?"Sending…":"Set password"}),(0,t.jsx)(c.Button,{asChild:!0,variant:"secondary",size:"pill",className:"w-full",children:(0,t.jsxs)("a",{href:l,children:[(0,t.jsx)(p.GoogleIcon,{}),"Continue with Google"]})})]})]})})}e.s(["default",0,function(){return(0,t.jsx)(a.Suspense,{children:(0,t.jsx)(j,{})})}],345301)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.