PageSourceSearch

https://www.maumdive.com/_next/static/chunks/pages/ideal-type-f-434dc2d280d5b9dd.js

js maumdive.com collected 2026-09-24 14:49:44 UTC 21,546 bytes, 37 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[49481,79563,86429],{10758:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/ideal-type-f",function(){return a(97125)}])},33004:(e,t,a)=>{"use strict";a.d(t,{v:()=>l});var s=a(14232),r=a(89099),n=a(10553);let l=e=>{let{enableGender:t=!0,testType:a}=e||{},l=(0,r.useRouter)(),{data:i,status:o}=(0,n.useSession)(),d=t&&(!a||!["typing-game","dog-behavior-analysis","animal-quiz","dad-joke-quiz","mystery-turtle-soup"].includes(a)),[u,c]=(0,s.useState)(""),[m,h]=(0,s.useState)(""),[p,f]=(0,s.useState)({}),[y,g]=(0,s.useState)(!0),b=()=>l.locale?l.locale:l.asPath.startsWith("/en/")?"en":l.asPath.startsWith("/ja/")?"ja":l.asPath.startsWith("/es/")?"es":l.asPath.startsWith("/vi/")?"vi":l.asPath.startsWith("/zh-tw/")?"zh-tw":"ko",x=(e,t)=>{if(!e)return"";let a=e.toLowerCase().trim();return["male","m","남성","남자","수컷","boy","男性","hombre","nam"].includes(a)||"Male"===e||"男"===e?"en"===t?"Male":"ja"===t?"男性":"es"===t?"Hombre":"vi"===t?"Nam":"zh-tw"===t?"男性":"남성":["female","f","여성","여자","암컷","girl","女性","mujer","nữ"].includes(a)||"Female"===e||"女"===e?"en"===t?"Female":"ja"===t?"女性":"es"===t?"Mujer":"vi"===t?"Nữ":"zh-tw"===t?"女性":"여성":e},T=async()=>{try{let e=localStorage.getItem("sessionToken")||sessionStorage.getItem("sessionToken");if(!e)return null;let t={"Content-Type":"application/json",Authorization:`Bearer ${e}`},a=new AbortController,s=setTimeout(()=>a.abort(),1e4),r=await fetch("/api/user/profile",{method:"GET",credentials:"include",headers:t,signal:a.signal});if(clearTimeout(s),r.ok){let e=await r.json(),t=e.user||e;return{name:t.nickname||t.name||t.username,gender:t.gender,email:t.email,profileData:{...t.profileData||{},universeId:t.universeId||t.universe_id,profileImage:t.profileImage||t.image}}}
1401===r.status&&(localStorage.removeItem("sessionToken"),sessionStorage.removeItem("sessionToken"))}catch(e){e.name}return null};return(0,s.useEffect)(()=>{let e,t=!0,s=async()=>{try{g(!0),e=setTimeout(()=>{t&&g(!1)},15e3);let s=i?.user,r=await T();if(!r&&s&&"authenticated"===o&&(r={name:s.nickname||s.name,gender:s.gender,email:s.email,profileData:{...s.profileData||{},universeId:s.universeId||s.universe_id||s.id,profileImage:s.image||s.picture}}),!t)return;if(r){let e=r.name;if(["saju-reading","new-year-2026","new-year-2027","saju-wealth"].includes(a||"")&&r.profileData?.familyName&&r.profileData?.givenName&&(e=`${r.profileData.familyName}${r.profileData.givenName}`),e&&c(e),r.gender){let e=b(),t=x(r.gender,e);h(t)}r.profileData&&f(r.profileData)}}catch(e){console.error("❌ useAutoFillUser - 로드 오류:",e)}finally{t&&(clearTimeout(e),g(!1))}};return l.isReady&&s(),()=>{t=!1,e&&clearTimeout(e)}},[l.isReady,l.locale,i,o]),{userName:u,setUserName:c,userGender:d?m:"미설정",setUserGender:e=>{h(x(e,b()))},userProfileData:p,isLoading:y,isUserInfoComplete:()=>{let e=""!==u.trim(),t=!d||""!==m;return e&&t},clearUserInfo:()=>{c(""),h(""),f({})},getCurrentLanguage:b,normalizeGender:x,displayGender:d?m:"ko"===b()?"미설정":"Not set",shouldShowNickname:!0,shouldShowGender:d,representsMale:"남성"===x(m,"ko"),representsFemale:"여성"===x(m,"ko")}}},79563:(e,t,a)=>{"use strict";a.d(t,{L:()=>r,saveSharedResult:()=>s});let s=async(e,t)=>{try{if(!e.testType||!e.userName)throw Error("필수 정보가 누락되었습니다.");let a=e.userGender||"",s={testType:e.testType,testName:e.testName,userName:e.userName,userGender:a,answers:e.answers||[],result:e.result?JSON.parse(JSON.stringify(e.result)):null,...e.mbtiResult&&{mbtiResult:e.mbtiResult},...e.enneagramType&&{enneagramType:e.enneagramType},...e.attachmentType&&{attachmentType:e.attachmentType},...e.intelligenceScores&&{intelligenceScores:e.intelligenceScores}},r="ko";{let e=window.location.pathname;e.startsWith("/en")?r="en":e.startsWith("/es")?r="es":e.startsWith("/vi")?r="vi":e.startsWith("/zh-tw")?r="zh-tw":e.startsWith("/ja")&&(r="ja")}void 0!==t&&("string"==typeof t?r=t:"boolean"==typeof t&&!0===t&&(r="en"));let n={testType:e.testType,testName:e.testName||e.testType,resultData:s,userName:e.userName,userGender:a,language:r},l=await fetch("/api/shared-results",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)});if(!l.ok){let e=await l.text();throw console.error("API 응답 오류:",l.status,e),Error(`결과 저장에 실패했습니다. (${l.status})`)}let i=l.headers.get("content-type");if(!i||!i.includes("application/json")){let e=await l.text();throw console.error("공유 결과 저장: JSON이 아닌 응답 받음",e.substring(0,200)),Error("서버에서 잘못된 형식의 응답을 받았습니다.")}let o=await l.json();if(e.result)try{let t="";if(e.result.type?t=e.result.type:e.mbtiResult&&(t=e.mbtiResult),t){let a={testId:e.testType,result:t,nickname:e.userName,timestamp:Date.now()};localStorage.setItem(`mymd_result_${e.testType}`,JSON.stringify(a))}}catch(e){console.error("로컬 저장 실패:",e)}return o.sharedId}catch(e){throw console.error("공유 결과 저장 오류:",e),e}},r=async e=>{try{if(!e||!e.testType||!e.userName)throw Error("공유할 데이터가 부족합니다.");let t=window.location.pathname.startsWith("/en"),a={...e,testName:e.testName||e.testType,result:e.result||{}},r=await s(a,t),n=((e,t,a)=>{let s="ko";{let e=window.location.pathname;e.startsWith("/en")?s="en":e.startsWith("/es")?s="es":e.startsWith("/vi")?s="vi":e.startsWith("/zh-tw")?s="zh-tw":e.startsWith("/ja")&&(s="ja")}void 0!==a&&("string"==typeof a?s=a:"boolean"==typeof a&&!0===a&&(s="en"));let r="ko"===s?"":`/${s}`;return`https://www.maumdive.com${r}/${e}/result/${t}`})(e.testType,r,t);if(!document.getElementById("share-notification-styles")){let e=document.createElement("style");e.id="share-notification-styles",e.textContent=`
2        @keyframes slideIn {
3          from {
4            opacity: 0;
5            transform: translate(-50%, -60%);
6          }
7          to {
8            opacity: 1;
9            transform: translate(-50%, -50%);
10          }
11        }
12        @keyframes slideOut {
13          from {
14            opacity: 1;
15            transform: translate(-50%, -50%);
16          }
17          to {
18            opacity: 0;
19            transform: translate(-50%, -40%);
20          }
21        }
22      `,document.head.appendChild(e)}try{await navigator.clipboard.writeText(n);let e=document.createElement("div");e.style.cssText=`
23        position: fixed;
24        top: 50%;
25        left: 50%;
26        transform: translate(-50%, -50%);
27        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
28        color: white;
29        padding: 20px 30px;
30        border-radius: 15px;
31        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
32        z-index: 10000;
33        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
34        font-size: 16px;
35        text-align: center;
36        animation: slideIn 0.3s ease-out;
37      `,e.innerHTML=t?'\uD83C\uDF89 Link copied!<br><small style="opacity: 0.8;">Share it with your friends~</small>':'\uD83C\uDF89 링크가 복사되었어요!<br><small style="opacity: 0.8;">친구들에게 바로 공유해보세요~</small>',document.body.appendChild(e),setTimeout(()=>{e.style.animation="slideOut 0.3s ease-in forwards",setTimeout(()=>{e.parentNode&&document.body.removeChild(e)},300)},2e3)}catch(a){let e=document.createElement("textarea");e.value=n,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy");let e=t?"\uD83C\uDF89 Link copied!\nShare it with your friends!":"\uD83C\uDF89 링크가 복사되었어요!\n친구들에게 공유해보세요!";alert(e)}catch(a){let e=t?"Copy function is not available. Please copy the link directly:\n"+n:"복사 기능을 사용할 수 없습니다. 링크를 직접 복사해주세요:\n"+n;alert(e)}document.body.removeChild(e)}}catch(e){console.error("❌ 공유 오류:",e),alert(window.location.pathname.startsWith("/en")?"An error occurred while sharing the result. Please try again later.":"결과 공유 중 오류가 발생했습니다. 잠시 후 다시 시도해주세요.")}}},88509:(e,t,a)=>{"use strict";a.d(t,{q:()=>n});var s=a(57384);let r=e=>fetch(e).then(e=>e.json()),n=e=>{let{data:t,error:a}=(0,s.Ay)("/api/test-stats",r,{refreshInterval:6e5,revalidateOnFocus:!1,revalidateOnReconnect:!1,dedupingInterval:3e5,fallbackData:{},errorRetryCount:1,errorRetryInterval:15e3}),n=e=>t&&e&&t[e]||0;return{participantCount:n(e),testStats:t,isLoading:!a&&!t,error:a,getParticipantCount:n}}},97125:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>g,default:()=>b});var s=a(37876),r=a(18847),n=a.n(r),l=a(14232),i=a(89099),o=a(53271),d=a(58238),u=a(33004),c=a(88509),m=a(79563),h=a(94424);let p=n()(()=>Promise.all([a.e(22223),a.e(12866),a.e(50665)]).then(a.bind(a,50665)),{loadableGenerated:{webpack:()=>[50665]},ssr:!1}),f=n()(()=>Promise.all([a.e(22223),a.e(12866),a.e(36098)]).then(a.bind(a,36098)),{loadableGenerated:{webpack:()=>[36098]},ssr:!1}),y=()=>(0,s.jsxs)("div",{className:"flex items-center gap-1 bg-[#1e293b] p-3 rounded-2xl rounded-tl-sm w-16 h-10 ml-2 mt-2",children:[(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),(0,s.jsx)("div",{className:"w-2 h-2 bg-gray-400 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]});var g=!0;let b=function(e){let{initialQuestions:t,initialLoadingSteps:a,initialLoadingParams:r}=e,n=(0,i.useRouter)(),{locale:g="ko"}=n,b="ideal-type-f",x=t||[],[T,w]=(0,l.useState)("intro"),[N,v]=(0,l.useState)(0),[I,j]=(0,l.useState)([]),[k,S]=(0,l.useState)(!1),[M,R]=(0,l.useState)([]),[$,B]=(0,l.useState)(!1),[D,E]=(0,l.useState)(!1),C=(0,l.useRef)(null),P=(0,l.useRef)(null),[W,_]=(0,l.useState)(""),{userName:z,setUserName:A}=(0,u.v)({enableGender:!1}),{participantCount:U}=(0,c.q)("ideal-type-f");(0,l.useEffect)(()=>{C.current&&C.current.scrollTo({top:C.current.scrollHeight,behavior:"smooth"})},[M,$,D]),(0,l.useEffect)(()=>
37{P.current=new Audio("ko"===g?"/sounds/kakao-alert.mp3":"/sounds/dm-alert.mp3");let e=new Date,t="ko-KR";"en"===g?t="en-US":"ja"===g?t="ja-JP":"zh-TW"===g?t="zh-TW":"es"===g&&(t="es-ES"),_(e.toLocaleDateString(t,{year:"numeric",month:"long",day:"numeric",weekday:"long"}))},[g]);let G=()=>{P.current&&(P.current.currentTime=0,P.current.volume=.5,P.current.play().catch(e=>console.log("Audio autoplay blocked",e)))},F=async(e,t)=>{let a=x[e];if(!a&&!t)return;E(!1),B(!0);let s=t||a.botMessages||[a.text];for(let e=0;e<s.length;e++)await new Promise(e=>setTimeout(e,1e3+800*Math.random())),R(t=>[...t,{sender:"bot",text:s[e]}]),G();B(!1),t||setTimeout(()=>E(!0),400)},L=async e=>{E(!1);let t=x[N].options[e],a=t.text;R(e=>[...e,{sender:"user",text:a}]);let s=[...I,e];if(j(s),t.reaction&&t.reaction.length>0?(await F(N,t.reaction),await new Promise(e=>setTimeout(e,800))):await new Promise(e=>setTimeout(e,600)),N<x.length-1){let e=N+1;v(e),F(e)}else setTimeout(()=>{B(!0),setTimeout(()=>{R(e=>[...e,{sender:"bot",text:q.waitResult||"잠시만 기다려요! \uD83D\uDE0A"}]),G(),setTimeout(()=>O(s),1500)},1200)},500)},O=async e=>{S(!0);let t=function(e,t){let a={E:0,I:0,S:0,N:0,T:0,F:0,J:0,P:0},s={E:0,I:0,S:0,N:0,T:0,F:0,J:0,P:0};t.forEach(e=>{e&&e.options&&e.options.forEach(e=>{e&&e.value&&void 0!==s[e.value]&&s[e.value]++})}),e.forEach((e,s)=>{if(t[s]){let r=t[s].options?.[e]?.value;r&&void 0!==a[r]&&a[r]++}});let r=(e,t)=>{let r=s[e],n=s[t];return{posRatio:r>0?a[e]/r:.5,negRatio:n>0?a[t]/n:.5}},n=r("E","I"),l=r("S","N"),i=r("T","F"),o=r("J","P"),d=n.posRatio>=n.negRatio?"E":"I",u=l.posRatio>=l.negRatio?"S":"N",c=i.posRatio>=i.negRatio?"T":"F",m=o.posRatio>=o.negRatio?"J":"P";return`${d}${u}${c}${m}`}(e,x);try{let a=await (0,m.saveSharedResult)({testType:b,testName:q.testName||"이상형 MBTI 찾기",userName:z||q.defaultUser||"사용자",userGender:"female",answers:e,result:{type:t}},"ko"!==g);setTimeout(()=>{let e="ko"!==g&&g?`/${g}`:"";a?n.push(`${e}/${b}/result/${a}`):n.push(`${e}/${b}/result/${t}?name=${encodeURIComponent(z)}`)},1500)}catch(e){console.error("Save failed:",e),setTimeout(()=>{let e="ko"!==g&&g?`/${g}`:"";n.push(`${e}/${b}/result/${t}?name=${encodeURIComponent(z)}`)},1500)}},J=N/x.length*100,H={ko:{title:"나의 이상형 MBTI찾기 테스트(여성용)",testTitle:"나의 이상형 MBTI찾기 테스트(여성용)",subtitle:"과연 내가 진짜로 끌리는 스타일은?",desc:"낯선 번호로 온 설레는 카톡. 대화의 끝에서 당신의 심장을 뛰게 한 그 남자의 정체가 밝혀집니다. 나의 무의식이 원하는 이상형 MBTI는?",btn:"카톡 확인하기",senderName:"존잘/번따남",waitReply:"답장을 기다리는 중...",placeholder:"본인 이름 입력",tags:["#MBTI이상형","#연애테스트","#카톡테스트","#심리테스트"],alertName:"이름을 입력해주세요!",greeting:e=>`${e}씨!`,waitResult:"잠시만 기다려요! \uD83D\uDE0A",defaultUser:"사용자",testName:"이상형 MBTI 찾기"},en:{title:"Your True Taste: Ideal Type MBTI Analysis (Women)",testTitle:"My Ideal Type MBTI Finder (Female)",subtitle:"Who am I really attracted to?",desc:"A heart-fluttering text from an unknown number. At the end of the conversation, the identity of the guy who made your heart race will be revealed. What's your ideal MBTI?",btn:"Check Messages",senderName:"Cute Guy",waitReply:"Waiting for reply...",placeholder:"Enter your name",tags:["#MBTI_IdealType","#DatingTest","#TextTest","#PsychTest"],alertName:"Please enter your name!",greeting:e=>`Hey ${e}!`,waitResult:"Just a moment! \uD83D\uDE0A",defaultUser:"User",testName:"Ideal Type MBTI"},ja:{title:"あなたの本当の好み:理想のタイプMBTI精密分析(女性用)",testTitle:"私の理想のタイプMBTI診断(女性用)",subtitle:"果たして私が本当に惹かれるスタイルは?",desc:"見知らぬ番号から来た胸をときめかせるLINE。会話の終わりに、あなたの心臓を高鳴らせた彼の正体が明らかになります。私の無意識が求める理想のMBTIは?",btn:"LINEを確認する",senderName:"イケメン/ナンパ男",waitReply:"返信を待っています...",placeholder:"名前を入力してね",tags:["#MBTI理想のタイプ","#恋愛診断","#LINE診断","#心理テスト"],alertName:"名前を入力してください!",greeting:e=>`${e}さん!`,waitResult:"少々お待ちください! \uD83D\uDE0A",defaultUser:"ユーザー",testName:"理想のタイプMBTI"},"zh-TW":{title:"你的真實取向:理想型MBTI精準分析(女性用)",testTitle:"我的理想型MBTI測試(女性專屬)",subtitle:"我真正會被吸引的類型是?",desc:"來自陌生號碼的讓人心動的LINE。在對話的最後,讓你心跳加速的那個他的身份將被揭曉。我潛意識裡想要的理想型MBTI是?",btn:"查看訊息",senderName:"大帥哥",waitReply:"正在等待回覆...",placeholder:"輸入您的名字",tags:["#MBTI理想型","#戀愛測試","#聊天測試","#心理測試"],alertName:"請輸入您的名字!",greeting:e=>`${e}!`,waitResult:"請稍等一下! \uD83D\uDE0A",defaultUser:"使用者",testName:"理想型MBTI"},es:{title:"Tu Verdadero Gusto: An\xe1lisis MBTI Tipo Ideal (Mujeres)",testTitle:"Test Mi Tipo Ideal MBTI (Femenino)",subtitle:"\xbfA qui\xe9n me siento atra\xedda realmente?",desc:"Un mensaje de texto de un n\xfamero desconocido. Al final de la conversaci\xf3n, se revelar\xe1 la identidad del chico que hizo latir tu coraz\xf3n. \xbfCu\xe1l es el MBTI de tu tipo ideal?",btn:"Revisar Mensajes",senderName:"Chico Lindo",waitReply:"Esperando respuesta...",placeholder:"Ingresa tu nombre",tags:["#TipodeIdealMBTI","#TestDeAmor","#TestDeChat","#TestPsicol\xf3gico"],alertName:"\xa1Por favor, introduce tu nombre!",greeting:e=>`\xa1Hola ${e}!`,waitResult:"\xa1Un momento! \uD83D\uDE0A",defaultUser:"Usuario",testName:"Tipo Ideal MBTI"},vi:{title:"Khẩu vị đ\xedch thực của bạn: Ph\xe2n t\xedch MBTI H\xecnh mẫu l\xfd tưởng",testTitle:"T\xecm MBTI H\xecnh mẫu l\xfd tưởng của t\xf4i",subtitle:"T\xf4i thực sự bị thu h\xfat bởi kiểu người n\xe0o?",desc:"Một tin nhắn rung động từ số lạ. Cuối c\xf9ng, danh t\xednh người l\xe0m tim bạn đập loạn nhịp sẽ được tiết lộ. MBTI l\xfd tưởng của bạn l\xe0 g\xec?",btn:"Kiểm tra tin nhắn",senderName:"Người ấy",waitReply:"Đang chờ trả lời...",placeholder:"Nhập t\xean của bạn",tags:["#MBTI","#TestTinhYeu","#TestTinNhan","#TestTamLy"],alertName:"Vui l\xf2ng nhập t\xean của bạn!",greeting:e=>`Ch\xe0o ${e}!`,waitResult:"Đợi một ch\xfat nh\xe9! \uD83D\uDE0A",defaultUser:"Người d\xf9ng",testName:"T\xecm MBTI H\xecnh mẫu l\xfd tưởng"}},q=H[g]||H.ko;if(k){let e=r||{};return(0,s.jsxs)("div",{className:"min-h-screen bg-[#0f172a] text-white flex flex-col",children:[(0,s.jsx)(p,{title:"이상형 진단중"}),(0,s.jsx)("main",{className:"flex-1 flex items-center justify-center",children:(0,s.jsx)(f,{message:e.message,subtitle:e.message,title:e.title,steps:a||{},locale:g})})]})}
37return"intro"===T?(0,s.jsx)(d.A,{thumbnail:"/thumbnails/ideal-type-f.avif",thumbnailSrc:"/thumbnails/ideal-type-f.avif",locale:g,title:q.testTitle,subtitle:q.subtitle,emoji:"\uD83D\uDC8C",participants:U,metaTitle:q.title,metaDescription:q.desc,ogImage:"/thumbnails/ideal-type-f.jpg",onStart:e=>(e=>{if(!e)return void alert(q.alertName);P.current&&(P.current.volume=0,P.current.play().then(()=>{P.current&&(P.current.pause(),P.current.currentTime=0,P.current.volume=.5)}).catch(e=>console.log("Audio unlock failed",e))),A(e),w("test"),R([{sender:"bot",text:q.greeting?q.greeting(e):`${e}!`}]),setTimeout(()=>F(0),1e3)})(e),initialNickname:z,showNicknameInput:!0,showGenderInput:!1,startButtonText:q.btn,nicknamePlaceholder:q.placeholder,tags:q.tags,children:(0,s.jsx)("div",{style:{marginTop:"20px",padding:"15px",background:"rgba(236, 72, 153, 0.1)",borderRadius:"8px",color:"#f472b6",fontSize:"0.9rem",textAlign:"center",border:"1px solid rgba(236, 72, 153, 0.3)"},children:q.desc})}):(0,s.jsxs)("div",{className:"min-h-screen bg-[#e2e8f0] flex justify-center font-pretendard",children:[(0,s.jsx)(h.A,{title:q.title,description:q.desc}),(0,s.jsxs)("div",{className:"w-full max-w-[600px] flex flex-col h-screen bg-[#8ba4b9] relative shadow-2xl overflow-hidden",children:[(0,s.jsx)(p,{title:q.testTitle,theme:"light"}),(0,s.jsxs)("main",{ref:C,className:"flex-1 overflow-y-auto pb-[180px] px-4 pt-4 hide-scrollbar",children:[(0,s.jsx)("div",{className:"flex justify-center mb-6",children:(0,s.jsx)("div",{className:"bg-[#9bbad8]/80 text-[#334b63] text-xs px-4 py-1.5 rounded-full font-medium shadow-sm",children:W})}),M.map((e,t)=>(0,s.jsxs)("div",{className:`flex w-full mb-4 ${"user"===e.sender?"justify-end":"justify-start"}`,children:["bot"===e.sender&&(0,s.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-2xl overflow-hidden mr-2 mt-1 shadow-sm border border-black/5 bg-[#1e293b] flex items-center justify-center",children:(0,s.jsx)("span",{className:"text-xl",children:"\uD83E\uDDD1\uD83C\uDFFB"})}),(0,s.jsxs)("div",{className:`flex flex-col ${"user"===e.sender?"items-end":"items-start"} max-w-[75%]`,children:["bot"===e.sender&&0===t&&(0,s.jsx)("span",{className:"text-[#334b63] text-[11px] mb-1 font-semibold ml-1",children:q.senderName}),(()=>{let t=e.text,a=null;if(t.startsWith("[IMG]")){let e=t.replace("[IMG]","").split("|");a=e[0],t=e[1]||""}return(0,s.jsxs)("div",{className:`shadow-sm leading-relaxed ${"bot"===e.sender?"bg-white text-gray-800 rounded-2xl rounded-tl-none border border-black/5":"bg-[#fee500] text-gray-800 rounded-2xl rounded-tr-none"} ${a?"p-2":"p-3 text-[15px]"}`,children:[a&&(0,s.jsx)("div",{className:"relative w-full min-w-[200px] h-48 mb-2 rounded-xl overflow-hidden",children:(0,s.jsx)(o.A,{src:a,alt:"photo",fill:!0,className:"object-cover"})}),t&&(0,s.jsx)("div",{className:a?"px-1 pb-1 pt-1 text-[15px]":"",children:t})]})})()]})]},t)),$&&(0,s.jsxs)("div",{className:"flex w-full mb-4 justify-start",children:[(0,s.jsx)("div",{className:"flex-shrink-0 w-10 h-10 rounded-2xl overflow-hidden mr-2 mt-1 shadow-sm border border-black/5 bg-[#1e293b] flex items-center justify-center",children:(0,s.jsx)("span",{className:"text-xl",children:"\uD83E\uDDD1\uD83C\uDFFB"})}),(0,s.jsx)(y,{})]})]}),(0,s.jsxs)("div",{className:"absolute bottom-0 w-full bg-white/95 backdrop-blur shadow-[0_-4px_20px_rgba(0,0,0,0.05)] border-t border-gray-100 z-50",children:[(0,s.jsx)("div",{className:"w-full h-1 bg-gray-100",children:(0,s.jsx)("div",{className:"h-full bg-pink-500 transition-all duration-300",style:{width:`${J}%`}})}),(0,s.jsx)("div",{className:"px-4 py-4 min-h-[160px] flex flex-col justify-center",children:D?(0,s.jsx)("div",{className:"flex flex-col gap-2",children:x[N].options.map((e,t)=>(0,s.jsx)("button",{onClick:()=>L(t),className:"w-full bg-[#f8fafc] hover:bg-[#ffeef5] text-gray-700 hover:text-pink-600 font-medium py-3.5 px-5 rounded-xl border border-gray-200 hover:border-pink-300 transition-all text-left text-[14px] leading-snug shadow-sm",children:e.text},t))}):(0,s.jsx)("div",{className:"text-center text-gray-400 text-sm font-medium animate-pulse flex items-center justify-center gap-2",children:q.waitReply})})]})]})]})}}},e=>{e.O(0,[48230,9673,57384,94424,4735,36676,58238,90636,46593,38792],()=>e(e.s=10758)),_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.