@_solaris/messenger-widget 0.2.16 → 0.2.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/messenger.cjs +1 -1
- package/dist/messenger.embed.js +2 -2
- package/dist/messenger.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/messenger.cjs
CHANGED
|
@@ -53,4 +53,4 @@ ${i}`)}return a.join(`
|
|
|
53
53
|
|
|
54
54
|
`)}function W(n,t){if(!Array.isArray(n==null?void 0:n.options))return t;const r=n.options.find(a=>(a==null?void 0:a.value)===t);return(r==null?void 0:r.label)||t}function Zo(n,t){const r=[],a=Array.isArray(n==null?void 0:n.fields)?n.fields:[];for(const s of a){if(!(s!=null&&s.key)||!(s!=null&&s.label))continue;const o=t==null?void 0:t[s.key];if(o==null||o==="")continue;let i;if(Array.isArray(o)){if(i=o.map(f=>W(s,String(f))).join(", "),!i)continue}else typeof o=="boolean"?i=o?"Oui":"Non":i=W(s,String(o));const l=s.type==="textarea"||typeof i=="string"&&(i.length>60||i.includes(`
|
|
55
55
|
`));r.push({label:s.label,value:i,multiline:l})}return{kind:"form_response",data:{title:(n==null?void 0:n.title)||"Formulaire",fields:r}}}const es=450,ts=50,ns=900,rs=12e3,os=300,ss={name:"Messenger",components:{Launcher:de,Header:me,Onboarding:he,MessageList:Ee,Composer:Ve,SuggestionChips:Se,ApprovalCard:xe,FormCard:Me,Feedback:Te,HistoryDrawer:Oe,MoreMenu:Ie},provide(){return{signAttachmentFn:n=>{var t,r;return((r=(t=this.store)==null?void 0:t.signAttachment)==null?void 0:r.call(t,n))||null}}},props:{baseUrl:{type:String,default:ce},widgetId:{type:String,default:""},userId:{type:String,default:""},userHash:{type:String,default:""},customer:{type:Object,default:null},displayMode:{type:String,default:"floating"},devtools:{type:Boolean,default:!1}},data(){return{transport:null,store:null,isOpen:!1,draft:"",busy:!1,bootError:null,pendingAttachments:[],feedbackBusy:!1,feedbackDone:!1,revealedAt:{},nextRevealAt:0,revealTimers:[],convOpenedAt:0,historyOpen:!1,moreOpen:!1,activeConvId:null,showOnboarding:!1,notifEnabled:!0,labelDismissed:!1,readState:{},unreadAnchorTs:"",floatHeight:0,floatRO:null,approvalSettled:!0,approvalSettleTimer:null,approvalLatchId:null}},computed:{isEditor(){return!!this.devtools},isEmbedded(){return this.displayMode==="embedded"},error(){var n;return this.bootError||((n=this.s)==null?void 0:n.error)||null},canBoot(){return!!(this.baseUrl&&this.widgetId&&this.userId&&this.userHash)},s(){var n;return((n=this.store)==null?void 0:n.state)||null},ready(){var n;return!!((n=this.s)!=null&&n.ready)},allConversations(){var t;const n=(t=this.s)==null?void 0:t.conversations;return Array.isArray(n)?n:[]},drawerConversations(){var r;const n=this.readState,t=((r=this.s)==null?void 0:r.messagesByConv)||{};return this.allConversations.map(a=>{const s=t[a.id]||[],o=this.convLastActivity(a,s),i=n[a.id]||"",l=this.lastMessageAuthorType(s),f=!!o&&l!=="user"&&(!i||o>i);return{...a,_preview:this.convPreview(a,s),_unread:f}})},unreadCount(){return this.drawerConversations.filter(n=>n._unread).length},unreadThreads(){var t;const n=((t=this.s)==null?void 0:t.messagesByConv)||{};return this.drawerConversations.filter(r=>r._unread).map(r=>({id:r.id,title:r.name||"Nouvelle conversation",preview:r._preview||"Nouveau message",_ts:this.convLastActivity(r,n[r.id]||[])})).sort((r,a)=>r._ts<a._ts?1:r._ts>a._ts?-1:0).slice(0,3)},latestUnread(){var r;const n=((r=this.s)==null?void 0:r.messagesByConv)||{};let t=null;for(const a of this.drawerConversations){if(!a._unread)continue;const s=this.convLastActivity(a,n[a.id]||[]);(!t||s>t.ts)&&(t={convId:a.id,preview:a._preview,ts:s})}return t},launcherPeek(){if(this.isOpen||this.isEmbedded||this.labelDismissed)return"";const n=this.latestUnread;return n?n.preview||"Vous avez un nouveau message":""},isViewingThread(){return(this.isOpen||this.isEmbedded)&&!this.historyOpen&&!!this.currentConv},currentConv(){if(this.showOnboarding)return null;const n=this.allConversations;if(!n.length)return null;if(this.activeConvId!=null){const t=n.find(r=>r.id===this.activeConvId);if(t)return t}return n[0]||null},canBack(){return!!this.currentConv},statusUrl(){var r;const n=(r=this.widget)==null?void 0:r.quick_links;if(!Array.isArray(n))return"";const t=n.find(a=>a.icon==="status"&&a.url);return(t==null?void 0:t.url)||""},helpUrl(){var r;const n=(r=this.widget)==null?void 0:r.quick_links;if(!Array.isArray(n))return"";const t=n.find(a=>(a.icon==="chat"||a.icon==="help")&&a.url);return(t==null?void 0:t.url)||""},widget(){var n,t;return((t=(n=this.s)==null?void 0:n.config)==null?void 0:t.widget)||null},widgetWelcomeMessage(){var n;return((n=this.widget)==null?void 0:n.welcome_message)||""},agentName(){var n,t,r;return((r=(t=(n=this.s)==null?void 0:n.config)==null?void 0:t.agent)==null?void 0:r.name)||""},agentAvatarUrl(){var n,t,r;return((r=(t=(n=this.s)==null?void 0:n.config)==null?void 0:t.agent)==null?void 0:r.avatar_url)||null},quickLinks(){var t;const n=(t=this.widget)==null?void 0:t.quick_links;return Array.isArray(n)?n:[]},teamMembers(){var t;const n=(t=this.widget)==null?void 0:t.team_members;return Array.isArray(n)?n:[]},responseLabel(){var n;return((n=this.widget)==null?void 0:n.response_time_label)||""},humanMessageAuthor(){var t,r,a;if(!this.currentConv)return null;const n=((t=this.s.messagesByConv)==null?void 0:t[this.currentConv.id])||[];for(let s=n.length-1;s>=0;s--)if(((a=(r=n[s])==null?void 0:r.author)==null?void 0:a.type)==="agent_human")return n[s].author;return null},humanAgentName(){var n;return((n=this.humanMessageAuthor)==null?void 0:n.name)||""},humanAgentAvatarUrl(){var n;return((n=this.humanMessageAuthor)==null?void 0:n.avatar_url)||null},isEscalated(){return!!this.humanMessageAuthor},isWaitingHuman(){var t;const n=(t=this.currentConv)==null?void 0:t.status;return n==="waiting"||n==="handled"},headerTitle(){var n,t;return((n=this.currentConv)==null?void 0:n.name)||((t=this.widget)==null?void 0:t.name)||"Nouvelle conversation"},composerPlaceholder(){return this.isEscalated&&this.humanAgentName?`Répondre à ${this.humanAgentName.split(" ")[0]}…`:this.isWaitingHuman?"Un agent prend le relais…":"Écrivez votre message…"},displayedMessages(){const n=this.currentConv;if(!n)return[];const t=s=>{var o,i,l,f;return(s==null?void 0:s.type)==="action"||(s==null?void 0:s.type)==="system"||((o=s==null?void 0:s.payload)==null?void 0:o.type)==="system"||Array.isArray((i=s==null?void 0:s.payload)==null?void 0:i.attachments)&&s.payload.attachments.length||(l=s==null?void 0:s.metadata)!=null&&l.artifact||(f=s==null?void 0:s.metadata)!=null&&f.form?!0:typeof(s==null?void 0:s.text_md)=="string"&&s.text_md.trim().length>0},r=s=>{var o;return(s==null?void 0:s.type)==="action"&&((o=s==null?void 0:s.payload)==null?void 0:o.state)==="pending"},a=this.revealedAt;return(this.s.messagesByConv[n.id]||[]).filter(s=>!r(s)).filter(s=>J(s)?a[s.id]>0:!0).filter(t)},streamingActive(){var r,a,s;const n=this.currentConv;return n?Object.keys(((r=this.s)==null?void 0:r.streamingByMsgId)||{}).length>0?!0:this.actionInFlight?!1:(((s=(a=this.s)==null?void 0:a.messagesByConv)==null?void 0:s[n.id])||[]).some(o=>J(o)&&!(this.revealedAt[o.id]>0)):!1},currentConvMessages(){var t,r,a;const n=(t=this.currentConv)==null?void 0:t.id;return n?((a=(r=this.s)==null?void 0:r.messagesByConv)==null?void 0:a[n])||[]:[]},pendingApproval(){return!this.currentConv||!this.store||this.actionInFlight?null:this.store.getPendingApproval(this.currentConv.id)},approvalReady(){return this.pendingApproval?this.pendingApproval.id===this.approvalLatchId?!0:!(this.streamingActive||!this.approvalSettled):!1},approvalTitle(){var n,t,r;return((t=(n=this.pendingApproval)==null?void 0:n.payload)==null?void 0:t.name)||((r=this.pendingApproval)==null?void 0:r.text_md)||"Confirmer l'action"},approvalDetail(){var a,s,o,i,l,f;const n=(o=(s=(a=this.pendingApproval)==null?void 0:a.payload)==null?void 0:s.pending)==null?void 0:o.user_explanation;if(typeof n=="string"&&n.trim())return n.trim();const t=(f=(l=(i=this.pendingApproval)==null?void 0:i.payload)==null?void 0:l.pending)==null?void 0:f.prepared_params;if(!t||typeof t!="object")return"";const r=Object.entries(t);return r.length?r.slice(0,2).map(([y,g])=>`${y}: ${g}`).join(" · "):""},actionInFlight(){var n,t;return!this.currentConv||!this.store?null:((t=(n=this.store).getActionInFlight)==null?void 0:t.call(n,this.currentConv.id))||null},actionInFlightName(){var t;const n=this.actionInFlight;return n?((t=n.payload)==null?void 0:t.name)||n.text_md||"Action":""},suggestions(){return!this.currentConv||!this.store?[]:this.streamingActive?[]:this.pendingForm?[]:this.store.getLatestSuggestions(this.currentConv.id)},pendingForm(){var n,t;return!this.currentConv||!this.store||this.pendingApproval||this.actionInFlight||this.streamingActive||!this.approvalSettled?null:((t=(n=this.store).getLatestForm)==null?void 0:t.call(n,this.currentConv.id))||null},showFeedback(){var t;const n=this.currentConv;return n?this.feedbackDone?!0:n.status!=="resolved"?!1:!((t=n.metadata)!=null&&t.feedback):!1},floatVisible(){return this.approvalReady||!!this.pendingForm||this.showFeedback||this.suggestions.length>0},dateLabel(){var r,a,s;const n=this.currentConv;let t=new Date;if(n){const i=((s=(((a=(r=this.s)==null?void 0:r.messagesByConv)==null?void 0:a[n.id])||[]).find(l=>l==null?void 0:l.created_at))==null?void 0:s.created_at)||n.created_at;if(i){const l=new Date(i);Number.isNaN(l.getTime())||(t=l)}}return`Aujourd'hui · ${ee(t)}`},paginationState(){var r,a,s;const n=(r=this.currentConv)==null?void 0:r.id,t=n?(s=(a=this.s)==null?void 0:a.paginationByConv)==null?void 0:s[n]:null;return{loading:!!(t!=null&&t.loading),hasMore:!!(t!=null&&t.nextCursor)}}},watch:{latestUnread:{handler(n,t){if(!n){this.labelDismissed=!1;return}(!t||n.convId!==t.convId||n.ts>t.ts)&&(this.labelDismissed=!1)},deep:!0},"currentConv.id":{handler(n){this.cancelReveals(),this.revealedAt={},this.nextRevealAt=0,this.convOpenedAt=Date.now(),this.moreOpen=!1,this.resetApprovalPacing(),this.isViewingThread&&(this.unreadAnchorTs=n&&this.readState[n]||"")},immediate:!0},isViewingThread(n,t){var r;if(n&&!t){const a=(r=this.currentConv)==null?void 0:r.id;this.unreadAnchorTs=a&&this.readState[a]||""}else n||(this.unreadAnchorTs="")},pendingApproval:{handler(n,t){if(n&&!t){const r=n!=null&&n.created_at?Date.parse(n.created_at):NaN;if(!(Number.isFinite(r)&&r>=this.convOpenedAt)){this.resetApprovalPacing();return}this.bumpApprovalSettle(2600)}else!n&&t&&this.resetApprovalPacing()},immediate:!1},streamingActive(n,t){n!==t&&this.pendingApproval&&this.pendingApproval.id!==this.approvalLatchId&&this.bumpApprovalSettle()},approvalReady(n){n&&this.pendingApproval&&(this.approvalLatchId=this.pendingApproval.id)},floatVisible:{handler(n){this.$nextTick(()=>this.syncFloatObserver(n))},immediate:!0},currentConvMessages(n){var a;if(!Array.isArray(n)||!n.length)return;const t=Date.now(),r={...this.revealedAt};for(const s of n){if((s==null?void 0:s.id)==null||r[s.id]!==void 0)continue;if(!J(s)){r[s.id]=t;continue}const o=s!=null&&s.created_at?Date.parse(s.created_at):NaN;if(!Number.isFinite(o)||o<this.convOpenedAt){r[s.id]=t;continue}const i=typeof(s==null?void 0:s.text_md)=="string"&&s.text_md.trim().length>0,l=Array.isArray((a=s==null?void 0:s.payload)==null?void 0:a.attachments)&&s.payload.attachments.length>0;if(!i&&!l){r[s.id]=t;continue}r[s.id]=0,this.scheduleReveal(s)}this.revealedAt=r,(this.isOpen||this.isEmbedded)&&!this.historyOpen&&this.currentConv&&this.markConvRead(this.currentConv)}},async mounted(){if(console.log("[messenger] mounted",{isEditor:this.isEditor,canBoot:this.canBoot,hasBaseUrl:!!this.baseUrl,hasWidgetId:!!this.widgetId,hasUserId:!!this.userId,hasUserHash:!!this.userHash}),typeof document<"u"&&!document.getElementById(se)){const n=document.createElement("style");n.id=se,n.textContent=le,document.head.appendChild(n)}this.hydrateReadState(),await this.boot(),this.isEmbedded&&this.store&&await this.open()},beforeUnmount(){this.cancelReveals(),this.disconnectFloatRO(),this.resetApprovalPacing(),this.store&&this.store.destroy()},methods:{syncFloatObserver(n){if(this.disconnectFloatRO(),!n){this.floatHeight=0;return}const t=this.$refs.floatEl;if(t){if(typeof ResizeObserver>"u"){this.floatHeight=Math.ceil(t.getBoundingClientRect().height+8);return}this.floatRO=new ResizeObserver(r=>{const a=r[0];if(!a)return;const s=Math.ceil(a.contentRect.height+8);s!==this.floatHeight&&(this.floatHeight=s,this.$nextTick(()=>{var o,i;(i=(o=this.$refs.messageList)==null?void 0:o.scrollToBottom)==null||i.call(o)}))}),this.floatRO.observe(t)}},disconnectFloatRO(){if(this.floatRO){try{this.floatRO.disconnect()}catch{}this.floatRO=null}},convLastActivity(n,t){let r=(n==null?void 0:n.last_message_at)||(n==null?void 0:n.updated_at)||(n==null?void 0:n.created_at)||"";for(const a of t)a!=null&&a.created_at&&a.created_at>r&&(r=a.created_at);return r},lastMessageAuthorType(n){var t,r;for(let a=n.length-1;a>=0;a--){const s=(r=(t=n[a])==null?void 0:t.author)==null?void 0:r.type;if(s)return s}return""},convPreview(n,t){var r,a,s;for(let o=t.length-1;o>=0;o--){const i=t[o];if(!i)continue;const l=typeof i.text_md=="string"?i.text_md.trim():"";if(l)return(((r=i.author)==null?void 0:r.type)==="user"?"Vous : ":"")+l.replace(/\s+/g," ");const f=(a=i.payload)==null?void 0:a.attachments;if(Array.isArray(f)&&f.length)return"📎 Pièce jointe"}return(n==null?void 0:n.last_message_preview)||(n==null?void 0:n.preview)||((s=n==null?void 0:n.metadata)==null?void 0:s.last_preview)||""},readStorageKey(){const n=this.widgetId||"",t=this.userId||"";return`wm:read:${n}:${t}`},hydrateReadState(){try{if(typeof localStorage>"u")return;const n=localStorage.getItem(this.readStorageKey());if(!n)return;const t=JSON.parse(n);t&&typeof t=="object"&&(this.readState=t)}catch{}},persistReadState(){try{if(typeof localStorage>"u")return;localStorage.setItem(this.readStorageKey(),JSON.stringify(this.readState))}catch{}},markConvRead(n){var a,s;if(!(n!=null&&n.id))return;const t=((s=(a=this.s)==null?void 0:a.messagesByConv)==null?void 0:s[n.id])||[],r=this.convLastActivity(n,t);r&&this.readState[n.id]!==r&&(this.readState={...this.readState,[n.id]:r},this.persistReadState())},cancelReveals(){for(const n of this.revealTimers)try{clearTimeout(n)}catch{}this.revealTimers=[]},resetApprovalPacing(){if(this.approvalSettleTimer){try{clearTimeout(this.approvalSettleTimer)}catch{}this.approvalSettleTimer=null}this.approvalSettled=!0,this.approvalLatchId=null},bumpApprovalSettle(n=800){if(this.approvalSettled=!1,this.approvalSettleTimer)try{clearTimeout(this.approvalSettleTimer)}catch{}this.approvalSettleTimer=setTimeout(()=>{this.approvalSettled=!0,this.approvalSettleTimer=null},n)},scheduleReveal(n){const t=Date.now(),r=((n==null?void 0:n.text_md)||"").length,a=Math.min(rs,Math.max(ns,r*ts)),o=Math.max(t+es,this.nextRevealAt+os)+a;this.nextRevealAt=o;const i=Math.max(0,o-t),l=n.id,f=setTimeout(()=>{this.revealedAt={...this.revealedAt,[l]:Date.now()},this.revealTimers=this.revealTimers.filter(g=>g!==f)},i);this.revealTimers.push(f);const y=setTimeout(()=>{this.revealedAt[l]>0||(this.revealedAt={...this.revealedAt,[l]:Date.now()}),this.revealTimers=this.revealTimers.filter(g=>g!==y)},i+4e3);this.revealTimers.push(y)},async boot(){if(!this.canBoot){console.warn("[messenger] boot skipped — missing creds",{baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId,hasUserHash:!!this.userHash});return}try{console.log("[messenger] boot start",{baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId}),this.transport=e.markRaw(ae({baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId,userHash:this.userHash})),this.store=e.markRaw(ie(this.transport)),await this.store.start(),this.customer&&typeof this.customer=="object"&&await this.store.applyCustomer(this.customer),console.log("[ww-messenger] boot done",{ready:this.store.state.ready,error:this.store.state.error})}catch(n){console.error("[ww-messenger] bootstrap failed",n),this.bootError=(n==null?void 0:n.message)||String(n)}},async refresh(){this.store&&this.store.destroy(),this.cancelReveals(),this.revealedAt={},this.nextRevealAt=0,this.convOpenedAt=0,this.transport=null,this.store=null,this.isOpen=!1,this.draft="",this.busy=!1,this.bootError=null,this.pendingAttachments=[],this.feedbackBusy=!1,this.feedbackDone=!1,this.historyOpen=!1,this.moreOpen=!1,this.activeConvId=null,this.showOnboarding=!1,await this.boot(),this.isEmbedded&&this.store&&await this.open()},async openFromPeek(){var t,r;const n=(t=this.latestUnread)==null?void 0:t.convId;n&&n!==((r=this.currentConv)==null?void 0:r.id)&&(this.activeConvId=n,this.showOnboarding=!1),await this.open()},async open(){if(this.isOpen=!0,this.store&&this.store.setPanelOpen(!0),this.currentConv){try{await this.store.openConversation(this.currentConv.id)}catch(n){console.error("[ww-messenger] load messages failed",n)}this.markConvRead(this.currentConv)}},close(){this.isOpen=!1,this.store&&this.store.setPanelOpen(!1)},async startConv(){if(!this.busy){this.busy=!0;try{const n=await this.store.createConversation({});this.activeConvId=n.id,this.showOnboarding=!1,await this.store.openConversation(n.id),this.markConvRead(n),this.focusComposer()}catch(n){console.error("[ww-messenger] create conv failed",n),this.bootError=(n==null?void 0:n.message)||String(n)}finally{this.busy=!1}}},focusComposer(){this.$nextTick(()=>{var n;return(n=this.$refs.composer)==null?void 0:n.focus()})},toggleMore(){this.historyOpen=!1,this.moreOpen=!this.moreOpen},goHome(){this.historyOpen=!1,this.moreOpen=!1,this.activeConvId=null,this.showOnboarding=!0},async onDrawerPick(n){if(!(n!=null&&n.id)||!this.store)return;this.historyOpen=!1,this.activeConvId=n.id,this.showOnboarding=!1;try{await this.store.openConversation(n.id)}catch(r){console.error("[ww-messenger] open conv failed",r)}const t=this.allConversations.find(r=>r.id===n.id);t&&this.markConvRead(t)},async onDrawerNew(){this.historyOpen=!1,await this.startConv()},onNotifToggle(n){this.notifEnabled=!!n},async onMoreAction(n){switch(this.moreOpen=!1,n){case"history":this.historyOpen=!0;break;case"rename":await this.renameCurrentConv();break;case"clear":await this.clearCurrentConv();break;case"export":this.exportCurrentConv();break;case"status":if(this.statusUrl)try{window.open(this.statusUrl,"_blank","noopener")}catch{}break;case"help":if(this.helpUrl)try{window.open(this.helpUrl,"_blank","noopener")}catch{}break}},async renameCurrentConv(){const n=this.currentConv;if(!n||!this.store)return;let t;try{t=typeof window<"u"&&typeof window.prompt=="function"?window.prompt("Nouveau nom du fil",n.name||""):null}catch{t=null}if(t==null)return;const r=t.trim();if(!(!r||r===n.name))try{await this.store.patchConversation(n.id,{name:r})}catch(a){console.error("[ww-messenger] rename failed",a)}},async clearCurrentConv(){var r;const n=this.currentConv;!n||!this.store||!(!(typeof window<"u"&&typeof window.confirm=="function")||window.confirm("Effacer ce fil de votre côté ? Cette action ne supprime pas les messages côté agent."))||((r=this.s)!=null&&r.messagesByConv&&(this.s.messagesByConv[n.id]=[]),this.activeConvId=null,this.showOnboarding=!0)},exportCurrentConv(){var s,o,i,l,f,y;const n=this.currentConv;if(!n)return;const t=(((o=(s=this.s)==null?void 0:s.messagesByConv)==null?void 0:o[n.id])||[]).slice(),r=[`# ${n.name||"Conversation"}`,n.created_at?`Créée le : ${n.created_at}`:"",""];for(const g of t){if(!g)continue;const w=((i=g.author)==null?void 0:i.name)||(((l=g.author)==null?void 0:l.type)==="user"?"Vous":((f=g.author)==null?void 0:f.type)==="agent_human"?"Agent":((y=g.author)==null?void 0:y.type)==="agent_ia"?"Assistant IA":"Système"),N=g.created_at?new Date(g.created_at).toLocaleString("fr-FR"):"",k=(g.text_md||"").trim();k&&(r.push(`[${N}] ${w} :`),r.push(k),r.push(""))}const a=new Blob([r.join(`
|
|
56
|
-
`)],{type:"text/plain;charset=utf-8"});try{const g=URL.createObjectURL(a),w=document.createElement("a");w.href=g,w.download=`${(n.name||"conversation").replace(/[^a-z0-9-_]+/gi,"_")}.txt`,document.body.appendChild(w),w.click(),document.body.removeChild(w),setTimeout(()=>URL.revokeObjectURL(g),1e3)}catch(g){console.error("[ww-messenger] export failed",g)}},async onSend(n){const t=this.currentConv;if(!t&&(await this.startConv(),!this.currentConv))return;const r=(this.currentConv||t).id,a=this.pendingAttachments.slice();this.pendingAttachments=[],await this.store.send(r,n,{attachments:a.length?a:void 0})},async onSuggestion(n){const t=n==null?void 0:n.label;t&&await this.onSend(t)},async onLoadMore(){var t;const n=(t=this.currentConv)==null?void 0:t.id;!n||!this.store||await this.store.loadMore(n)},async onApprovalCallback(n){const t=this.pendingApproval;t&&await this.store.clickCallback(t.id,n)},async onFormSubmit({values:n}){const t=this.pendingForm;if(!(t!=null&&t.form))return;const r=Qo(t.form,n);if(!r)return;const a=this.currentConv;a&&await this.store.send(a.id,r,{metadata:{artifact:Zo(t.form,n)}})},async onAttach(n){if(!(!n||!this.transport))try{const t=await this.transport.uploadAttachment(n);this.pendingAttachments.push({type:t.type||"file",path:t.path,name:n.name||"fichier",mime_type:n.type,size_bytes:n.size})}catch(t){console.error("[ww-messenger] attachment upload failed",t)}},async onQuickLink(n){if(n){if(n.url){try{window.open(n.url,"_blank","noopener")}catch{}return}await this.startConv(),this.currentConv&&await this.store.send(this.currentConv.id,n.label)}},async onFeedback({rating:n,comment:t}){if(this.currentConv){this.feedbackBusy=!0;try{await this.store.submitFeedback(this.currentConv.id,{rating:n,comment:t}),this.feedbackDone=!0}catch(r){console.error("[ww-messenger] feedback failed",r)}finally{this.feedbackBusy=!1}}}}},as={key:0,class:"wm-loading","aria-busy":"true","aria-live":"polite"},is={key:0,class:"wm-state"},ls={class:"wm-state__err"},cs={class:"wm-state__errSub"},ds={class:"wm-bottom"},us={key:0,ref:"floatEl",class:"wm-float"},ms={key:1,class:"wm-actionWait",role:"status","aria-live":"polite"},hs={class:"wm-actionWait__lbl"},ps={key:1,class:"wm-attached"},fs=["onClick"];function _s(n,t,r,a,s,o){const i=e.resolveComponent("Launcher"),l=e.resolveComponent("Header"),f=e.resolveComponent("Onboarding"),y=e.resolveComponent("MessageList"),g=e.resolveComponent("ApprovalCard"),w=e.resolveComponent("FormCard"),N=e.resolveComponent("Feedback"),k=e.resolveComponent("SuggestionChips"),M=e.resolveComponent("Composer"),b=e.resolveComponent("MoreMenu"),x=e.resolveComponent("HistoryDrawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["wm-root",`wm-root--${r.displayMode}`])},[!s.isOpen&&!o.isEmbedded?(e.openBlock(),e.createBlock(i,{key:0,"unread-count":o.unreadCount,peek:o.launcherPeek,onOpen:o.openFromPeek,onDismiss:t[0]||(t[0]=V=>s.labelDismissed=!0)},null,8,["unread-count","peek","onOpen"])):e.createCommentVNode("",!0),s.isOpen||o.isEmbedded?(e.openBlock(),e.createElementBlock("section",{key:1,class:e.normalizeClass(["wm-panel",`wm-panel--${r.displayMode}`]),style:e.normalizeStyle(s.floatHeight?{"--wm-float-h":s.floatHeight+"px"}:null),role:"dialog","aria-label":"Messenger"},[!o.ready&&!o.error?(e.openBlock(),e.createElementBlock("div",as,[o.isEmbedded?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"wm-loading__close","aria-label":"Réduire",onClick:t[1]||(t[1]=(...V)=>o.close&&o.close(...V))},[...t[6]||(t[6]=[e.createElementVNode("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])])),t[7]||(t[7]=e.createElementVNode("div",{class:"wm-loading__spinner","aria-hidden":"true"},null,-1))])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(l,{title:o.headerTitle,escalated:o.isEscalated,"agent-name":o.humanAgentName,"agent-avatar-url":o.humanAgentAvatarUrl,"team-members":o.teamMembers,"response-label":o.responseLabel,"show-identity":!!o.currentConv,"show-back":o.canBack,"show-close":!o.isEmbedded,"more-active":s.moreOpen,onBack:o.goHome,onMore:o.toggleMore,onClose:o.close},null,8,["title","escalated","agent-name","agent-avatar-url","team-members","response-label","show-identity","show-back","show-close","more-active","onBack","onMore","onClose"]),o.error?(e.openBlock(),e.createElementBlock("div",is,[e.createElementVNode("div",ls,[t[9]||(t[9]=e.createElementVNode("div",{class:"wm-state__errIcon"},[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})])],-1)),e.createElementVNode("div",null,[t[8]||(t[8]=e.createElementVNode("div",{class:"wm-state__errTitle"},"Connexion impossible",-1)),e.createElementVNode("div",cs,e.toDisplayString(o.error),1)])])])):o.currentConv?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(y,{ref:"messageList",messages:o.displayedMessages,"streaming-active":o.streamingActive,"date-label":o.dateLabel,"conversation-id":o.currentConv?o.currentConv.id:null,"loading-more":o.paginationState.loading,"has-more":o.paginationState.hasMore,"unread-anchor-ts":s.unreadAnchorTs,onLoadMore:o.onLoadMore},null,8,["messages","streaming-active","date-label","conversation-id","loading-more","has-more","unread-anchor-ts","onLoadMore"]),e.createElementVNode("div",ds,[o.floatVisible?(e.openBlock(),e.createElementBlock("div",us,[o.approvalReady?(e.openBlock(),e.createBlock(g,{key:0,action:o.approvalTitle,detail:o.approvalDetail,callbacks:o.pendingApproval.callbacks,onCallback:o.onApprovalCallback},null,8,["action","detail","callbacks","onCallback"])):o.pendingForm?(e.openBlock(),e.createBlock(w,{key:o.pendingForm.message&&o.pendingForm.message.id,form:o.pendingForm.form,onSubmit:o.onFormSubmit},null,8,["form","onSubmit"])):o.showFeedback?(e.openBlock(),e.createBlock(N,{key:2,busy:s.feedbackBusy,done:s.feedbackDone,onSubmit:o.onFeedback},null,8,["busy","done","onSubmit"])):(e.openBlock(),e.createBlock(k,{key:3,items:o.suggestions,onSelect:o.onSuggestion},null,8,["items","onSelect"]))],512)):e.createCommentVNode("",!0),o.actionInFlight?(e.openBlock(),e.createElementBlock("div",ms,[t[10]||(t[10]=e.createElementVNode("span",{class:"wm-actionWait__spinner","aria-hidden":"true"},null,-1)),e.createElementVNode("span",hs,e.toDisplayString(o.actionInFlightName)+" en cours, veuillez patienter…",1)])):(e.openBlock(),e.createBlock(M,{key:2,ref:"composer",modelValue:s.draft,"onUpdate:modelValue":t[2]||(t[2]=V=>s.draft=V),placeholder:o.composerPlaceholder,disabled:!!o.pendingApproval,"attach-label":"Joindre un fichier",onSend:o.onSend,onAttach:o.onAttach},null,8,["modelValue","placeholder","disabled","onSend","onAttach"]))]),s.moreOpen?(e.openBlock(),e.createBlock(b,{key:0,"can-rename":!!o.currentConv,"can-clear":!!o.currentConv,"can-export":!!o.currentConv,"notif-enabled":s.notifEnabled,"status-url":o.statusUrl,"help-url":o.helpUrl,onClose:t[3]||(t[3]=V=>s.moreOpen=!1),onNotifToggle:o.onNotifToggle,onAction:o.onMoreAction},null,8,["can-rename","can-clear","can-export","notif-enabled","status-url","help-url","onNotifToggle","onAction"])):e.createCommentVNode("",!0),s.pendingAttachments.length?(e.openBlock(),e.createElementBlock("div",ps,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.pendingAttachments,(V,T)=>(e.openBlock(),e.createElementBlock("div",{key:T,class:"wm-attached__chip"},[t[12]||(t[12]=e.createElementVNode("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48"})],-1)),e.createElementVNode("span",null,e.toDisplayString(V.name),1),e.createElementVNode("button",{type:"button","aria-label":"Retirer",onClick:I=>s.pendingAttachments.splice(T,1)},[...t[11]||(t[11]=[e.createElementVNode("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])],8,fs)]))),128))])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(f,{key:1,"welcome-message":o.widgetWelcomeMessage,"agent-name":o.agentName,"quick-links":o.quickLinks,"unread-threads":o.unreadThreads,busy:s.busy,onStart:o.startConv,onSelect:o.onQuickLink,onResume:o.onDrawerPick},null,8,["welcome-message","agent-name","quick-links","unread-threads","busy","onStart","onSelect","onResume"])),s.historyOpen?(e.openBlock(),e.createBlock(x,{key:3,conversations:o.drawerConversations,"active-id":o.currentConv?o.currentConv.id:null,onClose:t[4]||(t[4]=V=>s.historyOpen=!1),onNew:o.onDrawerNew,onPick:o.onDrawerPick},null,8,["conversations","active-id","onNew","onPick"])):e.createCommentVNode("",!0),s.moreOpen&&!o.currentConv?(e.openBlock(),e.createBlock(b,{key:4,"can-rename":!1,"can-clear":!1,"can-export":!1,"notif-enabled":s.notifEnabled,"status-url":o.statusUrl,"help-url":o.helpUrl,onClose:t[5]||(t[5]=V=>s.moreOpen=!1),onNotifToggle:o.onNotifToggle,onAction:o.onMoreAction},null,8,["notif-enabled","status-url","help-url","onNotifToggle","onAction"])):e.createCommentVNode("",!0)],64))],6)):e.createCommentVNode("",!0)],2)}const De=C(ss,[["render",_s],["__scopeId","data-v-8264e504"]]),gs="0.2.16";exports.AIAvatar=R;exports.AVATAR_COLORS=q;exports.ActionResult=pe;exports.ApprovalCard=xe;exports.ArtifactFormResponse=fe;exports.ArtifactInfoCard=_e;exports.ArtifactRenderer=ve;exports.ArtifactTicket=ge;exports.AttachmentPreview=ye;exports.Bubble=we;exports.Composer=Ve;exports.DEFAULT_BASE_URL=ce;exports.Feedback=Te;exports.FormCard=Me;exports.Header=me;exports.HistoryDrawer=Oe;exports.HumanAvatar=te;exports.Launcher=de;exports.MEDIA_RECORDER_SUPPORTED=G;exports.MessageList=Ee;exports.Messenger=De;exports.MoreMenu=Ie;exports.Onboarding=he;exports.SCREEN_CAPTURE_SUPPORTED=j;exports.SuggestionChips=Se;exports.TeamAvatars=ue;exports.Typing=be;exports.VERSION=gs;exports.avatarColor=Q;exports.avatarInitials=Z;exports.captureScreenshotFile=Ne;exports.colors=S;exports.createStore=ie;exports.createTransport=ae;exports.default=De;exports.formatTime=ee;exports.guessAttachmentKind=pr;exports.pickRecorderMime=Be;exports.renderMarkdown=ke;exports.startScreenRecording=Ae;exports.tokensCss=le;exports.uuid=X;exports.v4=X;
|
|
56
|
+
`)],{type:"text/plain;charset=utf-8"});try{const g=URL.createObjectURL(a),w=document.createElement("a");w.href=g,w.download=`${(n.name||"conversation").replace(/[^a-z0-9-_]+/gi,"_")}.txt`,document.body.appendChild(w),w.click(),document.body.removeChild(w),setTimeout(()=>URL.revokeObjectURL(g),1e3)}catch(g){console.error("[ww-messenger] export failed",g)}},async onSend(n){const t=this.currentConv;if(!t&&(await this.startConv(),!this.currentConv))return;const r=(this.currentConv||t).id,a=this.pendingAttachments.slice();this.pendingAttachments=[],await this.store.send(r,n,{attachments:a.length?a:void 0})},async onSuggestion(n){const t=n==null?void 0:n.label;t&&await this.onSend(t)},async onLoadMore(){var t;const n=(t=this.currentConv)==null?void 0:t.id;!n||!this.store||await this.store.loadMore(n)},async onApprovalCallback(n){const t=this.pendingApproval;t&&await this.store.clickCallback(t.id,n)},async onFormSubmit({values:n}){const t=this.pendingForm;if(!(t!=null&&t.form))return;const r=Qo(t.form,n);if(!r)return;const a=this.currentConv;a&&await this.store.send(a.id,r,{metadata:{artifact:Zo(t.form,n)}})},async onAttach(n){if(!(!n||!this.transport))try{const t=await this.transport.uploadAttachment(n);this.pendingAttachments.push({type:t.type||"file",path:t.path,name:n.name||"fichier",mime_type:n.type,size_bytes:n.size})}catch(t){console.error("[ww-messenger] attachment upload failed",t)}},async onQuickLink(n){if(n){if(n.url){try{window.open(n.url,"_blank","noopener")}catch{}return}await this.startConv(),this.currentConv&&await this.store.send(this.currentConv.id,n.label)}},async onFeedback({rating:n,comment:t}){if(this.currentConv){this.feedbackBusy=!0;try{await this.store.submitFeedback(this.currentConv.id,{rating:n,comment:t}),this.feedbackDone=!0}catch(r){console.error("[ww-messenger] feedback failed",r)}finally{this.feedbackBusy=!1}}}}},as={key:0,class:"wm-loading","aria-busy":"true","aria-live":"polite"},is={key:0,class:"wm-state"},ls={class:"wm-state__err"},cs={class:"wm-state__errSub"},ds={class:"wm-bottom"},us={key:0,ref:"floatEl",class:"wm-float"},ms={key:1,class:"wm-actionWait",role:"status","aria-live":"polite"},hs={class:"wm-actionWait__lbl"},ps={key:1,class:"wm-attached"},fs=["onClick"];function _s(n,t,r,a,s,o){const i=e.resolveComponent("Launcher"),l=e.resolveComponent("Header"),f=e.resolveComponent("Onboarding"),y=e.resolveComponent("MessageList"),g=e.resolveComponent("ApprovalCard"),w=e.resolveComponent("FormCard"),N=e.resolveComponent("Feedback"),k=e.resolveComponent("SuggestionChips"),M=e.resolveComponent("Composer"),b=e.resolveComponent("MoreMenu"),x=e.resolveComponent("HistoryDrawer");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["wm-root",`wm-root--${r.displayMode}`])},[!s.isOpen&&!o.isEmbedded?(e.openBlock(),e.createBlock(i,{key:0,"unread-count":o.unreadCount,peek:o.launcherPeek,onOpen:o.openFromPeek,onDismiss:t[0]||(t[0]=V=>s.labelDismissed=!0)},null,8,["unread-count","peek","onOpen"])):e.createCommentVNode("",!0),s.isOpen||o.isEmbedded?(e.openBlock(),e.createElementBlock("section",{key:1,class:e.normalizeClass(["wm-panel",`wm-panel--${r.displayMode}`]),style:e.normalizeStyle(s.floatHeight?{"--wm-float-h":s.floatHeight+"px"}:null),role:"dialog","aria-label":"Messenger"},[!o.ready&&!o.error?(e.openBlock(),e.createElementBlock("div",as,[o.isEmbedded?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("button",{key:0,type:"button",class:"wm-loading__close","aria-label":"Réduire",onClick:t[1]||(t[1]=(...V)=>o.close&&o.close(...V))},[...t[6]||(t[6]=[e.createElementVNode("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])])),t[7]||(t[7]=e.createElementVNode("div",{class:"wm-loading__spinner","aria-hidden":"true"},null,-1))])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(l,{title:o.headerTitle,escalated:o.isEscalated,"agent-name":o.humanAgentName,"agent-avatar-url":o.humanAgentAvatarUrl,"team-members":o.teamMembers,"response-label":o.responseLabel,"show-identity":!!o.currentConv,"show-back":o.canBack,"show-close":!o.isEmbedded,"more-active":s.moreOpen,onBack:o.goHome,onMore:o.toggleMore,onClose:o.close},null,8,["title","escalated","agent-name","agent-avatar-url","team-members","response-label","show-identity","show-back","show-close","more-active","onBack","onMore","onClose"]),o.error?(e.openBlock(),e.createElementBlock("div",is,[e.createElementVNode("div",ls,[t[9]||(t[9]=e.createElementVNode("div",{class:"wm-state__errIcon"},[e.createElementVNode("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})])],-1)),e.createElementVNode("div",null,[t[8]||(t[8]=e.createElementVNode("div",{class:"wm-state__errTitle"},"Connexion impossible",-1)),e.createElementVNode("div",cs,e.toDisplayString(o.error),1)])])])):o.currentConv?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createVNode(y,{ref:"messageList",messages:o.displayedMessages,"streaming-active":o.streamingActive,"date-label":o.dateLabel,"conversation-id":o.currentConv?o.currentConv.id:null,"loading-more":o.paginationState.loading,"has-more":o.paginationState.hasMore,"unread-anchor-ts":s.unreadAnchorTs,onLoadMore:o.onLoadMore},null,8,["messages","streaming-active","date-label","conversation-id","loading-more","has-more","unread-anchor-ts","onLoadMore"]),e.createElementVNode("div",ds,[o.floatVisible?(e.openBlock(),e.createElementBlock("div",us,[o.approvalReady?(e.openBlock(),e.createBlock(g,{key:0,action:o.approvalTitle,detail:o.approvalDetail,callbacks:o.pendingApproval.callbacks,onCallback:o.onApprovalCallback},null,8,["action","detail","callbacks","onCallback"])):o.pendingForm?(e.openBlock(),e.createBlock(w,{key:o.pendingForm.message&&o.pendingForm.message.id,form:o.pendingForm.form,onSubmit:o.onFormSubmit},null,8,["form","onSubmit"])):o.showFeedback?(e.openBlock(),e.createBlock(N,{key:2,busy:s.feedbackBusy,done:s.feedbackDone,onSubmit:o.onFeedback},null,8,["busy","done","onSubmit"])):(e.openBlock(),e.createBlock(k,{key:3,items:o.suggestions,onSelect:o.onSuggestion},null,8,["items","onSelect"]))],512)):e.createCommentVNode("",!0),o.actionInFlight?(e.openBlock(),e.createElementBlock("div",ms,[t[10]||(t[10]=e.createElementVNode("span",{class:"wm-actionWait__spinner","aria-hidden":"true"},null,-1)),e.createElementVNode("span",hs,e.toDisplayString(o.actionInFlightName)+" en cours, veuillez patienter…",1)])):(e.openBlock(),e.createBlock(M,{key:2,ref:"composer",modelValue:s.draft,"onUpdate:modelValue":t[2]||(t[2]=V=>s.draft=V),placeholder:o.composerPlaceholder,disabled:!!o.pendingApproval,"attach-label":"Joindre un fichier",onSend:o.onSend,onAttach:o.onAttach},null,8,["modelValue","placeholder","disabled","onSend","onAttach"]))]),s.moreOpen?(e.openBlock(),e.createBlock(b,{key:0,"can-rename":!!o.currentConv,"can-clear":!!o.currentConv,"can-export":!!o.currentConv,"notif-enabled":s.notifEnabled,"status-url":o.statusUrl,"help-url":o.helpUrl,onClose:t[3]||(t[3]=V=>s.moreOpen=!1),onNotifToggle:o.onNotifToggle,onAction:o.onMoreAction},null,8,["can-rename","can-clear","can-export","notif-enabled","status-url","help-url","onNotifToggle","onAction"])):e.createCommentVNode("",!0),s.pendingAttachments.length?(e.openBlock(),e.createElementBlock("div",ps,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.pendingAttachments,(V,T)=>(e.openBlock(),e.createElementBlock("div",{key:T,class:"wm-attached__chip"},[t[12]||(t[12]=e.createElementVNode("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48"})],-1)),e.createElementVNode("span",null,e.toDisplayString(V.name),1),e.createElementVNode("button",{type:"button","aria-label":"Retirer",onClick:I=>s.pendingAttachments.splice(T,1)},[...t[11]||(t[11]=[e.createElementVNode("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[e.createElementVNode("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])],8,fs)]))),128))])):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createBlock(f,{key:1,"welcome-message":o.widgetWelcomeMessage,"agent-name":o.agentName,"quick-links":o.quickLinks,"unread-threads":o.unreadThreads,busy:s.busy,onStart:o.startConv,onSelect:o.onQuickLink,onResume:o.onDrawerPick},null,8,["welcome-message","agent-name","quick-links","unread-threads","busy","onStart","onSelect","onResume"])),s.historyOpen?(e.openBlock(),e.createBlock(x,{key:3,conversations:o.drawerConversations,"active-id":o.currentConv?o.currentConv.id:null,onClose:t[4]||(t[4]=V=>s.historyOpen=!1),onNew:o.onDrawerNew,onPick:o.onDrawerPick},null,8,["conversations","active-id","onNew","onPick"])):e.createCommentVNode("",!0),s.moreOpen&&!o.currentConv?(e.openBlock(),e.createBlock(b,{key:4,"can-rename":!1,"can-clear":!1,"can-export":!1,"notif-enabled":s.notifEnabled,"status-url":o.statusUrl,"help-url":o.helpUrl,onClose:t[5]||(t[5]=V=>s.moreOpen=!1),onNotifToggle:o.onNotifToggle,onAction:o.onMoreAction},null,8,["notif-enabled","status-url","help-url","onNotifToggle","onAction"])):e.createCommentVNode("",!0)],64))],6)):e.createCommentVNode("",!0)],2)}const De=C(ss,[["render",_s],["__scopeId","data-v-8264e504"]]),gs="0.2.17";exports.AIAvatar=R;exports.AVATAR_COLORS=q;exports.ActionResult=pe;exports.ApprovalCard=xe;exports.ArtifactFormResponse=fe;exports.ArtifactInfoCard=_e;exports.ArtifactRenderer=ve;exports.ArtifactTicket=ge;exports.AttachmentPreview=ye;exports.Bubble=we;exports.Composer=Ve;exports.DEFAULT_BASE_URL=ce;exports.Feedback=Te;exports.FormCard=Me;exports.Header=me;exports.HistoryDrawer=Oe;exports.HumanAvatar=te;exports.Launcher=de;exports.MEDIA_RECORDER_SUPPORTED=G;exports.MessageList=Ee;exports.Messenger=De;exports.MoreMenu=Ie;exports.Onboarding=he;exports.SCREEN_CAPTURE_SUPPORTED=j;exports.SuggestionChips=Se;exports.TeamAvatars=ue;exports.Typing=be;exports.VERSION=gs;exports.avatarColor=Q;exports.avatarInitials=Z;exports.captureScreenshotFile=Ne;exports.colors=S;exports.createStore=ie;exports.createTransport=ae;exports.default=De;exports.formatTime=ee;exports.guessAttachmentKind=pr;exports.pickRecorderMime=Be;exports.renderMarkdown=ke;exports.startScreenRecording=Ae;exports.tokensCss=le;exports.uuid=X;exports.v4=X;
|
package/dist/messenger.embed.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('.wm-launcherWrap[data-v-fabef371]{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.wm-peek[data-v-fabef371]{position:relative;max-width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px 14px 6px;padding:11px 30px 11px 13px;box-shadow:0 10px 30px #00000029;cursor:pointer;text-align:left;transition:transform .14s ease,box-shadow .14s ease}.wm-peek[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 14px 34px #0003}.wm-peek__text[data-v-fabef371]{margin:0;font-family:var(--wm-f);font-size:12.5px;line-height:1.42;color:var(--wm-g700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wm-peek__close[data-v-fabef371]{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;border:none;background:transparent;color:var(--wm-g400);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.wm-peek__close[data-v-fabef371]:hover{background:var(--wm-g100);color:var(--wm-g700)}.wm-peek-enter-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .26s cubic-bezier(.34,1.56,.64,1) both}.wm-peek-leave-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .16s ease reverse both}@keyframes wm-peekIn-fabef371{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-launcher[data-v-fabef371]{position:relative;width:50px;height:50px;border-radius:50%;border:none;background:var(--wm-g900);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #00000038;transition:transform .14s ease,box-shadow .14s ease}.wm-launcher[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 8px 22px #00000047}.wm-launcher[data-v-fabef371]:active{transform:translateY(0)}.wm-launcher__badge[data-v-fabef371]{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--wm-red, #B91C1C);color:#fff;border:2px solid var(--wm-w, #fff);font-family:var(--wm-f);font-size:10.5px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.wm-aiav[data-v-8c924688]{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.wm-aiav__inner[data-v-8c924688]{width:100%;height:100%;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.25);display:flex;align-items:center;justify-content:center;border-radius:var(--wm-avr)}.wm-aiav--tail .wm-aiav__inner[data-v-8c924688]{border-bottom-right-radius:4px}.wm-aiav__inner--glow[data-v-8c924688]{animation:wm-heroGlow 2.6s ease-in-out infinite}.wm-aiav__pulse[data-v-8c924688]{position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1.5px solid var(--wm-a);opacity:.5;pointer-events:none;border-radius:calc(var(--wm-avr) + 3px)}.wm-aiav--tail .wm-aiav__pulse[data-v-8c924688]{border-bottom-right-radius:7px}.wm-huav[data-v-a772b179]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-weight:700;line-height:1;border-radius:var(--wm-avr) var(--wm-avr) 4px var(--wm-avr)}.wm-huav img[data-v-a772b179]{width:100%;height:100%;object-fit:cover;display:block}.wm-team[data-v-3659b9c1]{display:inline-flex;align-items:center;gap:6px}.wm-team__stack[data-v-3659b9c1]{display:inline-block;position:relative;height:20px}.wm-team__pill[data-v-3659b9c1]{position:absolute;top:0;width:20px;height:20px;border-radius:6px;border:2px solid var(--wm-w);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-size:8px;font-weight:700;line-height:1}.wm-team__pill img[data-v-3659b9c1]{width:100%;height:100%;object-fit:cover;display:block}.wm-team__label[data-v-3659b9c1]{font-size:11px;color:var(--wm-g400);white-space:nowrap}.wm-header[data-v-b5f5f6a9]{background:var(--wm-w);border-bottom:1px solid var(--wm-g100);padding:12px 13px;display:flex;align-items:center;gap:9px;flex-shrink:0}.wm-header__icon[data-v-b5f5f6a9]{width:30px;height:30px;border-radius:8px;background:var(--wm-g100);border:none;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);cursor:pointer;flex-shrink:0;transition:background .14s ease}.wm-header__icon[data-v-b5f5f6a9]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-header__icon--active[data-v-b5f5f6a9]{background:var(--wm-g200);color:var(--wm-g700)}.wm-header__avatar[data-v-b5f5f6a9]{flex-shrink:0}.wm-header__fill[data-v-b5f5f6a9]{flex:1}.wm-header__main[data-v-b5f5f6a9]{flex:1;min-width:0}.wm-header__title[data-v-b5f5f6a9]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.wm-header__sub[data-v-b5f5f6a9]{margin-top:3px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wm-header__status[data-v-b5f5f6a9]{display:inline-flex;align-items:center;gap:5px;min-height:20px;font-size:11px;color:var(--wm-g400)}.wm-header__dot[data-v-b5f5f6a9]{width:5px;height:5px;border-radius:50%;background:var(--wm-green);flex-shrink:0}.wm-header__actions[data-v-b5f5f6a9]{display:flex;gap:4px;flex-shrink:0}.wm-onb[data-v-bd89bc8f]{flex:1;overflow-y:auto;background:var(--wm-w);padding:20px 14px 14px;display:flex;flex-direction:column;gap:18px}.wm-onb__hero[data-v-bd89bc8f]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 8px 6px;gap:14px}.wm-onb__title[data-v-bd89bc8f]{font-size:17px;font-weight:700;color:var(--wm-g900);letter-spacing:-.03em;line-height:1.2}.wm-onb__sub[data-v-bd89bc8f]{font-size:12.5px;color:var(--wm-g400);line-height:1.6;white-space:pre-line}.wm-onb__section-title[data-v-bd89bc8f]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.06em;margin-bottom:8px;text-transform:uppercase;padding-left:2px}.wm-onb__links[data-v-bd89bc8f]{display:flex;flex-direction:column;gap:5px}.wm-onb__link[data-v-bd89bc8f]{padding:10px 13px;border-radius:10px;text-align:left;background:var(--wm-w);border:1px solid var(--wm-g150);font-size:13px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;display:flex;align-items:center;gap:10px;box-shadow:var(--wm-sh1);transition:background .14s ease,border-color .14s ease}.wm-onb__link[data-v-bd89bc8f]:hover{background:var(--wm-g50);border-color:var(--wm-g200)}.wm-onb__link-icon[data-v-bd89bc8f]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-onb__link-label[data-v-bd89bc8f]{flex:1}.wm-onb__link-chev[data-v-bd89bc8f]{color:var(--wm-g300);flex-shrink:0}.wm-onb__resume-icon[data-v-bd89bc8f]{position:relative;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);color:#fff}.wm-onb__resume-dot[data-v-bd89bc8f]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-onb__resume-body[data-v-bd89bc8f]{flex:1;min-width:0;display:flex;flex-direction:column}.wm-onb__resume-title[data-v-bd89bc8f]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__resume-preview[data-v-bd89bc8f]{font-size:11.5px;font-weight:400;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__cta[data-v-bd89bc8f]{margin-top:auto;padding-top:8px}.wm-onb__startBtn[data-v-bd89bc8f]{width:100%;padding:11px 11px 11px 16px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease}.wm-onb__startBtn[data-v-bd89bc8f]:hover{background:var(--wm-g700)}.wm-onb__startBtn[data-v-bd89bc8f]:disabled{background:var(--wm-g200);cursor:default}.wm-result[data-v-7f90dad6]{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 14px);font-family:var(--wm-f);font-size:12px;font-weight:500;letter-spacing:-.005em;line-height:1.4;max-width:75%;min-width:0}.wm-result__icon[data-v-7f90dad6]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-result__label[data-v-7f90dad6]{font-weight:600;white-space:nowrap;flex-shrink:0}.wm-result__sep[data-v-7f90dad6]{opacity:.55;flex-shrink:0}.wm-result__detail[data-v-7f90dad6]{font-weight:400;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}.wm-result--success[data-v-7f90dad6]{background:#e3f4e7;color:#1f6e3a}.wm-result--rejected[data-v-7f90dad6]{background:var(--wm-g100);color:var(--wm-g500)}.wm-result--failure[data-v-7f90dad6]{background:var(--wm-redBg);color:var(--wm-red)}.wm-result--awaiting[data-v-7f90dad6]{background:#e0eafe;color:#2563eb}.wm-art[data-v-812bda8b]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-812bda8b]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-812bda8b]{min-width:0;flex:1}.wm-art__title[data-v-812bda8b]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-812bda8b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-812bda8b]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-812bda8b]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-812bda8b]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-812bda8b]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-812bda8b]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-812bda8b]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-812bda8b]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-812bda8b]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-812bda8b]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-812bda8b]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-812bda8b]{margin:0;padding:0}.wm-art__image img[data-v-812bda8b]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-d7369333]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-d7369333]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-d7369333]{min-width:0;flex:1}.wm-art__title[data-v-d7369333]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-d7369333]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-d7369333]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-d7369333]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-d7369333]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-d7369333]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-d7369333]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-d7369333]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-d7369333]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-d7369333]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-d7369333]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-d7369333]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-d7369333]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-d7369333]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-d7369333]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-d7369333]{margin:0;padding:0}.wm-art__image img[data-v-d7369333]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-d7369333]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-97001af0]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-97001af0]{min-width:0;flex:1}.wm-art__title[data-v-97001af0]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-97001af0]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-97001af0]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-97001af0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-97001af0]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-97001af0]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-97001af0]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-97001af0]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-97001af0]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-97001af0]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-97001af0]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-97001af0]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-97001af0]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-97001af0]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-97001af0]{margin:0;padding:0}.wm-art__image img[data-v-97001af0]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-97001af0]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art--ticket[data-v-97001af0]{min-width:240px}.wm-tk__head[data-v-97001af0]{display:block}.wm-tk__title[data-v-97001af0]{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}.wm-tk__sub[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.wm-tk__ref[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;min-width:0;font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm)}.wm-tk__ref svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-tk__badge[data-v-97001af0]{padding:3px 9px 3px 7px}.wm-tk__dot[data-v-97001af0]{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.wm-tk__text[data-v-97001af0]{font-size:12px;color:var(--wm-g500);line-height:1.55;white-space:pre-wrap;word-break:break-word;margin-top:9px}.wm-tk__prio[data-v-97001af0]{flex-shrink:0;margin-right:6px}.wm-tk__prio rect[data-v-97001af0]{fill:var(--wm-g200)}.wm-tk__prio[data-level="1"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(2),.wm-tk__prio[data-level="3"] rect[data-v-97001af0]{fill:var(--wm-g700)}.wm-tk__footer[data-v-97001af0]{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--wm-g400);padding:7px 13px 9px;border-top:1px solid var(--wm-g100);font-family:var(--wm-fm);background:var(--wm-g50)}.wm-tk__footer svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-att[data-v-1cd1267b]{display:block;max-width:268px}.wm-att__imgWrap[data-v-1cd1267b]{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--wm-g150);background:var(--wm-g50);line-height:0}.wm-att__imgWrap img[data-v-1cd1267b]{display:block;width:100%;max-height:220px;object-fit:cover}.wm-att--audio audio[data-v-1cd1267b],.wm-att--video video[data-v-1cd1267b]{width:100%;max-width:268px;border-radius:12px;background:var(--wm-g100)}.wm-att__file[data-v-1cd1267b]{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:12px;text-decoration:none;color:var(--wm-g900);transition:background .14s ease,border-color .14s ease;max-width:100%}.wm-att__file[data-v-1cd1267b]:hover{background:var(--wm-g100);border-color:var(--wm-g200)}.wm-att__icon[data-v-1cd1267b]{width:26px;height:26px;border-radius:7px;background:var(--wm-w);border:1px solid var(--wm-g150);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-att__main[data-v-1cd1267b]{display:flex;flex-direction:column;min-width:0}.wm-att__name[data-v-1cd1267b]{font-size:12px;font-weight:500;color:var(--wm-g900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.wm-att__meta[data-v-1cd1267b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-att__spin[data-v-1cd1267b]{width:12px;height:12px;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);border-radius:50%;animation:wm-spin-1cd1267b .8s linear infinite;flex-shrink:0}@keyframes wm-spin-1cd1267b{to{transform:rotate(360deg)}}.wm-bubble[data-v-5c9e9f2b]{max-width:100%;padding:9px 13px;font-size:13px;line-height:1.58;letter-spacing:-.008em;white-space:pre-wrap;word-break:break-word}.wm-bubble--user[data-v-5c9e9f2b]{background:var(--wm-g900);color:#fff}.wm-bubble--ai[data-v-5c9e9f2b],.wm-bubble--human[data-v-5c9e9f2b]{background:var(--wm-g100);color:var(--wm-g900)}.wm-bubble[data-v-5c9e9f2b] strong{font-weight:700}.wm-bubble[data-v-5c9e9f2b] em{font-style:italic}.wm-bubble[data-v-5c9e9f2b] u{text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] s{text-decoration:line-through;opacity:.75}.wm-bubble[data-v-5c9e9f2b] a{color:inherit;text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] a:hover{opacity:.8}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul,.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{margin:2px 0;padding-left:20px}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul{list-style:disc}.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{list-style:decimal}.wm-bubble[data-v-5c9e9f2b] li{margin:0;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-code{font-family:var(--wm-fm);font-size:12px;background:#0000000f;padding:1px 5px;border-radius:4px}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-code{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre{margin:4px 0;padding:8px 10px;background:#0000000f;border-radius:8px;overflow-x:auto;white-space:pre;font-family:var(--wm-fm);font-size:12px;line-height:1.45}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-pre{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre code{font-family:inherit;font-size:inherit;background:none;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-h{margin:4px 0 2px;font-weight:700;letter-spacing:-.01em;line-height:1.3}.wm-bubble[data-v-5c9e9f2b] .wm-md-h1{font-size:15px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h2{font-size:14px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h3,.wm-bubble[data-v-5c9e9f2b] .wm-md-h4,.wm-bubble[data-v-5c9e9f2b] .wm-md-h5,.wm-bubble[data-v-5c9e9f2b] .wm-md-h6{font-size:13px}.wm-bubble[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px)}.wm-bubble--user[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 4px) var(--wm-r-bl, 14px)}.wm-typing[data-v-df2447fd]{padding:11px 16px;background:var(--wm-g100);border-radius:4px 14px 14px;display:inline-flex;gap:5px;align-items:center}.wm-typing span[data-v-df2447fd]{width:5px;height:5px;border-radius:50%;background:var(--wm-g400);display:inline-block;animation:wm-typingDot 1.4s ease-in-out infinite}.wm-list[data-v-508689eb]{flex:1;min-height:0;overflow-y:auto;padding:16px 14px calc(8px + var(--wm-float-h, 0px));display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scroll-padding-bottom:var(--wm-float-h, 0px);overflow-anchor:none}.wm-list[data-v-508689eb]::-webkit-scrollbar{width:3px}.wm-list[data-v-508689eb]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-list__sep[data-v-508689eb]{display:flex;align-items:center;gap:8px;margin:-4px 0 4px}.wm-list__line[data-v-508689eb]{flex:1;height:1px;background:var(--wm-g100)}.wm-list__line--strong[data-v-508689eb]{background:var(--wm-g150)}.wm-list__line--unread[data-v-508689eb]{background:var(--wm-a);opacity:.55}.wm-list__sep--unread[data-v-508689eb]{margin:4px 0}.wm-list__sep-label--unread[data-v-508689eb]{color:var(--wm-a);font-weight:600}.wm-list__sep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.06em;white-space:nowrap}.wm-list__sysep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g400);font-family:var(--wm-fm);letter-spacing:.06em;text-align:center;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:220px}.wm-list__sysep[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0}.wm-list__group[data-v-508689eb]{display:flex;flex-direction:column;gap:3px}.wm-list__row[data-v-508689eb]{display:flex;align-items:flex-end;gap:5px}.wm-list__row--user[data-v-508689eb]{justify-content:flex-end}.wm-list__row.is-pending[data-v-508689eb]{opacity:.55}.wm-list__row.is-failed[data-v-508689eb] .wm-bubble{background:var(--wm-redBg)!important;color:var(--wm-red)!important}.wm-list__avatarSlot[data-v-508689eb]{width:26px;flex-shrink:0;align-self:flex-end}.wm-list__body[data-v-508689eb]{display:flex;flex-direction:column;gap:4px;max-width:75%}.wm-list__atts[data-v-508689eb]{display:flex;flex-direction:column;gap:4px}.wm-list__atts--align-end[data-v-508689eb]{align-items:flex-end}.wm-list__meta[data-v-508689eb]{display:flex;align-items:baseline;gap:5px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);margin-left:31px;margin-top:0}.wm-list__meta--right[data-v-508689eb]{margin-left:0;justify-content:flex-end}.fade-up[data-v-508689eb]{animation:wm-fadeUp .2s ease both}.wm-list--silent .fade-up[data-v-508689eb]{animation:none}.wm-list__loadMore[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 0 10px;font-size:11px;color:var(--wm-g400);font-family:var(--wm-fm);animation:wm-fadeIn-508689eb .18s ease both}.wm-list__loadMore-spinner[data-v-508689eb]{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--wm-g200);border-top-color:var(--wm-g400);animation:wm-spin-508689eb .8s linear infinite}.wm-list__historyEnd[data-v-508689eb]{text-align:center;padding:4px 0 8px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.04em}@keyframes wm-spin-508689eb{to{transform:rotate(360deg)}}@keyframes wm-fadeIn-508689eb{0%{opacity:0}to{opacity:1}}.wm-compose-wrap[data-v-14fa9ec0]{position:relative}.wm-rec[data-v-14fa9ec0]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-redBg);border-top:1px solid #f1c8c8;color:var(--wm-red);font-size:12px;font-weight:500}.wm-rec__dot[data-v-14fa9ec0]{width:8px;height:8px;border-radius:50%;background:var(--wm-red);box-shadow:0 0 #b91c1c73;animation:wm-recPulse-14fa9ec0 1.6s ease-out infinite;flex-shrink:0}.wm-rec__lbl[data-v-14fa9ec0]{flex:1;font-family:var(--wm-fm)}.wm-rec__stop[data-v-14fa9ec0]{border:1px solid var(--wm-red);background:transparent;color:var(--wm-red);border-radius:8px;padding:4px 10px;font-size:11.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease,color .14s ease}.wm-rec__stop[data-v-14fa9ec0]:hover{background:var(--wm-red);color:#fff}@keyframes wm-recPulse-14fa9ec0{0%{box-shadow:0 0 #b91c1c8c}to{box-shadow:0 0 0 8px #b91c1c00}}.wm-compose[data-v-14fa9ec0]{border-top:1px solid var(--wm-g100);background:var(--wm-w);padding:10px 11px;display:flex;flex-direction:row;align-items:stretch;gap:6px;flex-shrink:0;position:relative}.wm-compose__input[data-v-14fa9ec0]{flex:1;background:var(--wm-g50);border-radius:12px;padding:10px 14px;font-size:13.5px;line-height:1.4;color:var(--wm-g900);border:1px solid transparent;outline:none;font-family:var(--wm-f);caret-color:var(--wm-a);min-width:0;box-sizing:border-box;resize:none;min-height:78px;max-height:150px;overflow-y:auto;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.wm-compose__input[data-v-14fa9ec0]::placeholder{color:var(--wm-g300)}.wm-compose__input[data-v-14fa9ec0]:focus{background:var(--wm-w);border-color:var(--wm-g150);box-shadow:0 0 0 3px #00000008}.wm-compose__actions[data-v-14fa9ec0]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;flex-shrink:0}.wm-compose__icon[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]{width:28px;height:28px;border-radius:8px;border:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .14s ease,transform .14s ease}.wm-compose__icon[data-v-14fa9ec0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-compose__icon[data-v-14fa9ec0]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-compose__icon.is-open[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff;transform:rotate(45deg)}.wm-compose__icon[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__send[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff}.wm-compose__send[data-v-14fa9ec0]:hover{background:var(--wm-g700)}.wm-compose__send[data-v-14fa9ec0]:active{transform:scale(.94)}.wm-compose__send.is-empty[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]:disabled{background:var(--wm-g150);color:var(--wm-g300);cursor:default}.wm-compose__overlay[data-v-14fa9ec0]{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:9}.wm-compose__menu[data-v-14fa9ec0]{position:absolute;bottom:calc(100% + 6px);right:11px;min-width:200px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:12px;box-shadow:0 10px 32px #00000021,0 2px 6px #0000000d;padding:5px;display:flex;flex-direction:column;gap:1px;z-index:10;animation:wm-fadeUp .18s ease both}.wm-compose__menuItem[data-v-14fa9ec0]{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;border:none;background:transparent;text-align:left;color:var(--wm-g700);font-size:12.5px;font-family:var(--wm-f);cursor:pointer;transition:background .14s ease}.wm-compose__menuItem[data-v-14fa9ec0]:hover:not(:disabled){background:var(--wm-g50);color:var(--wm-g900)}.wm-compose__menuItem[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__menuIcon[data-v-14fa9ec0]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);color:var(--wm-g500);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-chips[data-v-55aa529d]{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-bottom:4px;pointer-events:none}.wm-chip[data-v-55aa529d]{pointer-events:auto;padding:7px 14px;border-radius:20px;background:var(--wm-w);border:1px solid var(--wm-g200);font-size:12px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;line-height:1;box-shadow:0 2px 10px #00000012;white-space:nowrap;transform-origin:bottom right;animation:wm-chipIn-55aa529d .28s cubic-bezier(.22,1,.36,1) both;transition:background .14s ease,transform .1s ease}.wm-chip[data-v-55aa529d]:hover{background:var(--wm-g50)}.wm-chip[data-v-55aa529d]:active{transform:scale(.97)}@keyframes wm-chipIn-55aa529d{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-approval[data-v-b1be139c]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-approval__head[data-v-b1be139c]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-approval__icon[data-v-b1be139c]{flex-shrink:0}.wm-approval__main[data-v-b1be139c]{flex:1;min-width:0}.wm-approval__title[data-v-b1be139c]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-approval__detail[data-v-b1be139c]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-approval__actions[data-v-b1be139c]{display:flex;gap:7px;padding:9px 14px 11px}.wm-approval__btn[data-v-b1be139c]{flex:1;padding:8px 8px 8px 13px;border-radius:9px;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:filter .14s ease}.wm-approval__btn[data-v-b1be139c]:hover{filter:brightness(.95)}.wm-approval__btn--neutral[data-v-b1be139c]{background:var(--wm-g100);color:var(--wm-g500)}.wm-approval__btn--primary[data-v-b1be139c]{background:var(--wm-g900);color:#fff}.wm-form[data-v-64b40f76]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-form__head[data-v-64b40f76]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-form__icon[data-v-64b40f76]{flex-shrink:0}.wm-form__main[data-v-64b40f76]{flex:1;min-width:0}.wm-form__title[data-v-64b40f76]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-form__detail[data-v-64b40f76]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-form__body[data-v-64b40f76]{display:flex;flex-direction:column;gap:10px;padding:11px 14px 12px;max-height:320px;overflow-y:auto;scrollbar-width:thin}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar{width:3px}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-form__field[data-v-64b40f76]{display:flex;flex-direction:column;gap:4px}.wm-form__label[data-v-64b40f76]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-form__req[data-v-64b40f76]{color:var(--wm-red);margin-left:2px}.wm-form__input[data-v-64b40f76],.wm-form__textarea[data-v-64b40f76],.wm-form__select[data-v-64b40f76]{font-family:var(--wm-f);font-size:12.5px;color:var(--wm-g900);background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:8px;padding:7px 9px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.wm-form__input[data-v-64b40f76]:focus,.wm-form__textarea[data-v-64b40f76]:focus,.wm-form__select[data-v-64b40f76]:focus{border-color:var(--wm-g500);box-shadow:0 0 0 3px #0000000a}.wm-form__input[data-v-64b40f76]:disabled,.wm-form__textarea[data-v-64b40f76]:disabled,.wm-form__select[data-v-64b40f76]:disabled{background:var(--wm-g50);color:var(--wm-g400)}.wm-form__textarea[data-v-64b40f76]{resize:vertical;min-height:56px}.wm-form__bool[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__multi[data-v-64b40f76]{display:flex;flex-direction:column;gap:5px}.wm-form__multiItem[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__err[data-v-64b40f76]{font-size:11px;color:var(--wm-red);padding:4px 8px;background:var(--wm-redBg);border-radius:6px}.wm-form__submit[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;border:none;background:var(--wm-g900);color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .14s ease}.wm-form__submit[data-v-64b40f76]:hover:not(:disabled){filter:brightness(.95)}.wm-form__submit[data-v-64b40f76]:disabled{opacity:.7;cursor:not-allowed}.wm-form__doneLbl[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;background:var(--wm-g100);color:var(--wm-g500);font-size:12px;text-align:center}.wm-form__spinner[data-v-64b40f76]{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:wm-spin .7s linear infinite}.wm-fb[data-v-6f45ff3b]{margin:4px 0 0;padding:16px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:var(--wm-sh1)}.wm-fb__title[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;margin-bottom:4px}.wm-fb__sub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);margin-bottom:14px}.wm-fb__row[data-v-6f45ff3b]{display:flex;gap:0;margin-bottom:14px}.wm-fb__opt[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;border:none;border-radius:10px;padding:7px 0;cursor:pointer;flex:1;min-width:0;transition:background .15s ease}.wm-fb__opt.is-selected[data-v-6f45ff3b]{background:var(--wm-g100)}.wm-fb__emoji[data-v-6f45ff3b]{font-size:22px;line-height:1}.wm-fb__label[data-v-6f45ff3b]{font-size:9.5px;color:var(--wm-g400);font-weight:400}.wm-fb__opt.is-selected .wm-fb__label[data-v-6f45ff3b]{color:var(--wm-g700);font-weight:600}.wm-fb__send[data-v-6f45ff3b]{width:100%;padding:9px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:12.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .2s ease}.wm-fb__send[data-v-6f45ff3b]:disabled{background:var(--wm-g200);color:var(--wm-g400);cursor:default}.wm-fb__done[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0}.wm-fb__check[data-v-6f45ff3b]{width:40px;height:40px;border-radius:12px;background:var(--wm-g900);display:inline-flex;align-items:center;justify-content:center}.wm-fb__doneTitle[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-fb__doneSub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);text-align:center;line-height:1.5}.wm-hd[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30}.wm-hd__scrim[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f0e1452;animation:wm-fadeUp .18s ease both}.wm-hd__panel[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;width:min(312px,100%);background:var(--wm-w);display:flex;flex-direction:column;box-shadow:-8px 0 32px #0000002e;animation:wm-drawerSlide-1259e822 .22s cubic-bezier(.32,.72,0,1) both}@keyframes wm-drawerSlide-1259e822{0%{transform:translate(100%)}to{transform:translate(0)}}.wm-hd__head[data-v-1259e822]{padding:14px 14px 10px;border-bottom:1px solid var(--wm-g100);display:flex;align-items:flex-start;gap:8px;flex-shrink:0}.wm-hd__heading[data-v-1259e822]{flex:1;min-width:0}.wm-hd__title[data-v-1259e822]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-hd__sub[data-v-1259e822]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-hd__close[data-v-1259e822]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0;transition:background .14s ease}.wm-hd__close[data-v-1259e822]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-hd__top[data-v-1259e822]{padding:10px 12px 6px;flex-shrink:0}.wm-hd__new[data-v-1259e822]{width:100%;padding:10px 12px 10px 16px;border-radius:10px;background:var(--wm-g900);border:none;display:flex;align-items:center;gap:9px;cursor:pointer;font-family:var(--wm-f);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:-.01em;transition:background .14s ease}.wm-hd__new[data-v-1259e822]:hover{background:var(--wm-g700)}.wm-hd__newIcon[data-v-1259e822]{width:22px;height:22px;border-radius:7px;background:#ffffff1f;display:inline-flex;align-items:center;justify-content:center;color:#fff}.wm-hd__search[data-v-1259e822]{position:relative;margin:10px 2px 2px}.wm-hd__searchIcon[data-v-1259e822]{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:var(--wm-g400);display:inline-flex}.wm-hd__search input[data-v-1259e822]{width:100%;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:9px;padding:7px 11px 7px 30px;font-size:12px;color:var(--wm-g700);font-family:var(--wm-f);outline:none}.wm-hd__search input[data-v-1259e822]:focus{border-color:var(--wm-g200);background:var(--wm-w)}.wm-hd__list[data-v-1259e822]{flex:1;overflow-y:auto;padding:8px 4px 16px}.wm-hd__group[data-v-1259e822]{margin-bottom:14px}.wm-hd__groupLabel[data-v-1259e822]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.07em;text-transform:uppercase;padding:0 12px 6px;font-family:var(--wm-fm)}.wm-hd__rows[data-v-1259e822]{display:flex;flex-direction:column;gap:2px}.wm-hd__row[data-v-1259e822]{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:transparent;border:none;text-align:left;cursor:pointer;width:100%;font-family:var(--wm-f);transition:background .14s ease}.wm-hd__row[data-v-1259e822]:hover{background:var(--wm-g50)}.wm-hd__row--active[data-v-1259e822]{background:var(--wm-g100)}.wm-hd__rowIcon[data-v-1259e822]{position:relative;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-hd__rowBody[data-v-1259e822]{flex:1;min-width:0}.wm-hd__rowTop[data-v-1259e822]{display:flex;align-items:center;gap:6px}.wm-hd__rowTitle[data-v-1259e822]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__rowDot[data-v-1259e822]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-hd__rowPreview[data-v-1259e822]{font-size:11.5px;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__row--unread .wm-hd__rowTitle[data-v-1259e822]{color:var(--wm-g900)}.wm-hd__row--unread .wm-hd__rowPreview[data-v-1259e822]{color:var(--wm-g700);font-weight:500}.wm-hd__empty[data-v-1259e822]{padding:28px 16px;text-align:center;font-size:12px;color:var(--wm-g400)}.wm-mm[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25}.wm-mm__scrim[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0}.wm-mm__pop[data-v-c1bb81d2]{position:absolute;top:56px;right:10px;width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 14px 40px #00000029,0 2px 8px #0000000f;overflow:hidden;animation:wm-fadeUp .18s ease both;font-family:var(--wm-f)}.wm-mm__section[data-v-c1bb81d2]{padding:6px 4px}.wm-mm__sep[data-v-c1bb81d2]{height:1px;background:var(--wm-g100)}.wm-mm__item[data-v-c1bb81d2]{width:100%;padding:9px 12px;display:flex;align-items:center;gap:10px;background:transparent;border:none;cursor:pointer;font-family:var(--wm-f);text-align:left;color:var(--wm-g700);transition:background .14s ease;border-radius:8px}.wm-mm__item[data-v-c1bb81d2]:hover{background:var(--wm-g50)}.wm-mm__icon[data-v-c1bb81d2]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--wm-g500)}.wm-mm__label[data-v-c1bb81d2]{flex:1;font-size:12.5px;font-weight:500;letter-spacing:-.01em}.wm-mm__hint[data-v-c1bb81d2]{font-size:10.5px;color:var(--wm-g300);font-family:var(--wm-fm)}.wm-mm__item--danger[data-v-c1bb81d2]{color:#b91c1c}.wm-mm__item--danger .wm-mm__icon[data-v-c1bb81d2]{background:#b91c1c14;color:#b91c1c}.wm-mm__toggle[data-v-c1bb81d2]{width:28px;height:16px;border-radius:999px;background:var(--wm-g200);position:relative;flex-shrink:0;transition:background .14s ease;display:inline-block}.wm-mm__toggle--on[data-v-c1bb81d2]{background:var(--wm-g900)}.wm-mm__knob[data-v-c1bb81d2]{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .14s ease;box-shadow:0 1px 3px #0000002e}.wm-mm__toggle--on .wm-mm__knob[data-v-c1bb81d2]{left:14px}.wm-root[data-v-8264e504]{font-family:var(--wm-f, ui-sans-serif, system-ui, sans-serif);color:var(--wm-g900, #17161A);line-height:1.45}.wm-root--floating[data-v-8264e504],.wm-root--sheet[data-v-8264e504]{position:fixed;right:20px;bottom:20px;z-index:2147483647}.wm-root--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;display:flex}.wm-panel[data-v-8264e504]{background:var(--wm-w);display:flex;flex-direction:column;overflow:hidden}.wm-panel--floating[data-v-8264e504]{position:absolute;right:0;bottom:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100vh - 80px);border-radius:16px;box-shadow:var(--wm-shPanel);animation:wm-widgetPop .25s cubic-bezier(.34,1.56,.64,1) both}.wm-panel--sheet[data-v-8264e504]{position:fixed;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);border-radius:18px;box-shadow:var(--wm-shPanel);animation:wm-sheetSlide .32s cubic-bezier(.22,1,.36,1) both}.wm-panel--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;border-radius:0;box-shadow:none}.wm-state[data-v-8264e504]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:14px;text-align:center}.wm-loading[data-v-8264e504]{flex:1;display:flex;align-items:center;justify-content:center;background:var(--wm-w, #fff);position:relative}.wm-loading__close[data-v-8264e504]{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:var(--wm-g500, #5A5753);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wm-loading__close[data-v-8264e504]:hover{background:var(--wm-g100, #F2F1EE);color:var(--wm-g900, #17161A)}.wm-loading__spinner[data-v-8264e504]{width:22px;height:22px;border-radius:50%;border:2px solid var(--wm-g150, #E8E6E2);border-top-color:var(--wm-g500, #5A5753);animation:wm-spin-8264e504 .7s linear infinite}@keyframes wm-spin-8264e504{to{transform:rotate(360deg)}}.wm-state__err[data-v-8264e504]{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--wm-redBg);border:1px solid #f8d7d7;border-radius:12px;max-width:320px;text-align:left}.wm-state__errIcon[data-v-8264e504]{width:28px;height:28px;border-radius:8px;background:var(--wm-red);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-state__errTitle[data-v-8264e504]{font-size:13px;font-weight:600;color:var(--wm-red)}.wm-state__errSub[data-v-8264e504]{font-size:11px;color:var(--wm-g500);margin-top:2px}.wm-bottom[data-v-8264e504]{position:relative;flex-shrink:0}.wm-float[data-v-8264e504]{position:absolute;left:0;right:0;bottom:100%;padding:0 12px 8px;pointer-events:none;z-index:5}.wm-float>.wm-approval[data-v-8264e504],.wm-float>.wm-fb[data-v-8264e504],.wm-float>.wm-form[data-v-8264e504]{pointer-events:auto}.wm-actionWait[data-v-8264e504]{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;min-height:98px;background:var(--wm-g50);border-top:1px solid var(--wm-g100);color:var(--wm-g500);font-size:12.5px;font-family:var(--wm-f);flex-shrink:0}.wm-actionWait__spinner[data-v-8264e504]{width:14px;height:14px;border-radius:50%;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);animation:wm-spin-8264e504 .7s linear infinite;flex-shrink:0}.wm-actionWait__lbl[data-v-8264e504]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-attached[data-v-8264e504]{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:var(--wm-w);border-top:1px solid var(--wm-g100)}.wm-attached__chip[data-v-8264e504]{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:var(--wm-g100);border:1px solid var(--wm-g150);font-size:11px;color:var(--wm-g700)}.wm-attached__chip button[data-v-8264e504]{border:none;background:transparent;color:var(--wm-g400);cursor:pointer;padding:0;display:inline-flex}.wm-attached__chip button[data-v-8264e504]:hover{color:var(--wm-g900)}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode('.wm-launcherWrap[data-v-fabef371]{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.wm-peek[data-v-fabef371]{position:relative;max-width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px 14px 6px;padding:11px 30px 11px 13px;box-shadow:0 10px 30px #00000029;cursor:pointer;text-align:left;transition:transform .14s ease,box-shadow .14s ease}.wm-peek[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 14px 34px #0003}.wm-peek__text[data-v-fabef371]{margin:0;font-family:var(--wm-f);font-size:12.5px;line-height:1.42;color:var(--wm-g700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wm-peek__close[data-v-fabef371]{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;border:none;background:transparent;color:var(--wm-g400);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.wm-peek__close[data-v-fabef371]:hover{background:var(--wm-g100);color:var(--wm-g700)}.wm-peek-enter-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .26s cubic-bezier(.34,1.56,.64,1) both}.wm-peek-leave-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .16s ease reverse both}@keyframes wm-peekIn-fabef371{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-launcher[data-v-fabef371]{position:relative;width:50px;height:50px;border-radius:50%;border:none;background:var(--wm-g900);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #00000038;transition:transform .14s ease,box-shadow .14s ease}.wm-launcher[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 8px 22px #00000047}.wm-launcher[data-v-fabef371]:active{transform:translateY(0)}.wm-launcher__badge[data-v-fabef371]{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--wm-red, #B91C1C);color:#fff;border:2px solid var(--wm-w, #fff);font-family:var(--wm-f);font-size:10.5px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.wm-aiav[data-v-8c924688]{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.wm-aiav__inner[data-v-8c924688]{width:100%;height:100%;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.25);display:flex;align-items:center;justify-content:center;border-radius:var(--wm-avr)}.wm-aiav--tail .wm-aiav__inner[data-v-8c924688]{border-bottom-right-radius:4px}.wm-aiav__inner--glow[data-v-8c924688]{animation:wm-heroGlow 2.6s ease-in-out infinite}.wm-aiav__pulse[data-v-8c924688]{position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1.5px solid var(--wm-a);opacity:.5;pointer-events:none;border-radius:calc(var(--wm-avr) + 3px)}.wm-aiav--tail .wm-aiav__pulse[data-v-8c924688]{border-bottom-right-radius:7px}.wm-huav[data-v-a772b179]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-weight:700;line-height:1;border-radius:var(--wm-avr) var(--wm-avr) 4px var(--wm-avr)}.wm-huav img[data-v-a772b179]{width:100%;height:100%;object-fit:cover;display:block}.wm-team[data-v-3659b9c1]{display:inline-flex;align-items:center;gap:6px}.wm-team__stack[data-v-3659b9c1]{display:inline-block;position:relative;height:20px}.wm-team__pill[data-v-3659b9c1]{position:absolute;top:0;width:20px;height:20px;border-radius:6px;border:2px solid var(--wm-w);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-size:8px;font-weight:700;line-height:1}.wm-team__pill img[data-v-3659b9c1]{width:100%;height:100%;object-fit:cover;display:block}.wm-team__label[data-v-3659b9c1]{font-size:11px;color:var(--wm-g400);white-space:nowrap}.wm-header[data-v-b5f5f6a9]{background:var(--wm-w);border-bottom:1px solid var(--wm-g100);padding:12px 13px;display:flex;align-items:center;gap:9px;flex-shrink:0}.wm-header__icon[data-v-b5f5f6a9]{width:30px;height:30px;border-radius:8px;background:var(--wm-g100);border:none;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);cursor:pointer;flex-shrink:0;transition:background .14s ease}.wm-header__icon[data-v-b5f5f6a9]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-header__icon--active[data-v-b5f5f6a9]{background:var(--wm-g200);color:var(--wm-g700)}.wm-header__avatar[data-v-b5f5f6a9]{flex-shrink:0}.wm-header__fill[data-v-b5f5f6a9]{flex:1}.wm-header__main[data-v-b5f5f6a9]{flex:1;min-width:0}.wm-header__title[data-v-b5f5f6a9]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.wm-header__sub[data-v-b5f5f6a9]{margin-top:3px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wm-header__status[data-v-b5f5f6a9]{display:inline-flex;align-items:center;gap:5px;min-height:20px;font-size:11px;color:var(--wm-g400)}.wm-header__dot[data-v-b5f5f6a9]{width:5px;height:5px;border-radius:50%;background:var(--wm-green);flex-shrink:0}.wm-header__actions[data-v-b5f5f6a9]{display:flex;gap:4px;flex-shrink:0}.wm-onb[data-v-bd89bc8f]{flex:1;overflow-y:auto;background:var(--wm-w);padding:20px 14px 14px;display:flex;flex-direction:column;gap:18px}.wm-onb__hero[data-v-bd89bc8f]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 8px 6px;gap:14px}.wm-onb__title[data-v-bd89bc8f]{font-size:17px;font-weight:700;color:var(--wm-g900);letter-spacing:-.03em;line-height:1.2}.wm-onb__sub[data-v-bd89bc8f]{font-size:12.5px;color:var(--wm-g400);line-height:1.6;white-space:pre-line}.wm-onb__section-title[data-v-bd89bc8f]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.06em;margin-bottom:8px;text-transform:uppercase;padding-left:2px}.wm-onb__links[data-v-bd89bc8f]{display:flex;flex-direction:column;gap:5px}.wm-onb__link[data-v-bd89bc8f]{padding:10px 13px;border-radius:10px;text-align:left;background:var(--wm-w);border:1px solid var(--wm-g150);font-size:13px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;display:flex;align-items:center;gap:10px;box-shadow:var(--wm-sh1);transition:background .14s ease,border-color .14s ease}.wm-onb__link[data-v-bd89bc8f]:hover{background:var(--wm-g50);border-color:var(--wm-g200)}.wm-onb__link-icon[data-v-bd89bc8f]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-onb__link-label[data-v-bd89bc8f]{flex:1}.wm-onb__link-chev[data-v-bd89bc8f]{color:var(--wm-g300);flex-shrink:0}.wm-onb__resume-icon[data-v-bd89bc8f]{position:relative;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);color:#fff}.wm-onb__resume-dot[data-v-bd89bc8f]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-onb__resume-body[data-v-bd89bc8f]{flex:1;min-width:0;display:flex;flex-direction:column}.wm-onb__resume-title[data-v-bd89bc8f]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__resume-preview[data-v-bd89bc8f]{font-size:11.5px;font-weight:400;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__cta[data-v-bd89bc8f]{margin-top:auto;padding-top:8px}.wm-onb__startBtn[data-v-bd89bc8f]{width:100%;padding:11px 11px 11px 16px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease}.wm-onb__startBtn[data-v-bd89bc8f]:hover{background:var(--wm-g700)}.wm-onb__startBtn[data-v-bd89bc8f]:disabled{background:var(--wm-g200);cursor:default}.wm-result[data-v-7f90dad6]{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 14px);font-family:var(--wm-f);font-size:12px;font-weight:500;letter-spacing:-.005em;line-height:1.4;max-width:75%;min-width:0}.wm-result__icon[data-v-7f90dad6]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-result__label[data-v-7f90dad6]{font-weight:600;white-space:nowrap;flex-shrink:0}.wm-result__sep[data-v-7f90dad6]{opacity:.55;flex-shrink:0}.wm-result__detail[data-v-7f90dad6]{font-weight:400;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}.wm-result--success[data-v-7f90dad6]{background:#e3f4e7;color:#1f6e3a}.wm-result--rejected[data-v-7f90dad6]{background:var(--wm-g100);color:var(--wm-g500)}.wm-result--failure[data-v-7f90dad6]{background:var(--wm-redBg);color:var(--wm-red)}.wm-result--awaiting[data-v-7f90dad6]{background:#e0eafe;color:#2563eb}.wm-art[data-v-812bda8b]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-812bda8b]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-812bda8b]{min-width:0;flex:1}.wm-art__title[data-v-812bda8b]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-812bda8b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-812bda8b]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-812bda8b]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-812bda8b]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-812bda8b]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-812bda8b]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-812bda8b]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-812bda8b]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-812bda8b]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-812bda8b]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-812bda8b]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-812bda8b]{margin:0;padding:0}.wm-art__image img[data-v-812bda8b]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-d7369333]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-d7369333]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-d7369333]{min-width:0;flex:1}.wm-art__title[data-v-d7369333]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-d7369333]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-d7369333]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-d7369333]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-d7369333]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-d7369333]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-d7369333]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-d7369333]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-d7369333]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-d7369333]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-d7369333]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-d7369333]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-d7369333]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-d7369333]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-d7369333]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-d7369333]{margin:0;padding:0}.wm-art__image img[data-v-d7369333]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-d7369333]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-97001af0]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-97001af0]{min-width:0;flex:1}.wm-art__title[data-v-97001af0]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-97001af0]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-97001af0]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-97001af0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-97001af0]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-97001af0]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-97001af0]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-97001af0]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-97001af0]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-97001af0]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-97001af0]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-97001af0]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-97001af0]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-97001af0]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-97001af0]{margin:0;padding:0}.wm-art__image img[data-v-97001af0]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-97001af0]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art--ticket[data-v-97001af0]{min-width:240px}.wm-tk__head[data-v-97001af0]{display:block}.wm-tk__title[data-v-97001af0]{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}.wm-tk__sub[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.wm-tk__ref[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;min-width:0;font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm)}.wm-tk__ref svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-tk__badge[data-v-97001af0]{padding:3px 9px 3px 7px}.wm-tk__dot[data-v-97001af0]{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.wm-tk__text[data-v-97001af0]{font-size:12px;color:var(--wm-g500);line-height:1.55;white-space:pre-wrap;word-break:break-word;margin-top:9px}.wm-tk__prio[data-v-97001af0]{flex-shrink:0;margin-right:6px}.wm-tk__prio rect[data-v-97001af0]{fill:var(--wm-g200)}.wm-tk__prio[data-level="1"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(2),.wm-tk__prio[data-level="3"] rect[data-v-97001af0]{fill:var(--wm-g700)}.wm-tk__footer[data-v-97001af0]{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--wm-g400);padding:7px 13px 9px;border-top:1px solid var(--wm-g100);font-family:var(--wm-fm);background:var(--wm-g50)}.wm-tk__footer svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-att[data-v-1cd1267b]{display:block;max-width:268px}.wm-att__imgWrap[data-v-1cd1267b]{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--wm-g150);background:var(--wm-g50);line-height:0}.wm-att__imgWrap img[data-v-1cd1267b]{display:block;width:100%;max-height:220px;object-fit:cover}.wm-att--audio audio[data-v-1cd1267b],.wm-att--video video[data-v-1cd1267b]{width:100%;max-width:268px;border-radius:12px;background:var(--wm-g100)}.wm-att__file[data-v-1cd1267b]{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:12px;text-decoration:none;color:var(--wm-g900);transition:background .14s ease,border-color .14s ease;max-width:100%}.wm-att__file[data-v-1cd1267b]:hover{background:var(--wm-g100);border-color:var(--wm-g200)}.wm-att__icon[data-v-1cd1267b]{width:26px;height:26px;border-radius:7px;background:var(--wm-w);border:1px solid var(--wm-g150);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-att__main[data-v-1cd1267b]{display:flex;flex-direction:column;min-width:0}.wm-att__name[data-v-1cd1267b]{font-size:12px;font-weight:500;color:var(--wm-g900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.wm-att__meta[data-v-1cd1267b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-att__spin[data-v-1cd1267b]{width:12px;height:12px;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);border-radius:50%;animation:wm-spin-1cd1267b .8s linear infinite;flex-shrink:0}@keyframes wm-spin-1cd1267b{to{transform:rotate(360deg)}}.wm-bubble[data-v-5c9e9f2b]{max-width:100%;padding:9px 13px;font-size:13px;line-height:1.58;letter-spacing:-.008em;white-space:pre-wrap;word-break:break-word}.wm-bubble--user[data-v-5c9e9f2b]{background:var(--wm-g900);color:#fff}.wm-bubble--ai[data-v-5c9e9f2b],.wm-bubble--human[data-v-5c9e9f2b]{background:var(--wm-g100);color:var(--wm-g900)}.wm-bubble[data-v-5c9e9f2b] strong{font-weight:700}.wm-bubble[data-v-5c9e9f2b] em{font-style:italic}.wm-bubble[data-v-5c9e9f2b] u{text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] s{text-decoration:line-through;opacity:.75}.wm-bubble[data-v-5c9e9f2b] a{color:inherit;text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] a:hover{opacity:.8}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul,.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{margin:2px 0;padding-left:20px}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul{list-style:disc}.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{list-style:decimal}.wm-bubble[data-v-5c9e9f2b] li{margin:0;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-code{font-family:var(--wm-fm);font-size:12px;background:#0000000f;padding:1px 5px;border-radius:4px}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-code{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre{margin:4px 0;padding:8px 10px;background:#0000000f;border-radius:8px;overflow-x:auto;white-space:pre;font-family:var(--wm-fm);font-size:12px;line-height:1.45}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-pre{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre code{font-family:inherit;font-size:inherit;background:none;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-h{margin:4px 0 2px;font-weight:700;letter-spacing:-.01em;line-height:1.3}.wm-bubble[data-v-5c9e9f2b] .wm-md-h1{font-size:15px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h2{font-size:14px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h3,.wm-bubble[data-v-5c9e9f2b] .wm-md-h4,.wm-bubble[data-v-5c9e9f2b] .wm-md-h5,.wm-bubble[data-v-5c9e9f2b] .wm-md-h6{font-size:13px}.wm-bubble[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px)}.wm-bubble--user[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 4px) var(--wm-r-bl, 14px)}.wm-typing[data-v-df2447fd]{padding:11px 16px;background:var(--wm-g100);border-radius:4px 14px 14px;display:inline-flex;gap:5px;align-items:center}.wm-typing span[data-v-df2447fd]{width:5px;height:5px;border-radius:50%;background:var(--wm-g400);display:inline-block;animation:wm-typingDot 1.4s ease-in-out infinite}.wm-list[data-v-508689eb]{flex:1;min-height:0;overflow-y:auto;padding:16px 14px calc(8px + var(--wm-float-h, 0px));display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scroll-padding-bottom:var(--wm-float-h, 0px);overflow-anchor:none}.wm-list[data-v-508689eb]::-webkit-scrollbar{width:3px}.wm-list[data-v-508689eb]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-list__sep[data-v-508689eb]{display:flex;align-items:center;gap:8px;margin:-4px 0 4px}.wm-list__line[data-v-508689eb]{flex:1;height:1px;background:var(--wm-g100)}.wm-list__line--strong[data-v-508689eb]{background:var(--wm-g150)}.wm-list__line--unread[data-v-508689eb]{background:var(--wm-a);opacity:.55}.wm-list__sep--unread[data-v-508689eb]{margin:4px 0}.wm-list__sep-label--unread[data-v-508689eb]{color:var(--wm-a);font-weight:600}.wm-list__sep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.06em;white-space:nowrap}.wm-list__sysep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g400);font-family:var(--wm-fm);letter-spacing:.06em;text-align:center;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:220px}.wm-list__sysep[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0}.wm-list__group[data-v-508689eb]{display:flex;flex-direction:column;gap:3px}.wm-list__row[data-v-508689eb]{display:flex;align-items:flex-end;gap:5px}.wm-list__row--user[data-v-508689eb]{justify-content:flex-end}.wm-list__row.is-pending[data-v-508689eb]{opacity:.55}.wm-list__row.is-failed[data-v-508689eb] .wm-bubble{background:var(--wm-redBg)!important;color:var(--wm-red)!important}.wm-list__avatarSlot[data-v-508689eb]{width:26px;flex-shrink:0;align-self:flex-end}.wm-list__body[data-v-508689eb]{display:flex;flex-direction:column;gap:4px;max-width:75%}.wm-list__atts[data-v-508689eb]{display:flex;flex-direction:column;gap:4px}.wm-list__atts--align-end[data-v-508689eb]{align-items:flex-end}.wm-list__meta[data-v-508689eb]{display:flex;align-items:baseline;gap:5px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);margin-left:31px;margin-top:0}.wm-list__meta--right[data-v-508689eb]{margin-left:0;justify-content:flex-end}.fade-up[data-v-508689eb]{animation:wm-fadeUp .2s ease both}.wm-list--silent .fade-up[data-v-508689eb]{animation:none}.wm-list__loadMore[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 0 10px;font-size:11px;color:var(--wm-g400);font-family:var(--wm-fm);animation:wm-fadeIn-508689eb .18s ease both}.wm-list__loadMore-spinner[data-v-508689eb]{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--wm-g200);border-top-color:var(--wm-g400);animation:wm-spin-508689eb .8s linear infinite}.wm-list__historyEnd[data-v-508689eb]{text-align:center;padding:4px 0 8px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.04em}@keyframes wm-spin-508689eb{to{transform:rotate(360deg)}}@keyframes wm-fadeIn-508689eb{0%{opacity:0}to{opacity:1}}.wm-compose-wrap[data-v-14fa9ec0]{position:relative}.wm-rec[data-v-14fa9ec0]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-redBg);border-top:1px solid #f1c8c8;color:var(--wm-red);font-size:12px;font-weight:500}.wm-rec__dot[data-v-14fa9ec0]{width:8px;height:8px;border-radius:50%;background:var(--wm-red);box-shadow:0 0 #b91c1c73;animation:wm-recPulse-14fa9ec0 1.6s ease-out infinite;flex-shrink:0}.wm-rec__lbl[data-v-14fa9ec0]{flex:1;font-family:var(--wm-fm)}.wm-rec__stop[data-v-14fa9ec0]{border:1px solid var(--wm-red);background:transparent;color:var(--wm-red);border-radius:8px;padding:4px 10px;font-size:11.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease,color .14s ease}.wm-rec__stop[data-v-14fa9ec0]:hover{background:var(--wm-red);color:#fff}@keyframes wm-recPulse-14fa9ec0{0%{box-shadow:0 0 #b91c1c8c}to{box-shadow:0 0 0 8px #b91c1c00}}.wm-compose[data-v-14fa9ec0]{border-top:1px solid var(--wm-g100);background:var(--wm-w);padding:10px 11px;display:flex;flex-direction:row;align-items:stretch;gap:6px;flex-shrink:0;position:relative}.wm-compose__input[data-v-14fa9ec0]{flex:1;background:var(--wm-g50);border-radius:12px;padding:10px 14px;font-size:13.5px;line-height:1.4;color:var(--wm-g900);border:1px solid transparent;outline:none;font-family:var(--wm-f);caret-color:var(--wm-a);min-width:0;box-sizing:border-box;resize:none;min-height:78px;max-height:150px;overflow-y:auto;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.wm-compose__input[data-v-14fa9ec0]::placeholder{color:var(--wm-g300)}.wm-compose__input[data-v-14fa9ec0]:focus{background:var(--wm-w);border-color:var(--wm-g150);box-shadow:0 0 0 3px #00000008}.wm-compose__actions[data-v-14fa9ec0]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;flex-shrink:0}.wm-compose__icon[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]{width:28px;height:28px;border-radius:8px;border:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .14s ease,transform .14s ease}.wm-compose__icon[data-v-14fa9ec0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-compose__icon[data-v-14fa9ec0]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-compose__icon.is-open[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff;transform:rotate(45deg)}.wm-compose__icon[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__send[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff}.wm-compose__send[data-v-14fa9ec0]:hover{background:var(--wm-g700)}.wm-compose__send[data-v-14fa9ec0]:active{transform:scale(.94)}.wm-compose__send.is-empty[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]:disabled{background:var(--wm-g150);color:var(--wm-g300);cursor:default}.wm-compose__overlay[data-v-14fa9ec0]{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:9}.wm-compose__menu[data-v-14fa9ec0]{position:absolute;bottom:calc(100% + 6px);right:11px;min-width:200px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:12px;box-shadow:0 10px 32px #00000021,0 2px 6px #0000000d;padding:5px;display:flex;flex-direction:column;gap:1px;z-index:10;animation:wm-fadeUp .18s ease both}.wm-compose__menuItem[data-v-14fa9ec0]{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;border:none;background:transparent;text-align:left;color:var(--wm-g700);font-size:12.5px;font-family:var(--wm-f);cursor:pointer;transition:background .14s ease}.wm-compose__menuItem[data-v-14fa9ec0]:hover:not(:disabled){background:var(--wm-g50);color:var(--wm-g900)}.wm-compose__menuItem[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__menuIcon[data-v-14fa9ec0]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);color:var(--wm-g500);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-chips[data-v-55aa529d]{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-bottom:4px;pointer-events:none}.wm-chip[data-v-55aa529d]{pointer-events:auto;padding:7px 14px;border-radius:20px;background:var(--wm-w);border:1px solid var(--wm-g200);font-size:12px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;line-height:1;box-shadow:0 2px 10px #00000012;white-space:nowrap;transform-origin:bottom right;animation:wm-chipIn-55aa529d .28s cubic-bezier(.22,1,.36,1) both;transition:background .14s ease,transform .1s ease}.wm-chip[data-v-55aa529d]:hover{background:var(--wm-g50)}.wm-chip[data-v-55aa529d]:active{transform:scale(.97)}@keyframes wm-chipIn-55aa529d{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-approval[data-v-b1be139c]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-approval__head[data-v-b1be139c]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-approval__icon[data-v-b1be139c]{flex-shrink:0}.wm-approval__main[data-v-b1be139c]{flex:1;min-width:0}.wm-approval__title[data-v-b1be139c]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-approval__detail[data-v-b1be139c]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-approval__actions[data-v-b1be139c]{display:flex;gap:7px;padding:9px 14px 11px}.wm-approval__btn[data-v-b1be139c]{flex:1;padding:8px 8px 8px 13px;border-radius:9px;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:filter .14s ease}.wm-approval__btn[data-v-b1be139c]:hover{filter:brightness(.95)}.wm-approval__btn--neutral[data-v-b1be139c]{background:var(--wm-g100);color:var(--wm-g500)}.wm-approval__btn--primary[data-v-b1be139c]{background:var(--wm-g900);color:#fff}.wm-form[data-v-64b40f76]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-form__head[data-v-64b40f76]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-form__icon[data-v-64b40f76]{flex-shrink:0}.wm-form__main[data-v-64b40f76]{flex:1;min-width:0}.wm-form__title[data-v-64b40f76]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-form__detail[data-v-64b40f76]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-form__body[data-v-64b40f76]{display:flex;flex-direction:column;gap:10px;padding:11px 14px 12px;max-height:320px;overflow-y:auto;scrollbar-width:thin}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar{width:3px}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-form__field[data-v-64b40f76]{display:flex;flex-direction:column;gap:4px}.wm-form__label[data-v-64b40f76]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-form__req[data-v-64b40f76]{color:var(--wm-red);margin-left:2px}.wm-form__input[data-v-64b40f76],.wm-form__textarea[data-v-64b40f76],.wm-form__select[data-v-64b40f76]{font-family:var(--wm-f);font-size:12.5px;color:var(--wm-g900);background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:8px;padding:7px 9px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.wm-form__input[data-v-64b40f76]:focus,.wm-form__textarea[data-v-64b40f76]:focus,.wm-form__select[data-v-64b40f76]:focus{border-color:var(--wm-g500);box-shadow:0 0 0 3px #0000000a}.wm-form__input[data-v-64b40f76]:disabled,.wm-form__textarea[data-v-64b40f76]:disabled,.wm-form__select[data-v-64b40f76]:disabled{background:var(--wm-g50);color:var(--wm-g400)}.wm-form__textarea[data-v-64b40f76]{resize:vertical;min-height:56px}.wm-form__bool[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__multi[data-v-64b40f76]{display:flex;flex-direction:column;gap:5px}.wm-form__multiItem[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__err[data-v-64b40f76]{font-size:11px;color:var(--wm-red);padding:4px 8px;background:var(--wm-redBg);border-radius:6px}.wm-form__submit[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;border:none;background:var(--wm-g900);color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .14s ease}.wm-form__submit[data-v-64b40f76]:hover:not(:disabled){filter:brightness(.95)}.wm-form__submit[data-v-64b40f76]:disabled{opacity:.7;cursor:not-allowed}.wm-form__doneLbl[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;background:var(--wm-g100);color:var(--wm-g500);font-size:12px;text-align:center}.wm-form__spinner[data-v-64b40f76]{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:wm-spin .7s linear infinite}.wm-fb[data-v-6f45ff3b]{margin:4px 0 0;padding:16px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:var(--wm-sh1)}.wm-fb__title[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;margin-bottom:4px}.wm-fb__sub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);margin-bottom:14px}.wm-fb__row[data-v-6f45ff3b]{display:flex;gap:0;margin-bottom:14px}.wm-fb__opt[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;border:none;border-radius:10px;padding:7px 0;cursor:pointer;flex:1;min-width:0;transition:background .15s ease}.wm-fb__opt.is-selected[data-v-6f45ff3b]{background:var(--wm-g100)}.wm-fb__emoji[data-v-6f45ff3b]{font-size:22px;line-height:1}.wm-fb__label[data-v-6f45ff3b]{font-size:9.5px;color:var(--wm-g400);font-weight:400}.wm-fb__opt.is-selected .wm-fb__label[data-v-6f45ff3b]{color:var(--wm-g700);font-weight:600}.wm-fb__send[data-v-6f45ff3b]{width:100%;padding:9px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:12.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .2s ease}.wm-fb__send[data-v-6f45ff3b]:disabled{background:var(--wm-g200);color:var(--wm-g400);cursor:default}.wm-fb__done[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0}.wm-fb__check[data-v-6f45ff3b]{width:40px;height:40px;border-radius:12px;background:var(--wm-g900);display:inline-flex;align-items:center;justify-content:center}.wm-fb__doneTitle[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-fb__doneSub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);text-align:center;line-height:1.5}.wm-hd[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30}.wm-hd__scrim[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f0e1452;animation:wm-fadeUp .18s ease both}.wm-hd__panel[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;width:min(312px,100%);background:var(--wm-w);display:flex;flex-direction:column;box-shadow:-8px 0 32px #0000002e;animation:wm-drawerSlide-1259e822 .22s cubic-bezier(.32,.72,0,1) both}@keyframes wm-drawerSlide-1259e822{0%{transform:translate(100%)}to{transform:translate(0)}}.wm-hd__head[data-v-1259e822]{padding:14px 14px 10px;border-bottom:1px solid var(--wm-g100);display:flex;align-items:flex-start;gap:8px;flex-shrink:0}.wm-hd__heading[data-v-1259e822]{flex:1;min-width:0}.wm-hd__title[data-v-1259e822]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-hd__sub[data-v-1259e822]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-hd__close[data-v-1259e822]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0;transition:background .14s ease}.wm-hd__close[data-v-1259e822]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-hd__top[data-v-1259e822]{padding:10px 12px 6px;flex-shrink:0}.wm-hd__new[data-v-1259e822]{width:100%;padding:10px 12px 10px 16px;border-radius:10px;background:var(--wm-g900);border:none;display:flex;align-items:center;gap:9px;cursor:pointer;font-family:var(--wm-f);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:-.01em;transition:background .14s ease}.wm-hd__new[data-v-1259e822]:hover{background:var(--wm-g700)}.wm-hd__newIcon[data-v-1259e822]{width:22px;height:22px;border-radius:7px;background:#ffffff1f;display:inline-flex;align-items:center;justify-content:center;color:#fff}.wm-hd__search[data-v-1259e822]{position:relative;margin:10px 2px 2px}.wm-hd__searchIcon[data-v-1259e822]{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:var(--wm-g400);display:inline-flex}.wm-hd__search input[data-v-1259e822]{width:100%;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:9px;padding:7px 11px 7px 30px;font-size:12px;color:var(--wm-g700);font-family:var(--wm-f);outline:none}.wm-hd__search input[data-v-1259e822]:focus{border-color:var(--wm-g200);background:var(--wm-w)}.wm-hd__list[data-v-1259e822]{flex:1;overflow-y:auto;padding:8px 4px 16px}.wm-hd__group[data-v-1259e822]{margin-bottom:14px}.wm-hd__groupLabel[data-v-1259e822]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.07em;text-transform:uppercase;padding:0 12px 6px;font-family:var(--wm-fm)}.wm-hd__rows[data-v-1259e822]{display:flex;flex-direction:column;gap:2px}.wm-hd__row[data-v-1259e822]{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:transparent;border:none;text-align:left;cursor:pointer;width:100%;font-family:var(--wm-f);transition:background .14s ease}.wm-hd__row[data-v-1259e822]:hover{background:var(--wm-g50)}.wm-hd__row--active[data-v-1259e822]{background:var(--wm-g100)}.wm-hd__rowIcon[data-v-1259e822]{position:relative;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-hd__rowBody[data-v-1259e822]{flex:1;min-width:0}.wm-hd__rowTop[data-v-1259e822]{display:flex;align-items:center;gap:6px}.wm-hd__rowTitle[data-v-1259e822]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__rowDot[data-v-1259e822]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-hd__rowPreview[data-v-1259e822]{font-size:11.5px;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__row--unread .wm-hd__rowTitle[data-v-1259e822]{color:var(--wm-g900)}.wm-hd__row--unread .wm-hd__rowPreview[data-v-1259e822]{color:var(--wm-g700);font-weight:500}.wm-hd__empty[data-v-1259e822]{padding:28px 16px;text-align:center;font-size:12px;color:var(--wm-g400)}.wm-mm[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25}.wm-mm__scrim[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0}.wm-mm__pop[data-v-c1bb81d2]{position:absolute;top:56px;right:10px;width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 14px 40px #00000029,0 2px 8px #0000000f;overflow:hidden;animation:wm-fadeUp .18s ease both;font-family:var(--wm-f)}.wm-mm__section[data-v-c1bb81d2]{padding:6px 4px}.wm-mm__sep[data-v-c1bb81d2]{height:1px;background:var(--wm-g100)}.wm-mm__item[data-v-c1bb81d2]{width:100%;padding:9px 12px;display:flex;align-items:center;gap:10px;background:transparent;border:none;cursor:pointer;font-family:var(--wm-f);text-align:left;color:var(--wm-g700);transition:background .14s ease;border-radius:8px}.wm-mm__item[data-v-c1bb81d2]:hover{background:var(--wm-g50)}.wm-mm__icon[data-v-c1bb81d2]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--wm-g500)}.wm-mm__label[data-v-c1bb81d2]{flex:1;font-size:12.5px;font-weight:500;letter-spacing:-.01em}.wm-mm__hint[data-v-c1bb81d2]{font-size:10.5px;color:var(--wm-g300);font-family:var(--wm-fm)}.wm-mm__item--danger[data-v-c1bb81d2]{color:#b91c1c}.wm-mm__item--danger .wm-mm__icon[data-v-c1bb81d2]{background:#b91c1c14;color:#b91c1c}.wm-mm__toggle[data-v-c1bb81d2]{width:28px;height:16px;border-radius:999px;background:var(--wm-g200);position:relative;flex-shrink:0;transition:background .14s ease;display:inline-block}.wm-mm__toggle--on[data-v-c1bb81d2]{background:var(--wm-g900)}.wm-mm__knob[data-v-c1bb81d2]{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .14s ease;box-shadow:0 1px 3px #0000002e}.wm-mm__toggle--on .wm-mm__knob[data-v-c1bb81d2]{left:14px}.wm-root[data-v-8264e504]{font-family:var(--wm-f, ui-sans-serif, system-ui, sans-serif);color:var(--wm-g900, #17161A);line-height:1.45}.wm-root--floating[data-v-8264e504],.wm-root--sheet[data-v-8264e504]{position:fixed;right:20px;bottom:20px;z-index:2147483647}.wm-root--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;display:flex}.wm-panel[data-v-8264e504]{background:var(--wm-w);display:flex;flex-direction:column;overflow:hidden}.wm-panel--floating[data-v-8264e504]{position:absolute;right:0;bottom:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100vh - 80px);border-radius:16px;box-shadow:var(--wm-shPanel);animation:wm-widgetPop .25s cubic-bezier(.34,1.56,.64,1) both}.wm-panel--sheet[data-v-8264e504]{position:fixed;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);border-radius:18px;box-shadow:var(--wm-shPanel);animation:wm-sheetSlide .32s cubic-bezier(.22,1,.36,1) both}.wm-panel--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;border-radius:0;box-shadow:none}.wm-state[data-v-8264e504]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:14px;text-align:center}.wm-loading[data-v-8264e504]{flex:1;display:flex;align-items:center;justify-content:center;background:var(--wm-w, #fff);position:relative}.wm-loading__close[data-v-8264e504]{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:var(--wm-g500, #5A5753);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wm-loading__close[data-v-8264e504]:hover{background:var(--wm-g100, #F2F1EE);color:var(--wm-g900, #17161A)}.wm-loading__spinner[data-v-8264e504]{width:22px;height:22px;border-radius:50%;border:2px solid var(--wm-g150, #E8E6E2);border-top-color:var(--wm-g500, #5A5753);animation:wm-spin-8264e504 .7s linear infinite}@keyframes wm-spin-8264e504{to{transform:rotate(360deg)}}.wm-state__err[data-v-8264e504]{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--wm-redBg);border:1px solid #f8d7d7;border-radius:12px;max-width:320px;text-align:left}.wm-state__errIcon[data-v-8264e504]{width:28px;height:28px;border-radius:8px;background:var(--wm-red);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-state__errTitle[data-v-8264e504]{font-size:13px;font-weight:600;color:var(--wm-red)}.wm-state__errSub[data-v-8264e504]{font-size:11px;color:var(--wm-g500);margin-top:2px}.wm-bottom[data-v-8264e504]{position:relative;flex-shrink:0}.wm-float[data-v-8264e504]{position:absolute;left:0;right:0;bottom:100%;padding:0 12px 8px;pointer-events:none;z-index:5}.wm-float>.wm-approval[data-v-8264e504],.wm-float>.wm-fb[data-v-8264e504],.wm-float>.wm-form[data-v-8264e504]{pointer-events:auto}.wm-actionWait[data-v-8264e504]{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;min-height:98px;background:var(--wm-g50);border-top:1px solid var(--wm-g100);color:var(--wm-g500);font-size:12.5px;font-family:var(--wm-f);flex-shrink:0}.wm-actionWait__spinner[data-v-8264e504]{width:14px;height:14px;border-radius:50%;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);animation:wm-spin-8264e504 .7s linear infinite;flex-shrink:0}.wm-actionWait__lbl[data-v-8264e504]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-attached[data-v-8264e504]{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:var(--wm-w);border-top:1px solid var(--wm-g100)}.wm-attached__chip[data-v-8264e504]{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:var(--wm-g100);border:1px solid var(--wm-g150);font-size:11px;color:var(--wm-g700)}.wm-attached__chip button[data-v-8264e504]{border:none;background:transparent;color:var(--wm-g400);cursor:pointer;padding:0;display:inline-flex}.wm-attached__chip button[data-v-8264e504]:hover{color:var(--wm-g900)}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
|
2
2
|
var Messenger=function(Ut){"use strict";/**
|
|
3
3
|
* @vue/shared v3.5.34
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
@@ -73,4 +73,4 @@ ${o}`)}return s.join(`
|
|
|
73
73
|
|
|
74
74
|
`)}function Qn(e,t){if(!Array.isArray(e==null?void 0:e.options))return t;const n=e.options.find(s=>(s==null?void 0:s.value)===t);return(n==null?void 0:n.label)||t}function Uh(e,t){const n=[],s=Array.isArray(e==null?void 0:e.fields)?e.fields:[];for(const r of s){if(!(r!=null&&r.key)||!(r!=null&&r.label))continue;const i=t==null?void 0:t[r.key];if(i==null||i==="")continue;let o;if(Array.isArray(i)){if(o=i.map(a=>Qn(r,String(a))).join(", "),!o)continue}else typeof i=="boolean"?o=i?"Oui":"Non":o=Qn(r,String(i));const l=r.type==="textarea"||typeof o=="string"&&(o.length>60||o.includes(`
|
|
75
75
|
`));n.push({label:r.label,value:o,multiline:l})}return{kind:"form_response",data:{title:(e==null?void 0:e.title)||"Formulaire",fields:n}}}const Vh=450,Wh=50,Kh=900,zh=12e3,qh=300,Gh={name:"Messenger",components:{Launcher:gc,Header:Hc,Onboarding:cu,MessageList:qd,Composer:pf,SuggestionChips:vf,ApprovalCard:Mf,FormCard:th,Feedback:dh,HistoryDrawer:Lh,MoreMenu:Nh},provide(){return{signAttachmentFn:e=>{var t,n;return((n=(t=this.store)==null?void 0:t.signAttachment)==null?void 0:n.call(t,e))||null}}},props:{baseUrl:{type:String,default:oo},widgetId:{type:String,default:""},userId:{type:String,default:""},userHash:{type:String,default:""},customer:{type:Object,default:null},displayMode:{type:String,default:"floating"},devtools:{type:Boolean,default:!1}},data(){return{transport:null,store:null,isOpen:!1,draft:"",busy:!1,bootError:null,pendingAttachments:[],feedbackBusy:!1,feedbackDone:!1,revealedAt:{},nextRevealAt:0,revealTimers:[],convOpenedAt:0,historyOpen:!1,moreOpen:!1,activeConvId:null,showOnboarding:!1,notifEnabled:!0,labelDismissed:!1,readState:{},unreadAnchorTs:"",floatHeight:0,floatRO:null,approvalSettled:!0,approvalSettleTimer:null,approvalLatchId:null}},computed:{isEditor(){return!!this.devtools},isEmbedded(){return this.displayMode==="embedded"},error(){var e;return this.bootError||((e=this.s)==null?void 0:e.error)||null},canBoot(){return!!(this.baseUrl&&this.widgetId&&this.userId&&this.userHash)},s(){var e;return((e=this.store)==null?void 0:e.state)||null},ready(){var e;return!!((e=this.s)!=null&&e.ready)},allConversations(){var t;const e=(t=this.s)==null?void 0:t.conversations;return Array.isArray(e)?e:[]},drawerConversations(){var n;const e=this.readState,t=((n=this.s)==null?void 0:n.messagesByConv)||{};return this.allConversations.map(s=>{const r=t[s.id]||[],i=this.convLastActivity(s,r),o=e[s.id]||"",l=this.lastMessageAuthorType(r),a=!!i&&l!=="user"&&(!o||i>o);return{...s,_preview:this.convPreview(s,r),_unread:a}})},unreadCount(){return this.drawerConversations.filter(e=>e._unread).length},unreadThreads(){var t;const e=((t=this.s)==null?void 0:t.messagesByConv)||{};return this.drawerConversations.filter(n=>n._unread).map(n=>({id:n.id,title:n.name||"Nouvelle conversation",preview:n._preview||"Nouveau message",_ts:this.convLastActivity(n,e[n.id]||[])})).sort((n,s)=>n._ts<s._ts?1:n._ts>s._ts?-1:0).slice(0,3)},latestUnread(){var n;const e=((n=this.s)==null?void 0:n.messagesByConv)||{};let t=null;for(const s of this.drawerConversations){if(!s._unread)continue;const r=this.convLastActivity(s,e[s.id]||[]);(!t||r>t.ts)&&(t={convId:s.id,preview:s._preview,ts:r})}return t},launcherPeek(){if(this.isOpen||this.isEmbedded||this.labelDismissed)return"";const e=this.latestUnread;return e?e.preview||"Vous avez un nouveau message":""},isViewingThread(){return(this.isOpen||this.isEmbedded)&&!this.historyOpen&&!!this.currentConv},currentConv(){if(this.showOnboarding)return null;const e=this.allConversations;if(!e.length)return null;if(this.activeConvId!=null){const t=e.find(n=>n.id===this.activeConvId);if(t)return t}return e[0]||null},canBack(){return!!this.currentConv},statusUrl(){var n;const e=(n=this.widget)==null?void 0:n.quick_links;if(!Array.isArray(e))return"";const t=e.find(s=>s.icon==="status"&&s.url);return(t==null?void 0:t.url)||""},helpUrl(){var n;const e=(n=this.widget)==null?void 0:n.quick_links;if(!Array.isArray(e))return"";const t=e.find(s=>(s.icon==="chat"||s.icon==="help")&&s.url);return(t==null?void 0:t.url)||""},widget(){var e,t;return((t=(e=this.s)==null?void 0:e.config)==null?void 0:t.widget)||null},widgetWelcomeMessage(){var e;return((e=this.widget)==null?void 0:e.welcome_message)||""},agentName(){var e,t,n;return((n=(t=(e=this.s)==null?void 0:e.config)==null?void 0:t.agent)==null?void 0:n.name)||""},agentAvatarUrl(){var e,t,n;return((n=(t=(e=this.s)==null?void 0:e.config)==null?void 0:t.agent)==null?void 0:n.avatar_url)||null},quickLinks(){var t;const e=(t=this.widget)==null?void 0:t.quick_links;return Array.isArray(e)?e:[]},teamMembers(){var t;const e=(t=this.widget)==null?void 0:t.team_members;return Array.isArray(e)?e:[]},responseLabel(){var e;return((e=this.widget)==null?void 0:e.response_time_label)||""},humanMessageAuthor(){var t,n,s;if(!this.currentConv)return null;const e=((t=this.s.messagesByConv)==null?void 0:t[this.currentConv.id])||[];for(let r=e.length-1;r>=0;r--)if(((s=(n=e[r])==null?void 0:n.author)==null?void 0:s.type)==="agent_human")return e[r].author;return null},humanAgentName(){var e;return((e=this.humanMessageAuthor)==null?void 0:e.name)||""},humanAgentAvatarUrl(){var e;return((e=this.humanMessageAuthor)==null?void 0:e.avatar_url)||null},isEscalated(){return!!this.humanMessageAuthor},isWaitingHuman(){var t;const e=(t=this.currentConv)==null?void 0:t.status;return e==="waiting"||e==="handled"},headerTitle(){var e,t;return((e=this.currentConv)==null?void 0:e.name)||((t=this.widget)==null?void 0:t.name)||"Nouvelle conversation"},composerPlaceholder(){return this.isEscalated&&this.humanAgentName?`Répondre à ${this.humanAgentName.split(" ")[0]}…`:this.isWaitingHuman?"Un agent prend le relais…":"Écrivez votre message…"},displayedMessages(){const e=this.currentConv;if(!e)return[];const t=r=>{var i,o,l,a;return(r==null?void 0:r.type)==="action"||(r==null?void 0:r.type)==="system"||((i=r==null?void 0:r.payload)==null?void 0:i.type)==="system"||Array.isArray((o=r==null?void 0:r.payload)==null?void 0:o.attachments)&&r.payload.attachments.length||(l=r==null?void 0:r.metadata)!=null&&l.artifact||(a=r==null?void 0:r.metadata)!=null&&a.form?!0:typeof(r==null?void 0:r.text_md)=="string"&&r.text_md.trim().length>0},n=r=>{var i;return(r==null?void 0:r.type)==="action"&&((i=r==null?void 0:r.payload)==null?void 0:i.state)==="pending"},s=this.revealedAt;return(this.s.messagesByConv[e.id]||[]).filter(r=>!n(r)).filter(r=>Hs(r)?s[r.id]>0:!0).filter(t)},streamingActive(){var n,s,r;const e=this.currentConv;return e?Object.keys(((n=this.s)==null?void 0:n.streamingByMsgId)||{}).length>0?!0:this.actionInFlight?!1:(((r=(s=this.s)==null?void 0:s.messagesByConv)==null?void 0:r[e.id])||[]).some(i=>Hs(i)&&!(this.revealedAt[i.id]>0)):!1},currentConvMessages(){var t,n,s;const e=(t=this.currentConv)==null?void 0:t.id;return e?((s=(n=this.s)==null?void 0:n.messagesByConv)==null?void 0:s[e])||[]:[]},pendingApproval(){return!this.currentConv||!this.store||this.actionInFlight?null:this.store.getPendingApproval(this.currentConv.id)},approvalReady(){return this.pendingApproval?this.pendingApproval.id===this.approvalLatchId?!0:!(this.streamingActive||!this.approvalSettled):!1},approvalTitle(){var e,t,n;return((t=(e=this.pendingApproval)==null?void 0:e.payload)==null?void 0:t.name)||((n=this.pendingApproval)==null?void 0:n.text_md)||"Confirmer l'action"},approvalDetail(){var s,r,i,o,l,a;const e=(i=(r=(s=this.pendingApproval)==null?void 0:s.payload)==null?void 0:r.pending)==null?void 0:i.user_explanation;if(typeof e=="string"&&e.trim())return e.trim();const t=(a=(l=(o=this.pendingApproval)==null?void 0:o.payload)==null?void 0:l.pending)==null?void 0:a.prepared_params;if(!t||typeof t!="object")return"";const n=Object.entries(t);return n.length?n.slice(0,2).map(([f,c])=>`${f}: ${c}`).join(" · "):""},actionInFlight(){var e,t;return!this.currentConv||!this.store?null:((t=(e=this.store).getActionInFlight)==null?void 0:t.call(e,this.currentConv.id))||null},actionInFlightName(){var t;const e=this.actionInFlight;return e?((t=e.payload)==null?void 0:t.name)||e.text_md||"Action":""},suggestions(){return!this.currentConv||!this.store?[]:this.streamingActive?[]:this.pendingForm?[]:this.store.getLatestSuggestions(this.currentConv.id)},pendingForm(){var e,t;return!this.currentConv||!this.store||this.pendingApproval||this.actionInFlight||this.streamingActive||!this.approvalSettled?null:((t=(e=this.store).getLatestForm)==null?void 0:t.call(e,this.currentConv.id))||null},showFeedback(){var t;const e=this.currentConv;return e?this.feedbackDone?!0:e.status!=="resolved"?!1:!((t=e.metadata)!=null&&t.feedback):!1},floatVisible(){return this.approvalReady||!!this.pendingForm||this.showFeedback||this.suggestions.length>0},dateLabel(){var n,s,r;const e=this.currentConv;let t=new Date;if(e){const o=((r=(((s=(n=this.s)==null?void 0:n.messagesByConv)==null?void 0:s[e.id])||[]).find(l=>l==null?void 0:l.created_at))==null?void 0:r.created_at)||e.created_at;if(o){const l=new Date(o);Number.isNaN(l.getTime())||(t=l)}}return`Aujourd'hui · ${io(t)}`},paginationState(){var n,s,r;const e=(n=this.currentConv)==null?void 0:n.id,t=e?(r=(s=this.s)==null?void 0:s.paginationByConv)==null?void 0:r[e]:null;return{loading:!!(t!=null&&t.loading),hasMore:!!(t!=null&&t.nextCursor)}}},watch:{latestUnread:{handler(e,t){if(!e){this.labelDismissed=!1;return}(!t||e.convId!==t.convId||e.ts>t.ts)&&(this.labelDismissed=!1)},deep:!0},"currentConv.id":{handler(e){this.cancelReveals(),this.revealedAt={},this.nextRevealAt=0,this.convOpenedAt=Date.now(),this.moreOpen=!1,this.resetApprovalPacing(),this.isViewingThread&&(this.unreadAnchorTs=e&&this.readState[e]||"")},immediate:!0},isViewingThread(e,t){var n;if(e&&!t){const s=(n=this.currentConv)==null?void 0:n.id;this.unreadAnchorTs=s&&this.readState[s]||""}else e||(this.unreadAnchorTs="")},pendingApproval:{handler(e,t){if(e&&!t){const n=e!=null&&e.created_at?Date.parse(e.created_at):NaN;if(!(Number.isFinite(n)&&n>=this.convOpenedAt)){this.resetApprovalPacing();return}this.bumpApprovalSettle(2600)}else!e&&t&&this.resetApprovalPacing()},immediate:!1},streamingActive(e,t){e!==t&&this.pendingApproval&&this.pendingApproval.id!==this.approvalLatchId&&this.bumpApprovalSettle()},approvalReady(e){e&&this.pendingApproval&&(this.approvalLatchId=this.pendingApproval.id)},floatVisible:{handler(e){this.$nextTick(()=>this.syncFloatObserver(e))},immediate:!0},currentConvMessages(e){var s;if(!Array.isArray(e)||!e.length)return;const t=Date.now(),n={...this.revealedAt};for(const r of e){if((r==null?void 0:r.id)==null||n[r.id]!==void 0)continue;if(!Hs(r)){n[r.id]=t;continue}const i=r!=null&&r.created_at?Date.parse(r.created_at):NaN;if(!Number.isFinite(i)||i<this.convOpenedAt){n[r.id]=t;continue}const o=typeof(r==null?void 0:r.text_md)=="string"&&r.text_md.trim().length>0,l=Array.isArray((s=r==null?void 0:r.payload)==null?void 0:s.attachments)&&r.payload.attachments.length>0;if(!o&&!l){n[r.id]=t;continue}n[r.id]=0,this.scheduleReveal(r)}this.revealedAt=n,(this.isOpen||this.isEmbedded)&&!this.historyOpen&&this.currentConv&&this.markConvRead(this.currentConv)}},async mounted(){if(console.log("[messenger] mounted",{isEditor:this.isEditor,canBoot:this.canBoot,hasBaseUrl:!!this.baseUrl,hasWidgetId:!!this.widgetId,hasUserId:!!this.userId,hasUserHash:!!this.userHash}),typeof document<"u"&&!document.getElementById(ho)){const e=document.createElement("style");e.id=ho,e.textContent=uc,document.head.appendChild(e)}this.hydrateReadState(),await this.boot(),this.isEmbedded&&this.store&&await this.open()},beforeUnmount(){this.cancelReveals(),this.disconnectFloatRO(),this.resetApprovalPacing(),this.store&&this.store.destroy()},methods:{syncFloatObserver(e){if(this.disconnectFloatRO(),!e){this.floatHeight=0;return}const t=this.$refs.floatEl;if(t){if(typeof ResizeObserver>"u"){this.floatHeight=Math.ceil(t.getBoundingClientRect().height+8);return}this.floatRO=new ResizeObserver(n=>{const s=n[0];if(!s)return;const r=Math.ceil(s.contentRect.height+8);r!==this.floatHeight&&(this.floatHeight=r,this.$nextTick(()=>{var i,o;(o=(i=this.$refs.messageList)==null?void 0:i.scrollToBottom)==null||o.call(i)}))}),this.floatRO.observe(t)}},disconnectFloatRO(){if(this.floatRO){try{this.floatRO.disconnect()}catch{}this.floatRO=null}},convLastActivity(e,t){let n=(e==null?void 0:e.last_message_at)||(e==null?void 0:e.updated_at)||(e==null?void 0:e.created_at)||"";for(const s of t)s!=null&&s.created_at&&s.created_at>n&&(n=s.created_at);return n},lastMessageAuthorType(e){var t,n;for(let s=e.length-1;s>=0;s--){const r=(n=(t=e[s])==null?void 0:t.author)==null?void 0:n.type;if(r)return r}return""},convPreview(e,t){var n,s,r;for(let i=t.length-1;i>=0;i--){const o=t[i];if(!o)continue;const l=typeof o.text_md=="string"?o.text_md.trim():"";if(l)return(((n=o.author)==null?void 0:n.type)==="user"?"Vous : ":"")+l.replace(/\s+/g," ");const a=(s=o.payload)==null?void 0:s.attachments;if(Array.isArray(a)&&a.length)return"📎 Pièce jointe"}return(e==null?void 0:e.last_message_preview)||(e==null?void 0:e.preview)||((r=e==null?void 0:e.metadata)==null?void 0:r.last_preview)||""},readStorageKey(){const e=this.widgetId||"",t=this.userId||"";return`wm:read:${e}:${t}`},hydrateReadState(){try{if(typeof localStorage>"u")return;const e=localStorage.getItem(this.readStorageKey());if(!e)return;const t=JSON.parse(e);t&&typeof t=="object"&&(this.readState=t)}catch{}},persistReadState(){try{if(typeof localStorage>"u")return;localStorage.setItem(this.readStorageKey(),JSON.stringify(this.readState))}catch{}},markConvRead(e){var s,r;if(!(e!=null&&e.id))return;const t=((r=(s=this.s)==null?void 0:s.messagesByConv)==null?void 0:r[e.id])||[],n=this.convLastActivity(e,t);n&&this.readState[e.id]!==n&&(this.readState={...this.readState,[e.id]:n},this.persistReadState())},cancelReveals(){for(const e of this.revealTimers)try{clearTimeout(e)}catch{}this.revealTimers=[]},resetApprovalPacing(){if(this.approvalSettleTimer){try{clearTimeout(this.approvalSettleTimer)}catch{}this.approvalSettleTimer=null}this.approvalSettled=!0,this.approvalLatchId=null},bumpApprovalSettle(e=800){if(this.approvalSettled=!1,this.approvalSettleTimer)try{clearTimeout(this.approvalSettleTimer)}catch{}this.approvalSettleTimer=setTimeout(()=>{this.approvalSettled=!0,this.approvalSettleTimer=null},e)},scheduleReveal(e){const t=Date.now(),n=((e==null?void 0:e.text_md)||"").length,s=Math.min(zh,Math.max(Kh,n*Wh)),i=Math.max(t+Vh,this.nextRevealAt+qh)+s;this.nextRevealAt=i;const o=Math.max(0,i-t),l=e.id,a=setTimeout(()=>{this.revealedAt={...this.revealedAt,[l]:Date.now()},this.revealTimers=this.revealTimers.filter(c=>c!==a)},o);this.revealTimers.push(a);const f=setTimeout(()=>{this.revealedAt[l]>0||(this.revealedAt={...this.revealedAt,[l]:Date.now()}),this.revealTimers=this.revealTimers.filter(c=>c!==f)},o+4e3);this.revealTimers.push(f)},async boot(){if(!this.canBoot){console.warn("[messenger] boot skipped — missing creds",{baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId,hasUserHash:!!this.userHash});return}try{console.log("[messenger] boot start",{baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId}),this.transport=vs(ic({baseUrl:this.baseUrl,widgetId:this.widgetId,userId:this.userId,userHash:this.userHash})),this.store=vs(cc(this.transport)),await this.store.start(),this.customer&&typeof this.customer=="object"&&await this.store.applyCustomer(this.customer),console.log("[ww-messenger] boot done",{ready:this.store.state.ready,error:this.store.state.error})}catch(e){console.error("[ww-messenger] bootstrap failed",e),this.bootError=(e==null?void 0:e.message)||String(e)}},async refresh(){this.store&&this.store.destroy(),this.cancelReveals(),this.revealedAt={},this.nextRevealAt=0,this.convOpenedAt=0,this.transport=null,this.store=null,this.isOpen=!1,this.draft="",this.busy=!1,this.bootError=null,this.pendingAttachments=[],this.feedbackBusy=!1,this.feedbackDone=!1,this.historyOpen=!1,this.moreOpen=!1,this.activeConvId=null,this.showOnboarding=!1,await this.boot(),this.isEmbedded&&this.store&&await this.open()},async openFromPeek(){var t,n;const e=(t=this.latestUnread)==null?void 0:t.convId;e&&e!==((n=this.currentConv)==null?void 0:n.id)&&(this.activeConvId=e,this.showOnboarding=!1),await this.open()},async open(){if(this.isOpen=!0,this.store&&this.store.setPanelOpen(!0),this.currentConv){try{await this.store.openConversation(this.currentConv.id)}catch(e){console.error("[ww-messenger] load messages failed",e)}this.markConvRead(this.currentConv)}},close(){this.isOpen=!1,this.store&&this.store.setPanelOpen(!1)},async startConv(){if(!this.busy){this.busy=!0;try{const e=await this.store.createConversation({});this.activeConvId=e.id,this.showOnboarding=!1,await this.store.openConversation(e.id),this.markConvRead(e),this.focusComposer()}catch(e){console.error("[ww-messenger] create conv failed",e),this.bootError=(e==null?void 0:e.message)||String(e)}finally{this.busy=!1}}},focusComposer(){this.$nextTick(()=>{var e;return(e=this.$refs.composer)==null?void 0:e.focus()})},toggleMore(){this.historyOpen=!1,this.moreOpen=!this.moreOpen},goHome(){this.historyOpen=!1,this.moreOpen=!1,this.activeConvId=null,this.showOnboarding=!0},async onDrawerPick(e){if(!(e!=null&&e.id)||!this.store)return;this.historyOpen=!1,this.activeConvId=e.id,this.showOnboarding=!1;try{await this.store.openConversation(e.id)}catch(n){console.error("[ww-messenger] open conv failed",n)}const t=this.allConversations.find(n=>n.id===e.id);t&&this.markConvRead(t)},async onDrawerNew(){this.historyOpen=!1,await this.startConv()},onNotifToggle(e){this.notifEnabled=!!e},async onMoreAction(e){switch(this.moreOpen=!1,e){case"history":this.historyOpen=!0;break;case"rename":await this.renameCurrentConv();break;case"clear":await this.clearCurrentConv();break;case"export":this.exportCurrentConv();break;case"status":if(this.statusUrl)try{window.open(this.statusUrl,"_blank","noopener")}catch{}break;case"help":if(this.helpUrl)try{window.open(this.helpUrl,"_blank","noopener")}catch{}break}},async renameCurrentConv(){const e=this.currentConv;if(!e||!this.store)return;let t;try{t=typeof window<"u"&&typeof window.prompt=="function"?window.prompt("Nouveau nom du fil",e.name||""):null}catch{t=null}if(t==null)return;const n=t.trim();if(!(!n||n===e.name))try{await this.store.patchConversation(e.id,{name:n})}catch(s){console.error("[ww-messenger] rename failed",s)}},async clearCurrentConv(){var n;const e=this.currentConv;!e||!this.store||!(!(typeof window<"u"&&typeof window.confirm=="function")||window.confirm("Effacer ce fil de votre côté ? Cette action ne supprime pas les messages côté agent."))||((n=this.s)!=null&&n.messagesByConv&&(this.s.messagesByConv[e.id]=[]),this.activeConvId=null,this.showOnboarding=!0)},exportCurrentConv(){var r,i,o,l,a,f;const e=this.currentConv;if(!e)return;const t=(((i=(r=this.s)==null?void 0:r.messagesByConv)==null?void 0:i[e.id])||[]).slice(),n=[`# ${e.name||"Conversation"}`,e.created_at?`Créée le : ${e.created_at}`:"",""];for(const c of t){if(!c)continue;const g=((o=c.author)==null?void 0:o.name)||(((l=c.author)==null?void 0:l.type)==="user"?"Vous":((a=c.author)==null?void 0:a.type)==="agent_human"?"Agent":((f=c.author)==null?void 0:f.type)==="agent_ia"?"Assistant IA":"Système"),S=c.created_at?new Date(c.created_at).toLocaleString("fr-FR"):"",k=(c.text_md||"").trim();k&&(n.push(`[${S}] ${g} :`),n.push(k),n.push(""))}const s=new Blob([n.join(`
|
|
76
|
-
`)],{type:"text/plain;charset=utf-8"});try{const c=URL.createObjectURL(s),g=document.createElement("a");g.href=c,g.download=`${(e.name||"conversation").replace(/[^a-z0-9-_]+/gi,"_")}.txt`,document.body.appendChild(g),g.click(),document.body.removeChild(g),setTimeout(()=>URL.revokeObjectURL(c),1e3)}catch(c){console.error("[ww-messenger] export failed",c)}},async onSend(e){const t=this.currentConv;if(!t&&(await this.startConv(),!this.currentConv))return;const n=(this.currentConv||t).id,s=this.pendingAttachments.slice();this.pendingAttachments=[],await this.store.send(n,e,{attachments:s.length?s:void 0})},async onSuggestion(e){const t=e==null?void 0:e.label;t&&await this.onSend(t)},async onLoadMore(){var t;const e=(t=this.currentConv)==null?void 0:t.id;!e||!this.store||await this.store.loadMore(e)},async onApprovalCallback(e){const t=this.pendingApproval;t&&await this.store.clickCallback(t.id,e)},async onFormSubmit({values:e}){const t=this.pendingForm;if(!(t!=null&&t.form))return;const n=Hh(t.form,e);if(!n)return;const s=this.currentConv;s&&await this.store.send(s.id,n,{metadata:{artifact:Uh(t.form,e)}})},async onAttach(e){if(!(!e||!this.transport))try{const t=await this.transport.uploadAttachment(e);this.pendingAttachments.push({type:t.type||"file",path:t.path,name:e.name||"fichier",mime_type:e.type,size_bytes:e.size})}catch(t){console.error("[ww-messenger] attachment upload failed",t)}},async onQuickLink(e){if(e){if(e.url){try{window.open(e.url,"_blank","noopener")}catch{}return}await this.startConv(),this.currentConv&&await this.store.send(this.currentConv.id,e.label)}},async onFeedback({rating:e,comment:t}){if(this.currentConv){this.feedbackBusy=!0;try{await this.store.submitFeedback(this.currentConv.id,{rating:e,comment:t}),this.feedbackDone=!0}catch(n){console.error("[ww-messenger] feedback failed",n)}finally{this.feedbackBusy=!1}}}}},Yh={key:0,class:"wm-loading","aria-busy":"true","aria-live":"polite"},Jh={key:0,class:"wm-state"},Xh={class:"wm-state__err"},Qh={class:"wm-state__errSub"},Zh={class:"wm-bottom"},ep={key:0,ref:"floatEl",class:"wm-float"},tp={key:1,class:"wm-actionWait",role:"status","aria-live":"polite"},np={class:"wm-actionWait__lbl"},sp={key:1,class:"wm-attached"},rp=["onClick"];function ip(e,t,n,s,r,i){const o=me("Launcher"),l=me("Header"),a=me("Onboarding"),f=me("MessageList"),c=me("ApprovalCard"),g=me("FormCard"),S=me("Feedback"),k=me("SuggestionChips"),N=me("Composer"),O=me("MoreMenu"),J=me("HistoryDrawer");return m(),_("div",{class:ce(["wm-root",`wm-root--${n.displayMode}`])},[!r.isOpen&&!i.isEmbedded?(m(),pe(o,{key:0,"unread-count":i.unreadCount,peek:i.launcherPeek,onOpen:i.openFromPeek,onDismiss:t[0]||(t[0]=V=>r.labelDismissed=!0)},null,8,["unread-count","peek","onOpen"])):$("",!0),r.isOpen||i.isEmbedded?(m(),_("section",{key:1,class:ce(["wm-panel",`wm-panel--${n.displayMode}`]),style:Ne(r.floatHeight?{"--wm-float-h":r.floatHeight+"px"}:null),role:"dialog","aria-label":"Messenger"},[!i.ready&&!i.error?(m(),_("div",Yh,[i.isEmbedded?$("",!0):(m(),_("button",{key:0,type:"button",class:"wm-loading__close","aria-label":"Réduire",onClick:t[1]||(t[1]=(...V)=>i.close&&i.close(...V))},[...t[6]||(t[6]=[u("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])])),t[7]||(t[7]=u("div",{class:"wm-loading__spinner","aria-hidden":"true"},null,-1))])):(m(),_(Y,{key:1},[_e(l,{title:i.headerTitle,escalated:i.isEscalated,"agent-name":i.humanAgentName,"agent-avatar-url":i.humanAgentAvatarUrl,"team-members":i.teamMembers,"response-label":i.responseLabel,"show-identity":!!i.currentConv,"show-back":i.canBack,"show-close":!i.isEmbedded,"more-active":r.moreOpen,onBack:i.goHome,onMore:i.toggleMore,onClose:i.close},null,8,["title","escalated","agent-name","agent-avatar-url","team-members","response-label","show-identity","show-back","show-close","more-active","onBack","onMore","onClose"]),i.error?(m(),_("div",Jh,[u("div",Xh,[t[9]||(t[9]=u("div",{class:"wm-state__errIcon"},[u("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})])],-1)),u("div",null,[t[8]||(t[8]=u("div",{class:"wm-state__errTitle"},"Connexion impossible",-1)),u("div",Qh,P(i.error),1)])])])):i.currentConv?(m(),_(Y,{key:2},[_e(f,{ref:"messageList",messages:i.displayedMessages,"streaming-active":i.streamingActive,"date-label":i.dateLabel,"conversation-id":i.currentConv?i.currentConv.id:null,"loading-more":i.paginationState.loading,"has-more":i.paginationState.hasMore,"unread-anchor-ts":r.unreadAnchorTs,onLoadMore:i.onLoadMore},null,8,["messages","streaming-active","date-label","conversation-id","loading-more","has-more","unread-anchor-ts","onLoadMore"]),u("div",Zh,[i.floatVisible?(m(),_("div",ep,[i.approvalReady?(m(),pe(c,{key:0,action:i.approvalTitle,detail:i.approvalDetail,callbacks:i.pendingApproval.callbacks,onCallback:i.onApprovalCallback},null,8,["action","detail","callbacks","onCallback"])):i.pendingForm?(m(),pe(g,{key:i.pendingForm.message&&i.pendingForm.message.id,form:i.pendingForm.form,onSubmit:i.onFormSubmit},null,8,["form","onSubmit"])):i.showFeedback?(m(),pe(S,{key:2,busy:r.feedbackBusy,done:r.feedbackDone,onSubmit:i.onFeedback},null,8,["busy","done","onSubmit"])):(m(),pe(k,{key:3,items:i.suggestions,onSelect:i.onSuggestion},null,8,["items","onSelect"]))],512)):$("",!0),i.actionInFlight?(m(),_("div",tp,[t[10]||(t[10]=u("span",{class:"wm-actionWait__spinner","aria-hidden":"true"},null,-1)),u("span",np,P(i.actionInFlightName)+" en cours, veuillez patienter…",1)])):(m(),pe(N,{key:2,ref:"composer",modelValue:r.draft,"onUpdate:modelValue":t[2]||(t[2]=V=>r.draft=V),placeholder:i.composerPlaceholder,disabled:!!i.pendingApproval,"attach-label":"Joindre un fichier",onSend:i.onSend,onAttach:i.onAttach},null,8,["modelValue","placeholder","disabled","onSend","onAttach"]))]),r.moreOpen?(m(),pe(O,{key:0,"can-rename":!!i.currentConv,"can-clear":!!i.currentConv,"can-export":!!i.currentConv,"notif-enabled":r.notifEnabled,"status-url":i.statusUrl,"help-url":i.helpUrl,onClose:t[3]||(t[3]=V=>r.moreOpen=!1),onNotifToggle:i.onNotifToggle,onAction:i.onMoreAction},null,8,["can-rename","can-clear","can-export","notif-enabled","status-url","help-url","onNotifToggle","onAction"])):$("",!0),r.pendingAttachments.length?(m(),_("div",sp,[(m(!0),_(Y,null,Ce(r.pendingAttachments,(V,K)=>(m(),_("div",{key:K,class:"wm-attached__chip"},[t[12]||(t[12]=u("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48"})],-1)),u("span",null,P(V.name),1),u("button",{type:"button","aria-label":"Retirer",onClick:X=>r.pendingAttachments.splice(K,1)},[...t[11]||(t[11]=[u("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])],8,rp)]))),128))])):$("",!0)],64)):(m(),pe(a,{key:1,"welcome-message":i.widgetWelcomeMessage,"agent-name":i.agentName,"quick-links":i.quickLinks,"unread-threads":i.unreadThreads,busy:r.busy,onStart:i.startConv,onSelect:i.onQuickLink,onResume:i.onDrawerPick},null,8,["welcome-message","agent-name","quick-links","unread-threads","busy","onStart","onSelect","onResume"])),r.historyOpen?(m(),pe(J,{key:3,conversations:i.drawerConversations,"active-id":i.currentConv?i.currentConv.id:null,onClose:t[4]||(t[4]=V=>r.historyOpen=!1),onNew:i.onDrawerNew,onPick:i.onDrawerPick},null,8,["conversations","active-id","onNew","onPick"])):$("",!0),r.moreOpen&&!i.currentConv?(m(),pe(O,{key:4,"can-rename":!1,"can-clear":!1,"can-export":!1,"notif-enabled":r.notifEnabled,"status-url":i.statusUrl,"help-url":i.helpUrl,onClose:t[5]||(t[5]=V=>r.moreOpen=!1),onNotifToggle:i.onNotifToggle,onAction:i.onMoreAction},null,8,["notif-enabled","status-url","help-url","onNotifToggle","onAction"])):$("",!0)],64))],6)):$("",!0)],2)}const op=ve(Gh,[["render",ip],["__scopeId","data-v-8264e504"]]),lp="0.2.
|
|
76
|
+
`)],{type:"text/plain;charset=utf-8"});try{const c=URL.createObjectURL(s),g=document.createElement("a");g.href=c,g.download=`${(e.name||"conversation").replace(/[^a-z0-9-_]+/gi,"_")}.txt`,document.body.appendChild(g),g.click(),document.body.removeChild(g),setTimeout(()=>URL.revokeObjectURL(c),1e3)}catch(c){console.error("[ww-messenger] export failed",c)}},async onSend(e){const t=this.currentConv;if(!t&&(await this.startConv(),!this.currentConv))return;const n=(this.currentConv||t).id,s=this.pendingAttachments.slice();this.pendingAttachments=[],await this.store.send(n,e,{attachments:s.length?s:void 0})},async onSuggestion(e){const t=e==null?void 0:e.label;t&&await this.onSend(t)},async onLoadMore(){var t;const e=(t=this.currentConv)==null?void 0:t.id;!e||!this.store||await this.store.loadMore(e)},async onApprovalCallback(e){const t=this.pendingApproval;t&&await this.store.clickCallback(t.id,e)},async onFormSubmit({values:e}){const t=this.pendingForm;if(!(t!=null&&t.form))return;const n=Hh(t.form,e);if(!n)return;const s=this.currentConv;s&&await this.store.send(s.id,n,{metadata:{artifact:Uh(t.form,e)}})},async onAttach(e){if(!(!e||!this.transport))try{const t=await this.transport.uploadAttachment(e);this.pendingAttachments.push({type:t.type||"file",path:t.path,name:e.name||"fichier",mime_type:e.type,size_bytes:e.size})}catch(t){console.error("[ww-messenger] attachment upload failed",t)}},async onQuickLink(e){if(e){if(e.url){try{window.open(e.url,"_blank","noopener")}catch{}return}await this.startConv(),this.currentConv&&await this.store.send(this.currentConv.id,e.label)}},async onFeedback({rating:e,comment:t}){if(this.currentConv){this.feedbackBusy=!0;try{await this.store.submitFeedback(this.currentConv.id,{rating:e,comment:t}),this.feedbackDone=!0}catch(n){console.error("[ww-messenger] feedback failed",n)}finally{this.feedbackBusy=!1}}}}},Yh={key:0,class:"wm-loading","aria-busy":"true","aria-live":"polite"},Jh={key:0,class:"wm-state"},Xh={class:"wm-state__err"},Qh={class:"wm-state__errSub"},Zh={class:"wm-bottom"},ep={key:0,ref:"floatEl",class:"wm-float"},tp={key:1,class:"wm-actionWait",role:"status","aria-live":"polite"},np={class:"wm-actionWait__lbl"},sp={key:1,class:"wm-attached"},rp=["onClick"];function ip(e,t,n,s,r,i){const o=me("Launcher"),l=me("Header"),a=me("Onboarding"),f=me("MessageList"),c=me("ApprovalCard"),g=me("FormCard"),S=me("Feedback"),k=me("SuggestionChips"),N=me("Composer"),O=me("MoreMenu"),J=me("HistoryDrawer");return m(),_("div",{class:ce(["wm-root",`wm-root--${n.displayMode}`])},[!r.isOpen&&!i.isEmbedded?(m(),pe(o,{key:0,"unread-count":i.unreadCount,peek:i.launcherPeek,onOpen:i.openFromPeek,onDismiss:t[0]||(t[0]=V=>r.labelDismissed=!0)},null,8,["unread-count","peek","onOpen"])):$("",!0),r.isOpen||i.isEmbedded?(m(),_("section",{key:1,class:ce(["wm-panel",`wm-panel--${n.displayMode}`]),style:Ne(r.floatHeight?{"--wm-float-h":r.floatHeight+"px"}:null),role:"dialog","aria-label":"Messenger"},[!i.ready&&!i.error?(m(),_("div",Yh,[i.isEmbedded?$("",!0):(m(),_("button",{key:0,type:"button",class:"wm-loading__close","aria-label":"Réduire",onClick:t[1]||(t[1]=(...V)=>i.close&&i.close(...V))},[...t[6]||(t[6]=[u("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])])),t[7]||(t[7]=u("div",{class:"wm-loading__spinner","aria-hidden":"true"},null,-1))])):(m(),_(Y,{key:1},[_e(l,{title:i.headerTitle,escalated:i.isEscalated,"agent-name":i.humanAgentName,"agent-avatar-url":i.humanAgentAvatarUrl,"team-members":i.teamMembers,"response-label":i.responseLabel,"show-identity":!!i.currentConv,"show-back":i.canBack,"show-close":!i.isEmbedded,"more-active":r.moreOpen,onBack:i.goHome,onMore:i.toggleMore,onClose:i.close},null,8,["title","escalated","agent-name","agent-avatar-url","team-members","response-label","show-identity","show-back","show-close","more-active","onBack","onMore","onClose"]),i.error?(m(),_("div",Jh,[u("div",Xh,[t[9]||(t[9]=u("div",{class:"wm-state__errIcon"},[u("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})])],-1)),u("div",null,[t[8]||(t[8]=u("div",{class:"wm-state__errTitle"},"Connexion impossible",-1)),u("div",Qh,P(i.error),1)])])])):i.currentConv?(m(),_(Y,{key:2},[_e(f,{ref:"messageList",messages:i.displayedMessages,"streaming-active":i.streamingActive,"date-label":i.dateLabel,"conversation-id":i.currentConv?i.currentConv.id:null,"loading-more":i.paginationState.loading,"has-more":i.paginationState.hasMore,"unread-anchor-ts":r.unreadAnchorTs,onLoadMore:i.onLoadMore},null,8,["messages","streaming-active","date-label","conversation-id","loading-more","has-more","unread-anchor-ts","onLoadMore"]),u("div",Zh,[i.floatVisible?(m(),_("div",ep,[i.approvalReady?(m(),pe(c,{key:0,action:i.approvalTitle,detail:i.approvalDetail,callbacks:i.pendingApproval.callbacks,onCallback:i.onApprovalCallback},null,8,["action","detail","callbacks","onCallback"])):i.pendingForm?(m(),pe(g,{key:i.pendingForm.message&&i.pendingForm.message.id,form:i.pendingForm.form,onSubmit:i.onFormSubmit},null,8,["form","onSubmit"])):i.showFeedback?(m(),pe(S,{key:2,busy:r.feedbackBusy,done:r.feedbackDone,onSubmit:i.onFeedback},null,8,["busy","done","onSubmit"])):(m(),pe(k,{key:3,items:i.suggestions,onSelect:i.onSuggestion},null,8,["items","onSelect"]))],512)):$("",!0),i.actionInFlight?(m(),_("div",tp,[t[10]||(t[10]=u("span",{class:"wm-actionWait__spinner","aria-hidden":"true"},null,-1)),u("span",np,P(i.actionInFlightName)+" en cours, veuillez patienter…",1)])):(m(),pe(N,{key:2,ref:"composer",modelValue:r.draft,"onUpdate:modelValue":t[2]||(t[2]=V=>r.draft=V),placeholder:i.composerPlaceholder,disabled:!!i.pendingApproval,"attach-label":"Joindre un fichier",onSend:i.onSend,onAttach:i.onAttach},null,8,["modelValue","placeholder","disabled","onSend","onAttach"]))]),r.moreOpen?(m(),pe(O,{key:0,"can-rename":!!i.currentConv,"can-clear":!!i.currentConv,"can-export":!!i.currentConv,"notif-enabled":r.notifEnabled,"status-url":i.statusUrl,"help-url":i.helpUrl,onClose:t[3]||(t[3]=V=>r.moreOpen=!1),onNotifToggle:i.onNotifToggle,onAction:i.onMoreAction},null,8,["can-rename","can-clear","can-export","notif-enabled","status-url","help-url","onNotifToggle","onAction"])):$("",!0),r.pendingAttachments.length?(m(),_("div",sp,[(m(!0),_(Y,null,Ce(r.pendingAttachments,(V,K)=>(m(),_("div",{key:K,class:"wm-attached__chip"},[t[12]||(t[12]=u("svg",{width:"11",height:"11",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M21.44 11.05l-9.19 9.19a6 6 0 01-8.49-8.49l9.19-9.19a4 4 0 015.66 5.66l-9.2 9.19a2 2 0 01-2.83-2.83l8.49-8.48"})],-1)),u("span",null,P(V.name),1),u("button",{type:"button","aria-label":"Retirer",onClick:X=>r.pendingAttachments.splice(K,1)},[...t[11]||(t[11]=[u("svg",{width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","aria-hidden":"true"},[u("path",{d:"M18 6L6 18M6 6l12 12"})],-1)])],8,rp)]))),128))])):$("",!0)],64)):(m(),pe(a,{key:1,"welcome-message":i.widgetWelcomeMessage,"agent-name":i.agentName,"quick-links":i.quickLinks,"unread-threads":i.unreadThreads,busy:r.busy,onStart:i.startConv,onSelect:i.onQuickLink,onResume:i.onDrawerPick},null,8,["welcome-message","agent-name","quick-links","unread-threads","busy","onStart","onSelect","onResume"])),r.historyOpen?(m(),pe(J,{key:3,conversations:i.drawerConversations,"active-id":i.currentConv?i.currentConv.id:null,onClose:t[4]||(t[4]=V=>r.historyOpen=!1),onNew:i.onDrawerNew,onPick:i.onDrawerPick},null,8,["conversations","active-id","onNew","onPick"])):$("",!0),r.moreOpen&&!i.currentConv?(m(),pe(O,{key:4,"can-rename":!1,"can-clear":!1,"can-export":!1,"notif-enabled":r.notifEnabled,"status-url":i.statusUrl,"help-url":i.helpUrl,onClose:t[5]||(t[5]=V=>r.moreOpen=!1),onNotifToggle:i.onNotifToggle,onAction:i.onMoreAction},null,8,["notif-enabled","status-url","help-url","onNotifToggle","onAction"])):$("",!0)],64))],6)):$("",!0)],2)}const op=ve(Gh,[["render",ip],["__scopeId","data-v-8264e504"]]),lp="0.2.17";let vt=null,Tt=null,Us="";function ap(e){if(e instanceof Element)return e;if(typeof e=="string"){const n=document.querySelector(e);if(n)return n}const t=document.createElement("div");return t.setAttribute("data-messenger-root",""),document.body.appendChild(t),t}function cp(e){return{baseUrl:String(e.baseUrl||oo).trim(),widgetId:String(e.widgetId||"").trim(),userId:String(e.userId||"").trim(),userHash:String(e.userHash||"").trim(),displayMode:e.displayMode||"floating",devtools:!!e.devtools,target:e.target||null,customer:e.customer&&typeof e.customer=="object"?e.customer:null}}function up(e={}){const t=cp(e);if(!t.baseUrl||!t.widgetId||!t.userId||!t.userHash)return Vs(),null;const n=JSON.stringify({...t,target:typeof t.target=="string"?t.target:!!t.target});return vt&&n===Us||(Vs(),Tt=ap(t.target),vt=Qa(op,{baseUrl:t.baseUrl,widgetId:t.widgetId,userId:t.userId,userHash:t.userHash,displayMode:t.displayMode,devtools:t.devtools,customer:t.customer}),vt.mount(Tt),Us=n),vt}function Vs(){if(vt){try{vt.unmount()}catch{}vt=null}Tt&&Tt.hasAttribute&&Tt.hasAttribute("data-messenger-root")&&Tt.remove(),Tt=null,Us=""}return Ut.destroy=Vs,Ut.init=up,Ut.version=lp,Object.defineProperty(Ut,Symbol.toStringTag,{value:"Module"}),Ut}({});
|
package/dist/messenger.js
CHANGED
|
@@ -4739,7 +4739,7 @@ function Ui(t, e, n, a, r, s) {
|
|
|
4739
4739
|
], 6)) : y("", !0)
|
|
4740
4740
|
], 2);
|
|
4741
4741
|
}
|
|
4742
|
-
const Pi = /* @__PURE__ */ B(Mi, [["render", Ui], ["__scopeId", "data-v-8264e504"]]), Hi = "0.2.
|
|
4742
|
+
const Pi = /* @__PURE__ */ B(Mi, [["render", Ui], ["__scopeId", "data-v-8264e504"]]), Hi = "0.2.17";
|
|
4743
4743
|
export {
|
|
4744
4744
|
Z as AIAvatar,
|
|
4745
4745
|
ce as AVATAR_COLORS,
|
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.wm-launcherWrap[data-v-fabef371]{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.wm-peek[data-v-fabef371]{position:relative;max-width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px 14px 6px;padding:11px 30px 11px 13px;box-shadow:0 10px 30px #00000029;cursor:pointer;text-align:left;transition:transform .14s ease,box-shadow .14s ease}.wm-peek[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 14px 34px #0003}.wm-peek__text[data-v-fabef371]{margin:0;font-family:var(--wm-f);font-size:12.5px;line-height:1.42;color:var(--wm-g700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wm-peek__close[data-v-fabef371]{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;border:none;background:transparent;color:var(--wm-g400);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.wm-peek__close[data-v-fabef371]:hover{background:var(--wm-g100);color:var(--wm-g700)}.wm-peek-enter-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .26s cubic-bezier(.34,1.56,.64,1) both}.wm-peek-leave-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .16s ease reverse both}@keyframes wm-peekIn-fabef371{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-launcher[data-v-fabef371]{position:relative;width:50px;height:50px;border-radius:50%;border:none;background:var(--wm-g900);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #00000038;transition:transform .14s ease,box-shadow .14s ease}.wm-launcher[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 8px 22px #00000047}.wm-launcher[data-v-fabef371]:active{transform:translateY(0)}.wm-launcher__badge[data-v-fabef371]{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--wm-red, #B91C1C);color:#fff;border:2px solid var(--wm-w, #fff);font-family:var(--wm-f);font-size:10.5px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.wm-aiav[data-v-8c924688]{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.wm-aiav__inner[data-v-8c924688]{width:100%;height:100%;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.25);display:flex;align-items:center;justify-content:center;border-radius:var(--wm-avr)}.wm-aiav--tail .wm-aiav__inner[data-v-8c924688]{border-bottom-right-radius:4px}.wm-aiav__inner--glow[data-v-8c924688]{animation:wm-heroGlow 2.6s ease-in-out infinite}.wm-aiav__pulse[data-v-8c924688]{position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1.5px solid var(--wm-a);opacity:.5;pointer-events:none;border-radius:calc(var(--wm-avr) + 3px)}.wm-aiav--tail .wm-aiav__pulse[data-v-8c924688]{border-bottom-right-radius:7px}.wm-huav[data-v-a772b179]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-weight:700;line-height:1;border-radius:var(--wm-avr) var(--wm-avr) 4px var(--wm-avr)}.wm-huav img[data-v-a772b179]{width:100%;height:100%;object-fit:cover;display:block}.wm-team[data-v-3659b9c1]{display:inline-flex;align-items:center;gap:6px}.wm-team__stack[data-v-3659b9c1]{display:inline-block;position:relative;height:20px}.wm-team__pill[data-v-3659b9c1]{position:absolute;top:0;width:20px;height:20px;border-radius:6px;border:2px solid var(--wm-w);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-size:8px;font-weight:700;line-height:1}.wm-team__pill img[data-v-3659b9c1]{width:100%;height:100%;object-fit:cover;display:block}.wm-team__label[data-v-3659b9c1]{font-size:11px;color:var(--wm-g400);white-space:nowrap}.wm-header[data-v-b5f5f6a9]{background:var(--wm-w);border-bottom:1px solid var(--wm-g100);padding:12px 13px;display:flex;align-items:center;gap:9px;flex-shrink:0}.wm-header__icon[data-v-b5f5f6a9]{width:30px;height:30px;border-radius:8px;background:var(--wm-g100);border:none;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);cursor:pointer;flex-shrink:0;transition:background .14s ease}.wm-header__icon[data-v-b5f5f6a9]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-header__icon--active[data-v-b5f5f6a9]{background:var(--wm-g200);color:var(--wm-g700)}.wm-header__avatar[data-v-b5f5f6a9]{flex-shrink:0}.wm-header__fill[data-v-b5f5f6a9]{flex:1}.wm-header__main[data-v-b5f5f6a9]{flex:1;min-width:0}.wm-header__title[data-v-b5f5f6a9]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.wm-header__sub[data-v-b5f5f6a9]{margin-top:3px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wm-header__status[data-v-b5f5f6a9]{display:inline-flex;align-items:center;gap:5px;min-height:20px;font-size:11px;color:var(--wm-g400)}.wm-header__dot[data-v-b5f5f6a9]{width:5px;height:5px;border-radius:50%;background:var(--wm-green);flex-shrink:0}.wm-header__actions[data-v-b5f5f6a9]{display:flex;gap:4px;flex-shrink:0}.wm-onb[data-v-bd89bc8f]{flex:1;overflow-y:auto;background:var(--wm-w);padding:20px 14px 14px;display:flex;flex-direction:column;gap:18px}.wm-onb__hero[data-v-bd89bc8f]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 8px 6px;gap:14px}.wm-onb__title[data-v-bd89bc8f]{font-size:17px;font-weight:700;color:var(--wm-g900);letter-spacing:-.03em;line-height:1.2}.wm-onb__sub[data-v-bd89bc8f]{font-size:12.5px;color:var(--wm-g400);line-height:1.6;white-space:pre-line}.wm-onb__section-title[data-v-bd89bc8f]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.06em;margin-bottom:8px;text-transform:uppercase;padding-left:2px}.wm-onb__links[data-v-bd89bc8f]{display:flex;flex-direction:column;gap:5px}.wm-onb__link[data-v-bd89bc8f]{padding:10px 13px;border-radius:10px;text-align:left;background:var(--wm-w);border:1px solid var(--wm-g150);font-size:13px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;display:flex;align-items:center;gap:10px;box-shadow:var(--wm-sh1);transition:background .14s ease,border-color .14s ease}.wm-onb__link[data-v-bd89bc8f]:hover{background:var(--wm-g50);border-color:var(--wm-g200)}.wm-onb__link-icon[data-v-bd89bc8f]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-onb__link-label[data-v-bd89bc8f]{flex:1}.wm-onb__link-chev[data-v-bd89bc8f]{color:var(--wm-g300);flex-shrink:0}.wm-onb__resume-icon[data-v-bd89bc8f]{position:relative;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);color:#fff}.wm-onb__resume-dot[data-v-bd89bc8f]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-onb__resume-body[data-v-bd89bc8f]{flex:1;min-width:0;display:flex;flex-direction:column}.wm-onb__resume-title[data-v-bd89bc8f]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__resume-preview[data-v-bd89bc8f]{font-size:11.5px;font-weight:400;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__cta[data-v-bd89bc8f]{margin-top:auto;padding-top:8px}.wm-onb__startBtn[data-v-bd89bc8f]{width:100%;padding:11px 11px 11px 16px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease}.wm-onb__startBtn[data-v-bd89bc8f]:hover{background:var(--wm-g700)}.wm-onb__startBtn[data-v-bd89bc8f]:disabled{background:var(--wm-g200);cursor:default}.wm-result[data-v-7f90dad6]{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 14px);font-family:var(--wm-f);font-size:12px;font-weight:500;letter-spacing:-.005em;line-height:1.4;max-width:75%;min-width:0}.wm-result__icon[data-v-7f90dad6]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-result__label[data-v-7f90dad6]{font-weight:600;white-space:nowrap;flex-shrink:0}.wm-result__sep[data-v-7f90dad6]{opacity:.55;flex-shrink:0}.wm-result__detail[data-v-7f90dad6]{font-weight:400;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}.wm-result--success[data-v-7f90dad6]{background:#e3f4e7;color:#1f6e3a}.wm-result--rejected[data-v-7f90dad6]{background:var(--wm-g100);color:var(--wm-g500)}.wm-result--failure[data-v-7f90dad6]{background:var(--wm-redBg);color:var(--wm-red)}.wm-result--awaiting[data-v-7f90dad6]{background:#e0eafe;color:#2563eb}.wm-art[data-v-812bda8b]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-812bda8b]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-812bda8b]{min-width:0;flex:1}.wm-art__title[data-v-812bda8b]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-812bda8b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-812bda8b]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-812bda8b]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-812bda8b]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-812bda8b]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-812bda8b]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-812bda8b]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-812bda8b]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-812bda8b]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-812bda8b]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-812bda8b]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-812bda8b]{margin:0;padding:0}.wm-art__image img[data-v-812bda8b]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-d7369333]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-d7369333]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-d7369333]{min-width:0;flex:1}.wm-art__title[data-v-d7369333]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-d7369333]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-d7369333]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-d7369333]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-d7369333]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-d7369333]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-d7369333]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-d7369333]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-d7369333]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-d7369333]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-d7369333]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-d7369333]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-d7369333]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-d7369333]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-d7369333]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-d7369333]{margin:0;padding:0}.wm-art__image img[data-v-d7369333]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-d7369333]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-97001af0]{width:100%;max-width:85%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-97001af0]{min-width:0;flex:1}.wm-art__title[data-v-97001af0]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-97001af0]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-97001af0]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-97001af0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-97001af0]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-97001af0]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-97001af0]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-97001af0]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-97001af0]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-97001af0]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-97001af0]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-97001af0]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-97001af0]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-97001af0]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-97001af0]{margin:0;padding:0}.wm-art__image img[data-v-97001af0]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-97001af0]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art--ticket[data-v-97001af0]{min-width:240px}.wm-tk__head[data-v-97001af0]{display:block}.wm-tk__title[data-v-97001af0]{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}.wm-tk__sub[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.wm-tk__ref[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;min-width:0;font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm)}.wm-tk__ref svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-tk__badge[data-v-97001af0]{padding:3px 9px 3px 7px}.wm-tk__dot[data-v-97001af0]{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.wm-tk__text[data-v-97001af0]{font-size:12px;color:var(--wm-g500);line-height:1.55;white-space:pre-wrap;word-break:break-word;margin-top:9px}.wm-tk__prio[data-v-97001af0]{flex-shrink:0;margin-right:6px}.wm-tk__prio rect[data-v-97001af0]{fill:var(--wm-g200)}.wm-tk__prio[data-level="1"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(2),.wm-tk__prio[data-level="3"] rect[data-v-97001af0]{fill:var(--wm-g700)}.wm-tk__footer[data-v-97001af0]{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--wm-g400);padding:7px 13px 9px;border-top:1px solid var(--wm-g100);font-family:var(--wm-fm);background:var(--wm-g50)}.wm-tk__footer svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-att[data-v-1cd1267b]{display:block;max-width:268px}.wm-att__imgWrap[data-v-1cd1267b]{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--wm-g150);background:var(--wm-g50);line-height:0}.wm-att__imgWrap img[data-v-1cd1267b]{display:block;width:100%;max-height:220px;object-fit:cover}.wm-att--audio audio[data-v-1cd1267b],.wm-att--video video[data-v-1cd1267b]{width:100%;max-width:268px;border-radius:12px;background:var(--wm-g100)}.wm-att__file[data-v-1cd1267b]{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:12px;text-decoration:none;color:var(--wm-g900);transition:background .14s ease,border-color .14s ease;max-width:100%}.wm-att__file[data-v-1cd1267b]:hover{background:var(--wm-g100);border-color:var(--wm-g200)}.wm-att__icon[data-v-1cd1267b]{width:26px;height:26px;border-radius:7px;background:var(--wm-w);border:1px solid var(--wm-g150);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-att__main[data-v-1cd1267b]{display:flex;flex-direction:column;min-width:0}.wm-att__name[data-v-1cd1267b]{font-size:12px;font-weight:500;color:var(--wm-g900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.wm-att__meta[data-v-1cd1267b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-att__spin[data-v-1cd1267b]{width:12px;height:12px;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);border-radius:50%;animation:wm-spin-1cd1267b .8s linear infinite;flex-shrink:0}@keyframes wm-spin-1cd1267b{to{transform:rotate(360deg)}}.wm-bubble[data-v-5c9e9f2b]{max-width:100%;padding:9px 13px;font-size:13px;line-height:1.58;letter-spacing:-.008em;white-space:pre-wrap;word-break:break-word}.wm-bubble--user[data-v-5c9e9f2b]{background:var(--wm-g900);color:#fff}.wm-bubble--ai[data-v-5c9e9f2b],.wm-bubble--human[data-v-5c9e9f2b]{background:var(--wm-g100);color:var(--wm-g900)}.wm-bubble[data-v-5c9e9f2b] strong{font-weight:700}.wm-bubble[data-v-5c9e9f2b] em{font-style:italic}.wm-bubble[data-v-5c9e9f2b] u{text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] s{text-decoration:line-through;opacity:.75}.wm-bubble[data-v-5c9e9f2b] a{color:inherit;text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] a:hover{opacity:.8}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul,.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{margin:2px 0;padding-left:20px}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul{list-style:disc}.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{list-style:decimal}.wm-bubble[data-v-5c9e9f2b] li{margin:0;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-code{font-family:var(--wm-fm);font-size:12px;background:#0000000f;padding:1px 5px;border-radius:4px}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-code{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre{margin:4px 0;padding:8px 10px;background:#0000000f;border-radius:8px;overflow-x:auto;white-space:pre;font-family:var(--wm-fm);font-size:12px;line-height:1.45}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-pre{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre code{font-family:inherit;font-size:inherit;background:none;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-h{margin:4px 0 2px;font-weight:700;letter-spacing:-.01em;line-height:1.3}.wm-bubble[data-v-5c9e9f2b] .wm-md-h1{font-size:15px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h2{font-size:14px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h3,.wm-bubble[data-v-5c9e9f2b] .wm-md-h4,.wm-bubble[data-v-5c9e9f2b] .wm-md-h5,.wm-bubble[data-v-5c9e9f2b] .wm-md-h6{font-size:13px}.wm-bubble[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px)}.wm-bubble--user[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 4px) var(--wm-r-bl, 14px)}.wm-typing[data-v-df2447fd]{padding:11px 16px;background:var(--wm-g100);border-radius:4px 14px 14px;display:inline-flex;gap:5px;align-items:center}.wm-typing span[data-v-df2447fd]{width:5px;height:5px;border-radius:50%;background:var(--wm-g400);display:inline-block;animation:wm-typingDot 1.4s ease-in-out infinite}.wm-list[data-v-508689eb]{flex:1;min-height:0;overflow-y:auto;padding:16px 14px calc(8px + var(--wm-float-h, 0px));display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scroll-padding-bottom:var(--wm-float-h, 0px);overflow-anchor:none}.wm-list[data-v-508689eb]::-webkit-scrollbar{width:3px}.wm-list[data-v-508689eb]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-list__sep[data-v-508689eb]{display:flex;align-items:center;gap:8px;margin:-4px 0 4px}.wm-list__line[data-v-508689eb]{flex:1;height:1px;background:var(--wm-g100)}.wm-list__line--strong[data-v-508689eb]{background:var(--wm-g150)}.wm-list__line--unread[data-v-508689eb]{background:var(--wm-a);opacity:.55}.wm-list__sep--unread[data-v-508689eb]{margin:4px 0}.wm-list__sep-label--unread[data-v-508689eb]{color:var(--wm-a);font-weight:600}.wm-list__sep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.06em;white-space:nowrap}.wm-list__sysep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g400);font-family:var(--wm-fm);letter-spacing:.06em;text-align:center;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:220px}.wm-list__sysep[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0}.wm-list__group[data-v-508689eb]{display:flex;flex-direction:column;gap:3px}.wm-list__row[data-v-508689eb]{display:flex;align-items:flex-end;gap:5px}.wm-list__row--user[data-v-508689eb]{justify-content:flex-end}.wm-list__row.is-pending[data-v-508689eb]{opacity:.55}.wm-list__row.is-failed[data-v-508689eb] .wm-bubble{background:var(--wm-redBg)!important;color:var(--wm-red)!important}.wm-list__avatarSlot[data-v-508689eb]{width:26px;flex-shrink:0;align-self:flex-end}.wm-list__body[data-v-508689eb]{display:flex;flex-direction:column;gap:4px;max-width:75%}.wm-list__atts[data-v-508689eb]{display:flex;flex-direction:column;gap:4px}.wm-list__atts--align-end[data-v-508689eb]{align-items:flex-end}.wm-list__meta[data-v-508689eb]{display:flex;align-items:baseline;gap:5px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);margin-left:31px;margin-top:0}.wm-list__meta--right[data-v-508689eb]{margin-left:0;justify-content:flex-end}.fade-up[data-v-508689eb]{animation:wm-fadeUp .2s ease both}.wm-list--silent .fade-up[data-v-508689eb]{animation:none}.wm-list__loadMore[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 0 10px;font-size:11px;color:var(--wm-g400);font-family:var(--wm-fm);animation:wm-fadeIn-508689eb .18s ease both}.wm-list__loadMore-spinner[data-v-508689eb]{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--wm-g200);border-top-color:var(--wm-g400);animation:wm-spin-508689eb .8s linear infinite}.wm-list__historyEnd[data-v-508689eb]{text-align:center;padding:4px 0 8px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.04em}@keyframes wm-spin-508689eb{to{transform:rotate(360deg)}}@keyframes wm-fadeIn-508689eb{0%{opacity:0}to{opacity:1}}.wm-compose-wrap[data-v-14fa9ec0]{position:relative}.wm-rec[data-v-14fa9ec0]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-redBg);border-top:1px solid #f1c8c8;color:var(--wm-red);font-size:12px;font-weight:500}.wm-rec__dot[data-v-14fa9ec0]{width:8px;height:8px;border-radius:50%;background:var(--wm-red);box-shadow:0 0 #b91c1c73;animation:wm-recPulse-14fa9ec0 1.6s ease-out infinite;flex-shrink:0}.wm-rec__lbl[data-v-14fa9ec0]{flex:1;font-family:var(--wm-fm)}.wm-rec__stop[data-v-14fa9ec0]{border:1px solid var(--wm-red);background:transparent;color:var(--wm-red);border-radius:8px;padding:4px 10px;font-size:11.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease,color .14s ease}.wm-rec__stop[data-v-14fa9ec0]:hover{background:var(--wm-red);color:#fff}@keyframes wm-recPulse-14fa9ec0{0%{box-shadow:0 0 #b91c1c8c}to{box-shadow:0 0 0 8px #b91c1c00}}.wm-compose[data-v-14fa9ec0]{border-top:1px solid var(--wm-g100);background:var(--wm-w);padding:10px 11px;display:flex;flex-direction:row;align-items:stretch;gap:6px;flex-shrink:0;position:relative}.wm-compose__input[data-v-14fa9ec0]{flex:1;background:var(--wm-g50);border-radius:12px;padding:10px 14px;font-size:13.5px;line-height:1.4;color:var(--wm-g900);border:1px solid transparent;outline:none;font-family:var(--wm-f);caret-color:var(--wm-a);min-width:0;box-sizing:border-box;resize:none;min-height:78px;max-height:150px;overflow-y:auto;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.wm-compose__input[data-v-14fa9ec0]::placeholder{color:var(--wm-g300)}.wm-compose__input[data-v-14fa9ec0]:focus{background:var(--wm-w);border-color:var(--wm-g150);box-shadow:0 0 0 3px #00000008}.wm-compose__actions[data-v-14fa9ec0]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;flex-shrink:0}.wm-compose__icon[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]{width:28px;height:28px;border-radius:8px;border:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .14s ease,transform .14s ease}.wm-compose__icon[data-v-14fa9ec0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-compose__icon[data-v-14fa9ec0]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-compose__icon.is-open[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff;transform:rotate(45deg)}.wm-compose__icon[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__send[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff}.wm-compose__send[data-v-14fa9ec0]:hover{background:var(--wm-g700)}.wm-compose__send[data-v-14fa9ec0]:active{transform:scale(.94)}.wm-compose__send.is-empty[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]:disabled{background:var(--wm-g150);color:var(--wm-g300);cursor:default}.wm-compose__overlay[data-v-14fa9ec0]{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:9}.wm-compose__menu[data-v-14fa9ec0]{position:absolute;bottom:calc(100% + 6px);right:11px;min-width:200px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:12px;box-shadow:0 10px 32px #00000021,0 2px 6px #0000000d;padding:5px;display:flex;flex-direction:column;gap:1px;z-index:10;animation:wm-fadeUp .18s ease both}.wm-compose__menuItem[data-v-14fa9ec0]{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;border:none;background:transparent;text-align:left;color:var(--wm-g700);font-size:12.5px;font-family:var(--wm-f);cursor:pointer;transition:background .14s ease}.wm-compose__menuItem[data-v-14fa9ec0]:hover:not(:disabled){background:var(--wm-g50);color:var(--wm-g900)}.wm-compose__menuItem[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__menuIcon[data-v-14fa9ec0]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);color:var(--wm-g500);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-chips[data-v-55aa529d]{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-bottom:4px;pointer-events:none}.wm-chip[data-v-55aa529d]{pointer-events:auto;padding:7px 14px;border-radius:20px;background:var(--wm-w);border:1px solid var(--wm-g200);font-size:12px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;line-height:1;box-shadow:0 2px 10px #00000012;white-space:nowrap;transform-origin:bottom right;animation:wm-chipIn-55aa529d .28s cubic-bezier(.22,1,.36,1) both;transition:background .14s ease,transform .1s ease}.wm-chip[data-v-55aa529d]:hover{background:var(--wm-g50)}.wm-chip[data-v-55aa529d]:active{transform:scale(.97)}@keyframes wm-chipIn-55aa529d{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-approval[data-v-b1be139c]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-approval__head[data-v-b1be139c]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-approval__icon[data-v-b1be139c]{flex-shrink:0}.wm-approval__main[data-v-b1be139c]{flex:1;min-width:0}.wm-approval__title[data-v-b1be139c]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-approval__detail[data-v-b1be139c]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-approval__actions[data-v-b1be139c]{display:flex;gap:7px;padding:9px 14px 11px}.wm-approval__btn[data-v-b1be139c]{flex:1;padding:8px 8px 8px 13px;border-radius:9px;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:filter .14s ease}.wm-approval__btn[data-v-b1be139c]:hover{filter:brightness(.95)}.wm-approval__btn--neutral[data-v-b1be139c]{background:var(--wm-g100);color:var(--wm-g500)}.wm-approval__btn--primary[data-v-b1be139c]{background:var(--wm-g900);color:#fff}.wm-form[data-v-64b40f76]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-form__head[data-v-64b40f76]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-form__icon[data-v-64b40f76]{flex-shrink:0}.wm-form__main[data-v-64b40f76]{flex:1;min-width:0}.wm-form__title[data-v-64b40f76]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-form__detail[data-v-64b40f76]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-form__body[data-v-64b40f76]{display:flex;flex-direction:column;gap:10px;padding:11px 14px 12px;max-height:320px;overflow-y:auto;scrollbar-width:thin}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar{width:3px}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-form__field[data-v-64b40f76]{display:flex;flex-direction:column;gap:4px}.wm-form__label[data-v-64b40f76]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-form__req[data-v-64b40f76]{color:var(--wm-red);margin-left:2px}.wm-form__input[data-v-64b40f76],.wm-form__textarea[data-v-64b40f76],.wm-form__select[data-v-64b40f76]{font-family:var(--wm-f);font-size:12.5px;color:var(--wm-g900);background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:8px;padding:7px 9px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.wm-form__input[data-v-64b40f76]:focus,.wm-form__textarea[data-v-64b40f76]:focus,.wm-form__select[data-v-64b40f76]:focus{border-color:var(--wm-g500);box-shadow:0 0 0 3px #0000000a}.wm-form__input[data-v-64b40f76]:disabled,.wm-form__textarea[data-v-64b40f76]:disabled,.wm-form__select[data-v-64b40f76]:disabled{background:var(--wm-g50);color:var(--wm-g400)}.wm-form__textarea[data-v-64b40f76]{resize:vertical;min-height:56px}.wm-form__bool[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__multi[data-v-64b40f76]{display:flex;flex-direction:column;gap:5px}.wm-form__multiItem[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__err[data-v-64b40f76]{font-size:11px;color:var(--wm-red);padding:4px 8px;background:var(--wm-redBg);border-radius:6px}.wm-form__submit[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;border:none;background:var(--wm-g900);color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .14s ease}.wm-form__submit[data-v-64b40f76]:hover:not(:disabled){filter:brightness(.95)}.wm-form__submit[data-v-64b40f76]:disabled{opacity:.7;cursor:not-allowed}.wm-form__doneLbl[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;background:var(--wm-g100);color:var(--wm-g500);font-size:12px;text-align:center}.wm-form__spinner[data-v-64b40f76]{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:wm-spin .7s linear infinite}.wm-fb[data-v-6f45ff3b]{margin:4px 0 0;padding:16px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:var(--wm-sh1)}.wm-fb__title[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;margin-bottom:4px}.wm-fb__sub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);margin-bottom:14px}.wm-fb__row[data-v-6f45ff3b]{display:flex;gap:0;margin-bottom:14px}.wm-fb__opt[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;border:none;border-radius:10px;padding:7px 0;cursor:pointer;flex:1;min-width:0;transition:background .15s ease}.wm-fb__opt.is-selected[data-v-6f45ff3b]{background:var(--wm-g100)}.wm-fb__emoji[data-v-6f45ff3b]{font-size:22px;line-height:1}.wm-fb__label[data-v-6f45ff3b]{font-size:9.5px;color:var(--wm-g400);font-weight:400}.wm-fb__opt.is-selected .wm-fb__label[data-v-6f45ff3b]{color:var(--wm-g700);font-weight:600}.wm-fb__send[data-v-6f45ff3b]{width:100%;padding:9px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:12.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .2s ease}.wm-fb__send[data-v-6f45ff3b]:disabled{background:var(--wm-g200);color:var(--wm-g400);cursor:default}.wm-fb__done[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0}.wm-fb__check[data-v-6f45ff3b]{width:40px;height:40px;border-radius:12px;background:var(--wm-g900);display:inline-flex;align-items:center;justify-content:center}.wm-fb__doneTitle[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-fb__doneSub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);text-align:center;line-height:1.5}.wm-hd[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30}.wm-hd__scrim[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f0e1452;animation:wm-fadeUp .18s ease both}.wm-hd__panel[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;width:min(312px,100%);background:var(--wm-w);display:flex;flex-direction:column;box-shadow:-8px 0 32px #0000002e;animation:wm-drawerSlide-1259e822 .22s cubic-bezier(.32,.72,0,1) both}@keyframes wm-drawerSlide-1259e822{0%{transform:translate(100%)}to{transform:translate(0)}}.wm-hd__head[data-v-1259e822]{padding:14px 14px 10px;border-bottom:1px solid var(--wm-g100);display:flex;align-items:flex-start;gap:8px;flex-shrink:0}.wm-hd__heading[data-v-1259e822]{flex:1;min-width:0}.wm-hd__title[data-v-1259e822]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-hd__sub[data-v-1259e822]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-hd__close[data-v-1259e822]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0;transition:background .14s ease}.wm-hd__close[data-v-1259e822]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-hd__top[data-v-1259e822]{padding:10px 12px 6px;flex-shrink:0}.wm-hd__new[data-v-1259e822]{width:100%;padding:10px 12px 10px 16px;border-radius:10px;background:var(--wm-g900);border:none;display:flex;align-items:center;gap:9px;cursor:pointer;font-family:var(--wm-f);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:-.01em;transition:background .14s ease}.wm-hd__new[data-v-1259e822]:hover{background:var(--wm-g700)}.wm-hd__newIcon[data-v-1259e822]{width:22px;height:22px;border-radius:7px;background:#ffffff1f;display:inline-flex;align-items:center;justify-content:center;color:#fff}.wm-hd__search[data-v-1259e822]{position:relative;margin:10px 2px 2px}.wm-hd__searchIcon[data-v-1259e822]{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:var(--wm-g400);display:inline-flex}.wm-hd__search input[data-v-1259e822]{width:100%;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:9px;padding:7px 11px 7px 30px;font-size:12px;color:var(--wm-g700);font-family:var(--wm-f);outline:none}.wm-hd__search input[data-v-1259e822]:focus{border-color:var(--wm-g200);background:var(--wm-w)}.wm-hd__list[data-v-1259e822]{flex:1;overflow-y:auto;padding:8px 4px 16px}.wm-hd__group[data-v-1259e822]{margin-bottom:14px}.wm-hd__groupLabel[data-v-1259e822]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.07em;text-transform:uppercase;padding:0 12px 6px;font-family:var(--wm-fm)}.wm-hd__rows[data-v-1259e822]{display:flex;flex-direction:column;gap:2px}.wm-hd__row[data-v-1259e822]{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:transparent;border:none;text-align:left;cursor:pointer;width:100%;font-family:var(--wm-f);transition:background .14s ease}.wm-hd__row[data-v-1259e822]:hover{background:var(--wm-g50)}.wm-hd__row--active[data-v-1259e822]{background:var(--wm-g100)}.wm-hd__rowIcon[data-v-1259e822]{position:relative;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-hd__rowBody[data-v-1259e822]{flex:1;min-width:0}.wm-hd__rowTop[data-v-1259e822]{display:flex;align-items:center;gap:6px}.wm-hd__rowTitle[data-v-1259e822]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__rowDot[data-v-1259e822]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-hd__rowPreview[data-v-1259e822]{font-size:11.5px;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__row--unread .wm-hd__rowTitle[data-v-1259e822]{color:var(--wm-g900)}.wm-hd__row--unread .wm-hd__rowPreview[data-v-1259e822]{color:var(--wm-g700);font-weight:500}.wm-hd__empty[data-v-1259e822]{padding:28px 16px;text-align:center;font-size:12px;color:var(--wm-g400)}.wm-mm[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25}.wm-mm__scrim[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0}.wm-mm__pop[data-v-c1bb81d2]{position:absolute;top:56px;right:10px;width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 14px 40px #00000029,0 2px 8px #0000000f;overflow:hidden;animation:wm-fadeUp .18s ease both;font-family:var(--wm-f)}.wm-mm__section[data-v-c1bb81d2]{padding:6px 4px}.wm-mm__sep[data-v-c1bb81d2]{height:1px;background:var(--wm-g100)}.wm-mm__item[data-v-c1bb81d2]{width:100%;padding:9px 12px;display:flex;align-items:center;gap:10px;background:transparent;border:none;cursor:pointer;font-family:var(--wm-f);text-align:left;color:var(--wm-g700);transition:background .14s ease;border-radius:8px}.wm-mm__item[data-v-c1bb81d2]:hover{background:var(--wm-g50)}.wm-mm__icon[data-v-c1bb81d2]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--wm-g500)}.wm-mm__label[data-v-c1bb81d2]{flex:1;font-size:12.5px;font-weight:500;letter-spacing:-.01em}.wm-mm__hint[data-v-c1bb81d2]{font-size:10.5px;color:var(--wm-g300);font-family:var(--wm-fm)}.wm-mm__item--danger[data-v-c1bb81d2]{color:#b91c1c}.wm-mm__item--danger .wm-mm__icon[data-v-c1bb81d2]{background:#b91c1c14;color:#b91c1c}.wm-mm__toggle[data-v-c1bb81d2]{width:28px;height:16px;border-radius:999px;background:var(--wm-g200);position:relative;flex-shrink:0;transition:background .14s ease;display:inline-block}.wm-mm__toggle--on[data-v-c1bb81d2]{background:var(--wm-g900)}.wm-mm__knob[data-v-c1bb81d2]{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .14s ease;box-shadow:0 1px 3px #0000002e}.wm-mm__toggle--on .wm-mm__knob[data-v-c1bb81d2]{left:14px}.wm-root[data-v-8264e504]{font-family:var(--wm-f, ui-sans-serif, system-ui, sans-serif);color:var(--wm-g900, #17161A);line-height:1.45}.wm-root--floating[data-v-8264e504],.wm-root--sheet[data-v-8264e504]{position:fixed;right:20px;bottom:20px;z-index:2147483647}.wm-root--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;display:flex}.wm-panel[data-v-8264e504]{background:var(--wm-w);display:flex;flex-direction:column;overflow:hidden}.wm-panel--floating[data-v-8264e504]{position:absolute;right:0;bottom:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100vh - 80px);border-radius:16px;box-shadow:var(--wm-shPanel);animation:wm-widgetPop .25s cubic-bezier(.34,1.56,.64,1) both}.wm-panel--sheet[data-v-8264e504]{position:fixed;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);border-radius:18px;box-shadow:var(--wm-shPanel);animation:wm-sheetSlide .32s cubic-bezier(.22,1,.36,1) both}.wm-panel--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;border-radius:0;box-shadow:none}.wm-state[data-v-8264e504]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:14px;text-align:center}.wm-loading[data-v-8264e504]{flex:1;display:flex;align-items:center;justify-content:center;background:var(--wm-w, #fff);position:relative}.wm-loading__close[data-v-8264e504]{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:var(--wm-g500, #5A5753);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wm-loading__close[data-v-8264e504]:hover{background:var(--wm-g100, #F2F1EE);color:var(--wm-g900, #17161A)}.wm-loading__spinner[data-v-8264e504]{width:22px;height:22px;border-radius:50%;border:2px solid var(--wm-g150, #E8E6E2);border-top-color:var(--wm-g500, #5A5753);animation:wm-spin-8264e504 .7s linear infinite}@keyframes wm-spin-8264e504{to{transform:rotate(360deg)}}.wm-state__err[data-v-8264e504]{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--wm-redBg);border:1px solid #f8d7d7;border-radius:12px;max-width:320px;text-align:left}.wm-state__errIcon[data-v-8264e504]{width:28px;height:28px;border-radius:8px;background:var(--wm-red);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-state__errTitle[data-v-8264e504]{font-size:13px;font-weight:600;color:var(--wm-red)}.wm-state__errSub[data-v-8264e504]{font-size:11px;color:var(--wm-g500);margin-top:2px}.wm-bottom[data-v-8264e504]{position:relative;flex-shrink:0}.wm-float[data-v-8264e504]{position:absolute;left:0;right:0;bottom:100%;padding:0 12px 8px;pointer-events:none;z-index:5}.wm-float>.wm-approval[data-v-8264e504],.wm-float>.wm-fb[data-v-8264e504],.wm-float>.wm-form[data-v-8264e504]{pointer-events:auto}.wm-actionWait[data-v-8264e504]{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;min-height:98px;background:var(--wm-g50);border-top:1px solid var(--wm-g100);color:var(--wm-g500);font-size:12.5px;font-family:var(--wm-f);flex-shrink:0}.wm-actionWait__spinner[data-v-8264e504]{width:14px;height:14px;border-radius:50%;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);animation:wm-spin-8264e504 .7s linear infinite;flex-shrink:0}.wm-actionWait__lbl[data-v-8264e504]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-attached[data-v-8264e504]{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:var(--wm-w);border-top:1px solid var(--wm-g100)}.wm-attached__chip[data-v-8264e504]{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:var(--wm-g100);border:1px solid var(--wm-g150);font-size:11px;color:var(--wm-g700)}.wm-attached__chip button[data-v-8264e504]{border:none;background:transparent;color:var(--wm-g400);cursor:pointer;padding:0;display:inline-flex}.wm-attached__chip button[data-v-8264e504]:hover{color:var(--wm-g900)}
|
|
1
|
+
.wm-launcherWrap[data-v-fabef371]{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.wm-peek[data-v-fabef371]{position:relative;max-width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px 14px 6px;padding:11px 30px 11px 13px;box-shadow:0 10px 30px #00000029;cursor:pointer;text-align:left;transition:transform .14s ease,box-shadow .14s ease}.wm-peek[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 14px 34px #0003}.wm-peek__text[data-v-fabef371]{margin:0;font-family:var(--wm-f);font-size:12.5px;line-height:1.42;color:var(--wm-g700);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.wm-peek__close[data-v-fabef371]{position:absolute;top:6px;right:6px;width:20px;height:20px;border-radius:6px;border:none;background:transparent;color:var(--wm-g400);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .12s ease,color .12s ease}.wm-peek__close[data-v-fabef371]:hover{background:var(--wm-g100);color:var(--wm-g700)}.wm-peek-enter-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .26s cubic-bezier(.34,1.56,.64,1) both}.wm-peek-leave-active[data-v-fabef371]{animation:wm-peekIn-fabef371 .16s ease reverse both}@keyframes wm-peekIn-fabef371{0%{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-launcher[data-v-fabef371]{position:relative;width:50px;height:50px;border-radius:50%;border:none;background:var(--wm-g900);color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 4px 16px #00000038;transition:transform .14s ease,box-shadow .14s ease}.wm-launcher[data-v-fabef371]:hover{transform:translateY(-1px);box-shadow:0 8px 22px #00000047}.wm-launcher[data-v-fabef371]:active{transform:translateY(0)}.wm-launcher__badge[data-v-fabef371]{position:absolute;top:-3px;right:-3px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:var(--wm-red, #B91C1C);color:#fff;border:2px solid var(--wm-w, #fff);font-family:var(--wm-f);font-size:10.5px;font-weight:700;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}.wm-aiav[data-v-8c924688]{position:relative;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center}.wm-aiav__inner[data-v-8c924688]{width:100%;height:100%;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.25);display:flex;align-items:center;justify-content:center;border-radius:var(--wm-avr)}.wm-aiav--tail .wm-aiav__inner[data-v-8c924688]{border-bottom-right-radius:4px}.wm-aiav__inner--glow[data-v-8c924688]{animation:wm-heroGlow 2.6s ease-in-out infinite}.wm-aiav__pulse[data-v-8c924688]{position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:1.5px solid var(--wm-a);opacity:.5;pointer-events:none;border-radius:calc(var(--wm-avr) + 3px)}.wm-aiav--tail .wm-aiav__pulse[data-v-8c924688]{border-bottom-right-radius:7px}.wm-huav[data-v-a772b179]{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-weight:700;line-height:1;border-radius:var(--wm-avr) var(--wm-avr) 4px var(--wm-avr)}.wm-huav img[data-v-a772b179]{width:100%;height:100%;object-fit:cover;display:block}.wm-team[data-v-3659b9c1]{display:inline-flex;align-items:center;gap:6px}.wm-team__stack[data-v-3659b9c1]{display:inline-block;position:relative;height:20px}.wm-team__pill[data-v-3659b9c1]{position:absolute;top:0;width:20px;height:20px;border-radius:6px;border:2px solid var(--wm-w);display:inline-flex;align-items:center;justify-content:center;overflow:hidden;color:#fff;font-size:8px;font-weight:700;line-height:1}.wm-team__pill img[data-v-3659b9c1]{width:100%;height:100%;object-fit:cover;display:block}.wm-team__label[data-v-3659b9c1]{font-size:11px;color:var(--wm-g400);white-space:nowrap}.wm-header[data-v-b5f5f6a9]{background:var(--wm-w);border-bottom:1px solid var(--wm-g100);padding:12px 13px;display:flex;align-items:center;gap:9px;flex-shrink:0}.wm-header__icon[data-v-b5f5f6a9]{width:30px;height:30px;border-radius:8px;background:var(--wm-g100);border:none;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);cursor:pointer;flex-shrink:0;transition:background .14s ease}.wm-header__icon[data-v-b5f5f6a9]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-header__icon--active[data-v-b5f5f6a9]{background:var(--wm-g200);color:var(--wm-g700)}.wm-header__avatar[data-v-b5f5f6a9]{flex-shrink:0}.wm-header__fill[data-v-b5f5f6a9]{flex:1}.wm-header__main[data-v-b5f5f6a9]{flex:1;min-width:0}.wm-header__title[data-v-b5f5f6a9]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.wm-header__sub[data-v-b5f5f6a9]{margin-top:3px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.wm-header__status[data-v-b5f5f6a9]{display:inline-flex;align-items:center;gap:5px;min-height:20px;font-size:11px;color:var(--wm-g400)}.wm-header__dot[data-v-b5f5f6a9]{width:5px;height:5px;border-radius:50%;background:var(--wm-green);flex-shrink:0}.wm-header__actions[data-v-b5f5f6a9]{display:flex;gap:4px;flex-shrink:0}.wm-onb[data-v-bd89bc8f]{flex:1;overflow-y:auto;background:var(--wm-w);padding:20px 14px 14px;display:flex;flex-direction:column;gap:18px}.wm-onb__hero[data-v-bd89bc8f]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 8px 6px;gap:14px}.wm-onb__title[data-v-bd89bc8f]{font-size:17px;font-weight:700;color:var(--wm-g900);letter-spacing:-.03em;line-height:1.2}.wm-onb__sub[data-v-bd89bc8f]{font-size:12.5px;color:var(--wm-g400);line-height:1.6;white-space:pre-line}.wm-onb__section-title[data-v-bd89bc8f]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.06em;margin-bottom:8px;text-transform:uppercase;padding-left:2px}.wm-onb__links[data-v-bd89bc8f]{display:flex;flex-direction:column;gap:5px}.wm-onb__link[data-v-bd89bc8f]{padding:10px 13px;border-radius:10px;text-align:left;background:var(--wm-w);border:1px solid var(--wm-g150);font-size:13px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;display:flex;align-items:center;gap:10px;box-shadow:var(--wm-sh1);transition:background .14s ease,border-color .14s ease}.wm-onb__link[data-v-bd89bc8f]:hover{background:var(--wm-g50);border-color:var(--wm-g200)}.wm-onb__link-icon[data-v-bd89bc8f]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-onb__link-label[data-v-bd89bc8f]{flex:1}.wm-onb__link-chev[data-v-bd89bc8f]{color:var(--wm-g300);flex-shrink:0}.wm-onb__resume-icon[data-v-bd89bc8f]{position:relative;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);color:#fff}.wm-onb__resume-dot[data-v-bd89bc8f]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-onb__resume-body[data-v-bd89bc8f]{flex:1;min-width:0;display:flex;flex-direction:column}.wm-onb__resume-title[data-v-bd89bc8f]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__resume-preview[data-v-bd89bc8f]{font-size:11.5px;font-weight:400;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-onb__cta[data-v-bd89bc8f]{margin-top:auto;padding-top:8px}.wm-onb__startBtn[data-v-bd89bc8f]{width:100%;padding:11px 11px 11px 16px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:13px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease}.wm-onb__startBtn[data-v-bd89bc8f]:hover{background:var(--wm-g700)}.wm-onb__startBtn[data-v-bd89bc8f]:disabled{background:var(--wm-g200);cursor:default}.wm-result[data-v-7f90dad6]{display:inline-flex;align-items:center;gap:6px;padding:4px 10px 4px 8px;border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 14px);font-family:var(--wm-f);font-size:12px;font-weight:500;letter-spacing:-.005em;line-height:1.4;max-width:75%;min-width:0}.wm-result__icon[data-v-7f90dad6]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-result__label[data-v-7f90dad6]{font-weight:600;white-space:nowrap;flex-shrink:0}.wm-result__sep[data-v-7f90dad6]{opacity:.55;flex-shrink:0}.wm-result__detail[data-v-7f90dad6]{font-weight:400;opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex-shrink:1}.wm-result--success[data-v-7f90dad6]{background:#e3f4e7;color:#1f6e3a}.wm-result--rejected[data-v-7f90dad6]{background:var(--wm-g100);color:var(--wm-g500)}.wm-result--failure[data-v-7f90dad6]{background:var(--wm-redBg);color:var(--wm-red)}.wm-result--awaiting[data-v-7f90dad6]{background:#e0eafe;color:#2563eb}.wm-art[data-v-812bda8b]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-812bda8b]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-812bda8b]{min-width:0;flex:1}.wm-art__title[data-v-812bda8b]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-812bda8b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-812bda8b]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-812bda8b]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-812bda8b]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-812bda8b]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-812bda8b]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-812bda8b]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-812bda8b]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-812bda8b]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-812bda8b]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-812bda8b]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-812bda8b]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-812bda8b]{margin:0;padding:0}.wm-art__image img[data-v-812bda8b]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-812bda8b]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-d7369333]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-d7369333]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-d7369333]{min-width:0;flex:1}.wm-art__title[data-v-d7369333]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-d7369333]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-d7369333]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-d7369333]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-d7369333]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-d7369333]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-d7369333]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-d7369333]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-d7369333]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-d7369333]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-d7369333]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-d7369333]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-d7369333]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-d7369333]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-d7369333]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-d7369333]{margin:0;padding:0}.wm-art__image img[data-v-d7369333]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-d7369333]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art[data-v-97001af0]{width:100%;max-width:75%;min-width:0;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px);overflow:hidden;font-family:var(--wm-f);animation:wm-fadeUp .2s ease both;display:flex;flex-direction:column}.wm-art__head[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 13px 10px;border-bottom:1px solid var(--wm-g100)}.wm-art__headMain[data-v-97001af0]{min-width:0;flex:1}.wm-art__title[data-v-97001af0]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-art__subtitle[data-v-97001af0]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-art__reference[data-v-97001af0]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-art__badge[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;font-size:10px;font-weight:600;border-radius:999px;padding:2px 8px 2px 6px;letter-spacing:.02em}.wm-art__badge--neutral[data-v-97001af0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-art__badge--success[data-v-97001af0]{background:#e7f7ee;color:#1f8a4d}.wm-art__badge--warning[data-v-97001af0]{background:#fff4e0;color:#a35b00}.wm-art__badge--danger[data-v-97001af0]{background:var(--wm-redBg);color:var(--wm-red)}.wm-art__body[data-v-97001af0]{display:flex;flex-direction:column;gap:9px;padding:11px 13px 12px}.wm-art__text[data-v-97001af0]{font-size:12.5px;color:var(--wm-g700);line-height:1.45;white-space:pre-wrap;word-break:break-word}.wm-art__field[data-v-97001af0]{display:flex;flex-direction:column;gap:4px}.wm-art__fieldLabel[data-v-97001af0]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-art__fieldValue[data-v-97001af0]{font-size:12.5px;color:var(--wm-g900);background:var(--wm-g50);border:1px solid var(--wm-g100);border-radius:8px;padding:7px 9px;line-height:1.35;word-break:break-word;min-height:32px;display:flex;align-items:center}.wm-art__fieldValue--multi[data-v-97001af0]{display:block;white-space:pre-wrap;min-height:48px}.wm-art__divider[data-v-97001af0]{height:1px;background:var(--wm-g100)}.wm-art__image[data-v-97001af0]{margin:0;padding:0}.wm-art__image img[data-v-97001af0]{display:block;width:100%;height:auto;background:var(--wm-g100)}.wm-art__image figcaption[data-v-97001af0]{font-size:11px;color:var(--wm-g400);padding:6px 13px 10px}.wm-art--ticket[data-v-97001af0]{min-width:240px}.wm-tk__head[data-v-97001af0]{display:block}.wm-tk__title[data-v-97001af0]{white-space:normal;text-overflow:clip;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35}.wm-tk__sub[data-v-97001af0]{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}.wm-tk__ref[data-v-97001af0]{display:inline-flex;align-items:center;gap:4px;min-width:0;font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm)}.wm-tk__ref svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-tk__badge[data-v-97001af0]{padding:3px 9px 3px 7px}.wm-tk__dot[data-v-97001af0]{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.wm-tk__text[data-v-97001af0]{font-size:12px;color:var(--wm-g500);line-height:1.55;white-space:pre-wrap;word-break:break-word;margin-top:9px}.wm-tk__prio[data-v-97001af0]{flex-shrink:0;margin-right:6px}.wm-tk__prio rect[data-v-97001af0]{fill:var(--wm-g200)}.wm-tk__prio[data-level="1"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(1),.wm-tk__prio[data-level="2"] rect[data-v-97001af0]:nth-of-type(2),.wm-tk__prio[data-level="3"] rect[data-v-97001af0]{fill:var(--wm-g700)}.wm-tk__footer[data-v-97001af0]{display:flex;align-items:center;gap:5px;font-size:10.5px;color:var(--wm-g400);padding:7px 13px 9px;border-top:1px solid var(--wm-g100);font-family:var(--wm-fm);background:var(--wm-g50)}.wm-tk__footer svg[data-v-97001af0]{flex-shrink:0;opacity:.7}.wm-att[data-v-1cd1267b]{display:block;max-width:268px}.wm-att__imgWrap[data-v-1cd1267b]{display:block;border-radius:12px;overflow:hidden;border:1px solid var(--wm-g150);background:var(--wm-g50);line-height:0}.wm-att__imgWrap img[data-v-1cd1267b]{display:block;width:100%;max-height:220px;object-fit:cover}.wm-att--audio audio[data-v-1cd1267b],.wm-att--video video[data-v-1cd1267b]{width:100%;max-width:268px;border-radius:12px;background:var(--wm-g100)}.wm-att__file[data-v-1cd1267b]{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:12px;text-decoration:none;color:var(--wm-g900);transition:background .14s ease,border-color .14s ease;max-width:100%}.wm-att__file[data-v-1cd1267b]:hover{background:var(--wm-g100);border-color:var(--wm-g200)}.wm-att__icon[data-v-1cd1267b]{width:26px;height:26px;border-radius:7px;background:var(--wm-w);border:1px solid var(--wm-g150);display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0}.wm-att__main[data-v-1cd1267b]{display:flex;flex-direction:column;min-width:0}.wm-att__name[data-v-1cd1267b]{font-size:12px;font-weight:500;color:var(--wm-g900);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.wm-att__meta[data-v-1cd1267b]{font-size:10.5px;color:var(--wm-g400);font-family:var(--wm-fm);margin-top:1px}.wm-att__spin[data-v-1cd1267b]{width:12px;height:12px;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);border-radius:50%;animation:wm-spin-1cd1267b .8s linear infinite;flex-shrink:0}@keyframes wm-spin-1cd1267b{to{transform:rotate(360deg)}}.wm-bubble[data-v-5c9e9f2b]{max-width:100%;padding:9px 13px;font-size:13px;line-height:1.58;letter-spacing:-.008em;white-space:pre-wrap;word-break:break-word}.wm-bubble--user[data-v-5c9e9f2b]{background:var(--wm-g900);color:#fff}.wm-bubble--ai[data-v-5c9e9f2b],.wm-bubble--human[data-v-5c9e9f2b]{background:var(--wm-g100);color:var(--wm-g900)}.wm-bubble[data-v-5c9e9f2b] strong{font-weight:700}.wm-bubble[data-v-5c9e9f2b] em{font-style:italic}.wm-bubble[data-v-5c9e9f2b] u{text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] s{text-decoration:line-through;opacity:.75}.wm-bubble[data-v-5c9e9f2b] a{color:inherit;text-decoration:underline;text-underline-offset:2px}.wm-bubble[data-v-5c9e9f2b] a:hover{opacity:.8}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul,.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{margin:2px 0;padding-left:20px}.wm-bubble[data-v-5c9e9f2b] .wm-md-ul{list-style:disc}.wm-bubble[data-v-5c9e9f2b] .wm-md-ol{list-style:decimal}.wm-bubble[data-v-5c9e9f2b] li{margin:0;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-code{font-family:var(--wm-fm);font-size:12px;background:#0000000f;padding:1px 5px;border-radius:4px}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-code{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre{margin:4px 0;padding:8px 10px;background:#0000000f;border-radius:8px;overflow-x:auto;white-space:pre;font-family:var(--wm-fm);font-size:12px;line-height:1.45}.wm-bubble--user[data-v-5c9e9f2b] .wm-md-pre{background:#ffffff2e}.wm-bubble[data-v-5c9e9f2b] .wm-md-pre code{font-family:inherit;font-size:inherit;background:none;padding:0}.wm-bubble[data-v-5c9e9f2b] .wm-md-h{margin:4px 0 2px;font-weight:700;letter-spacing:-.01em;line-height:1.3}.wm-bubble[data-v-5c9e9f2b] .wm-md-h1{font-size:15px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h2{font-size:14px}.wm-bubble[data-v-5c9e9f2b] .wm-md-h3,.wm-bubble[data-v-5c9e9f2b] .wm-md-h4,.wm-bubble[data-v-5c9e9f2b] .wm-md-h5,.wm-bubble[data-v-5c9e9f2b] .wm-md-h6{font-size:13px}.wm-bubble[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 14px) var(--wm-r-bl, 4px)}.wm-bubble--user[data-v-5c9e9f2b]{border-radius:var(--wm-r-tl, 14px) var(--wm-r-tr, 14px) var(--wm-r-br, 4px) var(--wm-r-bl, 14px)}.wm-typing[data-v-df2447fd]{padding:11px 16px;background:var(--wm-g100);border-radius:4px 14px 14px;display:inline-flex;gap:5px;align-items:center}.wm-typing span[data-v-df2447fd]{width:5px;height:5px;border-radius:50%;background:var(--wm-g400);display:inline-block;animation:wm-typingDot 1.4s ease-in-out infinite}.wm-list[data-v-508689eb]{flex:1;min-height:0;overflow-y:auto;padding:16px 14px calc(8px + var(--wm-float-h, 0px));display:flex;flex-direction:column;gap:12px;scrollbar-width:thin;scroll-padding-bottom:var(--wm-float-h, 0px);overflow-anchor:none}.wm-list[data-v-508689eb]::-webkit-scrollbar{width:3px}.wm-list[data-v-508689eb]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-list__sep[data-v-508689eb]{display:flex;align-items:center;gap:8px;margin:-4px 0 4px}.wm-list__line[data-v-508689eb]{flex:1;height:1px;background:var(--wm-g100)}.wm-list__line--strong[data-v-508689eb]{background:var(--wm-g150)}.wm-list__line--unread[data-v-508689eb]{background:var(--wm-a);opacity:.55}.wm-list__sep--unread[data-v-508689eb]{margin:4px 0}.wm-list__sep-label--unread[data-v-508689eb]{color:var(--wm-a);font-weight:600}.wm-list__sep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.06em;white-space:nowrap}.wm-list__sysep-label[data-v-508689eb]{font-size:10px;color:var(--wm-g400);font-family:var(--wm-fm);letter-spacing:.06em;text-align:center;line-height:1.45;white-space:normal;overflow-wrap:anywhere;max-width:220px}.wm-list__sysep[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;margin:4px 0}.wm-list__group[data-v-508689eb]{display:flex;flex-direction:column;gap:3px}.wm-list__row[data-v-508689eb]{display:flex;align-items:flex-end;gap:5px}.wm-list__row--user[data-v-508689eb]{justify-content:flex-end}.wm-list__row.is-pending[data-v-508689eb]{opacity:.55}.wm-list__row.is-failed[data-v-508689eb] .wm-bubble{background:var(--wm-redBg)!important;color:var(--wm-red)!important}.wm-list__avatarSlot[data-v-508689eb]{width:26px;flex-shrink:0;align-self:flex-end}.wm-list__body[data-v-508689eb]{display:flex;flex-direction:column;gap:4px;max-width:75%}.wm-list__atts[data-v-508689eb]{display:flex;flex-direction:column;gap:4px}.wm-list__atts--align-end[data-v-508689eb]{align-items:flex-end}.wm-list__meta[data-v-508689eb]{display:flex;align-items:baseline;gap:5px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);margin-left:31px;margin-top:0}.wm-list__meta--right[data-v-508689eb]{margin-left:0;justify-content:flex-end}.fade-up[data-v-508689eb]{animation:wm-fadeUp .2s ease both}.wm-list--silent .fade-up[data-v-508689eb]{animation:none}.wm-list__loadMore[data-v-508689eb]{display:flex;align-items:center;justify-content:center;gap:8px;padding:6px 0 10px;font-size:11px;color:var(--wm-g400);font-family:var(--wm-fm);animation:wm-fadeIn-508689eb .18s ease both}.wm-list__loadMore-spinner[data-v-508689eb]{width:12px;height:12px;border-radius:50%;border:1.5px solid var(--wm-g200);border-top-color:var(--wm-g400);animation:wm-spin-508689eb .8s linear infinite}.wm-list__historyEnd[data-v-508689eb]{text-align:center;padding:4px 0 8px;font-size:10px;color:var(--wm-g300);font-family:var(--wm-fm);letter-spacing:.04em}@keyframes wm-spin-508689eb{to{transform:rotate(360deg)}}@keyframes wm-fadeIn-508689eb{0%{opacity:0}to{opacity:1}}.wm-compose-wrap[data-v-14fa9ec0]{position:relative}.wm-rec[data-v-14fa9ec0]{display:flex;align-items:center;gap:8px;padding:8px 12px;background:var(--wm-redBg);border-top:1px solid #f1c8c8;color:var(--wm-red);font-size:12px;font-weight:500}.wm-rec__dot[data-v-14fa9ec0]{width:8px;height:8px;border-radius:50%;background:var(--wm-red);box-shadow:0 0 #b91c1c73;animation:wm-recPulse-14fa9ec0 1.6s ease-out infinite;flex-shrink:0}.wm-rec__lbl[data-v-14fa9ec0]{flex:1;font-family:var(--wm-fm)}.wm-rec__stop[data-v-14fa9ec0]{border:1px solid var(--wm-red);background:transparent;color:var(--wm-red);border-radius:8px;padding:4px 10px;font-size:11.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .14s ease,color .14s ease}.wm-rec__stop[data-v-14fa9ec0]:hover{background:var(--wm-red);color:#fff}@keyframes wm-recPulse-14fa9ec0{0%{box-shadow:0 0 #b91c1c8c}to{box-shadow:0 0 0 8px #b91c1c00}}.wm-compose[data-v-14fa9ec0]{border-top:1px solid var(--wm-g100);background:var(--wm-w);padding:10px 11px;display:flex;flex-direction:row;align-items:stretch;gap:6px;flex-shrink:0;position:relative}.wm-compose__input[data-v-14fa9ec0]{flex:1;background:var(--wm-g50);border-radius:12px;padding:10px 14px;font-size:13.5px;line-height:1.4;color:var(--wm-g900);border:1px solid transparent;outline:none;font-family:var(--wm-f);caret-color:var(--wm-a);min-width:0;box-sizing:border-box;resize:none;min-height:78px;max-height:150px;overflow-y:auto;transition:border-color .14s ease,background .14s ease,box-shadow .14s ease}.wm-compose__input[data-v-14fa9ec0]::placeholder{color:var(--wm-g300)}.wm-compose__input[data-v-14fa9ec0]:focus{background:var(--wm-w);border-color:var(--wm-g150);box-shadow:0 0 0 3px #00000008}.wm-compose__actions[data-v-14fa9ec0]{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px;flex-shrink:0}.wm-compose__icon[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]{width:28px;height:28px;border-radius:8px;border:none;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:background .14s ease,transform .14s ease}.wm-compose__icon[data-v-14fa9ec0]{background:var(--wm-g100);color:var(--wm-g500)}.wm-compose__icon[data-v-14fa9ec0]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-compose__icon.is-open[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff;transform:rotate(45deg)}.wm-compose__icon[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__send[data-v-14fa9ec0]{background:var(--wm-g900);color:#fff}.wm-compose__send[data-v-14fa9ec0]:hover{background:var(--wm-g700)}.wm-compose__send[data-v-14fa9ec0]:active{transform:scale(.94)}.wm-compose__send.is-empty[data-v-14fa9ec0],.wm-compose__send[data-v-14fa9ec0]:disabled{background:var(--wm-g150);color:var(--wm-g300);cursor:default}.wm-compose__overlay[data-v-14fa9ec0]{position:fixed;top:0;right:0;bottom:0;left:0;background:transparent;z-index:9}.wm-compose__menu[data-v-14fa9ec0]{position:absolute;bottom:calc(100% + 6px);right:11px;min-width:200px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:12px;box-shadow:0 10px 32px #00000021,0 2px 6px #0000000d;padding:5px;display:flex;flex-direction:column;gap:1px;z-index:10;animation:wm-fadeUp .18s ease both}.wm-compose__menuItem[data-v-14fa9ec0]{display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;border:none;background:transparent;text-align:left;color:var(--wm-g700);font-size:12.5px;font-family:var(--wm-f);cursor:pointer;transition:background .14s ease}.wm-compose__menuItem[data-v-14fa9ec0]:hover:not(:disabled){background:var(--wm-g50);color:var(--wm-g900)}.wm-compose__menuItem[data-v-14fa9ec0]:disabled{opacity:.5;cursor:default}.wm-compose__menuIcon[data-v-14fa9ec0]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);color:var(--wm-g500);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-chips[data-v-55aa529d]{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding-bottom:4px;pointer-events:none}.wm-chip[data-v-55aa529d]{pointer-events:auto;padding:7px 14px;border-radius:20px;background:var(--wm-w);border:1px solid var(--wm-g200);font-size:12px;font-weight:500;color:var(--wm-g700);font-family:var(--wm-f);cursor:pointer;line-height:1;box-shadow:0 2px 10px #00000012;white-space:nowrap;transform-origin:bottom right;animation:wm-chipIn-55aa529d .28s cubic-bezier(.22,1,.36,1) both;transition:background .14s ease,transform .1s ease}.wm-chip[data-v-55aa529d]:hover{background:var(--wm-g50)}.wm-chip[data-v-55aa529d]:active{transform:scale(.97)}@keyframes wm-chipIn-55aa529d{0%{opacity:0;transform:translateY(6px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}.wm-approval[data-v-b1be139c]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-approval__head[data-v-b1be139c]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-approval__icon[data-v-b1be139c]{flex-shrink:0}.wm-approval__main[data-v-b1be139c]{flex:1;min-width:0}.wm-approval__title[data-v-b1be139c]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-approval__detail[data-v-b1be139c]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-approval__actions[data-v-b1be139c]{display:flex;gap:7px;padding:9px 14px 11px}.wm-approval__btn[data-v-b1be139c]{flex:1;padding:8px 8px 8px 13px;border-radius:9px;border:none;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:filter .14s ease}.wm-approval__btn[data-v-b1be139c]:hover{filter:brightness(.95)}.wm-approval__btn--neutral[data-v-b1be139c]{background:var(--wm-g100);color:var(--wm-g500)}.wm-approval__btn--primary[data-v-b1be139c]{background:var(--wm-g900);color:#fff}.wm-form[data-v-64b40f76]{background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 6px 28px #0000001c;overflow:hidden;animation:wm-fadeUp .2s ease both}.wm-form__head[data-v-64b40f76]{display:flex;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--wm-g100)}.wm-form__icon[data-v-64b40f76]{flex-shrink:0}.wm-form__main[data-v-64b40f76]{flex:1;min-width:0}.wm-form__title[data-v-64b40f76]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em}.wm-form__detail[data-v-64b40f76]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-form__body[data-v-64b40f76]{display:flex;flex-direction:column;gap:10px;padding:11px 14px 12px;max-height:320px;overflow-y:auto;scrollbar-width:thin}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar{width:3px}.wm-form__body[data-v-64b40f76]::-webkit-scrollbar-thumb{background:var(--wm-g200);border-radius:10px}.wm-form__field[data-v-64b40f76]{display:flex;flex-direction:column;gap:4px}.wm-form__label[data-v-64b40f76]{font-size:11px;font-weight:600;color:var(--wm-g700)}.wm-form__req[data-v-64b40f76]{color:var(--wm-red);margin-left:2px}.wm-form__input[data-v-64b40f76],.wm-form__textarea[data-v-64b40f76],.wm-form__select[data-v-64b40f76]{font-family:var(--wm-f);font-size:12.5px;color:var(--wm-g900);background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:8px;padding:7px 9px;outline:none;transition:border-color .12s ease,box-shadow .12s ease}.wm-form__input[data-v-64b40f76]:focus,.wm-form__textarea[data-v-64b40f76]:focus,.wm-form__select[data-v-64b40f76]:focus{border-color:var(--wm-g500);box-shadow:0 0 0 3px #0000000a}.wm-form__input[data-v-64b40f76]:disabled,.wm-form__textarea[data-v-64b40f76]:disabled,.wm-form__select[data-v-64b40f76]:disabled{background:var(--wm-g50);color:var(--wm-g400)}.wm-form__textarea[data-v-64b40f76]{resize:vertical;min-height:56px}.wm-form__bool[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__multi[data-v-64b40f76]{display:flex;flex-direction:column;gap:5px}.wm-form__multiItem[data-v-64b40f76]{display:inline-flex;align-items:center;gap:8px;font-size:12px;color:var(--wm-g700)}.wm-form__err[data-v-64b40f76]{font-size:11px;color:var(--wm-red);padding:4px 8px;background:var(--wm-redBg);border-radius:6px}.wm-form__submit[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;border:none;background:var(--wm-g900);color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:var(--wm-f);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:filter .14s ease}.wm-form__submit[data-v-64b40f76]:hover:not(:disabled){filter:brightness(.95)}.wm-form__submit[data-v-64b40f76]:disabled{opacity:.7;cursor:not-allowed}.wm-form__doneLbl[data-v-64b40f76]{margin-top:2px;padding:9px;border-radius:9px;background:var(--wm-g100);color:var(--wm-g500);font-size:12px;text-align:center}.wm-form__spinner[data-v-64b40f76]{width:12px;height:12px;border-radius:50%;border:2px solid rgba(255,255,255,.4);border-top-color:#fff;animation:wm-spin .7s linear infinite}.wm-fb[data-v-6f45ff3b]{margin:4px 0 0;padding:16px;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:var(--wm-sh1)}.wm-fb__title[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em;margin-bottom:4px}.wm-fb__sub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);margin-bottom:14px}.wm-fb__row[data-v-6f45ff3b]{display:flex;gap:0;margin-bottom:14px}.wm-fb__opt[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:4px;background:transparent;border:none;border-radius:10px;padding:7px 0;cursor:pointer;flex:1;min-width:0;transition:background .15s ease}.wm-fb__opt.is-selected[data-v-6f45ff3b]{background:var(--wm-g100)}.wm-fb__emoji[data-v-6f45ff3b]{font-size:22px;line-height:1}.wm-fb__label[data-v-6f45ff3b]{font-size:9.5px;color:var(--wm-g400);font-weight:400}.wm-fb__opt.is-selected .wm-fb__label[data-v-6f45ff3b]{color:var(--wm-g700);font-weight:600}.wm-fb__send[data-v-6f45ff3b]{width:100%;padding:9px;border-radius:10px;background:var(--wm-g900);color:#fff;border:none;font-size:12.5px;font-weight:600;cursor:pointer;font-family:var(--wm-f);transition:background .2s ease}.wm-fb__send[data-v-6f45ff3b]:disabled{background:var(--wm-g200);color:var(--wm-g400);cursor:default}.wm-fb__done[data-v-6f45ff3b]{display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 0}.wm-fb__check[data-v-6f45ff3b]{width:40px;height:40px;border-radius:12px;background:var(--wm-g900);display:inline-flex;align-items:center;justify-content:center}.wm-fb__doneTitle[data-v-6f45ff3b]{font-size:13px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-fb__doneSub[data-v-6f45ff3b]{font-size:11.5px;color:var(--wm-g400);text-align:center;line-height:1.5}.wm-hd[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30}.wm-hd__scrim[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f0e1452;animation:wm-fadeUp .18s ease both}.wm-hd__panel[data-v-1259e822]{position:absolute;top:0;right:0;bottom:0;width:min(312px,100%);background:var(--wm-w);display:flex;flex-direction:column;box-shadow:-8px 0 32px #0000002e;animation:wm-drawerSlide-1259e822 .22s cubic-bezier(.32,.72,0,1) both}@keyframes wm-drawerSlide-1259e822{0%{transform:translate(100%)}to{transform:translate(0)}}.wm-hd__head[data-v-1259e822]{padding:14px 14px 10px;border-bottom:1px solid var(--wm-g100);display:flex;align-items:flex-start;gap:8px;flex-shrink:0}.wm-hd__heading[data-v-1259e822]{flex:1;min-width:0}.wm-hd__title[data-v-1259e822]{font-size:13.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.02em}.wm-hd__sub[data-v-1259e822]{font-size:11px;color:var(--wm-g400);margin-top:1px}.wm-hd__close[data-v-1259e822]{width:28px;height:28px;border-radius:8px;background:var(--wm-g100);border:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;color:var(--wm-g500);flex-shrink:0;transition:background .14s ease}.wm-hd__close[data-v-1259e822]:hover{background:var(--wm-g150);color:var(--wm-g700)}.wm-hd__top[data-v-1259e822]{padding:10px 12px 6px;flex-shrink:0}.wm-hd__new[data-v-1259e822]{width:100%;padding:10px 12px 10px 16px;border-radius:10px;background:var(--wm-g900);border:none;display:flex;align-items:center;gap:9px;cursor:pointer;font-family:var(--wm-f);color:#fff;font-size:12.5px;font-weight:600;letter-spacing:-.01em;transition:background .14s ease}.wm-hd__new[data-v-1259e822]:hover{background:var(--wm-g700)}.wm-hd__newIcon[data-v-1259e822]{width:22px;height:22px;border-radius:7px;background:#ffffff1f;display:inline-flex;align-items:center;justify-content:center;color:#fff}.wm-hd__search[data-v-1259e822]{position:relative;margin:10px 2px 2px}.wm-hd__searchIcon[data-v-1259e822]{position:absolute;top:50%;left:10px;transform:translateY(-50%);color:var(--wm-g400);display:inline-flex}.wm-hd__search input[data-v-1259e822]{width:100%;background:var(--wm-g50);border:1px solid var(--wm-g150);border-radius:9px;padding:7px 11px 7px 30px;font-size:12px;color:var(--wm-g700);font-family:var(--wm-f);outline:none}.wm-hd__search input[data-v-1259e822]:focus{border-color:var(--wm-g200);background:var(--wm-w)}.wm-hd__list[data-v-1259e822]{flex:1;overflow-y:auto;padding:8px 4px 16px}.wm-hd__group[data-v-1259e822]{margin-bottom:14px}.wm-hd__groupLabel[data-v-1259e822]{font-size:10px;font-weight:600;color:var(--wm-g300);letter-spacing:.07em;text-transform:uppercase;padding:0 12px 6px;font-family:var(--wm-fm)}.wm-hd__rows[data-v-1259e822]{display:flex;flex-direction:column;gap:2px}.wm-hd__row[data-v-1259e822]{display:flex;gap:10px;align-items:center;padding:10px 12px;border-radius:10px;background:transparent;border:none;text-align:left;cursor:pointer;width:100%;font-family:var(--wm-f);transition:background .14s ease}.wm-hd__row[data-v-1259e822]:hover{background:var(--wm-g50)}.wm-hd__row--active[data-v-1259e822]{background:var(--wm-g100)}.wm-hd__rowIcon[data-v-1259e822]{position:relative;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#1a1825,#0f0e14);border:1px solid rgba(91,95,239,.18);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-hd__rowBody[data-v-1259e822]{flex:1;min-width:0}.wm-hd__rowTop[data-v-1259e822]{display:flex;align-items:center;gap:6px}.wm-hd__rowTitle[data-v-1259e822]{font-size:12.5px;font-weight:600;color:var(--wm-g900);letter-spacing:-.01em;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__rowDot[data-v-1259e822]{position:absolute;top:-3px;right:-3px;width:10px;height:10px;border-radius:50%;background:var(--wm-a);border:2px solid var(--wm-w);box-sizing:border-box}.wm-hd__rowPreview[data-v-1259e822]{font-size:11.5px;color:var(--wm-g400);margin-top:2px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.wm-hd__row--unread .wm-hd__rowTitle[data-v-1259e822]{color:var(--wm-g900)}.wm-hd__row--unread .wm-hd__rowPreview[data-v-1259e822]{color:var(--wm-g700);font-weight:500}.wm-hd__empty[data-v-1259e822]{padding:28px 16px;text-align:center;font-size:12px;color:var(--wm-g400)}.wm-mm[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0;z-index:25}.wm-mm__scrim[data-v-c1bb81d2]{position:absolute;top:0;right:0;bottom:0;left:0}.wm-mm__pop[data-v-c1bb81d2]{position:absolute;top:56px;right:10px;width:248px;background:var(--wm-w);border:1px solid var(--wm-g150);border-radius:14px;box-shadow:0 14px 40px #00000029,0 2px 8px #0000000f;overflow:hidden;animation:wm-fadeUp .18s ease both;font-family:var(--wm-f)}.wm-mm__section[data-v-c1bb81d2]{padding:6px 4px}.wm-mm__sep[data-v-c1bb81d2]{height:1px;background:var(--wm-g100)}.wm-mm__item[data-v-c1bb81d2]{width:100%;padding:9px 12px;display:flex;align-items:center;gap:10px;background:transparent;border:none;cursor:pointer;font-family:var(--wm-f);text-align:left;color:var(--wm-g700);transition:background .14s ease;border-radius:8px}.wm-mm__item[data-v-c1bb81d2]:hover{background:var(--wm-g50)}.wm-mm__icon[data-v-c1bb81d2]{width:24px;height:24px;border-radius:7px;background:var(--wm-g100);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--wm-g500)}.wm-mm__label[data-v-c1bb81d2]{flex:1;font-size:12.5px;font-weight:500;letter-spacing:-.01em}.wm-mm__hint[data-v-c1bb81d2]{font-size:10.5px;color:var(--wm-g300);font-family:var(--wm-fm)}.wm-mm__item--danger[data-v-c1bb81d2]{color:#b91c1c}.wm-mm__item--danger .wm-mm__icon[data-v-c1bb81d2]{background:#b91c1c14;color:#b91c1c}.wm-mm__toggle[data-v-c1bb81d2]{width:28px;height:16px;border-radius:999px;background:var(--wm-g200);position:relative;flex-shrink:0;transition:background .14s ease;display:inline-block}.wm-mm__toggle--on[data-v-c1bb81d2]{background:var(--wm-g900)}.wm-mm__knob[data-v-c1bb81d2]{position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff;transition:left .14s ease;box-shadow:0 1px 3px #0000002e}.wm-mm__toggle--on .wm-mm__knob[data-v-c1bb81d2]{left:14px}.wm-root[data-v-8264e504]{font-family:var(--wm-f, ui-sans-serif, system-ui, sans-serif);color:var(--wm-g900, #17161A);line-height:1.45}.wm-root--floating[data-v-8264e504],.wm-root--sheet[data-v-8264e504]{position:fixed;right:20px;bottom:20px;z-index:2147483647}.wm-root--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;display:flex}.wm-panel[data-v-8264e504]{background:var(--wm-w);display:flex;flex-direction:column;overflow:hidden}.wm-panel--floating[data-v-8264e504]{position:absolute;right:0;bottom:0;width:420px;max-width:calc(100vw - 32px);height:680px;max-height:calc(100vh - 80px);border-radius:16px;box-shadow:var(--wm-shPanel);animation:wm-widgetPop .25s cubic-bezier(.34,1.56,.64,1) both}.wm-panel--sheet[data-v-8264e504]{position:fixed;top:12px;right:12px;bottom:12px;width:440px;max-width:calc(100vw - 24px);border-radius:18px;box-shadow:var(--wm-shPanel);animation:wm-sheetSlide .32s cubic-bezier(.22,1,.36,1) both}.wm-panel--embedded[data-v-8264e504]{position:relative;width:100%;height:100%;border-radius:0;box-shadow:none}.wm-state[data-v-8264e504]{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 24px;gap:14px;text-align:center}.wm-loading[data-v-8264e504]{flex:1;display:flex;align-items:center;justify-content:center;background:var(--wm-w, #fff);position:relative}.wm-loading__close[data-v-8264e504]{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;border:none;background:transparent;color:var(--wm-g500, #5A5753);cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.wm-loading__close[data-v-8264e504]:hover{background:var(--wm-g100, #F2F1EE);color:var(--wm-g900, #17161A)}.wm-loading__spinner[data-v-8264e504]{width:22px;height:22px;border-radius:50%;border:2px solid var(--wm-g150, #E8E6E2);border-top-color:var(--wm-g500, #5A5753);animation:wm-spin-8264e504 .7s linear infinite}@keyframes wm-spin-8264e504{to{transform:rotate(360deg)}}.wm-state__err[data-v-8264e504]{display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--wm-redBg);border:1px solid #f8d7d7;border-radius:12px;max-width:320px;text-align:left}.wm-state__errIcon[data-v-8264e504]{width:28px;height:28px;border-radius:8px;background:var(--wm-red);color:#fff;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.wm-state__errTitle[data-v-8264e504]{font-size:13px;font-weight:600;color:var(--wm-red)}.wm-state__errSub[data-v-8264e504]{font-size:11px;color:var(--wm-g500);margin-top:2px}.wm-bottom[data-v-8264e504]{position:relative;flex-shrink:0}.wm-float[data-v-8264e504]{position:absolute;left:0;right:0;bottom:100%;padding:0 12px 8px;pointer-events:none;z-index:5}.wm-float>.wm-approval[data-v-8264e504],.wm-float>.wm-fb[data-v-8264e504],.wm-float>.wm-form[data-v-8264e504]{pointer-events:auto}.wm-actionWait[data-v-8264e504]{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 14px;min-height:98px;background:var(--wm-g50);border-top:1px solid var(--wm-g100);color:var(--wm-g500);font-size:12.5px;font-family:var(--wm-f);flex-shrink:0}.wm-actionWait__spinner[data-v-8264e504]{width:14px;height:14px;border-radius:50%;border:2px solid var(--wm-g200);border-top-color:var(--wm-g500);animation:wm-spin-8264e504 .7s linear infinite;flex-shrink:0}.wm-actionWait__lbl[data-v-8264e504]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.wm-attached[data-v-8264e504]{display:flex;flex-wrap:wrap;gap:6px;padding:0 12px 8px;background:var(--wm-w);border-top:1px solid var(--wm-g100)}.wm-attached__chip[data-v-8264e504]{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:var(--wm-g100);border:1px solid var(--wm-g150);font-size:11px;color:var(--wm-g700)}.wm-attached__chip button[data-v-8264e504]{border:none;background:transparent;color:var(--wm-g400);cursor:pointer;padding:0;display:inline-flex}.wm-attached__chip button[data-v-8264e504]:hover{color:var(--wm-g900)}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@_solaris/messenger-widget",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.17",
|
|
4
4
|
"description": "Embeddable chat messenger widget — Vue 3 library + standalone embed build. Wired to the messenger-server (HMAC + widgetId).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|