1import{$ as Se,e as ye,u as Pe,Y as ve,k as ie,n as f,r as xe,d as Ae,h as se,F as Ce,H as we,W as _e,J as Ue,K as Ee,L as be,M as ke,N as je,P as ze,Q as Le,S as Re}from"../chunks/chunk-BmQm0ZpK.js";import{A as Ne,F as De,C as Oe}from"../chunks/chunk-D6OfgHje.js";import{A as Ie,u as Ve,a as Be,P as We,E as Me,T as He,s as Fe,b as $e,c as Ge,d as Qe,e as qe}from"../chunks/chunk-Cnr9I5yt.js";import{aj as Ke,ai as Je,C as Ye,c as fe,u as Xe,r as ne,j as a,ak as Ze,al as et,am as tt,an as at,ao as ot,ap as rt,ac as it,ad as st,i as nt}from"../chunks/chunk-CqXXaRGN.js";import{r as ue}from"../chunks/chunk-DYvz-Xxf.js";import{p as lt}from"../chunks/chunk-DIkZtIFw.js";import{P as pt,a as dt}from"../chunks/chunk-TcB_rNZw.js";import{A as mt}from"../chunks/chunk-nmTwdV6I.js";import{u as ct,A as ut}from"../chunks/chunk-Bkhs7uIs.js";import{T as ft}from"../chunks/chunk-BnaFIENq.js";import{u as Tt,i as ht}from"../chunks/chunk-C3fPLiMp.js";import{u as gt}from"../chunks/chunk-89yyo1Ih.js";import{u as St}from"../chunks/chunk-1LDb75uj.js";import{o as yt}from"../chunks/chunk-v-ex7P9l.js";import{i as Pt}from"../chunks/chunk-PjRY1fQB.js";import{N as vt}from"../chunks/chunk-D1703sxC.js";import{s as d}from"../chunks/chunk-bymFMve0.js";import{i as xt}from"../chunks/chunk-BoCd6x5B.js";import{i as At}from"../chunks/chunk-Bp-2dHNy.js";import{s as Ct}from"../chunks/chunk-BvX32pUz.js";import{i as wt,a as _t}from"../chunks/chunk-B0GUaiLb.js";import{i as Ut}from"../chunks/chunk-BniTeOdV.js";import"../chunks/chunk-DdzI3w9g.js";import"../chunks/chunk-BATZ_WKa.js";import"../chunks/chunk-mC2UZUPl.js";import"../chunks/chunk-SUV0OUIe.js";import"../chunks/chunk-D2bJ3g6K.js";import"../chunks/chunk-BfSGgsOh.js";import"../chunks/chunk-DHjGcFaR.js";import"../chunks/chunk-D9NsDIZP.js";import"../chunks/chunk-CWMyu24r.js";import"../chunks/chunk-qKlP5hnO.js";import"../chunks/chunk-57kxcbhX.js";import"../chunks/chunk-C8VE7T3j.js";import"../chunks/chunk-DEa6YQm1.js";import"../chunks/chunk-z6iGnytt.js";import"../chunks/chunk-DnQHoSev.js";import"../chunks/chunk-r_2qgeEK.js";import"../chunks/chunk-Csx3XVNJ.js";import"../chunks/chunk--O0Ebrrh.js";import"../chunks/chunk-BDhDDwOa.js";import"../chunks/chunk-BZj9rAUf.js";import"../chunks/chunk-DA5WQ5q1.js";import"../chunks/chunk-yn-QMwkl.js";import"../chunks/chunk-VMhPLI_a.js";import"../chunks/chunk-c0M36y2J.js";import"../chunks/chunk--yzudm8I.js";import"../chunks/chunk-DjRCR9kX.js";import"../chunks/chunk-DiF9iBo2.js";import"../chunks/chunk-Vtwv1UvV.js";import"../chunks/chunk-Bi4ZKdm3.js";import"../chunks/chunk-dzU0_A_e.js";import"../chunks/chunk-Mt84bvpm.js";import"../chunks/chunk-BY9S9ui_.js";import"../chunks/chunk-yjYzcZNq.js";import"../chunks/chunk-BGCRePh0.js";import"../chunks/chunk-DVf2rXpF.js";import"../chunks/chunk-CkxqVWIk.js";import"../chunks/chunk-DjI-S3rR.js";import"../chunks/chunk-_CHb08Y9.js";import"../chunks/chunk-B0FlIo77.js";import"../chunks/chunk-F0TrVccd.js";import"../chunks/chunk-RjyZYGWp.js";import"../chunks/chunk-BwOzJz_2.js";import"../chunks/chunk-Ck5UE3T8.js";import"../chunks/chunk-D7nUWXo2.js";import"../chunks/chunk-CceJRrVt.js";import"../chunks/chunk-Dd9spj_2.js";import"../chunks/chunk-DwQPf4vR.js";import"../chunks/chunk-B90wESul.js";import"../chunks/chunk-BivHMkxy.js";import"../chunks/chunk-DDd5hojo.js";import"../chunks/chunk-B07sXE03.js";import"../chunks/chunk-AqmfmX8P.js";import"../chunks/chunk-fCNPxXu0.js";import"../chunks/chunk-Cc_TQvvn.js";import"../chunks/chunk-CYSbcLs6.js";import"../chunks/chunk-DinQ_Z8C.js";import"../chunks/chunk-DYz8lZxm.js";import"../chunks/chunk-BaitMEYW.js";import"../chunks/chunk-BCtPjqA_.js";import"../chunks/chunk-BQSZA9vJ.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css *//* empty css */function Vt(){import.meta.url,import("_").catch(()=>1),(async function*(){})().next()}async function Et(t){t.pageType="entrance";const{q:e,a:l,m,t:r}=t.urlParsed.search;if(typeof e=="string"&&Se(e)){const o=Ke(ye({text:e,inputSource:Ye.requestParameterQuestion,agent:l&&l.trim().length!==0?l:void 0,optionalContents:lt(m)}),t,["uc","vt","ti"]),u=ue(t,o.toString(),302);if(u)throw u;return}const p=Ie.safeParse(r);if(p.success){const o=p.data,u=Je("".concat(Ne).concat(encodeURIComponent(o)),t),c=ue(t,u.toString(),302);if(c)throw c}}const bt=Object.freeze(Object.defineProperty({__proto__:null,onCreatePageContext:Et},Symbol.toStringTag,{value:"Module"})),kt=t=>{var le,pe,de,me,ce;const e=fe.c(72),{recommendCardCandidates:l,offerCardCandidates:m,taskCatalogCandidates:r}=t,{latestQuestion:p}=Pe(),o=Xe(),u=gt(),{auth:c,pageType:V}=o,{errorToast:P}=ct(),{otherToast:x}=St(),{isPrivateMode:n}=ve(),{isLineCwv:A}=Tt(),C=(le=c==null?void 0:c.isIdleTimeout)!=null?le:!1,T=(pe=c==null?void 0:c.isFullyLoggedIn)!=null?pe
1:!1,B=V==="entrance",[h,Te]=ne.useState(!1),[W,X]=ne.useState(!1),he=ie("enable_top_task_notification_liff"),w=ie("enable_agent_top_task_catalog"),_=ie("enable_agent_top_task_onboarding"),ge=(me=(de=o.userCapabilities)==null?void 0:de.canUseTask)!=null?me:T,g=!n&&(he||o.appVariant==="agent_i_app"?ge:T),{data:S,isLoading:i}=Ve(g),s=S!==null&&S.tasks.length>=1,v=S!==null&&S.registeredTaskCount>=1,M=Be(i);let H;e[0]!==w||e[1]!==o.lineAppInfo?(H=w&&!ht(o.lineAppInfo),e[0]=w,e[1]=o.lineAppInfo,e[2]=H):H=e[2];const Z=H,U=Z&&((ce=r==null?void 0:r.length)!=null?ce:0)>=1,ee=!n&&Z&&!U&&g&&!i&&!s&&v,E=!n&&Z&&U;let F;e[3]!==_||e[4]!==v||e[5]!==i||e[6]!==s||e[7]!==E?(F=Fe({enableTaskOnboarding:_,showTaskCatalogSection:E,showTaskCard:s,isLoading:i,hasRegisteredTasks:v}),e[3]=_,e[4]=v,e[5]=i,e[6]=s,e[7]=E,e[8]=F):F=e[8];const te=F,y=!n&&!U&&(!W||i);let $,G;e[9]!==i||e[10]!==M||e[11]!==s||e[12]!==y?($=()=>{!s||i||(M&&y?(Te(!0),X(!1)):X(!0))},G=[s,i,M,y],e[9]=i,e[10]=M,e[11]=s,e[12]=y,e[13]=$,e[14]=G):($=e[13],G=e[14]),ne.useEffect($,G);let Q;e[15]!==o.crumb||e[16]!==o.saraProxy?(Q=re=>{!re.session_id||!Pt(re.session_id)||!o.saraProxy.baseUrl||!o.crumb||yt(re.session_id,o.saraProxy.baseUrl,o.crumb).catch(jt)},e[15]=o.crumb,e[16]=o.saraProxy,e[17]=Q):Q=e[17];const ae=Q;let q;e[18]===Symbol.for("react.memo_cache_sentinel")?(q=[d.entrance],e[18]=q):q=e[18];let b;e[19]!==ae||e[20]!==i||e[21]!==n||e[22]!==h||e[23]!==W||e[24]!==g||e[25]!==s||e[26]!==y||e[27]!==U||e[28]!==S?(b=(n||s||y)&&a.jsxs(f.div,{position:"relative",className:[d.topLeadWrap,g&&d.topLeadWrapExpanded,g&&(i||s)&&d.topLeadWrapTaskCard,(i||s)&&U&&d.topLeadWrapTaskCardNew],children:[s&&W&&a.jsx(f.div,{className:d.taskEntryCardWrapper,children:a.jsx(ft,{tasks:S.tasks.map(zt),unopened_task_count:S.unopenedTaskCount,fr2TaskUnopened:De,onOpenTask:ae})}),n?a.jsx(We,{}):y?a.jsxs(f.div,{className:[d.entranceTopLead,g&&i&&d.entranceTopLeadHidden],position:g?"absolute":void 0,width:"full",marginBottom:"800",children:[a.jsx(f.div,{className:[d.entranceAvatarWrap,h&&d.entranceAvatarWrapWithAnimation],marginBottom:"300",onAnimationEnd:h?()=>X(!0):void 0,children:a.jsx(Me,{className:d.entranceAvatar,isPrivateMode:n})}),a.jsx(xe.Text,{fontWeight:"bold",fontSize:"150",textAlign:"center",className:h&&d.entranceTopLeadIntroductoryTextAnimation,children:"ããªãã®çåãæ©ã¿ãAIã解決ãã¾ãã"})]}):null]}),e[19]=ae,e[20]=i,e[21]=n,e[22]=h,e[23]=W,e[24]=g,e[25]=s,e[26]=y,e[27]=U,e[28]=S,e[29]=b):b=e[29];let k;e[30]!==v||e[31]!==i||e[32]!==s||e[33]!==E||e[34]!==te||e[35]!==r?(k=E&&a.jsx($e,{hasUnreadTasks:s,hasRegisteredTasks:v,isLoading:i,cards:r!=null?r:[],showOnboarding:te}),e[30]=v,e[31]=i,e[32]=s,e[33]=E,e[34]=te,e[35]=r,e[36]=k):k=e[36];let j;e[37]!==ee?(j=ee&&a.jsx(f.div,{display:"flex",alignItems:"center",position:"relative",width:"full",marginBottom:"800",children:a.jsx(He,{hasRegisteredTasks:!0,isLoading:!1})}),e[37]=ee,e[38]=j):j=e[38];let z;e[39]!==u||e[40]!==p?(z=u({latestQuestion:p}),e[39]=u,e[40]=p,e[41]=z):z=e[41];let L;e[42]!==T||e[43]!==C||e[44]!==z?(L=a.jsx(f.div,{id:"entrance-new-question-input",marginBottom:"500",width:"full",children:a.jsx(vt,{isFullyLoggedIn:T,isIdleTimeout:C,questionCnt:"0",loginAction:z,isHiddenTooltip:!0,enableImageInput:!0,allowPrivateMode:!1})}),e[42]=T,e[43]=C,e[44]=z,e[45]=L):L=e[45];let R;e[46]!==n?(R=!n&&a.jsx(Ge,{}),e[46]=n,e[47]=R):R=e[47];let N;e[48]!==m||e[49]!==l?(N=a.jsx(Qe,{offerCardCandidates:m,recommendCardCandidates:l}),e[48]=m,e[49]=l,e[50]=N):N=e[50];let D;e[51]!==L||e[52]!==R||e[53]!==N||e[54]!==b||e[55]!==k||e[56]!==j?(D=a.jsxs(f.div,{className:d.entranceContent,children:[b,k,j,L,R,N]}),e[51]=L,e[52]=R,e[53]=N,e[54]=b,e[55]=k,e[56]=j,e[57]=D):D=e[57];let K;e[58]===Symbol.for("react.memo_cache_sentinel")?(K={paddingBottom:"300"},e[58]=K):K=e[58];const oe=B&&!P.showToast;let J;e[59]===Symbol.for("react.memo_cache_sentinel")?(J=a.jsx(f.div,{textAlign:"center",children:a.jsx(Ae,{sec:"footer",children:a.jsx(ut,{marginTop:"300"})})}),e[59]=J):J=e[59];let O;e[60]!==P||e[61]!==x||e[62]!==oe?(O=a.jsx(mt,{innerStyle:K,errorToast:P,showLpBanner:oe,otherToast:x,children:J}),e[60]=P,e[61]=x,e[62]=oe,e[63]=O):O=e[63];let I;e[64]!==w||e[65]!==_||e[66]!==A?(I=w&&!A&&!_&&a.jsx(qe,{}),e[64]=w,e[65]=_,e[66]=A,e[67]=I):I=e[67];let Y;return e[68]!==D||e[69]!==O||e[70]!==I?(Y=a.jsxs(f.div,{position:"relative",className:q,children:[D,O,I]}),e[68]=D,e[69]=O,e[70]=I,e[71]=Y):Y=e[71],Y};function jt(){}function zt(t){var e;return{task_id:t.taskId,session_id:t.sessionId,image_url:(e=t.imageUrl)!=null?e:void 0,summary_text:t.summaryText,updatedAt:t.answerUpdatedAtLabel,url:"".concat(Oe,"/s/").concat(t.sessionId,"?fr2=area_ai_taskcard")}}const Lt=()=>{const t=fe.c(5),{candidates:e}=se(Ze),{offerCardCandidates:l}=se(et),{taskCatalogCandidates:m}=se(tt);let r;t[0]===Symbol.for("react.memo_cache_sentinel")?(r={marginBottom:"300"},t[0]=r):r=t[0];let p;return t[1]!==e||t[2]!==l||t[3]!==m?(p=a.jsx(pt,{componentName:"Chat",heading:dt,forceError:!1,showErrorNotice:!0,noticeMargin:r,children:a.jsx(kt,{recommendCardCandidates:e,offerCardCandidates:l,taskCatalogCandidates:m})}),t[1]=e,t[2]=l,t[3]=m,t[4]=p):p=t[4],p},Rt=Object.freeze(Object.defineProperty({__proto__:null,default:Lt},Symbol.toStringTag,{value:"Module"})),Nt=t=>{var l,m,r,p,o,u,c,V,P,x,n,A,C,T,B,h;const{store:e}=t;e.dispatch(at((l=t.data)==null?void 0:l.recommendCards)),e.dispatch(ot
1((m=t.data)==null?void 0:m.offerCards)),e.dispatch(rt((r=t.data)==null?void 0:r.taskCatalog)),e.dispatch(it({})),e.dispatch(st((p=t.data)==null?void 0:p.agentList)),e.dispatch(nt({egisState:{enable:((u=(o=t.data)==null?void 0:o.errorMessage)==null?void 0:u.enable)||!1,message:((V=(c=t.data)==null?void 0:c.errorMessage)==null?void 0:V.message)||""},errorNotice:{enable:((x=(P=t.data)==null?void 0:P.errorNotice)==null?void 0:x.enable)||!1,message:((A=(n=t.data)==null?void 0:n.errorNotice)==null?void 0:A.message)||"",type:((T=(C=t.data)==null?void 0:C.errorNotice)==null?void 0:T.type)||"error",endAt:(h=(B=t.data)==null?void 0:B.errorNotice)==null?void 0:h.endAt}})),t.isPrerendering||delete t.data},Dt=Object.freeze(Object.defineProperty({__proto__:null,onData:Nt},Symbol.toStringTag,{value:"Module"}));function Ot(t){Ct(t,{pagetype:"top"})}const It=Object.freeze(Object.defineProperty({__proto__:null,onBeforeRenderClient:Ot},Symbol.toStringTag,{value:"Module"})),vo={hasServerOnlyHook:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},isClientRuntimeLoaded:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:!0}},onBeforeRenderEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}},dataEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:{server:!0}}},guardEnv:{type:"computed",definedAtData:null,valueSerialized:{type:"js-serialized",value:null}},onRenderClient:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/onRenderClient",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:Re}},onPageTransitionStart:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/+onPageTransitionStart.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Le}},onPageTransitionEnd:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/+onPageTransitionEnd.ts",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:ze}},onCreatePageContext:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/pc/chat/index/+onCreatePageContext.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/+onCreatePageContext.client.ts",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:bt},{type:"plus-file",exportValues:je}]},Page:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/pc/chat/index/+Page.tsx",fileExportPathToShowToUser:[]},valueSerialized:{type:"plus-file",exportValues:Rt}},onData:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/pc/chat/index/+onData.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/+onData.client.ts",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:Dt},{type:"plus-file",exportValues:ke}]},hydrationCanBeAborted:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/config",fileExportPathToShowToUser:["default","hydrationCanBeAborted"]},valueSerialized:{type:"js-serialized",value:!0}},Layout:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/layouts/pc/chat/ChatLayoutPC.tsx",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/layouts/pc/RootLayoutPC.tsx",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"pointer-import",value:xt},{type:"pointer-import",value:At}]},title:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/+config.ts",fileExportPathToShowToUser:["default","title"]},valueSerialized:{type:"js-serialized",value:"Agent i"}},lang:{type:"standard",definedAtData:{filePathToShowToUser:"/src/pages/+config.ts",fileExportPathToShowToUser:["default","lang"]},valueSerialized:{type:"js-serialized",value:"ja"}},onBeforeRenderClient:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/pc/chat/index/+onBeforeRenderClient.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/pc/chat/+onBeforeRenderClient.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/+onBeforeRenderClient.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"vike-react-redux/__internal/onBeforeRenderClient",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:It},{type:"plus-file",exportValues:_t},{type:"plus-file",exportValues:Ee},{type:"pointer-import",value:be}]},onAfterRenderClient:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/pc/chat/+onAfterRenderClient.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/pc/+onAfterRenderClient.ts",fileExportPathToShowToUser:[]},{filePathToShowToUser:"/src/pages/+onAfterRenderClient.ts",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:wt},{type:"plus-file",exportValues:Ut},{type:"plus-file",exportValues:Ue}]},Wrapper:{type:"cumulative",definedAtData:[{filePathToShowToUser:"/src/pages/+Wrapper.tsx",fileExportPathToShowToUser:[]},{filePathToShowToUser:"vike-react-redux/__internal/Wrapper",fileExportPathToShowToUser:[]}],valueSerialized:[{type:"plus-file",exportValues:we},{type:"pointer-import",value:_e}]},Loading:{type:"standard",definedAtData:{filePathToShowToUser:"vike-react/__internal/integration/Loading",fileExportPathToShowToUser:[]},valueSerialized:{type:"pointer-import",value:Ce}}};export{Vt as __vite_legacy_guard,vo as configValuesSerialized};
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.