1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c2e1f0a5-c97a-4f37-883d-73ffee70cd7a",e._sentryDebugIdIdentifier="sentry-dbid-c2e1f0a5-c97a-4f37-883d-73ffee70cd7a")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8437],{8437:function(e,l,t){t.r(l);var n=t(35944),i=t(67294),o=t(71955),d=t(4289),a=t(82085);l.default=e=>{let{question:l,selectedOptions:t,disabled:r,onSelect:s,onClick:c}=e,{theme:u,quiz_answers:f}=(0,o.d)(),b=l.referenceKey?l.options[null==f?void 0:f[l.referenceKey]]:null,h=b&&b.length>0?b:Array.isArray(l.options)?l.options:[],m=(0,i.useCallback)(e=>null==t?void 0:t.some(l=>l.value===e.value),[t]),p=(e,i)=>{let o=!m(e)&&Number(l.maxSelection)<=(null==t?void 0:t.length);return(0,n.tZ)(n.HY,{children:"grid"===l.layout?(0,n.tZ)(d.dqs,{theme:u,onClick:()=>s(e,Number(l.maxSelection)),maxSelected:o,isSelected:m(e),title:e.label},"".concat(l.type,"-answer-").concat(i)):(0,n.tZ)(d.dDH,{theme:u,onClick:()=>s(e,Number(l.maxSelection)),maxSelected:o,emoji:(null==e?void 0:e.emoji)&&(0,n.tZ)(a.Z,{src:null==e?void 0:e.emoji,alt:"Emoji",sizes:"2.5rem"}),isSelected:m(e),title:e.label,type:l.buttonType||"multiple",hasDivider:null==e?void 0:e.hasDivider},"".concat(l.type,"-answer-").concat(i))})};return(0,n.BX)(d.xn2,{children:[(0,n.tZ)(d.h4i,{label:l.label,optionsLabel:null==l?void 0:l.optionsLabel,theme:u}),"grid"===l.layout?(0,n.tZ)(d.sCZ,{isMultiple:!0,children:(0,n.tZ)(d.Mg1,{length:2,children:null==h?void 0:h.map(e=>p(e,0))})}):(0,n.tZ)(d.sCZ,{isMultiple:!0,children:null==h?void 0:h.map(e=>p(e,0))}),(0,n.tZ)(d.Ps0,{theme:u,children:(0,n.tZ)(d.KMU,{disabled:(null==l||!l.allowContinue)&&r,onClick:c,theme:u,children:l.buttonTitle})})]},l.key)}}}]);
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.