PageSourceSearch

https://prepstate.dev/_next/static/chunks/7892ee5e947fdb2b.js

js prepstate.dev collected 2026-10-02 01:53:00 UTC 72,126 bytes, 66 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="7a1b7464-3df3-b489-6b13-340aa91c04f9")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,346238,e=>{e.v({name:"next",version:"16.1.6",description:"The React Framework",main:"./dist/server/next.js",license:"MIT",repository:"vercel/next.js",bugs:"https://github.com/vercel/next.js/issues",homepage:"https://nextjs.org",types:"index.d.ts",files:["dist","app.js","app.d.ts","babel.js","babel.d.ts","client.js","client.d.ts","compat","cache.js","cache.d.ts","constants.js","constants.d.ts","document.js","document.d.ts","dynamic.js","dynamic.d.ts","error.js","error.d.ts","future","legacy","script.js","script.d.ts","server.js","server.d.ts","head.js","head.d.ts","image.js","image.d.ts","link.js","link.d.ts","form.js","form.d.ts","router.js","router.d.ts","jest.js","jest.d.ts","og.js","og.d.ts","root-params.js","root-params.d.ts","types.d.ts","types.js","index.d.ts","types/global.d.ts","types/compiled.d.ts","image-types/global.d.ts","navigation-types/navigation.d.ts","navigation-types/compat/navigation.d.ts","font","navigation.js","navigation.d.ts","headers.js","headers.d.ts","navigation-types","web-vitals.js","web-vitals.d.ts","experimental/testing/server.js","experimental/testing/server.d.ts","experimental/testmode/playwright.js","experimental/testmode/playwright.d.ts","experimental/testmode/playwright/msw.js","experimental/testmode/playwright/msw.d.ts","experimental/testmode/proxy.js","experimental/testmode/proxy.d.ts"],bin:{next:"./dist/bin/next"},scripts:{dev:"cross-env NEXT_SERVER_NO_MANGLE=1 taskr",build:"taskr release",prepublishOnly:"cd ../../ && turbo run build",types:"tsc --project tsconfig.build.json --declaration --emitDeclarationOnly --stripInternal --declarationDir dist",typescript:"tsec --noEmit","ncc-compiled":"taskr ncc",storybook:"BROWSER=none storybook dev -p 6006","build-storybook":"storybook build","test-storybook":"test-storybook"},taskr:{requires:["./taskfile-webpack.js","./taskfile-ncc.js","./taskfile-swc.js","./taskfile-watch.js"]},dependencies:{"@next/env":"16.1.6","@swc/helpers":"0.5.15","baseline-browser-mapping":"^2.8.3","caniuse-lite":"^1.0.30001579",postcss:"8.4.31","styled-jsx":"5.1.6"},peerDependencies:{"@opentelemetry/api":"^1.1.0","@playwright/test":"^1.51.1","babel-plugin-react-compiler":"*",react:"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0","react-dom":"^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0",sass:"^1.3.0"},peerDependenciesMeta:{"babel-plugin-react-compiler":{optional:!0},sass:{optional:!0},"@opentelemetry/api":{optional:!0},"@playwright/test":{optional:!0}},optionalDependencies:{sharp:"^0.34.4","@next/swc-darwin-arm64":"16.1.6","@next/swc-darwin-x64":"16.1.6","@next/swc-linux-arm64-gnu":"16.1.6","@next/swc-linux-arm64-musl":"16.1.6","@next/swc-linux-x64-gnu":"16.1.6","@next/swc-linux-x64-musl":"16.1.6","@next/swc-win32-arm64-msvc":"16.1.6","@next/swc-win32-x64-msvc":"16.1.6"},devDependencies:{"@babel/code-frame":"7.26.2","@babel/core":"7.26.10","@babel/eslint-parser":"7.24.6","@babel/generator":"7.27.0","@babel/plugin-syntax-bigint":"7.8.3","@babel/plugin-syntax-dynamic-import":"7.8.3","@babel/plugin-syntax-import-attributes":"7.26.0","@babel/plugin-syntax-jsx":"7.25.9","@babel/plugin-syntax-typescript":"7.25.4","@babel/plugin-transform-class-properties":"7.25.9","@babel/plugin-transform-export-namespace-from":"7.25.9","@babel/plugin-transform-modules-commonjs":"7.26.3","@babel/plugin-transform-numeric-separator":"7.25.9","@babel/plugin-transform-object-rest-spread":"7.25.9","@babel/plugin-transform-runtime":"7.26.10","@babel/preset-env":"7.26.9","@babel/preset-react":"7.26.3","@babel/preset-typescript":"7.27.0","@babel/runtime":"7.27.0","@babel/traverse":"7.27.0","@babel/types":"7.27.0","@base-ui-components/react":"1.0.0-beta.2","@capsizecss/metrics":"3.4.0","@edge-runtime/cookies":"6.0.0","@edge-runtime/ponyfill":"4.0.0","@edge-runtime/primitives":"6.0.0","@hapi/accept":"5.0.2","@jest/transform":"29.5.0","@jest/types":"29.5.0","@modelcontextprotocol/sdk":"1.18.1","@mswjs/interceptors":"0.23.0","@napi-rs/triples":"1.2.0","@next/font":"16.1.6","@next/polyfill-module":"16.1.6","@next/polyfill-nomodule":"16.1.6","@next/react-refresh-utils":"16.1.6","@next/swc":"16.1.6","@opentelemetry/api":"1.6.0","@playwright/test":"1.51.1","@rspack/core":"1.6.7","@storybook/addon-a11y":"8.6.0","@storybook/addon-essentials":"8.6.0","@storybook/addon-interactions":"8.6.0","@storybook/addon-webpack5-compiler-swc":"3.0.0","@storybook/blocks":"8.6.0","@storybook/react":"8.6.0","@storybook/react-webpack5":"8.6.0","@storybook/test":"8.6.0","@storybook/test-runner":"0.21.0","@swc/core":"1.11.24","@swc/types":"0.1.7","@taskr/clear":"1.1.0","@taskr/esnext":"1.1.0","@types/babel__code-frame":"7.0.6","@types/babel__core":"7.20.5","@types/babel__generator":"7.27.0","@types/babel__template":"7.4.4","@types/babel__traverse":"7.20.7","@types/bytes":"3.1.1","@types/ci-info":"2.0.0","@types/compression":"
20.0.36","@types/content-disposition":"0.5.4","@types/content-type":"1.1.3","@types/cookie":"0.3.3","@types/cross-spawn":"6.0.0","@types/debug":"4.1.5","@types/express-serve-static-core":"4.17.33","@types/fresh":"0.5.0","@types/glob":"7.1.1","@types/jsonwebtoken":"9.0.0","@types/lodash":"4.14.198","@types/lodash.curry":"4.1.6","@types/path-to-regexp":"1.7.0","@types/picomatch":"2.3.3","@types/platform":"1.3.4","@types/react":"19.0.8","@types/react-dom":"19.0.3","@types/react-is":"18.2.4","@types/semver":"7.3.1","@types/send":"0.14.4","@types/serve-handler":"6.1.4","@types/shell-quote":"1.7.1","@types/tar":"6.1.5","@types/text-table":"0.2.1","@types/ua-parser-js":"0.7.36","@types/webpack-sources1":"npm:@types/[email protected]","@types/ws":"8.2.0","@vercel/ncc":"0.34.0","@vercel/nft":"0.27.1","@vercel/routing-utils":"5.2.0","@vercel/turbopack-ecmascript-runtime":"*",acorn:"8.14.0",anser:"1.4.9",arg:"4.1.0",assert:"2.0.0","async-retry":"1.2.3","async-sema":"3.0.0","axe-playwright":"2.0.3","babel-loader":"10.0.0","babel-plugin-react-compiler":"0.0.0-experimental-3fde738-20250918","babel-plugin-transform-define":"2.0.0","babel-plugin-transform-react-remove-prop-types":"0.4.24","browserify-zlib":"0.2.0",browserslist:"4.28.0",buffer:"5.6.0",busboy:"1.6.0",bytes:"3.1.1","ci-info":"watson/ci-info#f43f6a1cefff47fb361c88cf4b943fdbcaafe540","cli-select":"1.1.2","client-only":"0.0.1",commander:"12.1.0","comment-json":"3.0.3",compression:"1.7.4",conf:"5.0.0","constants-browserify":"1.0.0","content-disposition":"0.5.3","content-type":"1.0.4",cookie:"0.4.1","cross-env":"6.0.3","cross-spawn":"7.0.3","crypto-browserify":"3.12.0","css-loader":"7.1.2","css.escape":"1.5.1","cssnano-preset-default":"7.0.6","data-uri-to-buffer":"3.0.1",debug:"4.1.1",devalue:"2.0.1","domain-browser":"4.19.0","edge-runtime":"4.0.1",events:"3.3.0","find-up":"4.1.0",fresh:"0.5.2",glob:"7.1.7","gzip-size":"5.1.1","http-proxy":"1.18.1","http-proxy-agent":"5.0.0","https-browserify":"1.0.0","https-proxy-agent":"5.0.1","icss-utils":"5.1.0","ignore-loader":"0.1.2","image-size":"1.2.1","ipaddr.js":"2.2.0","is-docker":"2.0.0","is-wsl":"2.2.0","jest-worker":"27.5.1",json5:"2.2.3",jsonwebtoken:"9.0.0","loader-runner":"4.3.0","loader-utils2":"npm:[email protected]","loader-utils3":"npm:[email protected]","lodash.curry":"4.1.1","mini-css-extract-plugin":"2.4.4",msw:"2.3.0",nanoid:"3.1.32","native-url":"0.3.4","neo-async":"2.6.1","node-html-parser":"5.3.3",ora:"4.0.4","os-browserify":"0.3.0","p-limit":"3.1.0","p-queue":"6.6.2","path-browserify":"1.0.1","path-to-regexp":"6.3.0",picomatch:"4.0.1","postcss-flexbugs-fixes":"5.0.2","postcss-modules-extract-imports":"3.0.0","postcss-modules-local-by-default":"4.2.0","postcss-modules-scope":"3.0.0","postcss-modules-values":"4.0.0","postcss-preset-env":"7.4.3","postcss-safe-parser":"6.0.0","postcss-scss":"4.0.3","postcss-value-parser":"4.2.0",process:"0.11.10",punycode:"2.1.1","querystring-es3":"0.2.1","raw-body":"2.4.1","react-refresh":"0.12.0",recast:"0.23.11","regenerator-runtime":"0.13.4","safe-stable-stringify":"2.5.0","sass-loader":"16.0.5","schema-utils2":"npm:[email protected]","schema-utils3":"npm:[email protected]",semver:"7.3.2",send:"0.18.0","serve-handler":"6.1.6","server-only":"0.0.1",setimmediate:"1.0.5","shell-quote":"1.7.3","source-map":"0.6.1","source-map-loader":"5.0.0","source-map08":"npm:[email protected]","stacktrace-parser":"0.1.10",storybook:"8.6.0","stream-browserify":"3.0.0","stream-http":"3.1.1","strict-event-emitter":"0.5.0","string-hash":"1.1.3",string_decoder:"1.3.0","strip-ansi":"6.0.0","style-loader":"4.0.0",superstruct:"1.0.3",tar:"6.1.15",taskr:"1.1.0",terser:"5.27.0","terser-webpack-plugin":"5.3.9","text-table":"0.2.0","timers-browserify":"2.0.12","tty-browserify":"0.0.1",typescript:"5.9.2","ua-parser-js":"1.0.35",unistore:"3.4.1",util:"0.12.4","vm-browserify":"1.1.2",watchpack:"2.4.0","web-vitals":"4.2.1",webpack:"5.98.0","webpack-sources1":"npm:[email protected]","webpack-sources3":"npm:[email protected]",ws:"8.2.3",zod:"3.25.76","zod-validation-error":"3.4.0"},keywords:["react","framework","nextjs","web","server","node","front-end","backend","cli","vercel"],engines:{node:">=20.9.0"}})},969064,(e,t,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=e.r(702537);function s(e,t){let r=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=s.current;t&&(s.current=null,t())}else e&&(r.current=a(e,n)),t&&(s.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},209979,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},55666,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return v}};for(var s in n)Object.defineProperty(r,s,{enumerable:!0,get:n[s]});let a=e.r(744066),i=e.r(631933),l=a._(e.r(702537)),o=e.r(180855),c=e.r(296123),d=e.r(969064),u=e.r(247127),p=e.r(517365);e.r(815495);let m=e.r(239946),f=e.r(69472),h=e.r(511111);function g(e){return"string"==typeof e?e:(0,o.formatUrl)(e)}function y(t){var r;let n,s,a,[o,y]=(0,l.useOptimistic)(m.IDLE_LINK_STATUS),v=(0,l.useRef)(null),{href:x,as:j,children:w,prefetch:N=null,passHref:k,replace:S,shallow:C,scroll:E,onClick:R,onMouseEnter:_,onTouchStart:A,legacyBehavior:L=!1,onNavigate:P,ref:T,unstable_dynamicOnHover:M,...I}=t;n=w,L&&("string"==typeof n||"number"==typeof n)&&(n=(0,i.jsx)("a",{children:n}));let O=l.default.useContext(c.AppRouterContext),U=!1!==N,z=!1!==N?null===(r=N)||"auto"===r?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:B}=l.default.useMemo(()=>{let e=g(x);return{href:e,as:j?g(j):e}},[x,j]);if(L){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=l.default.Children.only(n)}let F=L?s&&"object"==typeof s&&s.ref:T,W=l.default.useCallback(e=>(null!==O&&(v.current=(0,m.mountLinkInstance)(e,D,O,z,U,y)),()=>{v.current&&((0,m.unmountLinkForCurrentNavigation)(v.current),v.current=null),(0,m.unmountPrefetchableInstance)(e)}),[U,D,O,z,y]),$={ref:(0,d.useMergedRef)(W,F),onClick(t){L||"function"!=typeof R||R(t),L&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!O||t.defaultPrevented||function(t,r,n,s,a,i,o){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(199723);l.default.startTransition(()=>{u(n||r,a?"replace":"push",i??!0,s.current)})}}(t,D,B,v,S,E,P)},onMouseEnter(e){L||"function"!=typeof _||_(e),L&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),O&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){L||"function"!=typeof A||A(e),L&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),O&&U&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,u.isAbsoluteUrl)(B)?$.href=B:L&&!k&&("a"!==s.type||"href"in s.props)||($.href=(0,p.addBasePath)(B)),a=L?l.default.cloneElement(s,$):(0,i.jsx)("a",{...I,...$,children:n}),(0,i.jsx)(b.Provider,{value:o,children:a})}e.r(209979);let b=(0,l.createContext)(m.IDLE_LINK_STATUS),v=()=>(0,l.useContext)(b);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},137874,475299,e=>{"use strict";var t=e.i(702537),r=e.i(553239),n=e.i(538422),s=e.i(631933);function a(e){var r;let a,i=(r=e,(a=t.forwardRef((e,r)=>{let{children:s,...a}=e;if(t.isValidElement(s)){var i;let e,l,o=(i=s,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,t){let r={...t};for(let n in t){let s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?r[n]=(...e)=>{let t=a(...e);return s(...e),t}:s&&(r[n]=s):"style"===n?r[n]={...s,...a}:"className"===n&&(r[n]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}(a,s.props);return s.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,o):o),t.cloneElement(s,c)}return t.Children.count(s)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,a),l=t.forwardRef((e,r)=>{let{children:n,...a}=e,l=t.Children.toArray(n),o=l.find(d);if(o){let e=o.props.children,n=l.map(r=>r!==o?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,s.jsx)(i,{...a,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,s.jsx)(i,{...a,ref:r,children:n})});return l.displayName=`${e}.Slot`,l}var i=a("Slot"),l=Symbol("radix.slottable");function o(e){let t=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}var c=o("Slottable");function d(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===l}e.s(["Root",()=>i,"Slot",()=>i,"Slottable",()=>c,"createSlot",()=>a,"createSlottable",()=>o],475299);var u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=a(`Primitive.${r}`),i=t.forwardRef((e,t)=>{let{asChild:a,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,s.jsx)(a?n:r,{...i,ref:t})});return i.displayName=`Primitive.${r}`,{...e,[r]:i}},{});function p(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>u,"dispatchDiscreteCustomEvent",()=>p],137874)},538422,e=>{"use strict";var t=e.i(702537);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,s=e.map(e=>{let s=r(e,t);return n||"function"!=typeof s||(n=!0),s});if(n)return()=>{for(let t=0;t<s.length;t++){let n=s[t];"function"==typeof n?n():r(e[t],null)}}}}function s(...e){return t.useCallback(n(...e),e)}e.s(["composeRefs",()=>n,"useComposedRefs",()=>s])},367665,294237,e=>{"use strict";let t,r,n;var s=e.i(631933),a=e.i(702537),i=e.i(538422),l=Symbol.for("react.lazy"),o=a[" use ".trim().toString()];function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=((n=a.forwardRef((e,t)=>{let{children:r,...n}=e;if(c(r)&&"function"==typeof o&&(r=o(r._payload)),a.isValidElement(r)){var s;let e,l,o=(s=r,(l=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(l=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let r={...t};for(let n in t){let s=e[n],a=t[n];/^on[A-Z]/.test(n)?s&&a?r[n]=(...e)=>{let t=a(...e);return s(...e),t}:s&&(r[n]=s):"style"===n?r[n]={...s,...a}:"className"===n&&(r[n]=[s,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==a.Fragment&&(c.ref=t?(0,i.composeRefs)(t,o):o),a.cloneElement(r,c)}return a.Children.count(r)>1?a.Children.only(null):null})).displayName="Slot.SlotClone",t=n,(r=a.forwardRef((e,r)=>{let{children:n,...i}=e;c(n)&&"function"==typeof o&&(n=o(n._payload));let l=a.Children.toArray(n),d=l.find(p);if(d){let e=d.props.children,n=l.map(t=>
2t!==d?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:r,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...i,ref:r,children:n})})).displayName="Slot.Slot",r),u=Symbol("radix.slottable");function p(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}var m=e.i(7284);let f=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,h=m.clsx,g=(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return h(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(e=>{let t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;let i=f(t)||f(n);return s[e][i]}),l=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return h(e,i,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:n,...s}=t;return Object.entries(s).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...l}[t]):({...a,...l})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)};e.s(["cva",0,g],294237);var y=e.i(746908);let b=g("cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-full text-sm font-medium transition-[transform,background-color,border-color,color,box-shadow] duration-150 ease-out active:scale-[0.97] disabled:pointer-events-none disabled:opacity-50 disabled:active:scale-100 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-accent-700",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border border-line bg-card hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",xs:"h-6 gap-1 px-2.5 text-xs has-[>svg]:px-2 [&_svg:not([class*='size-'])]:size-3",sm:"h-8 gap-1.5 px-3.5 has-[>svg]:px-3",lg:"h-10 px-6 has-[>svg]:px-4",icon:"size-9","icon-xs":"size-6 [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function v({className:e,variant:t="default",size:r="default",asChild:n=!1,...a}){return(0,s.jsx)(n?d:"button",{"data-slot":"button","data-variant":t,"data-size":r,className:(0,y.cn)(b({variant:t,size:r,className:e})),...a})}e.s(["Button",()=>v],367665)},667784,e=>{"use strict";var t=e.i(702537);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:a=2,absoluteStrokeWidth:i,className:l="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...s,width:n,height:n,stroke:e,strokeWidth:i?24*Number(a)/Number(n):a,className:r("lucide",l),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]])),i=(e,s)=>{let i=(0,t.forwardRef)(({className:i,...l},o)=>(0,t.createElement)(a,{ref:o,iconNode:s,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...l}));return i.displayName=n(e),i};e.s(["default",()=>i],667784)},559514,e=>{"use strict";let t=new class{baseURL;clientAuthTokenGetter;constructor(){this.baseURL="https://api.prepstate.dev"}setClientAuthTokenGetter(e){this.clientAuthTokenGetter=e}
2async request(e,t={}){var r;let n=new Headers(t.headers),s=t.body;if(!n.has("Authorization")&&this.clientAuthTokenGetter){let e=await this.clientAuthTokenGetter();e&&n.set("Authorization",`Bearer ${e}`)}let a=t.method?.toUpperCase()??"GET";return this.shouldSerializeJSONBody(s)&&(n.has("Content-Type")||n.set("Content-Type","application/json"),s=JSON.stringify(s)),this.buildURL(e),n.has("Authorization"),r=n.has("Cookie"),fetch(this.buildURL(e),{...t,method:a,headers:n,body:s,credentials:t.credentials??"include"})}get(e,t={}){return this.request(e,{...t,method:"GET"})}post(e,t={}){return this.request(e,{...t,method:"POST"})}put(e,t={}){return this.request(e,{...t,method:"PUT"})}patch(e,t={}){return this.request(e,{...t,method:"PATCH"})}delete(e,t={}){return this.request(e,{...t,method:"DELETE"})}buildURL(e){if(/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(e)||0===this.baseURL.length)return e;let t=this.baseURL.endsWith("/")?this.baseURL:`${this.baseURL}/`;return new URL(e.startsWith("/")?e.slice(1):e,t).toString()}shouldSerializeJSONBody(e){return!(!e||"object"!=typeof e||e instanceof FormData||e instanceof URLSearchParams||e instanceof Blob||e instanceof ArrayBuffer||ArrayBuffer.isView(e))}};e.s(["httpClient",0,t])},291967,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t])},604619,e=>{"use strict";var t=e.i(702537),r=e.i(631933);function n(e,n){let s=t.createContext(n),a=e=>{let{children:n,...a}=e,i=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(s.Provider,{value:i,children:n})};return a.displayName=e+"Provider",[a,function(r){let a=t.useContext(s);if(a)return a;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function s(e,n=[]){let a=[],i=()=>{let r=a.map(e=>t.createContext(e));return function(n){let s=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:s}}),[n,s])}};return i.scopeName=e,[function(n,s){let i=t.createContext(s),l=a.length;a=[...a,s];let o=n=>{let{scope:s,children:a,...o}=n,c=s?.[e]?.[l]||i,d=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(c.Provider,{value:d,children:a})};return o.displayName=n+"Provider",[o,function(r,a){let o=a?.[e]?.[l]||i,c=t.useContext(o);if(c)return c;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let s=n.reduce((t,{useScope:r,scopeName:n})=>{let s=r(e)[`__scope${n}`];return{...t,...s}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:s}),[s])}};return n.scopeName=r.scopeName,n}(i,...n)]}e.s(["createContext",()=>n,"createContextScope",()=>s])},433053,e=>{"use strict";var t=e.i(702537),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},639662,e=>{"use strict";var t=e.i(702537),r=e.i(433053);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function s({prop:e,defaultProp:r,onChange:s=()=>{},caller:a}){let[i,l,o]=function({defaultProp:e,onChange:r}){let[s,a]=t.useState(e),i=t.useRef(s),l=t.useRef(r);return n(()=>{l.current=r},[r]),t.useEffect(()=>{i.current!==s&&(l.current?.(s),i.current=s)},[s,i]),[s,a,l]}({defaultProp:r,onChange:s}),c=void 0!==e,d=c?e:i;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,a])}return[d,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&o.current?.(r)}else l(t)},[c,e,l,o])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>s],639662)},878953,e=>{"use strict";var t=e.i(702537),r=e.i(433053),n=t[" useId ".trim().toString()]||(()=>void 0),s=0;function a(e){let[a,i]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||i(e=>e??String(s++))}
2,[e]),e||(a?`radix-${a}`:"")}e.s(["useId",()=>a])},38404,e=>{"use strict";var t=e.i(702537),r=e.i(538422),n=e.i(433053),s=e=>{var s;let i,l,{present:o,children:c}=e,d=function(e){var r,s;let[i,l]=t.useState(),o=t.useRef(null),c=t.useRef(e),d=t.useRef("none"),[u,p]=(r=e?"mounted":"unmounted",s={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>s[e][t]??e,r));return t.useEffect(()=>{let e=a(o.current);d.current="mounted"===u?e:"none"},[u]),(0,n.useLayoutEffect)(()=>{let t=o.current,r=c.current;if(r!==e){let n=d.current,s=a(t);e?p("MOUNT"):"none"===s||t?.display==="none"?p("UNMOUNT"):r&&n!==s?p("ANIMATION_OUT"):p("UNMOUNT"),c.current=e}},[e,p]),(0,n.useLayoutEffect)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=a(o.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(p("ANIMATION_END"),!c.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(d.current=a(o.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{o.current=e?getComputedStyle(e):null,l(e)},[])}}(o),u="function"==typeof c?c({present:d.isPresent}):t.Children.only(c),p=(0,r.useComposedRefs)(d.ref,(s=u,(l=(i=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?s.ref:(l=(i=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?s.props.ref:s.props.ref||s.ref));return"function"==typeof c||d.isPresent?t.cloneElement(u,{ref:p}):null};function a(e){return e?.animationName||"none"}s.displayName="Presence",e.s(["Presence",()=>s])},360707,e=>{"use strict";var t=e.i(726940);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),s=r(0,t.useFormatter);e.s(["useFormatter",()=>s,"useTranslations",()=>n])},66563,507942,914097,34166,651841,643799,523771,e=>{"use strict";let t=["recruiter_screen","technical_phone","system_design","onsite","hiring_manager","team_fit"];function r(e){return"AI_FEATURE_REQUIRES_PAID_PLAN"===e}function n(e){return"string"==typeof e?r(e):"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message&&r(e.message)}e.s(["interviewSalaryNullCursorToken",0,"__SALARY_NULL__","interviewStages",0,t,"interviewStatusColors",0,{dialog:"violet",notStarted:"slate",sentRequest:"amber",process:"blue",offer:"green",reject:"red"},"interviewStatuses",0,["notStarted","sentRequest","dialog","process","offer","reject"],"interviewWorkFormats",0,["remote","hybrid","office","flexible","other"]],507942),e.s(["communicationChannels",0,["LinkedIn","DOU","Djinni","Email","Messenger","Other"]],914097),[...t],e.s(["DEFAULT_AI_OUTPUT_LANGUAGE",0,"source","aiOutputLanguages",0,["source","en","uk"]],34166),e.s(["BILLING_PLAN_PRICE",0,{early_bird:3,standard:6},"BILLING_SUCCESS_PAID_QUERY_PARAM",0,"paid","BILLING_SUCCESS_PAID_QUERY_VALUE",0,"1","BILLING_SUCCESS_PATH",0,"/app/billing/success","EARLY_BIRD_SLOT_LIMIT",0,50,"FREE_TIER_AI_FEATURE_RUN_LIMIT",0,3,"isAiFeaturePaywallError",()=>n,"isAiFeaturePaywallMessage",()=>r],651841),e.s(["MATCH_DEMO_FREE_RUNS",0,2],643799),e.s(["supportedLocales",0,["en","uk"]],523771),e.s([],66563)},727781,e=>{"use strict";var t=e.i(559514);async function r(){let e=await t.httpClient.get("/api/v1/billing/status");if(!e.ok)throw Error("Failed to fetch billing status");return e.json()}async function n(){let e=await t.httpClient.get("/api/v1/billing/stats");if(!e.ok)throw Error("Failed to fetch billing stats");return e.json()}async function s(){if(!(await t.httpClient.delete("/api/v1/billing/subscription")).ok)throw Error("Failed to cancel subscription")}async function a(e){let r=await t.httpClient.post("/api/v1/billing/checkout",{body:{plan:e}});if(!r.ok)throw Error("Failed to create checkout");return r.json()}e.s(["cancelBillingSubscription",()=>
2s,"createBillingCheckout",()=>a,"getBillingPublicStats",()=>n,"getBillingStatus",()=>r])},528580,e=>{"use strict";let t=(0,e.i(667784).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["default",()=>t])},196492,e=>{"use strict";var t=e.i(631933),r=e.i(702537),n=e.i(291967),s=e.i(604619),a=e.i(639662),i=e.i(433053),l=e.i(538422),o=e.i(137874),c=e.i(38404),d=e.i(878953),u="Collapsible",[p,m]=(0,s.createContextScope)(u),[f,h]=p(u),g=r.forwardRef((e,n)=>{let{__scopeCollapsible:s,open:i,defaultOpen:l,disabled:c,onOpenChange:p,...m}=e,[h,g]=(0,a.useControllableState)({prop:i,defaultProp:l??!1,onChange:p,caller:u});return(0,t.jsx)(f,{scope:s,disabled:c,contentId:(0,d.useId)(),open:h,onOpenToggle:r.useCallback(()=>g(e=>!e),[g]),children:(0,t.jsx)(o.Primitive.div,{"data-state":w(h),"data-disabled":c?"":void 0,...m,ref:n})})});g.displayName=u;var y="CollapsibleTrigger",b=r.forwardRef((e,r)=>{let{__scopeCollapsible:s,...a}=e,i=h(y,s);return(0,t.jsx)(o.Primitive.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":w(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...a,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,i.onOpenToggle)})});b.displayName=y;var v="CollapsibleContent",x=r.forwardRef((e,r)=>{let{forceMount:n,...s}=e,a=h(v,e.__scopeCollapsible);return(0,t.jsx)(c.Presence,{present:n||a.open,children:({present:e})=>(0,t.jsx)(j,{...s,ref:r,present:e})})});x.displayName=v;var j=r.forwardRef((e,n)=>{let{__scopeCollapsible:s,present:a,children:c,...d}=e,u=h(v,s),[p,m]=r.useState(a),f=r.useRef(null),g=(0,l.useComposedRefs)(n,f),y=r.useRef(0),b=y.current,x=r.useRef(0),j=x.current,N=u.open||p,k=r.useRef(N),S=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,i.useLayoutEffect)(()=>{let e=f.current;if(e){S.current=S.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,x.current=t.width,k.current||(e.style.transitionDuration=S.current.transitionDuration,e.style.animationName=S.current.animationName),m(a)}},[u.open,a]),(0,t.jsx)(o.Primitive.div,{"data-state":w(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!N,...d,ref:g,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":j?`${j}px`:void 0,...e.style},children:N&&c})});function w(e){return e?"open":"closed"}e.s(["Collapsible",()=>g,"CollapsibleContent",()=>x,"CollapsibleTrigger",()=>b,"Content",()=>x,"Root",()=>g,"Trigger",()=>b,"createCollapsibleScope",()=>m],703844);var N=e.i(703844),N=N;function k({...e}){return(0,t.jsx)(N.Root,{"data-slot":"collapsible",...e})}function S({...e}){return(0,t.jsx)(N.CollapsibleTrigger,{"data-slot":"collapsible-trigger",...e})}function C({...e}){return(0,t.jsx)(N.CollapsibleContent,{"data-slot":"collapsible-content",...e})}e.s(["Collapsible",()=>k,"CollapsibleContent",()=>C,"CollapsibleTrigger",()=>S],196492)},774261,e=>{"use strict";var t=e.i(631933),r=e.i(726940),n=e.i(401664),s=e.i(702537),a=s["use".trim()],i=e.i(781443),l=e.i(221232),o=e.i(947121),c=e.i(945730);let{Link:d,redirect:u,usePathname:p,useRouter:m,getPathname:f}=function(e){let{Link:d,config:u,getPathname:p,...m}=function(e,r){var c,d,u;let p={...c=r||{},localePrefix:"object"==typeof(u=c.localePrefix)?u:{mode:u||"always"},localeCookie:!!((d=c.localeCookie)??1)&&{name:"NEXT_LOCALE",sameSite:"lax",..."object"==typeof d&&d},localeDetection:c.localeDetection??!0,alternateLinks:c.alternateLinks??!0},m=p.pathnames,f=(0,s.forwardRef)(function({href:r,locale:n,...s},o){let c,d;"object"==typeof r?(c=r.pathname,d=r.params):c=r;let u=(0,i.isLocalizableHref)(r),f=e(),g=(0,i.isPromise)(f)?a(f):f,y=u?h({locale:n||g,href:null==m?c:{pathname:c,params:d},forcePrefix:null!=n||void 0}):c;return(0,t.jsx)(l.default,{ref:o,href:"object"==typeof r?{...r,pathname:y}:y,locale:n,localeCookie:p.localeCookie,...s})});function h(e){let t,{forcePrefix:r,href:n,locale:s}=e;return null==m?"object"==typeof n?(t=n.pathname,n.query&&(t+=(0,o.seri
2alizeSearchParams)(n.query))):t=n:t=(0,o.compileLocalizedPathname)({locale:s,...(0,o.normalizeNameOrNameWithParams)(n),pathnames:p.pathnames}),(0,o.applyPathnamePrefix)(t,s,p,r)}function g(e){return function(t,...r){return e(h(t),...r)}}return{config:p,Link:f,redirect:g(n.redirect),permanentRedirect:g(n.permanentRedirect),getPathname:h}}(r.useLocale,e);return{...m,Link:d,usePathname:function(){let e,t,a=(e=(0,n.usePathname)(),t=(0,r.useLocale)(),(0,s.useMemo)(()=>{if(!e)return e;let r=e,n=(0,i.getLocalePrefix)(t,u.localePrefix);if((0,i.hasPathnamePrefixed)(n,e))r=(0,i.unprefixPathname)(e,n);else if("never"!==u.localePrefix.mode&&u.localePrefix.prefixes){let n=(0,i.getLocaleAsPrefix)(t);(0,i.hasPathnamePrefixed)(n,e)&&(r=(0,i.unprefixPathname)(e,n))}return r},[u.localePrefix,t,e])),l=(0,r.useLocale)();return(0,s.useMemo)(()=>a&&u.pathnames?(0,o.getRoute)(l,a,u.pathnames):a,[l,a])},useRouter:function(){let e=(0,n.useRouter)(),t=(0,r.useLocale)(),a=(0,n.usePathname)();return(0,s.useMemo)(()=>{function r(e){return function(r,n){let{locale:s,...i}=n||{},l=[p({href:r,locale:s||t,forcePrefix:null!=s||void 0})];Object.keys(i).length>0&&l.push(i),(0,c.default)(u.localeCookie,a,t,s),e(...l)}}return{...e,push:r(e.push),replace:r(e.replace),prefetch:r(e.prefetch)}},[t,a,e])},getPathname:p}}({locales:["en","uk"],defaultLocale:"en",localePrefix:"as-needed"});function h(){let e=(0,r.useLocale)(),n=p(),s=m();function a(e){s.replace(n,{locale:e})}return(0,t.jsxs)("div",{className:"flex items-center rounded-md border border-border text-xs font-medium overflow-hidden",children:[(0,t.jsx)("button",{onClick:()=>a("en"),className:`px-2.5 py-1.5 transition-colors ${"en"===e?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:"EN"}),(0,t.jsx)("button",{onClick:()=>a("uk"),className:`px-2.5 py-1.5 transition-colors ${"uk"===e?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:"UA"})]})}e.s(["LocaleSwitcher",()=>h],774261)},418296,340510,556888,e=>{"use strict";var t=e.i(631933),r=e.i(667784);let n=(0,r.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);e.s(["Moon",()=>n],340510);let s=(0,r.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);e.s(["Sun",()=>s],556888);var a=e.i(532879),i=e.i(367665),l=e.i(716820);function o(){let{setTheme:e}=(0,a.useTheme)(),r=t=>()=>{e(t)};return(0,t.jsxs)(l.DropdownMenu,{children:[(0,t.jsx)(l.DropdownMenuTrigger,{asChild:!0,children:(0,t.jsxs)(i.Button,{variant:"outline",size:"icon-sm",children:[(0,t.jsx)(s,{className:"h-[1.2rem] w-[1.2rem] scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90"}),(0,t.jsx)(n,{className:"absolute h-[1.2rem] w-[1.2rem] scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0"}),(0,t.jsx)("span",{className:"sr-only",children:"Toggle theme"})]})}),(0,t.jsxs)(l.DropdownMenuContent,{align:"end",children:[(0,t.jsx)(l.DropdownMenuItem,{onClick:r("light"),children:"Light"}),(0,t.jsx)(l.DropdownMenuItem,{onClick:r("dark"),children:"Dark"}),(0,t.jsx)(l.DropdownMenuItem,{onClick:r("system"),children:"System"})]})]})}e.s(["ModeToggle",()=>o],418296)},221232,781443,947121,945730,e=>{"use strict";var t=e.i(55666),r=e.i(401664),n=e.i(702537),s=e.i(726940),a=e.i(907023);function i(e){let t;return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&(null==(t="object"==typeof e?e.pathname:e)||!!t.startsWith("/"))}function l(e,t){return e.replace(RegExp(`^${t}`),"")||"/"}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function c(e,t){return t===e||t.startsWith(`${e}/`)}function d(e,t,r){return"string"==typeof e?e:e[t]||r}function u(e){let t=function(){try{return"true"===a.default.env._next_intl_trailing_slash}catch{return!1}}(),[r,...n]=e.split("#"),s=n.join("#"),i=r;if("/"!==i){let e=i.endsWith("/");t&&!e?i+="/":!t&&e&&(i=i.slice(0,-1))}return s&&(i+="#"+s),i}function p(e,t){let r,n=u(e),s=u(t);return(r=n.replace(/\/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"(?:/(.*))?").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)"),RegExp(`^${r}$`)).test(s)}function m(e,t){return"never"!==t.mode&&t.prefixes?.[e]||f(e)}function f(e){return"/"+e}function h(e){return e.includes("[[...")}function g(e){return e.includes("[...")}function y(e){return e.includes("[")}function b(e,t){let r=e.split("/"),n=t.split("/"),s=Math.max(r.length,n.length);for(let e=0;e<s;e++){let t=r[e],s=n[e];if(!t&&s)return -1;if(t&&!s)return 1;if(t||s){if(!y(t)&&y(s))return -1;if(y(t)&&!y(s))return 1;if(!g(t)&&g(s))return -1;if(g(t)&&!g(s))return 1;if(!h(t)&&h(s))return -1;if(h(t)&&!h(s))return 1}}return 0}function v(e){return e.sort(b)}function x(e){return"function"==typeof e.then}function j(e){return"string"==typeof e?{pathname:e}:e}function w(e){let t=new URLSearchParams;
2for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}function N({pathname:e,locale:t,params:r,pathnames:n,query:s}){function a(e){let a,i=n[e];return i?(a=d(i,t,e),r&&Object.entries(r).forEach(([e,t])=>{let r,n;Array.isArray(t)?(r=`(\\[)?\\[...${e}\\](\\])?`,n=t.map(e=>String(e)).join("/")):(r=`\\[${e}\\]`,n=String(t)),a=a.replace(RegExp(r,"g"),n)}),a=new URL(a=a.replace(/\[\[\.\.\..+\]\]/g,""),"http://l").pathname):a=e,a=u(a),s&&(a+=w(s)),a}if("string"==typeof e)return a(e);{let{pathname:t,...r}=e;return{...r,pathname:a(t)}}}function k(e,t,r){let n=v(Object.keys(r)),s=decodeURI(t);for(let t of n){let n=r[t];if("string"==typeof n){if(p(n,s))return t}else if(p(d(n,e,t),s))return t}return t}function S(e,t=window.location.pathname){return"/"===e?t:t.replace(e,"")}function C(e,t,r,n){let s,{mode:a}=r.localePrefix;return void 0!==n?s=n:i(e)&&("always"===a?s=!0:"as-needed"===a&&(s=r.domains?!r.domains.some(e=>e.defaultLocale===t):t!==r.defaultLocale)),s?o(m(t,r.localePrefix),e):e}function E(e,t,r,n){if(!e||n===r||null==n||!t)return;let s=S(t),{name:a,...i}=e;i.path||(i.path=""!==s?s:"/");let l=`${a}=${n};`;for(let[e,t]of Object.entries(i))l+=`${"maxAge"===e?"max-age":e}`,"boolean"!=typeof t&&(l+="="+t),l+=";";document.cookie=l}e.s(["getLocaleAsPrefix",()=>f,"getLocalePrefix",()=>m,"getLocalizedTemplate",()=>d,"getSortedPathnames",()=>v,"hasPathnamePrefixed",()=>c,"isLocalizableHref",()=>i,"isPromise",()=>x,"matchesPathname",()=>p,"normalizeTrailingSlash",()=>u,"prefixPathname",()=>o,"unprefixPathname",()=>l],781443),e.s(["applyPathnamePrefix",()=>C,"compileLocalizedPathname",()=>N,"getBasePath",()=>S,"getRoute",()=>k,"normalizeNameOrNameWithParams",()=>j,"serializeSearchParams",()=>w],947121),e.s(["default",()=>E],945730);var R=e.i(631933),_=(0,n.forwardRef)(function({href:e,locale:n,localeCookie:a,onClick:i,prefetch:l,...o},c){let d=(0,s.useLocale)(),u=null!=n&&n!==d,p=(0,r.usePathname)();return u&&(l=!1),(0,R.jsx)(t.default,{ref:c,href:e,hrefLang:u?n:void 0,onClick:function(e){E(a,p,d,n),i&&i(e)},prefetch:l,...o})});e.s(["default",()=>_],221232)},756353,e=>{"use strict";let t="onboarding";function r(e){let r=new URLSearchParams({[t]:e});return`/app/dashboard?${r.toString()}`}e.s(["DASHBOARD_ONBOARDING_ACTION_SEARCH_PARAM",0,t,"MODAL_ONBOARDING_ACTION",0,"modal-onboarding","buildDashboardPathWithOnboardingAction",()=>r])},453393,e=>{"use strict";var t=e.i(631933),r=e.i(746908);function n({className:e}){return(0,t.jsxs)("span",{className:(0,r.cn)("font-sans text-sm font-semibold tracking-tight text-foreground",e),children:["prep",(0,t.jsx)("span",{className:"text-emerald-500",children:"state"})]})}e.s(["Logo",()=>n])},120437,e=>{"use strict";let t="https://chromewebstore.google.com/detail/piiinfgaogfpegmekbbcjnmmidddhlfb",r=`${t}/reviews`;e.s(["CHROME_WEB_STORE_REVIEW_URL",0,r,"CHROME_WEB_STORE_URL",0,t])},50313,e=>{"use strict";var t=e.i(401664),r=e.i(702537),n=e.i(97257);function s(s){var a;let i=(null==(a=(0,t.useSelectedLayoutSegments)()[0])?void 0:a.startsWith("/_not-found"))||!1;return(0,r.useEffect)(()=>{n.canUseKeyless&&!i&&e.A(994109).then(e=>e.syncKeylessConfigAction({...s,returnUrl:window.location.href}))},[i]),s.children}e.s(["KeylessCookieSync",()=>s])},844437,e=>{"use strict";var t=e.i(631933),r=e.i(325441),n=e.i(756353);function s(){return(0,t.jsx)(r.GoogleOneTap,{signUpForceRedirectUrl:(0,n.buildDashboardPathWithOnboardingAction)(n.MODAL_ONBOARDING_ACTION),signInForceRedirectUrl:"/app/dashboard"})}e.s(["LandingOneTap",()=>s])},228643,e=>{"use strict";var t=e.i(702537);function r(){return(0,t.useEffect)(()=>{let e=0,t=()=>{e=0;let t=window.innerHeight||document.documentElement.clientHeight;document.querySelectorAll(".landing-root .reveal:not(.in)").forEach(e=>{let r=e.getBoundingClientRect();r.top<.92*t&&r.bottom>0&&e.classList.add("in")})},r=()=>{e||(e=requestAnimationFrame(t))};t(),requestAnimationFrame(t);let n=setTimeout(t,250),s=setTimeout(()=>{let e=window.innerHeight||document.documentElement.clientHeight;document.querySelectorAll(".landing-root .reveal").forEach(t=>{let r=t.getBoundingClientRect();r.top<e&&r.bottom>0&&.99>
2parseFloat(getComputedStyle(t).opacity)&&(t.style.transition="none",t.style.opacity="1",t.style.transform="none",t.classList.add("in"))})},1600);return window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),clearTimeout(n),clearTimeout(s),cancelAnimationFrame(e)}},[]),(0,t.useEffect)(()=>{if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=0,t=()=>{let t=window.innerHeight;Array.from(document.querySelectorAll(".landing-root [data-speed]")).forEach(e=>{let r=parseFloat(e.dataset.speed??"0"),n=e.getBoundingClientRect(),s=n.top+n.height/2;e.style.transform=`translate3d(0, ${(-((s-t/2)/t)*r*60).toFixed(1)}px, 0)`}),e=0},r=()=>{e||(e=requestAnimationFrame(t))};return t(),window.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),()=>{window.removeEventListener("scroll",r),window.removeEventListener("resize",r),cancelAnimationFrame(e)}},[]),null}e.s(["LandingEffects",()=>r])},912898,e=>{"use strict";var t=e.i(631933),r=e.i(55666),n=e.i(702537),s=e.i(360707),a=e.i(453393),i=e.i(418296),l=e.i(774261);function o(){let e=(0,s.useTranslations)("marketing.nav"),[o,c]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>c(window.scrollY>12);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,t.jsx)("header",{className:"nav"+(o?" scrolled":""),children:(0,t.jsxs)("div",{className:"lp-container nav-inner",children:[(0,t.jsx)("a",{className:"nav-logo",href:"#top",children:(0,t.jsx)(a.Logo,{className:"text-lg"})}),(0,t.jsxs)("nav",{className:"nav-links",children:[(0,t.jsx)("a",{href:"#try",className:"nav-live",children:e("tryLive")}),(0,t.jsx)("a",{href:"#how",children:e("howItWorks")}),(0,t.jsx)("a",{href:"#game",className:"nav-live",children:e("play")}),(0,t.jsx)("a",{href:"#roast",className:"nav-live",children:e("roast")}),(0,t.jsx)("a",{href:"#pricing",children:e("pricing")})]}),(0,t.jsxs)("div",{className:"nav-right",children:[(0,t.jsx)(l.LocaleSwitcher,{}),(0,t.jsx)(i.ModeToggle,{}),(0,t.jsx)(r.default,{className:"nav-signin",href:"/sign-in",children:e("signIn")}),(0,t.jsx)(r.default,{className:"btn btn-primary btn-sm",href:"/sign-up",children:e("signUp")})]})]})})}e.s(["LandingNav",()=>o])},497289,e=>{"use strict";var t=e.i(631933),r=e.i(702537),n=e.i(401664),s=e.i(793858),a=e.i(218253),i=e.i(528580),i=i,l=e.i(756353),o=e.i(447400);function c(){return(0,t.jsxs)("svg",{"aria-hidden":"true",width:"18",height:"18",viewBox:"0 0 24 24",style:{flexShrink:0},children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M23.52 12.27c0-.85-.08-1.66-.22-2.45H12v4.64h6.46a5.52 5.52 0 0 1-2.4 3.62v3h3.88c2.27-2.09 3.58-5.17 3.58-8.81Z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 24c3.24 0 5.96-1.07 7.94-2.91l-3.88-3.01c-1.07.72-2.45 1.15-4.06 1.15-3.13 0-5.78-2.11-6.72-4.95H1.27v3.11A12 12 0 0 0 12 24Z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.28 14.28a7.21 7.21 0 0 1 0-4.56V6.61H1.27a12 12 0 0 0 0 10.78l4.01-3.11Z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 4.77c1.76 0 3.34.61 4.59 1.8l3.44-3.44A11.98 11.98 0 0 0 1.27 6.61l4.01 3.11C6.22 6.88 8.87 4.77 12 4.77Z"})]})}function d({source:e,label:d}){let{signUp:u,isLoaded:p}=(0,a.useSignUp)(),{isSignedIn:m}=(0,s.useAuth)(),f=(0,n.useRouter)(),[h,g]=(0,r.useState)(!1),y=(0,r.useCallback)(async()=>{if(!h){if(m)return void f.push("/app/dashboard");if(u){g(!0),(0,o.capturePostHogEvent)(o.POSTHOG_EVENT_NAMES.googleAuthStarted,{source:e});try{await u.authenticateWithRedirect({strategy:"oauth_google",redirectUrl:"/sso-callback",redirectUrlComplete:(0,l.buildDashboardPathWithOnboardingAction)(l.MODAL_ONBOARDING_ACTION)})}catch{g(!1),f.push("/sign-up")}}}},[u,h,e,m,f]);return(0,t.jsxs)("button",{type:"button",className:"btn btn-ghost btn-lg",style:{display:"inline-flex",alignItems:"center",gap:10},onClick:y,disabled:!p||h,children:[h?(0,t.jsx)(i.default,{size:18,className:"animate-spin"}):(0,t.jsx)(c,{}),d]})}e.s(["GoogleAuthButton",()=>d],497289)},957761,e=>{"use strict";var t=e.i(631933),r=e.i(702537),n=e.i(360707),s=e.i(55666);e.i(66563);var a=e.i(643799),i=e.i(559514);
2class l extends Error{constructor(){super("rate_limited"),this.name="MatchDemoRateLimitError"}}async function o(e,t){let r=await i.httpClient.post("/api/v1/match-demo/run",{body:{jobDescription:e,cv:t}});if(429===r.status)throw new l;if(!r.ok)throw Error("Failed to run match demo");return r.json()}let c="prepstate_demo_runs";function d(){try{let e=window.localStorage.getItem(c),t=e?Number.parseInt(e,10):0;return Number.isFinite(t)&&t>0?t:0}catch{return 0}}let u=[{id:"stripe-staff",label:"Staff Engineer · Stripe",company:"Stripe",jd:`Staff Software Engineer — Payments Infrastructure
3
4About the role:
5We're looking for a Staff Engineer to lead the design of Stripe's distributed payments infrastructure. You will architect systems that process millions of transactions per second with strict latency and correctness guarantees.
6
7Requirements:
8- 8+ years building large-scale distributed systems
9- Deep expertise in TypeScript and Node.js
10- Experience designing APIs at scale and event-driven architectures
11- Strong background with Kafka, gRPC, and observability tooling
12- Track record mentoring senior engineers and driving technical strategy
13- Experience with payments, fintech, or high-throughput systems a plus
14
15You'll own system design for services handling billions in payment volume, and partner with product to ship reliable, well-instrumented APIs.`,cv:`Senior Software Engineer — 8 years experience
16
17Summary: Backend engineer specialising in distributed systems and API design.
18
19Experience:
20- Architected a real-time event pipeline in Node.js + TypeScript processing 2.4M events/day
21- Designed and shipped public REST and GraphQL APIs used by 40+ internal teams
22- Led migration to a microservices architecture, cutting p99 latency by 38%
23- Mentored 4 mid-level engineers; ran the backend guild
24
25Skills: TypeScript, Node.js, distributed systems, API design, PostgreSQL, Redis, Docker, AWS, observability`},{id:"vercel-fe",label:"Senior Frontend · Vercel",company:"Vercel",jd:`Senior Frontend Engineer — Dashboard
26
27We build the Vercel dashboard used by millions of developers. We need a Senior Frontend Engineer fluent in React, Next.js, and TypeScript.
28
29Requirements:
30- 5+ years frontend engineering
31- Expert React and Next.js (App Router, RSC)
32- TypeScript, modern CSS, Tailwind, design systems
33- Strong eye for performance, accessibility (a11y), and polish
34- Experience with component libraries and building reusable UI
35- Comfort with testing (Playwright, Jest)`,cv:`Frontend Engineer — 6 years
36
37Summary: Product-focused frontend engineer who ships polished, accessible UI.
38
39Experience:
40- Built a component library in React + TypeScript adopted across 7 product teams
41- Improved Lighthouse performance score from 62 to 96 on the main app
42- Led accessibility audit bringing the app to WCAG 2.1 AA
43- Shipped a Tailwind-based design system with dark mode
44
45Skills: React, TypeScript, JavaScript, Tailwind, CSS, accessibility, Jest, performance, design systems`},{id:"anthropic-ml",label:"ML Platform · AI Lab",company:"an AI lab",jd:`Software Engineer — ML Platform
46
47Join our ML platform team building infrastructure that trains and serves large language models. You'll work on data pipelines, distributed training, and high-throughput inference.
48
49Requirements:
50- Strong Python and systems engineering background
51- Experience with distributed systems and Kubernetes
52- Familiarity with LLMs, data pipelines, and GPU infrastructure
53- Comfort with observability, monitoring, and reliability at scale
54- Bonus: Rust, Go, or experience with inference serving`,cv:`Platform Engineer — 5 years
55
56Summary: Infrastructure engineer focused on data and reliability.
57
58Experience:
59- Built batch + streaming data pipelines in Python processing 12TB/day
60- Ran services on Kubernetes across 3 regions with 99.95% uptime
61- Implemented observability stack (metrics, traces, logs) for 30+ services
62- Reduced inference cost 41% via autoscaling and caching
63
64Skills: Python, Kubernetes, Docker, distributed systems, monitoring, observability, AWS, data pipeline`}];function p({value:e,size:n=168}){let[s,a]=(0,r.useState)(0),i=(0,r.useRef)(0);(0,r.useEffect)(()=>
64{if(window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches)return i.current=requestAnimationFrame(()=>a(e)),()=>cancelAnimationFrame(i.current);let t=performance.now(),r=n=>{let s=Math.min(1,(n-t)/1100);a(Math.round(e*(1-Math.pow(1-s,3)))),s<1&&(i.current=requestAnimationFrame(r))};return i.current=requestAnimationFrame(r),()=>cancelAnimationFrame(i.current)},[e]);let l=(n-18)/2,o=2*Math.PI*l;return(0,t.jsxs)("div",{style:{position:"relative",width:n,height:n},children:[(0,t.jsxs)("svg",{width:n,height:n,style:{transform:"rotate(-90deg)"},children:[(0,t.jsx)("circle",{cx:n/2,cy:n/2,r:l,fill:"none",stroke:"var(--muted)",strokeWidth:"11"}),(0,t.jsx)("circle",{cx:n/2,cy:n/2,r:l,fill:"none",stroke:s>=70?"var(--green)":s>=45?"var(--warning)":"var(--destructive)",strokeWidth:"11",strokeLinecap:"round",strokeDasharray:o,strokeDashoffset:o*(1-s/100),style:{transition:"stroke .4s ease"}})]}),(0,t.jsxs)("div",{style:{position:"absolute",inset:0,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[(0,t.jsx)("div",{className:"mono",style:{fontSize:44,fontWeight:700,lineHeight:1,letterSpacing:"-0.03em"},children:s}),(0,t.jsx)("div",{className:"mono",style:{fontSize:11,color:"var(--muted-foreground)",letterSpacing:"0.12em",marginTop:4},children:"/ 100 MATCH"})]})]})}function m(){let e=(0,n.useTranslations)("marketing.landing.cover");return(0,t.jsxs)("div",{className:"sx-cover card",children:[(0,t.jsx)("div",{className:"row",style:{justifyContent:"space-between",marginBottom:10},children:(0,t.jsxs)("div",{className:"row",style:{gap:8},children:[(0,t.jsx)("span",{className:"badge badge-primary badge-mono",children:e("badge")}),(0,t.jsx)("span",{className:"muted",style:{fontSize:13},children:e("generatedFrom")})]})}),(0,t.jsxs)("div",{className:"sx-cover-body",children:[(0,t.jsxs)("p",{style:{fontSize:14,marginBottom:8},children:[(0,t.jsx)("strong",{children:e("subject")})," ",e("subjectValue")]}),(0,t.jsx)("p",{style:{fontSize:14,color:"var(--muted-foreground)"},children:e("body")}),(0,t.jsx)("div",{className:"sx-cover-blur",children:(0,t.jsxs)("div",{className:"sx-lock",children:[(0,t.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"}),(0,t.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),(0,t.jsx)("span",{children:e("unlock")}),(0,t.jsx)(s.default,{className:"btn btn-primary btn-sm",href:"/sign-up",children:e("createAccount")})]})})]})]})}function f({data:e}){let r=(0,n.useTranslations)("marketing.landing.result");return(0,t.jsxs)("div",{className:"sx-result",children:[(0,t.jsxs)("div",{className:"sx-result-head",children:[(0,t.jsx)(p,{value:e.score}),(0,t.jsxs)("div",{className:"stack",style:{gap:10,flex:1,minWidth:0},children:[(0,t.jsx)("div",{className:"row wrap",style:{gap:8},children:(0,t.jsx)("span",{className:"badge badge-mono "+("ai"===e.source?"badge-primary":""),children:r("ai"===e.source?"liveAi":"instant")})}),(0,t.jsx)("p",{style:{fontSize:15,color:"var(--foreground)"},children:e.summary})]})]}),(0,t.jsxs)("div",{className:"sx-cols",children:[(0,t.jsxs)("div",{className:"stack",style:{gap:8},children:[(0,t.jsxs)("div",{className:"sx-col-label",children:[(0,t.jsx)("span",{className:"sx-tick"}),r("strengths")]}),(0,t.jsx)("div",{className:"row wrap",style:{gap:7},children:e.strengths.map((e,r)=>(0,t.jsx)("span",{className:"chip chip-match",children:e},r))})]}),(0,t.jsxs)("div",{className:"stack",style:{gap:8},children:[(0,t.jsxs)("div",{className:"sx-col-label",children:[(0,t.jsx)("span",{className:"sx-cross"}),r("gaps")]}),(0,t.jsx)("div",{className:"row wrap",style:{gap:7},children:e.gaps.map((e,r)=>(0,t.jsx)("span",{className:"chip chip-gap",children:e},r))})]})]}),(0,t.jsxs)("div",{className:"stack",style:{gap:10},children:[(0,t.jsxs)("div",{className:"sx-col-label",children:[(0,t.jsx)("span",{className:"sx-bolt"}),r("suggestions")]}),(0,t.jsx)("div",{className:"stack",style:{gap:10},children:e.suggestions.map((e,r)=>(0,t.jsxs)("div",{className:"sx-sugg",style:{animationDelay:`${.15+.09*r}s`}
64,children:[(0,t.jsxs)("div",{className:"row",style:{justifyContent:"space-between",gap:10,marginBottom:4},children:[(0,t.jsx)("div",{style:{fontWeight:600,fontSize:14.5},children:e.title}),(0,t.jsx)("span",{className:"pri pri-"+e.pri,children:e.pri})]}),(0,t.jsx)("p",{className:"muted",style:{fontSize:13},children:e.why})]},r))})]}),(0,t.jsx)(m,{})]})}function h(){return(0,t.jsx)("span",{className:"ps-spinner","aria-hidden":"true"})}function g({phase:e}){let r=(0,n.useTranslations)("marketing.landing.analyzer"),s=[r("loading.parsing"),r("loading.extracting"),r("loading.scoring"),r("loading.ranking")];return(0,t.jsx)("div",{className:"sx-empty",children:"loading"===e?(0,t.jsxs)("div",{className:"stack",style:{gap:18,alignItems:"center"},children:[(0,t.jsx)(h,{}),(0,t.jsx)("div",{className:"sx-steps",children:s.map((e,r)=>(0,t.jsxs)("div",{className:"sx-step",style:{animationDelay:`${.55*r}s`},children:[(0,t.jsx)("span",{className:"sx-step-dot"})," ",e]},r))})]}):(0,t.jsxs)("div",{className:"stack",style:{gap:14,alignItems:"center",textAlign:"center",maxWidth:320},children:[(0,t.jsx)("div",{className:"sx-empty-ring"}),(0,t.jsx)("div",{style:{fontWeight:600,fontSize:17},children:r("emptyTitle")}),(0,t.jsx)("p",{className:"muted",style:{fontSize:14},children:r("emptyBody")})]})})}function y(e){return e.trim()?e.trim().split(/\s+/).length:0}function b(){let e=(0,n.useTranslations)("marketing.landing.analyzer"),{phase:i,result:p,error:m,gated:b,remaining:v,run:x}=function(){let[e,t]=(0,r.useState)("idle"),[n,s]=(0,r.useState)(null),[i,u]=(0,r.useState)(null),[p,m]=(0,r.useState)(!1),[f,h]=(0,r.useState)(()=>Math.max(0,a.MATCH_DEMO_FREE_RUNS-d()));return{phase:e,result:n,error:i,gated:p,remaining:f,run:(0,r.useCallback)(async(e,r)=>{t("loading"),u(null),m(!1);try{let n=await o(e,r);try{window.localStorage.setItem(c,String(d()+1))}catch{}s(n),h(n.remaining),t("done")}catch(e){if(e instanceof l){m(!0),h(0),t("idle");return}u("Something went wrong. Please try again."),t("idle")}},[]),reset:(0,r.useCallback)(()=>{t("idle"),s(null),u(null),m(!1)},[])}}(),[j,w]=(0,r.useState)(""),[N,k]=(0,r.useState)(""),[S,C]=(0,r.useState)(""),[E,R]=(0,r.useState)(null),_=y(j),A=y(N),L=b||v<=0,P=S||m||"",T=async()=>{if(L)return;let t=_<12?e("errJdShort"):A<12?e("errCvShort"):"";t?C(t):(C(""),await x(j,N))};return(0,t.jsx)("div",{className:"sx",id:"sandbox",children:(0,t.jsxs)("div",{className:"sx-grid",children:[(0,t.jsxs)("div",{className:"sx-inputs card",children:[(0,t.jsxs)("div",{className:"sx-input-head",children:[(0,t.jsxs)("div",{className:"row",style:{gap:8},children:[(0,t.jsx)("span",{className:"sx-dot sx-dot-r"}),(0,t.jsx)("span",{className:"sx-dot sx-dot-y"}),(0,t.jsx)("span",{className:"sx-dot sx-dot-g"})]}),(0,t.jsx)("span",{className:"mono",style:{fontSize:12,color:"var(--muted-foreground)"},children:"analyzer.tsx"})]}),(0,t.jsxs)("div",{className:"sx-samples",children:[(0,t.jsx)("span",{className:"mono",style:{fontSize:11.5,color:"var(--muted-foreground)",letterSpacing:"0.06em"},children:e("trySample")}),(0,t.jsx)("div",{className:"row wrap",style:{gap:6},children:u.map(e=>(0,t.jsx)("button",{type:"button",className:"sx-sample-chip"+(E===e.id?" on":""),onClick:()=>{w(e.jd),k(e.cv),R(e.id),C("")},children:e.label},e.id))})]}),(0,t.jsxs)("label",{className:"sx-field",children:[(0,t.jsxs)("div",{className:"sx-field-label",children:[(0,t.jsx)("span",{children:e("jobDescription")}),(0,t.jsxs)("span",{className:"mono sx-count",children:[_,"w"]})]}),(0,t.jsx)("textarea",{value:j,onChange:e=>{w(e.target.value),R(null)},placeholder:e("jdPlaceholder"),rows:6})]}),(0,t.jsxs)("label",{className:"sx-field",children:[(0,t.jsxs)("div",{className:"sx-field-label",children:[(0,t.jsx)("span",{children:e("cvText")}),(0,t.jsxs)("span",{className:"mono sx-count",children:[A,"w"]})]}),(0,t.jsx)("textarea",{value:N,onChange:e=>{k(e.target.value),R(null)},placeholder:e("cvPlaceholder"),rows:6})]}),P&&(0,t.jsx)("div",{className:"sx-err",children:P}),(0,t.jsxs)("div",{className:"sx-actions",children:[L?(0,t.jsxs)(s.default,{className:"btn btn-primary",href:"/sign-up",
64style:{flex:1},children:[(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[(0,t.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2"}),(0,t.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]}),e("gatedCta")]}):(0,t.jsx)("button",{type:"button",className:"btn btn-primary",onClick:T,disabled:"loading"===i,style:{flex:1},children:"loading"===i?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(h,{})," ",e("analyzing")]}):(0,t.jsxs)(t.Fragment,{children:[e("analyze")," ",(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.2",children:(0,t.jsx)("path",{d:"M5 12h14M13 6l6 6-6 6"})})]})}),(0,t.jsx)("div",{className:"sx-runs",title:"Free analyses in this demo",children:e.rich("runsLeft",{remaining:Math.max(0,v),mono:e=>(0,t.jsx)("span",{className:"mono",children:e})})})]}),(0,t.jsx)("p",{className:"sx-fineprint",children:e("fineprint")})]}),(0,t.jsx)("div",{className:"sx-output card",children:"done"===i&&p?(0,t.jsx)(f,{data:p}):(0,t.jsx)(g,{phase:"loading"===i?"loading":"idle"})})]})})}let v=["React","Next.js","TypeScript","Node.js","GraphQL","gRPC","Rust","Go","Python","Kubernetes","Docker","AWS","GCP","Terraform","CI/CD","PostgreSQL","Redis","Kafka","Microservices","System design","API design","Tailwind","Accessibility","Testing","Observability","Machine learning","LLMs","Data pipelines","WebSockets","OAuth"],x=["A. Rivera","J. Okafor","M. Tanaka","S. Kowalski","D. Mehta","L. Andersson","R. Costa","N. Volkov"],j="prepstate_gap_best";function w(e,t,r=new Set){let n=[],s=new Set(r);for(;n.length<t&&s.size<e.length;){let t=e[Math.floor(Math.random()*e.length)];s.has(t)||(s.add(t),n.push(t))}return n}function N(e){let t=w(v,6+(.5>Math.random()?0:1));return{name:x[e%x.length],years:3+Math.floor(8*Math.random()),skills:t}}function k(e){let t;return{skill:t=.5>Math.random()?e.skills[Math.floor(Math.random()*e.skills.length)]:w(v,1,new Set(e.skills))[0],covered:e.skills.includes(t)}}function S(){let e=(0,n.useTranslations)("marketing.landing.game"),[s,a]=(0,r.useState)("intro"),[i,l]=(0,r.useState)(30),[o,c]=(0,r.useState)(0),[d,u]=(0,r.useState)(0),[p,m]=(0,r.useState)(()=>{let e=window.localStorage.getItem(j),t=e?parseInt(e,10):0;return Number.isFinite(t)?t:0}),[f,h]=(0,r.useState)(()=>N(0)),[g,y]=(0,r.useState)(0),[b,v]=(0,r.useState)(0),[x,w]=(0,r.useState)(null),[S,C]=(0,r.useState)(null),[E,R]=(0,r.useState)(!1),_=(0,r.useRef)(null),A=(0,r.useRef)(0);(0,r.useEffect)(()=>{A.current=o},[o]);let L=()=>{c(0),u(0),l(30);let e=N(0);h(e),y(0),v(0),w(k(e)),C(null),R(!1),a("playing")};(0,r.useEffect)(()=>{if("playing"===s)return _.current=setInterval(()=>{l(e=>e<=.1?(_.current&&clearInterval(_.current),a("over"),m(e=>{let t=Math.max(e,A.current);return window.localStorage.setItem(j,String(t)),t}),0):Math.round((e-.1)*10)/10)},100),()=>{_.current&&clearInterval(_.current)}},[s]);let P=e=>{if("playing"!==s||S||!x)return;let t=e===x.covered,r=Date.now();if(t){let e=10+2*d;c(t=>t+e),u(e=>e+1)}else u(0),l(e=>Math.max(0,e-2));C({ok:t,key:r}),setTimeout(()=>{C(null);let e=b+1;if(e>=4){let e=N(g+1);h(e),y(g+1),v(0),w(k(e)),R(!0),setTimeout(()=>R(!1),600)}else v(e),w(k(f))},360)};(0,r.useEffect)(()=>{let e=e=>{"playing"===s&&("ArrowLeft"===e.key&&P(!0),"ArrowRight"===e.key&&P(!1))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)});let T=i/30*100;return(0,t.jsxs)("div",{className:"game card",children:[(0,t.jsxs)("div",{className:"game-top",children:[(0,t.jsxs)("div",{className:"row",style:{gap:10},children:[(0,t.jsxs)("span",{className:"badge badge-mono",children:[(0,t.jsx)("span",{className:"game-live-dot"}),e("badge")]}),(0,t.jsx)("span",{className:"muted",style:{fontSize:13},children:e("drill")})]}),(0,t.jsxs)("div",{className:"row",style:{gap:18},children:[(0,t.jsxs)("div",{className:"game-stat",children:[(0,t.jsx)("span",{className:"mono game-stat-v",children:o}),(0,t.jsx)("span",{className:"game-stat-l",children:e("score")})]}),(0,t.jsxs)("div",{className:"game-stat",children:[(0,t.jsx)("span",{className:"mono game-stat-v",children:p}),(0,t.jsx)("span",{className:"game-stat-l",children:e("best")})]})]})]}),"playing"===s&&(0,t.jsx)("div",{className:"game-timebar",children:(0,t.jsx)("div",{className:"game-timebar-fill",style:{width:T+"%",background:T<25?"var(--destructive)":"var(--primary)"}})}),(0,t.jsxs)("div",{className:"game-stage",children:["intro"===s&&(0,t.jsxs)("div",{className:"game-panel",children:[(0,t.jsx)("h3",{style:{fontSize:26,marginBottom:8},children:e("introTitle")}),(0,t.jsx)("p",{className:"muted",style:{maxWidth:460,marginInline:"auto",fontSize:15},children:e.rich("introBody",{b:e=>(0,t.jsx)("strong",{style:{color:"var(--foreground)"},children:e}),i:e=>(0,t.jsx)("em",{children:e})})}),(0,t.jsx)("button",{type:"button",className:"btn btn-primary btn-lg",style:{marginTop:22},onClick:L,children:e("start")}),(0,t.jsx)("p",{className:"muted mono",style:{fontSize:12,marginTop:12},children:e("hintKeys")})]}),"playing"===s&&x&&(0,t.jsxs)("div",{className:"game-play",children:[(0,t.jsxs)("div",{className:"game-cv"+(E?" flip":""),children:[(0,t.jsxs)("div",{className:"game-cv-head",children:[(0,t.jsx)("div",{className:"game-avatar",children:f.name[0]}),(0,t.jsxs)("div",{className:"stack",children:[(0,t.jsx)("span",{style:{fontWeight:600,fontSize:14},children:f.name}),(0,t.jsx)("span",{className:"muted mono",style:{fontSize:11},children:e("yrsCv",{years:f.years})})]}),E&&(0,t.jsx)("span",{className:"game-newcand",children:e("newCv")})]}),(0,t.jsx)("div",{className:"row wrap",style:{gap:6},children:f.skills.map((e,r)=>(0,t.jsx)("span",{className:"chip",style:{fontSize:11.5},children:e},r))})]}),(0,t.jsxs)("div",{className:"game-ask",children:[(0,t.jsx)("span",{className:"muted mono",style:{fontSize:11.5,letterSpacing:"0.1em"},children:e("roleRequires")}),(0,t.jsx)("div",{className:"game-skill"+(S?S.ok?" ok":" bad":""),children:x.skill},x.skill+b+g),d>1&&!S&&(0,t.jsx)("span",{className:"game-combo mono",children:e("combo",{combo:d})}),S&&(0,t.jsx)("span",{className:"game-verdict "+(S.ok?"ok":"bad"),children:e(S.ok?"verdictCorrect":x.covered?"verdictWasCovered":"verdictWasGap")})]}),(0,t.jsxs)("div",{className:"game-btns",children:[(0,t.jsxs)("button",{type:"button",className:"game-btn cov",onClick:()=>P(!0),children:[(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}),e("onCv")]}),(0,t.jsxs)("button",{type:"button",className:"game-btn gap",onClick:()=>P(!1),children:[(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.4",children:(0,t.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})}),e("itsGap")]})]})]}),"over"===s&&(0,t.jsxs)("div",{className:"game-panel",children:[(0,t.jsx)("span",{className:"muted mono",style:{fontSize:12,letterSpacing:"0.1em"},children:e("timesUp")}),(0,t.jsx)("div",{className:"mono",style:{fontSize:64,fontWeight:700,lineHeight:1,margin:"6px 0"},children:o}),(0,t.jsxs)("p",{className:"muted",style:{fontSize:14},children:[o>=p&&o>0?e("newBest"):"",e(o>=160?"msgHigh":o>=80?"msgMid":"msgLow")]}),(0,t.jsx)("p",{className:"muted",style:{fontSize:14,maxWidth:440,marginInline:"auto",marginTop:6},children:e.rich("resultBody",{i:e=>(0,t.jsx)("em",{children:e})})}),(0,t.jsxs)("div",{className:"row",style:{gap:10,justifyContent:"center",marginTop:20},children:[(0,t.jsx)("button",{type:"button",className:"btn btn-ghost",onClick:L,children:e("playAgain")}),(0,t.jsx)("a",{className:"btn btn-primary",href:"#try",children:e("tryReal")})]})]})]})]})}function C(e){return"#game"===e?"play":"#try"===e||"#sandbox"===e?"try":null}function E(){let e=(0,n.useTranslations)("marketing.landing"),[s,a]=(0,r.useState)("try");(0,r.useEffect)(()=>{let e=()=>{let e=C(window.location.hash);e&&a(e)};return e(),window.addEventListener("hashchange",e),()=>window.removeEventListener("hashchange",e)},[]);let i=(0,r.useCallback)(e=>{C(window.location.hash)&&history.replaceState(null,"",window.location.pathname+window.location.search),a(e)},[]);return(0,t.jsxs)("div",{className:"interactive-frame reveal",children:[(0,t.jsxs)("div",{className:"interactive-bar",children:[(0,t.jsxs)("span",{className:"interactive-live",children:[(0,t.jsx)("span",{className:"dot"}),e("sandbox.live")]}),(0,t.jsxs)("div",{className:"demo-tabs",children:[(0,t.jsx)("button",{type:"button",className:"demo-tab"+("try"===s?" on":""),"aria-pressed":"try"===s,onClick:()=>i("try"),children:e("demo.tabTry")}),(0,t.jsx)("button",{type:"button",className:"demo-tab"+("play"===s?" on":""),"aria-pressed":"play"===s,onClick:()=>i("play"),children:e("demo.tabPlay")})]}),(0,t.jsxs)("span",{className:"interactive-hint",children:[(0,t.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M9 11V6a2 2 0 0 1 4 0v5m0-3a2 2 0 0 1 4 0v3m0-1a2 2 0 0 1 4 0v4a6 6 0 0 1-6 6h-2a6 6 0 0 1-5.2-3l-2.3-4a2 2 0 0 1 3.4-2L9 13"})}),e("try"===s?"sandbox.frameHint":"game.frameHint")]})]}),(0,t.jsxs)("div",{className:"demo-slot",children:[(0,t.jsx)("div",{style:{display:"try"===s?void 0:"none"},children:(0,t.jsx)(b,{})}),"play"===s?(0,t.jsx)("div",{className:"game-wrap",children:(0,t.jsx)(S,{})}):null]})]})}e.s(["DemoTabs",()=>E],957761)},406735,91436,e=>{"use strict";var t=e.i(631933),r=e.i(702537),n=e.i(727781),s=e.i(120437);function a({initialCount:e,suffix:s="+"}){let[a,i]=(0,r.useState)(null!=e&&e>=100?e:null),[l,o]=(0,r.useState)(0),c=(0,r.useRef)(null),d=(0,r.useRef)(!1);return((0,r.useEffect)(()=>{let e=!0;return(0,n.getBillingPublicStats)().then(t=>{e&&i(t.userCount>=100?t.userCount:null)}
64).catch(()=>{}),()=>{e=!1}},[]),(0,r.useEffect)(()=>{if(null==a||!c.current)return;if(window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches){let e=requestAnimationFrame(()=>o(a));return()=>cancelAnimationFrame(e)}let e=c.current,t=new IntersectionObserver(e=>{e[0]?.isIntersecting&&((()=>{if(d.current)return;d.current=!0;let e=performance.now(),t=r=>{let n=Math.min(1,(r-e)/1400);o(Math.round(a*(1-Math.pow(1-n,3)))),n<1&&requestAnimationFrame(t)};requestAnimationFrame(t),setTimeout(()=>o(a),1500)})(),t.disconnect())},{threshold:.2});return t.observe(e),()=>t.disconnect()},[a]),null==a)?null:(0,t.jsxs)("span",{className:"livecount",ref:c,children:[l.toLocaleString(),s]})}s.CHROME_WEB_STORE_URL,s.CHROME_WEB_STORE_URL,e.s(["MIN_PUBLIC_USER_COUNT",0,100],91436),e.s(["LiveUserCount",()=>a],406735)},301893,e=>{"use strict";var t=e.i(631933),r=e.i(360707),n=e.i(91436),s=e.i(406735);function a({initialCount:e}){let a=(0,r.useTranslations)("marketing.landing.finalCta"),i=null!=e&&e>=n.MIN_PUBLIC_USER_COUNT;return(0,t.jsx)("p",{className:"lead",style:{marginInline:"auto",marginTop:14},children:i?a.rich("lead",{count:()=>(0,t.jsx)(s.LiveUserCount,{initialCount:e})}):a("leadNoCount")})}e.s(["UserCountLine",()=>a])},905173,e=>{e.v(t=>Promise.all(["static/chunks/f70880e4b01deadf.js"].map(t=>e.l(t))).then(()=>t(338685)))},994109,e=>{e.v(t=>Promise.all(["static/chunks/0116a09716b4f2d2.js"].map(t=>e.l(t))).then(()=>t(625149)))}]);
65
66//# debugId=7a1b7464-3df3-b489-6b13-340aa91c04f9

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.