{"version":3,"sources":["webpack:///./src/views/chat/index.vue?aab9","webpack:///./src/views/chat/index.vue","webpack:///./src/views/chat/index.vue?73b1","webpack:///./src/assets/ai_avatar.png","webpack:///./src/utils/index.js"],"names":["USER","ASSISTANT","DIR","navs","name","value","icon","sendMsgShow","ref","sendMsgTop","route","useRoute","router","useRouter","store","useStore","isSendSuccess","IsCustomerService","sendForm","email","phone","msg","question","answer","token","computed","state","isAsideShow","toaster","createToaster","position","chatId","contractReviewChatId","curChatId","onMounted","console","log","query","curNav","cur","generateId","isQuery","onBeforeUnmount","chatController","abort","contractReviewController","isContractReview","handleNavClick","nav","AbortController","to","resolve","window","open","href","innerWidth","isUploadDialogShow","chatList","role","content","text","timestamp","Date","now","message_id","screenWidth","document","documentElement","clientWidth","body","commit","scrollToBottom","$chatList","scrollTop","scrollHeight","tips","showInput","showConfirmation","feedbackConfirmation","feedback","loading","sendMessage","push","nextTick","gptQuery","method","headers","signal","JSON","stringify","chatid","cmd","temperature","desire_word_num","messages","then","async","reader","response","getReader","decoder","TextDecoder","partialLine","msgObj","is_good","read","done","lines","decode","stream","split","pop","line","valueObj","parse","message","includes","e","catch","err","error","fileType","isFileSelected","selectedFile","uploadProgress","isProgressShow","$fileInput","requirement","isDoc","file","type","isPdf","formateFileName","path","replace","selectFile","handleDrop","event","preventDefault","files","dataTransfer","length","alert","handleFileInput","target","handleUploadBoxClick","click","satisfied","submitFeedback","dissatisfied","customerService","i","startSend","formData","FormData","append","sendMsg","startUpload","uploadFile","progressEvent","progress","Math","round","loaded","total","res","finally","__exports__","module","exports","formatTime","date","dateObj","Number","year","getFullYear","month","String","getMonth","padStart","day","getDate","hours","getHours","minutes","getMinutes","characters","id","randomIndex","floor","random"],"mappings":"kHAAA,W,k7LCmUMA,GAAO,OACPC,GAAY,YACZC,GAAM,W,gCAvBZ,MAAMC,EAAO,CACX,CACEC,KAAM,SACNC,MAAO,EACPC,KAAM,uCACL,CACDF,KAAM,OACNC,MAAO,EACPC,KAAM,kCAC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IArCThD,GAASpD,MAAM6E,KAAKqB,EAAOlG,aAwCrBoG,MAoCPa,MAAOC,IACNpF,QAAQqF,MAAMD,GACdvC,GAAQ3E,OAAQ,IAGlBqH,GAAerH,OAAQ,EACvBsH,GAAatH,MAAQ,KACrByH,GAAWzH,MAAMA,MAAQ,KACxBiH,MAAOC,IACRpF,QAAQC,IAAImF,GACZ3F,GAAQ4F,MAAM,WACb8C,QAAQ,KACT1C,GAAevH,MAAQ,EACvBwH,GAAexH,OAAQ,K,qvSCnzB3B,MAAMkK,GAA2B,KAAgB,GAAQ,CAAC,CAAC,YAAY,qBAExD,iB,0CCRfC,EAAOC,QAAU,sxD,kCCAjB,oEAaO,SAASC,EAAWC,GACzB,MAAMC,EAAU,IAAI9G,KAAK+G,OAAOF,IAC1BG,EAAOF,EAAQG,cACfC,EAAQC,OAAOL,EAAQM,WAAa,GAAGC,SAAS,EAAG,KACnDC,EAAMH,OAAOL,EAAQS,WAAWF,SAAS,EAAG,KAC5CG,EAAQL,OAAOL,EAAQW,YAAYJ,SAAS,EAAG,KAC/CK,EAAUP,OAAOL,EAAQa,cAAcN,SAAS,EAAG,KAEzD,MAAQ,GAAEL,KAAQE,KAASI,KAAOE,KAASE,IAGtC,MAAMhJ,EAAaA,KACxB,MAAMkJ,EAAa,iEACb7C,EAAS,GACf,IAAI8C,EAAK,GAET,IAAK,IAAIpC,EAAI,EAAGA,EAAIV,EAAQU,IAAK,CAC/B,MAAMqC,EAAc3B,KAAK4B,MAAM5B,KAAK6B,SAAWJ,EAAW7C,QAC1D8C,GAAMD,EAAWE,GAGnB,OAAOD","file":"js/chunk-1c82954c.db9a0c48.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=eab4e3b8&lang=less&scoped=true\"","\r\n