PageSourceSearch

https://www.maumdive.com/_next/static/chunks/pages/business-instinct-e029c554b682a31b.js

js maumdive.com collected 2026-10-02 01:36:55 UTC 8,959 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[86429,91111],{62344:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/business-instinct",function(){return s(91467)}])},91467:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>f,default:()=>j});var i=s(37876),n=s(18847),a=s.n(n),l=s(72239),r=s.n(l),o=s(14232),c=s(89099),d=s(33004),u=s(39495),p=s(94424),x=s(88509),m=s(34044);let h=a()(()=>Promise.all([s.e(22223),s.e(12866),s.e(50665)]).then(s.bind(s,50665)),{loadableGenerated:{webpack:()=>[50665]},ssr:!1}),g=a()(()=>Promise.all([s.e(22223),s.e(12866),s.e(36098)]).then(s.bind(s,36098)),{loadableGenerated:{webpack:()=>[36098]},ssr:!1}),b=a()(()=>Promise.all([s.e(22223),s.e(12866),s.e(27675),s.e(50665),s.e(3149)]).then(s.bind(s,20646)),{loadableGenerated:{webpack:()=>[20646]},ssr:!1});var f=!0;let j=e=>{let{initialPageContent:t,initialIntroContent:n,initialLoadingContent:a,initialQuestions:l}=e,f=(0,c.useRouter)(),[j,y]=(0,o.useState)(0),[v,T]=(0,o.useState)([]),[w,N]=(0,o.useState)("intro"),[S,k]=(0,o.useState)(null),{userName:D,setUserName:C}=(0,d.vx)({enableGender:!1}),{participantCount:E}=(0,x.q)("business-instinct"),B=f.locale||"ko";(0,u.r)(C,()=>{},e=>N(e),k,T);let P=(0,o.useMemo)(()=>l||[],[l]),_=async e=>{let t=[...v];t[j]=e,T(t);let i=document.activeElement;if(i&&i.blur(),document.querySelectorAll(".optionButton").forEach(e=>e.blur()),j<P.length-1)y(j+1);else{let e=Date.now();N("loading");try{let i;fetch("/api/shared-results",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({testType:"business-instinct"})});let n=await fetch("/api/tests/calculate-business-instinct",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({answers:t,locale:B})});if(!n.ok)throw Error("Failed to calculate results on server");let a=await n.json(),l={resultType:a.resultType,scores:a.scores,swot:a.swot,radarData:a.radarData,feedback:a.feedback,userName:D};try{let{saveSharedResult:e}=await s.e(79563).then(s.bind(s,79563));i=await e({testType:"business-instinct",testName:B?"Business Instinct Test":"ja"===B?"ビジネス本能テスト":"ko"===B?"비즈니스 본능 테스트":"Business Instinct Test",userName:D,answers:t,result:l},"ko"===B)}catch(e){console.error("결과 저장 실패:",e),k(l)}fetch("/api/user/test-results",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({testType:"business-instinct",testName:B?"Business Instinct Test":"비즈니스 본능 테스트",result:l,score:10,title:l.resultType})}).catch(e=>console.error(e));let r=Date.now()-e,o=Math.max(0,2e3-r);setTimeout(()=>{i?f.push(`/business-instinct/result/${i}`):(k(l),N("result"))},o)}catch(e){console.error("참여 기록 또는 결과 계산 실패:",e),alert("ko"===B?"서버 통신 중 오류가 발생했습니다. 잠시 후 다시 시도해주세요.":"An error occurred during calculation. Please try again."),N("intro")}}};if("intro"===w)return(0,i.jsx)(m.A,{thumbnail:"/thumbnails/business-instinct.avif",thumbnailSrc:"/thumbnails/business-instinct.avif",locale:B,title:n?.mainTitle,subtitle:n?.subt
1itle,emoji:"\uD83D\uDCBC",tags:n?.tags||[],participants:E,metaTitle:t?.metaTitle,metaDescription:t?.metaDescription,ogImage:"/thumbnails/business-instinct.jpg",onStart:e=>{let t=e?.trim()||D?.trim();if(!t)return void alert({en:"Please enter your name.",ja:"名前を入力してください。",ko:"이름을 입력해주세요.",vi:"Vui l\xf2ng nhập t\xean cá»§a bạn.",es:"Por favor, introduzca su nombre.","zh-tw":"請輸入您的名字。"}[B]||"이름을 입력해주세요.");C(t),N("test")},initialNickname:D,startButtonText:n?.startButton,showGenderInput:!1,nicknamePlaceholder:n?.namePlaceholder||("ko"===B?"이름을 입력하세요":B?"Enter your name":"ja"===B?"名前を入力してください":"vi"===B?"Nhập t\xean cá»§a bạn":"es"===B?"Introduzca su nombre":"請輸入您的名字"),renderChildrenBeforeStartButton:!0,afterButtonContent:(0,i.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"16px",marginTop:"16px"},children:[(0,i.jsx)(()=>n?.trustMessage?(0,i.jsx)("div",{style:{background:"linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%)",border:"1px solid #bae6fd",borderRadius:"12px",padding:"16px",textAlign:"center",fontSize:"13px",color:"#0369a1",fontWeight:"500"},children:n?.trustMessage}):null,{}),(0,i.jsx)("div",{className:r().powerPreview,style:{margin:0,display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(100px, 1fr))",gap:"12px"},children:n?.previewCards?.map((e,t)=>(0,i.jsxs)("div",{className:r().powerCard,style:{background:"white",border:"1px solid #e5e7eb",boxShadow:"0 2px 4px rgba(0,0,0,0.05)",borderRadius:"12px",padding:"16px 8px",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},children:[(0,i.jsx)("div",{className:r().powerEmoji,style:{fontSize:"28px",marginBottom:"8px"},children:e.emoji}),(0,i.jsx)("h3",{style:{color:"#1f2937",fontSize:"13px",margin:"0 0 6px 0",lineHeight:"1.3"},children:e.title}),(0,i.jsx)("p",{style:{color:"#6b7280",fontSize:"12px",margin:0,lineHeight:"1.4"},children:e.desc})]},t))}),(0,i.jsx)(()=>{let e=n?.questionExamples||[];return e&&0!==e.length?(0,i.jsxs)("div",{children:[(0,i.jsx)("div",{style:{fontSize:"13px",color:"#64748b",fontWeight:"600",marginBottom:"12px",textAlign:"center"},children:"ko"===B?"질문 예시":B?"Sample Questions":"ja"===B?"サンプル質問":"vi"===B?"V\xed dụ C\xe2u hỏi":"es"===B?"Preguntas de Ejemplo":"問題範例"}),(0,i.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"8px"},children:e.slice(0,2).map((e,t)=>(0,i.jsxs)("div",{style:{background:"white",border:"1px solid #e2e8f0",borderRadius:"12px",padding:"12px 16px",fontSize:"13px",color:"#475569",position:"relative",boxShadow:"0 1px 2px rgba(0,0,0,0.05)"},children:[(0,i.jsx)("span",{style:{position:"absolute",left:"-8px",top:"50%",transform:"translateY(-50%)",fontSize:"20px"},children:"\uD83D\uDCAD"}),(0,i.jsx)("span",{style:{marginLeft:"16px"},children:e})]},t))})]}):null},{})]})});if("test"===w&&P.length>0){let e=P[j],s=(j+1)/P.length*100;return(0,i.jsxs)("div",{className:r().container,children:[(0,i.jsx)(p.A,{title:t?.metaTitle,description:t?.metaDescription,ogImage:"/thumbnails/business-instinct.jpg"}),(0,i.jsx)("div",{children:(0,i.jsx)(h,{title:t?.headerTitle})}),(0,i.jsx)("main",{className:r().main,children:(0,i.jsxs)("div",{className:r().testContainer,children:[(0,i.jsxs)("p",{className:r().description,children:["\uD83D\uDCBC ","ko"===B?"경영학적으로 부의 본능을 진단하고 있습니다":B?"Diagnosing your business instincts":"ja"===B?"ビジネスセンスを経営学的に診断しています":"vi"===B?"Đang chẩn đo\xe1n bản năng kinh doanh cá»§a bạn":"es"===B?"Diagnosticando sus instintos empresariales":"æ­£å
1œ¨è¨ºæ–·æ‚¨çš„商業本能"]}),(0,i.jsxs)("div",{className:r().questionContainer,children:[(0,i.jsxs)("div",{className:r().progress,children:[(0,i.jsx)("div",{className:r().progressBar,style:{width:`${s}%`}}),(0,i.jsxs)("div",{className:r().progressText,children:[j+1," / ",P.length," (",Math.round(s),"%)"]})]}),(0,i.jsx)("div",{className:r().questionEmoji,children:"\uD83E\uDD14"}),(0,i.jsx)("h2",{className:r().question,style:{fontSize:"20px",lineHeight:"1.4"},children:e.question}),(0,i.jsx)("div",{className:r().options,children:e.options.map((e,t)=>(0,i.jsxs)("button",{className:`${r().optionButton} ${v[j]===t?r().selected:""}`,onClick:e=>{e.currentTarget.blur(),_(t)},children:[e.text,v[j]===t&&(0,i.jsx)("span",{style:{marginLeft:"auto",color:"#EC4899",fontWeight:"bold"},children:"✔"})]},t))}),j>0&&(0,i.jsx)("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"15px"},children:(0,i.jsx)("button",{className:r().prevButton,onClick:()=>y(j-1),children:"ko"===B?"← 이전으로":B?"← Previous":"ja"===B?"← 戻る":"vi"===B?"← Quay lại":"es"===B?"← Anterior":"← 上一步"})})]})]})})]})}if("loading"===w){let e=a?.loadingTitle?a.loadingTitle.replace("당신의",`${D}님의`).replace("Your",`${D}'s`).replace("あなたの",`${D}さんの`).replace("Tu ",`El de ${D} `).replace("Cá»§a bạn",`cá»§a ${D}`).replace("你的",`${D}的`):void 0;return(0,i.jsxs)("div",{className:r().container,children:[(0,i.jsx)(p.A,{title:t?.metaTitle,description:t?.metaDescription,ogImage:"/thumbnails/business-instinct.jpg"}),(0,i.jsx)("div",{children:(0,i.jsx)(h,{title:t?.headerTitle})}),(0,i.jsx)("main",{className:r().main,style:{minHeight:"auto",display:"flex",alignItems:"flex-start",justifyContent:"flex-start",paddingTop:"0px",marginTop:"0px",flex:1},children:(0,i.jsx)(g,{title:e||a?.loadingTitle,subtitle:a?.loadingSubtitle,steps:a?.steps,locale:B})})]})}return"result"===w&&S?(0,i.jsx)(b,{result:S,resultData:{userName:D},isEnglish:"en"===B,isJapanese:"ja"===B,locale:B}):null}}},e=>{e.O(0,[48230,9673,57384,94424,4735,36676,32506,34044,40892,38465,90636,46593,38792],()=>e(e.s=62344)),_N_E=e.O()}]);

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.