PageSourceSearch

https://unicorniq.ai/assets/survey-take-vxVU0fT7.js

js unicorniq.ai collected 2026-10-05 16:12:29 UTC 1,942 bytes, 1 lines download raw bytes

1import{j as e}from"./index-DP61GySm.js";import{e as i}from"./index-MuG4xkEZ.js";import{u as a,ic as o,c5 as m}from"./loader-circle-eo-mph3g.js";import{C as p,c as n}from"./use-toast-C6aFH3Eg.js";import{b as d}from"./survey-take-card-anTM9bfl.js";import{e_ as l}from"./App-0t6TVAR4.js";import"./vendor-shared-C5tCw9rW.js";import"./utils-hQAQiId-.js";import"./x-D235ZOFZ.js";import"./shield-check-BQHCFnRX.js";import"./message-square-heart-BXjW7pI6.js";import"./section-chips-C68mRSIN.js";import"./triangle-alert-CaKCF_Nq.js";import"./chevron-right-qcpptIv2.js";import"./chevron-down-C8mjF8sg.js";import"./user-round-_HzF0QiM.js";import"./toaster-BDyw2x6L.js";import"./trademark-screen-DYufZ-CB.js";import"./sparkles-B4yqwNG6.js";import"./waypoints-C6gFN1cM.js";import"./dialog-B9xd4dRw.js";import"./privacy-I8Fotoxq.js";import"./image-off-CpRV4JaY.js";import"./trial-copy-BQN_0jwW.js";import"./unicorniq-logo-B9mOeuD0.js";const u=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function A(){const{id:t}=i(),r=a(),s=!!t&&u.test(t);return e.jsx("div",{className:"flex-1 overflow-y-auto bg-muted/20","data-testid":"page-survey-take",children:e.jsxs("div",{className:"mx-auto max-w-2xl space-y-6 p-6 lg:p-10",children:[e.jsxs("header",{children:[e.jsxs("h1",{className:"flex items-center gap-2 font-display text-2xl font-bold tracking-tight",children:[e.jsx(l,{className:"h-6 w-6 text-primary"})," Survey"]}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"A few questions from your workspace. Your answers never feed the knowledge base or any assessment."})]}),e.jsx(p,{children:e.jsx(n,{className:"pt-6",children:s?e.jsx(d,{contentItemId:t,preview:!1,onSubmitted:()=>{r.invalidateQueries({queryKey:o()}),r.invalidateQueries({queryKey:m()})}}):e.jsx("p",{className:"text-sm text-muted-foreground","data-testid":"survey-take-invalid",children:"This survey link is not valid."})})})]})})}export{A as default};

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.