PageSourceSearch

https://cryptothreads.io/_next/static/chunks/8398.f8238fc5a0a4323f.js

js cryptothreads.io collected 2026-10-02 21:47:09 UTC 6,930 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8398],{64686:(e,t,i)=>{i.d(t,{UO:()=>n,No:()=>s});let a={"list-quiz-001":{id:"list-quiz-001",question:"Bitcoin is? What is Bitcoin",image:{src:"/_next/static/media/meme-quiz1.67bfdd73.webp",height:230,width:347,blurDataURL:"data:image/webp;base64,UklGRkwAAABXRUJQVlA4IEAAAADwAQCdASoIAAUAAkA4JQBOjXAAW6FMCwAA/kixig382Zzx2QgNwgPNXPIW3fSVIEFAUkvgom/XqovDFehwQAAA",blurWidth:8,blurHeight:5},imageAlt:"Bitcoin characteristics quiz about pseudonymity, decentralization, and immutability",options:{A:"Pseudonymous",B:"Decentralized",C:"Immutable",D:"All of the above"},correctAnswer:"D",explanation:"Bitcoin is pseudonymous, decentralized, and its confirmed transaction history is designed to be difficult to alter.",topics:["bitcoin"],difficulty:"easy",version:1},"list-quiz-002":{id:"list-quiz-002",question:"This person invented ₿itcoin",image:{src:"/_next/static/media/meme-quiz2.9c8c4762.webp",height:230,width:364,blurDataURL:"data:image/webp;base64,UklGRkYAAABXRUJQVlA4IDoAAAAQAgCdASoIAAUAAkA4JZQCdH8AGZ9kXpwAAP78QcXYt9d1faOO6nCkCdm4OzAgUEeUU9gRztnoAAAA",blurWidth:8,blurHeight:5},imageAlt:"Quiz image asking who invented Bitcoin",options:{A:"Satoshi Nakamoto",B:"The International Monetary Fund",C:"The Federal Reserve",D:"Shamoshi Takadomo"},correctAnswer:"A",explanation:"Bitcoin was introduced under the pseudonym Satoshi Nakamoto.",topics:["bitcoin"],difficulty:"easy",version:1},"list-quiz-006":{id:"list-quiz-006",question:"The first commercial ₿itcoin transaction was for a pizza worth ___ BTC?",image:{src:"/_next/static/media/meme-quiz6.9c347b24.webp",height:223,width:397,blurDataURL:"data:image/webp;base64,UklGRkwAAABXRUJQVlA4IEAAAADwAQCdASoIAAQAAkA4JbACdLoAArMaFgAA/o+3g2gsf1n92aeIbzKnz/vW45w/ubi3P14//kqEt5/fF3uYAAAA",blurWidth:8,blurHeight:4},imageAlt:"Bitcoin pizza transaction quiz about the first commercial Bitcoin purchase",options:{A:"1",B:"10",C:"100",D:"10000"},correctAnswer:"D",explanation:"The first widely recognized commercial Bitcoin purchase involved two pizzas bought for 10,000 BTC in 2010.",topics:["bitcoin"],difficulty:"easy",version:1}};function n(e){var t;return e&&null!=(t=a[e])?t:null}function s(e){return e?[...new Set(e.split(",").map(e=>e.trim()).filter(Boolean))].map(e=>a[e]).filter(e=>!!e):[]}},88398:(e,t,i)=>{i.r(t),i.d(t,{default:()=>m});var a=i(95155),n=i(66766),s=i(6874),o=i.n(s),c=i(35695),r=i(12115),l=i(64686),u=i(59152);let d=["A","B","C","D"];function h(e){return"string"==typeof e&&d.includes(e)}function A(e,t){if(!e)return null;if(h(e))return e;try{let i=JSON.parse(e);if(2!==i.storageVersion||i.quizVersion!==t||!h(i.answer))return null;return i.answer}catch(e){return null}}function m(e){var t,i;let s=e["quiz-id"],h=(0,l.UO)(s),m=(0,c.usePathname)(),{isLoggedIn:p,isLoading:g}=(0,u.n)(),v=null!=(t=null==h?void 0:h.version)?t:1,k=g||!p,f=(0,r.useMemo)(()=>{let e=m||"/";return"/auth/?type=register&returnUrl=".concat(encodeURIComponent(e))},[m]),_=(0,r.useMemo)(()=>{let e=m||"/";return"/auth/?type=login&returnUrl=".concat(encodeURIComponent(e))},[m]),q=(0,r.useMemo)(()=>h?"".concat("ct-learn-quiz-").concat(h.id):"",[h]),[w,x]=(0,r.useState)(null),[b,y]=(0,r.useState)(!1),[N,j]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{if(x(null),y(!1),j(!1),!q)return void j(!0);try{let e=window.localStorage.getItem(q),t=A(e,v);t&&(x(t),y(!0))}catch(e){}finally{j(!0)}},[v,q]),(0,r.useEffect)(()=>{if(!q)return;let e=e=>{if(e.key!==q)return;let t=A(e.newValue,v);x(t),y(!!t),j(!0)};return window.addEventListener("storage",e),()=>{window.removeEventListener("storage",e)}},[v,q]),h)?(0,a.jsxs)("section",{className:"ct-quick-vote","data-quiz-id":h.id,"aria-labelledby":"quick-vote-question-".concat(h.id),children:[(0,a.jsx)("div",{className:"ct-quick-vote__quote","aria-hidden":"true",children:"“"}),(0,a.jsxs)("div",{className:"ct-quick-vote__head",children:[(0,a.jsx)("span",{className:"ct-quick-vote__eyebrow",children:"Quick Vote"}),h.difficulty&&(0,a.jsx)("span",{className:"ct-quick-vote__difficulty",children:h.difficulty})]}),(0,a.jsxs)("div",{className:["ct-quick-vote__body",k?"is-locked":""].filter(
1Boolean).join(" "),"aria-hidden":k,children:[(0,a.jsx)("h3",{id:"quick-vote-question-".concat(h.id),className:"ct-quick-vote__question",children:h.question}),h.image&&(0,a.jsx)("figure",{className:"ct-quick-vote__media",children:(0,a.jsx)(n.default,{src:h.image,alt:null!=(i=h.imageAlt)?i:h.question,className:"ct-quick-vote__image",sizes:"(max-width: 768px) calc(100vw - 72px), 720px",placeholder:"blur"})}),(0,a.jsx)("div",{className:"ct-quick-vote__options",role:"group","aria-label":h.question,"aria-busy":!N||g,children:d.map(e=>{let t=h.options[e],i=w===e,n=b&&h.correctAnswer===e,s=b&&i&&h.correctAnswer!==e;return(0,a.jsxs)("button",{type:"button",disabled:k||!N||b,"aria-pressed":i,onClick:()=>(e=>{if(g||!p||!N||b)return;x(e),y(!0);let t={answer:e,quizVersion:v,storageVersion:2,submittedAt:Date.now()};try{window.localStorage.setItem(q,JSON.stringify(t))}catch(e){}})(e),className:["ct-quick-vote__option",i?"is-selected":"",n?"is-correct":"",s?"is-wrong":""].filter(Boolean).join(" "),children:[(0,a.jsx)("span",{className:"ct-quick-vote__option-key",children:e}),(0,a.jsx)("span",{className:"ct-quick-vote__option-text",children:t})]},e)})})]}),k&&(0,a.jsx)("div",{className:"ct-quick-vote__auth-gate",role:"region","aria-label":"Quiz access required",children:g?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"ct-quick-vote__auth-spinner","aria-hidden":"true"}),(0,a.jsx)("p",{className:"ct-quick-vote__auth-loading",children:"Checking your account..."})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"ct-quick-vote__auth-icon","aria-hidden":"true",children:(0,a.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M12 17v.01"}),(0,a.jsx)("rect",{x:"5",y:"10",width:"14",height:"10",rx:"2"}),(0,a.jsx)("path",{d:"M8 10V7a4 4 0 0 1 8 0v3"})]})}),(0,a.jsx)("p",{className:"ct-quick-vote__auth-title",children:"Sign up to unlock this quiz"}),(0,a.jsx)("p",{className:"ct-quick-vote__auth-description",children:"Create a free CryptoThreads account to choose an answer and see the explanation."}),(0,a.jsx)(o(),{href:f,className:"ct-quick-vote__signup-button",children:"Sign Up to Start"}),(0,a.jsx)(o(),{href:_,className:"ct-quick-vote__login-link",children:"Already have an account? Log in"})]})}),!k&&b&&w&&(0,a.jsxs)("div",{className:"ct-quick-vote__result","aria-live":"polite",children:[w===h.correctAnswer?(0,a.jsx)("p",{className:"ct-quick-vote__result-title is-correct",children:"Correct. Nice one."}):(0,a.jsxs)("p",{className:"ct-quick-vote__result-title is-wrong",children:["Not quite. Correct answer:"," ",h.correctAnswer,"."]}),(0,a.jsx)("p",{className:"ct-quick-vote__explanation",children:h.explanation})]})]}):null}}}]);

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.