1"use strict";(self.webpackChunkdocs_website=self.webpackChunkdocs_website||[]).push([["19747"],{75319(e,i,s){s.r(i),s.d(i,{metadata:()=>n,default:()=>m,frontMatter:()=>l,contentTitle:()=>c,toc:()=>o,assets:()=>d});var n=JSON.parse('{"id":"libraries/demographics","title":"demographics","description":"This is a library for demographic questions. It contains one component, demographics, with three questions: gender, age, and education.","source":"@site/docs/libraries/demographics.md","sourceDirName":"libraries","slug":"/libraries/demographics","permalink":"/docs/libraries/demographics","draft":false,"unlisted":false,"editUrl":"https://github.com/revisit-studies/reVISit-studies.github.io/edit/main/docs/libraries/demographics.md","tags":[],"version":"current","lastUpdatedAt":1790372643000,"frontMatter":{},"sidebar":"reference","previous":{"title":"color-blindness","permalink":"/docs/libraries/color-blindness"},"next":{"title":"graph-literacy-scale","permalink":"/docs/libraries/graph-literacy-scale"}}'),r=s(74848),a=s(28453),t=s(34436);let l={},c="demographics",d={},o=[{value:"Available Components",id:"available-components",level:2},{value:"Available Sequences",id:"available-sequences",level:2}];function h(e){let i={h1:"h1",h2:"h2",header:"header",li:"li",p:"p",ul:"ul",...(0,a.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.header,{children:(0,r.jsx)(i.h1,{id:"demographics",children:"demographics"})}),"\n",(0,r.jsx)(i.p,{children:"This is a library for demographic questions. It contains one component, demographics, with three questions: gender, age, and education."}),"\n",(0,r.jsx)(i.h2,{id:"available-components",children:"Available Components"}),"\n",(0,r.jsxs)(i.ul,{children:["\n",(0,r.jsx)(i.li,{children:"demographics"}),"\n"]}),"\n",(0,r.jsx)(i.h2,{id:"available-sequences",children:"Available Sequences"}),"\n",(0,r.jsx)(i.p,{children:"None"}),"\n","\n",(0,r.jsx)(t.A,{demoLinks:[{name:"demographics Demo",url:"https://revisit.dev/study/library-demographics"}],codeLinks:[{name:"demographics Demo Code",url:"https://github.com/revisit-studies/study/tree/main/public/library-demographics"},{name:"demographics Library Code",url:"https://github.com/revisit-studies/study/tree/main/public/libraries/demographics"}]})]})}function m(e={}){let{wrapper:i}={...(0,a.R)(),...e.components};return i?(0,r.jsx)(i,{...e,children:(0,r.jsx)(h,{...e})}):h(e)}},34436(e,i,s){s.d(i,{A:()=>u});var n=s(74848);let r={container:"container_xt6w",linkContainer:"linkContainer_RYvw",iconContainer:"iconContainer_M3C8",demosTitle:"demosTitle_CEJp",codesTitle:"codesTitle_Z3_M",referencesTitle:"referencesTitle_uPPp"};var a=s(96540),t=s(40961),l=s(77444),c=s(67066),d=s(37875),o=s(66188),h=s(9526);function m({demoLinks:e,codeLinks:i,referenceLinks:s}){let[h,u]=(0,a.useState)(null),[p]=(0,a.useState)(()=>document.createElement("div"));return((0,a.useEffect)(()=>{let e=document.querySelector(".theme-doc-toc-desktop");if(e?.parentElement){let i=e.parentElement;i.insertBefore(p,i.firstChild),u(p)}return()=>{p.remove()}},[p]),(e||i||s)&&h)?t.createPortal((0,n.jsx)("div",{className:r.container,children:(0,n.jsx)(l.A,{type:"note",title:"Relevant Links",children:(0,n.jsxs)("div",{className:r.linkContainer,children:[e&&e.length>0?(0,n.jsxs)("div",{className:r.demosContainer,children:[(0,n.jsxs)("div",{className:r.iconContainer,children:[(0,n.jsx)(c.gc,{icon:o.CQO}),(0,n.jsx)("div",{className:r.demosTitle,children:"Live Demos"})]}),(0,n.jsx)("div",{style:{marginLeft:"23px"},children:e.map(e=>(0,n.jsx)("a",{target:"_blank",href:e.url,children:e.name}))})]}):null,i&&i.length>0?(0,n.jsxs)("div",{className:r.codesContainer,children:[(0,n.jsxs)("div",{className:r.iconContainer,children:[(0,n.jsx)(c.gc,{icon:d.Vz1}),(0,n.jsx)("div",{className:r.codesTitle,children:"Demo Codes"})]}),(0,n.jsx)("div",{style:{marginLeft:"23px"},children:i.map(e=>(0,n.jsx)("a",{target:"_blank",href:e.url,children:e.name}))})]}):null,s&&s.length>0?(0,n.jsxs)("div",{className:r.referencesContainer,children:[(0,n.jsxs)("div",{className:r.iconContainer,children:[(0,n.jsx)(c.gc,{icon:o.h8M}),(0,n.jsx)("div",{className:r.referencesTitle,children:"References"})]}),(0,n.jsx)("div",{style:{marginLeft:"23px"},children:s.map(e=>(0,n.jsx)("a",{target:"_blank",href:e.url,children:e.name}))})]}):null]})})}),h):null}let u=function({demoLinks:e,codeLinks:i,referenceLinks:s}){return(0,n.jsx)(h.A,{children:()=>(0,n.jsx)(m,{demoLinks:e,codeLinks:i,referenceLinks:s})})}}}]);
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.