1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[476],{4942:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/entry-form",function(){return e(9727)}])},508:function(n,t,e){"use strict";var o=e(8583),c=e(663),i=e(2697),s=e(7294);t.Z=function(){var n=(0,o.Dv)(c.mX),t=(0,o.Dv)(c.DL),e=(0,s.useState)(),a=e[0],p=e[1],l=(0,s.useState)(),r=l[0],m=l[1];return(0,s.useEffect)((function(){if(n&&t){var e=i.find((function(t){return t.code===n})).name,o=i.find((function(n){return n.code===t})).name;p(e),m(o)}}),[n,t]),console.log({useLanguageName:{languageToName:a,languageFromName:r,languageTo:n,languageFrom:t,languages:i}}),{languageToName:a,languageFromName:r,languageNameToLanguageCode:function(n){return i.find((function(t){return t.name===n})).code}}}},9045:function(n,t,e){"use strict";var o=e(8583),c=e(1163),i=e(663),s=e(7294),a=e(1805);t.Z=function(){var n=(0,c.useRouter)(),t=n.pathname,e=n.push,p=(0,o.Dv)(i.mX),l=(0,a.Z)().session,r=(0,s.useState)(!1),m=r[0],g=r[1];(0,s.useEffect)((function(){console.log({useRedirect:{pathname:t,languageTo:p,languageFrom:true,session:l}}),m&&!l&&"/entry-form"!==t&&"/entry-form/process"!==t&&"/privacy"!==t&&e("/landing")}),[t,true,p,m]),(0,s.useEffect)((function(){setTimeout((function(){return g(!0)}),0)}),[])}},9727:function(n,t,e){"use strict";e.r(t),e.d(t,{default:function(){return U}});var o=e(5893),c=e(8583),i=e(1163),s=e(7294),a=e(663),p=e(3321),l=e(8972),r=e(1683),m=e(4353),g=function(n){var t=n.option,e=n.checked,c=n.onClick;return(0,o.jsxs)("div",{className:"flex items-center justify-center h-full p-4 bg-white rounded-md",onClick:function(n){n.stopPropagation(),c(n)},children:[(0,o.jsxs)("div",{className:"flex flex-col items-center w-4/5 gap-1",children:[(0,o.jsx)("img",{className:"w-10",alt:t.text,src:t.iconUrl}),(0,o.jsx)("p",{className:"text-center",children:t.text})]}),(0,o.jsx)(m.Z,{checked:e,onClick:function(){return console.log("Radio Clicked")}})]})};function h(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=new Array(t);e<t;e++)o[e]=n[e];return o}function d(n){return function(n){if(Array.isArray(n))return h(n)}(n)||function(n){if("undefined"!==typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,t){if(!n)return;if("string"===typeof n)return h(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);"Object"===e&&n.constructor&&(e=n.constructor.name);if("Map"===e||"Set"===e)return Array.from(e);if("Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return h(n,t)}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var u=function(n){var t=n.options,e=n.onChange,c=(0,s.useState)([]),i=c[0],a=c[1];return console.log({FormList:{checkedList:i}}),(0,o.jsx)("div",{className:"flex flex-row flex-wrap max-w-lg",children:t.map((function(n,t){return(0,o.jsx)("div",{className:"w-1/2 h-32 p-2",children:(0,o.jsx)(g,{option:n,checked:i.includes(n.text),onClick:function(){return function(n){if(i.includes(n.text)){var t=i.filter((function(t){return t!==n.text}));console.log({handleOptionClick:{option:n,newList:t,checkedList:i}}),a(t),e(t)}else{var o=d(i).concat([n.text]);a(o),e(o)}}(n)}})},t)}))})},f=e(2474),v=e(6613),x=e(3257),y=e(4051),b=e.n(y),C=e(1805),S=e(9535),j=e(8608);function N(n,t,e,o,c,i,s){try{var a=n[i](s),p=a.value}catch(l){return void e(l)}a.done?t(p):Promise.resolve(p).then(o,c)}var w=function(n){var t=n.onValidate,e=(0,C.Z)(),c=e.handleGoogleAuth,i=e.session,s=function(){var n,e=(n=b().mark((function n(){var e;return b().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:e=c(),t(e);case 2:case"end":return n.stop()}}),n)})),function(){var t=this,e=arguments;return new Promise((function(o,c){var i=n.apply(t,e);function s(n){N(i,o,c,s,a,"next",n)}function a(n){N(i,o,c,s,a,"throw",n)}s(void 0)}))});return function(){return e.apply(this,arguments)}}();return console.log({GoogleAuth:{session:i}}),(0,o.jsxs)("div",{className:"flex flex-col items-center h-screen gap-4 text-black",children:[(0,o.jsx)("h2",{className:"text-xl font-bold",children:"Login and start learning!"}),(0,o.jsx)(p.Z,{className:"mt-8",onClick:s,startIcon:(0,o.jsx)(S.Z,{}),sx:{color:j.iZ},variant:"outlined",children:"Continue with Google"})]})},E=function(n){var t=n.value,e=n.onValidate,c=(0,v.Z)(),i=(0,x.Z)(),a=(0,s.use
1State)(null),m=a[0],g=a[1],h=function(n,e){"select"===t.type?g(n.target.value):"two-select"===t.type&&g(e?[null===m||void 0===m?void 0:m[0],n.target.value]:[n.target.value,null===m||void 0===m?void 0:m[1]])},d=function(){e(m),g(null)};return console.log({FormStep:{value:t,answer:m}}),(0,o.jsx)("div",{className:"flex flex-col h-full md:w-96",children:"google-auth"===t.type?(0,o.jsx)(w,{onValidate:function(n){return e(n)}}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("div",{className:"flex flex-col items-center gap-8 px-4 pb-8 overflow-auto",style:{height:c?"calc(100vh - 56px - 128px - 24px)":i&&!c?"calc(100vh - 56px - 128px - 64px)":"100%"},children:[(0,o.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,o.jsx)("h2",{className:"text-2xl font-bold text-center",children:t.question}),t.description&&(0,o.jsx)("p",{className:"text-center",children:t.description})]}),(0,o.jsx)("div",{className:"flex items-center justify-center",children:"select"===t.type||"two-select"===t.type?(0,o.jsx)(r.Z,{className:"bg-white",labelId:"languageTo-select-label",id:"language-select",onChange:function(n){return h(n)},sx:{width:120},children:t.options.map((function(n){return(0,o.jsx)(l.Z,{value:n.text,children:n.text},n.text)}))}):"MCQ"===t.type?(0,o.jsx)(u,{options:t.options,onChange:function(n){g(n)}}):"input"===t.type?(0,o.jsx)(f.Z,{label:"Your name",onChange:function(n){g(n.target.value)},onKeyPress:function(n){"Enter"===n.key&&d()}}):(0,o.jsx)("div",{})}),t.secondQuestion&&(0,o.jsxs)("div",{className:"flex flex-col items-center gap-4",children:[(0,o.jsx)("div",{className:"flex flex-col items-center gap-4 mt-8",children:(0,o.jsx)("h2",{className:"text-lg text-center",children:t.secondQuestion})}),(0,o.jsx)("div",{className:"flex items-center justify-center",children:(0,o.jsx)(r.Z,{className:"bg-white",labelId:"languageTo-select-label",id:"language-select",onChange:function(n){return h(n,!0)},sx:{width:120},children:t.secondOptions.map((function(n){return(0,o.jsx)(l.Z,{value:n.text,children:n.text},n.text)}))})})]})]}),(0,o.jsx)("div",{className:"flex flex-col items-center p-4 px-2",style:{},children:t.button?(0,o.jsx)(p.Z,{variant:"contained",startIcon:s.cloneElement(t.button.icon,{style:{marginRight:4}}),onClick:d,disabled:"two-select"===t.type?!(null===m||void 0===m?void 0:m[0])||!(null===m||void 0===m?void 0:m[1]):!m,sx:{},fullWidth:!0,children:t.button.text}):(0,o.jsx)(p.Z,{variant:"contained",onClick:d,disabled:"two-select"===t.type?!(null===m||void 0===m?void 0:m[0])||!(null===m||void 0===m?void 0:m[1]):!m,sx:{},fullWidth:!0,children:"Next"})})]})})},T=e(1496),k=e(9370),P=e(4472),F=e(3578),Z=e(7036),L=e(4621),M=e(8048),H=e(4184),I=e.n(H);function B(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}var D=(0,T.ZP)(L.Z)((function(n){var t,e=n.theme;return B(t={},"&.".concat(M.Z.alternativeLabel),{top:10,left:"calc(-50% + 16px)",right:"calc(50% + 16px)"}),B(t,"&.".concat(M.Z.active),B({},"& .".concat(M.Z.line),{borderColor:j.iZ})),B(t,"&.".concat(M.Z.completed),B({},"& .".concat(M.Z.line),{borderColor:j.iZ})),B(t,"& .".concat(M.Z.line),{borderColor:"dark"===e.palette.mode?e.palette.grey[800]:"#eaeaf0",borderTopWidth:3,borderRadius:1}),t})),A=(0,T.ZP)("div")((function(n){var t=n.theme,e=n.ownerState;return function(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{},o=Object.keys(e);"function"===typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(e).filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})))),o.forEach((function(t){B(n,t,e[t])}))}return n}({color:"dark"===t.palette.mode?t.palette.grey[700]:"#eaeaf0",display:"flex",height:22,alignItems:"center"},e.active&&{color:j.iZ},{"& .QontoStepIcon-completedIcon":{color:j.iZ,zIndex:1,fontSize:18},"& .QontoStepIcon-circle":{width:8,height:8,borderRadius:"50%",backgroundColor:"currentColor"}})}));function R(n){var t=n.active,e=n.completed,c=n.className;return(0,o.jsx)(A,{ownerState:{active:t},className:c,children:e?(0,o.jsx)(Z.Z,{className:"QontoStepIcon-completedIcon"}):(0,o.jsx)("div",{className:"QontoStepIcon-circle"})})}var W=function(n){var t=n.steps,e=n.currStep,c=(0,v.Z)();return(0,o.jsx)(k.Z,{className:I()("w-full",{"mt-6":c}),alternativeLabel:!0,activeStep:e,connector:(0,o.jsx)(D,{}),style:{},children:t.map((function(n,t){return(0,o.jsx)(P.Z,{children:(0,o.jsx)(F.Z,{StepIconComponent:R})},t)}))})},O=JSON.parse('[{"name":"Technologies","subtopics":["Emerging Technologies","Tech Start-ups","Artificial Intelligence","Virtual Reality","Cryptocurrency","Cybersecurity","Internet of Things","Software Development","Smart Home Devices","Gaming Technology"]},{"name":"Everyday Life","subtopics":["Living a Balanced Lifestyle","Housekeeping","Personal Finance Management","Time Management","Multiculturalism","School Life","E-learning","Social Media and Life","Reading Habits","Commuting"]},{"name":"Traveling","subtopics":["Adventure Travel","Budget Travel","Cultural Travel","Eco-Tourism","Luxury Travel","Planning a Vacation","Travel Photography","Local Cuisine","Travel Etiquette","Travel Safety"]},{"name":"Health & Fitness","subtopics":["Nutrition","Physical Exercise","Mental Health","Preventive Healthcare","Yoga & Meditation","Healthy Eating","Weight Loss Strategies","Fitness Equipment","Stress Management","Sleep Hygiene"]},{"name":"Jobs","subtopics":["Job Hunting & Interviews","Corporate Culture","Freelancing","Entrepreneurship","Job Skills","Work-Life Balance","Employee Rights","Career Development","Remote Work","Workplace Diversity"]},{"name":"Food","subtopics":["Gourmet Cooking","Vegetarian & Vegan Diets","Food and Culture","Home Baking","Fast Food","Food Safety","World Cuisines","Wine & Beverage","Food Preservation","Farm-to-Table Movement"]},{"name":"Business","subtopics":["Business Strategy","Marketing","Financial Management","Human Resources","Entrepreneurship","E-Commerce","Business Laws","Corporate Ethics","Product Development","Customer Service"]},{"name":"People and Emotions","subtopics":["Emotional Intelligence","Interpersonal Skills","Mindfulness","Motivation & Inspiration","Human Behavior","Personality Development","Confidence Building","Anger Management","Happiness & Positivity","Personal Relationships"]}]'),V=e(2697),_=e(8698),G=JSON.parse('[{"theme":"Emerging Technologies","icon":"https://cdn-icons-png.flaticon.com/64/2785/2785693.png"},{"theme":"Tech Start-ups","icon":"https://cdn-icons-png.flaticon.com/64/2920/2920249.png"},{"theme":"Artificial Intelligence","icon":"https://cdn-icons-png.flaticon.com/64/900/900961.png"},{"theme":"Virtual Reality","icon":"https://cdn-icons-png.flaticon.com/64/12303/12303243.png"},{"theme":"Cryptocurrency","icon":"https://cdn-icons-png.flaticon.com/64/2350/235052
10.png"},{"theme":"Cybersecurity","icon":"https://cdn-icons-png.flaticon.com/64/4744/4744315.png"},{"theme":"Internet of Things","icon":"https://cdn-icons-png.flaticon.com/64/6080/6080697.png"},{"theme":"Software Development","icon":"https://cdn-icons-png.flaticon.com/64/2010/2010990.png"},{"theme":"Smart Home Devices","icon":"https://cdn-icons-png.flaticon.com/64/1055/1055623.png"},{"theme":"Gaming Technology","icon":"https://cdn-icons-png.flaticon.com/64/13/13973.png"},{"theme":"Living a Balanced Lifestyle","icon":"https://cdn-icons-png.flaticon.com/64/2400/2400622.png"},{"theme":"Housekeeping","icon":"https://cdn-icons-png.flaticon.com/64/3500/3500376.png"},{"theme":"Personal Finance Management","icon":"https://cdn-icons-png.flaticon.com/64/1253/1253758.png"},{"theme":"Time Management","icon":"https://cdn-icons-png.flaticon.com/64/3842/3842536.png"},{"theme":"Multiculturalism","icon":"https://cdn-icons-png.flaticon.com/64/6567/6567019.png"},{"theme":"School Life","icon":"https://cdn-icons-png.flaticon.com/64/4579/4579867.png"},{"theme":"E-learning","icon":"https://cdn-icons-png.flaticon.com/64/3523/3523059.png"},{"theme":"Social Media and Life","icon":"https://cdn-icons-png.flaticon.com/64/6578/6578925.png"},{"theme":"Reading Habits","icon":"https://cdn-icons-png.flaticon.com/64/4807/4807720.png"},{"theme":"Commuting","icon":"https://cdn-icons-png.flaticon.com/64/12035/12035311.png"},{"theme":"Adventure Travel","icon":"https://cdn-icons-png.flaticon.com/64/3094/3094891.png"},{"theme":"Budget Travel","icon":"https://cdn-icons-png.flaticon.com/64/3299/3299613.png"},{"theme":"Cultural Travel","icon":"https://cdn-icons-png.flaticon.com/64/1164/1164253.png"},{"theme":"Eco-Tourism","icon":"https://cdn-icons-png.flaticon.com/64/4337/4337728.png"},{"theme":"Luxury Travel","icon":"https://cdn-icons-png.flaticon.com/64/4231/4231175.png"},{"theme":"Planning a Vacation","icon":"https://cdn-icons-png.flaticon.com/64/1322/1322237.png"},{"theme":"Travel Photography","icon":"https://cdn-icons-png.flaticon.com/64/1042/1042339.png"},{"theme":"Local Cuisine","icon":"https://cdn-icons-png.flaticon.com/64/83/83909.png"},{"theme":"Travel Etiquette","icon":"https://cdn-icons-png.flaticon.com/64/12300/12300525.png"},{"theme":"Travel Safety","icon":"https://cdn-icons-png.flaticon.com/64/5168/5168953.png"},{"theme":"Nutrition","icon":"https://cdn-icons-png.flaticon.com/64/1786/1786614.png"},{"theme":"Physical Exercise","icon":"https://cdn-icons-png.flaticon.com/64/10/10699.png"},{"theme":"Mental Health","icon":"https://cdn-icons-png.flaticon.com/64/3997/3997942.png"},{"theme":"Preventive Healthcare","icon":"https://cdn-icons-png.flaticon.com/64/4327/4327809.png"},{"theme":"Yoga & Meditation","icon":"https://cdn-icons-png.flaticon.com/64/84/84145.png"},{"theme":"Healthy Eating","icon":"https://cdn-icons-png.flaticon.com/64/9757/9757167.png"},{"theme":"Weight Loss Strategies","icon":"https://cdn-icons-png.flaticon.com/64/847/847345.png"},{"theme":"Fitness Equipment","icon":"https://cdn-icons-png.flaticon.com/64/2996/2996922.png"},{"theme":"Stress Management","icon":"https://cdn-icons-png.flaticon.com/64/4897/4897268.png"},{"theme":"Sleep Hygiene","icon":"https://cdn-icons-png.flaticon.com/64/1422/1422872.png"},{"theme":"Job Hunting & Interviews","icon":"https://cdn-icons-png.flaticon.com/64/1063/1063376.png"},{"theme":"Corporate Culture","icon":"https://cdn-icons-png.flaticon.com/64/6064/6064811.png"},{"theme":"Freelancing","icon":"https://cdn-icons-png.flaticon.com/64/5024/5024561.png"},{"theme":"Entrepreneurship","icon":"https://cdn-icons-png.flaticon.com/64/1070/1070523.png"},{"theme":"Job Skills","icon":"https://cdn-icons-png.flaticon.com/64/3135/3135729.png"},{"theme":"Work-Life Balance","icon":"https://cdn-icons-png.flaticon.com/64/1063/1063376.png"},{"theme":"Employee Rights","icon":"https://cdn-icons-png.flaticon.com/64/10162/10162798.png"},{"theme":"Career Development","icon":"https://cdn-icons-png.flaticon.com/64/1589/1589131.png"},{"theme":"Remote Work","icon":"https://cdn-icons-png.flaticon.com/64/2876/2876600.png"},{"theme":"Workplace Diversity","icon":"https://cdn-icons-png.flaticon.com/64/2945/2945308.png"},{"theme":"Gourmet Cooking","icon":"https://cdn-icons-png.flaticon.com/64/2858/2858623.png"},{"theme":"Vegetarian & Vegan Diets","icon":"https://cdn-icons-png.flaticon.com/64/12262/12262276.png"},{"theme":"Food and Culture","icon":"https://cdn-icons-png.flaticon.com/64/2918/2918130.png"},{"theme":"Home Baking","icon":"https://cdn-icons-png.flaticon.com/64/821/821090.png"},{"theme":"Fast Food","icon":"https://cdn-icons-png.flaticon.com/64/738/738079.png"},{"theme":"Food Safety","icon":"https://cdn-icons-png.flaticon.com/64/4785/4785545.png"},{"theme":"World Cuisines","icon":"https://cdn-icons-png.flaticon.com/64/12264/12264431.png"},{"theme":"Wine & Beverage","icon":"https://cdn-icons-png.flaticon.com/64/12300/12300065.png"},{"theme":"Food Preservation","icon":"https://cdn-icons-png.flaticon.com/64/4337/4337648.png"},{"theme":"Farm-to-Table Movement","icon":"https://cdn-icons-png.flaticon.com/64/3228/3228936.png"},{"theme":"Business Strategy","icon":"https://cdn-icons-png.flaticon.com/64/1006/1006585.png"},{"theme":"Marketing","icon":"https://cdn-icons-png.flaticon.com/64/1968/1968641.png"},{"theme":"Financial Management","icon":"https://cdn-icons-png.flaticon.com/64/921/921305.png"},{"theme":"Human Resources","icon":"https://cdn-icons-png.flaticon.com/64/2303/2303871.png"},{"theme":"Entrepreneurship","icon":"https://cdn-icons-png.flaticon.com/64/1070/1070523.png"},{"theme":"E-Commerce","icon":"https://cdn-icons-png.flaticon.com/64/3523/3523059.png"},{"theme":"Business Laws","icon":"https://cdn-icons-png.flaticon.com/64/783/783196.png"},{"theme":"Corporate Ethics","icon":"https://cdn-icons-png.flaticon.com/64/2608/2608136.png"},{"theme":"Product Development","icon":"https://cdn-icons-png.flaticon.com/64/4767/4767100.png"},{"theme":"Customer Service","icon":"https://cdn-icons-png.flaticon.com/64/1067/1067566.png"},{"theme":"Emotional Intelligence","icon":"https://cdn-icons-png.flaticon.com/64/6911/6911451.png"},{"theme":"Interpersonal Skills","icon":"https://cdn-icons-png.flaticon.com/64/2755/2755429.png"},{"theme":"Mindfulness","icon":"https://cdn-icons-png.flaticon.com/64/4299/4299418.png"},{"theme":"Motivation & Inspiration","icon":"https://cdn-icons-png.flaticon.com/64/1322/1322276.png"},{"theme":"Human Behavior","icon":"https://cdn-icons-png.flaticon.com/64/4944/4944338.png"},{"theme":"Personality Development","icon":"https://cdn-icons-png.flaticon.com/64/3657/3657000.png"},{"theme":"Confidence Building","icon":"https://cdn-icons-png.flaticon.com/64/5377/5377537.png"},{"theme":"Anger Management","icon":"https://cdn-icons-png.flaticon.com/64/9818/9818082.png"},{"theme":"Happiness & Positivity","icon":"https://cdn-icons-png.flaticon.com/64/166/166538.png"},{"theme":"Personal Relationships","icon":"https://cdn-icons-png.flaticon.com/64/1476/1476164.png"},{"theme":"Music","icon":"https://cdn-icons-png.flaticon.com/64/651/651717.png"},{"theme":"Sport","icon":"https://cdn-icons-png.flaticon.com/64/12035/12035304.png"},{"theme":"Art","icon":"https://cdn-icons-png.flaticon.com/64/1756/1756784.png"},{"theme":"Science","icon":"https://cdn-icons-png.flaticon.com/64/2022/2022299.png"},{"theme":"History","icon":"https://cdn-icons-png.flaticon.com/64/2682/2682065.png"},{"theme":"Geography","icon":"https://cdn-icons-png.flaticon.com/64/290/290336.png"},{"theme":"Literature","icon":"https://cdn-icons-png.flaticon.com/64/3253/3253391.png"},{"theme":"Cinema","icon":"https://cdn-icons-png.flaticon.com/64/1655/1655698.png"},{"theme":"Theater","icon":"https://cdn-icons-png.flaticon.com/64/1778/1778557.png"},{"theme":"Photography","icon":"https://cdn-icons-png.flaticon.com/64/461/461823.png"},{"theme":"Cooking","icon":"https://cdn-icons-png.flaticon.com/64/12087/12087777.png"},{"theme":"Fashion","icon":"https://cdn-icons-png.flaticon.com/64/12034/12034776.png"},{"theme":"Travel","icon":"https://cdn-icons-png.flaticon.com/64/826/826070.png"},{"theme":"Politics","icon":"https://cdn-icons-png.flaticon.com/64/1651/1651652.png"},{"theme":"Economics","icon":"https://cdn-icons-png.flaticon.com/64/4844/4844385.png"},{"theme":"Business","icon":"https://cdn-icons-png.flaticon.com/64/3135/3135727.png"},{"theme":"Technology","icon":"https://cdn-icons-png.flaticon.com/64/12113/12113796.png"},{"theme":"Environment","icon":"https://cdn-icons-png.flaticon.com/64/1598/1598238.png"},{"theme":"Religion","icon":"https://cdn-icons-png.flaticon.com/64/2146/2146448.png"},{"theme":"Philosophy","icon":"https://cdn-icons-png.flaticon.com/64/2178/2178189.png"},{"theme":"Psychology","icon":"https://cdn-icons-png.flaticon.com/64/4305/4305261.png"},{"theme":"Architecture","icon":"https://cdn-icons-png.flaticon.com/64/681/681662.png"},{"theme":"Dancing","icon":"https://cdn-icons-png.flaticon.com/64/12047/12047460.png"},{"theme":"Drawing","icon":"https://cdn-icons-png.flaticon.com/64/12056/12056307.png"},{"theme":"Writing","icon":"https://cdn-icons-png.flaticon.com/64/1170/1170221.png"},{"theme":"Painting","icon":"https://cdn-icons-png.flaticon.com/64/2400/2400595.png"},{"theme":"Sculpting","icon":"https://cdn-icons-png.flaticon.com/64/1375/1375844.png"},{"theme":"Astronomy","icon":"https://cdn-icons-png.flaticon.com/64/2072/2072771.png"},{"theme":"Biology","icon":"https://cdn-icons-png.flaticon.com/64/1080/1080962.png"},{"theme":"Chemistry","icon":"https://cdn-icons-png.flaticon.com/64/995/995446.png"},{"theme":"Physics","icon":"https://cdn-icons-png.flaticon.com/64/3254/3254075.png"},{"theme":"Mathematics","icon":"https://cdn-icons-png.flaticon.com/64/4720/4720458.png"},{"theme":"Coding","icon":"https://cdn-icons-png.flaticon.com/64/2115/2115955.png"},{"theme":"Gaming","icon":"https://cdn-icons-png.flaticon.com/64/13/13973.png"},{"theme":"Health","icon":"https://cdn-icons-png.flaticon.com/64/2382/2382443.png"},{"theme":"Fitness","icon":"https://cdn-icons-png.flaticon.com/64/1719/1719695.png"},{"theme":"Yoga","icon":"https://cdn-icons-png.flaticon.com/64/84/84145.png"},{"theme":"Meditation","icon":"https://cdn-icons-png.flaticon.com/64/2906/2906496.png"},{"theme":"Nutrition","icon":"https://cdn-icons-png.flaticon.com/64/1786/1
1786614.png"},{"theme":"Gardening","icon":"https://cdn-icons-png.flaticon.com/64/12035/12035337.png"},{"theme":"Pets","icon":"https://cdn-icons-png.flaticon.com/64/1076/1076877.png"},{"theme":"Wildlife","icon":"https://cdn-icons-png.flaticon.com/64/5675/5675552.png"},{"theme":"Nature","icon":"https://cdn-icons-png.flaticon.com/64/2823/2823511.png"},{"theme":"Adventure","icon":"https://cdn-icons-png.flaticon.com/64/1706/1706709.png"},{"theme":"Animation","icon":"https://cdn-icons-png.flaticon.com/64/4293/4293960.png"},{"theme":"Comics","icon":"https://cdn-icons-png.flaticon.com/64/2281/2281902.png"},{"theme":"Manga","icon":"https://cdn-icons-png.flaticon.com/64/9824/9824250.png"},{"theme":"Anime","icon":"https://cdn-icons-png.flaticon.com/64/4293/4293960.png"},{"theme":"Fantasy","icon":"https://cdn-icons-png.flaticon.com/64/1680/1680365.png"},{"theme":"Horror","icon":"https://cdn-icons-png.flaticon.com/64/218/218151.png"},{"theme":"Romance","icon":"https://cdn-icons-png.flaticon.com/64/389/389514.png"},{"theme":"Technologies","icon":"https://cdn-icons-png.flaticon.com/64/2920/2920249.png"},{"theme":"Everyday Life","icon":"https://cdn-icons-png.flaticon.com/64/10176/10176907.png"},{"theme":"Traveling","icon":"https://cdn-icons-png.flaticon.com/64/2060/2060284.png"},{"theme":"Health & Fitness","icon":"https://cdn-icons-png.flaticon.com/64/12300/12300550.png"},{"theme":"Jobs","icon":"https://cdn-icons-png.flaticon.com/64/3281/3281289.png"},{"theme":"Food","icon":"https://cdn-icons-png.flaticon.com/64/562/562678.png"},{"theme":"Business","icon":"https://cdn-icons-png.flaticon.com/64/3135/3135727.png"},{"theme":"People and Emotions","icon":"https://cdn-icons-png.flaticon.com/64/3269/3269389.png"},{"theme":"Career, job opportunities","icon":"https://cdn-icons-png.flaticon.com/64/3281/3281289.png"},{"theme":"Education","icon":"https://cdn-icons-png.flaticon.com/64/1940/1940611.png"},{"theme":"Culture","icon":"https://cdn-icons-png.flaticon.com/64/1534/1534952.png"},{"theme":"Brain training","icon":"https://cdn-icons-png.flaticon.com/64/7757/7757816.png"},{"theme":"Family & Friends","icon":"https://cdn-icons-png.flaticon.com/64/547/547562.png"},{"theme":"Travel","icon":"https://cdn-icons-png.flaticon.com/64/12300/12300525.png"},{"theme":"Other","icon":"https://cdn-icons-png.flaticon.com/64/4289/4289949.png"}]'),Q=[{type:"two-select",question:"What language do you want to learn?",options:V.map((function(n){return{icon:null,text:n.name}})),button:{icon:(0,o.jsx)(_.Z,{}),text:"Learn"},secondQuestion:"What is your native language?",secondOptions:V.map((function(n){return{icon:null,text:n.name}}))},{type:"MCQ",question:"What is your motivation to learn this language?",description:"You can choose more than one option",options:["Career, job opportunities","Education","Culture","Brain training","Family & Friends","Travel","Other"].map((function(n){var t;return{iconUrl:null===(t=G.find((function(t){return t.theme===n})))||void 0===t?void 0:t.icon,text:n}}))},{type:"MCQ",question:"Select the topics that you find interesting",description:"You can choose more than one option",options:O.map((function(n){var t;return{iconUrl:null===(t=G.find((function(t){return t.theme===n.name})))||void 0===t?void 0:t.icon,text:n.name}}))},{type:"google-auth"}],J=function(n){var t=n.steps,e=n.currStep,c=n.onNext;return(0,o.jsxs)("div",{className:"flex flex-col h-full gap-8",children:[(0,o.jsx)(W,{steps:Q,currStep:e}),(0,o.jsx)(E,{value:t[e],onValidate:c},e)]})},q=e(508),X=function(){var n=(0,i.useRouter)().push,t=(0,C.Z)().session,e=(0,q.Z)().languageNameToLanguageCode,p=(0,s.useState)(0),l=p[0],r=p[1],m=(0,c.b9)(a.mX),g=(0,c.b9)(a.DL),h=(0,c.b9)(a.XW),d=(0,c.b9)(a.ss);(0,c.b9)(a.E0);return console.log({EntryForm:{}}),(0,o.jsx)("div",{className:"flex flex-col justify-center h-full",children:(0,o.jsx)(J,{steps:Q,currStep:l,onNext:function(o){if(0===l){var c=e(o[0]),i=e(o[1]);m(c),g(i),r(l+1)}else 1===l?(h(o),r(l+1)):2===l&&(d(o),r(l+1),t&&n("/entry-form/process"))}})})},Y=e(9045),U=function(){return(0,Y.Z)(),(0,o.jsx)(X,{})}},2697:function(n){"use strict";n.exports=JSON.parse('[{"code":"en","name":"English","nativeName":"English"},{"code":"fr","name":"French","nativeName":"fran\xe7ais, langue fran\xe7aise"},{"code":"de","name":"German","nativeName":"Deutsch"},{"code":"hi","name":"Hindi","nativeName":"\u0939\u093f\u0928\u094d\u0926\u0940, \u0939\u093f\u0902\u0926\u0940"},{"code":"it","name":"Italian","nativeName":"Italiano"},{"code":"es","name":"Spanish","nativeName":"espa\xf1ol, castellano"}]')}
1},function(n){n.O(0,[362,774,888,179],(function(){return t=4942,n(n.s=t);var t}));var t=n.O();_N_E=t}]);
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.