@rongcloud/im-kit 5.36.0

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.
@@ -0,0 +1,393 @@
1
+ var Qv=Object.defineProperty;var Yv=(Oe,j,f)=>j in Oe?Qv(Oe,j,{enumerable:!0,configurable:!0,writable:!0,value:f}):Oe[j]=f;var K=(Oe,j,f)=>(Yv(Oe,typeof j!="symbol"?j+"":j,f),f),yc=(Oe,j,f)=>{if(!j.has(Oe))throw TypeError("Cannot "+f)};var Cn=(Oe,j,f)=>(yc(Oe,j,"read from private field"),f?f.call(Oe):j.get(Oe)),Qi=(Oe,j,f)=>{if(j.has(Oe))throw TypeError("Cannot add the same private member more than once");j instanceof WeakSet?j.add(Oe):j.set(Oe,f)},Zr=(Oe,j,f,gi)=>(yc(Oe,j,"write to private field"),gi?gi.call(Oe,f):j.set(Oe,f),f);var q0=(Oe,j,f)=>(yc(Oe,j,"access private method"),f);(function(Oe,j){typeof exports=="object"&&typeof module<"u"?j(exports,require("@rongcloud/engine"),require("@rongcloud/imlib-next")):typeof define=="function"&&define.amd?define(["exports","@rongcloud/engine","@rongcloud/imlib-next"],j):(Oe=typeof globalThis<"u"?globalThis:Oe||self,j(Oe.RongIMKit={},Oe.RCEngine,Oe.RongIMLib))})(this,function(Oe,j,f){var jr,fi,hi,Kr,ma,Z0;"use strict";const gi=e=>{let t;if(typeof e=="object"&&e!==null)if(Array.isArray(e)){t=[];for(let s in e)t.push(gi(e[s]))}else{t={};for(let s in e)t[s]=gi(e[s])}else t=e;return t},W0=e=>{let t;try{t=gi(e)}catch{t=JSON.parse(JSON.stringify(e))}return t},Ca=e=>JSON.parse(JSON.stringify(e));function Sc(e){let t=!1;const s=()=>e instanceof HTMLElement?e:e.value||null,n=a=>{a.preventDefault(),a.stopPropagation()},i=a=>{["ArrowUp","ArrowDown","PageUp","PageDown","Home","End"," "].includes(a.key)&&(a.preventDefault(),a.stopPropagation())};return{disableScroll:()=>{if(t)return;t=!0;const a=s();a&&(a.addEventListener("wheel",n,{passive:!1}),a.addEventListener("touchmove",n,{passive:!1}),a.addEventListener("keydown",i,{passive:!1}))},enableScroll:()=>{if(!t)return;t=!1;const a=s();a&&(a.removeEventListener("wheel",n),a.removeEventListener("touchmove",n),a.removeEventListener("keydown",i))},get isScrollDisabled(){return t}}}function Vn(e){if(e==null)return"#000000";if(typeof e=="string"){const t=e.trim();return t.startsWith("#")?t.toLowerCase():`#${t.toLowerCase()}`}return`#${e.toString(16).padStart(6,"0")}`}const Q0=[f.ConversationType.PRIVATE,f.ConversationType.GROUP,f.ConversationType.SYSTEM],$n=e=>{if(!e)return!0;const{targetId:t,conversationType:s,channelId:n}=e;return!t||typeof t!="string"||Q0.indexOf(s)===-1||!!n&&typeof n!="string"},_t=(e,t)=>e.targetId===t.targetId&&e.conversationType===t.conversationType&&e.channelId===t.channelId,St=e=>`[${e.targetId}][${e.conversationType}][${e.channelId||""}]`,Tc=e=>e.conversationType===f.ConversationType.PRIVATE||e.conversationType===f.ConversationType.GROUP,Y0=function(e,t,s){const n=e<t,i=n?t/e:e/t;let r,o=0,a=0,l,c;const u=function(){return n?(r=e/100,l=100,c=t/r,a=(c-s.maxHeight)/2):(r=t/100,c=100,l=e/r,o=(l-s.maxWidth)/2),{w:l,h:c,x:-o,y:-a}},d=function(){return n?(r=t/s.maxHeight,c=s.maxHeight,l=e/r):(r=e/s.maxWidth,l=s.maxWidth,c=t/r),{w:l,h:c,x:-o,y:-a}};return i>s.scale?u():d()},Ic=e=>{const t=document.createElement("canvas"),s=t.getContext("2d"),n=160,i=160,r=2.4,o=Y0(e.width,e.height,{maxHeight:n,maxWidth:i,scale:r});t.width=Math.min(o.w,i),t.height=Math.min(o.h,n),s.drawImage(e,o.x,o.y,o.w,o.h);let a=t.toDataURL("image/png",.5);const l=/data:image\/[^;]+;base64,/;return a=a.replace(l,""),a},_i=e=>{e||(e=Date.now());const t=new Date(e),s=`${t.getFullYear()}`,n=`${t.getMonth()+1}`,i=`${t.getDate()}`,r=t.getDay();let o=`${t.getHours()}`;o.length<2&&(o=`0${o}`);let a=`${t.getMinutes()}`;return a.length<2&&(a=`0${a}`),{year:s,month:n,day:i,hour:o,minute:a,weekDay:r}},J0=e=>{const t=Math.floor(e/60),s=Math.floor(t/60),n=Math.floor(s/24);return e<60?`0:${e.toString().padStart(2,"0")}`:(e=Math.floor(e),`${n>0?`${n}d `:""}${s>0?`${(s%24).toString().padStart(2,"0").trim()}:`:""}${t>0?`${(t%60).toString().padStart(2,"0")}:`:""}${(e%60).toString().padStart(2,"0")}`.trim())},X0=e=>e<1024?e+" B":e<1024*1024?(e/1024).toFixed(2)+" KB":e<1024*1024*1024?(e/(1024*1024)).toFixed(2)+" MB":e<1024*1024*1024*1024?(e/(1024*1024*1024)).toFixed(2)+" GB":(e/(1024*1024*1024*1024)).toFixed(2)+" TB",ef=(e,t=40,s=8)=>{if(!e||e.length<=t)return e;const n=t-s-3;return n<=0?e:`${e.slice(0,n)}...${e.slice(-s)}`},tf=e=>new Promise(t=>{const s=document.createElement("video");let n=!1;const i=d=>{n||(n=!0,t(d))},r=()=>{s.pause(),s.src="",s.removeAttribute("src"),s.load()},o=URL.createObjectURL(e);let a=!1;const l=()=>{r(),URL.revokeObjectURL(o)},c=()=>{if(n)return;const{duration:d,videoHeight:h,videoWidth:p}=s;if(d>120){l(),i(null);return}if(!p||!h){l(),i(null);return}s.width=p,s.height=h;const _=Ic(s);l(),i(new f.SightMessage({name:e.name,size:e.size,duration:d,content:_,sightUrl:""}))},u=()=>{if(a)return;a=!0;const d=s;typeof d.requestVideoFrameCallback=="function"?d.requestVideoFrameCallback(()=>c()):requestAnimationFrame(()=>requestAnimationFrame(c))};s.onloadeddata=()=>{u()},s.onerror=()=>{l(),i(null)},s.playsInline=!0,s.muted=!0,s.preload="auto",s.src=o,s.play()}),sf=e=>new Promise(t=>{const s=new Image,n=URL.createObjectURL(e);s.onload=()=>t(new f.GIFMessage({gifDataSize:e.size,remoteUrl:n,width:s.width,height:s.height})),s.onerror=i=>{URL.revokeObjectURL(n),t(null)},s.src=n}),nf=e=>new Promise(t=>{const s=new Image,n=URL.createObjectURL(e);s.onload=()=>{const i=Ic(s);t(new f.ImageMessage({content:i,imageUri:n}))},s.onerror=()=>{t(null),URL.revokeObjectURL(n)},s.src=n}),wc=async e=>{let t=null;switch(e.type){case"video/mp4":t=await tf(e);break;case"image/gif":e.size<2*1024*1024&&(t=await sf(e));break;case"image/jpeg":case"image/jpg":case"image/png":e.size<100*1024*1024&&(t=await nf(e));break}return t||new f.FileMessage({name:e.name,size:e.size,type:e.type,fileUrl:""})},Rc=e=>e?/data:image\/[^;]+;base64,/.test(e)?e:`data:image/png;base64,${e}`:void 0,mi=e=>({...e,transactionId:NaN,progress:100,file:void 0}),rf=e=>{const t="(?:(?:25[0-5]|2[0-4]\\d|1\\d{2}|[1-9]\\d|\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d{2}|[1-9]\\d|\\d)",s="(?!@)(?:[a-z0-9-@_]{1,36}\\.)+[a-z]{2,6}",n="(?:\\:\\d{1,5})?",i="(?:localhost)",r="(?:(?:/[a-zA-Z0-9.,;?\\'+&%$#=~_\\-!()*\\|\\/]*)?)",o=new RegExp("(((https?)://(?:("+t+")|("+s+")|"+i+")"+n+r+"))","ig"),a=e.match(o),l=new RegExp("([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+.[a-zA-Z0-9_-]+)","ig"),c=e.match(l),u=[];if(a==null||a.forEach(_=>{u.push({type:"url",val:_,index:e.indexOf(_,0)})}),c==null||c.forEach(_=>{u.push({type:"mail",val:_,index:e.indexOf(_,0)})}),u.length<=0)return{type:0,content:[{content:e,type:"text"}],position:[]};const d=[];let h=0;const p=[];return u.sort((_,m)=>_.index-m.index),u.forEach(_=>{const m=e.indexOf(_.val,h);m>h&&d.push({content:e.substring(h,m),type:"text"}),d.push({content:_.val,type:_.type}),p.push(d.length),h=m+_.val.length}),h<e.length&&d.push({content:e.substring(h),type:"text"}),{type:1,content:d,position:p}};function yn(e,t){let s=e.length;for(let n=s-1;n>-1;n--)if(t(e[n]))return n;return-1}const ps=()=>typeof window<"u"&&window.innerWidth<=768;class ie{constructor(t,s){K(this,"_resolve",!1);K(this,"_promise");K(this,"_stopped",!1);K(this,"_defaultPrevented",!1);K(this,"data");this.type=t,this.data=s}isImmediatePropagationStopped(){return this._stopped}stopImmediatePropagation(){this._stopped=!0}isDefaultPrevented(){return this._defaultPrevented}preventDefault(){this._defaultPrevented=!0}sendResult(t){if(typeof this._resolve=="function"){this._resolve(t),this._resolve=!0;return}const s=this._resolve?"Cannot resubmit.":"There is no transaction waiting event result.";console.error(s,"event type:",this.type)}async awaitResult(){return this._promise||(this._promise=new Promise(t=>{this._resolve=t})),this._promise}clone(t){const s=new ie(this.type,W0(this.data));return s.sendResult=this.sendResult.bind(this),s}}var Sn=(e=>(e[e.CANCEL=0]="CANCEL",e[e.CONFIRM=1]="CONFIRM",e))(Sn||{});class Yi extends ie{constructor(t,s){super("CONNECTION_STATUS_CHANGE",{status:t,code:s})}}var Fn=(e=>(e.SINGLE="single",e.MERGE="merge",e))(Fn||{}),Y=(e=>(e.USER_PROFILES_UPDATE="USER_PROFILES_UPDATE",e.GROUP_PROFILES_UPDATE="GROUP_PROFILES_UPDATE",e.GROUP_MEMBERS_UPDATE="GROUP_MEMBERS_UPDATE",e.INIT_USER_CACHE="INIT_USER_CACHE",e.DESTROY_USER_CACHE="DESTROY_USER_CACHE",e.SYSTEM_PROFILES_UPDATE="SYSTEM_PROFILES_UPDATE",e.CONVERSATION_ITEM_CHANGE="CONVERSATION_ITEM_CHANGE",e.CONVERSATION_LIST_RESET="CONVERSATION_LIST_RESET",e.CONVERSATION_ITEM_ORDER_CHANGE="CONVERSATION_ITEM_ORDER_CHANGE",e.CONVERSATIN_ITEM_REMOVE="CONVERSATIN_ITEM_REMOVE",e.MESSAGE_STATE_CHANGE="MESSAGE_STATE_CHANGE",e.INSERT_NEW_MESSAGES="INSERT_NEW_MESSAGES",e.FILE_UPLOAD_PROGRESS="FILE_UPLOAD_PROGRESS",e.LANGUAGE_CHANGE="LANGUAGE_CHANGE",e.AUDIO_PLAY_EVENT="AUDIO_PLAY_EVENT",e.SET_TEXTAREA_VALUE_EVENT="SET_TEXTAREA_VALUE_EVENT",e.ADJUST_MESSAGE_LIST_SCROLL="ADJUST_MESSAGE_LIST_SCROLL",e.SPEECH_TO_TEXT_STATE_CHANGE="SPEECH_TO_TEXT_STATE_CHANGE",e.RECV_NEW_MESSAGES="RECV_NEW_MESSAGES",e.CONNECTION_STATUS_CHANGE="CONNECTION_STATUS_CHANGE",e.CONVERSATION_BAR_SWITCH_CHANGE="CONVERSATION_BAR_SWITCH_CHANGE",e.CONVERSATION_DETAIL_BACK_SWITCH_CHANGE="CONVERSATION_DETAIL_BACK_SWITCH_CHANGE",e.CONVERSATION_BAR_TITLE_CHANGE="CONVERSATION_BAR_TITLE_CHANGE",e.TOAST_EVENT="TOAST_EVENT",e))(Y||{}),ge=(e=>(e.CONFIRM_EVENT="CONFIRM_EVENT",e.ALERT_EVENT="ALERT_EVENT",e.DELETE_MESSAGE_MODAL_EVENT="DELETE_MESSAGE_MODAL_EVENT",e.MEDIA_MESSAGE_MODAL_EVENT="MEDIA_MESSAGE_MODAL_EVENT",e.COMBINE_MESSAGE_MODAL_EVENT="COMBINE_MESSAGE_MODAL_EVENT",e.FORWARDING_EVENT="FORWARDING_EVENT",e.TAKE_PHOTO_MODAL_EVENT="TAKE_PHOTO_MODAL_EVENT",e.UNSCHEDULED_MESSAGES="UNSCHEDULED_MESSAGES",e.CONVERSATION_EXTENSION_CLICK="CONVERSATION_EXTENSION_CLICK",e.BEFORE_SYSTEM_CONVERSATION_OPEN="BEFORE_SYSTEM_CONVERSATION_OPEN",e.CONVERSATION_MENU_ITEM_CLICK="CONVERSATION_MENU_ITEM_CLICK",e.INPUT_MENU_ITEM_CLICK="INPUT_MENU_ITEM_CLICK",e.CONVERSATION_SELECTED="CONVERSATION_SELECTED",e.CONVERSATION_ICON_CLICK="CONVERSATION_ICON_CLICK",e.CONVERSATION_NAVI_CLICK="CONVERSATION_NAVI_CLICK",e.MESSAGE_MENU_ITEM_CLICK="MESSAGE_MENU_ITEM_CLICK",e.MESSAGE_LINK_CLICK="MESSAGE_LINK_CLICK",e.DOWNLOAD_LINK_EVENT="DOWNLOAD_LINK_EVENT",e.FILE_SEND_FAILED_EVENT="FILE_SEND_FAILED_EVENT",e.MESSAGES_DELETED="MESSAGES_DELETED",e.TOAST_EVENT="TOAST_EVENT",e))(ge||{});class Mc{constructor(){K(this,"_listeners",new Map)}addEventListener(t,s,n){const i=this._listeners.get(t);i?i.push({target:n,listener:s}):this._listeners.set(t,[{target:n,listener:s}])}onceEventListener(t,s,n){const i=this._listeners.get(t);i?i.push({target:n,listener:s,once:!0}):this._listeners.set(t,[{target:n,listener:s,once:!0}])}removeEventListener(t,s,n){const i=this._listeners.get(t);if(i){const r=i.findIndex(o=>o.listener===s&&o.target===n);r!==-1&&i.splice(r,1)}}removeEventListeners(t){this._listeners.delete(t)}removeAllEventListeners(){this._listeners.clear()}dispatchEvent(t,s=!0){s?setTimeout(()=>this._handleDispatchEvent(t),0):this._handleDispatchEvent(t)}_handleDispatchEvent(t){const s=t,n=this._listeners.get(s.type);if(!(!n||n.length===0))for(const{target:i,once:r,listener:o}of n){if(s.isImmediatePropagationStopped())return;try{o.call(i,s)}catch(a){console.error(a)}r&&this.removeEventListener(s.type,o,i)}}}var xt=(e=>(e.SHOW_CONNECTION_STATUS="SHOW_CONNECTION_STATUS",e.SHOW_MESSAGE_STATE="SHOW_MESSAGE_STATE",e.FOCUS_ON_LATEST_MESSAGE="FOCUS_ON_LATEST_MESSAGE",e.AT_ALL="AT_ALL",e.SHOW_USER_ONLINE_STATE="SHOW_USER_ONLINE_STATE",e.PROMPT_SENDER_WHEN_QUOTE_MESSAGE="PROMPT_SENDER_WHEN_QUOTE_MESSAGE",e.DELETE_MESSAGES_WHILE_DELETE_CONVERSATION="DELETE_MESSAGES_WHILE_DELETE_CONVERSATION",e))(xt||{}),B=(e=>(e.D="L_DEBUG_O",e.A_INIT_O="A_INIT_O",e.A_SET_COMMAND_SWITCH_O="L_SET_COMMAND_SWITCH_O",e.A_REGISTER_CUSTOM_ELEMENT_O="A_REGISTER_CUSTOM_ELEMENT_O",e.L_REGISTER_DOM_ELEMENTS_O="L_REGISTER_DOM_ELEMENTS_O",e.A_REGISTER_MESSAGE_TYPE_O="A_REGISTER_MESSAGE_TYPE_O",e.A_SET_CUSTOM_SERVICE_O="A_SET_CUSTOM_SERVICE_O",e.A_SET_CUSTOM_LANGUAGE_PACK_O="A_SET_CUSTOM_LANGUAGE_PACK_O",e.A_CLONE_LANGUAGE_ENTRIES_O="A_CLONE_LANGUAGE_ENTRIES_O",e.A_REGISTER_LANGUAGE_PACK_O="A_REGISTER_LANGUAGE_PACK_O",e.A_SET_LANGUAGE_O="A_SET_LANGUAGE_O",e.A_READY_O="A_READY_O",e.L_REQ_USER_PROFILE_HOOK_T="L_REQ_USER_PROFILE_HOOK_T",e.L_REQ_USER_PROFILE_HOOK_R="L_REQ_USER_PROFILE_HOOK_R",e.L_REQ_USER_PROFILE_HOOK_E="L_REQ_USER_PROFILE_HOOK_E",e.L_GET_DEFAULT_USER_PROFILE_HOOK_E="L_GET_DEFAULT_USER_PROFILE_HOOK_E",e.L_GET_DEFAULT_USER_PROFILE_HOOK_O="L_GET_DEFAULT_USER_PROFILE_HOOK_O",e.A_UPDATE_USER_PROFILE_E="A_UPDATE_USER_PROFILE_E",e.A_UPDATE_USER_PROFILE_T="A_UPDATE_USER_PROFILE_T",e.A_UPDATE_USER_PROFILE_R="A_UPDATE_USER_PROFILE_R",e.A_UPDATE_USER_ONLINE_STATE_R="A_UPDATE_USER_ONLINE_STATE_R",e.A_UPDATE_USER_ONLINE_STATE_T="A_UPDATE_USER_ONLINE_STATE_T",e.L_GET_DEFAULT_GROUP_PROFILE_HOOK_O="L_GET_DEFAULT_GROUP_PROFILE_HOOK_O",e.L_GET_DEFAULT_GROUP_PROFILE_HOOK_E="L_GET_DEFAULT_GROUP_PROFILE_HOOK_E",e.L_REQ_GROUP_PROFILE_HOOK_T="L_REQ_GROUP_PROFILE_HOOK_T",e.L_REQ_GROUP_PROFILE_HOOK_E="L_REQ_GROUP_PROFILE_HOOK_E",e.L_REQ_GROUP_PROFILE_HOOK_R="L_REQ_GROUP_PROFILE_HOOK_R",e.A_UPDATE_GROUP_PROFILE_T="A_UPDATE_GROUP_PROFILE_T",e.A_UPDATE_GROUP_PROFILE_E="A_UPDATE_GROUP_PROFILE_E",e.A_UPDATE_GROUP_PROFILE_R="A_UPDATE_GROUP_PROFILE_R",e.L_REQ_GROUP_MEMBERS_HOOK_T="L_REQ_GROUP_MEMBERS_HOOK_T",e.L_REQ_GROUP_MEMBERS_HOOK_E="L_REQ_GROUP_MEMBERS_HOOK_E",e.L_REQ_GROUP_MEMBERS_HOOK_R="L_REQ_GROUP_MEMBERS_HOOK_R",e.A_UPDATE_GROUP_MEMBERS_T="A_UPDATE_GROUP_MEMBERS_T",e.A_UPDATE_GROUP_MEMBERS_E="A_UPDATE_GROUP_MEMBERS_E",e.A_UPDATE_GROUP_MEMBERS_R="A_UPDATE_GROUP_MEMBERS_R",e.A_ADD_GROUP_MEMBERS_T="A_ADD_GROUP_MEMBERS_T",e.A_ADD_GROUP_MEMBERS_E="A_ADD_GROUP_MEMBERS_E",e.A_ADD_GROUP_MEMBERS_R="A_ADD_GROUP_MEMBERS_R",e.A_REMOVE_GROUP_MEMBERS_T="A_REMOVE_GROUP_MEMBERS_T",e.A_REMOVE_GROUP_MEMBERS_E="A_REMOVE_GROUP_MEMBERS_E",e.A_REMOVE_GROUP_MEMBERS_R="A_REMOVE_GROUP_MEMBERS_R",e.L_REQ_USER_ONLINE_HOOK_T="L_REQ_USER_ONLINE_HOOK_T",e.L_REQ_USER_ONLINE_HOOK_E="L_REQ_USER_ONLINE_HOOK_E",e.L_REQ_USER_ONLINE_HOOK_R="L_REQ_USER_ONLINE_HOOK_R",e.L_REQ_SYSTEM_PROFILE_HOOK_T="L_REQ_SYSTEM_PROFILE_HOOK_T",e.L_REQ_SYSTEM_PROFILE_HOOK_E="L_REQ_SYSTEM_PROFILE_HOOK_E",e.L_REQ_SYSTEM_PROFILE_HOOK_R="L_REQ_SYSTEM_PROFILE_HOOK_R",e.L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_O="L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_O",e.L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_E="L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_E",e.L_GET_TAGS_FROM_LIB_E="L_GET_TAGS_FROM_LIB_E",e.A_ADD_UNVERIFIED_TAG_O="A_ADD_UNVERIFIED_TAG_O",e.A_ADD_UNVERIFIED_TAG_E="A_ADD_UNVERIFIED_TAG_E",e.A_ADD_TAG_E="A_ADD_TAG_E",e.A_UPDATE_TAG_E="A_UPDATE_TAG_E",e.A_REMOVE_TAG_E="A_REMOVE_TAG_E",e.A_SET_INPUT_MENU_E="A_SET_INPUT_MENU_E",e.A_SET_MESSAGE_BUBBLE_CFG_E="A_SET_MESSAGE_BUBBLE_CFG_E",e.A_SET_CONVERSATION_ITEM_CFG_E="A_SET_CONVERSATION_ITEM_CFG_E",e.A_UPDATE_USER_ONLINE_STATE_E="A_UPDATE_USER_ONLINE_STATE_E",e.A_OPEN_CONVERSATION_E="A_OPEN_CONVERSATION_E",e.A_REMOVE_CONVERSATION_E="A_REMOVE_CONVERSATION_E",e.A_SEND_MESSAGE_E="A_SEND_MESSAGE_E",e.A_INSERT_MESSAGE_E="A_INSERT_MESSAGE_E",e.A_SET_CONVERSATION_EXTENSION_E="A_SET_CONVERSATION_EXTENSION_E",e.L_PUSH_2_QUEUE_O="L_PUSH_2_QUEUE_O",e.L_TASK_QUEUE_EXECUTE_O="L_PICK_ITEM_FROM_QUEUE_O",e.L_SEND_MSG_T="L_SEND_MSG_T",e.L_SEND_MSG_R="L_SEND_MSG_R",e.L_UPLOAD_FILE_T="L_UPLOAD_FILE_T",e.L_UPLOAD_FILE_R="L_UPLOAD_FILE_R",e.L_UPLOAD_FILE_O="L_UPLOAD_FILE_O",e.A_SET_CHAT_EMOJI_LIBRARY_E="A_SET_CHAT_EMOJI_LIBRARY_E",e.L_GET_PUSH_CONFIG_HOOK_E="L_GET_PUSH_CONFIG_HOOK_E",e.L_SET_RECALL_DURATION_E="L_SET_RECALL_DURATION_E",e.L_SEND_READ_RECEIPT_MESSAGEV4_T="L_SEND_READ_RECEIPT_MESSAGEV4_T",e.L_SEND_READ_RECEIPT_MESSAGEV4_R="L_SEND_READ_RECEIPT_MESSAGEV4_R",e.L_PARSE_CONVERSATION_E="L_PARSE_CONVERSATION_E",e.L_GET_CONVERSATION_E="L_GET_CONVERSATION_E",e.L_V5_RECEIPT_RESPONSE_E="L_V5_RECEIPT_RESPONSE_E",e.L_HANDLE_READ_RECEIPT_V5_E="L_HANDLE_READ_RECEIPT_V5_E",e.L_GET_READ_RECEIPT_INFO_V5_E="L_GET_READ_RECEIPT_INFO_V5_E",e.L_V5_RECEIPT_RESPONSE_O="L_V5_RECEIPT_RESPONSE_O",e.L_SEND_V5_RECEIPT_T="L_SEND_V5_RECEIPT_T",e.L_SEND_V5_RECEIPT_R="L_SEND_V5_RECEIPT_R",e.L_SEND_V5_RECEIPT_O="L_SEND_V5_RECEIPT_O",e.L_SEND_V5_RECEIPT_E="L_SEND_V5_RECEIPT_E",e.L_STT_REQUEST_T="L_STT_REQUEST_T",e.L_STT_REQUEST_R="L_STT_REQUEST_R",e.L_STT_REQUEST_E="L_STT_REQUEST_E",e.L_STT_RESPONSE_O="L_STT_RESPONSE_O",e.L_STT_RESPONSE_R="L_STT_RESPONSE_R",e.L_STT_RESPONSE_E="L_STT_RESPONSE_E",e))(B||{});class of{constructor(t){K(this,"_commands",new Map);K(this,"_conversationBarTitle");K(this,"_conversationBarSwitch",!0);K(this,"_conversationDetailBackSwitch",!0);K(this,"_extensions",[]);K(this,"_pushConfigHook");this.logger=t,this._init()}_init(){this._commands.set(xt.SHOW_CONNECTION_STATUS,!0),this._commands.set(xt.SHOW_MESSAGE_STATE,!1),this._commands.set(xt.FOCUS_ON_LATEST_MESSAGE,!0),this._commands.set(xt.AT_ALL,!1),this._commands.set(xt.SHOW_USER_ONLINE_STATE,!1),this._commands.set(xt.PROMPT_SENDER_WHEN_QUOTE_MESSAGE,!1),this._commands.set(xt.DELETE_MESSAGES_WHILE_DELETE_CONVERSATION,!0)}setCommandSwitch(t,s){this.logger.info(B.A_SET_COMMAND_SWITCH_O,`command: ${t}, enable: ${!!s}`),this._commands.set(t,!!s)}getCommandSwitch(t){return!!this._commands.get(t)}setConversationBarTitle(t){this._conversationBarSwitch&&(this._conversationBarTitle=t)}setConversationBarSwitch(t){this._conversationBarSwitch=t}setConversationDetailBackSwitch(t){this._conversationDetailBackSwitch=t}getConversationBarSwitch(){return this._conversationBarSwitch}getConversationDetailBackSwitch(){return this._conversationDetailBackSwitch}getConversationBarTitle(){return this._conversationBarTitle}getConversationExtension(){return this._extensions}setConversationExtension(t){this._extensions.splice(0,this._extensions.length,...t)}setPushConfigHook(t){this._pushConfigHook=t}getPushConfig(t){if(!this._pushConfigHook)return;let s;try{s=this._pushConfigHook({...t})}catch(n){this.logger.error(B.L_GET_PUSH_CONFIG_HOOK_E,JSON.stringify({messageType:t.messageType,error:n==null?void 0:n.message})),console.error(n)}return s}destroy(){this._commands.clear()}}let ya;const af=e=>(ya||(ya={set:(t,s)=>{e.localStorage.setItem(t,JSON.stringify(s))},get:t=>{let s;try{s=JSON.parse(e.localStorage.getItem(t))}catch{s=null}return s},remove:t=>e.localStorage.removeItem(t),getKeys:()=>{const t=[];for(const s in e.localStorage)t.push(s);return t}}),ya);class lf{constructor(t){K(this,"_caches",{});t&&(this._caches=t)}set(t,s){this._caches[t]=s}remove(t){const s=this.get(t);return delete this._caches[t],s}get(t){return this._caches[t]}getKeys(){const t=[];for(const s in this._caches)t.push(s);return t}}class cf{constructor(t,s){K(this,"_cache");K(this,"_storageKey");K(this,"_rootStorage");this._rootStorage=af(t);const n=this._rootStorage.get(s)||{};this._cache=new lf({[s]:n}),this._storageKey=s}_get(){const t=this._storageKey;return this._cache.get(t)||{}}_set(t){const s=this._storageKey;t=t||{},this._cache.set(s,t),this._rootStorage.set(s,t)}set(t,s){const n=this._get();n[t]=s,this._set(n)}remove(t){const s=this._get();delete s[t],this._set(s)}clear(){const t=this._storageKey;this._rootStorage.remove(t),this._cache.remove(t)}get(t){return this._get()[t]}getKeys(){const t=this._get(),s=[];for(const n in t)s.push(n);return s}getValues(){return this._get()||{}}}const uf=(e,t)=>`im-kit-${e}-${t}`,Ji={lrt:{keyName:"lastReadTime",defaultVal:0},srrt:{keyName:"sendReadReceiptTime",defaultVal:0}},Oc={};for(const e in Ji){const{keyName:t}=Ji[e];Oc[t]=e}class df{constructor(t,s,n,i){K(this,"_localStore");this.logger=i,this._localStore=new cf(t,uf(s,n))}_getStoreKey(t,s,n){return`${n}_${t}_${s}`}get(t,s,n=""){const i=this._getStoreKey(t,s,n),r=this._localStore.get(i)||{},o={};for(const a in Ji){const{keyName:l,defaultVal:c}=Ji[a];o[l]=r[a]||Ca(c)}return o}set(t,s,n,i){const r=this._getStoreKey(t,s,i),o=this._localStore.get(r)||{};for(const a in n){const l=Oc[a],c=n[a];if(j.isUndefined(l)||j.isUndefined(c))continue;const{defaultVal:u}=Ji[l];c===u?delete o[l]:o[l]=c}if(j.notEmptyObject(o)){this._localStore.set(r,o);return}this._localStore.remove(r)}remove(t,s,n){const i=this._getStoreKey(t,s,n);this._localStore.remove(i)}}class Ss{constructor(t){K(this,"logger");K(this,"store");this.ctx=t,this.logger=t.logger,this.store=t.store,this.ctx.addEventListener(Y.DESTROY_USER_CACHE,this._onDestroyUserCache,this),this.ctx.addEventListener(Y.INIT_USER_CACHE,this._onInitUserCache,this),this._onInit()}_onInit(){}}class Sa{constructor(t,s,n){K(this,"_cache",new Map);K(this,"logger");K(this,"store");K(this,"_requesting",new Map);K(this,"_waitingList",new Set);K(this,"_waitingPromise");this._ctx=t,this._hook=s,this._defaultHook=n,this.logger=t.logger,this.store=t.store}async _push2Waiting(t){this._waitingPromise?t.forEach(s=>this._waitingList.add(s)):(this._waitingList=new Set(t),this._waitingPromise=new Promise(s=>{setTimeout(()=>{const n=[...this._waitingList];this._waitingList.clear(),this._request(n),this._waitingPromise=void 0,s()},200)})),await this._waitingPromise,await Promise.all(t.map(s=>this._requesting.get(s)))}async _request(t){const s=this.logger.createTraceId();let n;try{this.logger.info(this.ReqStartTag,t.join(","),s),n=this._hook(t),t.forEach(a=>{this._requesting.set(a,n)})}catch(a){this.logger.error(this.ReqFailedTag,a.message,s);return}const i=await n;if(!(i instanceof Array)){this.logger.error(this.ReqFailedTag,"result must be a Array",s);return}const r=[],o=i.filter((a,l)=>{const c=!this._isInvalid(a);if(!c)this.logger.warn(this.ReqFailedTag,`invalid value in position ${l}`,s),console.error(`invalid value in position ${l}: `,a);else{const{cached:u,changed:d}=this._checkAndUpdateCacheData(a);d&&r.push(u)}return c});r.length>0&&this._dispatchUpdateEvent(r),this.logger.info(this.ReqSuccessTag,`valid value length: ${o.length}`,s)}async reqData(t,s=!1){if(t.length===0)return[];const n=s?t.slice():t.filter(o=>{const a=this._cache.get(o);return!a||a.usingDefault});if(n.length===0)return this.getCache(t,!0);const i=[],r=[];return n.forEach(o=>{const a=this._requesting.get(o);a?i.includes(a)||i.push(a):r.push(o)}),r.length>0&&i.push(this._push2Waiting(r)),i.length>0&&await Promise.all(i),this.getCache(t,!0)}getCache(t,s){if(t.length===0)return[];const n=[],i=t.map(r=>{const o=this._cache.get(r);if(o)return o.usingDefault&&n.push(r),o;n.push(r);const a=this._getDefaultCache(r);return this._cache.set(r,a),a});return!s&&n.length>0&&this.reqData(n,!0),i}_getDefaultCache(t){let s;if(this._defaultHook){this.logger.info(this.GetDefaultTag,`id: ${t}`);try{s=this._defaultHook(t)}catch(i){this.logger.error(this.GetDefaultErrorTag,i.message)}s&&this._isInvalid(s)&&(this.logger.error(this.GetDefaultErrorTag,`id: ${t}`),s=void 0)}return this._createDefaultCache(t,s)}clear(){this._cache.clear()}}const ff=`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="16" cy="16" r="16" fill="#C4B7FF"/>
3
+ <path d="M22.9954 13.7373C22.9954 12.131 21.8033 10.7873 20.2483 10.5629C19.996 10.5265 19.7881 10.7367 19.7881 10.9917C19.7881 11.2466 19.9969 11.4484 20.2467 11.4997C21.2896 11.7137 22.0721 12.6431 22.0721 13.7495C22.0721 14.8558 21.2896 15.7758 20.2467 15.9876C19.9969 16.0383 19.7881 16.2401 19.7881 16.4951C19.7881 16.75 19.996 16.9602 20.2483 16.9236C21.8033 16.6974 22.9954 15.3437 22.9954 13.7373Z" fill="#020814"/>
4
+ <path d="M24.9999 19.6052C24.9999 18.451 24.0645 17.5156 22.9103 17.5156H22.7466C22.5017 17.5156 22.3032 17.7141 22.3032 17.959C22.3032 18.2039 22.5017 18.4024 22.7466 18.4024H22.9103C23.5785 18.4024 24.1252 18.9491 24.1252 19.6173C24.1252 20.2855 23.5785 20.8322 22.9103 20.8322H22.7345C22.4963 20.8322 22.3032 21.0253 22.3032 21.2635C22.3032 21.5017 22.4963 21.6947 22.7345 21.6947H22.9103C24.0645 21.6947 24.9999 20.7593 24.9999 19.6052Z" fill="#020814"/>
5
+ <path d="M9.00464 13.7373C9.00464 12.131 10.1967 10.7873 11.7517 10.5629C12.004 10.5265 12.2119 10.7367 12.2119 10.9917C12.2119 11.2466 12.0031 11.4484 11.7533 11.4997C10.7104 11.7137 9.92795 12.6431 9.92795 13.7495C9.92795 14.8558 10.7104 15.7758 11.7533 15.9876C12.0031 16.0383 12.2119 16.2401 12.2119 16.4951C12.2119 16.75 12.004 16.9602 11.7517 16.9236C10.1967 16.6974 9.00464 15.3437 9.00464 13.7373Z" fill="#020814"/>
6
+ <path d="M7.00009 19.6052C7.00009 18.451 7.93555 17.5156 9.08968 17.5156H9.25338C9.49828 17.5156 9.69681 17.7141 9.69681 17.959C9.69681 18.2039 9.49828 18.4024 9.25338 18.4024H9.08968C8.4215 18.4024 7.8748 18.9491 7.8748 19.6173C7.8748 20.2855 8.4215 20.8322 9.08968 20.8322H9.26553C9.50372 20.8322 9.69681 21.0253 9.69681 21.2635C9.69681 21.5017 9.50372 21.6947 9.26553 21.6947H9.08968C7.93555 21.6947 7.00009 20.7593 7.00009 19.6052Z" fill="#020814"/>
7
+ <path d="M15.946 17.1026C13.8922 17.1026 12.2323 15.4286 12.2323 13.3889C12.2323 11.3492 13.8922 9.66113 15.946 9.66113C17.9997 9.66113 19.6597 11.3351 19.6597 13.3748C19.6597 15.4145 17.9997 17.1026 15.946 17.1026ZM15.946 10.7302C14.483 10.7302 13.3014 11.9119 13.3014 13.3748C13.3014 14.8378 14.4971 16.0335 15.946 16.0335C17.4089 16.0335 18.5906 14.8519 18.5906 13.3889C18.5906 11.9259 17.4089 10.7302 15.946 10.7302ZM19.5612 22.5887H12.3448C11.0085 22.5887 9.92529 21.5055 9.92529 20.1692C9.92529 18.8328 11.0085 17.7497 12.3448 17.7497H19.5612C20.8975 17.7497 21.9807 18.8328 21.9807 20.1692C21.9807 21.5055 20.8975 22.5887 19.5612 22.5887ZM12.3448 18.7765C11.5711 18.7765 10.9381 19.4096 10.9381 20.1832C10.9381 20.9569 11.5711 21.5899 12.3448 21.5899H19.5612C20.3349 21.5899 20.9679 20.9569 20.9679 20.1832C20.9679 19.4096 20.3349 18.7765 19.5612 18.7765H12.3448Z" fill="#020814"/>
8
+ </svg>
9
+ `,hf=`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
10
+ <circle cx="16" cy="16" r="16" fill="#D2E1FE"/>
11
+ <path d="M15.952 17.216C13.616 17.216 11.728 15.312 11.728 12.992C11.728 10.672 13.616 8.75195 15.952 8.75195C18.288 8.75195 20.176 10.656 20.176 12.976C20.176 15.296 18.288 17.216 15.952 17.216ZM15.952 9.96795C14.288 9.96795 12.944 11.312 12.944 12.976C12.944 14.64 14.304 16 15.952 16C17.616 16 18.96 14.656 18.96 12.992C18.96 11.328 17.616 9.96795 15.952 9.96795ZM20.064 23.456H11.856C10.336 23.456 9.104 22.224 9.104 20.704C9.104 19.184 10.336 17.952 11.856 17.952H20.064C21.584 17.952 22.816 19.184 22.816 20.704C22.816 22.224 21.584 23.456 20.064 23.456ZM11.856 19.12C10.976 19.12 10.256 19.84 10.256 20.72C10.256 21.6 10.976 22.32 11.856 22.32H20.064C20.944 22.32 21.664 21.6 21.664 20.72C21.664 19.84 20.944 19.12 20.064 19.12H11.856Z" fill="#020814"/>
12
+ </svg>
13
+ `,pf=`<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
14
+ <circle cx="16" cy="16" r="16" fill="#FFCB82"/>
15
+ <path d="M18.1627 23.3216C17.9241 23.3211 17.69 23.2566 17.4848 23.1349L12.7916 20.3783C12.7359 20.3457 12.6725 20.3285 12.608 20.3285H10.3391C9.98405 20.328 9.64369 20.1868 9.39266 19.9358C9.14163 19.6848 9.00041 19.3444 9 18.9894V13.3519C9.00005 12.9968 9.14113 12.6563 9.3922 12.4052C9.64328 12.1542 9.98379 12.0131 10.3389 12.013H10.3482L12.5836 12.0285H12.5859C12.6509 12.0284 12.7147 12.011 12.7707 11.9779L17.4803 9.18705C17.6836 9.06656 17.9152 9.00204 18.1516 9.00005C18.388 8.99806 18.6206 9.05866 18.826 9.17571C19.0313 9.29276 19.2021 9.46208 19.3208 9.66647C19.4395 9.87086 19.502 10.103 19.502 10.3394V21.98C19.5011 22.3351 19.3598 22.6755 19.1088 22.9267C18.8579 23.178 18.5178 23.3198 18.1627 23.3212V23.3216ZM10.3391 12.9896C10.243 12.9896 10.1508 13.0278 10.0828 13.0957C10.0148 13.1636 9.97661 13.2558 9.97656 13.3519V18.9894C9.97672 19.0855 10.015 19.1776 10.0829 19.2456C10.1509 19.3135 10.243 19.3517 10.3391 19.3519H12.6088C12.8472 19.3519 13.0813 19.4155 13.2869 19.5363L17.9799 22.2929C18.035 22.3255 18.0977 22.3428 18.1616 22.3433C18.2256 22.3438 18.2886 22.3273 18.3441 22.2955C18.3997 22.2638 18.4458 22.2179 18.4779 22.1626C18.51 22.1072 18.5268 22.0444 18.5268 21.9804V10.3398C18.5268 10.2758 18.51 10.213 18.4779 10.1576C18.4458 10.1023 18.3997 10.0564 18.3441 10.0247C18.2886 9.99292 18.2256 9.97645 18.1616 9.97691C18.0977 9.97737 18.035 9.99475 17.9799 10.0273L13.2686 12.8179C13.0592 12.9419 12.8201 13.0066 12.5768 13.005L10.3416 12.9896H10.3391Z" fill="#020814" stroke="#020814" stroke-width="0.3"/>
16
+ <path d="M20.89 19.984C20.8127 19.9841 20.7376 19.9579 20.6771 19.9098C20.6165 19.8616 20.5741 19.7944 20.5567 19.719C20.5394 19.6436 20.5481 19.5646 20.5814 19.4948C20.6148 19.425 20.6708 19.3686 20.7404 19.3348C21.1965 19.1133 21.5767 18.7059 21.84 18.1567C22.0957 17.6237 22.2178 16.9962 22.1838 16.3895C22.1537 15.8506 22.0021 15.3544 21.7457 14.9557C21.466 14.52 21.0723 14.21 20.5756 14.0342C20.4901 14.004 20.4201 13.941 20.3811 13.8592C20.3421 13.7774 20.3371 13.6834 20.3674 13.5979C20.3976 13.5124 20.4606 13.4425 20.5424 13.4034C20.6242 13.3644 20.7182 13.3595 20.8037 13.3897C21.4291 13.6074 21.9634 14.0288 22.3209 14.5862C22.641 15.0844 22.8287 15.6948 22.8664 16.3512C22.9066 17.071 22.7611 17.8171 22.4562 18.4522C22.1254 19.1422 21.6359 19.66 21.039 19.9497C20.9926 19.9723 20.9417 19.984 20.89 19.984Z" fill="#020814" stroke="#020814" stroke-width="0.5"/>
17
+ </svg>
18
+ `,gf=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
19
+ <path d="M6.92969 13.056C6.92969 13.7 7.45969 14.222 8.11569 14.222C8.77069 14.222 9.30169 13.7 9.30169 13.056H10.0927C10.0927 14.13 9.20769 15 8.11569 15C7.02369 15 6.13869 14.13 6.13869 13.056H6.92969ZM12.0397 4.344C12.3247 4.944 12.4737 5.596 12.4737 6.258V9.175C12.4737 9.245 12.4937 9.315 12.5297 9.377L13.6367 11.173C13.7061 11.2918 13.7429 11.4268 13.7434 11.5644C13.7438 11.702 13.7079 11.8372 13.6393 11.9565C13.5707 12.0757 13.4718 12.1747 13.3526 12.2435C13.2335 12.3122 13.0983 12.3483 12.9607 12.348H3.89569L4.68669 11.57H12.9607L11.8527 9.77C11.7387 9.58958 11.6783 9.38044 11.6787 9.167V6.257C11.6787 5.807 11.5977 5.361 11.4387 4.939L12.0397 4.344ZM11.8467 2.239C11.9288 2.15692 12.0401 2.1108 12.1562 2.1108C12.2723 2.1108 12.3836 2.15692 12.4657 2.239C12.5478 2.32108 12.5939 2.43242 12.5939 2.5485C12.5939 2.66459 12.5478 2.77592 12.4657 2.858L3.18569 12.138C3.14511 12.1787 3.09691 12.211 3.04384 12.2331C2.99077 12.2552 2.93387 12.2666 2.8764 12.2667C2.81892 12.2668 2.76198 12.2556 2.70884 12.2337C2.6557 12.2117 2.6074 12.1796 2.56669 12.139C2.52598 12.0984 2.49366 12.0502 2.47158 11.9972C2.4495 11.9441 2.43808 11.8872 2.43799 11.8297C2.4379 11.7722 2.44913 11.7153 2.47104 11.6622C2.49295 11.609 2.52511 11.5607 2.56569 11.52L11.8467 2.239ZM8.07969 1C8.18469 1 8.28569 1.041 8.35969 1.114C8.39631 1.14984 8.42543 1.19262 8.44534 1.23983C8.46526 1.28705 8.47557 1.33776 8.47569 1.389V1.856C9.19869 1.914 9.89569 2.156 10.4957 2.556L9.93569 3.116C9.45583 2.82552 8.91258 2.65599 8.35269 2.622H8.11269C6.14569 2.622 4.55269 4.189 4.55269 6.122L4.56469 8.392L3.77369 9.171V6.106C3.77802 5.52052 3.90278 4.9422 4.14018 4.407C4.37759 3.8718 4.72258 3.39117 5.15369 2.995C5.85095 2.35177 6.73945 1.95423 7.68369 1.863V1.39C7.68369 1.287 7.72669 1.188 7.80069 1.115C7.87505 1.04162 7.97522 1.00033 8.07969 1Z" fill="#7C838E" stroke="#7C838E" stroke-width="0.342857"/>
20
+ </svg>
21
+ `,_f=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
22
+ <path d="M14.325 5.95002L10.0781 1.70939C9.96563 1.59689 9.82032 1.54221 9.67344 1.54221C9.52657 1.54221 9.37969 1.59689 9.26876 1.70939L6.49219 4.48283C6.28126 4.45939 6.07032 4.44846 5.85782 4.44846C4.59688 4.44846 3.33438 4.86252 2.29844 5.69221C2.03282 5.90314 2.01094 6.30158 2.25157 6.54221L5.38282 9.66877L1.67032 13.375C1.62501 13.4203 1.59688 13.4797 1.59063 13.5438L1.53282 14.1844C1.51719 14.3469 1.64688 14.4844 1.80626 14.4844C1.81563 14.4844 1.82344 14.4844 1.83282 14.4828L2.47344 14.425C2.53751 14.4203 2.59688 14.3906 2.64219 14.3453L6.35469 10.6375L9.48594 13.7641C9.59844 13.8766 9.74376 13.9313 9.89063 13.9313C10.0578 13.9313 10.2234 13.8594 10.3375 13.7172C11.3078 12.5078 11.7109 10.9922 11.5469 9.52814L14.3234 6.75627C14.5484 6.53439 14.5484 6.17346 14.325 5.95002ZM10.6703 8.65471L10.2484 9.07658L10.3141 9.66877C10.3781 10.2485 10.3313 10.825 10.1734 11.3844C10.0797 11.711 9.95313 12.0235 9.79063 12.3172L3.70313 6.23752C3.92501 6.11564 4.15626 6.01252 4.39844 5.92971C4.86719 5.76721 5.35782 5.68752 5.85782 5.68752C6.02344 5.68752 6.19063 5.69533 6.35626 5.71564L6.94844 5.78127L9.67501 3.05783L12.975 6.35314L10.6703 8.65471Z" fill="#7C838E"/>
23
+ </svg>
24
+ `,mf=`<svg width="13" height="10" viewBox="0 0 13 10" fill="none" xmlns="http://www.w3.org/2000/svg">
25
+ <path d="M10.4464 1.00743C10.9346 0.530944 11.7166 0.540543 12.1929 1.02886C12.669 1.51697 12.6594 2.29858 12.1714 2.77483L5.5787 9.20931C5.05539 9.72006 4.22159 9.72461 3.69274 9.21961L1.12127 6.76413C0.628033 6.29313 0.610061 5.51144 1.08113 5.01828C1.55212 4.5252 2.33363 4.50725 2.82675 4.97818L4.26713 6.35373C4.46506 6.54275 4.77714 6.54104 4.97299 6.34987L10.4464 1.00743Z" fill="white"/>
26
+ </svg>
27
+ `,Ef=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
28
+ <g clip-path="url(#clip0_235_4141)">
29
+ <path d="M6.49384 12.7875C4.87365 12.7875 3.25347 12.1705 2.02015 10.9372C-0.446494 8.47029 -0.446494 4.45619 2.02015 1.98931C4.48656 -0.477098 8.50089 -0.478018 10.9678 1.98931C13.4344 4.45619 13.4344 8.47029 10.9678 10.9372C9.73444 12.1705 8.11403 12.7875 6.49384 12.7875ZM6.49384 1.45585C5.21104 1.45585 3.92801 1.94421 2.95152 2.92069C0.998325 4.87389 0.998325 8.05259 2.95152 10.0058C4.90495 11.9585 8.08296 11.9594 10.0364 10.0058C11.9896 8.05259 11.9896 4.87389 10.0364 2.92069C9.05967 1.94421 7.77687 1.45585 6.49384 1.45585Z" fill="#41464F"/>
30
+ <path d="M15.2108 15.8391C15.0423 15.8391 14.8736 15.7749 14.7452 15.6463L10.2862 11.1868C10.0289 10.9296 10.0289 10.5128 10.2862 10.2555C10.5435 9.99818 10.9603 9.99818 11.2176 10.2555L15.6766 14.7147C15.9339 14.972 15.9339 15.3887 15.6766 15.646C15.6155 15.7073 15.5429 15.7559 15.4629 15.789C15.383 15.8222 15.2973 15.8392 15.2108 15.8391Z" fill="#41464F"/>
31
+ </g>
32
+ <defs>
33
+ <clipPath id="clip0_235_4141">
34
+ <rect width="16" height="16" fill="white"/>
35
+ </clipPath>
36
+ </defs>
37
+ </svg>
38
+ `,vf=`<svg width="15" height="9" viewBox="0 0 15 9" fill="none" xmlns="http://www.w3.org/2000/svg">
39
+ <path d="M13.7551 0.143687H12.4318H10.2877H7.74159H5.12847H2.81687H1.1753C0.907286 0.143687 0.689527 0.205107 0.522019 0.327945C0.354512 0.450784 0.240048 0.607124 0.178629 0.796966C0.11721 0.986807 0.114418 1.19619 0.170254 1.42512C0.22609 1.65405 0.348928 1.88018 0.53877 2.10352C0.951955 2.55021 1.38747 3.01923 1.84533 3.51059C2.30318 4.00194 2.7722 4.49888 3.25239 5.0014L4.65945 6.50897C5.13964 7.01149 5.59749 7.49726 6.03301 7.96628C6.23402 8.17846 6.47411 8.3348 6.75329 8.4353C7.03247 8.53581 7.32003 8.58327 7.61596 8.57768C7.91189 8.5721 8.20223 8.50789 8.487 8.38505C8.77176 8.26221 9.02023 8.08912 9.2324 7.86578C10.0029 7.06174 10.807 6.1907 11.6445 5.25266C12.482 4.31462 13.3587 3.30958 14.2744 2.23753C14.4866 1.98068 14.6317 1.72663 14.7099 1.47537C14.7881 1.22411 14.802 1.00077 14.7518 0.805341C14.7015 0.609916 14.5898 0.450784 14.4168 0.327945C14.2437 0.205107 14.0231 0.143687 13.7551 0.143687Z" fill="#0099FF"/>
40
+ </svg>
41
+ `,bc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
42
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
43
+ <path d="M16.0065 14.997L21.2996 9.70389C21.5668 9.43671 21.5668 8.99621 21.2996 8.72903L21.2707 8.70014C21.0035 8.43296 20.563 8.43296 20.2959 8.70014L15.0027 14.0005L9.70955 8.70014C9.44237 8.43296 9.00187 8.43296 8.73469 8.70014L8.7058 8.72903C8.4314 8.99621 8.4314 9.43671 8.7058 9.70389L13.999 14.997L8.7058 20.2902C8.43862 20.5574 8.43862 20.9979 8.7058 21.2651L8.73469 21.294C9.00187 21.5611 9.44237 21.5611 9.70955 21.294L15.0027 16.0008L20.2959 21.294C20.563 21.5611 21.0035 21.5611 21.2707 21.294L21.2996 21.2651C21.5668 20.9979 21.5668 20.5574 21.2996 20.2902L16.0065 14.997Z" fill="#41464F" stroke="#41464F" stroke-width="0.3"/>
44
+ </svg>
45
+ `,Lc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
46
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
47
+ <path d="M21.2222 20.9969C21.4285 20.9969 21.6263 21.0788 21.7722 21.2247C21.9181 21.3706 22 21.5684 22 21.7747C22 21.9809 21.9181 22.1788 21.7722 22.3246C21.6263 22.4705 21.4285 22.5524 21.2222 22.5524H8.77778C8.5715 22.5524 8.37367 22.4705 8.22781 22.3246C8.08194 22.1788 8 21.9809 8 21.7747C8 21.5684 8.08194 21.3706 8.22781 21.2247C8.37367 21.0788 8.5715 20.9969 8.77778 20.9969H21.2222ZM15 7C15.2063 7 15.4041 7.08194 15.55 7.22781C15.6958 7.37367 15.7778 7.5715 15.7778 7.77778V17.1726L19.5033 13.447C19.6432 13.3072 19.831 13.226 20.0286 13.2197C20.2262 13.2135 20.4188 13.2827 20.5671 13.4134C20.7155 13.544 20.8086 13.7263 20.8274 13.9231C20.8462 14.1199 20.7894 14.3165 20.6684 14.4729L20.6031 14.546L15.5468 19.6054C15.4129 19.7395 15.2348 19.8201 15.0458 19.8321C14.8568 19.8441 14.6698 19.7868 14.5201 19.6708L14.447 19.6062L9.39533 14.5631C9.25531 14.4234 9.17378 14.2356 9.16732 14.0379C9.16087 13.8402 9.22997 13.6475 9.36058 13.4989C9.49119 13.3504 9.67349 13.2572 9.87038 13.2383C10.0673 13.2194 10.264 13.2762 10.4204 13.3972L10.4936 13.4618L14.2222 17.1827V7.77778C14.2222 7.5715 14.3042 7.37367 14.45 7.22781C14.5959 7.08194 14.7937 7 15 7Z" fill="#41464F"/>
48
+ </svg>
49
+ `,Ac=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
50
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
51
+ <path d="M15.7116 15.7087L23.1973 15.7087C23.5751 15.7087 23.8866 15.3972 23.8866 15.0193L23.8866 14.9785C23.8866 14.6006 23.5751 14.2891 23.1973 14.2891L15.7065 14.2943L15.7116 6.8035C15.7116 6.42564 15.4002 6.11417 15.0223 6.11417H14.9815C14.5985 6.10906 14.287 6.42054 14.2921 6.8035L14.2921 14.2891L6.80647 14.2891C6.42861 14.2891 6.11714 14.6006 6.11714 14.9785L6.11714 15.0193C6.11714 15.3972 6.42861 15.7087 6.80647 15.7087L14.2921 15.7087L14.2921 23.1943C14.2921 23.5722 14.6036 23.8836 14.9815 23.8836H15.0223C15.4002 23.8836 15.7116 23.5722 15.7116 23.1943L15.7116 15.7087Z" fill="#41464F" stroke="#41464F" stroke-width="0.3"/>
52
+ </svg>
53
+ `,xc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
54
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
55
+ <path d="M23.1974 15.7086L15.7117 15.7086L14.2922 15.7086H6.80655C6.42869 15.7086 6.11721 15.3971 6.11721 15.0193L6.11721 14.9784C6.11721 14.6006 6.42869 14.2891 6.80655 14.2891L14.2922 14.2891L15.7066 14.2942L23.1974 14.2891C23.5752 14.2891 23.8867 14.6006 23.8867 14.9784V15.0193C23.8867 15.3971 23.5752 15.7086 23.1974 15.7086Z" fill="#41464F" stroke="#41464F" stroke-width="0.3"/>
56
+ </svg>
57
+ `,Cf=`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
58
+ <path d="M0.570362 5.55844L3.13238 7.36772C3.40259 7.55765 3.77288 7.52766 4.00306 7.29775L7.68596 3.61921C7.87611 3.42928 8.19636 3.42928 8.38651 3.61921C8.57666 3.80913 8.57666 4.12901 8.38651 4.31893L4.70362 7.99748C4.47343 8.22738 4.4334 8.59724 4.63356 8.86713L6.44499 11.4261C7.08549 12.3358 8.48659 12.1258 8.83687 11.0663L11.9293 1.78993C12.2796 0.730354 11.2688 -0.279246 10.2079 0.0706154L0.930646 3.16939C-0.130189 3.51925 -0.330346 4.91869 0.570362 5.55844Z" fill="white"/>
59
+ </svg>
60
+ `,kc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
61
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
62
+ <path d="M12.1133 8.06641H17.8545C17.8597 8.06706 17.8856 8.07208 17.9355 8.10742C17.9978 8.15153 18.0689 8.22385 18.1426 8.31934C18.2907 8.51132 18.3903 8.72221 18.4072 8.75977L18.4121 8.77051L18.418 8.78125L18.8398 9.62207L18.8438 9.62793L18.8623 9.66406L19.0205 9.96973H22.6367C22.9218 9.96973 23.1504 10.2008 23.1504 10.4775V22.3994C23.1504 22.6766 22.9217 22.9082 22.6367 22.9082H7.33008C7.04513 22.9082 6.81641 22.6766 6.81641 22.3994V10.4775C6.81643 10.2008 7.04503 9.96973 7.33008 9.96973H10.9473L11.1055 9.66406L11.124 9.62793L11.127 9.62207L11.5547 8.77148L11.5615 8.75977L11.5674 8.74707C11.5674 8.74704 11.5911 8.69352 11.6348 8.61426C11.6796 8.53289 11.7413 8.43153 11.8145 8.33496C11.8895 8.23589 11.9636 8.15914 12.0293 8.11133C12.0945 8.0639 12.1201 8.06641 12.1133 8.06641Z" stroke="#020814" stroke-width="1.13337"/>
63
+ <circle cx="14.9998" cy="16.2162" r="2.45563" stroke="#020814" stroke-width="1.13337"/>
64
+ </svg>
65
+ `,Uc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
66
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
67
+ <path d="M9.58301 8.05371H20.417C21.6274 8.05388 22.5711 8.99756 22.5713 10.208V21.042C22.5711 22.2524 21.6274 23.1961 20.417 23.1963H9.58301C8.37256 23.1961 7.42888 22.2524 7.42871 21.042V10.208C7.42888 8.99756 8.37256 8.05388 9.58301 8.05371Z" stroke="#020814" stroke-width="1.10795"/>
68
+ <path d="M12.7051 11.8972C12.9571 11.8973 13.2066 11.9473 13.4395 12.0437C13.6724 12.1402 13.8842 12.2815 14.0625 12.4597C14.1964 12.5936 14.3095 12.7465 14.3984 12.9128L14.4795 13.0828L14.543 13.2605C14.5977 13.4408 14.625 13.629 14.625 13.8181C14.625 14.0701 14.5759 14.3197 14.4795 14.5525C14.383 14.7855 14.2408 14.9972 14.0625 15.1755C13.8842 15.3539 13.6725 15.496 13.4395 15.5925C13.2066 15.6889 12.957 15.738 12.7051 15.738C12.4529 15.738 12.2027 15.689 11.9697 15.5925C11.7367 15.496 11.525 15.3539 11.3467 15.1755C11.1685 14.9973 11.0271 14.7854 10.9307 14.5525C10.8342 14.3196 10.7842 14.0702 10.7842 13.8181C10.7842 13.5659 10.8342 13.3158 10.9307 13.0828C11.0272 12.8498 11.1684 12.638 11.3467 12.4597C11.525 12.2814 11.7368 12.1402 11.9697 12.0437C12.2027 11.9472 12.4529 11.8972 12.7051 11.8972Z" stroke="#020814" stroke-width="0.886364"/>
69
+ <path d="M11.3822 21.3889C11.2421 21.6411 10.9325 21.7446 10.6688 21.6274L10.6472 21.6178C10.3779 21.4981 10.2567 21.1829 10.3763 20.9136C11.5138 18.2595 13.3555 16.9053 15.793 16.7428C17.8513 16.6345 19.368 16.0386 20.2888 14.9553L20.3157 14.9246C20.5105 14.7019 20.8487 14.6786 21.0723 14.8724C21.2974 15.0675 21.321 15.4084 21.1248 15.6326L21.1013 15.6595C19.9638 16.9595 18.1763 17.7178 15.8472 17.8261C13.843 17.9345 12.3805 19.072 11.4055 21.347L11.3822 21.3889Z" fill="#020814"/>
70
+ </svg>
71
+ `,Nc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
72
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
73
+ <path d="M14.8302 22.7855C19.2238 22.7855 22.7855 19.2238 22.7855 14.8302C22.7855 10.4367 19.2238 6.875 14.8302 6.875C10.4367 6.875 6.875 10.4367 6.875 14.8302C6.875 19.2238 10.4367 22.7855 14.8302 22.7855Z" stroke="#020814" stroke-width="0.993306" stroke-linejoin="round"/>
74
+ <path d="M11.5365 13.3759C11.5365 13.8597 11.9287 14.2518 12.4124 14.2518C12.8962 14.2518 13.2884 13.8597 13.2884 13.3759C13.2884 12.8922 12.8962 12.5 12.4124 12.5C11.9287 12.5 11.5365 12.8922 11.5365 13.3759ZM16.7918 13.3759C16.7918 13.8597 17.184 14.2518 17.6677 14.2518C18.1515 14.2518 18.5437 13.8597 18.5437 13.3759C18.5437 12.8922 18.1515 12.5 17.6677 12.5C17.184 12.5 16.7918 12.8922 16.7918 13.3759ZM15.0399 19.0689C13.8139 19.0689 12.5876 18.4551 11.8869 17.4923C11.6235 17.1419 11.4496 16.7046 11.2731 16.3543C11.1862 16.0909 11.36 15.8288 11.5366 15.7405C11.8 15.6536 11.9739 15.8274 12.0621 16.0039C12.1491 16.3542 12.3256 16.6178 12.4994 16.8799C13.2002 17.7558 14.0761 18.1945 15.0386 18.1945C16.0014 18.1945 16.9657 17.7572 17.4912 16.9682C17.6664 16.7047 17.8416 16.3557 17.9285 16.0922C18.0168 15.8288 18.2789 15.7419 18.454 15.8288C18.7174 15.9157 18.8044 16.1791 18.7174 16.3543C18.6293 16.7916 18.3672 17.1419 18.1036 17.4923C17.4924 18.4564 16.2663 19.0689 15.0399 19.0689Z" fill="#020814" stroke="#020814" stroke-width="0.1875"/>
75
+ </svg>
76
+ `,yf=`<svg width="24" height="23" viewBox="0 0 24 23" fill="none" xmlns="http://www.w3.org/2000/svg">
77
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11.9775 22.1738C11.1802 22.1738 10.5365 21.5302 10.5365 20.7328V12.567H2.37071C1.57334 12.567 0.929688 11.9233 0.929688 11.126C0.929688 10.3286 1.57334 9.68495 2.37071 9.68495H10.5365V1.51915C10.5365 0.721782 11.1802 0.078125 11.9775 0.078125C12.7749 0.078125 13.4186 0.721782 13.4186 1.51915V9.68495H21.5844C22.3817 9.68495 23.0254 10.3286 23.0254 11.126C23.0254 11.9233 22.3817 12.567 21.5844 12.567H13.4186V20.7328C13.4186 21.5302 12.7749 22.1738 11.9775 22.1738Z" fill="#0099FF"/>
78
+ </svg>
79
+ `,Dc=`<svg width="30" height="30" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
80
+ <rect width="30" height="30" rx="8" fill="#F3F5FA"/>
81
+ <path d="M10.5645 6.8125H19.4355C19.764 6.81251 20.0891 6.87729 20.3926 7.00293C20.6961 7.12867 20.9727 7.31259 21.2051 7.54492C21.4374 7.77726 21.6213 8.05386 21.7471 8.35742C21.8727 8.66086 21.9375 8.98603 21.9375 9.31445V19.8545C21.9375 20.1831 21.8728 20.5089 21.7471 20.8125C21.6214 21.1159 21.4373 21.3918 21.2051 21.624C20.9727 21.8564 20.6961 22.0403 20.3926 22.166C20.0891 22.2917 19.764 22.3564 19.4355 22.3564H10.5645C10.236 22.3564 9.9109 22.2917 9.60742 22.166C9.30386 22.0403 9.02726 21.8564 8.79492 21.624C8.56272 21.3918 8.37863 21.1159 8.25293 20.8125C8.12719 20.5089 8.0625 20.1831 8.0625 19.8545V9.31445C8.06251 8.98603 8.12729 8.66086 8.25293 8.35742C8.37867 8.05386 8.56259 7.77726 8.79492 7.54492C9.02726 7.31259 9.30386 7.12867 9.60742 7.00293C9.91086 6.87729 10.236 6.81251 10.5645 6.8125Z" stroke="#020814" stroke-width="1.125"/>
82
+ <path d="M11.3707 12.7823H15.403C15.5741 12.7823 15.7382 12.7143 15.8592 12.5933C15.9802 12.4723 16.0482 12.3082 16.0482 12.1371C16.0482 11.966 15.9802 11.8019 15.8592 11.6809C15.7382 11.5599 15.5741 11.4919 15.403 11.4919H11.3707C11.1996 11.4919 11.0355 11.5599 10.9145 11.6809C10.7936 11.8019 10.7256 11.966 10.7256 12.1371C10.7256 12.3082 10.7936 12.4723 10.9145 12.5933C11.0355 12.7143 11.1996 12.7823 11.3707 12.7823Z" fill="#020814"/>
83
+ <path d="M11.3709 16.0079H18.6289C18.7137 16.0079 18.7976 15.9912 18.8758 15.9588C18.9541 15.9264 19.0253 15.8788 19.0852 15.8189C19.1451 15.759 19.1926 15.6879 19.2251 15.6096C19.2575 15.5313 19.2742 15.4474 19.2742 15.3627C19.2742 15.278 19.2575 15.1941 19.2251 15.1158C19.1926 15.0375 19.1451 14.9664 19.0852 14.9065C19.0253 14.8465 18.9541 14.799 18.8758 14.7666C18.7976 14.7342 18.7137 14.7175 18.6289 14.7175H11.3709C11.2861 14.7175 11.2022 14.7342 11.1239 14.7666C11.0456 14.799 10.9745 14.8465 10.9146 14.9065C10.8547 14.9664 10.8071 15.0375 10.7747 15.1158C10.7423 15.1941 10.7256 15.278 10.7256 15.3627C10.7256 15.4474 10.7423 15.5313 10.7747 15.6096C10.8071 15.6879 10.8547 15.759 10.9146 15.8189C10.9745 15.8788 11.0456 15.9264 11.1239 15.9588C11.2022 15.9912 11.2861 16.0079 11.3709 16.0079Z" fill="#020814"/>
84
+ </svg>
85
+ `,Pc=`<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
86
+ <path d="M0.569914 5.56064L3.12991 7.37064C3.39991 7.56064 3.76991 7.53064 3.99991 7.30064L7.67991 3.62064C7.86991 3.43064 8.18991 3.43064 8.37991 3.62064C8.56991 3.81064 8.56991 4.13064 8.37991 4.32064L4.69991 8.00064C4.46991 8.23064 4.42991 8.60064 4.62991 8.87064L6.43991 11.4306C7.07991 12.3406 8.47991 12.1306 8.82991 11.0706L11.9199 1.79064C12.2699 0.730643 11.2599 -0.279357 10.1999 0.0706434L0.929914 3.17064C-0.130086 3.52064 -0.330086 4.92064 0.569914 5.56064Z" fill="#CCCCCC"/>
87
+ </svg>
88
+ `,Sf=`<svg width="24" height="23" viewBox="0 0 24 23" fill="none" xmlns="http://www.w3.org/2000/svg">
89
+ <path d="M11.7722 18.572L11.7707 18.572C11.7637 18.572 11.7565 18.5721 11.7492 18.5722C11.7431 18.5722 11.7369 18.5723 11.7305 18.5724L11.7209 18.5725C11.7099 18.5726 11.6985 18.5727 11.687 18.5727C9.54072 18.5727 8.01707 17.6033 7.02388 16.6169C6.03227 15.6321 5.56502 14.6267 5.52498 14.5378C5.33961 14.127 5.52182 13.6447 5.93196 13.4591L5.93224 13.459C6.34282 13.2745 6.82354 13.4557 7.0099 13.8635L7.00993 13.8636C7.03616 13.9211 7.40015 14.6941 8.163 15.4512C8.92441 16.2068 10.078 16.9419 11.6898 16.9419C11.6994 16.9419 11.7092 16.9417 11.7201 16.9416L11.7205 16.9416L11.7722 18.572ZM11.7722 18.572C16.2412 18.5194 17.9935 14.7027 18.0683 14.5343C18.2522 14.1225 18.0666 13.6406 17.6557 13.4575C17.2421 13.2722 16.762 13.4593 16.5795 13.8695C16.5508 13.9319 15.1674 16.9009 11.7538 16.9412L11.7722 18.572ZM0.656307 11.5242C0.656307 17.6828 5.64829 22.6747 11.8069 22.6747C17.9651 22.6747 22.9571 17.6828 22.9571 11.5242C22.9571 5.36557 17.9651 0.373592 11.8069 0.373592C5.64829 0.373592 0.656307 5.36557 0.656307 11.5242ZM2.28714 11.5242C2.28714 6.27482 6.55754 2.00443 11.8069 2.00443C17.0559 2.00443 21.3263 6.27482 21.3263 11.5242C21.3263 16.7732 17.0559 21.0439 11.8069 21.0439C6.55754 21.0439 2.28714 16.7732 2.28714 11.5242ZM13.7399 9.45679C13.7399 10.2855 14.4114 10.9581 15.2409 10.9581C16.0701 10.9581 16.7419 10.2855 16.7419 9.45679C16.7419 8.6287 16.07 7.9565 15.2409 7.9565C14.4115 7.9565 13.7399 8.62873 13.7399 9.45679ZM6.84982 9.45679C6.84982 10.2855 7.52128 10.9581 8.35081 10.9581C9.17997 10.9581 9.85179 10.2855 9.85179 9.45679C9.85179 8.6287 9.17989 7.9565 8.35081 7.9565C7.52136 7.9565 6.84982 8.62873 6.84982 9.45679Z" fill="#A1AABF" stroke="#A1AABF" stroke-width="0.252815"/>
90
+ </svg>
91
+ `,Tf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
92
+ <path d="M10.8822 2.33447C10.8903 2.33447 10.8969 2.33587 10.9007 2.3374C10.904 2.33875 10.9079 2.34173 10.9134 2.34717H10.9144L15.6917 7.11865C15.7087 7.13617 15.7067 7.1594 15.6927 7.17334L15.6898 7.17627L12.5667 10.2944L12.3616 10.4985L12.3939 10.7856C12.5613 12.28 12.1495 13.8247 11.1615 15.0562C11.1559 15.0631 11.1511 15.0669 11.1468 15.0688C11.1419 15.0711 11.1352 15.0727 11.1273 15.0728C11.1195 15.0728 11.1135 15.0713 11.1097 15.0698L11.096 15.0601L7.57259 11.5425L7.14876 11.1196L6.72493 11.5425L2.62141 15.6392L2.35286 15.6636L2.37727 15.397L6.47981 11.3022L6.90462 10.8774L6.47981 10.4526L2.95735 6.93506H2.95638C2.94819 6.92654 2.94391 6.91545 2.94466 6.90186C2.94549 6.88815 2.95157 6.87968 2.9593 6.87354L2.96126 6.87158C4.01592 6.02707 5.30258 5.604 6.59016 5.604C6.80849 5.60401 7.02375 5.6154 7.23763 5.63916L7.52376 5.67139L7.72786 5.46729L10.8509 2.34717L10.8548 2.34424C10.8576 2.3414 10.8602 2.33976 10.8636 2.33838C10.8676 2.33677 10.874 2.33453 10.8822 2.33447Z" stroke="#41464F" stroke-width="1.2"/>
93
+ </svg>
94
+ `,If=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
95
+ <path d="M6.33852 10.6891L3.12099 7.4764C2.87373 7.22914 2.89621 6.81972 3.16915 6.60297C3.68867 6.18689 4.26364 5.87253 4.86681 5.65971C5.49953 5.43647 6.16328 5.32495 6.8266 5.32495C7.04496 5.32495 7.26171 5.33619 7.47846 5.36028L10.3315 2.51042C10.4455 2.39482 10.5964 2.33862 10.7474 2.33862C10.8983 2.33862 11.0476 2.39482 11.1632 2.51042L15.5271 6.86789C15.7567 7.09748 15.7567 7.46837 15.5255 7.69636L12.6724 10.5446M7.33717 11.6846L10.5547 14.8973C10.6703 15.0129 10.8196 15.0691 10.9705 15.0691" stroke="#41464F" stroke-width="1.125"/>
96
+ <path d="M14.9394 12.0909L13.6821 13.3482L12.4249 12.091C12.3326 11.9988 12.1833 11.9987 12.091 12.091C11.9991 12.1829 11.999 12.3325 12.0912 12.4247L13.3483 13.682L12.0911 14.9392C11.999 15.0313 11.999 15.181 12.0911 15.2731C12.1833 15.3653 12.3328 15.3652 12.4249 15.2731L13.6821 14.0159L14.9393 15.2732C15.0314 15.3653 15.1812 15.3651 15.2732 15.2732C15.3655 15.1809 15.3653 15.0314 15.2732 14.9393L14.0159 13.6821L15.2731 12.425C15.3654 12.3327 15.3653 12.1833 15.2731 12.0911C15.1808 11.9989 15.0315 11.9988 14.9394 12.0909Z" fill="#41464F" stroke="#41464F" stroke-width="0.75"/>
97
+ <path d="M6.97821 11.3252L2.28485 16.0186L1.95868 16.0479L1.98798 15.7227L6.71356 11.0625L6.97821 11.3252Z" stroke="#41464F" stroke-width="1.125"/>
98
+ </svg>
99
+ `,wf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
100
+ <path d="M15.0637 12.9112L13.9949 10.77C13.9165 10.6141 13.8754 10.442 13.8749 10.2675V7.38749C13.8838 6.16141 13.4411 4.97495 12.6312 4.0544C11.8213 3.13384 10.7009 2.5436 9.48369 2.39624H9.37494V1.64624C9.37494 1.54678 9.33543 1.4514 9.2651 1.38108C9.19478 1.31075 9.09939 1.27124 8.99994 1.27124C8.90048 1.27124 8.8051 1.31075 8.73477 1.38108C8.66445 1.4514 8.62494 1.54678 8.62494 1.64624V2.39624C7.40194 2.49059 6.25947 3.04252 5.4254 3.94193C4.59133 4.84134 4.12696 6.02211 4.12494 7.24874V10.2675C4.12446 10.442 4.08338 10.6141 4.00494 10.77L2.93619 12.9112C2.87851 13.0257 2.85113 13.153 2.85665 13.2811C2.86218 13.4091 2.90042 13.5336 2.96774 13.6427C3.03506 13.7517 3.12921 13.8417 3.24119 13.9041C3.35318 13.9664 3.47927 13.999 3.60744 13.9987H14.3924C14.5206 13.999 14.6467 13.9664 14.7587 13.9041C14.8707 13.8417 14.9648 13.7517 15.0321 13.6427C15.0994 13.5336 15.1377 13.4091 15.1432 13.2811C15.1487 13.153 15.1214 13.0257 15.0637 12.9112ZM3.60744 13.2487L4.67619 11.1075C4.80686 10.8468 4.87492 10.5591 4.87494 10.2675V7.26749C4.87577 6.69124 4.99734 6.12156 5.2318 5.59516C5.46625 5.06876 5.8084 4.59733 6.23619 4.21124C6.98769 3.51376 7.97464 3.12541 8.99994 3.12374C9.13892 3.12267 9.27786 3.12893 9.41619 3.14249C10.4474 3.27213 11.395 3.77621 12.0788 4.55888C12.7626 5.34155 13.1349 6.34823 13.1249 7.38749V10.2675C13.125 10.5591 13.193 10.8468 13.3237 11.1075L14.3924 13.2487H3.60744Z" fill="#41464F" stroke="#41464F" stroke-width="0.5"/>
101
+ <path d="M9.13013 15.9997C8.39213 15.9997 7.79588 15.4125 7.79588 14.688H6.90601C6.90601 15.8962 7.90163 16.875 9.13013 16.875C10.3586 16.875 11.3543 15.8962 11.3543 14.688H10.4644C10.4644 15.4125 9.86701 15.9997 9.13013 15.9997Z" fill="#41464F" stroke="#41464F" stroke-width="0.385714"/>
102
+ </svg>
103
+ `,Rf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
104
+ <path d="M7.7959 14.688C7.7959 15.4125 8.39215 15.9998 9.13015 15.9998C9.86702 15.9998 10.4644 15.4125 10.4644 14.688H11.3543C11.3543 15.8962 10.3586 16.875 9.13015 16.875C7.90165 16.875 6.90602 15.8962 6.90602 14.688H7.7959ZM13.5446 4.887C13.8653 5.562 14.0329 6.2955 14.0329 7.04025V10.3219C14.0329 10.4006 14.0554 10.4794 14.0959 10.5491L15.3413 12.5696C15.4194 12.7033 15.4608 12.8552 15.4613 13.0099C15.4618 13.1647 15.4214 13.3169 15.3442 13.451C15.267 13.5852 15.1558 13.6966 15.0217 13.7739C14.8877 13.8513 14.7355 13.8918 14.5808 13.8915H4.38265L5.27252 13.0162H14.5808L13.3343 10.9913C13.206 10.7883 13.1381 10.553 13.1385 10.3129V7.03912C13.1385 6.53287 13.0474 6.03113 12.8685 5.55638L13.5446 4.887ZM13.3275 2.51888C13.4199 2.42653 13.5451 2.37465 13.6757 2.37465C13.8063 2.37465 13.9316 2.42653 14.0239 2.51888C14.1162 2.61122 14.1681 2.73647 14.1681 2.86706C14.1681 2.99766 14.1162 3.1229 14.0239 3.21525L3.5839 13.6552C3.53825 13.701 3.48402 13.7374 3.42432 13.7622C3.36462 13.7871 3.30061 13.7999 3.23594 13.8C3.17128 13.8001 3.10723 13.7875 3.04745 13.7629C2.98766 13.7382 2.93332 13.702 2.88752 13.6564C2.84173 13.6107 2.80537 13.5565 2.78052 13.4968C2.75568 13.4371 2.74284 13.3731 2.74274 13.3084C2.74263 13.2438 2.75527 13.1797 2.77992 13.1199C2.80457 13.0601 2.84075 13.0058 2.8864 12.96L13.3275 2.51888ZM9.08965 1.125C9.20777 1.125 9.3214 1.17112 9.40465 1.25325C9.44585 1.29357 9.4786 1.3417 9.50101 1.39481C9.52342 1.44793 9.53502 1.50498 9.53515 1.56263V2.088C10.3485 2.15325 11.1326 2.4255 11.8076 2.8755L11.1776 3.5055C10.6378 3.17871 10.0267 2.98799 9.39677 2.94975H9.12677C6.9139 2.94975 5.12177 4.71263 5.12177 6.88725L5.13527 9.441L4.2454 10.3174V6.86925C4.25028 6.21059 4.39062 5.55997 4.65771 4.95787C4.92479 4.35577 5.3129 3.81506 5.7979 3.36937C6.58232 2.64575 7.58188 2.19851 8.64415 2.09588V1.56375C8.64415 1.44787 8.69252 1.3365 8.77577 1.25438C8.85943 1.17182 8.97212 1.12537 9.08965 1.125Z" fill="#41464F" stroke="#41464F" stroke-width="0.385714"/>
105
+ </svg>
106
+ `,Mf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
107
+ <path d="M16.3516 2.41907H11.767H2.9253C2.7462 2.41907 2.57444 2.49022 2.44779 2.61686C2.32115 2.7435 2.25 2.91527 2.25 3.09437V15.5809L5.25697 13.2179H15.0747C15.2536 13.2179 15.4252 13.1468 15.5518 13.0204C15.6785 12.894 15.7497 12.7225 15.75 12.5436V6.40103V2.54978" stroke="#41464F" stroke-width="1.2"/>
108
+ <path d="M12.0164 5.70605C12.206 5.51745 12.5124 5.51748 12.702 5.70605C12.8918 5.89488 12.8918 6.20078 12.702 6.38965L8.27618 10.7939C8.18148 10.8882 8.05721 10.9355 7.93341 10.9355C7.80952 10.9355 7.68444 10.8891 7.58966 10.7949V10.7939L5.29767 8.5127C5.10787 8.32382 5.10784 8.01793 5.29767 7.8291C5.46348 7.66417 5.71879 7.64307 5.90704 7.7666L5.98322 7.8291L7.93243 9.76855L12.0164 5.70605Z" fill="#41464F" stroke="#41464F" stroke-width="0.189873"/>
109
+ </svg>
110
+ `,Of=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
111
+ <path d="M15.75 6.40103V12.5436C15.7497 12.7225 15.6785 12.894 15.5519 13.0204C15.4252 13.1468 15.2536 13.2179 15.0747 13.2179H5.25697L2.25 15.5809V3.09437C2.25 2.91527 2.32115 2.7435 2.44779 2.61686C2.57444 2.49022 2.7462 2.41907 2.9253 2.41907H11.767" stroke="#41464F" stroke-width="1.2"/>
112
+ <circle cx="15.0004" cy="3" r="1.5" fill="#41464F"/>
113
+ </svg>
114
+ `,bf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
115
+ <path d="M13.1998 14.1491C13.1998 14.3924 13.1032 14.6256 12.9312 14.7976C12.7592 14.9696 12.5259 15.0662 12.2827 15.0662H5.68249C5.43946 15.0656 5.20657 14.9688 5.03472 14.7969C4.86287 14.6251 4.76604 14.3922 4.76538 14.1491V4.42424H13.1998V14.1491ZM6.5971 2.78045C6.59676 2.75568 6.60139 2.73109 6.61071 2.70813C6.62004 2.68518 6.63387 2.66433 6.65139 2.64681C6.66891 2.62929 6.68976 2.61546 6.71271 2.60614C6.73567 2.59681 6.76026 2.59218 6.78503 2.59252H11.1902C11.2149 2.59218 11.2395 2.59681 11.2625 2.60614C11.2854 2.61546 11.3063 2.62929 11.3238 2.64681C11.3413 2.66433 11.3552 2.68518 11.3645 2.70813C11.3738 2.73109 11.3784 2.75568 11.3781 2.78045V3.3217H6.5971V2.78045ZM15.9486 3.3217H12.4706V2.78045C12.4706 2.44085 12.3357 2.11517 12.0956 1.87503C11.8555 1.6349 11.5298 1.5 11.1902 1.5H6.78503C6.44584 1.50132 6.12092 1.63665 5.88107 1.87649C5.64123 2.11634 5.5059 2.44126 5.50458 2.78045V3.3217H2.01655C1.87644 3.33114 1.74515 3.39345 1.64925 3.49603C1.55335 3.59861 1.5 3.73379 1.5 3.87422C1.5 4.01464 1.55335 4.14983 1.64925 4.25241C1.74515 4.35498 1.87644 4.4173 2.01655 4.42674H3.66284V14.1491C3.66284 14.4144 3.71508 14.677 3.81657 14.922C3.91807 15.1671 4.06684 15.3897 4.25438 15.5772C4.44192 15.7648 4.66457 15.9136 4.9096 16.015C5.15464 16.1165 5.41726 16.1688 5.68249 16.1688H12.2827C12.5479 16.1688 12.8105 16.1165 13.0556 16.015C13.3006 15.9136 13.5233 15.7648 13.7108 15.5772C13.8983 15.3897 14.0471 15.1671 14.1486 14.922C14.2501 14.677 14.3023 14.4144 14.3023 14.1491V4.42424H15.9486C16.0948 4.42424 16.2351 4.36616 16.3384 4.26277C16.4418 4.15939 16.4999 4.01917 16.4999 3.87297C16.5013 3.8002 16.4879 3.7279 16.4607 3.6604C16.4335 3.59291 16.3929 3.53159 16.3415 3.48013C16.29 3.42867 16.2287 3.38811 16.1612 3.36089C16.0937 3.33366 16.0214 3.32034 15.9486 3.3217ZM8.98259 13.4099C9.0552 13.4099 9.12709 13.3956 9.19413 13.3677C9.26118 13.3399 9.32206 13.299 9.37329 13.2476C9.42451 13.1961 9.46506 13.1351 9.49262 13.0679C9.52017 13.0007 9.53419 12.9288 9.53386 12.8562V6.98513C9.53386 6.83893 9.47578 6.69871 9.3724 6.59533C9.26901 6.49194 9.1288 6.43386 8.98259 6.43386C8.83638 6.43386 8.69617 6.49194 8.59278 6.59533C8.4894 6.69871 8.43132 6.83893 8.43132 6.98513V12.8562C8.43099 12.9288 8.44501 13.0007 8.47256 13.0679C8.50012 13.1351 8.54067 13.1961 8.5919 13.2476C8.64312 13.299 8.704 13.3399 8.77105 13.3677C8.8381 13.3956 8.90999 13.4099 8.98259 13.4099ZM6.40916 13.4099C6.55603 13.4099 6.69689 13.3516 6.80074 13.2477C6.90459 13.1439 6.96294 13.003 6.96294 12.8562V6.98513C6.96804 6.90945 6.95753 6.83352 6.93208 6.76206C6.90662 6.6906 6.86675 6.62513 6.81494 6.56972C6.76314 6.5143 6.7005 6.47012 6.63091 6.43992C6.56133 6.40971 6.48628 6.39413 6.41042 6.39413C6.33456 6.39413 6.25951 6.40971 6.18992 6.43992C6.12033 6.47012 6.05769 6.5143 6.00589 6.56972C5.95408 6.62513 5.91421 6.6906 5.88876 6.76206C5.8633 6.83352 5.85279 6.90945 5.85789 6.98513V12.8562C5.86167 13.0014 5.92088 13.1397 6.02339 13.2427C6.1259 13.3457 6.26393 13.4055 6.40916 13.4099ZM11.556 13.4099C11.7025 13.4093 11.8427 13.3506 11.946 13.2469C12.0493 13.1431 12.1073 13.0026 12.1073 12.8562V6.98513C12.1124 6.90945 12.1019 6.83352 12.0764 6.76206C12.051 6.6906 12.0111 6.62513 11.9593 6.56972C11.9075 6.5143 11.8448 6.47012 11.7753 6.43992C11.7057 6.40971 11.6306 6.39413 11.5548 6.39413C11.4789 6.39413 11.4039 6.40971 11.3343 6.43992C11.2647 6.47012 11.202 6.5143 11.1502 6.56972C11.0984 6.62513 11.0586 6.6906 11.0331 6.76206C11.0076 6.83352 10.9971 6.90945 11.0022 6.98513V12.8562C11.0022 13.003 11.0606 13.1439 11.1644 13.2477C11.2683 13.3516 11.4091 13.4099 11.556 13.4099Z" fill="#41464F"/>
116
+ </svg>
117
+ `,Vc=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
118
+ <path d="M13.1998 14.1491C13.1998 14.3924 13.1032 14.6256 12.9312 14.7976C12.7592 14.9696 12.5259 15.0662 12.2827 15.0662H5.68249C5.43946 15.0656 5.20657 14.9688 5.03472 14.7969C4.86287 14.6251 4.76604 14.3922 4.76538 14.1491V4.42424H13.1998V14.1491ZM6.5971 2.78045C6.59676 2.75568 6.60139 2.73109 6.61071 2.70813C6.62004 2.68518 6.63387 2.66433 6.65139 2.64681C6.66891 2.62929 6.68976 2.61546 6.71271 2.60614C6.73567 2.59681 6.76026 2.59218 6.78503 2.59252H11.1902C11.2149 2.59218 11.2395 2.59681 11.2625 2.60614C11.2854 2.61546 11.3063 2.62929 11.3238 2.64681C11.3413 2.66433 11.3552 2.68518 11.3645 2.70813C11.3738 2.73109 11.3784 2.75568 11.3781 2.78045V3.3217H6.5971V2.78045ZM15.9486 3.3217H12.4706V2.78045C12.4706 2.44085 12.3357 2.11517 12.0956 1.87503C11.8555 1.6349 11.5298 1.5 11.1902 1.5H6.78503C6.44584 1.50132 6.12092 1.63665 5.88107 1.87649C5.64123 2.11634 5.5059 2.44126 5.50458 2.78045V3.3217H2.01655C1.87644 3.33114 1.74515 3.39345 1.64925 3.49603C1.55335 3.59861 1.5 3.73379 1.5 3.87422C1.5 4.01464 1.55335 4.14983 1.64925 4.25241C1.74515 4.35498 1.87644 4.4173 2.01655 4.42674H3.66284V14.1491C3.66284 14.4144 3.71508 14.677 3.81657 14.922C3.91807 15.1671 4.06684 15.3897 4.25438 15.5772C4.44192 15.7648 4.66457 15.9136 4.9096 16.015C5.15464 16.1165 5.41726 16.1688 5.68249 16.1688H12.2827C12.5479 16.1688 12.8105 16.1165 13.0556 16.015C13.3006 15.9136 13.5233 15.7648 13.7108 15.5772C13.8983 15.3897 14.0471 15.1671 14.1486 14.922C14.2501 14.677 14.3023 14.4144 14.3023 14.1491V4.42424H15.9486C16.0948 4.42424 16.2351 4.36616 16.3384 4.26277C16.4418 4.15939 16.4999 4.01917 16.4999 3.87297C16.5013 3.8002 16.4879 3.7279 16.4607 3.6604C16.4335 3.59291 16.3929 3.53159 16.3415 3.48013C16.29 3.42867 16.2287 3.38811 16.1612 3.36089C16.0937 3.33366 16.0214 3.32034 15.9486 3.3217ZM8.98259 13.4099C9.0552 13.4099 9.12709 13.3956 9.19413 13.3677C9.26118 13.3399 9.32206 13.299 9.37329 13.2476C9.42451 13.1961 9.46506 13.1351 9.49262 13.0679C9.52017 13.0007 9.53419 12.9288 9.53386 12.8562V6.98513C9.53386 6.83893 9.47578 6.69871 9.3724 6.59533C9.26901 6.49194 9.1288 6.43386 8.98259 6.43386C8.83638 6.43386 8.69617 6.49194 8.59278 6.59533C8.4894 6.69871 8.43132 6.83893 8.43132 6.98513V12.8562C8.43099 12.9288 8.44501 13.0007 8.47256 13.0679C8.50012 13.1351 8.54067 13.1961 8.5919 13.2476C8.64312 13.299 8.704 13.3399 8.77105 13.3677C8.8381 13.3956 8.90999 13.4099 8.98259 13.4099ZM6.40916 13.4099C6.55603 13.4099 6.69689 13.3516 6.80074 13.2477C6.90459 13.1439 6.96294 13.003 6.96294 12.8562V6.98513C6.96804 6.90945 6.95753 6.83352 6.93208 6.76206C6.90662 6.6906 6.86675 6.62513 6.81494 6.56972C6.76314 6.5143 6.7005 6.47012 6.63091 6.43992C6.56133 6.40971 6.48628 6.39413 6.41042 6.39413C6.33456 6.39413 6.25951 6.40971 6.18992 6.43992C6.12033 6.47012 6.05769 6.5143 6.00589 6.56972C5.95408 6.62513 5.91421 6.6906 5.88876 6.76206C5.8633 6.83352 5.85279 6.90945 5.85789 6.98513V12.8562C5.86167 13.0014 5.92088 13.1397 6.02339 13.2427C6.1259 13.3457 6.26393 13.4055 6.40916 13.4099ZM11.556 13.4099C11.7025 13.4093 11.8427 13.3506 11.946 13.2469C12.0493 13.1431 12.1073 13.0026 12.1073 12.8562V6.98513C12.1124 6.90945 12.1019 6.83352 12.0764 6.76206C12.051 6.6906 12.0111 6.62513 11.9593 6.56972C11.9075 6.5143 11.8448 6.47012 11.7753 6.43992C11.7057 6.40971 11.6306 6.39413 11.5548 6.39413C11.4789 6.39413 11.4039 6.40971 11.3343 6.43992C11.2647 6.47012 11.202 6.5143 11.1502 6.56972C11.0984 6.62513 11.0586 6.6906 11.0331 6.76206C11.0076 6.83352 10.9971 6.90945 11.0022 6.98513V12.8562C11.0022 13.003 11.0606 13.1439 11.1644 13.2477C11.2683 13.3516 11.4091 13.4099 11.556 13.4099Z" fill="#41464F"/>
119
+ </svg>
120
+ `,Lf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
121
+ <path d="M6.82895 1.5H15.1184C15.4848 1.5 15.8362 1.64556 16.0953 1.90466C16.3544 2.16375 16.5 2.51516 16.5 2.88158V11.1711C16.5 11.5375 16.3544 11.8889 16.0953 12.148C15.8362 12.4071 15.4848 12.5526 15.1184 12.5526H6.82895C6.46253 12.5526 6.11112 12.4071 5.85202 12.148C5.59293 11.8889 5.44737 11.5375 5.44737 11.1711V2.88158C5.44737 2.51516 5.59293 2.16375 5.85202 1.90466C6.11112 1.64556 6.46253 1.5 6.82895 1.5ZM6.82895 2.68421C6.7766 2.68421 6.7264 2.705 6.68939 2.74202C6.65237 2.77903 6.63158 2.82923 6.63158 2.88158V11.1711C6.63158 11.197 6.63668 11.2226 6.6466 11.2466C6.65652 11.2705 6.67106 11.2923 6.68939 11.3106C6.70771 11.3289 6.72947 11.3435 6.75342 11.3534C6.77736 11.3633 6.80303 11.3684 6.82895 11.3684H15.1184C15.1708 11.3684 15.221 11.3476 15.258 11.3106C15.295 11.2736 15.3158 11.2234 15.3158 11.1711V2.88158C15.3158 2.82923 15.295 2.77903 15.258 2.74202C15.221 2.705 15.1708 2.68421 15.1184 2.68421H6.82895ZM11.3684 13.7368C11.3684 13.5798 11.4308 13.4292 11.5418 13.3182C11.6529 13.2071 11.8035 13.1447 11.9605 13.1447C12.1176 13.1447 12.2682 13.2071 12.3792 13.3182C12.4902 13.4292 12.5526 13.5798 12.5526 13.7368V15.1184C12.5526 15.4848 12.4071 15.8362 12.148 16.0953C11.8889 16.3544 11.5375 16.5 11.1711 16.5H2.88158C2.51516 16.5 2.16375 16.3544 1.90466 16.0953C1.64556 15.8362 1.5 15.4848 1.5 15.1184V6.82895C1.5 6.46253 1.64556 6.11112 1.90466 5.85202C2.16375 5.59293 2.51516 5.44737 2.88158 5.44737H4.26316C4.42019 5.44737 4.5708 5.50975 4.68184 5.62079C4.79288 5.73183 4.85526 5.88244 4.85526 6.03947C4.85526 6.19651 4.79288 6.34711 4.68184 6.45816C4.5708 6.5692 4.42019 6.63158 4.26316 6.63158H2.88158C2.82923 6.63158 2.77903 6.65237 2.74202 6.68939C2.705 6.7264 2.68421 6.7766 2.68421 6.82895V15.1184C2.68421 15.1708 2.705 15.221 2.74202 15.258C2.77903 15.295 2.82923 15.3158 2.88158 15.3158H11.1711C11.2234 15.3158 11.2736 15.295 11.3106 15.258C11.3476 15.221 11.3684 15.1708 11.3684 15.1184V13.7368Z" fill="#41464F"/>
122
+ </svg>
123
+ `,Af=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
124
+ <path d="M9 14.4245L10.9395 12.5756C11.0432 12.4767 11.181 12.4215 11.3244 12.4215H15.3843V4.1157H2.6157V12.4215H6.67562C6.81895 12.4215 6.95679 12.4767 7.06054 12.5756L9 14.4245ZM9.38492 15.599C9.16943 15.8045 8.83057 15.8045 8.61508 15.599L6.45232 13.5372H2.05785C1.74976 13.5372 1.5 13.2874 1.5 12.9793V3.55785C1.5 3.24976 1.74976 3 2.05785 3H15.9421C16.2502 3 16.5 3.24976 16.5 3.55785V12.9793C16.5 13.2874 16.2502 13.5372 15.9421 13.5372H11.5477L9.38492 15.599ZM5.96281 9.13636C5.48355 9.13636 5.09504 8.74785 5.09504 8.26859C5.09504 7.78934 5.48355 7.40083 5.96281 7.40083C6.44207 7.40083 6.83058 7.78934 6.83058 8.26859C6.83058 8.74785 6.44207 9.13636 5.96281 9.13636ZM9 9.13636C8.52074 9.13636 8.13223 8.74785 8.13223 8.26859C8.13223 7.78934 8.52074 7.40083 9 7.40083C9.47926 7.40083 9.86777 7.78934 9.86777 8.26859C9.86777 8.74785 9.47926 9.13636 9 9.13636ZM12.0372 9.13636C11.5579 9.13636 11.1694 8.74785 11.1694 8.26859C11.1694 7.78934 11.5579 7.40083 12.0372 7.40083C12.5164 7.40083 12.905 7.78934 12.905 8.26859C12.905 8.74785 12.5164 9.13636 12.0372 9.13636Z" fill="#41464F"/>
125
+ </svg>
126
+ `,xf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
127
+ <path d="M15.435 12.8544C15.3582 12.9824 15.2338 13.0745 15.089 13.1107C14.9443 13.1469 14.7911 13.1241 14.6632 13.0473C14.5352 12.9705 14.443 12.846 14.4069 12.7013C14.3707 12.5565 14.3935 12.4034 14.4703 12.2754C15.0642 11.2862 15.377 10.1538 15.375 9C15.375 5.47912 12.5209 2.625 9 2.625C5.47913 2.625 2.625 5.47912 2.625 9C2.625 12.5209 5.47913 15.375 9 15.375C10.1536 15.377 11.2859 15.0644 12.2751 14.4707C12.3384 14.4327 12.4086 14.4075 12.4817 14.3967C12.5547 14.3858 12.6292 14.3894 12.7009 14.4073C12.7726 14.4252 12.84 14.4571 12.8993 14.5011C12.9587 14.545 13.0088 14.6003 13.0468 14.6636C13.0848 14.727 13.11 14.7972 13.1208 14.8702C13.1317 14.9433 13.1281 15.0178 13.1102 15.0895C13.0923 15.1611 13.0604 15.2286 13.0164 15.2879C12.9725 15.3473 12.9172 15.3974 12.8539 15.4354C11.6899 16.134 10.3575 16.5021 9 16.5C4.85794 16.5 1.5 13.1421 1.5 9C1.5 4.85794 4.85794 1.5 9 1.5C13.1421 1.5 16.5 4.85794 16.5 9C16.5 10.3762 16.1282 11.6994 15.435 12.8544ZM6.58444 8.60362L8.067 10.08L11.4144 6.7275C11.5199 6.62193 11.6629 6.56256 11.8121 6.56245C11.9613 6.56235 12.1044 6.62151 12.21 6.72694C12.3156 6.83236 12.3749 6.9754 12.375 7.1246C12.3752 7.2738 12.316 7.41693 12.2106 7.5225L8.46619 11.2725C8.36087 11.378 8.21798 11.4374 8.06892 11.4376C7.91986 11.4378 7.77681 11.3788 7.67119 11.2736L5.79056 9.40069C5.73755 9.34871 5.69535 9.28675 5.66639 9.21839C5.63744 9.15003 5.62231 9.07661 5.62186 9.00237C5.62142 8.92813 5.63568 8.85453 5.66382 8.78583C5.69196 8.71713 5.73342 8.65467 5.78581 8.60207C5.8382 8.54947 5.90049 8.50776 5.96908 8.47935C6.03767 8.45093 6.1112 8.43638 6.18545 8.43652C6.25969 8.43667 6.33317 8.45151 6.40165 8.48019C6.47013 8.50887 6.53225 8.55082 6.58444 8.60362Z" fill="#41464F"/>
128
+ </svg>
129
+ `,$c=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
130
+ <path d="M15.3146 9.39413C15.3146 9.23711 15.377 9.08652 15.4881 8.97548C15.5991 8.86445 15.7497 8.80207 15.9067 8.80207C16.0637 8.80207 16.2143 8.86445 16.3254 8.97548C16.4364 9.08652 16.4988 9.23711 16.4988 9.39413V14.3279C16.4988 15.5268 15.5268 16.4988 14.3279 16.4988H3.67087C2.47196 16.4988 1.5 15.5268 1.5 14.3279V4.26297C1.5 3.06406 2.47196 2.0921 3.67087 2.0921H8.80203C8.95905 2.0921 9.10964 2.15448 9.22068 2.26551C9.33171 2.37654 9.39408 2.52713 9.39408 2.68416C9.39408 2.84118 9.33171 2.99177 9.22068 3.1028C9.10964 3.21384 8.95905 3.27621 8.80203 3.27621H3.67087C3.40917 3.27621 3.15818 3.38018 2.97313 3.56523C2.78807 3.75028 2.68411 4.00127 2.68411 4.26297V14.3279C2.68411 14.5896 2.78807 14.8406 2.97313 15.0257C3.15818 15.2107 3.40917 15.3147 3.67087 15.3147H14.3279C14.5896 15.3147 14.8406 15.2107 15.0256 15.0257C15.2107 14.8406 15.3146 14.5896 15.3146 14.3279V9.39413ZM14.5365 4.26297L12.8752 2.49786C12.7676 2.38349 12.7098 2.23106 12.7146 2.0741C12.7193 1.91714 12.7863 1.7685 12.9006 1.66089C13.015 1.55327 13.1674 1.4955 13.3244 1.50027C13.4814 1.50505 13.63 1.57198 13.7376 1.68635L16.3379 4.44928C16.6935 4.82701 16.4255 5.44709 15.9067 5.44709H12.9348C11.4237 5.44709 10.1835 6.76461 10.1835 8.40737V11.9597C10.1835 12.1167 10.1211 12.2673 10.0101 12.3784C9.89905 12.4894 9.74846 12.5518 9.59144 12.5518C9.43441 12.5518 9.28382 12.4894 9.17279 12.3784C9.06176 12.2673 8.99938 12.1167 8.99938 11.9597V8.40737C8.99938 6.12618 10.7531 4.26297 12.9348 4.26297H14.5365Z" fill="#41464F"/>
131
+ </svg>
132
+ `,kf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
133
+ <path d="M16.4182 15.6966L13.6824 9.83897C13.6381 9.76494 13.5754 9.70365 13.5004 9.66109C13.4254 9.61853 13.3406 9.59616 13.2544 9.59616C13.1682 9.59616 13.0834 9.61853 13.0084 9.66109C12.9334 9.70365 12.8707 9.76494 12.8265 9.83897L10.1664 15.6966C10.1332 15.7544 10.1127 15.8185 10.1061 15.8848C10.0996 15.9511 10.1073 16.018 10.1286 16.0811C10.1499 16.1442 10.1843 16.2021 10.2297 16.2509C10.275 16.2997 10.3302 16.3383 10.3916 16.3641C10.5069 16.4132 10.6365 16.4162 10.7539 16.3724C10.8712 16.3287 10.9673 16.2416 11.0223 16.1291L11.9615 14.1072H14.6223L15.5631 16.1291C15.6404 16.2973 15.8101 16.4039 15.9955 16.4016C16.0607 16.4151 16.1279 16.4151 16.193 16.4016C16.26 16.3769 16.3204 16.3372 16.3698 16.2855C16.4191 16.2339 16.456 16.1717 16.4777 16.1037C16.4995 16.0357 16.5054 15.9636 16.4951 15.8929C16.4848 15.8223 16.4585 15.7549 16.4182 15.6959V15.6966ZM12.385 13.1297L13.325 11.1551L14.265 13.1297H12.385ZM13.5697 6.02196C13.8926 6.56403 14.0728 7.17818 14.096 7.80884L13.4286 7.25326C13.3311 7.17729 13.2076 7.14266 13.0848 7.15683C12.962 7.17099 12.8497 7.23282 12.772 7.32899C12.6944 7.42516 12.6576 7.54798 12.6696 7.67101C12.6816 7.79404 12.7414 7.90744 12.8362 7.98678L14.2462 9.14299C14.327 9.21319 14.4313 9.25021 14.5382 9.2466C14.6476 9.24961 14.7543 9.21279 14.8386 9.14299L16.2681 7.98678C16.3648 7.90922 16.427 7.79658 16.441 7.67339C16.4551 7.55021 16.4199 7.42645 16.3431 7.32909C16.2638 7.23149 16.1494 7.16894 16.0244 7.1549C15.8994 7.14086 15.7739 7.17645 15.6749 7.25401L15.0368 7.77956C15.0048 6.55237 14.4941 5.38637 13.6137 4.53083C12.7333 3.67529 11.5532 3.19809 10.3256 3.20125C10.2009 3.20125 10.0814 3.25077 9.99324 3.33891C9.9051 3.42705 9.85558 3.54659 9.85558 3.67124C9.85558 3.79589 9.9051 3.91544 9.99324 4.00358C10.0814 4.09172 10.2009 4.14124 10.3256 4.14124C10.9835 4.14371 11.6292 4.31868 12.1983 4.64869C12.7674 4.97871 13.24 5.45222 13.569 6.02196H13.5697ZM9.50796 15.4241C8.53284 15.4247 7.59559 15.0466 6.89386 14.3695C6.19213 13.6924 5.78077 12.7693 5.74651 11.7948L6.41471 12.3399C6.45267 12.4047 6.5056 12.4594 6.56908 12.4996C6.63256 12.5397 6.70473 12.564 6.77955 12.5705C6.85437 12.577 6.92966 12.5655 6.99911 12.5369C7.06857 12.5084 7.13016 12.4636 7.17873 12.4063C7.2273 12.349 7.26144 12.2809 7.27828 12.2077C7.29513 12.1345 7.29418 12.0584 7.27554 11.9856C7.25689 11.9129 7.22108 11.8456 7.17111 11.7896C7.12113 11.7335 7.05845 11.6902 6.98832 11.6634L5.58734 10.4599C5.5036 10.3919 5.39902 10.3548 5.29116 10.3548C5.1833 10.3548 5.07872 10.3919 4.99497 10.4599L3.55721 11.6634C3.46047 11.7409 3.3983 11.8536 3.38424 11.9768C3.37018 12.1 3.40536 12.2237 3.48213 12.3211C3.57222 12.4314 3.70662 12.4968 3.84851 12.4998C3.95739 12.4984 4.06294 12.4621 4.14958 12.3962L4.78925 11.8706C4.83074 13.0893 5.34414 14.2441 6.22107 15.0913C7.098 15.9386 8.26984 16.4119 9.48919 16.4114C9.55104 16.4115 9.6123 16.3994 9.66946 16.3757C9.72661 16.3521 9.77855 16.3175 9.82228 16.2737C9.86601 16.23 9.90068 16.1781 9.92431 16.1209C9.94793 16.0637 9.96004 16.0025 9.95994 15.9406C9.96494 15.8769 9.95717 15.8129 9.93708 15.7522C9.917 15.6916 9.885 15.6356 9.84297 15.5875C9.80094 15.5393 9.74972 15.5001 9.69232 15.4721C9.63492 15.444 9.5725 15.4277 9.50871 15.4241H9.50796ZM6.95303 8.52359C6.84622 8.52123 6.74469 8.47672 6.67056 8.39979C6.59644 8.32285 6.55575 8.21973 6.55736 8.11291V3.95805C6.55736 3.73131 6.73605 3.54661 6.95303 3.54661C7.17001 3.54661 7.34794 3.73131 7.34794 3.95805V8.11291C7.34794 8.33815 7.17076 8.52359 6.95303 8.52359ZM8.61227 7.45447C8.50547 7.45191 8.40401 7.40721 8.33002 7.33014C8.25604 7.25306 8.21554 7.14986 8.21736 7.04304V5.17057C8.21736 4.94383 8.39604 4.75914 8.61302 4.75914C8.83 4.75914 9.00794 4.94383 9.00794 5.17057V7.04229C9.00956 7.14905 8.96899 7.25214 8.89505 7.32918C8.82111 7.40621 8.71976 7.45096 8.61302 7.45372L8.61227 7.45447ZM1.89496 7.45447C1.78822 7.45171 1.68688 7.40696 1.61294 7.32993C1.539 7.25289 1.49843 7.1498 1.50005 7.04304V5.17057C1.50005 4.94383 1.67798 4.75914 1.89496 4.75914C2.11269 4.75914 2.29063 4.94383 2.29063 5.17057V7.04229C2.31015 7.26752 2.13221 7.45372 1.89496 7.45372V7.45447ZM3.57448 8.54462C3.4676 8.54205 3.36607 8.49739 3.29197 8.42033C3.21787 8.34328 3.1772 8.24007 3.17881 8.13318V3.97832C3.1772 3.87142 3.21787 3.76822 3.29197 3.69117C3.36607 3.61411 3.4676 3.56945 3.57448 3.56688C3.68122 3.56964 3.78256 3.61439 3.8565 3.69143C3.93044 3.76846 3.97101 3.87155 3.96939 3.97832V8.13318C3.97101 8.23995 3.93044 8.34304 3.8565 8.42007C3.78256 8.49711 3.68122 8.54186 3.57448 8.54462ZM5.25399 9.75789C5.14719 9.75533 5.04573 9.71064 4.97175 9.63356C4.89776 9.55648 4.85726 9.45328 4.85908 9.34646V2.66143C4.85908 2.43469 5.03626 2.25 5.25399 2.25C5.47172 2.25 5.64891 2.43469 5.64891 2.66143V9.34646C5.65072 9.45328 5.61022 9.55648 5.53624 9.63356C5.46226 9.71064 5.3608 9.75533 5.25399 9.75789Z" fill="#41464F" stroke="#41464F" stroke-width="0.15"/>
134
+ </svg>
135
+ `,Uf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
136
+ <path d="M5.29102 10.3545C5.39888 10.3545 5.50414 10.392 5.58789 10.46L6.98828 11.6631C7.05842 11.6899 7.12093 11.734 7.1709 11.79C7.22075 11.846 7.25674 11.9128 7.27539 11.9854C7.29404 12.0581 7.29516 12.1348 7.27832 12.208C7.26145 12.2811 7.22722 12.349 7.17871 12.4062C7.13014 12.4635 7.06847 12.5085 6.99902 12.5371C6.92962 12.5656 6.85405 12.5768 6.7793 12.5703C6.70473 12.5638 6.63264 12.54 6.56934 12.5C6.50589 12.4599 6.45299 12.4046 6.41504 12.3398L5.74609 11.7949C5.78037 12.7692 6.19208 13.6921 6.89355 14.3691C7.59529 15.0462 8.53367 15.4244 9.50879 15.4238C9.57252 15.4274 9.63503 15.4437 9.69238 15.4717C9.74978 15.4997 9.80074 15.5398 9.84277 15.5879C9.88472 15.6359 9.91743 15.6914 9.9375 15.752C9.95756 15.8125 9.96493 15.8768 9.95996 15.9404C9.96006 16.0023 9.94843 16.0639 9.9248 16.1211C9.9012 16.1782 9.86595 16.2297 9.82227 16.2734C9.7786 16.3171 9.72698 16.3524 9.66992 16.376C9.61276 16.3996 9.5511 16.4112 9.48926 16.4111C8.26991 16.4116 7.09764 15.939 6.2207 15.0918C5.34388 14.2447 4.83066 13.0896 4.78906 11.8711L4.14941 12.3965C4.06284 12.4623 3.95736 12.4986 3.84863 12.5C3.70683 12.497 3.57252 12.4315 3.48242 12.3213C3.40565 12.2239 3.3707 12.0998 3.38477 11.9766C3.39889 11.8535 3.46095 11.7406 3.55762 11.6631L4.99512 10.46C5.07881 10.392 5.18323 10.3545 5.29102 10.3545ZM11.8398 14.3691L11.0225 16.1289C10.9675 16.2414 10.8712 16.3283 10.7539 16.3721C10.6366 16.4158 10.5068 16.4133 10.3916 16.3643C10.3302 16.3384 10.2748 16.2998 10.2295 16.251C10.1842 16.2022 10.1502 16.1441 10.1289 16.0811C10.1076 16.0179 10.0999 15.9511 10.1064 15.8848C10.113 15.8185 10.1328 15.754 10.166 15.6963L11.1133 13.6123L11.8398 14.3691ZM13.2324 9.5498C13.3186 9.5498 13.4035 9.57272 13.4785 9.61523C13.5535 9.65779 13.6169 9.71894 13.6611 9.79297L15.501 13.7568L13.6611 11.9102L13.1533 11.3926L12.4131 10.665L12.8047 9.79297C12.8489 9.71894 12.9123 9.65779 12.9873 9.61523C13.0621 9.57281 13.1464 9.54988 13.2324 9.5498ZM13.1621 11.4004L13.6436 11.8799L13.3359 11.1348L13.1621 11.4004ZM5.64941 8.13281V9.34668C5.65117 9.45342 5.61006 9.55677 5.53613 9.63379C5.46217 9.71074 5.36062 9.75525 5.25391 9.75781C5.14718 9.75521 5.04562 9.71079 4.97168 9.63379C4.89775 9.55677 4.85762 9.45342 4.85938 9.34668V7.33008L5.64941 8.13281ZM10.3252 3.20117C11.5528 3.19801 12.7329 3.67572 13.6133 4.53125C14.4936 5.38673 15.0051 6.5522 15.0371 7.7793L15.6748 7.25391C15.7738 7.17635 15.8994 7.14123 16.0244 7.15527C16.1493 7.16931 16.2635 7.23162 16.3428 7.3291C16.4195 7.42647 16.4555 7.55064 16.4414 7.67383C16.4273 7.79666 16.3649 7.90887 16.2686 7.98633L14.8389 9.14258C14.7546 9.21238 14.6474 9.25008 14.5381 9.24707C14.4312 9.25061 14.3268 9.21272 14.2461 9.14258L12.8359 7.98633C12.7414 7.907 12.6819 7.79375 12.6699 7.6709C12.6579 7.5479 12.6948 7.42525 12.7725 7.3291C12.8501 7.233 12.9622 7.17138 13.085 7.15723C13.2077 7.14308 13.3312 7.17704 13.4287 7.25293L14.0957 7.80859C14.0753 7.25692 13.9356 6.71771 13.6846 6.22852L13.5693 6.02148C13.2404 5.45184 12.7673 4.97841 12.1982 4.64844C11.6292 4.3185 10.983 4.14407 10.3252 4.1416C10.2007 4.14149 10.0812 4.09188 9.99316 4.00391C9.90502 3.91577 9.85547 3.79555 9.85547 3.6709C9.85556 3.5464 9.90513 3.42692 9.99316 3.33887C10.0812 3.25083 10.2007 3.20129 10.3252 3.20117ZM3.96973 6.375V8.13281C3.97134 8.23957 3.93037 8.34289 3.85645 8.41992C3.7825 8.49695 3.68096 8.54217 3.57422 8.54492C3.46746 8.54228 3.36602 8.4969 3.29199 8.41992C3.21803 8.34289 3.1771 8.2396 3.17871 8.13281V5.625L3.96973 6.375ZM1.89551 4.75879C2.11302 4.75906 2.29102 4.94433 2.29102 5.1709V7.04199C2.31052 7.26708 2.13252 7.45385 1.89551 7.4541L1.81641 7.44434C1.7395 7.427 1.66871 7.38773 1.61328 7.33008C1.53934 7.25305 1.49838 7.14973 1.5 7.04297V5.1709C1.5 4.94416 1.67853 4.75879 1.89551 4.75879ZM8.61328 4.75879C8.83017 4.7589 9.00781 4.94423 9.00781 5.1709V7.04199C9.00859 7.09345 8.99928 7.14416 8.98145 7.19141L8.21777 6.40723V5.1709C8.21777 4.94416 8.3963 4.75879 8.61328 4.75879ZM6.95312 3.54688C7.17008 3.54689 7.34764 3.7313 7.34766 3.95801V5.54199L6.55762 4.75879V3.95801C6.55764 3.73129 6.73616 3.54688 6.95312 3.54688ZM5.25391 2.25C5.47154 2.25 5.64926 2.43453 5.64941 2.66113V3.73047L4.85938 2.97168V2.66113C4.85953 2.43458 5.03634 2.25008 5.25391 2.25Z" fill="#41464F"/>
137
+ <line x1="2.82577" y1="3.06445" x2="15.5303" y2="15.769" stroke="#41464F" stroke-width="1.125" stroke-linecap="round"/>
138
+ </svg>
139
+ `,Nf=`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
140
+ <path d="M4.1713 6.63079L6.1603 8.49454C6.45182 8.78922 6.75182 9.26682 6.4603 9.56142C6.16855 9.85602 5.77075 9.85602 5.47915 9.56142L2.4322 6.47577C2.20082 6.24267 2.18395 5.86947 2.41532 5.63637L5.47922 2.50257C5.77082 2.20797 6.1687 2.20797 6.4603 2.50257C6.7519 2.79717 6.4519 3.27484 6.1603 3.56937L4.19717 5.50579H10.8923C13.5855 5.50579 15.7499 7.84159 15.7499 10.5285C15.7499 13.2154 13.5854 15.7817 10.8923 15.7817H3.75212C3.34225 15.7817 2.99837 15.5914 2.99837 15.1817C2.99837 14.7719 3.34225 14.6566 3.75212 14.6566H10.8329C12.6392 14.6566 14.6247 12.3306 14.6247 10.5285C14.6247 8.72629 12.6392 6.63094 10.8329 6.63094H4.1713V6.63079Z" fill="#41464F"/>
141
+ </svg>
142
+ `,Df=`<svg width="29" height="34" viewBox="0 0 29 34" fill="none" xmlns="http://www.w3.org/2000/svg">
143
+ <path d="M1.6875 0C1.2654 0 0.8154 0.16875 0.50625 0.50625C0.19665 0.84375 0 1.26585 0 1.6875V32.0625C0 32.4846 0.16875 32.9346 0.50625 33.2437C0.84375 33.5812 1.26585 33.75 1.6875 33.75H26.4375C26.8596 33.75 27.3096 33.5812 27.6187 33.2437C27.9562 32.9062 28.125 32.4841 28.125 32.0625V9.5625L18.5625 0H1.6875Z" fill="#7DAAFF"/>
144
+ <path d="M28.125 9.5625H20.25C19.8279 9.5625 19.3779 9.39375 19.0688 9.05625C18.7313 8.74665 18.5625 8.29665 18.5625 7.875V0L28.125 9.5625Z" fill="white" fill-opacity="0.5"/>
145
+ </svg>
146
+ `,Pf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
147
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#02DBDB"/>
148
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
149
+ <path d="M36.8735 20.3282L25.0626 22.3012C25.0243 22.3073 24.9886 22.3185 24.9538 22.3318H24.5272C24.2363 22.3318 24.0051 22.5645 24.0051 22.8514V36.3531C23.5443 36.0866 23.0084 35.9346 22.4373 35.9346C20.7057 35.9346 19.3018 37.335 19.3018 39.063C19.3018 40.791 20.7057 42.1914 22.4373 42.1914C24.1689 42.1914 25.5729 40.791 25.5729 39.063C25.5729 38.9364 25.5652 38.8118 25.5509 38.6904C25.5652 38.6424 25.5729 38.5924 25.5729 38.5393V27.5588L36.5474 25.6235V33.2236C36.0865 32.9582 35.5506 32.8051 34.9796 32.8051C33.2479 32.8051 31.844 34.2065 31.844 35.9345C31.844 37.6616 33.2479 39.063 34.9796 39.063C36.7112 39.063 38.1151 37.6616 38.1151 35.9345C38.1151 35.808 38.1075 35.6834 38.0932 35.561C38.1075 35.513 38.1151 35.4629 38.1151 35.4099V20.811C38.1151 20.5558 37.9299 20.3424 37.6859 20.2996C37.6007 20.2465 37.4935 20.2251 37.3756 20.2445L37.098 20.2914H37.0694C37 20.2914 36.9337 20.3047 36.8735 20.3282Z" fill="white"/>
150
+ </svg>
151
+ `,Vf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
152
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#8CD167"/>
153
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
154
+ <path d="M29.3858 28.1802L25.5663 21.8514C25.4303 21.6289 25.1893 21.4929 24.9297 21.4929H22.5564C22.4142 21.4929 22.2783 21.53 22.1608 21.6103C21.8147 21.8267 21.7097 22.284 21.9322 22.6363L27.0187 30.6956L21.8642 38.9033C21.79 39.0207 21.7529 39.1567 21.7529 39.2989C21.7529 39.7068 22.0867 40.0405 22.4946 40.0405H24.6268C24.8864 40.0405 25.1213 39.9045 25.2573 39.6882L29.1324 33.415L32.9828 39.682C33.1188 39.9045 33.3599 40.0343 33.6133 40.0343H35.9309C36.0731 40.0343 36.209 39.9911 36.3327 39.9169C36.6788 39.6944 36.7777 39.2371 36.5552 38.8909L31.3636 30.8316L36.6355 22.6425C36.7097 22.5251 36.7529 22.3829 36.7529 22.2408C36.7529 21.8328 36.4192 21.4991 36.0113 21.4991H33.8048C33.5453 21.4991 33.3042 21.6351 33.1683 21.8576L29.3858 28.1802Z" fill="white"/>
155
+ </svg>
156
+ `,$f=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
157
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#526AF0"/>
158
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
159
+ <path d="M40 20.9375H17.5C16.9823 20.9375 16.5625 21.3573 16.5625 21.875V40.625C16.5625 41.1427 16.9823 41.5625 17.5 41.5625H40C40.5177 41.5625 40.9375 41.1427 40.9375 40.625V21.875C40.9375 21.3573 40.5177 20.9375 40 20.9375ZM39.0625 22.8125V36.6409L32.4062 31.6487C31.9091 31.2761 31.2162 31.2761 30.719 31.6487L27.831 33.8144L23.9805 30.7341C23.4979 30.3477 22.83 30.3184 22.3161 30.6641L18.4375 33.2721V22.8125H39.0625ZM18.4375 39.6875V35.532L23.077 32.4125L27.7943 36.1859L31.5625 33.3594L39.0625 38.9844V39.6875H18.4375Z" fill="white"/>
160
+ <path d="M34.375 30.3125C35.926 30.3125 37.1875 29.051 37.1875 27.5C37.1875 25.949 35.926 24.6875 34.375 24.6875C32.824 24.6875 31.5625 25.949 31.5625 27.5C31.5625 29.051 32.824 30.3125 34.375 30.3125ZM34.375 26.5625C34.8918 26.5625 35.3125 26.9832 35.3125 27.5C35.3125 28.0168 34.8918 28.4375 34.375 28.4375C33.8582 28.4375 33.4375 28.0168 33.4375 27.5C33.4375 26.9832 33.8582 26.5625 34.375 26.5625Z" fill="white"/>
161
+ </svg>
162
+ `,Ff=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
163
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#C2D7FF"/>
164
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
165
+ <path d="M20.7544 33.3423C18.9575 33.3423 17.5 31.8848 17.5 30.0879C17.5 28.291 18.9575 26.8335 20.7544 26.8335C22.5513 26.8335 24.0088 28.291 24.0088 30.0879C24.0088 31.8848 22.5513 33.3423 20.7544 33.3423ZM30 33.3423C28.2031 33.3423 26.7456 31.8848 26.7456 30.0879C26.7456 28.291 28.2031 26.8335 30 26.8335C31.7969 26.8335 33.2544 28.291 33.2544 30.0879C33.2544 31.8848 31.7969 33.3423 30 33.3423ZM39.2456 33.3423C37.4487 33.3423 35.9912 31.8848 35.9912 30.0879C35.9912 28.291 37.4487 26.8335 39.2456 26.8335C41.0425 26.8335 42.5 28.291 42.5 30.0879C42.5 31.8848 41.0425 33.3423 39.2456 33.3423Z" fill="white"/>
166
+ </svg>
167
+ `,Hf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
168
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#FF5F59"/>
169
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
170
+ <path d="M40.7806 49.4068C37.8271 49.4068 35.2021 44.3443 33.7959 41.063C31.4529 40.0783 28.8744 39.188 26.3904 38.5783C24.1869 40.0318 20.4834 42.188 17.6244 42.188C15.8431 42.188 14.5771 41.297 14.1084 39.7505C13.7334 38.4845 14.0619 37.5943 14.4369 37.1255C15.1869 36.0943 16.7341 35.5783 19.0779 35.5783C20.9529 35.5783 23.3431 35.9068 26.0154 36.563C27.7494 35.3443 29.4834 33.938 31.0306 32.438C30.3271 29.1568 29.5771 23.8595 31.4994 21.422C32.4369 20.2505 33.8904 19.8755 35.6244 20.3908C37.5466 20.9533 38.2494 22.1255 38.4841 23.0158C39.2806 26.2033 35.6244 30.5158 33.1396 33.047C33.7021 35.2505 34.4056 37.547 35.2966 39.6568C38.8591 41.2505 43.0771 43.5943 43.5466 46.1728C43.7341 47.063 43.4521 47.9068 42.7494 48.6103C42.1396 49.1255 41.4834 49.4068 40.7806 49.4068ZM36.4209 42.2818C38.2029 45.8915 39.8904 47.579 40.7806 47.579C40.9216 47.579 41.1091 47.5318 41.3904 47.297C41.7181 46.9693 41.7181 46.7345 41.6709 46.547C41.4834 45.6095 39.9834 44.063 36.4209 42.2818ZM19.0779 37.4533C16.7806 37.4533 16.1244 38.0158 15.9369 38.2505C15.8896 38.3443 15.7021 38.579 15.8896 39.2353C16.0306 39.7978 16.4056 40.3603 17.6244 40.3603C19.1244 40.3603 21.2806 39.5158 23.8119 38.0158C21.9834 37.6408 20.3896 37.4533 19.0771 37.4533H19.0779ZM28.3591 37.1728C29.8591 37.5943 31.4056 38.1103 32.8591 38.6728C32.3431 37.313 31.9216 35.9068 31.5466 34.5478C30.5053 35.4481 29.4425 36.3234 28.3591 37.1728ZM34.1716 22.0318C33.6556 22.0318 33.2806 22.2193 32.9521 22.5943C31.9681 23.813 31.8744 26.9068 32.6244 30.8443C35.4841 27.797 37.0306 24.9845 36.6556 23.4845C36.6084 23.2505 36.4209 22.5943 35.1084 22.2193C34.7334 22.0783 34.4529 22.0318 34.1709 22.0318H34.1716Z" fill="white"/>
171
+ </svg>
172
+ `,Gf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
173
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#FF5F59"/>
174
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
175
+ <path d="M23.8582 20.7605C23.5409 20.7605 23.2812 21.0201 23.2812 21.3374V41.2413C23.2812 41.5586 23.5409 41.8182 23.8582 41.8182H26.2019C26.5192 41.8182 26.7788 41.5586 26.7788 41.2413V34.3542H31.3437C35.6274 34.3542 38.2812 31.549 38.2812 27.5682C38.2812 23.6379 35.6635 20.7677 31.3582 20.7677H23.8582V20.7605ZM34.7187 27.561C34.7187 30.6908 32.8077 31.4768 29.5841 31.4768H26.7788V23.6595H30.8317C33.2692 23.6595 34.7187 25.0802 34.7187 27.561Z" fill="white"/>
176
+ </svg>
177
+ `,Bf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
178
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#59B7FF"/>
179
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
180
+ <rect x="15" y="25" width="20" height="3.75" rx="1.875" fill="white"/>
181
+ <rect x="15" y="35" width="30" height="3.75" rx="1.875" fill="white"/>
182
+ </svg>
183
+ `,jf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
184
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#B459FF"/>
185
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
186
+ <path d="M37.444 32.1272L25.6398 39.9967C24.3964 40.8231 23.3765 40.2796 23.3765 38.7832V22.4486C23.3765 20.9522 24.3964 20.4049 25.6398 21.2388L37.444 29.112C38.6873 29.9347 38.6873 31.2971 37.444 32.1272Z" fill="white"/>
187
+ </svg>
188
+ `,Kf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
189
+ <path d="M9.375 1.875C8.6715 1.875 7.9215 2.15625 7.40625 2.71875C6.89025 3.28125 6.5625 3.98475 6.5625 4.6875V55.3125C6.5625 56.016 6.84375 56.766 7.40625 57.2812C7.96875 57.8438 8.67225 58.125 9.375 58.125H50.625C51.3285 58.125 52.0785 57.8438 52.5938 57.2812C53.1562 56.7188 53.4375 56.0153 53.4375 55.3125V17.8125L37.5 1.875H9.375Z" fill="#297BFF"/>
190
+ <path d="M53.4375 17.8125H40.3125C39.609 17.8125 38.859 17.5312 38.3438 16.9688C37.7813 16.4528 37.5 15.7028 37.5 15V1.875L53.4375 17.8125Z" fill="white" fill-opacity="0.5"/>
191
+ <path d="M29.5003 29.7974L32.7548 41.9377C32.7969 42.0949 32.8898 42.2339 33.0189 42.3329C33.148 42.432 33.3062 42.4857 33.469 42.4857H35.4274C35.59 42.4857 35.748 42.4321 35.8771 42.3332C36.0062 42.2343 36.0991 42.0957 36.1414 41.9387L40.7245 24.9309C40.7414 24.8681 40.75 24.8035 40.75 24.7385C40.75 24.3301 40.4189 23.999 40.0105 23.999H37.8183C37.6509 23.999 37.4886 24.0558 37.3577 24.16C37.2268 24.2642 37.1351 24.4097 37.0976 24.5727L34.2759 36.842L31.2096 24.5594C31.1696 24.3994 31.0773 24.2573 30.9473 24.1558C30.8174 24.0542 30.6572 23.999 30.4922 23.999H28.5085C28.3435 23.999 28.1833 24.0542 28.0533 24.1557C27.9233 24.2573 27.8309 24.3994 27.791 24.5594L24.7308 36.8178L21.8903 24.5714C21.8525 24.4087 21.7608 24.2635 21.63 24.1595C21.4992 24.0556 21.337 23.999 21.1699 23.999H18.9897C18.9248 23.999 18.8603 24.0075 18.7977 24.0244C18.4033 24.1303 18.1695 24.536 18.2755 24.9304L22.8462 41.9382C22.8885 42.0953 22.9813 42.234 23.1104 42.333C23.2395 42.432 23.3976 42.4857 23.5603 42.4857H25.5316C25.6943 42.4857 25.8525 42.432 25.9817 42.3329C26.1108 42.2339 26.2036 42.0949 26.2458 41.9377L29.5003 29.7974Z" fill="white"/>
192
+ </svg>
193
+ `,zf=`<svg width="60" height="60" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
194
+ <path d="M57.0557 39.1914C57.0564 38.1279 56.8473 37.0747 56.4404 36.092C56.0335 35.1094 55.4367 34.2168 54.6843 33.4651C53.9319 32.7135 53.0386 32.1176 52.0556 31.7117C51.0726 31.3058 50.0192 31.0977 48.9557 31.0995H38.1557C33.6831 31.0995 30.0557 34.7377 30.0557 39.1914V55.3995H48.9557C53.4282 55.3995 57.0557 51.7612 57.0557 47.3076V39.1914ZM40.8557 41.8995V44.5995H38.1557V41.8995H40.8557ZM48.9557 41.8995V44.5995H46.2557V41.8995H48.9557Z" fill="#C9D2E8"/>
195
+ <path d="M2.94532 16.3548C2.94428 14.8099 3.248 13.28 3.83907 11.8527C4.43015 10.4254 5.29697 9.12864 6.3899 8.0368C7.48283 6.94496 8.78041 6.07944 10.2083 5.48979C11.6362 4.90015 13.1664 4.59796 14.7113 4.60054H30.3993C36.8961 4.60054 42.1653 9.88543 42.1653 16.3548V39.8985H14.7113C8.21451 39.8985 2.94532 34.6136 2.94532 28.1443V16.3548ZM26.4773 20.2885V24.2105H30.3993V20.2885H26.4773ZM14.7113 20.2885V24.2105H18.6333V20.2885H14.7113Z" fill="#0047FF"/>
196
+ </svg>
197
+ `,qf=`<svg width="13" height="12" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
198
+ <path d="M11.3644 9.20443L8.83787 8.22025C8.83787 8.22025 8.3554 8.03316 8.16893 7.8501C8.04885 7.73095 8.05723 7.45326 8.16365 7.09645C8.27008 6.73995 9.56483 5.29161 9.56483 3.97575C9.56483 1.94441 8.22819 0.296875 6.58096 0.296875C4.93343 0.296875 3.59833 1.94441 3.59833 3.97575C3.59833 5.23638 4.75254 6.73871 4.89464 7.01082C5.03706 7.28447 5.00262 7.70086 4.89061 7.82621C4.72182 8.01578 4.10408 8.20505 4.10408 8.20505L1.82638 9.21963C1.29427 9.41014 0.876953 9.91184 0.876953 10.479V10.7471C0.876953 11.3648 1.37866 11.7434 1.99517 11.7434H11.1931C11.8096 11.7434 12.3123 11.3648 12.3123 10.7471V10.479C12.3138 9.91153 11.8965 9.39462 11.3644 9.20443Z" fill="#BCBCBC"/>
199
+ </svg>
200
+ `,Zf=`<svg width="11" height="11" viewBox="0 0 11 11" fill="none" xmlns="http://www.w3.org/2000/svg">
201
+ <path d="M10.0626 1.54947L8.97368 0.460596L5.15078 4.28331L1.30478 0.4375L0.21582 1.52641L4.06183 5.37222L0.227398 9.20648L1.31632 10.2954L5.15077 6.46113L8.97367 10.2839L10.0626 9.19497L6.23973 5.37222L10.0626 1.54947Z" fill="white"/>
202
+ </svg>
203
+ `,Wf=`<svg width="13" height="11" viewBox="0 0 13 11" fill="none" xmlns="http://www.w3.org/2000/svg">
204
+ <path d="M8.91047 3.14917H2.36044L3.89083 1.61878C4.13568 1.37391 4.13568 1.00662 3.89083 0.761769C3.64597 0.516917 3.27867 0.516903 3.0338 0.761769L0.462758 3.33281C0.401552 3.39402 0.340332 3.45524 0.340332 3.57767V3.82253C0.340332 3.88375 0.340332 3.94496 0.401552 3.94496L0.462758 4.00618C0.462758 4.0674 0.523978 4.0674 0.585198 4.1286L3.15624 6.0875C3.27867 6.14871 3.40109 6.20993 3.52353 6.20993C3.70718 6.20993 3.89083 6.14871 4.01325 5.96506C4.1969 5.72021 4.1969 5.2917 3.89083 5.10805L2.72773 4.37347H8.9717C10.2572 4.37347 11.3591 5.41412 11.3591 6.76087C11.3591 8.10761 10.2572 9.14827 8.91047 9.14827H4.56419C4.1969 9.14827 3.95203 9.39313 3.95203 9.76042C3.95203 10.1277 4.1969 10.3726 4.56419 10.3726H8.91047C10.8694 10.3726 12.5222 8.78097 12.5222 6.76087C12.5222 4.74076 10.9306 3.14917 8.91047 3.14917Z" fill="white"/>
205
+ </svg>
206
+ `,Qf=`<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
207
+ <path d="M5.32359 5.34793H5.32361C5.49247 5.34791 5.6569 5.29379 5.79277 5.19352C5.92865 5.09325 6.02884 4.95209 6.07866 4.79073L6.72513 2.6996L6.72514 2.69956C6.73276 2.67489 6.74807 2.65332 6.76883 2.63799C6.7896 2.62266 6.81473 2.61438 6.84054 2.61437H13.1586C13.1844 2.61438 13.2096 2.62266 13.2303 2.63799C13.2511 2.65332 13.2664 2.6749 13.274 2.69956L13.274 2.69959L13.9205 4.791C13.9704 4.9523 14.0706 5.0934 14.2065 5.19362C14.3423 5.29385 14.5067 5.34792 14.6756 5.34793H16.6057C16.7412 5.34793 16.8754 5.37463 17.0006 5.42649C17.1258 5.47835 17.2396 5.55437 17.3354 5.65021C17.4313 5.74604 17.5073 5.85981 17.5592 5.98502C17.611 6.11023 17.6377 6.24443 17.6377 6.37996V15.4918C17.6377 15.6274 17.611 15.7616 17.5592 15.8868C17.5073 16.012 17.4313 16.1258 17.3354 16.2216C17.2396 16.3174 17.1258 16.3934 17.0006 16.4453C16.8754 16.4972 16.7412 16.5239 16.6057 16.5239H3.39346C3.25794 16.5239 3.12374 16.4972 2.99852 16.4453L2.95759 16.5441L2.99852 16.4453C2.87331 16.3934 2.75954 16.3174 2.66371 16.2216C2.56788 16.1258 2.49186 16.012 2.44 15.8868C2.38813 15.7616 2.36144 15.6274 2.36144 15.4918V6.37996C2.36144 6.24443 2.38813 6.11023 2.44 5.98502C2.49186 5.85981 2.56788 5.74604 2.66371 5.65021C2.75954 5.55437 2.87331 5.47835 2.99852 5.42649C3.12374 5.37463 3.25794 5.34793 3.39346 5.34793H5.32359ZM5.21479 2.23276L5.31698 2.26435L5.21479 2.23277L4.74058 3.76723H3.39346C1.95052 3.76723 0.780734 4.93702 0.780734 6.37996V15.4918C0.780734 16.9348 1.95052 18.1046 3.39346 18.1046H16.6057C18.0486 18.1046 19.2184 16.9348 19.2184 15.4918V6.37996C19.2184 4.93702 18.0486 3.76723 16.6057 3.76723H15.2586L14.7844 2.23277C14.677 1.88545 14.4613 1.58164 14.1687 1.36586C13.8762 1.15007 13.5222 1.03366 13.1587 1.03366H6.84049C6.47697 1.03366 6.12299 1.15007 5.83044 1.36586C5.53789 1.58164 5.32213 1.88545 5.21479 2.23276ZM6.47566 10.4803C6.47566 12.4264 8.05343 14.0042 9.99958 14.0042C11.9457 14.0042 13.5235 12.4264 13.5235 10.4803C13.5235 8.53416 11.9457 6.95639 9.99958 6.95639C8.05343 6.95639 6.47566 8.53416 6.47566 10.4803ZM11.3736 11.8544C11.0092 12.2188 10.515 12.4235 9.99958 12.4235C9.48421 12.4235 8.98994 12.2188 8.62552 11.8544C8.2611 11.4899 8.05637 10.9957 8.05637 10.4803C8.05637 9.96493 8.2611 9.47067 8.62552 9.10625C8.98994 8.74182 9.48421 8.53709 9.99958 8.53709C10.515 8.53709 11.0092 8.74182 11.3736 9.10625C11.7381 9.47067 11.9428 9.96493 11.9428 10.4803C11.9428 10.9957 11.7381 11.4899 11.3736 11.8544Z" fill="white" stroke="#0099FF" stroke-width="0.213922"/>
208
+ </svg>
209
+ `,Ta=`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
210
+ <path d="M12.8671 11.9976L17.4274 7.43731C17.6576 7.20712 17.6576 6.82762 17.4274 6.59743L17.4025 6.57255C17.1723 6.34235 16.7928 6.34235 16.5626 6.57255L12.0024 11.139L7.4421 6.57255C7.21191 6.34235 6.83241 6.34235 6.60222 6.57255L6.57733 6.59743C6.34092 6.82762 6.34092 7.20712 6.57733 7.43731L11.1376 11.9976L6.57733 16.5578C6.34714 16.788 6.34714 17.1675 6.57733 17.3977L6.60222 17.4226C6.83241 17.6528 7.21191 17.6528 7.4421 17.4226L12.0024 12.8623L16.5626 17.4226C16.7928 17.6528 17.1723 17.6528 17.4025 17.4226L17.4274 17.3977C17.6576 17.1675 17.6576 16.788 17.4274 16.5578L12.8671 11.9976Z" fill="#020814"/>
211
+ </svg>
212
+ `,Yf=`<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
213
+ <path d="M5.79926 11.9556V13.5689H4.63414V11.9999C2.08797 11.8042 0.0800781 9.71316 0.0800781 7.35262C0.0800781 7.19812 0.141455 7.04994 0.250706 6.94069C0.359957 6.83144 0.508133 6.77006 0.662638 6.77006C0.817142 6.77006 0.965319 6.83144 1.07457 6.94069C1.18382 7.04994 1.2452 7.19812 1.2452 7.35262C1.2452 9.18575 2.9354 10.8495 5.02407 10.8495C7.11274 10.8495 8.80216 9.18497 8.80216 7.35262C8.80215 7.27611 8.81721 7.20035 8.84648 7.12966C8.87575 7.05897 8.91866 6.99474 8.97276 6.94063C9.02686 6.88653 9.09108 6.84361 9.16177 6.81433C9.23245 6.78505 9.30821 6.76998 9.38472 6.76998C9.46123 6.76998 9.53699 6.78505 9.60768 6.81433C9.67836 6.84361 9.74259 6.88653 9.79669 6.94063C9.85078 6.99474 9.89369 7.05897 9.92296 7.12966C9.95223 7.20035 9.96729 7.27611 9.96728 7.35262C9.96728 9.59276 8.15979 11.5906 5.79926 11.9556ZM5.04504 0.125C5.66306 0.125 6.25576 0.370507 6.69277 0.807511C7.12977 1.24452 7.37528 1.83722 7.37528 2.45524V7.11572C7.37528 7.42173 7.31501 7.72474 7.1979 8.00746C7.08079 8.29018 6.90915 8.54706 6.69277 8.76344C6.47639 8.97983 6.2195 9.15147 5.93678 9.26858C5.65407 9.38568 5.35105 9.44595 5.04504 9.44595C4.73903 9.44595 4.43601 9.38568 4.1533 9.26858C3.87058 9.15147 3.6137 8.97983 3.39731 8.76344C3.18093 8.54706 3.00929 8.29018 2.89218 8.00746C2.77507 7.72474 2.7148 7.42173 2.7148 7.11572V2.45524C2.7148 1.83722 2.96031 1.24452 3.39731 0.807511C3.83432 0.370507 4.42702 0.125 5.04504 0.125Z" fill="#0099FF"/>
214
+ </svg>
215
+ `,Jf=`<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
216
+ <path d="M5.79926 11.9556V13.5689H4.63414V11.9999C2.08797 11.8042 0.0800781 9.71316 0.0800781 7.35262C0.0800781 7.19812 0.141455 7.04994 0.250706 6.94069C0.359957 6.83144 0.508133 6.77006 0.662638 6.77006C0.817142 6.77006 0.965319 6.83144 1.07457 6.94069C1.18382 7.04994 1.2452 7.19812 1.2452 7.35262C1.2452 9.18575 2.9354 10.8495 5.02407 10.8495C7.11274 10.8495 8.80216 9.18497 8.80216 7.35262C8.80215 7.27611 8.81721 7.20035 8.84648 7.12966C8.87575 7.05897 8.91866 6.99474 8.97276 6.94063C9.02686 6.88653 9.09108 6.84361 9.16177 6.81433C9.23245 6.78505 9.30821 6.76998 9.38472 6.76998C9.46123 6.76998 9.53699 6.78505 9.60768 6.81433C9.67836 6.84361 9.74259 6.88653 9.79669 6.94063C9.85078 6.99474 9.89369 7.05897 9.92296 7.12966C9.95223 7.20035 9.96729 7.27611 9.96728 7.35262C9.96728 9.59276 8.15979 11.5906 5.79926 11.9556ZM5.04504 0.125C5.66306 0.125 6.25576 0.370507 6.69277 0.807511C7.12977 1.24452 7.37528 1.83722 7.37528 2.45524V7.11572C7.37528 7.42173 7.31501 7.72474 7.1979 8.00746C7.08079 8.29018 6.90915 8.54706 6.69277 8.76344C6.47639 8.97983 6.2195 9.15147 5.93678 9.26858C5.65407 9.38568 5.35105 9.44595 5.04504 9.44595C4.73903 9.44595 4.43601 9.38568 4.1533 9.26858C3.87058 9.15147 3.6137 8.97983 3.39731 8.76344C3.18093 8.54706 3.00929 8.29018 2.89218 8.00746C2.77507 7.72474 2.7148 7.42173 2.7148 7.11572V2.45524C2.7148 1.83722 2.96031 1.24452 3.39731 0.807511C3.83432 0.370507 4.42702 0.125 5.04504 0.125Z" fill="white"/>
217
+ </svg>
218
+ `,Xf=`<svg width="15" height="12" viewBox="0 0 15 12" fill="none" xmlns="http://www.w3.org/2000/svg">
219
+ <path d="M14.5782 4.03836C14.5685 3.93235 14.5195 3.83378 14.441 3.76192C14.3624 3.69006 14.2599 3.65008 14.1534 3.64978H12.8722V2.08652C12.8716 1.97389 12.8265 1.86606 12.7467 1.78662C12.6668 1.70717 12.5588 1.66258 12.4461 1.66258H6.24677L5.10574 0.400547C5.06096 0.350645 5.00464 0.312465 4.9417 0.289342C4.89091 0.268848 4.8367 0.25815 4.78193 0.257813H1.37334C1.26063 0.257812 1.15252 0.302467 1.07266 0.382003C0.992805 0.461539 0.947716 0.569476 0.947266 0.682182L0.947266 10.8589C0.947941 10.9715 0.993129 11.0792 1.07296 11.1586C1.15279 11.2379 1.26078 11.2825 1.37334 11.2825H11.7998C11.8911 11.2859 11.981 11.26 12.0565 11.2084C12.1319 11.1569 12.1887 11.0825 12.2186 10.9961L14.5595 4.2318C14.5808 4.16661 14.5867 4.10142 14.5782 4.03836ZM3.71674 3.64978H3.69416C3.51862 3.65106 3.3533 3.76141 3.29365 3.93611L1.79984 8.25479V1.1057H4.59701L5.73718 2.36602C5.79999 2.43566 5.88428 2.4823 5.97664 2.49853C6.00731 2.50705 6.04055 2.51046 6.07378 2.51046H12.0218V3.64978H3.71674Z" fill="#0099FF"/>
220
+ </svg>
221
+ `,eh=`<svg width="15" height="12" viewBox="0 0 15 12" fill="none" xmlns="http://www.w3.org/2000/svg">
222
+ <path d="M14.5782 4.03836C14.5685 3.93235 14.5195 3.83378 14.441 3.76192C14.3624 3.69006 14.2599 3.65008 14.1534 3.64978H12.8722V2.08652C12.8716 1.97389 12.8265 1.86606 12.7467 1.78662C12.6668 1.70717 12.5588 1.66258 12.4461 1.66258H6.24677L5.10574 0.400547C5.06096 0.350645 5.00464 0.312465 4.9417 0.289342C4.89091 0.268848 4.8367 0.25815 4.78193 0.257813H1.37334C1.26063 0.257812 1.15252 0.302467 1.07266 0.382003C0.992805 0.461539 0.947716 0.569476 0.947266 0.682182L0.947266 10.8589C0.947941 10.9715 0.993129 11.0792 1.07296 11.1586C1.15279 11.2379 1.26078 11.2825 1.37334 11.2825H11.7998C11.8911 11.2859 11.981 11.26 12.0565 11.2084C12.1319 11.1569 12.1887 11.0825 12.2186 10.9961L14.5595 4.2318C14.5808 4.16661 14.5867 4.10142 14.5782 4.03836ZM3.71674 3.64978H3.69416C3.51862 3.65106 3.3533 3.76141 3.29365 3.93611L1.79984 8.25479V1.1057H4.59701L5.73718 2.36602C5.79999 2.43566 5.88428 2.4823 5.97664 2.49853C6.00731 2.50705 6.04055 2.51046 6.07378 2.51046H12.0218V3.64978H3.71674Z" fill="white"/>
223
+ </svg>
224
+ `,th=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
225
+ <path d="M17.5223 11.6612L8.44708 17.7457C7.52958 18.3607 6.28709 18.1157 5.67209 17.1984C5.45119 16.8689 5.33324 16.4812 5.33325 16.0845V3.91553C5.33325 2.81103 6.22875 1.91553 7.33325 1.91553C7.72992 1.91552 8.11762 2.03346 8.44708 2.25436L17.5221 8.33886C18.4396 8.95386 18.6848 10.1964 18.0696 11.1139C17.9245 11.3302 17.7386 11.5161 17.5223 11.6612Z" fill="#020814"/>
226
+ </svg>
227
+ `,sh=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
228
+ <rect x="4" y="2" width="4" height="16" rx="2" fill="#0047FF"/>
229
+ <rect x="12" y="2" width="4" height="16" rx="2" fill="#0047FF"/>
230
+ </svg>
231
+ `,nh=`<svg width="85" height="78" viewBox="0 0 85 78" fill="none" xmlns="http://www.w3.org/2000/svg">
232
+ <path d="M66.4263 40.3517C71.3137 40.3582 75.9985 42.3055 79.4504 45.7653C82.9024 49.2252 84.839 53.9143 84.8343 58.8017C84.8343 68.993 76.5931 77.2552 66.4263 77.2552C61.5396 77.2478 56.8557 75.3001 53.4045 71.8404C49.9533 68.3806 48.0172 63.692 48.0219 58.8052C48.0219 48.614 56.2631 40.3517 66.4263 40.3517ZM68.4114 65.9191H64.3363V70.1203H68.4114V65.9191ZM74.6395 0.234375C77.6434 0.234375 80.066 2.67804 80.066 5.67485V39.0459C76.0612 36.2565 71.2963 34.7643 66.4158 34.7712C61.8212 34.7662 57.3229 36.0889 53.4623 38.5802L49.1142 34.3301C49.0342 34.2501 48.9392 34.1866 48.8347 34.1433C48.7302 34.1 48.6181 34.0777 48.505 34.0777C48.3918 34.0777 48.2798 34.1 48.1753 34.1433C48.0708 34.1866 47.9758 34.2501 47.8958 34.3301L30.7587 51.1031C30.6693 51.1901 30.5624 51.257 30.4451 51.2993C30.3278 51.3416 30.2027 51.3583 30.0784 51.3484C29.9541 51.3384 29.8334 51.302 29.7243 51.2416C29.6152 51.1812 29.5202 51.0982 29.4458 50.9981L21.8523 40.7753C21.7719 40.6661 21.667 40.5772 21.546 40.516C21.425 40.4548 21.2912 40.4228 21.1556 40.4228C21.02 40.4228 20.8862 40.4548 20.7652 40.516C20.6442 40.5772 20.5392 40.6661 20.4589 40.7753L8.91628 56.3195C8.81857 56.4498 8.75915 56.6048 8.74468 56.767C8.73022 56.9292 8.76129 57.0922 8.83441 57.2377C8.90752 57.3832 9.01978 57.5054 9.15856 57.5906C9.29734 57.6758 9.45713 57.7206 9.61997 57.7199H42.4659C42.4553 58.0875 42.4448 58.4551 42.4448 58.8227C42.4448 61.2349 42.8019 63.5595 43.4636 65.7616H6.24155C3.23774 65.7616 0.811584 63.3179 0.811584 60.3176V5.67485C0.811584 2.66403 3.24824 0.234375 6.23805 0.234375H74.6395ZM68.6424 47.4972H64.2312L64.7669 64.0881V64.1932H67.9808L68.6459 47.4972H68.6424ZM21.4252 12.9428C19.5826 13.0007 17.8348 13.7734 16.5519 15.0972C15.269 16.4211 14.5516 18.1922 14.5516 20.0357C14.5516 21.8792 15.269 23.6504 16.5519 24.9742C17.8348 26.2981 19.5826 27.0708 21.4252 27.1287C23.3036 27.1249 25.1037 26.3759 26.4303 25.046C27.7569 23.7161 28.5015 21.9141 28.5006 20.0357C28.5024 18.1567 27.7583 16.3538 26.4316 15.0232C25.1049 13.6925 23.3042 12.943 21.4252 12.9393V12.9428Z" fill="#CFD8ED"/>
233
+ </svg>
234
+ `,ih=`<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
235
+ <circle cx="18" cy="18.0001" r="17" fill="black" fill-opacity="0.5" stroke="white" stroke-width="2" stroke-linecap="round"/>
236
+ <path d="M22.9529 18.3662L15.2991 23.4687C14.4929 24.0045 13.8315 23.6521 13.8315 22.6818V12.0906C13.8315 11.1203 14.4929 10.7654 15.2991 11.3061L22.9529 16.4111C23.759 16.9445 23.759 17.8279 22.9529 18.3662Z" fill="white"/>
237
+ </svg>
238
+ `,rh=`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
239
+ <g clip-path="url(#clip0_211_2152)">
240
+ <path d="M6.99982 0.65625C10.5309 0.65625 13.3436 3.46889 13.3436 7C13.3436 10.5311 10.5309 13.3438 6.99982 13.3438C3.46871 13.3438 0.656067 10.5311 0.656067 7C0.656067 3.46889 3.46871 0.65625 6.99982 0.65625Z" stroke="#FF5A50" stroke-width="1.3125"/>
241
+ <path d="M6.82464 3.50212C6.5896 3.50212 6.46571 3.59869 6.31995 3.74444C6.18148 3.93757 6.13229 4.13252 6.13047 4.36573C6.13047 4.60806 6.13047 4.4623 6.17966 4.89775L6.31084 7.30457C6.31084 7.5396 6.36003 7.73273 6.4566 7.97505C6.50579 8.12081 6.64973 8.21737 6.79548 8.21737C6.99043 8.21737 7.13437 8.12081 7.18356 7.97505C7.28013 7.78921 7.32932 7.54689 7.32932 7.30457L7.52245 4.84856C7.53703 4.75928 7.57164 4.43497 7.57164 4.38578C7.59897 4.21451 7.53703 3.923 7.42589 3.79181C7.32932 3.60597 7.087 3.48208 6.82464 3.50212Z" fill="#FF5A50"/>
242
+ <path d="M6.89934 10.7226C7.04509 10.7226 7.23822 10.6752 7.38398 10.5295C7.52245 10.3837 7.57164 10.1906 7.57529 9.95553C7.57529 9.7624 7.52792 9.56927 7.38216 9.42352C7.23822 9.27776 7.04327 9.1812 6.85014 9.1812C6.65701 9.1812 6.46389 9.27776 6.31813 9.42352C6.17419 9.56745 6.125 9.7624 6.125 9.95553C6.125 10.1906 6.22156 10.3837 6.36732 10.5295C6.51126 10.6734 6.70621 10.7226 6.89934 10.7226Z" fill="#FF5A50"/>
243
+ </g>
244
+ <defs>
245
+ <clipPath id="clip0_211_2152">
246
+ <rect width="14" height="14" fill="white"/>
247
+ </clipPath>
248
+ </defs>
249
+ </svg>
250
+ `,oh=`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
251
+ <circle cx="7" cy="7" r="6.34375" stroke="#46DB7A" stroke-width="1.3125"/>
252
+ <path d="M4.22888 7.72945L5.97888 9.47945L10.0622 5.39612" stroke="#46DB7A" stroke-width="1.16667" stroke-linecap="round" stroke-linejoin="round"/>
253
+ </svg>
254
+ `,ah=`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
255
+ <g clip-path="url(#clip0_232_1031)">
256
+ <path d="M6.99982 0.65625C10.5309 0.65625 13.3436 3.46889 13.3436 7C13.3436 10.5311 10.5309 13.3438 6.99982 13.3438C3.46871 13.3438 0.656067 10.5311 0.656067 7C0.656067 3.46889 3.46871 0.65625 6.99982 0.65625Z" stroke="#B8B8B8" stroke-width="1.3125"/>
257
+ </g>
258
+ <defs>
259
+ <clipPath id="clip0_232_1031">
260
+ <rect width="14" height="14" fill="white"/>
261
+ </clipPath>
262
+ </defs>
263
+ </svg>
264
+ `,lh=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
265
+ <circle cx="8.00004" cy="7.99998" r="6.66667" stroke="url(#paint0_linear_23_808)" stroke-width="1.3"/>
266
+ <defs>
267
+ <linearGradient id="paint0_linear_23_808" x1="23.2381" y1="-2.9524" x2="4.66671" y2="10.8571" gradientUnits="userSpaceOnUse">
268
+ <stop offset="0.355419" stop-color="#0047FF"/>
269
+ <stop offset="0.776884" stop-color="#0047FF" stop-opacity="0.1"/>
270
+ </linearGradient>
271
+ </defs>
272
+ </svg>
273
+ `,ch=`<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
274
+ <g clip-path="url(#clip0_232_1031)">
275
+ <path d="M6.99982 0.65625C10.5309 0.65625 13.3436 3.46889 13.3436 7C13.3436 10.5311 10.5309 13.3438 6.99982 13.3438C3.46871 13.3438 0.656067 10.5311 0.656067 7C0.656067 3.46889 3.46871 0.65625 6.99982 0.65625Z" stroke="#E4E7ED" stroke-width="1.3125"/>
276
+ </g>
277
+ <defs>
278
+ <clipPath id="clip0_232_1031">
279
+ <rect width="14" height="14" fill="white"/>
280
+ </clipPath>
281
+ </defs>
282
+ </svg>
283
+ `,uh=`<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
284
+ <circle cx="8.00004" cy="7.99998" r="6.66667" stroke="url(#paint0_linear_23_808)" stroke-width="1.3"/>
285
+ <defs>
286
+ <linearGradient id="paint0_linear_23_808" x1="23.2381" y1="-2.9524" x2="4.66671" y2="10.8571" gradientUnits="userSpaceOnUse">
287
+ <stop offset="0.355419" stop-color="#0047FF"/>
288
+ <stop offset="0.776884" stop-color="#0047FF" stop-opacity="0.1"/>
289
+ </linearGradient>
290
+ </defs>
291
+ </svg>
292
+ `,Fc=`<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
293
+ <path d="M0 8C0 3.58172 3.58172 0 8 0H12C16.4183 0 20 3.58172 20 8V12C20 16.4183 16.4183 20 12 20H8C3.58172 20 0 16.4183 0 12V8Z" fill="#E3E7EF"/>
294
+ <circle cx="6" cy="10" r="1" fill="#020814"/>
295
+ <circle cx="10" cy="10" r="1" fill="#020814"/>
296
+ <circle cx="14" cy="10" r="1" fill="#020814"/>
297
+ </svg>
298
+ `,dh=Fc.replace(/#E3E7EF/g,"#D0DDFF").replace(/#020814/g,"#0047FF"),fh=Pc.replace(/#CCCCCC/g,"#0047FF"),hh=Nc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#020814/g,"#0047FF"),ph=Uc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#020814/g,"#0047FF"),gh=Dc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#020814/g,"#0047FF"),_h=kc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#020814/g,"#0047FF"),mh=Ta.replace(/#020814/g,"#0047FF").replace(/<svg([^>]*)>/,'<svg$1><rect width="24" height="24" rx="4" fill="#E3E7EF"/>');URL.createObjectURL(new Blob([Df],{type:"image/svg+xml"}));const Tn=URL.createObjectURL(new Blob([Pf],{type:"image/svg+xml"})),Ia=URL.createObjectURL(new Blob([Vf],{type:"image/svg+xml"})),Ts=URL.createObjectURL(new Blob([$f],{type:"image/svg+xml"})),wa=URL.createObjectURL(new Blob([Ff],{type:"image/svg+xml"})),Eh=URL.createObjectURL(new Blob([Hf],{type:"image/svg+xml"})),Hc=URL.createObjectURL(new Blob([Gf],{type:"image/svg+xml"})),Wr=URL.createObjectURL(new Blob([Bf],{type:"image/svg+xml"})),Qs=URL.createObjectURL(new Blob([jf],{type:"image/svg+xml"})),Gc=URL.createObjectURL(new Blob([Kf],{type:"image/svg+xml"})),vh={jpg:Ts,jpeg:Ts,png:Ts,gif:Ts,bmp:Ts,webp:Ts,svg:Ts,tif:Ts,tiff:Ts,ico:Ts,heic:Ts,txt:Wr,log:Wr,md:Wr,rtf:Wr,doc:Gc,docx:Gc,xls:Ia,xlsx:Ia,csv:Ia,ppt:Hc,pptx:Hc,pdf:Eh,mp3:Tn,wav:Tn,ogg:Tn,aac:Tn,flac:Tn,m4a:Tn,wma:Tn,amr:Tn,mp4:Qs,mov:Qs,avi:Qs,mkv:Qs,webm:Qs,wmv:Qs,flv:Qs,m4v:Qs,"3gp":Qs},Ch=e=>{if(!e)return wa;const t=e.lastIndexOf(".");if(t<0||t===e.length-1)return wa;const s=e.slice(t+1).toLowerCase();return vh[s]||wa},yh=URL.createObjectURL(new Blob([hh],{type:"image/svg+xml"})),Sh=URL.createObjectURL(new Blob([ph],{type:"image/svg+xml"})),Th=URL.createObjectURL(new Blob([gh],{type:"image/svg+xml"})),Ih=URL.createObjectURL(new Blob([_h],{type:"image/svg+xml"})),Bc=URL.createObjectURL(new Blob([Fc],{type:"image/svg+xml"})),jc=URL.createObjectURL(new Blob([dh],{type:"image/svg+xml"})),Kc=URL.createObjectURL(new Blob([bc],{type:"image/svg+xml"})),wh=URL.createObjectURL(new Blob([Lc],{type:"image/svg+xml"})),Rh=Ac.replace(/#F3F5FA/g,"#D0DDFF").replace(/#41464F/g,"#0047FF"),Mh=xc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#41464F/g,"#0047FF"),Oh=Lc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#41464F/g,"#0047FF"),bh=bc.replace(/#F3F5FA/g,"#D0DDFF").replace(/#41464F/g,"#0047FF"),Lh=URL.createObjectURL(new Blob([Ac],{type:"image/svg+xml"})),Ah=URL.createObjectURL(new Blob([Rh],{type:"image/svg+xml"})),xh=URL.createObjectURL(new Blob([xc],{type:"image/svg+xml"})),kh=URL.createObjectURL(new Blob([Mh],{type:"image/svg+xml"})),Uh=URL.createObjectURL(new Blob([Oh],{type:"image/svg+xml"})),zc=URL.createObjectURL(new Blob([bh],{type:"image/svg+xml"})),Nh=URL.createObjectURL(new Blob([Cf],{type:"image/svg+xml"})),qc=URL.createObjectURL(new Blob([Vc],{type:"image/svg+xml"})),Dh=URL.createObjectURL(new Blob([Lf],{type:"image/svg+xml"})),Ph=URL.createObjectURL(new Blob([Af],{type:"image/svg+xml"})),Vh=URL.createObjectURL(new Blob([xf],{type:"image/svg+xml"})),Zc=URL.createObjectURL(new Blob([$c],{type:"image/svg+xml"})),$h=$c.replace(/#41464F/g,"#0047FF"),Fh=Vc.replace(/#41464F/g,"#E35858"),Hh=Ta.replace(/#020814/g,"#0047FF"),Gh=URL.createObjectURL(new Blob([$h],{type:"image/svg+xml"})),Bh=URL.createObjectURL(new Blob([Fh],{type:"image/svg+xml"})),jh=URL.createObjectURL(new Blob([Hh],{type:"image/svg+xml"})),Kh=URL.createObjectURL(new Blob([kf],{type:"image/svg+xml"})),zh=URL.createObjectURL(new Blob([Uf],{type:"image/svg+xml"})),qh=URL.createObjectURL(new Blob([Nf],{type:"image/svg+xml"})),Zh=URL.createObjectURL(new Blob([Tf],{type:"image/svg+xml"})),Wh=URL.createObjectURL(new Blob([If],{type:"image/svg+xml"})),Qh=URL.createObjectURL(new Blob([wf],{type:"image/svg+xml"})),Yh=URL.createObjectURL(new Blob([Rf],{type:"image/svg+xml"}));URL.createObjectURL(new Blob([Mf],{type:"image/svg+xml"})),URL.createObjectURL(new Blob([Of],{type:"image/svg+xml"}));const Jh=URL.createObjectURL(new Blob([bf],{type:"image/svg+xml"})),Xh=URL.createObjectURL(new Blob([kc],{type:"image/svg+xml"})),e5=URL.createObjectURL(new Blob([Uc],{type:"image/svg+xml"})),t5=URL.createObjectURL(new Blob([Nc],{type:"image/svg+xml"})),s5=URL.createObjectURL(new Blob([Dc],{type:"image/svg+xml"})),n5=URL.createObjectURL(new Blob([Pc],{type:"image/svg+xml"})),i5=URL.createObjectURL(new Blob([fh],{type:"image/svg+xml"}));URL.createObjectURL(new Blob([yf],{type:"image/svg+xml"}));const r5=URL.createObjectURL(new Blob([Sf],{type:"image/svg+xml"})),Qr=URL.createObjectURL(new Blob([ff],{type:"image/svg+xml"})),Yr=URL.createObjectURL(new Blob([hf],{type:"image/svg+xml"})),Ra=URL.createObjectURL(new Blob([pf],{type:"image/svg+xml"})),o5=URL.createObjectURL(new Blob([gf],{type:"image/svg+xml"})),a5=URL.createObjectURL(new Blob([_f],{type:"image/svg+xml"})),Wc=URL.createObjectURL(new Blob([mf],{type:"image/svg+xml"})),l5=URL.createObjectURL(new Blob([Ef],{type:"image/svg+xml"})),Qc=URL.createObjectURL(new Blob([vf],{type:"image/svg+xml"})),Yc=URL.createObjectURL(new Blob([zf],{type:"image/svg+xml"})),c5=URL.createObjectURL(new Blob([qf],{type:"image/svg+xml"}));URL.createObjectURL(new Blob([Zf],{type:"image/svg+xml"}));const u5=URL.createObjectURL(new Blob([Wf],{type:"image/svg+xml"})),d5=URL.createObjectURL(new Blob([Qf],{type:"image/svg+xml"})),Jc=URL.createObjectURL(new Blob([Ta],{type:"image/svg+xml"})),f5=URL.createObjectURL(new Blob([mh],{type:"image/svg+xml"})),h5=URL.createObjectURL(new Blob([Yf],{type:"image/svg+xml"})),p5=URL.createObjectURL(new Blob([Jf],{type:"image/svg+xml"})),g5=URL.createObjectURL(new Blob([Xf],{type:"image/svg+xml"})),_5=URL.createObjectURL(new Blob([eh],{type:"image/svg+xml"})),m5=URL.createObjectURL(new Blob([th],{type:"image/svg+xml"})),E5=URL.createObjectURL(new Blob([sh],{type:"image/svg+xml"})),Xc=URL.createObjectURL(new Blob([nh],{type:"image/svg+xml"})),v5=URL.createObjectURL(new Blob([ih],{type:"image/svg+xml"})),e1=URL.createObjectURL(new Blob([rh],{type:"image/svg+xml"})),C5=URL.createObjectURL(new Blob([oh],{type:"image/svg+xml"})),t1=URL.createObjectURL(new Blob([ah],{type:"image/svg+xml"})),y5=URL.createObjectURL(new Blob([lh],{type:"image/svg+xml"})),S5=URL.createObjectURL(new Blob([ch],{type:"image/svg+xml"})),T5=URL.createObjectURL(new Blob([uh],{type:"image/svg+xml"}));class I5 extends Sa{constructor(s,n,i,r){super(s,n,i);K(this,"GetDefaultTag",B.L_GET_DEFAULT_USER_PROFILE_HOOK_O);K(this,"GetDefaultErrorTag",B.L_GET_DEFAULT_USER_PROFILE_HOOK_E);K(this,"ReqStartTag",B.L_REQ_USER_PROFILE_HOOK_T);K(this,"ReqFailedTag",B.L_REQ_USER_PROFILE_HOOK_E);K(this,"ReqSuccessTag",B.L_REQ_USER_PROFILE_HOOK_R);this._reqUserOnlineStatus=r}_isSameUserProfile(s,n){return s.name===n.name&&s.userId===n.userId&&s.portraitUri===n.portraitUri}_updateCacheUserProfile(s,n){s.name=n.name,s.portraitUri=n.portraitUri||s.portraitUri,s.usingDefault=!1}_checkAndUpdateCacheData(s){const{name:n,userId:i,portraitUri:r}=s;let o=this._cache.get(i),a=!1;return o?this._isSameUserProfile(o,s)||(this._updateCacheUserProfile(o,s),a=!0):(a=!0,o={name:n,userId:i,portraitUri:r||Yr,usingDefault:!1,online:!1},this._cache.set(i,o)),{changed:a,cached:o}}_isInvalid(s){return typeof s!="object"||!s.userId||typeof s.userId!="string"||!s.name||typeof s.name!="string"||!!s.portraitUri&&typeof s.portraitUri!="string"}_dispatchUpdateEvent(s){s.length!==0&&this._ctx.dispatchEvent(new ie(Y.USER_PROFILES_UPDATE,s))}_createDefaultCache(s,n){return n?{...n,portraitUri:n.portraitUri||Yr,usingDefault:!0,online:!1}:{userId:s,name:`${s}`,portraitUri:Yr,usingDefault:!0,online:!1}}updateUserProfile(s){const n=this.logger.createTraceId();if(this.logger.warn(B.A_UPDATE_USER_PROFILE_T,void 0,n),this._isInvalid(s)){this.logger.error(B.A_UPDATE_USER_PROFILE_E,"invalid user profile",n);return}const{userId:i,name:r,portraitUri:o}=s;let a=this._cache.get(i);if(a&&this._isSameUserProfile(a,s)){this.logger.warn(B.A_UPDATE_USER_PROFILE_R,`user profile not changed: ${i}`,n);return}a?this._updateCacheUserProfile(a,s):(a={userId:i,name:r,portraitUri:o||Yr,usingDefault:!1,online:!1},this._cache.set(i,a)),this.logger.info(B.A_UPDATE_USER_PROFILE_R,`userId: ${i}, name: ${r}, portraitUri: ${o}`,n),this._dispatchUpdateEvent([a])}updateUserOnlineStatus(s,n){const i=this.logger.createTraceId();if(this.logger.info(B.A_UPDATE_USER_ONLINE_STATE_T,`userId: ${s}, online: ${n}`,i),!this.store.getCommandSwitch(xt.SHOW_USER_ONLINE_STATE)){this.logger.warn(B.A_UPDATE_USER_ONLINE_STATE_R,"command switch is off",i);return}const r=this._cache.get(s);if(!r){this.logger.warn(B.A_UPDATE_USER_ONLINE_STATE_R,`user profile not found: ${s}`,i);return}if(r.online===n){this.logger.warn(B.A_UPDATE_USER_ONLINE_STATE_R,`user online state not changed: ${s}`,i);return}r.online=n,this.logger.info(B.A_UPDATE_USER_ONLINE_STATE_R,`userId: ${s}, online: ${n}`,i),this._dispatchUpdateEvent([r])}async reqUserOnlineStatus(s){const n=this.logger.createTraceId();if(!this.store.getCommandSwitch(xt.SHOW_USER_ONLINE_STATE))return;if(this.logger.info(B.L_REQ_USER_ONLINE_HOOK_T,`userIds: ${s.join(",")}`,n),typeof this._reqUserOnlineStatus!="function"){this.logger.error(B.L_REQ_USER_ONLINE_HOOK_E,"'reqUserOnlineStatus' is not a function",n);return}let i;try{i=await this._reqUserOnlineStatus(s)}catch(o){this.logger.error(B.L_REQ_USER_ONLINE_HOOK_E,o.message,n);return}if(!Array.isArray(i)){this.logger.error(B.L_REQ_USER_ONLINE_HOOK_E,"invalid result, must be a Array",n),console.error("invalid result: ",i);return}const r=[];i.forEach((o,a)=>{if(typeof o!="object"||typeof o.userId!="string"||typeof o.online!="boolean"){this.logger.warn(B.L_REQ_USER_ONLINE_HOOK_E,`invalid item index: ${a}`,n),console.error(`invalid item in position ${a}: `,o);return}const{userId:l,online:c}=o,u=this._cache.get(l);if(!u){this.logger.warn(B.L_REQ_USER_ONLINE_HOOK_E,`user profile not found: ${l}`,n);return}u.online!==c&&(u.online=c,r.push(u))}),this.logger.info(B.L_REQ_USER_ONLINE_HOOK_R,"",n),this._dispatchUpdateEvent(r)}}class w5 extends Sa{constructor(s,n,i,r){super(s,n,r);K(this,"ReqStartTag",B.L_REQ_GROUP_PROFILE_HOOK_T);K(this,"ReqFailedTag",B.L_REQ_GROUP_PROFILE_HOOK_E);K(this,"ReqSuccessTag",B.L_REQ_GROUP_PROFILE_HOOK_R);K(this,"GetDefaultTag",B.L_GET_DEFAULT_GROUP_PROFILE_HOOK_O);K(this,"GetDefaultErrorTag",B.L_GET_DEFAULT_GROUP_PROFILE_HOOK_E);K(this,"_groupMembers",new Map);this._reqGroupMembers=i}_checkAndUpdateCacheData(s){const{name:n,groupId:i,portraitUri:r}=s;let o=this._cache.get(i),a=!1;return o?this._isSameGroupProfile(o,s)||(this._updateCacheGroupProfile(o,s),a=!0):(a=!0,o={name:n,groupId:i,portraitUri:r||Qr,memberCount:0,usingDefault:!1},this._cache.set(i,o)),{changed:a,cached:o}}_isInvalid(s){return typeof s!="object"||!s.groupId||typeof s.groupId!="string"||!s.name||typeof s.name!="string"||!!s.portraitUri&&typeof s.portraitUri!="string"||typeof s.memberCount!="number"||s.memberCount<0}_isSameGroupProfile(s,n){return s.groupId===n.groupId&&s.name===n.name&&s.memberCount===n.memberCount&&s.portraitUri===n.portraitUri}_dispatchUpdateEvent(s){s.length!==0&&this._ctx.dispatchEvent(new ie(Y.GROUP_PROFILES_UPDATE,s))}_createDefaultCache(s,n){return n?{...n,portraitUri:n.portraitUri||Qr,usingDefault:!0}:{groupId:s,name:`${s}`,portraitUri:Qr,usingDefault:!0,memberCount:0}}_updateCacheGroupProfile(s,n){s.name=n.name,s.portraitUri=n.portraitUri||s.portraitUri,s.memberCount=n.memberCount,s.usingDefault=!1}updateGroupProfile(s){const n=this.logger.createTraceId();if(this.logger.warn(B.A_UPDATE_GROUP_PROFILE_T,void 0,n),this._isInvalid(s)){this.logger.error(B.A_UPDATE_GROUP_PROFILE_E,"invalid group profile",n);return}const{groupId:i,name:r,portraitUri:o,memberCount:a}=s;let l=this._cache.get(i);if(l&&this._isSameGroupProfile(l,s)){this.logger.warn(B.A_UPDATE_GROUP_PROFILE_R,`group profile not changed: ${i}`,n);return}l?this._updateCacheGroupProfile(l,s):(l={groupId:i,name:r,portraitUri:o||Qr,usingDefault:!1,memberCount:a},this._cache.set(i,l)),this.logger.info(B.A_UPDATE_GROUP_PROFILE_R,`groupId: ${i}, name: ${r}, portraitUri: ${o}, memberCount: ${a}`,n),this._dispatchUpdateEvent([l])}_cloneGroupMember(s){const{userId:n,nickname:i}=s;return{userId:n,nickname:i}}async reqGroupMembers(s,n=!0){const i=this.logger.createTraceId();if(!n){const a=this._groupMembers.get(s);if(a)return[...a]}let r;try{this.logger.info(B.L_REQ_GROUP_MEMBERS_HOOK_T,`groupId: ${s}`,i),r=await this._reqGroupMembers(s)}catch(a){return this.logger.error(B.L_REQ_GROUP_MEMBERS_HOOK_E,a.message,i),[]}if(!r||!Array.isArray(r))return this.logger.error(B.L_REQ_GROUP_MEMBERS_HOOK_E,"result must be a Array",i),[];const o=r.filter((a,l)=>this._isInvalidGroupMemberProfile(a)?(this.logger.error(B.L_REQ_GROUP_MEMBERS_HOOK_E,`result[${l}] is invalid`,i),!1):!0).map(this._cloneGroupMember);return this.logger.info(B.L_REQ_GROUP_MEMBERS_HOOK_R,`groupId: ${s}, memberCount: ${r.length}`,i),this._groupMembers.set(s,o),o}updateGroupMembers(s,n){const i=this.logger.createTraceId();if(this.logger.info(B.A_UPDATE_GROUP_MEMBERS_T,`groupId: ${s}`,i),!n||!Array.isArray(n)){this.logger.error(B.A_UPDATE_GROUP_MEMBERS_E,"param 'members' must be a Array",i);return}if(n.some((a,l)=>this._isInvalidGroupMemberProfile(a)?(this.logger.error(B.A_UPDATE_GROUP_MEMBERS_E,`param 'members[${l}]' is invalid`,i),!0):!1))return;const r=n.map(this._cloneGroupMember);this._groupMembers.set(s,r),this._dispatchGroupMembersUpdateEvent(s,r);const o=this._cache.get(s);o?o.memberCount!==n.length&&(o.memberCount=n.length,this._dispatchUpdateEvent([o])):this.logger.warn(B.A_UPDATE_GROUP_MEMBERS_E,`group profile not found: ${s}`,i),this.logger.info(B.A_UPDATE_GROUP_MEMBERS_R,`groupId: ${s}, memberCount: ${n.length}`,i)}addGroupMembers(s,n){const i=this.logger.createTraceId();if(this.logger.info(B.A_ADD_GROUP_MEMBERS_T,`groupId: ${s}`,i),!n||!Array.isArray(n)){this.logger.error(B.A_ADD_GROUP_MEMBERS_E,"param 'members' must be a Array",i);return}if(n.some((u,d)=>{const h=this._isInvalidGroupMemberProfile(u);return h&&this.logger.error(B.A_ADD_GROUP_MEMBERS_E,`param 'members[${d}]' is invalid`,i),h}))return;const o=this._groupMembers.get(s)||[],a=n.filter(u=>!o.some(d=>d.userId===u.userId));if(a.length===0){this.logger.warn(B.A_ADD_GROUP_MEMBERS_R,`no new members to add: ${s}`,i);return}const l=[...o,...a.map(this._cloneGroupMember)];this._groupMembers.set(s,l),this._dispatchGroupMembersUpdateEvent(s,l);const c=this._cache.get(s);c?c.memberCount!==l.length&&(c.memberCount=l.length,this._dispatchUpdateEvent([c])):this.logger.warn(B.A_ADD_GROUP_MEMBERS_E,`group profile not found: ${s}`,i),this.logger.info(B.A_ADD_GROUP_MEMBERS_R,`groupId: ${s}, members: ${n.map(u=>u.userId).join(",")}`,i)}removeGroupMembers(s,n){const i=this.logger.createTraceId();if(this.logger.info(B.A_REMOVE_GROUP_MEMBERS_T,`groupId: ${s}`,i),!n||!Array.isArray(n)){this.logger.error(B.A_REMOVE_GROUP_MEMBERS_E,"param 'userIds' must be a Array",i);return}const r=n.filter((c,u)=>typeof c!="string"||c.length===0?(this.logger.error(B.A_REMOVE_GROUP_MEMBERS_E,`param 'userIds[${u}]' is invalid`,i),!1):!0);if(r.length===0){this.logger.warn(B.A_REMOVE_GROUP_MEMBERS_R,`no valid members to remove: ${s}`,i);return}const o=this._groupMembers.get(s);if(!o){this.logger.warn(B.A_REMOVE_GROUP_MEMBERS_E,`group members not found: ${s}`,i);return}const a=o.filter(c=>!r.includes(c.userId));this._groupMembers.set(s,a),this._dispatchGroupMembersUpdateEvent(s,a);const l=this._cache.get(s);l?l.memberCount!==a.length&&(l.memberCount=a.length,this._dispatchUpdateEvent([l])):this.logger.warn(B.A_REMOVE_GROUP_MEMBERS_E,`group profile not found: ${s}`,i),this.logger.info(B.A_REMOVE_GROUP_MEMBERS_R,`groupId: ${s}, members: ${r.join(",")}`,i)}_isInvalidGroupMemberProfile(s){return typeof s!="object"||!s.userId||typeof s.userId!="string"||!!s.nickname&&typeof s.nickname!="string"}_dispatchGroupMembersUpdateEvent(s,n){this._ctx.dispatchEvent(new ie(Y.GROUP_MEMBERS_UPDATE,{groupId:s,members:n}))}clear(){super.clear(),this._groupMembers.clear()}}class R5 extends Sa{constructor(){super(...arguments);K(this,"ReqStartTag",B.L_REQ_SYSTEM_PROFILE_HOOK_T);K(this,"ReqFailedTag",B.L_REQ_SYSTEM_PROFILE_HOOK_E);K(this,"ReqSuccessTag",B.L_REQ_SYSTEM_PROFILE_HOOK_R);K(this,"GetDefaultTag",B.L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_O);K(this,"GetDefaultErrorTag",B.L_GET_DEFAULT_SYSTEM_PROFILE_HOOK_E)}_checkAndUpdateCacheData(s){const{name:n,systemId:i,portraitUri:r}=s;let o=this._cache.get(i),a=!1;return o?this._isSameSystemProfile(o,s)||(this._updateCacheSystemProfile(o,s),a=!0):(a=!0,o={name:n,systemId:i,portraitUri:r||Ra,usingDefault:!1},this._cache.set(i,o)),{changed:a,cached:o}}_isSameSystemProfile(s,n){return s.systemId===n.systemId&&s.name===n.name&&s.portraitUri===n.portraitUri}_updateCacheSystemProfile(s,n){s.name=n.name,s.portraitUri=n.portraitUri||s.portraitUri,s.usingDefault=!1}_isInvalid(s){return typeof s!="object"||!s.systemId||typeof s.systemId!="string"||!s.name||typeof s.name!="string"||!!s.portraitUri&&typeof s.portraitUri!="string"}_dispatchUpdateEvent(s){s.length!==0&&this._ctx.dispatchEvent(new ie(Y.SYSTEM_PROFILES_UPDATE,s))}_createDefaultCache(s,n){return n?{...n,portraitUri:n.portraitUri||Ra,usingDefault:!0}:{systemId:s,name:`${s}`,portraitUri:Ra,usingDefault:!0}}}class M5 extends Ss{constructor(s,n){super(s);K(this,"_users");K(this,"_groups");K(this,"_systems");this._hooks=n,this._users=new I5(s,this._hooks.reqUserProfiles,this._hooks.getDefaultUserProfile,this._hooks.reqUserOnlineStatus),this._groups=new w5(s,this._hooks.reqGroupProfiles,this._hooks.reqGroupMembers,this._hooks.getDefaultGroupProfile),this._systems=new R5(s,this._hooks.reqSystemProfiles,this._hooks.getDefaultSystemProfile)}_onInit(){}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this._systems.clear(),this._users.clear(),this._groups.clear()}async requestUserProfiles(s,n=!1){return this._users.getCache(s,n)}async requestSystemProfiles(s,n=!1){return this._systems.reqData(s,n)}async requestGroupProfiles(s,n=!1){return this._groups.reqData(s,n)}getUserProfile(s){return this.getUserProfiles([s])[0]}getGroupProfile(s){return this.getGroupProfiles([s])[0]}getUserProfiles(s,n=!1){return this._users.getCache(s,n)}getSystemProfiles(s,n=!1){return this._systems.getCache(s,n)}getGroupProfiles(s,n=!1){return this._groups.getCache(s,n)}updateUserProfile(s){this._users.updateUserProfile(s)}updateGroupProfile(s){this._groups.updateGroupProfile(s)}updateUserOnlineStatus(s,n){this._users.updateUserOnlineStatus(s,n)}async reqUserOnlineStatus(s){return this._users.reqUserOnlineStatus(s)}async reqGroupMembers(s,n=!0){return this._groups.reqGroupMembers(s,n)}updateGroupMembers(s,n){return this._groups.updateGroupMembers(s,n)}addGroupMembers(s,n){return this._groups.addGroupMembers(s,n)}removeGroupMembers(s,n){return this._groups.removeGroupMembers(s,n)}}const xs={en_US:{direction:"ltr",entries:{"conv.loading.msg":"Loading...","conv.mentioned.me.msg":"@me","conv.mentioned.all.msg":"@all","conv.draft.msg":"[Draft]","message.list.select":"Select the following message","message.list.unselect":"Unselect","message.list.recall.by.self":"You recalled one message","message.list.recall.by.other":"{0} recalled one message","message.list.reedit.msg":"Reedit","message.list.read":"Seen","message.list.back":"Back","message.list.reedit":"Reedit","message.list.read-receipt.tooltip.all-unread":"All unread","message.list.read-receipt.tooltip.all-read":"All read","message.list.read-receipt.tooltip.read-count":" Read: {0}","message.list.read-receipt.tooltip.unread-count":" Unread: {0}","message-type.RC:ImgMsg":"[Image]","message-type.RC:HQVCMsg":"[Audio]","message-type.RC:VcMsg":"[Audio]","message-type.RC:GIFMsg":"[Image]","message-type.RC:FileMsg":"[File]","message-type.RC:SightMsg":"[Video]","message-type.RC:ImgTextMsg":"[Image text]","message-type.RC:LBSMsg":"[Location]","message-type.RC:CombineMsg":"[Combine]","message-type.RC:CombineV2Msg":"[Combine]","message-type.RC:ReferenceMsg":"[Reference]","message-type.unknown":"[Unsupported message types]","time.format.today":"Today","time.format.yesterday":"Yesterday","time.format.monday":"Mon","time.format.tueday":"Tue","time.format.wedday":"Wed","time.format.thurday":"Thur","time.format.friday":"Fri","time.format.satday":"Sat","time.format.sunday":"Sun","time.format.full":"{0}/{1}/{2}","input.menu.item.photo":"Photo","input.menu.item.images":"Image","input.menu.item.files":"File","input.menu.item.emoji":"Emoji","input.placeholder":"Shift + Enter for newline, Enter for send","input.send":"Send","input.reply.prefix":"Reply ","input.mentioned.all":"All","input.placeholder.search":"search","conversation.menu.item.add_top":"Pin","conversation.menu.item.remove_top":"Unpin","conversation.menu.item.mute":"Mute","conversation.menu.item.unmute":"Unmute","conversation.menu.item.mark_read":"Mark as read","conversation.menu.item.mark_unread":"Mark as unread","conversation.menu.item.remove":"Delete","message.menu.item.reply":"Reply","message.menu.item.multi.choice":"Select","message.menu.item.copy":"Copy","message.menu.item.forward":"Forward","message.menu.item.delete":"Delete","message.menu.item.speech.to.text":"Transcribe","message.menu.item.cancel.speech.to.text":"Cancel Transcribe","message.speech.to.text.failed":"Speech conversion failed","message.speech.to.text.empty":" ","message.speech.to.text.unsupported":"This voice message does not support transcription","message.menu.item.recall":"Recall","conversation.empty.desc":"No message","conversation.list.empty.desc":"No conversation","conversation.list.bar.title":"Conversation","conversation.detail.bar.typing":"Typing...","conversation.detail.bar.typing.audio":"Speaking...","alert.req.msg.error":"Request message failed: {0}","alert.pickfiles.maxcount":"You can only select up to {0} files","alert.paste.not.supported":"Paste is not supported in your browser","alert.delete.message.failed":"Delete message failed: {0}","alert.delete.messages.partial.failure":"Delete {0} messages failed","alert.delete.conversation.failed":"Delete conversation failed: {0}","alert.imlib.failed.network":"The request could not be completed. Please check your network and try again later. (Error code: {0})","alert.imlib.failed.generic":"The operation could not be completed. Please try again later. (Error code: {0})","alert.forward.not.supported":"The {0} selected messages cannot be forwarded","alert.forward.over.length":"Select up to 100 chat transcripts","alert.delete.over.length":"Cannot delete more than 100 messages","alert.send.message.maxcount":"Exceeds {0} characters, please delete some and try again.","alert.message-deleted":"Message deleted","alert.conversation.list.not.ready":"Conversation list is not ready, please try again later","dialog.delete.msg":"Delete this message","dialog.delete.msg.confirm":"Delete","dialog.delete.msg.content":"This operation will only delete your conversation record, others will still see it","dialog.tips.msg":"Tips","dialog.cancel.msg":"Cancel","dialog.confirm.msg":"OK","dialog.forwarding.msg":"Forward it to","dialog.recall.msg":"Also delete for everyone","dialog.forwarding.confirm":"Send","take-photo.send-btn.label":"Send","take-photo.cancel-btn.label":"Cancel","take-photo.retry-btn.label":"Retry","take-photo.msg.camera-starting":"Camera starting...","take-photo.msg.camera-startup-failure":"Camera startup failure: {0}","multi-choice.menu.selected-count":"Selected {0} items","multi-choice.menu.forward-item-by-item":"Forward","multi-choice.menu.delete":"Delete","private.combine-msg.title":"{0} and {1} chat history","private.combine-msg.signal.title":"{0}'s chat history","group.combine-msg.title":"Group chat history","connection.status.suspended":"Network Unavailabel","connection.status.disconnected":"Active disconnection","connection.status.connecting":"Connecting...","toast.forward.success":"Forwarded successfully","toast.copy.success":"Copied"}},zh_CN:{direction:"ltr",entries:{"conv.loading.msg":"加载中...","conv.mentioned.me.msg":"@我","conv.mentioned.all.msg":"@所有人","conv.draft.msg":"[草稿]","message.list.select":"选择以下信息","message.list.unselect":"取消选择","message.list.recall.by.self":"你撤回了一条消息","message.list.recall.by.other":"{0} 撤回了一条消息","message.list.reedit.msg":"重新编辑","message.list.read":"已读","message.list.back":"返回","message.list.reedit":"重新编辑","message.list.read-receipt.tooltip.all-unread":"全部未读","message.list.read-receipt.tooltip.all-read":"全部已读","message.list.read-receipt.tooltip.read-count":"{0} 人已读","message.list.read-receipt.tooltip.unread-count":"{0} 人未读","message-type.RC:ImgMsg":"[图片]","message-type.RC:HQVCMsg":"[语音]","message-type.RC:VcMsg":"[语音]","message-type.RC:GIFMsg":"[图片]","message-type.RC:FileMsg":"[文件]","message-type.RC:SightMsg":"[视频]","message-type.RC:ImgTextMsg":"[图文]","message-type.RC:LBSMsg":"[位置]","message-type.RC:CombineMsg":"[合并转发]","message-type.RC:CombineV2Msg":"[合并转发]","message-type.RC:ReferenceMsg":"[引用]","message-type.unknown":"[不支持的消息类型]","time.format.today":"今天","time.format.yesterday":"昨天","time.format.monday":"星期一","time.format.tueday":"星期二","time.format.wedday":"星期三","time.format.thurday":"星期四","time.format.friday":"星期五","time.format.satday":"星期六","time.format.sunday":"星期日","time.format.full":"{0}/{1}/{2}","input.menu.item.photo":"拍照","input.menu.item.images":"图片","input.menu.item.files":"文件","input.menu.item.emoji":"表情","input.placeholder":"Shift + Enter 换行, Enter 发送","input.send":"发送","input.reply.prefix":"回复 ","input.mentioned.all":"所有人","input.placeholder.search":"搜索","conversation.menu.item.add_top":"置顶","conversation.menu.item.remove_top":"取消置顶","conversation.menu.item.mute":"免打扰","conversation.menu.item.unmute":"取消免打扰","conversation.menu.item.mark_read":"标记已读","conversation.menu.item.mark_unread":"标记未读","conversation.menu.item.remove":"删除","message.menu.item.reply":"回复","message.menu.item.multi.choice":"多选","message.menu.item.copy":"复制","message.menu.item.forward":"转发","message.menu.item.delete":"删除","message.menu.item.speech.to.text":"转文字","message.menu.item.cancel.speech.to.text":"取消转文字","message.speech.to.text.failed":"语音转换失败","message.speech.to.text.empty":" ","message.speech.to.text.unsupported":"此语音消息不支持转文字功能","message.menu.item.recall":"撤回","conversation.empty.desc":"暂无消息","conversation.list.empty.desc":"暂无对话","conversation.list.bar.title":"会话","conversation.detail.bar.typing":"对方正在输入...","conversation.detail.bar.typing.audio":"对方正在讲话...","alert.req.msg.error":"请求消息失败: {0}","alert.pickfiles.maxcount":"最多只能选择 {0} 个文件","alert.paste.not.supported":"您的浏览器不支持粘贴操作","alert.delete.message.failed":"删除消息失败: {0}","alert.delete.messages.partial.failure":"删除 {0} 条消息失败","alert.delete.conversation.failed":"删除会话失败: {0}","alert.imlib.failed.network":"当前请求未成功,请检查网络后稍候重试。(错误码:{0})","alert.imlib.failed.generic":"操作未成功,请稍后重试。(错误码:{0})","alert.forward.not.supported":"选中的第 {0} 条消息不支持转发","alert.forward.over.length":"聊天记录选择不能超过 100 条","alert.delete.over.length":"不能删除超过 100 条消息","alert.send.message.maxcount":"内容超过 {0} 字, 请删除部分内容后再尝试发送","alert.message-deleted":"消息被删除","alert.conversation.list.not.ready":"会话列表仍在加载中, 请稍后再试","dialog.delete.msg":"删除该条消息","dialog.delete.msg.confirm":"删除","dialog.delete.msg.content":"该操作仅会删除你的会话记录,其它人仍可见","dialog.tips.msg":"提示","dialog.cancel.msg":"取消","dialog.confirm.msg":"确认","dialog.forwarding.msg":"转发给","dialog.recall.msg":"同时删除对方的","dialog.forwarding.confirm":"发送","take-photo.send-btn.label":"发送","take-photo.cancel-btn.label":"取消","take-photo.retry-btn.label":"重拍","take-photo.msg.camera-starting":"相机启动中...","take-photo.msg.camera-startup-failure":"相机启动失败: {0}","multi-choice.menu.selected-count":"已选择 {0} 项","multi-choice.menu.forward-item-by-item":"逐条转发","multi-choice.menu.delete":"删除","private.combine-msg.title":"{0} 和 {1} 的聊天记录","private.combine-msg.signal.title":"{0} 的聊天记录","group.combine-msg.title":"群聊的聊天记录","connection.status.suspended":"当前网络不可用,请检查网络","connection.status.disconnected":"已主动断开连接","connection.status.connecting":"连接中...","toast.forward.success":"转发成功","toast.copy.success":"已复制"}}};class O5 extends Ss{constructor(){super(...arguments);K(this,"_language","zh_CN")}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){}cloneLanguageEntries(s){return xs[s]?(this.logger.info(B.A_CLONE_LANGUAGE_ENTRIES_O,`lang: ${s}`),{...xs[s].entries}):(this.logger.error(B.A_CLONE_LANGUAGE_ENTRIES_O,`Language pack '${s}' not found.`),null)}registerLanguagePack(s,n,i="ltr"){this.logger.info(B.A_REGISTER_LANGUAGE_PACK_O,`lang: ${s}, direction: ${i}`),xs[s]={direction:i,entries:n}}setLanguage(s){if(!xs[s]){this.logger.error(B.A_SET_LANGUAGE_O,`Language pack '${s}' not found.`);return}if(this._language===s){this.logger.warn(B.A_SET_LANGUAGE_O,`Language '${s}' already in use.`);return}this.logger.info(B.A_SET_LANGUAGE_O,`current: ${this._language}, target: ${s}`);const{direction:n}=xs[s];this._language=s,this.ctx.dispatchEvent(new ie(Y.LANGUAGE_CHANGE,{lang:s,direction:n}))}getLanguage(){return this._language}getSupportedLanguages(){return Object.keys(xs)}getEntryString(s){var n;return(n=xs[this._language])==null?void 0:n.entries[s]}format(s,...n){const i=xs[this._language].entries[s];return i?i.replace(/\{\d+\}/g,(r,o)=>n[parseInt(r.substring(1,r.length-1),10)].toString()):s}}var ks=(e=>(e[e.SUCCESS=f.ErrorCode.SUCCESS]="SUCCESS",e[e.INVALID_CONVERSATION=39001]="INVALID_CONVERSATION",e[e.TASK_CANCEL=39002]="TASK_CANCEL",e[e.CONVERSATION_LIST_NOT_READY=39003]="CONVERSATION_LIST_NOT_READY",e))(ks||{});class s1 extends Ss{constructor(s,n=5,i=5){super(s);K(this,"_timestamps",[]);K(this,"_queue",[]);K(this,"_executing",[]);K(this,"_timer",-1);K(this,"_paused",!1);this._parallel=n,this._fps=i}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){clearTimeout(this._timer),this._timer=-1}async push(s){return new Promise(n=>{this._queue.push({params:s,resolve:n}),this.logger.info(B.L_PUSH_2_QUEUE_O,`${this._tag}: queue length: ${this._queue.length}`),this._execute()})}remove(s){let n=this._queue.findIndex(i=>i.params.transactionId===s);if(n!==-1){const i=this._queue[n];return i.code=ks.TASK_CANCEL,!0}if(n=this._executing.findIndex(i=>i.params.transactionId===s),n!==-1){const i=this._executing[n],r=this._try2CancelExecutingTask(s);return r&&(i.code=ks.TASK_CANCEL),r}return!1}async _execute(){if(this._paused||this._queue.length===0||this._executing.length>=this._parallel)return;if(this._timestamps.length>=this._fps){this.logger.warn(B.L_TASK_QUEUE_EXECUTE_O,`${this._tag}: trigger limiting`);return}this._timer===-1&&(this._timer=window.setTimeout(()=>{this._timestamps.length=0,this._timer=-1,this._execute()},1e3));const s=this._queue.shift();this._executing.push(s),this._timestamps.push(Date.now()),this.logger.info(B.L_TASK_QUEUE_EXECUTE_O,`${this._tag}: queue length: ${this._queue.length}, executing length: ${this._executing.length}`);const n=this._handle(s.params);this._execute();const{code:i,data:r}=await n;s.code=i,s.result=r,this._checkResolve()}_checkResolve(){for(;this._executing.length&&this._executing[0].code!==void 0;){const{resolve:s,code:n,result:i}=this._executing.shift();s({code:n,data:i})}this._execute()}}class b5 extends s1{constructor(s){super(s,1,5);K(this,"_tag","MessageSendQueue")}async _handle(s){const{conversation:n,message:i,options:r}=s,{conversationType:o,targetId:a,channelId:l}=n,c=this.logger.createTraceId();this.logger.info(B.L_SEND_MSG_T,`type: ${i.messageType}, conversationType: ${o}, targetId: ${a}, channelId: ${l||""}`,c);const{isCounted:u,isPersited:d,content:h,messageType:p}=i,_=new f.BaseMessage(p,h,d,u);if(j.isObject(_.content))try{_.content=Ca(_.content)}catch(E){this.logger.warn(B.A_SEND_MESSAGE_E,E.message)}const m={...r,onSendBefore(E){var g;i.messageId=E.messageId,(g=r==null?void 0:r.onSendBefore)==null||g.call(r,E)},pushConfig:this.ctx.store.getPushConfig(i)};if(this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5){const E=[j.ConversationType.PRIVATE,j.ConversationType.GROUP].includes(n.conversationType),g=r==null?void 0:r.isMentioned;E&&!g&&(m.needReceipt=!0)}const{code:L,data:M}=await f.sendMessage(n,_,m);return L!==f.ErrorCode.SUCCESS?this.logger.warn(B.L_SEND_MSG_R,`code: ${L}`,c):this.logger.info(B.L_SEND_MSG_R,"success",c),{code:L,data:M}}_try2CancelExecutingTask(s){return!1}}class L5 extends s1{constructor(){super(...arguments);K(this,"_tag","FileUploadQueue");K(this,"_clients",new Map)}_getFileType(s){switch(s){case f.MessageType.IMAGE:case f.MessageType.GIF:return f.FileType.IMAGE;case f.MessageType.SIGHT:return f.FileType.SIGHT;case f.MessageType.COMBINE:return f.FileType.COMBINE_HTML;default:return f.FileType.FILE}}async _handle(s){const{message:n,transactionId:i}=s,r=n.file,o=this._getFileType(n.messageType),a={file:r,fileType:o,onProgress:(p,_)=>{this.logger.debug(B.L_UPLOAD_FILE_O,`name: ${r.name}, progress: ${p}/${_}`);const m=Math.floor(p*100/_);n.progress=m,this.ctx.dispatchEvent(new ie(Y.FILE_UPLOAD_PROGRESS,{progress:m,message:n}))}},l=this.logger.createTraceId();this.logger.info(B.L_UPLOAD_FILE_T,`name: ${r.name}, size: ${r.size}`,l);const c=await f.createUploadTask(a);if(c.code!==f.ErrorCode.SUCCESS)return this.logger.warn(B.L_UPLOAD_FILE_R,`code: ${c.code}`,l),{code:c.code,data:{message:n}};const u=c.data;this._clients.set(i,u);const{code:d,data:h}=await u.awaitResult();return d!==f.ErrorCode.SUCCESS?(this.logger.warn(B.L_UPLOAD_FILE_R,`code: ${d}`,l),n.progress=-1,n.sentStatus=j.SentStatus.FAILED,this.ctx.dispatchEvent(new ie(Y.MESSAGE_STATE_CHANGE,[n])),{code:d,data:{message:n}}):(this.logger.info(B.L_UPLOAD_FILE_R,"success",l),{code:d,data:{message:n,httpUrl:h.downloadUrl}})}_try2CancelExecutingTask(s){const n=this._clients.get(s);return n?(f.stopUploadTask(n.id),this._clients.delete(s),!0):!1}}/**
299
+ * @vue/shared v3.5.30
300
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
301
+ * @license MIT
302
+ **/function as(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const Fe={},Ei=[],kt=()=>{},vi=()=>!1,Hn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ma=e=>e.startsWith("onUpdate:"),Ve=Object.assign,Oa=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},A5=Object.prototype.hasOwnProperty,qe=(e,t)=>A5.call(e,t),he=Array.isArray,Ci=e=>yi(e)==="[object Map]",Gn=e=>yi(e)==="[object Set]",n1=e=>yi(e)==="[object Date]",x5=e=>yi(e)==="[object RegExp]",we=e=>typeof e=="function",be=e=>typeof e=="string",Xt=e=>typeof e=="symbol",Be=e=>e!==null&&typeof e=="object",ba=e=>(Be(e)||we(e))&&we(e.then)&&we(e.catch),i1=Object.prototype.toString,yi=e=>i1.call(e),k5=e=>yi(e).slice(8,-1),Jr=e=>yi(e)==="[object Object]",Xr=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ys=as(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),U5=as("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),eo=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},N5=/-\w/g,Ye=eo(e=>e.replace(N5,t=>t.slice(1).toUpperCase())),D5=/\B([A-Z])/g,es=eo(e=>e.replace(D5,"-$1").toLowerCase()),Bn=eo(e=>e.charAt(0).toUpperCase()+e.slice(1)),Si=eo(e=>e?`on${Bn(e)}`:""),Nt=(e,t)=>!Object.is(e,t),Ti=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},r1=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},to=e=>{const t=parseFloat(e);return isNaN(t)?e:t},so=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let o1;const no=()=>o1||(o1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function P5(e,t){return e+JSON.stringify(t,(s,n)=>typeof n=="function"?n.toString():n)}const V5=as("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol");function it(e){if(he(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=be(n)?a1(n):it(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(be(e)||Be(e))return e}const $5=/;(?![^(]*\))/g,F5=/:([^]+)/,H5=/\/\*[^]*?\*\//g;function a1(e){const t={};return e.replace(H5,"").split($5).forEach(s=>{if(s){const n=s.split(F5);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Je(e){let t="";if(be(e))t=e;else if(he(e))for(let s=0;s<e.length;s++){const n=Je(e[s]);n&&(t+=n+" ")}else if(Be(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}function G5(e){if(!e)return null;let{class:t,style:s}=e;return t&&!be(t)&&(e.class=Je(t)),s&&(e.style=it(s)),e}const B5="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",j5="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",K5="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",z5="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",q5=as(B5),Z5=as(j5),W5=as(K5),Q5=as(z5),Y5=as("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function l1(e){return!!e||e===""}function J5(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Js(e[n],t[n]);return s}function Js(e,t){if(e===t)return!0;let s=n1(e),n=n1(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Xt(e),n=Xt(t),s||n)return e===t;if(s=he(e),n=he(t),s||n)return s&&n?J5(e,t):!1;if(s=Be(e),n=Be(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const a=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(a&&!l||!a&&l||!Js(e[o],t[o]))return!1}}return String(e)===String(t)}function io(e,t){return e.findIndex(s=>Js(s,t))}const c1=e=>!!(e&&e.__v_isRef===!0),oe=e=>be(e)?e:e==null?"":he(e)||Be(e)&&(e.toString===i1||!we(e.toString))?c1(e)?oe(e.value):JSON.stringify(e,u1,2):String(e),u1=(e,t)=>c1(t)?u1(e,t.value):Ci(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[La(n,r)+" =>"]=i,s),{})}:Gn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>La(s))}:Xt(t)?La(t):Be(t)&&!he(t)&&!Jr(t)?String(t):t,La=(e,t="")=>{var s;return Xt(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};function X5(e){return e==null?"initial":typeof e=="string"?e===""?" ":e:String(e)}/**
303
+ * @vue/reactivity v3.5.30
304
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
305
+ * @license MIT
306
+ **/let Gt;class Aa{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Gt,!t&&Gt&&(this.index=(Gt.scopes||(Gt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Gt;try{return Gt=this,t()}finally{Gt=s}}}on(){++this._on===1&&(this.prevScope=Gt,Gt=this)}off(){this._on>0&&--this._on===0&&(Gt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function ep(e){return new Aa(e)}function d1(){return Gt}function tp(e,t=!1){Gt&&Gt.cleanups.push(e)}let st;const xa=new WeakSet;class Xi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Gt&&Gt.active&&Gt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,xa.has(this)&&(xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||h1(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,E1(this),p1(this);const t=st,s=Is;st=this,Is=!0;try{return this.fn()}finally{g1(this),st=t,Is=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Da(t);this.deps=this.depsTail=void 0,E1(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Na(this)&&this.run()}get dirty(){return Na(this)}}let f1=0,er,tr;function h1(e,t=!1){if(e.flags|=8,t){e.next=tr,tr=e;return}e.next=er,er=e}function ka(){f1++}function Ua(){if(--f1>0)return;if(tr){let t=tr;for(tr=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;er;){let t=er;for(er=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function p1(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function g1(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Da(n),sp(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Na(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_1(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _1(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===sr)||(e.globalVersion=sr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Na(e))))return;e.flags|=2;const t=e.dep,s=st,n=Is;st=e,Is=!0;try{p1(e);const i=e.fn(e._value);(t.version===0||Nt(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{st=s,Is=n,g1(e),e.flags&=-3}}function Da(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Da(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function sp(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}function np(e,t){e.effect instanceof Xi&&(e=e.effect.fn);const s=new Xi(e);t&&Ve(s,t);try{s.run()}catch(i){throw s.stop(),i}const n=s.run.bind(s);return n.effect=s,n}function ip(e){e.effect.stop()}let Is=!0;const m1=[];function Us(){m1.push(Is),Is=!1}function Ns(){const e=m1.pop();Is=e===void 0?!0:e}function E1(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=st;st=void 0;try{t()}finally{st=s}}}let sr=0;class rp{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ro{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!st||!Is||st===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==st)s=this.activeLink=new rp(st,this),st.deps?(s.prevDep=st.depsTail,st.depsTail.nextDep=s,st.depsTail=s):st.deps=st.depsTail=s,v1(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=st.depsTail,s.nextDep=void 0,st.depsTail.nextDep=s,st.depsTail=s,st.deps===s&&(st.deps=n)}return s}trigger(t){this.version++,sr++,this.notify(t)}notify(t){ka();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ua()}}}function v1(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)v1(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const oo=new WeakMap,jn=Symbol(""),Pa=Symbol(""),nr=Symbol("");function Bt(e,t,s){if(Is&&st){let n=oo.get(e);n||oo.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new ro),i.map=n,i.key=s),i.track()}}function Xs(e,t,s,n,i,r){const o=oo.get(e);if(!o){sr++;return}const a=l=>{l&&l.trigger()};if(ka(),t==="clear")o.forEach(a);else{const l=he(e),c=l&&Xr(s);if(l&&s==="length"){const u=Number(n);o.forEach((d,h)=>{(h==="length"||h===nr||!Xt(h)&&h>=u)&&a(d)})}else switch((s!==void 0||o.has(void 0))&&a(o.get(s)),c&&a(o.get(nr)),t){case"add":l?c&&a(o.get("length")):(a(o.get(jn)),Ci(e)&&a(o.get(Pa)));break;case"delete":l||(a(o.get(jn)),Ci(e)&&a(o.get(Pa)));break;case"set":Ci(e)&&a(o.get(jn));break}}Ua()}function op(e,t){const s=oo.get(e);return s&&s.get(t)}function Ii(e){const t=He(e);return t===e?t:(Bt(t,"iterate",nr),ts(e)?t:t.map(ws))}function ao(e){return Bt(e=He(e),"iterate",nr),e}function Ds(e,t){return Ps(e)?wi(sn(e)?ws(t):t):ws(t)}const ap={__proto__:null,[Symbol.iterator](){return Va(this,Symbol.iterator,e=>Ds(this,e))},concat(...e){return Ii(this).concat(...e.map(t=>he(t)?Ii(t):t))},entries(){return Va(this,"entries",e=>(e[1]=Ds(this,e[1]),e))},every(e,t){return en(this,"every",e,t,void 0,arguments)},filter(e,t){return en(this,"filter",e,t,s=>s.map(n=>Ds(this,n)),arguments)},find(e,t){return en(this,"find",e,t,s=>Ds(this,s),arguments)},findIndex(e,t){return en(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return en(this,"findLast",e,t,s=>Ds(this,s),arguments)},findLastIndex(e,t){return en(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return en(this,"forEach",e,t,void 0,arguments)},includes(...e){return $a(this,"includes",e)},indexOf(...e){return $a(this,"indexOf",e)},join(e){return Ii(this).join(e)},lastIndexOf(...e){return $a(this,"lastIndexOf",e)},map(e,t){return en(this,"map",e,t,void 0,arguments)},pop(){return ir(this,"pop")},push(...e){return ir(this,"push",e)},reduce(e,...t){return C1(this,"reduce",e,t)},reduceRight(e,...t){return C1(this,"reduceRight",e,t)},shift(){return ir(this,"shift")},some(e,t){return en(this,"some",e,t,void 0,arguments)},splice(...e){return ir(this,"splice",e)},toReversed(){return Ii(this).toReversed()},toSorted(e){return Ii(this).toSorted(e)},toSpliced(...e){return Ii(this).toSpliced(...e)},unshift(...e){return ir(this,"unshift",e)},values(){return Va(this,"values",e=>Ds(this,e))}};function Va(e,t,s){const n=ao(e),i=n[t]();return n!==e&&!ts(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const lp=Array.prototype;function en(e,t,s,n,i,r){const o=ao(e),a=o!==e&&!ts(e),l=o[t];if(l!==lp[t]){const d=l.apply(e,r);return a?ws(d):d}let c=s;o!==e&&(a?c=function(d,h){return s.call(this,Ds(e,d),h,e)}:s.length>2&&(c=function(d,h){return s.call(this,d,h,e)}));const u=l.call(o,c,n);return a&&i?i(u):u}function C1(e,t,s,n){const i=ao(e),r=i!==e&&!ts(e);let o=s,a=!1;i!==e&&(r?(a=n.length===0,o=function(c,u,d){return a&&(a=!1,c=Ds(e,c)),s.call(this,c,Ds(e,u),d,e)}):s.length>3&&(o=function(c,u,d){return s.call(this,c,u,d,e)}));const l=i[t](o,...n);return a?Ds(e,l):l}function $a(e,t,s){const n=He(e);Bt(n,"iterate",nr);const i=n[t](...s);return(i===-1||i===!1)&&or(s[0])?(s[0]=He(s[0]),n[t](...s)):i}function ir(e,t,s=[]){Us(),ka();const n=He(e)[t].apply(e,s);return Ua(),Ns(),n}const cp=as("__proto__,__v_isRef,__isVue"),y1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Xt));function up(e){Xt(e)||(e=String(e));const t=He(this);return Bt(t,"has",e),t.hasOwnProperty(e)}class S1{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?O1:M1:r?R1:w1).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=he(t);if(!i){let l;if(o&&(l=ap[s]))return l;if(s==="hasOwnProperty")return up}const a=Reflect.get(t,s,dt(t)?t:n);if((Xt(s)?y1.has(s):cp(s))||(i||Bt(t,"get",s),r))return a;if(dt(a)){const l=o&&Xr(s)?a:a.value;return i&&Be(l)?rr(l):l}return Be(a)?i?rr(a):tn(a):a}}class T1 extends S1{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=he(t)&&Xr(s);if(!this._isShallow){const c=Ps(r);if(!ts(n)&&!Ps(n)&&(r=He(r),n=He(n)),!o&&dt(r)&&!dt(n))return c||(r.value=n),!0}const a=o?Number(s)<t.length:qe(t,s),l=Reflect.set(t,s,n,dt(t)?t:i);return t===He(i)&&(a?Nt(n,r)&&Xs(t,"set",s,n):Xs(t,"add",s,n)),l}deleteProperty(t,s){const n=qe(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Xs(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Xt(s)||!y1.has(s))&&Bt(t,"has",s),n}ownKeys(t){return Bt(t,"iterate",he(t)?"length":jn),Reflect.ownKeys(t)}}class I1 extends S1{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const dp=new T1,fp=new I1,hp=new T1(!0),pp=new I1(!0),Fa=e=>e,lo=e=>Reflect.getPrototypeOf(e);function gp(e,t,s){return function(...n){const i=this.__v_raw,r=He(i),o=Ci(r),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=i[e](...n),u=s?Fa:t?wi:ws;return!t&&Bt(r,"iterate",l?Pa:jn),Ve(Object.create(c),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:a?[u(d[0]),u(d[1])]:u(d),done:h}}})}}function co(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _p(e,t){const s={get(i){const r=this.__v_raw,o=He(r),a=He(i);e||(Nt(i,a)&&Bt(o,"get",i),Bt(o,"get",a));const{has:l}=lo(o),c=t?Fa:e?wi:ws;if(l.call(o,i))return c(r.get(i));if(l.call(o,a))return c(r.get(a));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&Bt(He(i),"iterate",jn),i.size},has(i){const r=this.__v_raw,o=He(r),a=He(i);return e||(Nt(i,a)&&Bt(o,"has",i),Bt(o,"has",a)),i===a?r.has(i):r.has(i)||r.has(a)},forEach(i,r){const o=this,a=o.__v_raw,l=He(a),c=t?Fa:e?wi:ws;return!e&&Bt(l,"iterate",jn),a.forEach((u,d)=>i.call(r,c(u),c(d),o))}};return Ve(s,e?{add:co("add"),set:co("set"),delete:co("delete"),clear:co("clear")}:{add(i){const r=He(this),o=lo(r),a=He(i),l=!t&&!ts(i)&&!Ps(i)?a:i;return o.has.call(r,l)||Nt(i,l)&&o.has.call(r,i)||Nt(a,l)&&o.has.call(r,a)||(r.add(l),Xs(r,"add",l,l)),this},set(i,r){!t&&!ts(r)&&!Ps(r)&&(r=He(r));const o=He(this),{has:a,get:l}=lo(o);let c=a.call(o,i);c||(i=He(i),c=a.call(o,i));const u=l.call(o,i);return o.set(i,r),c?Nt(r,u)&&Xs(o,"set",i,r):Xs(o,"add",i,r),this},delete(i){const r=He(this),{has:o,get:a}=lo(r);let l=o.call(r,i);l||(i=He(i),l=o.call(r,i)),a&&a.call(r,i);const c=r.delete(i);return l&&Xs(r,"delete",i,void 0),c},clear(){const i=He(this),r=i.size!==0,o=i.clear();return r&&Xs(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=gp(i,e,t)}),s}function uo(e,t){const s=_p(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(qe(s,i)&&i in n?s:n,i,r)}const mp={get:uo(!1,!1)},Ep={get:uo(!1,!0)},vp={get:uo(!0,!1)},Cp={get:uo(!0,!0)},w1=new WeakMap,R1=new WeakMap,M1=new WeakMap,O1=new WeakMap;function yp(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sp(e){return e.__v_skip||!Object.isExtensible(e)?0:yp(k5(e))}function tn(e){return Ps(e)?e:fo(e,!1,dp,mp,w1)}function b1(e){return fo(e,!1,hp,Ep,R1)}function rr(e){return fo(e,!0,fp,vp,M1)}function Tp(e){return fo(e,!0,pp,Cp,O1)}function fo(e,t,s,n,i){if(!Be(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Sp(e);if(r===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,r===2?n:s);return i.set(e,a),a}function sn(e){return Ps(e)?sn(e.__v_raw):!!(e&&e.__v_isReactive)}function Ps(e){return!!(e&&e.__v_isReadonly)}function ts(e){return!!(e&&e.__v_isShallow)}function or(e){return e?!!e.__v_raw:!1}function He(e){const t=e&&e.__v_raw;return t?He(t):e}function L1(e){return!qe(e,"__v_skip")&&Object.isExtensible(e)&&r1(e,"__v_skip",!0),e}const ws=e=>Be(e)?tn(e):e,wi=e=>Be(e)?rr(e):e;function dt(e){return e?e.__v_isRef===!0:!1}function N(e){return x1(e,!1)}function A1(e){return x1(e,!0)}function x1(e,t){return dt(e)?e:new Ip(e,t)}class Ip{constructor(t,s){this.dep=new ro,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:He(t),this._value=s?t:ws(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ts(t)||Ps(t);t=n?t:He(t),Nt(t,s)&&(this._rawValue=t,this._value=n?t:ws(t),this.dep.trigger())}}function wp(e){e.dep&&e.dep.trigger()}function x(e){return dt(e)?e.value:e}function Rp(e){return we(e)?e():x(e)}const Mp={get:(e,t,s)=>t==="__v_raw"?e:x(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return dt(i)&&!dt(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Ha(e){return sn(e)?e:new Proxy(e,Mp)}class Op{constructor(t){this.__v_isRef=!0,this._value=void 0;const s=this.dep=new ro,{get:n,set:i}=t(s.track.bind(s),s.trigger.bind(s));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function k1(e){return new Op(e)}function bp(e){const t=he(e)?new Array(e.length):{};for(const s in e)t[s]=U1(e,s);return t}class Lp{constructor(t,s,n){this._object=t,this._key=s,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._raw=He(t);let i=!0,r=t;if(!he(t)||!Xr(String(s)))do i=!or(r)||ts(r);while(i&&(r=r.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=x(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&dt(this._raw[this._key])){const s=this._object[this._key];if(dt(s)){s.value=t;return}}this._object[this._key]=t}get dep(){return op(this._raw,this._key)}}class Ap{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function xp(e,t,s){return dt(e)?e:we(e)?new Ap(e):Be(e)&&arguments.length>1?U1(e,t,s):N(e)}function U1(e,t,s){return new Lp(e,t,s)}class kp{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new ro(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=sr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&st!==this)return h1(this,!0),!0}get value(){const t=this.dep.track();return _1(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Up(e,t,s=!1){let n,i;return we(e)?n=e:(n=e.get,i=e.set),new kp(n,i,s)}const Np={GET:"get",HAS:"has",ITERATE:"iterate"},Dp={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},ho={},po=new WeakMap;let In;function Pp(){return In}function N1(e,t=!1,s=In){if(s){let n=po.get(s);n||po.set(s,n=[]),n.push(e)}}function Vp(e,t,s=Fe){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:a,call:l}=s,c=v=>i?v:ts(v)||i===!1||i===0?nn(v,1):nn(v);let u,d,h,p,_=!1,m=!1;if(dt(e)?(d=()=>e.value,_=ts(e)):sn(e)?(d=()=>c(e),_=!0):he(e)?(m=!0,_=e.some(v=>sn(v)||ts(v)),d=()=>e.map(v=>{if(dt(v))return v.value;if(sn(v))return c(v);if(we(v))return l?l(v,2):v()})):we(e)?t?d=l?()=>l(e,2):e:d=()=>{if(h){Us();try{h()}finally{Ns()}}const v=In;In=u;try{return l?l(e,3,[p]):e(p)}finally{In=v}}:d=kt,t&&i){const v=d,C=i===!0?1/0:i;d=()=>nn(v(),C)}const L=d1(),M=()=>{u.stop(),L&&L.active&&Oa(L.effects,u)};if(r&&t){const v=t;t=(...C)=>{v(...C),M()}}let E=m?new Array(e.length).fill(ho):ho;const g=v=>{if(!(!(u.flags&1)||!u.dirty&&!v))if(t){const C=u.run();if(i||_||(m?C.some((b,$)=>Nt(b,E[$])):Nt(C,E))){h&&h();const b=In;In=u;try{const $=[C,E===ho?void 0:m&&E[0]===ho?[]:E,p];E=C,l?l(t,3,$):t(...$)}finally{In=b}}}else u.run()};return a&&a(g),u=new Xi(d),u.scheduler=o?()=>o(g,!1):g,p=v=>N1(v,!1,u),h=u.onStop=()=>{const v=po.get(u);if(v){if(l)l(v,4);else for(const C of v)C();po.delete(u)}},t?n?g(!0):E=u.run():o?o(g.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function nn(e,t=1/0,s){if(t<=0||!Be(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,dt(e))nn(e.value,t,s);else if(he(e))for(let n=0;n<e.length;n++)nn(e[n],t,s);else if(Gn(e)||Ci(e))e.forEach(n=>{nn(n,t,s)});else if(Jr(e)){for(const n in e)nn(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&nn(e[n],t,s)}return e}/**
307
+ * @vue/runtime-core v3.5.30
308
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
309
+ * @license MIT
310
+ **/const Kn=[];function $p(e){Kn.push(e)}function Fp(){Kn.pop()}let Ga=!1;function sC(e,...t){if(Ga)return;Ga=!0,Us();const s=Kn.length?Kn[Kn.length-1].component:null,n=s&&s.appContext.config.warnHandler,i=Hp();if(n)zn(n,s,11,[e+t.map(r=>{var o,a;return(a=(o=r.toString)==null?void 0:o.call(r))!=null?a:JSON.stringify(r)}).join(""),s&&s.proxy,i.map(({vnode:r})=>`at <${td(s,r.type)}>`).join(`
311
+ `),i]);else{const r=[`[Vue warn]: ${e}`,...t];i.length&&r.push(`
312
+ `,...Gp(i)),console.warn(...r)}Ns(),Ga=!1}function Hp(){let e=Kn[Kn.length-1];if(!e)return[];const t=[];for(;e;){const s=t[0];s&&s.vnode===e?s.recurseCount++:t.push({vnode:e,recurseCount:0});const n=e.component&&e.component.parent;e=n&&n.vnode}return t}function Gp(e){const t=[];return e.forEach((s,n)=>{t.push(...n===0?[]:[`
313
+ `],...Bp(s))}),t}function Bp({vnode:e,recurseCount:t}){const s=t>0?`... (${t} recursive calls)`:"",n=e.component?e.component.parent==null:!1,i=` at <${td(e.component,e.type,n)}`,r=">"+s;return e.props?[i,...jp(e.props),r]:[i+r]}function jp(e){const t=[],s=Object.keys(e);return s.slice(0,3).forEach(n=>{t.push(...D1(n,e[n]))}),s.length>3&&t.push(" ..."),t}function D1(e,t,s){return be(t)?(t=JSON.stringify(t),s?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?s?t:[`${e}=${t}`]:dt(t)?(t=D1(e,He(t.value),!0),s?t:[`${e}=Ref<`,t,">"]):we(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=He(t),s?t:[`${e}=`,t])}function Kp(e,t){}const zp={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},qp={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function zn(e,t,s,n){try{return n?e(...n):e()}catch(i){qn(i,t,s)}}function gs(e,t,s,n){if(we(e)){const i=zn(e,t,s,n);return i&&ba(i)&&i.catch(r=>{qn(r,t,s)}),i}if(he(e)){const i=[];for(let r=0;r<e.length;r++)i.push(gs(e[r],t,s,n));return i}}function qn(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Fe;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const u=a.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,l,c)===!1)return}a=a.parent}if(r){Us(),zn(r,null,10,[e,l,c]),Ns();return}}Zp(e,s,i,n,o)}function Zp(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const Qt=[];let Vs=-1;const Ri=[];let wn=null,Mi=0;const P1=Promise.resolve();let go=null;function ot(e){const t=go||P1;return e?t.then(this?e.bind(this):e):t}function Wp(e){let t=Vs+1,s=Qt.length;for(;t<s;){const n=t+s>>>1,i=Qt[n],r=lr(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function Ba(e){if(!(e.flags&1)){const t=lr(e),s=Qt[Qt.length-1];!s||!(e.flags&2)&&t>=lr(s)?Qt.push(e):Qt.splice(Wp(t),0,e),e.flags|=1,V1()}}function V1(){go||(go=P1.then(F1))}function ar(e){he(e)?Ri.push(...e):wn&&e.id===-1?wn.splice(Mi+1,0,e):e.flags&1||(Ri.push(e),e.flags|=1),V1()}function $1(e,t,s=Vs+1){for(;s<Qt.length;s++){const n=Qt[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Qt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function _o(e){if(Ri.length){const t=[...new Set(Ri)].sort((s,n)=>lr(s)-lr(n));if(Ri.length=0,wn){wn.push(...t);return}for(wn=t,Mi=0;Mi<wn.length;Mi++){const s=wn[Mi];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}wn=null,Mi=0}}const lr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function F1(e){const t=kt;try{for(Vs=0;Vs<Qt.length;Vs++){const s=Qt[Vs];s&&!(s.flags&8)&&(s.flags&4&&(s.flags&=-2),zn(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;Vs<Qt.length;Vs++){const s=Qt[Vs];s&&(s.flags&=-2)}Vs=-1,Qt.length=0,_o(),go=null,(Qt.length||Ri.length)&&F1()}}let Oi,mo=[];function H1(e,t){var s,n;Oi=e,Oi?(Oi.enabled=!0,mo.forEach(({event:i,args:r})=>Oi.emit(i,...r)),mo=[]):typeof window<"u"&&window.HTMLElement&&!((n=(s=window.navigator)==null?void 0:s.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{H1(r,t)}),setTimeout(()=>{Oi||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,mo=[])},3e3)):mo=[]}let Dt=null,Eo=null;function cr(e){const t=Dt;return Dt=e,Eo=e&&e.type.__scopeId||null,t}function Qp(e){Eo=e}function Yp(){Eo=null}const Jp=e=>ft;function ft(e,t=Dt,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Cr(-1);const r=cr(t);let o;try{o=e(...i)}finally{cr(r),n._d&&Cr(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function _s(e,t){if(Dt===null)return e;const s=yr(Dt),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,a,l=Fe]=t[i];r&&(we(r)&&(r={mounted:r,updated:r}),r.deep&&nn(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:a,modifiers:l}))}return e}function $s(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];r&&(a.oldValue=r[o].value);let l=a.dir[n];l&&(Us(),gs(l,s,8,[e.el,a,e,t]),Ns())}}function vo(e,t){if(Pt){let s=Pt.provides;const n=Pt.parent&&Pt.parent.provides;n===s&&(s=Pt.provides=Object.create(n)),s[e]=t}}function Zn(e,t,s=!1){const n=Jt();if(n||Wn){let i=Wn?Wn._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&we(t)?t.call(n&&n.proxy):t}}function Xp(){return!!(Jt()||Wn)}const G1=Symbol.for("v-scx"),B1=()=>Zn(G1);function e3(e,t){return ur(e,null,t)}function t3(e,t){return ur(e,null,{flush:"post"})}function j1(e,t){return ur(e,null,{flush:"sync"})}function ls(e,t,s){return ur(e,t,s)}function ur(e,t,s=Fe){const{immediate:n,deep:i,flush:r,once:o}=s,a=Ve({},s),l=t&&n||!t&&r!=="post";let c;if(Xn){if(r==="sync"){const p=B1();c=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=kt,p.resume=kt,p.pause=kt,p}}const u=Pt;a.call=(p,_,m)=>gs(p,u,_,m);let d=!1;r==="post"?a.scheduler=p=>{mt(p,u&&u.suspense)}:r!=="sync"&&(d=!0,a.scheduler=(p,_)=>{_?p():Ba(p)}),a.augmentJob=p=>{t&&(p.flags|=4),d&&(p.flags|=2,u&&(p.id=u.uid,p.i=u))};const h=Vp(e,t,a);return Xn&&(c?c.push(h):l&&h()),h}function s3(e,t,s){const n=this.proxy,i=be(e)?e.includes(".")?K1(n,e):()=>n[e]:e.bind(n,n);let r;we(t)?r=t:(r=t.handler,s=t);const o=Ni(this),a=ur(i,r.bind(n),s);return o(),a}function K1(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const z1=Symbol("_vte"),q1=e=>e.__isTeleport,dr=e=>e&&(e.disabled||e.disabled===""),Z1=e=>e&&(e.defer||e.defer===""),W1=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Q1=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ja=(e,t)=>{const s=e&&e.to;return be(s)?t?t(s):null:s},Y1={name:"Teleport",__isTeleport:!0,process(e,t,s,n,i,r,o,a,l,c){const{mc:u,pc:d,pbc:h,o:{insert:p,querySelector:_,createText:m,createComment:L}}=c,M=dr(t.props);let{shapeFlag:E,children:g,dynamicChildren:v}=t;if(e==null){const C=t.el=m(""),b=t.anchor=m("");p(C,s,n),p(b,s,n);const $=(A,U)=>{E&16&&u(g,A,U,i,r,o,a,l)},F=()=>{const A=t.target=ja(t.props,_),U=Ka(A,t,m,p);A&&(o!=="svg"&&W1(A)?o="svg":o!=="mathml"&&Q1(A)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(A),M||($(A,U),yo(t,!1)))};M&&($(s,b),yo(t,!0)),Z1(t.props)?(t.el.__isMounted=!1,mt(()=>{F(),delete t.el.__isMounted},r)):F()}else{if(Z1(t.props)&&e.el.__isMounted===!1){mt(()=>{Y1.process(e,t,s,n,i,r,o,a,l,c)},r);return}t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,b=t.target=e.target,$=t.targetAnchor=e.targetAnchor,F=dr(e.props),A=F?s:b,U=F?C:$;if(o==="svg"||W1(b)?o="svg":(o==="mathml"||Q1(b))&&(o="mathml"),v?(h(e.dynamicChildren,v,A,i,r,o,a),hl(e,t,!0)):l||d(e,t,A,U,i,r,o,a,!1),M)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Co(t,s,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=ja(t.props,_);O&&Co(t,O,null,c,0)}else F&&Co(t,b,$,c,1);yo(t,M)}},remove(e,t,s,{um:n,o:{remove:i}},r){const{shapeFlag:o,children:a,anchor:l,targetStart:c,targetAnchor:u,target:d,props:h}=e;if(d&&(i(c),i(u)),r&&i(l),o&16){const p=r||!dr(h);for(let _=0;_<a.length;_++){const m=a[_];n(m,t,s,p,!!m.dynamicChildren)}}},move:Co,hydrate:n3};function Co(e,t,s,{o:{insert:n},m:i},r=2){r===0&&n(e.targetAnchor,t,s);const{el:o,anchor:a,shapeFlag:l,children:c,props:u}=e,d=r===2;if(d&&n(o,t,s),(!d||dr(u))&&l&16)for(let h=0;h<c.length;h++)i(c[h],t,s,2);d&&n(a,t,s)}function n3(e,t,s,n,i,r,{o:{nextSibling:o,parentNode:a,querySelector:l,insert:c,createText:u}},d){function h(L,M){let E=M;for(;E;){if(E&&E.nodeType===8){if(E.data==="teleport start anchor")t.targetStart=E;else if(E.data==="teleport anchor"){t.targetAnchor=E,L._lpa=t.targetAnchor&&o(t.targetAnchor);break}}E=o(E)}}function p(L,M){M.anchor=d(o(L),M,a(L),s,n,i,r)}const _=t.target=ja(t.props,l),m=dr(t.props);if(_){const L=_._lpa||_.firstChild;t.shapeFlag&16&&(m?(p(e,t),h(_,L),t.targetAnchor||Ka(_,t,u,c,a(e)===_?e:null)):(t.anchor=o(e),h(_,L),t.targetAnchor||Ka(_,t,u,c),d(L&&o(L),t,_,s,n,i,r))),yo(t,m)}else m&&t.shapeFlag&16&&(p(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const i3=Y1;function yo(e,t){const s=e.ctx;if(s&&s.ut){let n,i;for(t?(n=e.el,i=e.anchor):(n=e.targetStart,i=e.targetAnchor);n&&n!==i;)n.nodeType===1&&n.setAttribute("data-v-owner",s.uid),n=n.nextSibling;s.ut()}}function Ka(e,t,s,n,i=null){const r=t.targetStart=s(""),o=t.targetAnchor=s("");return r[z1]=o,e&&(n(r,e,i),n(o,e,i)),o}const Fs=Symbol("_leaveCb"),fr=Symbol("_enterCb");function za(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return at(()=>{e.isMounted=!0}),Rn(()=>{e.isUnmounting=!0}),e}const ms=[Function,Array],qa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ms,onEnter:ms,onAfterEnter:ms,onEnterCancelled:ms,onBeforeLeave:ms,onLeave:ms,onAfterLeave:ms,onLeaveCancelled:ms,onBeforeAppear:ms,onAppear:ms,onAfterAppear:ms,onAppearCancelled:ms},J1=e=>{const t=e.subTree;return t.component?J1(t.component):t},r3={name:"BaseTransition",props:qa,setup(e,{slots:t}){const s=Jt(),n=za();return()=>{const i=t.default&&So(t.default(),!0);if(!i||!i.length)return;const r=X1(i),o=He(e),{mode:a}=o;if(n.isLeaving)return Za(r);const l=su(r);if(!l)return Za(r);let c=bi(l,o,n,s,d=>c=d);l.type!==Et&&rn(l,c);let u=s.subTree&&su(s.subTree);if(u&&u.type!==Et&&!Rs(u,l)&&J1(s).type!==Et){let d=bi(u,o,n,s);if(rn(u,d),a==="out-in"&&l.type!==Et)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete d.afterLeave,u=void 0},Za(r);a==="in-out"&&l.type!==Et?d.delayLeave=(h,p,_)=>{const m=tu(n,u);m[String(u.key)]=u,h[Fs]=()=>{p(),h[Fs]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{_(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function X1(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Et){t=s;break}}return t}const eu=r3;function tu(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function bi(e,t,s,n,i){const{appear:r,mode:o,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:h,onLeave:p,onAfterLeave:_,onLeaveCancelled:m,onBeforeAppear:L,onAppear:M,onAfterAppear:E,onAppearCancelled:g}=t,v=String(e.key),C=tu(s,e),b=(A,U)=>{A&&gs(A,n,9,U)},$=(A,U)=>{const O=U[1];b(A,U),he(A)?A.every(T=>T.length<=1)&&O():A.length<=1&&O()},F={mode:o,persisted:a,beforeEnter(A){let U=l;if(!s.isMounted)if(r)U=L||l;else return;A[Fs]&&A[Fs](!0);const O=C[v];O&&Rs(e,O)&&O.el[Fs]&&O.el[Fs](),b(U,[A])},enter(A){if(C[v]===e)return;let U=c,O=u,T=d;if(!s.isMounted)if(r)U=M||c,O=E||u,T=g||d;else return;let D=!1;A[fr]=ee=>{D||(D=!0,ee?b(T,[A]):b(O,[A]),F.delayedLeave&&F.delayedLeave(),A[fr]=void 0)};const z=A[fr].bind(null,!1);U?$(U,[A,z]):z()},leave(A,U){const O=String(e.key);if(A[fr]&&A[fr](!0),s.isUnmounting)return U();b(h,[A]);let T=!1;A[Fs]=z=>{T||(T=!0,U(),z?b(m,[A]):b(_,[A]),A[Fs]=void 0,C[O]===e&&delete C[O])};const D=A[Fs].bind(null,!1);C[O]=e,p?$(p,[A,D]):D()},clone(A){const U=bi(A,t,s,n,i);return i&&i(U),U}};return F}function Za(e){if(hr(e))return e=Hs(e),e.children=null,e}function su(e){if(!hr(e))return q1(e.type)&&e.children?X1(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&we(s.default))return s.default()}}function rn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function So(e,t=!1,s){let n=[],i=0;for(let r=0;r<e.length;r++){let o=e[r];const a=s==null?o.key:String(s)+String(o.key!=null?o.key:r);o.type===De?(o.patchFlag&128&&i++,n=n.concat(So(o.children,t,a))):(t||o.type!==Et)&&n.push(a!=null?Hs(o,{key:a}):o)}if(i>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function Te(e,t){return we(e)?(()=>Ve({name:e.name},t,{setup:e}))():e}function o3(){const e=Jt();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Wa(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function a3(e){const t=Jt(),s=A1(null);if(t){const i=t.refs===Fe?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>s.value,set:r=>s.value=r})}return s}function nu(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const To=new WeakMap;function Li(e,t,s,n,i=!1){if(he(e)){e.forEach((m,L)=>Li(m,t&&(he(t)?t[L]:t),s,n,i));return}if(on(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Li(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?yr(n.component):n.el,o=i?null:r,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Fe?a.refs={}:a.refs,d=a.setupState,h=He(d),p=d===Fe?vi:m=>nu(u,m)?!1:qe(h,m),_=(m,L)=>!(L&&nu(u,L));if(c!=null&&c!==l){if(iu(t),be(c))u[c]=null,p(c)&&(d[c]=null);else if(dt(c)){const m=t;_(c,m.k)&&(c.value=null),m.k&&(u[m.k]=null)}}if(we(l))zn(l,a,12,[o,u]);else{const m=be(l),L=dt(l);if(m||L){const M=()=>{if(e.f){const E=m?p(l)?d[l]:u[l]:_()||!e.k?l.value:u[e.k];if(i)he(E)&&Oa(E,r);else if(he(E))E.includes(r)||E.push(r);else if(m)u[l]=[r],p(l)&&(d[l]=u[l]);else{const g=[r];_(l,e.k)&&(l.value=g),e.k&&(u[e.k]=g)}}else m?(u[l]=o,p(l)&&(d[l]=o)):L&&(_(l,e.k)&&(l.value=o),e.k&&(u[e.k]=o))};if(o){const E=()=>{M(),To.delete(e)};E.id=-1,To.set(e,E),mt(E,s)}else iu(e),M()}}}function iu(e){const t=To.get(e);t&&(t.flags|=8,To.delete(e))}let ru=!1;const Ai=()=>{ru||(console.error("Hydration completed but contains mismatches."),ru=!0)},l3=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",c3=e=>e.namespaceURI.includes("MathML"),Io=e=>{if(e.nodeType===1){if(l3(e))return"svg";if(c3(e))return"mathml"}},xi=e=>e.nodeType===8;function u3(e){const{mt:t,p:s,o:{patchProp:n,createText:i,nextSibling:r,parentNode:o,remove:a,insert:l,createComment:c}}=e,u=(g,v)=>{if(!v.hasChildNodes()){s(null,g,v),_o(),v._vnode=g;return}d(v.firstChild,g,null,null,null),_o(),v._vnode=g},d=(g,v,C,b,$,F=!1)=>{F=F||!!v.dynamicChildren;const A=xi(g)&&g.data==="[",U=()=>m(g,v,C,b,$,A),{type:O,ref:T,shapeFlag:D,patchFlag:z}=v;let ee=g.nodeType;v.el=g,z===-2&&(F=!1,v.dynamicChildren=null);let te=null;switch(O){case Mn:ee!==3?v.children===""?(l(v.el=i(""),o(g),g),te=g):te=U():(g.data!==v.children&&(Ai(),g.data=v.children),te=r(g));break;case Et:E(g)?(te=r(g),M(v.el=g.content.firstChild,g,C)):ee!==8||A?te=U():te=r(g);break;case Yn:if(A&&(g=r(g),ee=g.nodeType),ee===1||ee===3){te=g;const ne=!v.children.length;for(let V=0;V<v.staticCount;V++)ne&&(v.children+=te.nodeType===1?te.outerHTML:te.data),V===v.staticCount-1&&(v.anchor=te),te=r(te);return A?r(te):te}else U();break;case De:A?te=_(g,v,C,b,$,F):te=U();break;default:if(D&1)(ee!==1||v.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?te=U():te=h(g,v,C,b,$,F);else if(D&6){v.slotScopeIds=$;const ne=o(g);if(A?te=L(g):xi(g)&&g.data==="teleport start"?te=L(g,g.data,"teleport end"):te=r(g),t(v,ne,null,C,b,Io(ne),F),on(v)&&!v.type.__asyncResolved){let V;A?(V=Re(De),V.anchor=te?te.previousSibling:ne.lastChild):V=g.nodeType===3?Po(""):Re("div"),V.el=g,v.component.subTree=V}}else D&64?ee!==8?te=U():te=v.type.hydrate(g,v,C,b,$,F,e,p):D&128&&(te=v.type.hydrate(g,v,C,b,Io(o(g)),$,F,e,d))}return T!=null&&Li(T,null,b,v),te},h=(g,v,C,b,$,F)=>{F=F||!!v.dynamicChildren;const{type:A,props:U,patchFlag:O,shapeFlag:T,dirs:D,transition:z}=v,ee=A==="input"||A==="option";if(ee||O!==-1){D&&$s(v,null,C,"created");let te=!1;if(E(g)){te=Vu(null,z)&&C&&C.vnode.props&&C.vnode.props.appear;const V=g.content.firstChild;if(te){const Ae=V.getAttribute("class");Ae&&(V.$cls=Ae),z.beforeEnter(V)}M(V,g,C),v.el=g=V}if(T&16&&!(U&&(U.innerHTML||U.textContent))){let V=p(g.firstChild,v,g,C,b,$,F);for(;V;){wo(g,1)||Ai();const Ae=V;V=V.nextSibling,a(Ae)}}else if(T&8){let V=v.children;V[0]===`
314
+ `&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(V=V.slice(1));const{textContent:Ae}=g;Ae!==V&&Ae!==V.replace(/\r\n|\r/g,`
315
+ `)&&(wo(g,0)||Ai(),g.textContent=v.children)}if(U){if(ee||!F||O&48){const V=g.tagName.includes("-");for(const Ae in U)(ee&&(Ae.endsWith("value")||Ae==="indeterminate")||Hn(Ae)&&!Ys(Ae)||Ae[0]==="."||V&&!Ys(Ae))&&n(g,Ae,null,U[Ae],void 0,C)}else if(U.onClick)n(g,"onClick",null,U.onClick,void 0,C);else if(O&4&&sn(U.style))for(const V in U.style)U.style[V]}let ne;(ne=U&&U.onVnodeBeforeMount)&&ns(ne,C,v),D&&$s(v,null,C,"beforeMount"),((ne=U&&U.onVnodeMounted)||D||te)&&Bu(()=>{ne&&ns(ne,C,v),te&&z.enter(g),D&&$s(v,null,C,"mounted")},b)}return g.nextSibling},p=(g,v,C,b,$,F,A)=>{A=A||!!v.dynamicChildren;const U=v.children,O=U.length;for(let T=0;T<O;T++){const D=A?U[T]:U[T]=ss(U[T]),z=D.type===Mn;g?(z&&!A&&T+1<O&&ss(U[T+1]).type===Mn&&(l(i(g.data.slice(D.children.length)),C,r(g)),g.data=D.children),g=d(g,D,b,$,F,A)):z&&!D.children?l(D.el=i(""),C):(wo(C,1)||Ai(),s(null,D,C,null,b,$,Io(C),F))}return g},_=(g,v,C,b,$,F)=>{const{slotScopeIds:A}=v;A&&($=$?$.concat(A):A);const U=o(g),O=p(r(g),v,U,C,b,$,F);return O&&xi(O)&&O.data==="]"?r(v.anchor=O):(Ai(),l(v.anchor=c("]"),U,O),O)},m=(g,v,C,b,$,F)=>{if(wo(g.parentElement,1)||Ai(),v.el=null,F){const O=L(g);for(;;){const T=r(g);if(T&&T!==O)a(T);else break}}const A=r(g),U=o(g);return a(g),s(null,v,U,A,C,b,Io(U),$),C&&(C.vnode.el=v.el,ko(C,v.el)),A},L=(g,v="[",C="]")=>{let b=0;for(;g;)if(g=r(g),g&&xi(g)&&(g.data===v&&b++,g.data===C)){if(b===0)return r(g);b--}return g},M=(g,v,C)=>{const b=v.parentNode;b&&b.replaceChild(g,v);let $=C;for(;$;)$.vnode.el===v&&($.vnode.el=$.subTree.el=g),$=$.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,d]}const ou="data-allow-mismatch",d3={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function wo(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(ou);)e=e.parentElement;const s=e&&e.getAttribute(ou);if(s==null)return!1;if(s==="")return!0;{const n=s.split(",");return t===0&&n.includes("children")?!0:n.includes(d3[t])}}const f3=no().requestIdleCallback||(e=>setTimeout(e,1)),h3=no().cancelIdleCallback||(e=>clearTimeout(e)),p3=(e=1e4)=>t=>{const s=f3(t,{timeout:e});return()=>h3(s)};function g3(e){const{top:t,left:s,bottom:n,right:i}=e.getBoundingClientRect(),{innerHeight:r,innerWidth:o}=window;return(t>0&&t<r||n>0&&n<r)&&(s>0&&s<o||i>0&&i<o)}const _3=e=>(t,s)=>{const n=new IntersectionObserver(i=>{for(const r of i)if(r.isIntersecting){n.disconnect(),t();break}},e);return s(i=>{if(i instanceof Element){if(g3(i))return t(),n.disconnect(),!1;n.observe(i)}}),()=>n.disconnect()},m3=e=>t=>{if(e){const s=matchMedia(e);if(s.matches)t();else return s.addEventListener("change",t,{once:!0}),()=>s.removeEventListener("change",t)}},E3=(e=[])=>(t,s)=>{be(e)&&(e=[e]);let n=!1;const i=o=>{n||(n=!0,r(),t(),o.target.dispatchEvent(new o.constructor(o.type,o)))},r=()=>{s(o=>{for(const a of e)o.removeEventListener(a,i)})};return s(o=>{for(const a of e)o.addEventListener(a,i,{once:!0})}),r};function v3(e,t){if(xi(e)&&e.data==="["){let s=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(xi(n))if(n.data==="]"){if(--s===0)break}else n.data==="["&&s++;n=n.nextSibling}}else t(e)}const on=e=>!!e.type.__asyncLoader;function C3(e){we(e)&&(e={loader:e});const{loader:t,loadingComponent:s,errorComponent:n,delay:i=200,hydrate:r,timeout:o,suspensible:a=!0,onError:l}=e;let c=null,u,d=0;const h=()=>(d++,c=null,p()),p=()=>{let _;return c||(_=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((L,M)=>{l(m,()=>L(h()),()=>M(m),d+1)});throw m}).then(m=>_!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return Te({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(_,m,L){let M=!1;(m.bu||(m.bu=[])).push(()=>M=!0);const E=()=>{M||L()},g=r?()=>{const v=r(E,C=>v3(_,C));v&&(m.bum||(m.bum=[])).push(v)}:E;u?g():p().then(()=>!m.isUnmounted&&g())},get __asyncResolved(){return u},setup(){const _=Pt;if(Wa(_),u)return()=>Ro(u,_);const m=g=>{c=null,qn(g,_,13,!n)};if(a&&_.suspense||Xn)return p().then(g=>()=>Ro(g,_)).catch(g=>(m(g),()=>n?Re(n,{error:g}):null));const L=N(!1),M=N(),E=N(!!i);return i&&setTimeout(()=>{E.value=!1},i),o!=null&&setTimeout(()=>{if(!L.value&&!M.value){const g=new Error(`Async component timed out after ${o}ms.`);m(g),M.value=g}},o),p().then(()=>{L.value=!0,_.parent&&hr(_.parent.vnode)&&_.parent.update()}).catch(g=>{m(g),M.value=g}),()=>{if(L.value&&u)return Ro(u,_);if(M.value&&n)return Re(n,{error:M.value});if(s&&!E.value)return Ro(s,_)}}})}function Ro(e,t){const{ref:s,props:n,children:i,ce:r}=t.vnode,o=Re(e,n,i);return o.ref=s,o.ce=r,delete t.vnode.ce,o}const hr=e=>e.type.__isKeepAlive,y3={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const s=Jt(),n=s.ctx;if(!n.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const i=new Map,r=new Set;let o=null;const a=s.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:d}}}=n,h=d("div");n.activate=(E,g,v,C,b)=>{const $=E.component;c(E,g,v,0,a),l($.vnode,E,g,v,$,a,C,E.slotScopeIds,b),mt(()=>{$.isDeactivated=!1,$.a&&Ti($.a);const F=E.props&&E.props.onVnodeMounted;F&&ns(F,$.parent,E)},a)},n.deactivate=E=>{const g=E.component;Uo(g.m),Uo(g.a),c(E,h,null,1,a),mt(()=>{g.da&&Ti(g.da);const v=E.props&&E.props.onVnodeUnmounted;v&&ns(v,g.parent,E),g.isDeactivated=!0},a)};function p(E){Qa(E),u(E,s,a,!0)}function _(E){i.forEach((g,v)=>{const C=Go(on(g)?g.type.__asyncResolved||{}:g.type);C&&!E(C)&&m(v)})}function m(E){const g=i.get(E);g&&(!o||!Rs(g,o))?p(g):o&&Qa(o),i.delete(E),r.delete(E)}ls(()=>[e.include,e.exclude],([E,g])=>{E&&_(v=>pr(E,v)),g&&_(v=>!pr(g,v))},{flush:"post",deep:!0});let L=null;const M=()=>{L!=null&&(No(s.subTree.type)?mt(()=>{i.set(L,Mo(s.subTree))},s.subTree.suspense):i.set(L,Mo(s.subTree)))};return at(M),bo(M),Rn(()=>{i.forEach(E=>{const{subTree:g,suspense:v}=s,C=Mo(g);if(E.type===C.type&&E.key===C.key){Qa(C);const b=C.component.da;b&&mt(b,v);return}p(E)})}),()=>{if(L=null,!t.default)return o=null;const E=t.default(),g=E[0];if(E.length>1)return o=null,E;if(!cn(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return o=null,g;let v=Mo(g);if(v.type===Et)return o=null,v;const C=v.type,b=Go(on(v)?v.type.__asyncResolved||{}:C),{include:$,exclude:F,max:A}=e;if($&&(!b||!pr($,b))||F&&b&&pr(F,b))return v.shapeFlag&=-257,o=v,g;const U=v.key==null?C:v.key,O=i.get(U);return v.el&&(v=Hs(v),g.shapeFlag&128&&(g.ssContent=v)),L=U,O?(v.el=O.el,v.component=O.component,v.transition&&rn(v,v.transition),v.shapeFlag|=512,r.delete(U),r.add(U)):(r.add(U),A&&r.size>parseInt(A,10)&&m(r.values().next().value)),v.shapeFlag|=256,o=v,No(g.type)?g:v}}};function pr(e,t){return he(e)?e.some(s=>pr(s,t)):be(e)?e.split(",").includes(t):x5(e)?(e.lastIndex=0,e.test(t)):!1}function au(e,t){cu(e,"a",t)}function lu(e,t){cu(e,"da",t)}function cu(e,t,s=Pt){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Oo(t,n,s),s){let i=s.parent;for(;i&&i.parent;)hr(i.parent.vnode)&&S3(n,t,s,i),i=i.parent}}function S3(e,t,s,n){const i=Oo(t,e,n,!0);Tt(()=>{Oa(n[t],i)},s)}function Qa(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Mo(e){return e.shapeFlag&128?e.ssContent:e}function Oo(e,t,s=Pt,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Us();const a=Ni(s),l=gs(t,s,e,o);return a(),Ns(),l});return n?i.unshift(r):i.push(r),r}}const an=e=>(t,s=Pt)=>{(!Xn||e==="sp")&&Oo(e,(...n)=>t(...n),s)},Ya=an("bm"),at=an("m"),Ja=an("bu"),bo=an("u"),Rn=an("bum"),Tt=an("um"),uu=an("sp"),du=an("rtg"),fu=an("rtc");function hu(e,t=Pt){Oo("ec",e,t)}const Xa="components",T3="directives";function ve(e,t){return tl(Xa,e,!0,t)||e}const pu=Symbol.for("v-ndc");function el(e){return be(e)?tl(Xa,e,!1)||e:e||pu}function I3(e){return tl(T3,e)}function tl(e,t,s=!0,n=!1){const i=Dt||Pt;if(i){const r=i.type;if(e===Xa){const a=Go(r,!1);if(a&&(a===t||a===Ye(t)||a===Bn(Ye(t))))return r}const o=gu(i[e]||r[e],t)||gu(i.appContext[e],t);return!o&&n?r:o}}function gu(e,t){return e&&(e[t]||e[Ye(t)]||e[Bn(Ye(t))])}function Ot(e,t,s,n){let i;const r=s&&s[n],o=he(e);if(o||be(e)){const a=o&&sn(e);let l=!1,c=!1;a&&(l=!ts(e),c=Ps(e),e=ao(e)),i=new Array(e.length);for(let u=0,d=e.length;u<d;u++)i[u]=t(l?c?wi(ws(e[u])):ws(e[u]):e[u],u,void 0,r&&r[u])}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,r&&r[a])}else if(Be(e))if(e[Symbol.iterator])i=Array.from(e,(a,l)=>t(a,l,void 0,r&&r[l]));else{const a=Object.keys(e);i=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];i[l]=t(e[u],u,l,r&&r[l])}}else i=[];return s&&(s[n]=i),i}function w3(e,t){for(let s=0;s<t.length;s++){const n=t[s];if(he(n))for(let i=0;i<n.length;i++)e[n[i].name]=n[i].fn;else n&&(e[n.name]=n.key?(...i)=>{const r=n.fn(...i);return r&&(r.key=n.key),r}:n.fn)}return e}function ln(e,t,s={},n,i){if(Dt.ce||Dt.parent&&on(Dt.parent)&&Dt.parent.ce){const c=Object.keys(s).length>0;return t!=="default"&&(s.name=t),w(),Le(De,null,[Re("slot",s,n&&n())],c?-2:64)}let r=e[t];r&&r._c&&(r._d=!1),w();const o=r&&sl(r(s)),a=s.key||o&&o.key,l=Le(De,{key:(a&&!Xt(a)?a:`_${t}`)+(!o&&n?"_fb":"")},o||(n?n():[]),o&&e._===1?64:-2);return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function sl(e){return e.some(t=>cn(t)?!(t.type===Et||t.type===De&&!sl(t.children)):!0)?e:null}function R3(e,t){const s={};for(const n in e)s[t&&/[A-Z]/.test(n)?`on:${n}`:Si(n)]=e[n];return s}const nl=e=>e?Qu(e)?yr(e):nl(e.parent):null,gr=Ve(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nl(e.parent),$root:e=>nl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>al(e),$forceUpdate:e=>e.f||(e.f=()=>{Ba(e.update)}),$nextTick:e=>e.n||(e.n=ot.bind(e.proxy)),$watch:e=>s3.bind(e)}),il=(e,t)=>e!==Fe&&!e.__isScriptSetup&&qe(e,t),rl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:a,appContext:l}=e;if(t[0]!=="$"){const h=o[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(il(n,t))return o[t]=1,n[t];if(i!==Fe&&qe(i,t))return o[t]=2,i[t];if(qe(r,t))return o[t]=3,r[t];if(s!==Fe&&qe(s,t))return o[t]=4,s[t];ol&&(o[t]=0)}}const c=gr[t];let u,d;if(c)return t==="$attrs"&&Bt(e.attrs,"get",""),c(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(s!==Fe&&qe(s,t))return o[t]=4,s[t];if(d=l.config.globalProperties,qe(d,t))return d[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return il(i,t)?(i[t]=s,!0):n!==Fe&&qe(n,t)?(n[t]=s,!0):qe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},a){let l;return!!(s[a]||e!==Fe&&a[0]!=="$"&&qe(e,a)||il(t,a)||qe(r,a)||qe(n,a)||qe(gr,a)||qe(i.config.globalProperties,a)||(l=o.__cssModules)&&l[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:qe(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}},M3=Ve({},rl,{get(e,t){if(t!==Symbol.unscopables)return rl.get(e,t,e)},has(e,t){return t[0]!=="_"&&!V5(t)}});function O3(){return null}function b3(){return null}function L3(e){}function A3(e){}function x3(){return null}function k3(){}function U3(e,t){return null}function N3(){return _u().slots}function D3(){return _u().attrs}function _u(e){const t=Jt();return t.setupContext||(t.setupContext=ed(t))}function _r(e){return he(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}function P3(e,t){const s=_r(e);for(const n in t){if(n.startsWith("__skip"))continue;let i=s[n];i?he(i)||we(i)?i=s[n]={type:i,default:t[n]}:i.default=t[n]:i===null&&(i=s[n]={default:t[n]}),i&&t[`__skip_${n}`]&&(i.skipFactory=!0)}return s}function V3(e,t){return!e||!t?e||t:he(e)&&he(t)?e.concat(t):Ve({},_r(e),_r(t))}function $3(e,t){const s={};for(const n in e)t.includes(n)||Object.defineProperty(s,n,{enumerable:!0,get:()=>e[n]});return s}function F3(e){const t=Jt(),s=Xn;let n=e();Fo(),s&&Ui(!1);const i=()=>{Ni(t),s&&Ui(!0)},r=()=>{Jt()!==t&&t.scope.off(),Fo(),s&&Ui(!1)};return ba(n)&&(n=n.catch(o=>{throw i(),Promise.resolve().then(()=>Promise.resolve().then(r)),o})),[n,()=>{i(),Promise.resolve().then(r)}]}let ol=!0;function H3(e){const t=al(e),s=e.proxy,n=e.ctx;ol=!1,t.beforeCreate&&mu(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:p,updated:_,activated:m,deactivated:L,beforeDestroy:M,beforeUnmount:E,destroyed:g,unmounted:v,render:C,renderTracked:b,renderTriggered:$,errorCaptured:F,serverPrefetch:A,expose:U,inheritAttrs:O,components:T,directives:D,filters:z}=t;if(c&&G3(c,n,null),o)for(const ne in o){const V=o[ne];we(V)&&(n[ne]=V.bind(s))}if(i){const ne=i.call(s,s);Be(ne)&&(e.data=tn(ne))}if(ol=!0,r)for(const ne in r){const V=r[ne],Ae=we(V)?V.bind(s,s):we(V.get)?V.get.bind(s,s):kt,wt=!we(V)&&we(V.set)?V.set.bind(s):kt,Qe=ye({get:Ae,set:wt});Object.defineProperty(n,ne,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:gt=>Qe.value=gt})}if(a)for(const ne in a)Eu(a[ne],n,s,ne);if(l){const ne=we(l)?l.call(s):l;Reflect.ownKeys(ne).forEach(V=>{vo(V,ne[V])})}u&&mu(u,e,"c");function te(ne,V){he(V)?V.forEach(Ae=>ne(Ae.bind(s))):V&&ne(V.bind(s))}if(te(Ya,d),te(at,h),te(Ja,p),te(bo,_),te(au,m),te(lu,L),te(hu,F),te(fu,b),te(du,$),te(Rn,E),te(Tt,v),te(uu,A),he(U))if(U.length){const ne=e.exposed||(e.exposed={});U.forEach(V=>{Object.defineProperty(ne,V,{get:()=>s[V],set:Ae=>s[V]=Ae,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===kt&&(e.render=C),O!=null&&(e.inheritAttrs=O),T&&(e.components=T),D&&(e.directives=D),A&&Wa(e)}function G3(e,t,s=kt){he(e)&&(e=ll(e));for(const n in e){const i=e[n];let r;Be(i)?"default"in i?r=Zn(i.from||n,i.default,!0):r=Zn(i.from||n):r=Zn(i),dt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function mu(e,t,s){gs(he(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Eu(e,t,s,n){let i=n.includes(".")?K1(s,n):()=>s[n];if(be(e)){const r=t[e];we(r)&&ls(i,r)}else if(we(e))ls(i,e.bind(s));else if(Be(e))if(he(e))e.forEach(r=>Eu(r,t,s,n));else{const r=we(e.handler)?e.handler.bind(s):t[e.handler];we(r)&&ls(i,r,e)}}function al(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,a=r.get(t);let l;return a?l=a:!i.length&&!s&&!n?l=t:(l={},i.length&&i.forEach(c=>Lo(l,c,o,!0)),Lo(l,t,o)),Be(t)&&r.set(t,l),l}function Lo(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Lo(e,r,s,!0),i&&i.forEach(o=>Lo(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const a=B3[o]||s&&s[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const B3={data:vu,props:Cu,emits:Cu,methods:mr,computed:mr,beforeCreate:Yt,created:Yt,beforeMount:Yt,mounted:Yt,beforeUpdate:Yt,updated:Yt,beforeDestroy:Yt,beforeUnmount:Yt,destroyed:Yt,unmounted:Yt,activated:Yt,deactivated:Yt,errorCaptured:Yt,serverPrefetch:Yt,components:mr,directives:mr,watch:K3,provide:vu,inject:j3};function vu(e,t){return t?e?function(){return Ve(we(e)?e.call(this,this):e,we(t)?t.call(this,this):t)}:t:e}function j3(e,t){return mr(ll(e),ll(t))}function ll(e){if(he(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Yt(e,t){return e?[...new Set([].concat(e,t))]:t}function mr(e,t){return e?Ve(Object.create(null),e,t):t}function Cu(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:Ve(Object.create(null),_r(e),_r(t??{})):t}function K3(e,t){if(!e)return t;if(!t)return e;const s=Ve(Object.create(null),e);for(const n in t)s[n]=Yt(e[n],t[n]);return s}function yu(){return{app:null,config:{isNativeTag:vi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let z3=0;function q3(e,t){return function(n,i=null){we(n)||(n=Ve({},n)),i!=null&&!Be(i)&&(i=null);const r=yu(),o=new WeakSet,a=[];let l=!1;const c=r.app={_uid:z3++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:id,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&we(u.install)?(o.add(u),u.install(c,...d)):we(u)&&(o.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,h){if(!l){const p=c._ceVNode||Re(n,i);return p.appContext=r,h===!0?h="svg":h===!1&&(h=void 0),d&&t?t(p,u):e(p,u,h),l=!0,c._container=u,u.__vue_app__=c,yr(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(gs(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c},runWithContext(u){const d=Wn;Wn=c;try{return u()}finally{Wn=d}}};return c}}let Wn=null;function Z3(e,t,s=Fe){const n=Jt(),i=Ye(t),r=es(t),o=Su(e,i),a=k1((l,c)=>{let u,d=Fe,h;return j1(()=>{const p=e[i];Nt(u,p)&&(u=p,c())}),{get(){return l(),s.get?s.get(u):u},set(p){const _=s.set?s.set(p):p;if(!Nt(_,u)&&!(d!==Fe&&Nt(p,d)))return;const m=n.vnode.props;m&&(t in m||i in m||r in m)&&(`onUpdate:${t}`in m||`onUpdate:${i}`in m||`onUpdate:${r}`in m)||(u=p,c()),n.emit(`update:${t}`,_),Nt(p,_)&&Nt(p,d)&&!Nt(_,h)&&c(),d=p,h=_}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?o||Fe:a,done:!1}:{done:!0}}}},a}const Su=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ye(t)}Modifiers`]||e[`${es(t)}Modifiers`];function W3(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Fe;let i=s;const r=t.startsWith("update:"),o=r&&Su(n,t.slice(7));o&&(o.trim&&(i=s.map(u=>be(u)?u.trim():u)),o.number&&(i=s.map(to)));let a,l=n[a=Si(t)]||n[a=Si(Ye(t))];!l&&r&&(l=n[a=Si(es(t))]),l&&gs(l,e,6,i);const c=n[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gs(c,e,6,i)}}const Q3=new WeakMap;function Tu(e,t,s=!1){const n=s?Q3:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},a=!1;if(!we(e)){const l=c=>{const u=Tu(c,t,!0);u&&(a=!0,Ve(o,u))};!s&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Be(e)&&n.set(e,null),null):(he(r)?r.forEach(l=>o[l]=null):Ve(o,r),Be(e)&&n.set(e,o),o)}function Ao(e,t){return!e||!Hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),qe(e,t[0].toLowerCase()+t.slice(1))||qe(e,es(t))||qe(e,t))}function iC(){}function xo(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:a,emit:l,render:c,renderCache:u,props:d,data:h,setupState:p,ctx:_,inheritAttrs:m}=e,L=cr(e);let M,E;try{if(s.shapeFlag&4){const v=i||n,C=v;M=ss(c.call(C,v,u,d,p,h,_)),E=a}else{const v=t;M=ss(v.length>1?v(d,{attrs:a,slots:o,emit:l}):v(d,null)),E=t.props?a:J3(a)}}catch(v){vr.length=0,qn(v,e,1),M=Re(Et)}let g=M;if(E&&m!==!1){const v=Object.keys(E),{shapeFlag:C}=g;v.length&&C&7&&(r&&v.some(Ma)&&(E=X3(E,r)),g=Hs(g,E,!1,!0))}return s.dirs&&(g=Hs(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(s.dirs):s.dirs),s.transition&&rn(g,s.transition),M=g,cr(L),M}function Y3(e,t=!0){let s;for(let n=0;n<e.length;n++){const i=e[n];if(cn(i)){if(i.type!==Et||i.children==="v-if"){if(s)return;s=i}}else return}return s}const J3=e=>{let t;for(const s in e)(s==="class"||s==="style"||Hn(s))&&((t||(t={}))[s]=e[s]);return t},X3=(e,t)=>{const s={};for(const n in e)(!Ma(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function e4(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:a,patchFlag:l}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?Iu(n,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const h=u[d];if(wu(o,n,h)&&!Ao(c,h))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?Iu(n,o,c):!0:!!o;return!1}function Iu(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(wu(t,e,r)&&!Ao(s,r))return!0}return!1}function wu(e,t,s){const n=e[s],i=t[s];return s==="style"&&Be(n)&&Be(i)?!Js(n,i):n!==i}function ko({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Ru={},Mu=()=>Object.create(Ru),Ou=e=>Object.getPrototypeOf(e)===Ru;function t4(e,t,s,n=!1){const i={},r=Mu();e.propsDefaults=Object.create(null),bu(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:b1(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function s4(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,a=He(i),[l]=e.propsOptions;let c=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let h=u[d];if(Ao(e.emitsOptions,h))continue;const p=t[h];if(l)if(qe(r,h))p!==r[h]&&(r[h]=p,c=!0);else{const _=Ye(h);i[_]=cl(l,a,_,p,e,!1)}else p!==r[h]&&(r[h]=p,c=!0)}}}else{bu(e,t,i,r)&&(c=!0);let u;for(const d in a)(!t||!qe(t,d)&&((u=es(d))===d||!qe(t,u)))&&(l?s&&(s[d]!==void 0||s[u]!==void 0)&&(i[d]=cl(l,a,d,void 0,e,!0)):delete i[d]);if(r!==a)for(const d in r)(!t||!qe(t,d))&&(delete r[d],c=!0)}c&&Xs(e.attrs,"set","")}function bu(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,a;if(t)for(let l in t){if(Ys(l))continue;const c=t[l];let u;i&&qe(i,u=Ye(l))?!r||!r.includes(u)?s[u]=c:(a||(a={}))[u]=c:Ao(e.emitsOptions,l)||(!(l in n)||c!==n[l])&&(n[l]=c,o=!0)}if(r){const l=He(s),c=a||Fe;for(let u=0;u<r.length;u++){const d=r[u];s[d]=cl(i,l,d,c[d],e,!qe(c,d))}}return o}function cl(e,t,s,n,i,r){const o=e[s];if(o!=null){const a=qe(o,"default");if(a&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&we(l)){const{propsDefaults:c}=i;if(s in c)n=c[s];else{const u=Ni(i);n=c[s]=l.call(null,t),u()}}else n=l;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!a?n=!1:o[1]&&(n===""||n===es(s))&&(n=!0))}return n}const n4=new WeakMap;function Lu(e,t,s=!1){const n=s?n4:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},a=[];let l=!1;if(!we(e)){const u=d=>{l=!0;const[h,p]=Lu(d,t,!0);Ve(o,h),p&&a.push(...p)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Be(e)&&n.set(e,Ei),Ei;if(he(r))for(let u=0;u<r.length;u++){const d=Ye(r[u]);Au(d)&&(o[d]=Fe)}else if(r)for(const u in r){const d=Ye(u);if(Au(d)){const h=r[u],p=o[d]=he(h)||we(h)?{type:h}:Ve({},h),_=p.type;let m=!1,L=!0;if(he(_))for(let M=0;M<_.length;++M){const E=_[M],g=we(E)&&E.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(L=!1)}else m=we(_)&&_.name==="Boolean";p[0]=m,p[1]=L,(m||qe(p,"default"))&&a.push(d)}}const c=[o,a];return Be(e)&&n.set(e,c),c}function Au(e){return e[0]!=="$"&&!Ys(e)}const ul=e=>e==="_"||e==="_ctx"||e==="$stable",dl=e=>he(e)?e.map(ss):[ss(e)],i4=(e,t,s)=>{if(t._n)return t;const n=ft((...i)=>dl(t(...i)),s);return n._c=!1,n},xu=(e,t,s)=>{const n=e._ctx;for(const i in e){if(ul(i))continue;const r=e[i];if(we(r))t[i]=i4(i,r,n);else if(r!=null){const o=dl(r);t[i]=()=>o}}},ku=(e,t)=>{const s=dl(t);e.slots.default=()=>s},Uu=(e,t,s)=>{for(const n in t)(s||!ul(n))&&(e[n]=t[n])},r4=(e,t,s)=>{const n=e.slots=Mu();if(e.vnode.shapeFlag&32){const i=t._;i?(Uu(n,t,s),s&&r1(n,"_",i,!0)):xu(t,n)}else t&&ku(e,t)},o4=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=Fe;if(n.shapeFlag&32){const a=t._;a?s&&a===1?r=!1:Uu(i,t,s):(r=!t.$stable,xu(t,i)),o=t}else t&&(ku(e,t),o={default:1});if(r)for(const a in i)!ul(a)&&o[a]==null&&delete i[a]},mt=Bu;function Nu(e){return Pu(e)}function Du(e){return Pu(e,u3)}function Pu(e,t){const s=no();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:p=kt,insertStaticContent:_}=e,m=(S,R,G,Q=null,q=null,W=null,le=void 0,re=null,se=!!R.dynamicChildren)=>{if(S===R)return;S&&!Rs(S,R)&&(Q=nt(S),gt(S,q,W,!0),S=null),R.patchFlag===-2&&(se=!1,R.dynamicChildren=null);const{type:Z,ref:fe,shapeFlag:de}=R;switch(Z){case Mn:L(S,R,G,Q);break;case Et:M(S,R,G,Q);break;case Yn:S==null&&E(R,G,Q,le);break;case De:T(S,R,G,Q,q,W,le,re,se);break;default:de&1?C(S,R,G,Q,q,W,le,re,se):de&6?D(S,R,G,Q,q,W,le,re,se):(de&64||de&128)&&Z.process(S,R,G,Q,q,W,le,re,se,$t)}fe!=null&&q?Li(fe,S&&S.ref,W,R||S,!R):fe==null&&S&&S.ref!=null&&Li(S.ref,null,W,S,!0)},L=(S,R,G,Q)=>{if(S==null)n(R.el=a(R.children),G,Q);else{const q=R.el=S.el;R.children!==S.children&&c(q,R.children)}},M=(S,R,G,Q)=>{S==null?n(R.el=l(R.children||""),G,Q):R.el=S.el},E=(S,R,G,Q)=>{[S.el,S.anchor]=_(S.children,R,G,Q,S.el,S.anchor)},g=({el:S,anchor:R},G,Q)=>{let q;for(;S&&S!==R;)q=h(S),n(S,G,Q),S=q;n(R,G,Q)},v=({el:S,anchor:R})=>{let G;for(;S&&S!==R;)G=h(S),i(S),S=G;i(R)},C=(S,R,G,Q,q,W,le,re,se)=>{if(R.type==="svg"?le="svg":R.type==="math"&&(le="mathml"),S==null)b(R,G,Q,q,W,le,re,se);else{const Z=S.el&&S.el._isVueCE?S.el:null;try{Z&&Z._beginPatch(),A(S,R,q,W,le,re,se)}finally{Z&&Z._endPatch()}}},b=(S,R,G,Q,q,W,le,re)=>{let se,Z;const{props:fe,shapeFlag:de,transition:Ce,dirs:Me}=S;if(se=S.el=o(S.type,W,fe&&fe.is,fe),de&8?u(se,S.children):de&16&&F(S.children,se,null,Q,q,fl(S,W),le,re),Me&&$s(S,null,Q,"created"),$(se,S,S.scopeId,le,Q),fe){for(const tt in fe)tt!=="value"&&!Ys(tt)&&r(se,tt,null,fe[tt],W,Q);"value"in fe&&r(se,"value",null,fe.value,W),(Z=fe.onVnodeBeforeMount)&&ns(Z,Q,S)}Me&&$s(S,null,Q,"beforeMount");const $e=Vu(q,Ce);$e&&Ce.beforeEnter(se),n(se,R,G),((Z=fe&&fe.onVnodeMounted)||$e||Me)&&mt(()=>{Z&&ns(Z,Q,S),$e&&Ce.enter(se),Me&&$s(S,null,Q,"mounted")},q)},$=(S,R,G,Q,q)=>{if(G&&p(S,G),Q)for(let W=0;W<Q.length;W++)p(S,Q[W]);if(q){let W=q.subTree;if(R===W||No(W.type)&&(W.ssContent===R||W.ssFallback===R)){const le=q.vnode;$(S,le,le.scopeId,le.slotScopeIds,q.parent)}}},F=(S,R,G,Q,q,W,le,re,se=0)=>{for(let Z=se;Z<S.length;Z++){const fe=S[Z]=re?un(S[Z]):ss(S[Z]);m(null,fe,R,G,Q,q,W,le,re)}},A=(S,R,G,Q,q,W,le)=>{const re=R.el=S.el;let{patchFlag:se,dynamicChildren:Z,dirs:fe}=R;se|=S.patchFlag&16;const de=S.props||Fe,Ce=R.props||Fe;let Me;if(G&&Qn(G,!1),(Me=Ce.onVnodeBeforeUpdate)&&ns(Me,G,R,S),fe&&$s(R,S,G,"beforeUpdate"),G&&Qn(G,!0),(de.innerHTML&&Ce.innerHTML==null||de.textContent&&Ce.textContent==null)&&u(re,""),Z?U(S.dynamicChildren,Z,re,G,Q,fl(R,q),W):le||V(S,R,re,null,G,Q,fl(R,q),W,!1),se>0){if(se&16)O(re,de,Ce,G,q);else if(se&2&&de.class!==Ce.class&&r(re,"class",null,Ce.class,q),se&4&&r(re,"style",de.style,Ce.style,q),se&8){const $e=R.dynamicProps;for(let tt=0;tt<$e.length;tt++){const ze=$e[tt],Ft=de[ze],Ut=Ce[ze];(Ut!==Ft||ze==="value")&&r(re,ze,Ft,Ut,q,G)}}se&1&&S.children!==R.children&&u(re,R.children)}else!le&&Z==null&&O(re,de,Ce,G,q);((Me=Ce.onVnodeUpdated)||fe)&&mt(()=>{Me&&ns(Me,G,R,S),fe&&$s(R,S,G,"updated")},Q)},U=(S,R,G,Q,q,W,le)=>{for(let re=0;re<R.length;re++){const se=S[re],Z=R[re],fe=se.el&&(se.type===De||!Rs(se,Z)||se.shapeFlag&198)?d(se.el):G;m(se,Z,fe,null,Q,q,W,le,!0)}},O=(S,R,G,Q,q)=>{if(R!==G){if(R!==Fe)for(const W in R)!Ys(W)&&!(W in G)&&r(S,W,R[W],null,q,Q);for(const W in G){if(Ys(W))continue;const le=G[W],re=R[W];le!==re&&W!=="value"&&r(S,W,re,le,q,Q)}"value"in G&&r(S,"value",R.value,G.value,q)}},T=(S,R,G,Q,q,W,le,re,se)=>{const Z=R.el=S?S.el:a(""),fe=R.anchor=S?S.anchor:a("");let{patchFlag:de,dynamicChildren:Ce,slotScopeIds:Me}=R;Me&&(re=re?re.concat(Me):Me),S==null?(n(Z,G,Q),n(fe,G,Q),F(R.children||[],G,fe,q,W,le,re,se)):de>0&&de&64&&Ce&&S.dynamicChildren&&S.dynamicChildren.length===Ce.length?(U(S.dynamicChildren,Ce,G,q,W,le,re),(R.key!=null||q&&R===q.subTree)&&hl(S,R,!0)):V(S,R,G,fe,q,W,le,re,se)},D=(S,R,G,Q,q,W,le,re,se)=>{R.slotScopeIds=re,S==null?R.shapeFlag&512?q.ctx.activate(R,G,Q,le,se):z(R,G,Q,q,W,le,se):ee(S,R,se)},z=(S,R,G,Q,q,W,le)=>{const re=S.component=Wu(S,Q,q);if(hr(S)&&(re.ctx.renderer=$t),Yu(re,!1,le),re.asyncDep){if(q&&q.registerDep(re,te,le),!S.el){const se=re.subTree=Re(Et);M(null,se,R,G),S.placeholder=se.el}}else te(re,S,R,G,q,W,le)},ee=(S,R,G)=>{const Q=R.component=S.component;if(e4(S,R,G))if(Q.asyncDep&&!Q.asyncResolved){ne(Q,R,G);return}else Q.next=R,Q.update();else R.el=S.el,Q.vnode=R},te=(S,R,G,Q,q,W,le)=>{const re=()=>{if(S.isMounted){let{next:de,bu:Ce,u:Me,parent:$e,vnode:tt}=S;{const Ht=$u(S);if(Ht){de&&(de.el=tt.el,ne(S,de,le)),Ht.asyncDep.then(()=>{mt(()=>{S.isUnmounted||Z()},q)});return}}let ze=de,Ft;Qn(S,!1),de?(de.el=tt.el,ne(S,de,le)):de=tt,Ce&&Ti(Ce),(Ft=de.props&&de.props.onVnodeBeforeUpdate)&&ns(Ft,$e,de,tt),Qn(S,!0);const Ut=xo(S),fs=S.subTree;S.subTree=Ut,m(fs,Ut,d(fs.el),nt(fs),S,q,W),de.el=Ut.el,ze===null&&ko(S,Ut.el),Me&&mt(Me,q),(Ft=de.props&&de.props.onVnodeUpdated)&&mt(()=>ns(Ft,$e,de,tt),q)}else{let de;const{el:Ce,props:Me}=R,{bm:$e,m:tt,parent:ze,root:Ft,type:Ut}=S,fs=on(R);if(Qn(S,!1),$e&&Ti($e),!fs&&(de=Me&&Me.onVnodeBeforeMount)&&ns(de,ze,R),Qn(S,!0),Ce&&Ks){const Ht=()=>{S.subTree=xo(S),Ks(Ce,S.subTree,S,q,null)};fs&&Ut.__asyncHydrate?Ut.__asyncHydrate(Ce,S,Ht):Ht()}else{Ft.ce&&Ft.ce._hasShadowRoot()&&Ft.ce._injectChildStyle(Ut,S.parent?S.parent.type:void 0);const Ht=S.subTree=xo(S);m(null,Ht,G,Q,S,q,W),R.el=Ht.el}if(tt&&mt(tt,q),!fs&&(de=Me&&Me.onVnodeMounted)){const Ht=R;mt(()=>ns(de,ze,Ht),q)}(R.shapeFlag&256||ze&&on(ze.vnode)&&ze.vnode.shapeFlag&256)&&S.a&&mt(S.a,q),S.isMounted=!0,R=G=Q=null}};S.scope.on();const se=S.effect=new Xi(re);S.scope.off();const Z=S.update=se.run.bind(se),fe=S.job=se.runIfDirty.bind(se);fe.i=S,fe.id=S.uid,se.scheduler=()=>Ba(fe),Qn(S,!0),Z()},ne=(S,R,G)=>{R.component=S;const Q=S.vnode.props;S.vnode=R,S.next=null,s4(S,R.props,Q,G),o4(S,R.children,G),Us(),$1(S),Ns()},V=(S,R,G,Q,q,W,le,re,se=!1)=>{const Z=S&&S.children,fe=S?S.shapeFlag:0,de=R.children,{patchFlag:Ce,shapeFlag:Me}=R;if(Ce>0){if(Ce&128){wt(Z,de,G,Q,q,W,le,re,se);return}else if(Ce&256){Ae(Z,de,G,Q,q,W,le,re,se);return}}Me&8?(fe&16&&Xe(Z,q,W),de!==Z&&u(G,de)):fe&16?Me&16?wt(Z,de,G,Q,q,W,le,re,se):Xe(Z,q,W,!0):(fe&8&&u(G,""),Me&16&&F(de,G,Q,q,W,le,re,se))},Ae=(S,R,G,Q,q,W,le,re,se)=>{S=S||Ei,R=R||Ei;const Z=S.length,fe=R.length,de=Math.min(Z,fe);let Ce;for(Ce=0;Ce<de;Ce++){const Me=R[Ce]=se?un(R[Ce]):ss(R[Ce]);m(S[Ce],Me,G,null,q,W,le,re,se)}Z>fe?Xe(S,q,W,!0,!1,de):F(R,G,Q,q,W,le,re,se,de)},wt=(S,R,G,Q,q,W,le,re,se)=>{let Z=0;const fe=R.length;let de=S.length-1,Ce=fe-1;for(;Z<=de&&Z<=Ce;){const Me=S[Z],$e=R[Z]=se?un(R[Z]):ss(R[Z]);if(Rs(Me,$e))m(Me,$e,G,null,q,W,le,re,se);else break;Z++}for(;Z<=de&&Z<=Ce;){const Me=S[de],$e=R[Ce]=se?un(R[Ce]):ss(R[Ce]);if(Rs(Me,$e))m(Me,$e,G,null,q,W,le,re,se);else break;de--,Ce--}if(Z>de){if(Z<=Ce){const Me=Ce+1,$e=Me<fe?R[Me].el:Q;for(;Z<=Ce;)m(null,R[Z]=se?un(R[Z]):ss(R[Z]),G,$e,q,W,le,re,se),Z++}}else if(Z>Ce)for(;Z<=de;)gt(S[Z],q,W,!0),Z++;else{const Me=Z,$e=Z,tt=new Map;for(Z=$e;Z<=Ce;Z++){const yt=R[Z]=se?un(R[Z]):ss(R[Z]);yt.key!=null&&tt.set(yt.key,Z)}let ze,Ft=0;const Ut=Ce-$e+1;let fs=!1,Ht=0;const Pn=new Array(Ut);for(Z=0;Z<Ut;Z++)Pn[Z]=0;for(Z=Me;Z<=de;Z++){const yt=S[Z];if(Ft>=Ut){gt(yt,q,W,!0);continue}let ut;if(yt.key!=null)ut=tt.get(yt.key);else for(ze=$e;ze<=Ce;ze++)if(Pn[ze-$e]===0&&Rs(yt,R[ze])){ut=ze;break}ut===void 0?gt(yt,q,W,!0):(Pn[ut-$e]=Z+1,ut>=Ht?Ht=ut:fs=!0,m(yt,R[ut],G,null,q,W,le,re,se),Ft++)}const zs=fs?a4(Pn):Ei;for(ze=zs.length-1,Z=Ut-1;Z>=0;Z--){const yt=$e+Z,ut=R[yt],mn=R[yt+1],Zi=yt+1<fe?mn.el||Fu(mn):Q;Pn[Z]===0?m(null,ut,G,Zi,q,W,le,re,se):fs&&(ze<0||Z!==zs[ze]?Qe(ut,G,Zi,2):ze--)}}},Qe=(S,R,G,Q,q=null)=>{const{el:W,type:le,transition:re,children:se,shapeFlag:Z}=S;if(Z&6){Qe(S.component.subTree,R,G,Q);return}if(Z&128){S.suspense.move(R,G,Q);return}if(Z&64){le.move(S,R,G,$t);return}if(le===De){n(W,R,G);for(let de=0;de<se.length;de++)Qe(se[de],R,G,Q);n(S.anchor,R,G);return}if(le===Yn){g(S,R,G);return}if(Q!==2&&Z&1&&re)if(Q===0)re.beforeEnter(W),n(W,R,G),mt(()=>re.enter(W),q);else{const{leave:de,delayLeave:Ce,afterLeave:Me}=re,$e=()=>{S.ctx.isUnmounted?i(W):n(W,R,G)},tt=()=>{W._isLeaving&&W[Fs](!0),de(W,()=>{$e(),Me&&Me()})};Ce?Ce(W,$e,tt):tt()}else n(W,R,G)},gt=(S,R,G,Q=!1,q=!1)=>{const{type:W,props:le,ref:re,children:se,dynamicChildren:Z,shapeFlag:fe,patchFlag:de,dirs:Ce,cacheIndex:Me}=S;if(de===-2&&(q=!1),re!=null&&(Us(),Li(re,null,G,S,!0),Ns()),Me!=null&&(R.renderCache[Me]=void 0),fe&256){R.ctx.deactivate(S);return}const $e=fe&1&&Ce,tt=!on(S);let ze;if(tt&&(ze=le&&le.onVnodeBeforeUnmount)&&ns(ze,R,S),fe&6)_e(S.component,G,Q);else{if(fe&128){S.suspense.unmount(G,Q);return}$e&&$s(S,null,R,"beforeUnmount"),fe&64?S.type.remove(S,R,G,$t,Q):Z&&!Z.hasOnce&&(W!==De||de>0&&de&64)?Xe(Z,R,G,!1,!0):(W===De&&de&384||!q&&fe&16)&&Xe(se,R,G),Q&&As(S)}(tt&&(ze=le&&le.onVnodeUnmounted)||$e)&&mt(()=>{ze&&ns(ze,R,S),$e&&$s(S,null,R,"unmounted")},G)},As=S=>{const{type:R,el:G,anchor:Q,transition:q}=S;if(R===De){ce(G,Q);return}if(R===Yn){v(S);return}const W=()=>{i(G),q&&!q.persisted&&q.afterLeave&&q.afterLeave()};if(S.shapeFlag&1&&q&&!q.persisted){const{leave:le,delayLeave:re}=q,se=()=>le(G,W);re?re(S.el,W,se):se()}else W()},ce=(S,R)=>{let G;for(;S!==R;)G=h(S),i(S),S=G;i(R)},_e=(S,R,G)=>{const{bum:Q,scope:q,job:W,subTree:le,um:re,m:se,a:Z}=S;Uo(se),Uo(Z),Q&&Ti(Q),q.stop(),W&&(W.flags|=8,gt(le,S,R,G)),re&&mt(re,R),mt(()=>{S.isUnmounted=!0},R)},Xe=(S,R,G,Q=!1,q=!1,W=0)=>{for(let le=W;le<S.length;le++)gt(S[le],R,G,Q,q)},nt=S=>{if(S.shapeFlag&6)return nt(S.component.subTree);if(S.shapeFlag&128)return S.suspense.next();const R=h(S.anchor||S.el),G=R&&R[z1];return G?h(G):R};let os=!1;const et=(S,R,G)=>{let Q;S==null?R._vnode&&(gt(R._vnode,null,null,!0),Q=R._vnode.component):m(R._vnode||null,S,R,null,null,null,G),R._vnode=S,os||(os=!0,$1(Q),_o(),os=!1)},$t={p:m,um:gt,m:Qe,r:As,mt:z,mc:F,pc:V,pbc:U,n:nt,o:e};let qi,Ks;return t&&([qi,Ks]=t($t)),{render:et,hydrate:qi,createApp:q3(et,qi)}}function fl({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Qn({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function hl(e,t,s=!1){const n=e.children,i=t.children;if(he(n)&&he(i))for(let r=0;r<n.length;r++){const o=n[r];let a=i[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[r]=un(i[r]),a.el=o.el),!s&&a.patchFlag!==-2&&hl(o,a)),a.type===Mn&&(a.patchFlag===-1&&(a=i[r]=un(a)),a.el=o.el),a.type===Et&&!a.el&&(a.el=o.el)}}function a4(e){const t=e.slice(),s=[0];let n,i,r,o,a;const l=e.length;for(n=0;n<l;n++){const c=e[n];if(c!==0){if(i=s[s.length-1],e[i]<c){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)a=r+o>>1,e[s[a]]<c?r=a+1:o=a;c<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function $u(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$u(t)}function Uo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Fu(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Fu(t.subTree):null}const No=e=>e.__isSuspense;let pl=0;const l4={name:"Suspense",__isSuspense:!0,process(e,t,s,n,i,r,o,a,l,c){if(e==null)c4(t,s,n,i,r,o,a,l,c);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}u4(e,t,s,n,i,o,a,l,c)}},hydrate:d4,normalize:f4};function Er(e,t){const s=e.props&&e.props[t];we(s)&&s()}function c4(e,t,s,n,i,r,o,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),h=e.suspense=Hu(e,i,n,t,d,s,r,o,a,l);c(null,h.pendingBranch=e.ssContent,d,null,n,h,r,o),h.deps>0?(Er(e,"onPending"),Er(e,"onFallback"),c(null,e.ssFallback,t,s,n,null,r,o),ki(h,e.ssFallback)):h.resolve(!1,!0)}function u4(e,t,s,n,i,r,o,a,{p:l,um:c,o:{createElement:u}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const h=t.ssContent,p=t.ssFallback,{activeBranch:_,pendingBranch:m,isInFallback:L,isHydrating:M}=d;if(m)d.pendingBranch=h,Rs(m,h)?(l(m,h,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():L&&(M||(l(_,p,s,n,i,null,r,o,a),ki(d,p)))):(d.pendingId=pl++,M?(d.isHydrating=!1,d.activeBranch=m):c(m,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u("div"),L?(l(null,h,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0?d.resolve():(l(_,p,s,n,i,null,r,o,a),ki(d,p))):_&&Rs(_,h)?(l(_,h,s,n,i,d,r,o,a),d.resolve(!0)):(l(null,h,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0&&d.resolve()));else if(_&&Rs(_,h))l(_,h,s,n,i,d,r,o,a),ki(d,h);else if(Er(t,"onPending"),d.pendingBranch=h,h.shapeFlag&512?d.pendingId=h.component.suspenseId:d.pendingId=pl++,l(null,h,d.hiddenContainer,null,i,d,r,o,a),d.deps<=0)d.resolve();else{const{timeout:E,pendingId:g}=d;E>0?setTimeout(()=>{d.pendingId===g&&d.fallback(p)},E):E===0&&d.fallback(p)}}function Hu(e,t,s,n,i,r,o,a,l,c,u=!1){const{p:d,m:h,um:p,n:_,o:{parentNode:m,remove:L}}=c;let M;const E=h4(e);E&&t&&t.pendingBranch&&(M=t.pendingId,t.deps++);const g=e.props?so(e.props.timeout):void 0,v=r,C={vnode:e,parent:t,parentComponent:s,namespace:o,container:n,hiddenContainer:i,deps:0,pendingId:pl++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(b=!1,$=!1){const{vnode:F,activeBranch:A,pendingBranch:U,pendingId:O,effects:T,parentComponent:D,container:z,isInFallback:ee}=C;let te=!1;C.isHydrating?C.isHydrating=!1:b||(te=A&&U.transition&&U.transition.mode==="out-in",te&&(A.transition.afterLeave=()=>{O===C.pendingId&&(h(U,z,r===v?_(A):r,0),ar(T),ee&&F.ssFallback&&(F.ssFallback.el=null))}),A&&(m(A.el)===z&&(r=_(A)),p(A,D,C,!0),!te&&ee&&F.ssFallback&&mt(()=>F.ssFallback.el=null,C)),te||h(U,z,r,0)),ki(C,U),C.pendingBranch=null,C.isInFallback=!1;let ne=C.parent,V=!1;for(;ne;){if(ne.pendingBranch){ne.effects.push(...T),V=!0;break}ne=ne.parent}!V&&!te&&ar(T),C.effects=[],E&&t&&t.pendingBranch&&M===t.pendingId&&(t.deps--,t.deps===0&&!$&&t.resolve()),Er(F,"onResolve")},fallback(b){if(!C.pendingBranch)return;const{vnode:$,activeBranch:F,parentComponent:A,container:U,namespace:O}=C;Er($,"onFallback");const T=_(F),D=()=>{C.isInFallback&&(d(null,b,U,T,A,null,O,a,l),ki(C,b))},z=b.transition&&b.transition.mode==="out-in";z&&(F.transition.afterLeave=D),C.isInFallback=!0,p(F,A,null,!0),z||D()},move(b,$,F){C.activeBranch&&h(C.activeBranch,b,$,F),C.container=b},next(){return C.activeBranch&&_(C.activeBranch)},registerDep(b,$,F){const A=!!C.pendingBranch;A&&C.deps++;const U=b.vnode.el;b.asyncDep.catch(O=>{qn(O,b,0)}).then(O=>{if(b.isUnmounted||C.isUnmounted||C.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:T}=b;_l(b,O,!1),U&&(T.el=U);const D=!U&&b.subTree.el;$(b,T,m(U||b.subTree.el),U?null:_(b.subTree),C,o,F),D&&(T.placeholder=null,L(D)),ko(b,T.el),A&&--C.deps===0&&C.resolve()})},unmount(b,$){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,s,b,$),C.pendingBranch&&p(C.pendingBranch,s,b,$)}};return C}function d4(e,t,s,n,i,r,o,a,l){const c=t.suspense=Hu(t,n,s,e.parentNode,document.createElement("div"),null,i,r,o,a,!0),u=l(e,c.pendingBranch=t.ssContent,s,c,r,o);return c.deps===0&&c.resolve(!1,!0),u}function f4(e){const{shapeFlag:t,children:s}=e,n=t&32;e.ssContent=Gu(n?s.default:s),e.ssFallback=n?Gu(s.fallback):Re(Et)}function Gu(e){let t;if(we(e)){const s=Jn&&e._c;s&&(e._d=!1,w()),e=e(),s&&(e._d=!0,t=jt,ju())}return he(e)&&(e=Y3(e)),e=ss(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(s=>s!==e)),e}function Bu(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):ar(e)}function ki(e,t){e.activeBranch=t;const{vnode:s,parentComponent:n}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;s.el=i,n&&n.subTree===s&&(n.vnode.el=i,ko(n,i))}function h4(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const De=Symbol.for("v-fgt"),Mn=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Yn=Symbol.for("v-stc"),vr=[];let jt=null;function w(e=!1){vr.push(jt=e?null:[])}function ju(){vr.pop(),jt=vr[vr.length-1]||null}let Jn=1;function Cr(e,t=!1){Jn+=e,e<0&&jt&&t&&(jt.hasOnce=!0)}function Ku(e){return e.dynamicChildren=Jn>0?jt||Ei:null,ju(),Jn>0&&jt&&jt.push(e),e}function P(e,t,s,n,i,r){return Ku(y(e,t,s,n,i,r,!0))}function Le(e,t,s,n,i){return Ku(Re(e,t,s,n,i,!0))}function cn(e){return e?e.__v_isVNode===!0:!1}function Rs(e,t){return e.type===t.type&&e.key===t.key}function p4(e){}const zu=({key:e})=>e??null,Do=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||dt(e)||we(e)?{i:Dt,r:e,k:t,f:!!s}:e:null);function y(e,t=null,s=null,n=0,i=null,r=e===De?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zu(t),ref:t&&Do(t),scopeId:Eo,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Dt};return a?(gl(l,s),r&128&&e.normalize(l)):s&&(l.shapeFlag|=be(s)?8:16),Jn>0&&!o&&jt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&jt.push(l),l}const Re=g4;function g4(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===pu)&&(e=Et),cn(e)){const a=Hs(e,t,!0);return s&&gl(a,s),Jn>0&&!r&&jt&&(a.shapeFlag&6?jt[jt.indexOf(e)]=a:jt.push(a)),a.patchFlag=-2,a}if(T4(e)&&(e=e.__vccOpts),t){t=qu(t);let{class:a,style:l}=t;a&&!be(a)&&(t.class=Je(a)),Be(l)&&(or(l)&&!he(l)&&(l=Ve({},l)),t.style=it(l))}const o=be(e)?1:No(e)?128:q1(e)?64:Be(e)?4:we(e)?2:0;return y(e,t,s,n,i,o,r,!0)}function qu(e){return e?or(e)||Ou(e)?Ve({},e):e:null}function Hs(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:a,transition:l}=e,c=t?Zu(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&zu(c),ref:t&&t.ref?s&&r?he(r)?r.concat(Do(t)):[r,Do(t)]:Do(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==De?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Hs(e.ssContent),ssFallback:e.ssFallback&&Hs(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&n&&rn(u,l.clone(u)),u}function Po(e=" ",t=0){return Re(Mn,null,e,t)}function Vo(e,t){const s=Re(Yn,null,e);return s.staticCount=t,s}function ue(e="",t=!1){return t?(w(),Le(Et,null,e)):Re(Et,null,e)}function ss(e){return e==null||typeof e=="boolean"?Re(Et):he(e)?Re(De,null,e.slice()):cn(e)?un(e):Re(Mn,null,String(e))}function un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Hs(e)}function gl(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(he(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),gl(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ou(t)?t._ctx=Dt:i===3&&Dt&&(Dt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else we(t)?(t={default:t,_ctx:Dt},s=32):(t=String(t),n&64?(s=16,t=[Po(t)]):s=8);e.children=t,e.shapeFlag|=s}function Zu(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Je([t.class,n.class]));else if(i==="style")t.style=it([t.style,n.style]);else if(Hn(i)){const r=t[i],o=n[i];o&&r!==o&&!(he(r)&&r.includes(o))&&(t[i]=r?[].concat(r,o):o)}else i!==""&&(t[i]=n[i])}return t}function ns(e,t,s,n=null){gs(e,t,7,[s,n])}const _4=yu();let m4=0;function Wu(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||_4,r={uid:m4++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Aa(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lu(n,i),emitsOptions:Tu(n,i),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:n.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=W3.bind(null,r),e.ce&&e.ce(r),r}let Pt=null;const Jt=()=>Pt||Dt;let $o,Ui;{const e=no(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};$o=t("__VUE_INSTANCE_SETTERS__",s=>Pt=s),Ui=t("__VUE_SSR_SETTERS__",s=>Xn=s)}const Ni=e=>{const t=Pt;return $o(e),e.scope.on(),()=>{e.scope.off(),$o(t)}},Fo=()=>{Pt&&Pt.scope.off(),$o(null)};function Qu(e){return e.vnode.shapeFlag&4}let Xn=!1;function Yu(e,t=!1,s=!1){t&&Ui(t);const{props:n,children:i}=e.vnode,r=Qu(e);t4(e,n,r,t),r4(e,i,s||t);const o=r?E4(e,t):void 0;return t&&Ui(!1),o}function E4(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rl);const{setup:n}=s;if(n){Us();const i=e.setupContext=n.length>1?ed(e):null,r=Ni(e),o=zn(n,e,0,[e.props,i]),a=ba(o);if(Ns(),r(),(a||e.sp)&&!on(e)&&Wa(e),a){if(o.then(Fo,Fo),t)return o.then(l=>{_l(e,l,t)}).catch(l=>{qn(l,e,0)});e.asyncDep=o}else _l(e,o,t)}else Xu(e,t)}function _l(e,t,s){we(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Be(t)&&(e.setupState=Ha(t)),Xu(e,s)}let Ho,ml;function Ju(e){Ho=e,ml=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,M3))}}const v4=()=>!Ho;function Xu(e,t,s){const n=e.type;if(!e.render){if(!t&&Ho&&!n.render){const i=n.template||al(e).template;if(i){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=n,c=Ve(Ve({isCustomElement:r,delimiters:a},o),l);n.render=Ho(i,c)}}e.render=n.render||kt,ml&&ml(e)}{const i=Ni(e);Us();try{H3(e)}finally{Ns(),i()}}}const C4={get(e,t){return Bt(e,"get",""),e[t]}};function ed(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,C4),slots:e.slots,emit:e.emit,expose:t}}function yr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ha(L1(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in gr)return gr[s](e)},has(t,s){return s in t||s in gr}})):e.proxy}const y4=/(?:^|[-_])\w/g,S4=e=>e.replace(y4,t=>t.toUpperCase()).replace(/[-_]/g,"");function Go(e,t=!0){return we(e)?e.displayName||e.name:e.name||t&&e.__name}function td(e,t,s=!1){let n=Go(t);if(!n&&t.__file){const i=t.__file.match(/([^/\\]+)\.\w+$/);i&&(n=i[1])}if(!n&&e){const i=r=>{for(const o in r)if(r[o]===t)return o};n=i(e.components)||e.parent&&i(e.parent.type.components)||i(e.appContext.components)}return n?S4(n):s?"App":"Anonymous"}function T4(e){return we(e)&&"__vccOpts"in e}const ye=(e,t)=>Up(e,t,Xn);function sd(e,t,s){try{Cr(-1);const n=arguments.length;return n===2?Be(t)&&!he(t)?cn(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&cn(s)&&(s=[s]),Re(e,t,s))}finally{Cr(1)}}function I4(){}function w4(e,t,s,n){const i=s[n];if(i&&nd(i,e))return i;const r=t();return r.memo=e.slice(),r.cacheIndex=n,s[n]=r}function nd(e,t){const s=e.memo;if(s.length!=t.length)return!1;for(let n=0;n<s.length;n++)if(Nt(s[n],t[n]))return!1;return Jn>0&&jt&&jt.push(e),!0}const id="3.5.30",R4=kt,M4=qp,O4=Oi,b4=H1,L4={createComponentInstance:Wu,setupComponent:Yu,renderComponentRoot:xo,setCurrentRenderingInstance:cr,isVNode:cn,normalizeVNode:ss,getComponentPublicInstance:yr,ensureValidVNode:sl,pushWarningContext:$p,popWarningContext:Fp},A4=null,x4=null,k4=null;/**
316
+ * @vue/runtime-dom v3.5.30
317
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
318
+ * @license MIT
319
+ **/let El;const rd=typeof window<"u"&&window.trustedTypes;if(rd)try{El=rd.createPolicy("vue",{createHTML:e=>e})}catch{}const od=El?e=>El.createHTML(e):e=>e,U4="http://www.w3.org/2000/svg",N4="http://www.w3.org/1998/Math/MathML",dn=typeof document<"u"?document:null,ad=dn&&dn.createElement("template"),ld={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?dn.createElementNS(U4,e):t==="mathml"?dn.createElementNS(N4,e):s?dn.createElement(e,{is:s}):dn.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>dn.createTextNode(e),createComment:e=>dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{ad.innerHTML=od(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=ad.content;if(n==="svg"||n==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},On="transition",Sr="animation",Di=Symbol("_vtc"),cd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ud=Ve({},qa,cd),vl=(e=>(e.displayName="Transition",e.props=ud,e))((e,{slots:t})=>sd(eu,fd(e),t)),ei=(e,t=[])=>{he(e)?e.forEach(s=>s(...t)):e&&e(...t)},dd=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function fd(e){const t={};for(const T in e)T in cd||(t[T]=e[T]);if(e.css===!1)return t;const{name:s="v",type:n,duration:i,enterFromClass:r=`${s}-enter-from`,enterActiveClass:o=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:l=r,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${s}-leave-from`,leaveActiveClass:h=`${s}-leave-active`,leaveToClass:p=`${s}-leave-to`}=e,_=D4(i),m=_&&_[0],L=_&&_[1],{onBeforeEnter:M,onEnter:E,onEnterCancelled:g,onLeave:v,onLeaveCancelled:C,onBeforeAppear:b=M,onAppear:$=E,onAppearCancelled:F=g}=t,A=(T,D,z,ee)=>{T._enterCancelled=ee,bn(T,D?u:a),bn(T,D?c:o),z&&z()},U=(T,D)=>{T._isLeaving=!1,bn(T,d),bn(T,p),bn(T,h),D&&D()},O=T=>(D,z)=>{const ee=T?$:E,te=()=>A(D,T,z);ei(ee,[D,te]),hd(()=>{bn(D,T?l:r),Gs(D,T?u:a),dd(ee)||pd(D,n,m,te)})};return Ve(t,{onBeforeEnter(T){ei(M,[T]),Gs(T,r),Gs(T,o)},onBeforeAppear(T){ei(b,[T]),Gs(T,l),Gs(T,c)},onEnter:O(!1),onAppear:O(!0),onLeave(T,D){T._isLeaving=!0;const z=()=>U(T,D);Gs(T,d),T._enterCancelled?(Gs(T,h),yl(T)):(yl(T),Gs(T,h)),hd(()=>{T._isLeaving&&(bn(T,d),Gs(T,p),dd(v)||pd(T,n,L,z))}),ei(v,[T,z])},onEnterCancelled(T){A(T,!1,void 0,!0),ei(g,[T])},onAppearCancelled(T){A(T,!0,void 0,!0),ei(F,[T])},onLeaveCancelled(T){U(T),ei(C,[T])}})}function D4(e){if(e==null)return null;if(Be(e))return[Cl(e.enter),Cl(e.leave)];{const t=Cl(e);return[t,t]}}function Cl(e){return so(e)}function Gs(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[Di]||(e[Di]=new Set)).add(t)}function bn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[Di];s&&(s.delete(t),s.size||(e[Di]=void 0))}function hd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let P4=0;function pd(e,t,s,n){const i=e._endId=++P4,r=()=>{i===e._endId&&n()};if(s!=null)return setTimeout(r,s);const{type:o,timeout:a,propCount:l}=gd(e,t);if(!o)return n();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,h),r()},h=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},a+1),e.addEventListener(c,h)}function gd(e,t){const s=window.getComputedStyle(e),n=_=>(s[_]||"").split(", "),i=n(`${On}Delay`),r=n(`${On}Duration`),o=_d(i,r),a=n(`${Sr}Delay`),l=n(`${Sr}Duration`),c=_d(a,l);let u=null,d=0,h=0;t===On?o>0&&(u=On,d=o,h=r.length):t===Sr?c>0&&(u=Sr,d=c,h=l.length):(d=Math.max(o,c),u=d>0?o>c?On:Sr:null,h=u?u===On?r.length:l.length:0);const p=u===On&&/\b(?:transform|all)(?:,|$)/.test(n(`${On}Property`).toString());return{type:u,timeout:d,propCount:h,hasTransform:p}}function _d(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>md(s)+md(e[n])))}function md(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function yl(e){return(e?e.ownerDocument:document).body.offsetHeight}function V4(e,t,s){const n=e[Di];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Bo=Symbol("_vod"),Ed=Symbol("_vsh"),Bs={name:"show",beforeMount(e,{value:t},{transition:s}){e[Bo]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):Tr(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),Tr(e,!0),n.enter(e)):n.leave(e,()=>{Tr(e,!1)}):Tr(e,t))},beforeUnmount(e,{value:t}){Tr(e,t)}};function Tr(e,t){e.style.display=t?e[Bo]:"none",e[Ed]=!t}function $4(){Bs.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const vd=Symbol("");function F4(e){const t=Jt();if(!t)return;const s=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(r=>jo(r,i))},n=()=>{const i=e(t.proxy);t.ce?jo(t.ce,i):Sl(t.subTree,i),s(i)};Ja(()=>{ar(n)}),at(()=>{ls(n,kt,{flush:"post"});const i=new MutationObserver(n);i.observe(t.subTree.el.parentNode,{childList:!0}),Tt(()=>i.disconnect())})}function Sl(e,t){if(e.shapeFlag&128){const s=e.suspense;e=s.activeBranch,s.pendingBranch&&!s.isHydrating&&s.effects.push(()=>{Sl(s.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)jo(e.el,t);else if(e.type===De)e.children.forEach(s=>Sl(s,t));else if(e.type===Yn){let{el:s,anchor:n}=e;for(;s&&(jo(s,t),s!==n);)s=s.nextSibling}}function jo(e,t){if(e.nodeType===1){const s=e.style;let n="";for(const i in t){const r=X5(t[i]);s.setProperty(`--${i}`,r),n+=`--${i}: ${r};`}s[vd]=n}}const H4=/(?:^|;)\s*display\s*:/;function G4(e,t,s){const n=e.style,i=be(s);let r=!1;if(s&&!i){if(t)if(be(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();s[a]==null&&Ko(n,a,"")}else for(const o in t)s[o]==null&&Ko(n,o,"");for(const o in s)o==="display"&&(r=!0),Ko(n,o,s[o])}else if(i){if(t!==s){const o=n[vd];o&&(s+=";"+o),n.cssText=s,r=H4.test(s)}}else t&&e.removeAttribute("style");Bo in e&&(e[Bo]=r?n.display:"",e[Ed]&&(n.display="none"))}const Cd=/\s*!important$/;function Ko(e,t,s){if(he(s))s.forEach(n=>Ko(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=B4(e,t);Cd.test(s)?e.setProperty(es(n),s.replace(Cd,""),"important"):e[n]=s}}const yd=["Webkit","Moz","ms"],Tl={};function B4(e,t){const s=Tl[t];if(s)return s;let n=Ye(t);if(n!=="filter"&&n in e)return Tl[t]=n;n=Bn(n);for(let i=0;i<yd.length;i++){const r=yd[i]+n;if(r in e)return Tl[t]=r}return t}const Sd="http://www.w3.org/1999/xlink";function Td(e,t,s,n,i,r=Y5(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Sd,t.slice(6,t.length)):e.setAttributeNS(Sd,t,s):s==null||r&&!l1(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Xt(s)?String(s):s)}function Id(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?od(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,l=s==null?e.type==="checkbox"?"on":"":String(s);(a!==l||!("_value"in e))&&(e.value=l),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=l1(s):s==null&&a==="string"?(s="",o=!0):a==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function fn(e,t,s,n){e.addEventListener(t,s,n)}function j4(e,t,s,n){e.removeEventListener(t,s,n)}const wd=Symbol("_vei");function K4(e,t,s,n,i=null){const r=e[wd]||(e[wd]={}),o=r[t];if(n&&o)o.value=n;else{const[a,l]=z4(t);if(n){const c=r[t]=W4(n,i);fn(e,a,c,l)}else o&&(j4(e,a,o,l),r[t]=void 0)}}const Rd=/(?:Once|Passive|Capture)$/;function z4(e){let t;if(Rd.test(e)){t={};let n;for(;n=e.match(Rd);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):es(e.slice(2)),t]}let Il=0;const q4=Promise.resolve(),Z4=()=>Il||(q4.then(()=>Il=0),Il=Date.now());function W4(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;gs(Q4(n,s.value),t,5,[n])};return s.value=e,s.attached=Z4(),s}function Q4(e,t){if(he(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Md=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Od=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?V4(e,n,o):t==="style"?G4(e,s,n):Hn(t)?Ma(t)||K4(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Y4(e,t,n,o))?(Id(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Td(e,t,n,o,r,t!=="value")):e._isVueCE&&(J4(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!be(n)))?Id(e,Ye(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Td(e,t,n,o))};function Y4(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Md(t)&&we(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Md(t)&&be(s)?!1:t in e}function J4(e,t){const s=e._def.props;if(!s)return!1;const n=Ye(t);return Array.isArray(s)?s.some(i=>Ye(i)===n):Object.keys(s).some(i=>Ye(i)===n)}const bd={};function Pi(e,t,s){let n=Te(e,t);Jr(n)&&(n=Ve({},n,t));class i extends zo{constructor(o){super(n,o,s)}}return i.def=n,i}const X4=(e,t)=>Pi(e,t,Zd),e6=typeof HTMLElement<"u"?HTMLElement:class{};class zo extends e6{constructor(t,s={},n=Rl){super(),this._def=t,this._props=s,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&n!==Rl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow(Ve({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof zo){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,ot(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const s of t)this._setAttr(s.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(n,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:r,styles:o}=n;let a;if(r&&!he(r))for(const l in r){const c=r[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=so(this._props[l])),(a||(a=Object.create(null)))[Ye(l)]=!0)}this._numberProps=a,this._resolveProps(n),this.shadowRoot&&this._applyStyles(o),this._mount(n)},s=this._def.__asyncLoader;s?this._pendingResolve=s().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const s=this._instance&&this._instance.exposed;if(s)for(const n in s)qe(this,n)||Object.defineProperty(this,n,{get:()=>x(s[n])})}_resolveProps(t){const{props:s}=t,n=he(s)?s:Object.keys(s||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(Ye))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(r){this._setProp(i,r,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const s=this.hasAttribute(t);let n=s?this.getAttribute(t):bd;const i=Ye(t);s&&this._numberProps&&this._numberProps[i]&&(n=so(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,s,n=!0,i=!1){if(s!==this._props[t]&&(this._dirty=!0,s===bd?delete this._props[t]:(this._props[t]=s,t==="key"&&this._app&&(this._app._ceVNode.key=s)),i&&this._instance&&this._update(),n)){const r=this._ob;r&&(this._processMutations(r.takeRecords()),r.disconnect()),s===!0?this.setAttribute(es(t),""):typeof s=="string"||typeof s=="number"?this.setAttribute(es(t),s+""):s||this.removeAttribute(es(t)),r&&r.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),qd(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const s=Re(this._def,Ve(t,this._props));return this._instance||(s.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(r,o)=>{this.dispatchEvent(new CustomEvent(r,Jr(o[0])?Ve({detail:o},o[0]):{detail:o}))};n.emit=(r,...o)=>{i(r,o),es(r)!==r&&i(es(r),o)},this._setParent()}),s}_applyStyles(t,s,n){if(!t)return;if(s){if(s===this._def||this._styleChildren.has(s))return;this._styleChildren.add(s)}const i=this._nonce,r=this.shadowRoot,o=n?this._getStyleAnchor(n)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(r);let a=null;for(let l=t.length-1;l>=0;l--){const c=document.createElement("style");i&&c.setAttribute("nonce",i),c.textContent=t[l],r.insertBefore(c,a||o),a=c,l===0&&(n||this._styleAnchors.set(this._def,c),s&&this._styleAnchors.set(s,c))}}_getStyleAnchor(t){if(!t)return null;const s=this._styleAnchors.get(t);return s&&s.parentNode===this.shadowRoot?s:(s&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let s=0;s<t.childNodes.length;s++){const n=t.childNodes[s];if(!(n instanceof HTMLStyleElement))return n}return null}_parseSlots(){const t=this._slots={};let s;for(;s=this.firstChild;){const n=s.nodeType===1&&s.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(s),this.removeChild(s)}}_renderSlots(){const t=this._getSlots(),s=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const i=t[n],r=i.getAttribute("name")||"default",o=this._slots[r],a=i.parentNode;if(o)for(const l of o){if(s&&l.nodeType===1){const c=s+"-s",u=document.createTreeWalker(l,1);l.setAttribute(c,"");let d;for(;d=u.nextNode();)d.setAttribute(c,"")}a.insertBefore(l,i)}else for(;i.firstChild;)a.insertBefore(i.firstChild,i);a.removeChild(i)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const s=new Set;for(const n of t){const i=n.querySelectorAll("slot");for(let r=0;r<i.length;r++)s.add(i[r])}return Array.from(s)}_injectChildStyle(t,s){this._applyStyles(t.styles,t,s)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){}}function Ld(e){const t=Jt(),s=t&&t.ce;return s||null}function t6(){const e=Ld();return e&&e.shadowRoot}function s6(e="$style"){{const t=Jt();if(!t)return Fe;const s=t.type.__cssModules;if(!s)return Fe;const n=s[e];return n||Fe}}const Ad=new WeakMap,xd=new WeakMap,qo=Symbol("_moveCb"),kd=Symbol("_enterCb"),n6=(e=>(delete e.props.mode,e))({name:"TransitionGroup",props:Ve({},ud,{tag:String,moveClass:String}),setup(e,{slots:t}){const s=Jt(),n=za();let i,r;return bo(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!a6(i[0].el,s.vnode.el,o)){i=[];return}i.forEach(i6),i.forEach(r6);const a=i.filter(o6);yl(s.vnode.el),a.forEach(l=>{const c=l.el,u=c.style;Gs(c,o),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[qo]=h=>{h&&h.target!==c||(!h||h.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",d),c[qo]=null,bn(c,o))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const o=He(e),a=fd(o);let l=o.tag||De;if(i=[],r)for(let c=0;c<r.length;c++){const u=r[c];u.el&&u.el instanceof Element&&(i.push(u),rn(u,bi(u,a,n,s)),Ad.set(u,Ud(u.el)))}r=t.default?So(t.default()):[];for(let c=0;c<r.length;c++){const u=r[c];u.key!=null&&rn(u,bi(u,a,n,s))}return Re(l,null,r)}}});function i6(e){const t=e.el;t[qo]&&t[qo](),t[kd]&&t[kd]()}function r6(e){xd.set(e,Ud(e.el))}function o6(e){const t=Ad.get(e),s=xd.get(e),n=t.left-s.left,i=t.top-s.top;if(n||i){const r=e.el,o=r.style,a=r.getBoundingClientRect();let l=1,c=1;return r.offsetWidth&&(l=a.width/r.offsetWidth),r.offsetHeight&&(c=a.height/r.offsetHeight),(!Number.isFinite(l)||l===0)&&(l=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(l-1)<.01&&(l=1),Math.abs(c-1)<.01&&(c=1),o.transform=o.webkitTransform=`translate(${n/l}px,${i/c}px)`,o.transitionDuration="0s",e}}function Ud(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function a6(e,t,s){const n=e.cloneNode(),i=e[Di];i&&i.forEach(a=>{a.split(/\s+/).forEach(l=>l&&n.classList.remove(l))}),s.split(/\s+/).forEach(a=>a&&n.classList.add(a)),n.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(n);const{hasTransform:o}=gd(n);return r.removeChild(n),o}const Ln=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?s=>Ti(t,s):t};function l6(e){e.target.composing=!0}function Nd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Es=Symbol("_assign");function Dd(e,t,s){return t&&(e=e.trim()),s&&(e=to(e)),e}const Ir={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Es]=Ln(i);const r=n||i.props&&i.props.type==="number";fn(e,t?"change":"input",o=>{o.target.composing||e[Es](Dd(e.value,s,r))}),(s||r)&&fn(e,"change",()=>{e.value=Dd(e.value,s,r)}),t||(fn(e,"compositionstart",l6),fn(e,"compositionend",Nd),fn(e,"change",Nd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[Es]=Ln(o),e.composing)return;const a=(r||e.type==="number")&&!/^0\d/.test(e.value)?to(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===l)||(e.value=l))}},wr={deep:!0,created(e,t,s){e[Es]=Ln(s),fn(e,"change",()=>{const n=e._modelValue,i=Vi(e),r=e.checked,o=e[Es];if(he(n)){const a=io(n,i),l=a!==-1;if(r&&!l)o(n.concat(i));else if(!r&&l){const c=[...n];c.splice(a,1),o(c)}}else if(Gn(n)){const a=new Set(n);r?a.add(i):a.delete(i),o(a)}else o(Fd(e,r))})},mounted:Pd,beforeUpdate(e,t,s){e[Es]=Ln(s),Pd(e,t,s)}};function Pd(e,{value:t,oldValue:s},n){e._modelValue=t;let i;if(he(t))i=io(t,n.props.value)>-1;else if(Gn(t))i=t.has(n.props.value);else{if(t===s)return;i=Js(t,Fd(e,!0))}e.checked!==i&&(e.checked=i)}const wl={created(e,{value:t},s){e.checked=Js(t,s.props.value),e[Es]=Ln(s),fn(e,"change",()=>{e[Es](Vi(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[Es]=Ln(n),t!==s&&(e.checked=Js(t,n.props.value))}},Vd={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const i=Gn(t);fn(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?to(Vi(o)):Vi(o));e[Es](e.multiple?i?new Set(r):r:r[0]),e._assigning=!0,ot(()=>{e._assigning=!1})}),e[Es]=Ln(n)},mounted(e,{value:t}){$d(e,t)},beforeUpdate(e,t,s){e[Es]=Ln(s)},updated(e,{value:t}){e._assigning||$d(e,t)}};function $d(e,t){const s=e.multiple,n=he(t);if(!(s&&!n&&!Gn(t))){for(let i=0,r=e.options.length;i<r;i++){const o=e.options[i],a=Vi(o);if(s)if(n){const l=typeof a;l==="string"||l==="number"?o.selected=t.some(c=>String(c)===String(a)):o.selected=io(t,a)>-1}else o.selected=t.has(a);else if(Js(Vi(o),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Vi(e){return"_value"in e?e._value:e.value}function Fd(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Hd={created(e,t,s){Zo(e,t,s,null,"created")},mounted(e,t,s){Zo(e,t,s,null,"mounted")},beforeUpdate(e,t,s,n){Zo(e,t,s,n,"beforeUpdate")},updated(e,t,s,n){Zo(e,t,s,n,"updated")}};function Gd(e,t){switch(e){case"SELECT":return Vd;case"TEXTAREA":return Ir;default:switch(t){case"checkbox":return wr;case"radio":return wl;default:return Ir}}}function Zo(e,t,s,n,i){const o=Gd(e.tagName,s.props&&s.props.type)[i];o&&o(e,t,s,n)}function c6(){Ir.getSSRProps=({value:e})=>({value:e}),wl.getSSRProps=({value:e},t)=>{if(t.props&&Js(t.props.value,e))return{checked:!0}},wr.getSSRProps=({value:e},t)=>{if(he(e)){if(t.props&&io(e,t.props.value)>-1)return{checked:!0}}else if(Gn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Hd.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const s=Gd(t.type.toUpperCase(),t.props&&t.props.type);if(s.getSSRProps)return s.getSSRProps(e,t)}}const u6=["ctrl","shift","alt","meta"],d6={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>u6.some(s=>e[`${s}Key`]&&!t.includes(s))},vs=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(i,...r)=>{for(let o=0;o<t.length;o++){const a=d6[t[o]];if(a&&a(i,t))return}return e(i,...r)})},f6={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},h6=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=i=>{if(!("key"in i))return;const r=es(i.key);if(t.some(o=>o===r||f6[o]===r))return e(i)})},Bd=Ve({patchProp:Od},ld);let Rr,jd=!1;function Kd(){return Rr||(Rr=Nu(Bd))}function zd(){return Rr=jd?Rr:Du(Bd),jd=!0,Rr}const qd=(...e)=>{Kd().render(...e)},p6=(...e)=>{zd().hydrate(...e)},Rl=(...e)=>{const t=Kd().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Qd(n);if(!i)return;const r=t._component;!we(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Wd(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t},Zd=(...e)=>{const t=zd().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=Qd(n);if(i)return s(i,!0,Wd(i))},t};function Wd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Qd(e){return be(e)?document.querySelector(e):e}let Yd=!1;const g6=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:eu,BaseTransitionPropsValidators:qa,Comment:Et,DeprecationTypes:k4,EffectScope:Aa,ErrorCodes:zp,ErrorTypeStrings:M4,Fragment:De,KeepAlive:y3,ReactiveEffect:Xi,Static:Yn,Suspense:l4,Teleport:i3,Text:Mn,TrackOpTypes:Np,Transition:vl,TransitionGroup:n6,TriggerOpTypes:Dp,VueElement:zo,assertNumber:Kp,callWithAsyncErrorHandling:gs,callWithErrorHandling:zn,camelize:Ye,capitalize:Bn,cloneVNode:Hs,compatUtils:x4,computed:ye,createApp:Rl,createBlock:Le,createCommentVNode:ue,createElementBlock:P,createElementVNode:y,createHydrationRenderer:Du,createPropsRestProxy:$3,createRenderer:Nu,createSSRApp:Zd,createSlots:w3,createStaticVNode:Vo,createTextVNode:Po,createVNode:Re,customRef:k1,defineAsyncComponent:C3,defineComponent:Te,defineCustomElement:Pi,defineEmits:b3,defineExpose:L3,defineModel:k3,defineOptions:A3,defineProps:O3,defineSSRCustomElement:X4,defineSlots:x3,devtools:O4,effect:np,effectScope:ep,getCurrentInstance:Jt,getCurrentScope:d1,getCurrentWatcher:Pp,getTransitionRawChildren:So,guardReactiveProps:qu,h:sd,handleError:qn,hasInjectionContext:Xp,hydrate:p6,hydrateOnIdle:p3,hydrateOnInteraction:E3,hydrateOnMediaQuery:m3,hydrateOnVisible:_3,initCustomFormatter:I4,initDirectivesForSSR:()=>{Yd||(Yd=!0,c6(),$4())},inject:Zn,isMemoSame:nd,isProxy:or,isReactive:sn,isReadonly:Ps,isRef:dt,isRuntimeOnly:v4,isShallow:ts,isVNode:cn,markRaw:L1,mergeDefaults:P3,mergeModels:V3,mergeProps:Zu,nextTick:ot,nodeOps:ld,normalizeClass:Je,normalizeProps:G5,normalizeStyle:it,onActivated:au,onBeforeMount:Ya,onBeforeUnmount:Rn,onBeforeUpdate:Ja,onDeactivated:lu,onErrorCaptured:hu,onMounted:at,onRenderTracked:fu,onRenderTriggered:du,onScopeDispose:tp,onServerPrefetch:uu,onUnmounted:Tt,onUpdated:bo,onWatcherCleanup:N1,openBlock:w,patchProp:Od,popScopeId:Yp,provide:vo,proxyRefs:Ha,pushScopeId:Qp,queuePostFlushCb:ar,reactive:tn,readonly:rr,ref:N,registerRuntimeCompiler:Ju,render:qd,renderList:Ot,renderSlot:ln,resolveComponent:ve,resolveDirective:I3,resolveDynamicComponent:el,resolveFilter:A4,resolveTransitionHooks:bi,setBlockTracking:Cr,setDevtoolsHook:b4,setTransitionHooks:rn,shallowReactive:b1,shallowReadonly:Tp,shallowRef:A1,ssrContextKey:G1,ssrUtils:L4,stop:ip,toDisplayString:oe,toHandlerKey:Si,toHandlers:R3,toRaw:He,toRef:xp,toRefs:bp,toValue:Rp,transformVNodeArgs:p4,triggerRef:wp,unref:x,useAttrs:D3,useCssModule:s6,useCssVars:F4,useHost:Ld,useId:o3,useModel:Z3,useSSRContext:B1,useShadowRoot:t6,useSlots:N3,useTemplateRef:a3,useTransitionState:za,vModelCheckbox:wr,vModelDynamic:Hd,vModelRadio:wl,vModelSelect:Vd,vModelText:Ir,vShow:Bs,version:id,warn:R4,watch:ls,watchEffect:e3,watchPostEffect:t3,watchSyncEffect:j1,withAsyncContext:F3,withCtx:ft,withDefaults:U3,withDirectives:_s,withKeys:h6,withMemo:w4,withModifiers:vs,withScopeId:Jp},Symbol.toStringTag,{value:"Module"}));/**
320
+ * @vue/compiler-core v3.5.30
321
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
322
+ * @license MIT
323
+ **/const Mr=Symbol(""),Or=Symbol(""),Ml=Symbol(""),Wo=Symbol(""),Jd=Symbol(""),ti=Symbol(""),Xd=Symbol(""),e2=Symbol(""),Ol=Symbol(""),bl=Symbol(""),br=Symbol(""),Ll=Symbol(""),t2=Symbol(""),Al=Symbol(""),xl=Symbol(""),kl=Symbol(""),Ul=Symbol(""),Nl=Symbol(""),Dl=Symbol(""),s2=Symbol(""),n2=Symbol(""),Qo=Symbol(""),Yo=Symbol(""),Pl=Symbol(""),Vl=Symbol(""),Lr=Symbol(""),Ar=Symbol(""),$l=Symbol(""),Fl=Symbol(""),_6=Symbol(""),Hl=Symbol(""),Jo=Symbol(""),m6=Symbol(""),E6=Symbol(""),Gl=Symbol(""),v6=Symbol(""),C6=Symbol(""),Bl=Symbol(""),i2=Symbol(""),$i={[Mr]:"Fragment",[Or]:"Teleport",[Ml]:"Suspense",[Wo]:"KeepAlive",[Jd]:"BaseTransition",[ti]:"openBlock",[Xd]:"createBlock",[e2]:"createElementBlock",[Ol]:"createVNode",[bl]:"createElementVNode",[br]:"createCommentVNode",[Ll]:"createTextVNode",[t2]:"createStaticVNode",[Al]:"resolveComponent",[xl]:"resolveDynamicComponent",[kl]:"resolveDirective",[Ul]:"resolveFilter",[Nl]:"withDirectives",[Dl]:"renderList",[s2]:"renderSlot",[n2]:"createSlots",[Qo]:"toDisplayString",[Yo]:"mergeProps",[Pl]:"normalizeClass",[Vl]:"normalizeStyle",[Lr]:"normalizeProps",[Ar]:"guardReactiveProps",[$l]:"toHandlers",[Fl]:"camelize",[_6]:"capitalize",[Hl]:"toHandlerKey",[Jo]:"setBlockTracking",[m6]:"pushScopeId",[E6]:"popScopeId",[Gl]:"withCtx",[v6]:"unref",[C6]:"isRef",[Bl]:"withMemo",[i2]:"isMemoSame"};function y6(e){Object.getOwnPropertySymbols(e).forEach(t=>{$i[t]=e[t]})}const cs={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function S6(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:cs}}function xr(e,t,s,n,i,r,o,a=!1,l=!1,c=!1,u=cs){return e&&(a?(e.helper(ti),e.helper(Gi(e.inSSR,c))):e.helper(Hi(e.inSSR,c)),o&&e.helper(Nl)),{type:13,tag:t,props:s,children:n,patchFlag:i,dynamicProps:r,directives:o,isBlock:a,disableTracking:l,isComponent:c,loc:u}}function si(e,t=cs){return{type:17,loc:t,elements:e}}function Cs(e,t=cs){return{type:15,loc:t,properties:e}}function It(e,t){return{type:16,loc:cs,key:be(e)?Ue(e,!0):e,value:t}}function Ue(e,t=!1,s=cs,n=0){return{type:4,loc:s,content:e,isStatic:t,constType:t?3:n}}function Ms(e,t=cs){return{type:8,loc:t,children:e}}function bt(e,t=[],s=cs){return{type:14,loc:s,callee:e,arguments:t}}function Fi(e,t=void 0,s=!1,n=!1,i=cs){return{type:18,params:e,returns:t,newline:s,isSlot:n,loc:i}}function jl(e,t,s,n=!0){return{type:19,test:e,consequent:t,alternate:s,newline:n,loc:cs}}function T6(e,t,s=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:s,inVOnce:n,needArraySpread:!1,loc:cs}}function I6(e){return{type:21,body:e,loc:cs}}function Hi(e,t){return e||t?Ol:bl}function Gi(e,t){return e||t?Xd:e2}function Kl(e,{helper:t,removeHelper:s,inSSR:n}){e.isBlock||(e.isBlock=!0,s(Hi(n,e.isComponent)),t(ti),t(Gi(n,e.isComponent)))}const r2=new Uint8Array([123,123]),o2=new Uint8Array([125,125]);function a2(e){return e>=97&&e<=122||e>=65&&e<=90}function us(e){return e===32||e===10||e===9||e===12||e===13}function An(e){return e===47||e===62||us(e)}function Xo(e){const t=new Uint8Array(e.length);for(let s=0;s<e.length;s++)t[s]=e.charCodeAt(s);return t}const Kt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class w6{constructor(t,s){this.stack=t,this.cbs=s,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=r2,this.delimiterClose=o2,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=r2,this.delimiterClose=o2}getPos(t){let s=1,n=t+1;const i=this.newlines.length;let r=-1;if(i>100){let o=-1,a=i;for(;o+1<a;){const l=o+a>>>1;this.newlines[l]<t?o=l:a=l}r=o}else for(let o=i-1;o>=0;o--)if(t>this.newlines[o]){r=o;break}return r>=0&&(s=r+2,n=t-this.newlines[r]),{column:n,line:s,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const s=this.index+1-this.delimiterOpen.length;s>this.sectionStart&&this.cbs.ontext(this.sectionStart,s),this.state=3,this.sectionStart=s}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const s=this.sequenceIndex===this.currentSequence.length;if(!(s?An(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!s){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||us(t)){const s=this.index-this.currentSequence.length;if(this.sectionStart<s){const n=this.index;this.index=s,this.cbs.ontext(this.sectionStart,s),this.index=n}this.sectionStart=s+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Kt.TitleEnd||this.currentSequence===Kt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Kt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Kt.Cdata.length&&(this.state=28,this.currentSequence=Kt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);if(s===10&&this.newlines.push(this.index),s===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Kt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,s){this.enterRCDATA(t,s),this.state=31}enterRCDATA(t,s){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=s}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):a2(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){An(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(An(t)){const s=this.buffer.slice(this.sectionStart,this.index);s!=="template"&&this.enterRCDATA(Xo("</"+s),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){us(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=a2(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||us(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):us(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):us(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||An(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||An(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||An(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||An(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||An(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):us(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):us(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,s){(t===s||this.fastForwardTo(s))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(s===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){us(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Kt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Kt.ScriptEnd[3]?this.startSpecial(Kt.ScriptEnd,4):t===Kt.StyleEnd[3]?this.startSpecial(Kt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Kt.TitleEnd[3]?this.startSpecial(Kt.TitleEnd,4):t===Kt.TextareaEnd[3]?this.startSpecial(Kt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const s=this.buffer.charCodeAt(this.index);switch(s===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(s);break}case 2:{this.stateInterpolationOpen(s);break}case 3:{this.stateInterpolation(s);break}case 4:{this.stateInterpolationClose(s);break}case 31:{this.stateSpecialStartSequence(s);break}case 32:{this.stateInRCDATA(s);break}case 26:{this.stateCDATASequence(s);break}case 19:{this.stateInAttrValueDoubleQuotes(s);break}case 12:{this.stateInAttrName(s);break}case 13:{this.stateInDirName(s);break}case 14:{this.stateInDirArg(s);break}case 15:{this.stateInDynamicDirArg(s);break}case 16:{this.stateInDirModifier(s);break}case 28:{this.stateInCommentLike(s);break}case 27:{this.stateInSpecialComment(s);break}case 11:{this.stateBeforeAttrName(s);break}case 6:{this.stateInTagName(s);break}case 34:{this.stateInSFCRootTagName(s);break}case 9:{this.stateInClosingTagName(s);break}case 5:{this.stateBeforeTagName(s);break}case 17:{this.stateAfterAttrName(s);break}case 20:{this.stateInAttrValueSingleQuotes(s);break}case 18:{this.stateBeforeAttrValue(s);break}case 8:{this.stateBeforeClosingTagName(s);break}case 10:{this.stateAfterClosingTagName(s);break}case 29:{this.stateBeforeSpecialS(s);break}case 30:{this.stateBeforeSpecialT(s);break}case 21:{this.stateInAttrValueNoQuotes(s);break}case 7:{this.stateInSelfClosingTag(s);break}case 23:{this.stateInDeclaration(s);break}case 22:{this.stateBeforeDeclaration(s);break}case 25:{this.stateBeforeComment(s);break}case 24:{this.stateInProcessingInstruction(s);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Kt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,s){}}function l2(e,{compatConfig:t}){const s=t&&t[e];return e==="MODE"?s||3:s}function ni(e,t){const s=l2("MODE",t),n=l2(e,t);return s===3?n===!0:n!==!1}function kr(e,t,s,...n){return ni(e,t)}function zl(e){throw e}function c2(e){}function rt(e,t,s,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,r=new SyntaxError(String(i));return r.code=e,r.loc=t,r}const is=e=>e.type===4&&e.isStatic;function u2(e){switch(e){case"Teleport":case"teleport":return Or;case"Suspense":case"suspense":return Ml;case"KeepAlive":case"keep-alive":return Wo;case"BaseTransition":case"base-transition":return Jd}}const R6=/^$|^\d|[^\$\w\xA0-\uFFFF]/,ql=e=>!R6.test(e),d2=/[A-Za-z_$\xA0-\uFFFF]/,M6=/[\.\?\w$\xA0-\uFFFF]/,O6=/\s+[.[]\s*|\s*[.[]\s+/g,f2=e=>e.type===4?e.content:e.loc.source,h2=e=>{const t=f2(e).trim().replace(O6,a=>a.trim());let s=0,n=[],i=0,r=0,o=null;for(let a=0;a<t.length;a++){const l=t.charAt(a);switch(s){case 0:if(l==="[")n.push(s),s=1,i++;else if(l==="(")n.push(s),s=2,r++;else if(!(a===0?d2:M6).test(l))return!1;break;case 1:l==="'"||l==='"'||l==="`"?(n.push(s),s=3,o=l):l==="["?i++:l==="]"&&(--i||(s=n.pop()));break;case 2:if(l==="'"||l==='"'||l==="`")n.push(s),s=3,o=l;else if(l==="(")r++;else if(l===")"){if(a===t.length-1)return!1;--r||(s=n.pop())}break;case 3:l===o&&(s=n.pop(),o=null);break}}return!i&&!r},b6=/^\s*(?:async\s*)?(?:\([^)]*?\)|[\w$_]+)\s*(?::[^=]+)?=>|^\s*(?:async\s+)?function(?:\s+[\w$]+)?\s*\(/,L6=e=>b6.test(f2(e));function ys(e,t,s=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(s||i.exp)&&(be(t)?i.name===t:t.test(i.name)))return i}}function ea(e,t,s=!1,n=!1){for(let i=0;i<e.props.length;i++){const r=e.props[i];if(r.type===6){if(s)continue;if(r.name===t&&(r.value||n))return r}else if(r.name==="bind"&&(r.exp||n)&&ii(r.arg,t))return r}}function ii(e,t){return!!(e&&is(e)&&e.content===t)}function A6(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Zl(e){return e.type===5||e.type===2}function p2(e){return e.type===7&&e.name==="pre"}function x6(e){return e.type===7&&e.name==="slot"}function ta(e){return e.type===1&&e.tagType===3}function sa(e){return e.type===1&&e.tagType===2}const k6=new Set([Lr,Ar]);function g2(e,t=[]){if(e&&!be(e)&&e.type===14){const s=e.callee;if(!be(s)&&k6.has(s))return g2(e.arguments[0],t.concat(e))}return[e,t]}function na(e,t,s){let n,i=e.type===13?e.props:e.arguments[2],r=[],o;if(i&&!be(i)&&i.type===14){const a=g2(i);i=a[0],r=a[1],o=r[r.length-1]}if(i==null||be(i))n=Cs([t]);else if(i.type===14){const a=i.arguments[0];!be(a)&&a.type===15?_2(t,a)||a.properties.unshift(t):i.callee===$l?n=bt(s.helper(Yo),[Cs([t]),i]):i.arguments.unshift(Cs([t])),!n&&(n=i)}else i.type===15?(_2(t,i)||i.properties.unshift(t),n=i):(n=bt(s.helper(Yo),[Cs([t]),i]),o&&o.callee===Ar&&(o=r[r.length-2]));e.type===13?o?o.arguments[0]=n:e.props=n:o?o.arguments[0]=n:e.arguments[2]=n}function _2(e,t){let s=!1;if(e.key.type===4){const n=e.key.content;s=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return s}function Ur(e,t){return`_${t}_${e.replace(/[^\w]/g,(s,n)=>s==="-"?"_":e.charCodeAt(n).toString())}`}function U6(e){return e.type===14&&e.callee===Bl?e.arguments[1].returns:e}const N6=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/;function m2(e){for(let t=0;t<e.length;t++)if(!us(e.charCodeAt(t)))return!1;return!0}function Wl(e){return e.type===2&&m2(e.content)||e.type===12&&Wl(e.content)}function E2(e){return e.type===3||Wl(e)}const v2={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:vi,isPreTag:vi,isIgnoreNewlineTag:vi,isCustomElement:vi,onError:zl,onWarn:c2,comments:!1,prefixIdentifiers:!1};let Ze=v2,Nr=null,hn="",zt=null,Ge=null,rs="",pn=-1,ri=-1,Ql=0,xn=!1,Yl=null;const lt=[],ht=new w6(lt,{onerr:gn,ontext(e,t){ia(Vt(e,t),e,t)},ontextentity(e,t,s){ia(e,t,s)},oninterpolation(e,t){if(xn)return ia(Vt(e,t),e,t);let s=e+ht.delimiterOpen.length,n=t-ht.delimiterClose.length;for(;us(hn.charCodeAt(s));)s++;for(;us(hn.charCodeAt(n-1));)n--;let i=Vt(s,n);i.includes("&")&&(i=Ze.decodeEntities(i,!1)),Jl({type:5,content:oa(i,!1,vt(s,n)),loc:vt(e,t)})},onopentagname(e,t){const s=Vt(e,t);zt={type:1,tag:s,ns:Ze.getNamespace(s,lt[0],Ze.ns),tagType:0,props:[],children:[],loc:vt(e-1,t),codegenNode:void 0}},onopentagend(e){y2(e)},onclosetag(e,t){const s=Vt(e,t);if(!Ze.isVoidTag(s)){let n=!1;for(let i=0;i<lt.length;i++)if(lt[i].tag.toLowerCase()===s.toLowerCase()){n=!0,i>0&&gn(24,lt[0].loc.start.offset);for(let o=0;o<=i;o++){const a=lt.shift();ra(a,t,o<i)}break}n||gn(23,S2(e,60))}},onselfclosingtag(e){const t=zt.tag;zt.isSelfClosing=!0,y2(e),lt[0]&&lt[0].tag===t&&ra(lt.shift(),e)},onattribname(e,t){Ge={type:6,name:Vt(e,t),nameLoc:vt(e,t),value:void 0,loc:vt(e)}},ondirname(e,t){const s=Vt(e,t),n=s==="."||s===":"?"bind":s==="@"?"on":s==="#"?"slot":s.slice(2);if(!xn&&n===""&&gn(26,e),xn||n==="")Ge={type:6,name:s,nameLoc:vt(e,t),value:void 0,loc:vt(e)};else if(Ge={type:7,name:n,rawName:s,exp:void 0,arg:void 0,modifiers:s==="."?[Ue("prop")]:[],loc:vt(e)},n==="pre"){xn=ht.inVPre=!0,Yl=zt;const i=zt.props;for(let r=0;r<i.length;r++)i[r].type===7&&(i[r]=K6(i[r]))}},ondirarg(e,t){if(e===t)return;const s=Vt(e,t);if(xn&&!p2(Ge))Ge.name+=s,oi(Ge.nameLoc,t);else{const n=s[0]!=="[";Ge.arg=oa(n?s:s.slice(1,-1),n,vt(e,t),n?3:0)}},ondirmodifier(e,t){const s=Vt(e,t);if(xn&&!p2(Ge))Ge.name+="."+s,oi(Ge.nameLoc,t);else if(Ge.name==="slot"){const n=Ge.arg;n&&(n.content+="."+s,oi(n.loc,t))}else{const n=Ue(s,!0,vt(e,t));Ge.modifiers.push(n)}},onattribdata(e,t){rs+=Vt(e,t),pn<0&&(pn=e),ri=t},onattribentity(e,t,s){rs+=e,pn<0&&(pn=t),ri=s},onattribnameend(e){const t=Ge.loc.start.offset,s=Vt(t,e);Ge.type===7&&(Ge.rawName=s),zt.props.some(n=>(n.type===7?n.rawName:n.name)===s)&&gn(2,t)},onattribend(e,t){if(zt&&Ge){if(oi(Ge.loc,t),e!==0)if(rs.includes("&")&&(rs=Ze.decodeEntities(rs,!0)),Ge.type===6)Ge.name==="class"&&(rs=w2(rs).trim()),e===1&&!rs&&gn(13,t),Ge.value={type:2,content:rs,loc:e===1?vt(pn,ri):vt(pn-1,ri+1)},ht.inSFCRoot&&zt.tag==="template"&&Ge.name==="lang"&&rs&&rs!=="html"&&ht.enterRCDATA(Xo("</template"),0);else{let s=0;Ge.exp=oa(rs,!1,vt(pn,ri),0,s),Ge.name==="for"&&(Ge.forParseResult=P6(Ge.exp));let n=-1;Ge.name==="bind"&&(n=Ge.modifiers.findIndex(i=>i.content==="sync"))>-1&&kr("COMPILER_V_BIND_SYNC",Ze,Ge.loc,Ge.arg.loc.source)&&(Ge.name="model",Ge.modifiers.splice(n,1))}(Ge.type!==7||Ge.name!=="pre")&&zt.props.push(Ge)}rs="",pn=ri=-1},oncomment(e,t){Ze.comments&&Jl({type:3,content:Vt(e,t),loc:vt(e-4,t+3)})},onend(){const e=hn.length;for(let t=0;t<lt.length;t++)ra(lt[t],e-1),gn(24,lt[t].loc.start.offset)},oncdata(e,t){lt[0].ns!==0?ia(Vt(e,t),e,t):gn(1,e-9)},onprocessinginstruction(e){(lt[0]?lt[0].ns:Ze.ns)===0&&gn(21,e-1)}}),C2=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,D6=/^\(|\)$/g;function P6(e){const t=e.loc,s=e.content,n=s.match(N6);if(!n)return;const[,i,r]=n,o=(d,h,p=!1)=>{const _=t.start.offset+h,m=_+d.length;return oa(d,!1,vt(_,m),0,p?1:0)},a={source:o(r.trim(),s.indexOf(r,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let l=i.trim().replace(D6,"").trim();const c=i.indexOf(l),u=l.match(C2);if(u){l=l.replace(C2,"").trim();const d=u[1].trim();let h;if(d&&(h=s.indexOf(d,c+l.length),a.key=o(d,h,!0)),u[2]){const p=u[2].trim();p&&(a.index=o(p,s.indexOf(p,a.key?h+d.length:c+l.length),!0))}}return l&&(a.value=o(l,c,!0)),a}function Vt(e,t){return hn.slice(e,t)}function y2(e){ht.inSFCRoot&&(zt.innerLoc=vt(e+1,e+1)),Jl(zt);const{tag:t,ns:s}=zt;s===0&&Ze.isPreTag(t)&&Ql++,Ze.isVoidTag(t)?ra(zt,e):(lt.unshift(zt),(s===1||s===2)&&(ht.inXML=!0)),zt=null}function ia(e,t,s){{const r=lt[0]&&lt[0].tag;r!=="script"&&r!=="style"&&e.includes("&")&&(e=Ze.decodeEntities(e,!1))}const n=lt[0]||Nr,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,oi(i.loc,s)):n.children.push({type:2,content:e,loc:vt(t,s)})}function ra(e,t,s=!1){s?oi(e.loc,S2(t,60)):oi(e.loc,V6(t,62)+1),ht.inSFCRoot&&(e.children.length?e.innerLoc.end=Ve({},e.children[e.children.length-1].loc.end):e.innerLoc.end=Ve({},e.innerLoc.start),e.innerLoc.source=Vt(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:r}=e;if(xn||(n==="slot"?e.tagType=2:T2(e)?e.tagType=3:F6(e)&&(e.tagType=1)),ht.inRCDATA||(e.children=I2(r)),i===0&&Ze.isIgnoreNewlineTag(n)){const o=r[0];o&&o.type===2&&(o.content=o.content.replace(/^\r?\n/,""))}i===0&&Ze.isPreTag(n)&&Ql--,Yl===e&&(xn=ht.inVPre=!1,Yl=null),ht.inXML&&(lt[0]?lt[0].ns:Ze.ns)===0&&(ht.inXML=!1);{const o=e.props;if(!ht.inSFCRoot&&ni("COMPILER_NATIVE_TEMPLATE",Ze)&&e.tag==="template"&&!T2(e)){const l=lt[0]||Nr,c=l.children.indexOf(e);l.children.splice(c,1,...e.children)}const a=o.find(l=>l.type===6&&l.name==="inline-template");a&&kr("COMPILER_INLINE_TEMPLATE",Ze,a.loc)&&e.children.length&&(a.value={type:2,content:Vt(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:a.loc})}}function V6(e,t){let s=e;for(;hn.charCodeAt(s)!==t&&s<hn.length-1;)s++;return s}function S2(e,t){let s=e;for(;hn.charCodeAt(s)!==t&&s>=0;)s--;return s}const $6=new Set(["if","else","else-if","for","slot"]);function T2({tag:e,props:t}){if(e==="template"){for(let s=0;s<t.length;s++)if(t[s].type===7&&$6.has(t[s].name))return!0}return!1}function F6({tag:e,props:t}){if(Ze.isCustomElement(e))return!1;if(e==="component"||H6(e.charCodeAt(0))||u2(e)||Ze.isBuiltInComponent&&Ze.isBuiltInComponent(e)||Ze.isNativeTag&&!Ze.isNativeTag(e))return!0;for(let s=0;s<t.length;s++){const n=t[s];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(kr("COMPILER_IS_ON_ELEMENT",Ze,n.loc))return!0}}else if(n.name==="bind"&&ii(n.arg,"is")&&kr("COMPILER_IS_ON_ELEMENT",Ze,n.loc))return!0}return!1}function H6(e){return e>64&&e<91}const G6=/\r\n/g;function I2(e){const t=Ze.whitespace!=="preserve";let s=!1;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===2)if(Ql)i.content=i.content.replace(G6,`
324
+ `);else if(m2(i.content)){const r=e[n-1]&&e[n-1].type,o=e[n+1]&&e[n+1].type;!r||!o||t&&(r===3&&(o===3||o===1)||r===1&&(o===3||o===1&&B6(i.content)))?(s=!0,e[n]=null):i.content=" "}else t&&(i.content=w2(i.content))}return s?e.filter(Boolean):e}function B6(e){for(let t=0;t<e.length;t++){const s=e.charCodeAt(t);if(s===10||s===13)return!0}return!1}function w2(e){let t="",s=!1;for(let n=0;n<e.length;n++)us(e.charCodeAt(n))?s||(t+=" ",s=!0):(t+=e[n],s=!1);return t}function Jl(e){(lt[0]||Nr).children.push(e)}function vt(e,t){return{start:ht.getPos(e),end:t==null?t:ht.getPos(t),source:t==null?t:Vt(e,t)}}function j6(e){return vt(e.start.offset,e.end.offset)}function oi(e,t){e.end=ht.getPos(t),e.source=Vt(e.start.offset,t)}function K6(e){const t={type:6,name:e.rawName,nameLoc:vt(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const s=e.exp.loc;s.end.offset<e.loc.end.offset&&(s.start.offset--,s.start.column--,s.end.offset++,s.end.column++),t.value={type:2,content:e.exp.content,loc:s}}return t}function oa(e,t=!1,s,n=0,i=0){return Ue(e,t,s,n)}function gn(e,t,s){Ze.onError(rt(e,vt(t,t)))}function z6(){ht.reset(),zt=null,Ge=null,rs="",pn=-1,ri=-1,lt.length=0}function q6(e,t){if(z6(),hn=e,Ze=Ve({},v2),t){let i;for(i in t)t[i]!=null&&(Ze[i]=t[i])}ht.mode=Ze.parseMode==="html"?1:Ze.parseMode==="sfc"?2:0,ht.inXML=Ze.ns===1||Ze.ns===2;const s=t&&t.delimiters;s&&(ht.delimiterOpen=Xo(s[0]),ht.delimiterClose=Xo(s[1]));const n=Nr=S6([],e);return ht.parse(hn),n.loc=vt(0,e.length),n.children=I2(n.children),Nr=null,n}function Z6(e,t){aa(e,void 0,t,!!R2(e))}function R2(e){const t=e.children.filter(s=>s.type!==3);return t.length===1&&t[0].type===1&&!sa(t[0])?t[0]:null}function aa(e,t,s,n=!1,i=!1){const{children:r}=e,o=[];for(let u=0;u<r.length;u++){const d=r[u];if(d.type===1&&d.tagType===0){const h=n?0:ds(d,s);if(h>0){if(h>=2){d.codegenNode.patchFlag=-1,o.push(d);continue}}else{const p=d.codegenNode;if(p.type===13){const _=p.patchFlag;if((_===void 0||_===512||_===1)&&O2(d,s)>=2){const m=b2(d);m&&(p.props=s.hoist(m))}p.dynamicProps&&(p.dynamicProps=s.hoist(p.dynamicProps))}}}else if(d.type===12&&(n?0:ds(d,s))>=2){d.codegenNode.type===14&&d.codegenNode.arguments.length>0&&d.codegenNode.arguments.push("-1"),o.push(d);continue}if(d.type===1){const h=d.tagType===1;h&&s.scopes.vSlot++,aa(d,e,s,!1,i),h&&s.scopes.vSlot--}else if(d.type===11)aa(d,e,s,d.children.length===1,!0);else if(d.type===9)for(let h=0;h<d.branches.length;h++)aa(d.branches[h],e,s,d.branches[h].children.length===1,i)}let a=!1;if(o.length===r.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&he(e.codegenNode.children))e.codegenNode.children=l(si(e.codegenNode.children)),a=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!he(e.codegenNode.children)&&e.codegenNode.children.type===15){const u=c(e.codegenNode,"default");u&&(u.returns=l(si(u.returns)),a=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!he(t.codegenNode.children)&&t.codegenNode.children.type===15){const u=ys(e,"slot",!0),d=u&&u.arg&&c(t.codegenNode,u.arg);d&&(d.returns=l(si(d.returns)),a=!0)}}if(!a)for(const u of o)u.codegenNode=s.cache(u.codegenNode);function l(u){const d=s.cache(u);return d.needArraySpread=!0,d}function c(u,d){if(u.children&&!he(u.children)&&u.children.type===15){const h=u.children.properties.find(p=>p.key===d||p.key.content===d);return h&&h.value}}o.length&&s.transformHoist&&s.transformHoist(r,s,e)}function ds(e,t){const{constantCache:s}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=s.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let o=3;const a=O2(e,t);if(a===0)return s.set(e,0),0;a<o&&(o=a);for(let l=0;l<e.children.length;l++){const c=ds(e.children[l],t);if(c===0)return s.set(e,0),0;c<o&&(o=c)}if(o>1)for(let l=0;l<e.props.length;l++){const c=e.props[l];if(c.type===7&&c.name==="bind"&&c.exp){const u=ds(c.exp,t);if(u===0)return s.set(e,0),0;u<o&&(o=u)}}if(i.isBlock){for(let l=0;l<e.props.length;l++)if(e.props[l].type===7)return s.set(e,0),0;t.removeHelper(ti),t.removeHelper(Gi(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(Hi(t.inSSR,i.isComponent))}return s.set(e,o),o}else return s.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return ds(e.content,t);case 4:return e.constType;case 8:let r=3;for(let o=0;o<e.children.length;o++){const a=e.children[o];if(be(a)||Xt(a))continue;const l=ds(a,t);if(l===0)return 0;l<r&&(r=l)}return r;case 20:return 2;default:return 0}}const W6=new Set([Pl,Vl,Lr,Ar]);function M2(e,t){if(e.type===14&&!be(e.callee)&&W6.has(e.callee)){const s=e.arguments[0];if(s.type===4)return ds(s,t);if(s.type===14)return M2(s,t)}return 0}function O2(e,t){let s=3;const n=b2(e);if(n&&n.type===15){const{properties:i}=n;for(let r=0;r<i.length;r++){const{key:o,value:a}=i[r],l=ds(o,t);if(l===0)return l;l<s&&(s=l);let c;if(a.type===4?c=ds(a,t):a.type===14?c=M2(a,t):c=0,c===0)return c;c<s&&(s=c)}}return s}function b2(e){const t=e.codegenNode;if(t.type===13)return t.props}function Q6(e,{filename:t="",prefixIdentifiers:s=!1,hoistStatic:n=!1,hmr:i=!1,cacheHandlers:r=!1,nodeTransforms:o=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=kt,isCustomElement:u=kt,expressionPlugins:d=[],scopeId:h=null,slotted:p=!0,ssr:_=!1,inSSR:m=!1,ssrCssVars:L="",bindingMetadata:M=Fe,inline:E=!1,isTS:g=!1,onError:v=zl,onWarn:C=c2,compatConfig:b}){const $=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),F={filename:t,selfName:$&&Bn(Ye($[1])),prefixIdentifiers:s,hoistStatic:n,hmr:i,cacheHandlers:r,nodeTransforms:o,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:h,slotted:p,ssr:_,inSSR:m,ssrCssVars:L,bindingMetadata:M,inline:E,isTS:g,onError:v,onWarn:C,compatConfig:b,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(A){const U=F.helpers.get(A)||0;return F.helpers.set(A,U+1),A},removeHelper(A){const U=F.helpers.get(A);if(U){const O=U-1;O?F.helpers.set(A,O):F.helpers.delete(A)}},helperString(A){return`_${$i[F.helper(A)]}`},replaceNode(A){F.parent.children[F.childIndex]=F.currentNode=A},removeNode(A){const U=F.parent.children,O=A?U.indexOf(A):F.currentNode?F.childIndex:-1;!A||A===F.currentNode?(F.currentNode=null,F.onNodeRemoved()):F.childIndex>O&&(F.childIndex--,F.onNodeRemoved()),F.parent.children.splice(O,1)},onNodeRemoved:kt,addIdentifiers(A){},removeIdentifiers(A){},hoist(A){be(A)&&(A=Ue(A)),F.hoists.push(A);const U=Ue(`_hoisted_${F.hoists.length}`,!1,A.loc,2);return U.hoisted=A,U},cache(A,U=!1,O=!1){const T=T6(F.cached.length,A,U,O);return F.cached.push(T),T}};return F.filters=new Set,F}function Y6(e,t){const s=Q6(e,t);la(e,s),t.hoistStatic&&Z6(e,s),t.ssr||J6(e,s),e.helpers=new Set([...s.helpers.keys()]),e.components=[...s.components],e.directives=[...s.directives],e.imports=s.imports,e.hoists=s.hoists,e.temps=s.temps,e.cached=s.cached,e.transformed=!0,e.filters=[...s.filters]}function J6(e,t){const{helper:s}=t,{children:n}=e;if(n.length===1){const i=R2(e);if(i&&i.codegenNode){const r=i.codegenNode;r.type===13&&Kl(r,t),e.codegenNode=r}else e.codegenNode=n[0]}else if(n.length>1){let i=64;e.codegenNode=xr(t,s(Mr),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function X6(e,t){let s=0;const n=()=>{s--};for(;s<e.children.length;s++){const i=e.children[s];be(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=s,t.onNodeRemoved=n,la(i,t))}}function la(e,t){t.currentNode=e;const{nodeTransforms:s}=t,n=[];for(let r=0;r<s.length;r++){const o=s[r](e,t);if(o&&(he(o)?n.push(...o):n.push(o)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(br);break;case 5:t.ssr||t.helper(Qo);break;case 9:for(let r=0;r<e.branches.length;r++)la(e.branches[r],t);break;case 10:case 11:case 1:case 0:X6(e,t);break}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function L2(e,t){const s=be(e)?n=>n===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:r}=n;if(n.tagType===3&&r.some(x6))return;const o=[];for(let a=0;a<r.length;a++){const l=r[a];if(l.type===7&&s(l.name)){r.splice(a,1),a--;const c=t(n,l,i);c&&o.push(c)}}return o}}}const ca="/*@__PURE__*/",A2=e=>`${$i[e]}: _${$i[e]}`;function eg(e,{mode:t="function",prefixIdentifiers:s=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:r=null,optimizeImports:o=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:u=!1,isTS:d=!1,inSSR:h=!1}){const p={mode:t,prefixIdentifiers:s,sourceMap:n,filename:i,scopeId:r,optimizeImports:o,runtimeGlobalName:a,runtimeModuleName:l,ssrRuntimeModuleName:c,ssr:u,isTS:d,inSSR:h,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(m){return`_${$i[m]}`},push(m,L=-2,M){p.code+=m},indent(){_(++p.indentLevel)},deindent(m=!1){m?--p.indentLevel:_(--p.indentLevel)},newline(){_(p.indentLevel)}};function _(m){p.push(`
325
+ `+" ".repeat(m),0)}return p}function tg(e,t={}){const s=eg(e,t);t.onContextCreated&&t.onContextCreated(s);const{mode:n,push:i,prefixIdentifiers:r,indent:o,deindent:a,newline:l,scopeId:c,ssr:u}=s,d=Array.from(e.helpers),h=d.length>0,p=!r&&n!=="module";sg(e,s);const m=u?"ssrRender":"render",M=(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${m}(${M}) {`),o(),p&&(i("with (_ctx) {"),o(),h&&(i(`const { ${d.map(A2).join(", ")} } = _Vue
326
+ `,-1),l())),e.components.length&&(Xl(e.components,"component",s),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(Xl(e.directives,"directive",s),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),Xl(e.filters,"filter",s),l()),e.temps>0){i("let ");for(let E=0;E<e.temps;E++)i(`${E>0?", ":""}_temp${E}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
327
+ `,0),l()),u||i("return "),e.codegenNode?qt(e.codegenNode,s):i("null"),p&&(a(),i("}")),a(),i("}"),{ast:e,code:s.code,preamble:"",map:s.map?s.map.toJSON():void 0}}function sg(e,t){const{ssr:s,prefixIdentifiers:n,push:i,newline:r,runtimeModuleName:o,runtimeGlobalName:a,ssrRuntimeModuleName:l}=t,c=a,u=Array.from(e.helpers);if(u.length>0&&(i(`const _Vue = ${c}
328
+ `,-1),e.hoists.length)){const d=[Ol,bl,br,Ll,t2].filter(h=>u.includes(h)).map(A2).join(", ");i(`const { ${d} } = _Vue
329
+ `,-1)}ng(e.hoists,t),r(),i("return ")}function Xl(e,t,{helper:s,push:n,newline:i,isTS:r}){const o=s(t==="filter"?Ul:t==="component"?Al:kl);for(let a=0;a<e.length;a++){let l=e[a];const c=l.endsWith("__self");c&&(l=l.slice(0,-6)),n(`const ${Ur(l,t)} = ${o}(${JSON.stringify(l)}${c?", true":""})${r?"!":""}`),a<e.length-1&&i()}}function ng(e,t){if(!e.length)return;t.pure=!0;const{push:s,newline:n}=t;n();for(let i=0;i<e.length;i++){const r=e[i];r&&(s(`const _hoisted_${i+1} = `),qt(r,t),n())}t.pure=!1}function ec(e,t){const s=e.length>3||!1;t.push("["),s&&t.indent(),Dr(e,t,s),s&&t.deindent(),t.push("]")}function Dr(e,t,s=!1,n=!0){const{push:i,newline:r}=t;for(let o=0;o<e.length;o++){const a=e[o];be(a)?i(a,-3):he(a)?ec(a,t):qt(a,t),o<e.length-1&&(s?(n&&i(","),r()):n&&i(", "))}}function qt(e,t){if(be(e)){t.push(e,-3);return}if(Xt(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:qt(e.codegenNode,t);break;case 2:ig(e,t);break;case 4:x2(e,t);break;case 5:rg(e,t);break;case 12:qt(e.codegenNode,t);break;case 8:k2(e,t);break;case 3:ag(e,t);break;case 13:lg(e,t);break;case 14:ug(e,t);break;case 15:dg(e,t);break;case 17:fg(e,t);break;case 18:hg(e,t);break;case 19:pg(e,t);break;case 20:gg(e,t);break;case 21:Dr(e.body,t,!0,!1);break}}function ig(e,t){t.push(JSON.stringify(e.content),-3,e)}function x2(e,t){const{content:s,isStatic:n}=e;t.push(n?JSON.stringify(s):s,-3,e)}function rg(e,t){const{push:s,helper:n,pure:i}=t;i&&s(ca),s(`${n(Qo)}(`),qt(e.content,t),s(")")}function k2(e,t){for(let s=0;s<e.children.length;s++){const n=e.children[s];be(n)?t.push(n,-3):qt(n,t)}}function og(e,t){const{push:s}=t;if(e.type===8)s("["),k2(e,t),s("]");else if(e.isStatic){const n=ql(e.content)?e.content:JSON.stringify(e.content);s(n,-2,e)}else s(`[${e.content}]`,-3,e)}function ag(e,t){const{push:s,helper:n,pure:i}=t;i&&s(ca),s(`${n(br)}(${JSON.stringify(e.content)})`,-3,e)}function lg(e,t){const{push:s,helper:n,pure:i}=t,{tag:r,props:o,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:h,isComponent:p}=e;let _;l&&(_=String(l)),u&&s(n(Nl)+"("),d&&s(`(${n(ti)}(${h?"true":""}), `),i&&s(ca);const m=d?Gi(t.inSSR,p):Hi(t.inSSR,p);s(n(m)+"(",-2,e),Dr(cg([r,o,a,_,c]),t),s(")"),d&&s(")"),u&&(s(", "),qt(u,t),s(")"))}function cg(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(s=>s||"null")}function ug(e,t){const{push:s,helper:n,pure:i}=t,r=be(e.callee)?e.callee:n(e.callee);i&&s(ca),s(r+"(",-2,e),Dr(e.arguments,t),s(")")}function dg(e,t){const{push:s,indent:n,deindent:i,newline:r}=t,{properties:o}=e;if(!o.length){s("{}",-2,e);return}const a=o.length>1||!1;s(a?"{":"{ "),a&&n();for(let l=0;l<o.length;l++){const{key:c,value:u}=o[l];og(c,t),s(": "),qt(u,t),l<o.length-1&&(s(","),r())}a&&i(),s(a?"}":" }")}function fg(e,t){ec(e.elements,t)}function hg(e,t){const{push:s,indent:n,deindent:i}=t,{params:r,returns:o,body:a,newline:l,isSlot:c}=e;c&&s(`_${$i[Gl]}(`),s("(",-2,e),he(r)?Dr(r,t):r&&qt(r,t),s(") => "),(l||a)&&(s("{"),n()),o?(l&&s("return "),he(o)?ec(o,t):qt(o,t)):a&&qt(a,t),(l||a)&&(i(),s("}")),c&&(e.isNonScopedSlot&&s(", undefined, true"),s(")"))}function pg(e,t){const{test:s,consequent:n,alternate:i,newline:r}=e,{push:o,indent:a,deindent:l,newline:c}=t;if(s.type===4){const d=!ql(s.content);d&&o("("),x2(s,t),d&&o(")")}else o("("),qt(s,t),o(")");r&&a(),t.indentLevel++,r||o(" "),o("? "),qt(n,t),t.indentLevel--,r&&c(),r||o(" "),o(": ");const u=i.type===19;u||t.indentLevel++,qt(i,t),u||t.indentLevel--,r&&l(!0)}function gg(e,t){const{push:s,helper:n,indent:i,deindent:r,newline:o}=t,{needPauseTracking:a,needArraySpread:l}=e;l&&s("[...("),s(`_cache[${e.index}] || (`),a&&(i(),s(`${n(Jo)}(-1`),e.inVOnce&&s(", true"),s("),"),o(),s("(")),s(`_cache[${e.index}] = `),qt(e.value,t),a&&(s(`).cacheIndex = ${e.index},`),o(),s(`${n(Jo)}(1),`),o(),s(`_cache[${e.index}]`),r()),s(")"),l&&s(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const _g=L2(/^(?:if|else|else-if)$/,(e,t,s)=>mg(e,t,s,(n,i,r)=>{const o=s.parent.children;let a=o.indexOf(n),l=0;for(;a-->=0;){const c=o[a];c&&c.type===9&&(l+=c.branches.length)}return()=>{if(r)n.codegenNode=N2(i,l,s);else{const c=Eg(n.codegenNode);c.alternate=N2(i,l+n.branches.length-1,s)}}}));function mg(e,t,s,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;s.onError(rt(28,t.loc)),t.exp=Ue("true",!1,i)}if(t.name==="if"){const i=U2(e,t),r={type:9,loc:j6(e.loc),branches:[i]};if(s.replaceNode(r),n)return n(r,i,!0)}else{const i=s.parent.children;let r=i.indexOf(e);for(;r-->=-1;){const o=i[r];if(o&&E2(o)){s.removeNode(o);continue}if(o&&o.type===9){(t.name==="else-if"||t.name==="else")&&o.branches[o.branches.length-1].condition===void 0&&s.onError(rt(30,e.loc)),s.removeNode();const a=U2(e,t);o.branches.push(a);const l=n&&n(o,a,!1);la(a,s),l&&l(),s.currentNode=null}else s.onError(rt(30,e.loc));break}}}function U2(e,t){const s=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:s&&!ys(e,"for")?e.children:[e],userKey:ea(e,"key"),isTemplateIf:s}}function N2(e,t,s){return e.condition?jl(e.condition,D2(e,t,s),bt(s.helper(br),['""',"true"])):D2(e,t,s)}function D2(e,t,s){const{helper:n}=s,i=It("key",Ue(`${t}`,!1,cs,2)),{children:r}=e,o=r[0];if(r.length!==1||o.type!==1)if(r.length===1&&o.type===11){const l=o.codegenNode;return na(l,i,s),l}else{let l=64;return xr(s,n(Mr),Cs([i]),r,l,void 0,void 0,!0,!1,!1,e.loc)}else{const l=o.codegenNode,c=U6(l);return c.type===13&&Kl(c,s),na(c,i,s),l}}function Eg(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const vg=L2("for",(e,t,s)=>{const{helper:n,removeHelper:i}=s;return Cg(e,t,s,r=>{const o=bt(n(Dl),[r.source]),a=ta(e),l=ys(e,"memo"),c=ea(e,"key",!1,!0);c&&c.type;let u=c&&(c.type===6?c.value?Ue(c.value.content,!0):void 0:c.exp);const d=c&&u?It("key",u):null,h=r.source.type===4&&r.source.constType>0,p=h?64:c?128:256;return r.codegenNode=xr(s,n(Mr),void 0,o,p,void 0,void 0,!0,!h,!1,e.loc),()=>{let _;const{children:m}=r,L=m.length!==1||m[0].type!==1,M=sa(e)?e:a&&e.children.length===1&&sa(e.children[0])?e.children[0]:null;if(M?(_=M.codegenNode,a&&d&&na(_,d,s)):L?_=xr(s,n(Mr),d?Cs([d]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(_=m[0].codegenNode,a&&d&&na(_,d,s),_.isBlock!==!h&&(_.isBlock?(i(ti),i(Gi(s.inSSR,_.isComponent))):i(Hi(s.inSSR,_.isComponent))),_.isBlock=!h,_.isBlock?(n(ti),n(Gi(s.inSSR,_.isComponent))):n(Hi(s.inSSR,_.isComponent))),l){const E=Fi(tc(r.parseResult,[Ue("_cached")]));E.body=I6([Ms(["const _memo = (",l.exp,")"]),Ms(["if (_cached",...u?[" && _cached.key === ",u]:[],` && ${s.helperString(i2)}(_cached, _memo)) return _cached`]),Ms(["const _item = ",_]),Ue("_item.memo = _memo"),Ue("return _item")]),o.arguments.push(E,Ue("_cache"),Ue(String(s.cached.length))),s.cached.push(null)}else o.arguments.push(Fi(tc(r.parseResult),_,!0))}})});function Cg(e,t,s,n){if(!t.exp){s.onError(rt(31,t.loc));return}const i=t.forParseResult;if(!i){s.onError(rt(32,t.loc));return}P2(i);const{addIdentifiers:r,removeIdentifiers:o,scopes:a}=s,{source:l,value:c,key:u,index:d}=i,h={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:i,children:ta(e)?e.children:[e]};s.replaceNode(h),a.vFor++;const p=n&&n(h);return()=>{a.vFor--,p&&p()}}function P2(e,t){e.finalized||(e.finalized=!0)}function tc({value:e,key:t,index:s},n=[]){return yg([e,t,s,...n])}function yg(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((s,n)=>s||Ue("_".repeat(n+1),!1))}const V2=Ue("undefined",!1),Sg=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const s=ys(e,"slot");if(s)return s.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},Tg=(e,t,s,n)=>Fi(e,s,!1,!0,s.length?s[0].loc:n);function Ig(e,t,s=Tg){t.helper(Gl);const{children:n,loc:i}=e,r=[],o=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=ys(e,"slot",!0);if(l){const{arg:L,exp:M}=l;L&&!is(L)&&(a=!0),r.push(It(L||Ue("default",!0),s(M,void 0,n,i)))}let c=!1,u=!1;const d=[],h=new Set;let p=0;for(let L=0;L<n.length;L++){const M=n[L];let E;if(!ta(M)||!(E=ys(M,"slot",!0))){M.type!==3&&d.push(M);continue}if(l){t.onError(rt(37,E.loc));break}c=!0;const{children:g,loc:v}=M,{arg:C=Ue("default",!0),exp:b,loc:$}=E;let F;is(C)?F=C?C.content:"default":a=!0;const A=ys(M,"for"),U=s(b,A,g,v);let O,T;if(O=ys(M,"if"))a=!0,o.push(jl(O.exp,ua(C,U,p++),V2));else if(T=ys(M,/^else(?:-if)?$/,!0)){let D=L,z;for(;D--&&(z=n[D],!!E2(z)););if(z&&ta(z)&&ys(z,/^(?:else-)?if$/)){let ee=o[o.length-1];for(;ee.alternate.type===19;)ee=ee.alternate;ee.alternate=T.exp?jl(T.exp,ua(C,U,p++),V2):ua(C,U,p++)}else t.onError(rt(30,T.loc))}else if(A){a=!0;const D=A.forParseResult;D?(P2(D),o.push(bt(t.helper(Dl),[D.source,Fi(tc(D),ua(C,U),!0)]))):t.onError(rt(32,A.loc))}else{if(F){if(h.has(F)){t.onError(rt(38,$));continue}h.add(F),F==="default"&&(u=!0)}r.push(It(C,U))}}if(!l){const L=(M,E)=>{const g=s(M,void 0,E,i);return t.compatConfig&&(g.isNonScopedSlot=!0),It("default",g)};c?d.length&&!d.every(Wl)&&(u?t.onError(rt(39,d[0].loc)):r.push(L(void 0,d))):r.push(L(void 0,n))}const _=a?2:da(e.children)?3:1;let m=Cs(r.concat(It("_",Ue(_+"",!1))),i);return o.length&&(m=bt(t.helper(n2),[m,si(o)])),{slots:m,hasDynamicSlots:a}}function ua(e,t,s){const n=[It("name",e),It("fn",t)];return s!=null&&n.push(It("key",Ue(String(s),!0))),Cs(n)}function da(e){for(let t=0;t<e.length;t++){const s=e[t];switch(s.type){case 1:if(s.tagType===2||da(s.children))return!0;break;case 9:if(da(s.branches))return!0;break;case 10:case 11:if(da(s.children))return!0;break}}return!1}const $2=new WeakMap,wg=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:i}=e,r=e.tagType===1;let o=r?Rg(e,t):`"${n}"`;const a=Be(o)&&o.callee===xl;let l,c,u=0,d,h,p,_=a||o===Or||o===Ml||!r&&(n==="svg"||n==="foreignObject"||n==="math");if(i.length>0){const m=F2(e,t,void 0,r,a);l=m.props,u=m.patchFlag,h=m.dynamicPropNames;const L=m.directives;p=L&&L.length?si(L.map(M=>Og(M,t))):void 0,m.shouldUseBlock&&(_=!0)}if(e.children.length>0)if(o===Wo&&(_=!0,u|=1024),r&&o!==Or&&o!==Wo){const{slots:L,hasDynamicSlots:M}=Ig(e,t);c=L,M&&(u|=1024)}else if(e.children.length===1&&o!==Or){const L=e.children[0],M=L.type,E=M===5||M===8;E&&ds(L,t)===0&&(u|=1),E||M===2?c=L:c=e.children}else c=e.children;h&&h.length&&(d=bg(h)),e.codegenNode=xr(t,o,l,c,u===0?void 0:u,d,p,!!_,!1,r,e.loc)};function Rg(e,t,s=!1){let{tag:n}=e;const i=sc(n),r=ea(e,"is",!1,!0);if(r)if(i||ni("COMPILER_IS_ON_ELEMENT",t)){let a;if(r.type===6?a=r.value&&Ue(r.value.content,!0):(a=r.exp,a||(a=Ue("is",!1,r.arg.loc))),a)return bt(t.helper(xl),[a])}else r.type===6&&r.value.content.startsWith("vue:")&&(n=r.value.content.slice(4));const o=u2(n)||t.isBuiltInComponent(n);return o?(s||t.helper(o),o):(t.helper(Al),t.components.add(n),Ur(n,"component"))}function F2(e,t,s=e.props,n,i,r=!1){const{tag:o,loc:a,children:l}=e;let c=[];const u=[],d=[],h=l.length>0;let p=!1,_=0,m=!1,L=!1,M=!1,E=!1,g=!1,v=!1;const C=[],b=U=>{c.length&&(u.push(Cs(H2(c),a)),c=[]),U&&u.push(U)},$=()=>{t.scopes.vFor>0&&c.push(It(Ue("ref_for",!0),Ue("true")))},F=({key:U,value:O})=>{if(is(U)){const T=U.content,D=Hn(T);if(D&&(!n||i)&&T.toLowerCase()!=="onclick"&&T!=="onUpdate:modelValue"&&!Ys(T)&&(E=!0),D&&Ys(T)&&(v=!0),D&&O.type===14&&(O=O.arguments[0]),O.type===20||(O.type===4||O.type===8)&&ds(O,t)>0)return;T==="ref"?m=!0:T==="class"?L=!0:T==="style"?M=!0:T!=="key"&&!C.includes(T)&&C.push(T),n&&(T==="class"||T==="style")&&!C.includes(T)&&C.push(T)}else g=!0};for(let U=0;U<s.length;U++){const O=s[U];if(O.type===6){const{loc:T,name:D,nameLoc:z,value:ee}=O;let te=!0;if(D==="ref"&&(m=!0,$()),D==="is"&&(sc(o)||ee&&ee.content.startsWith("vue:")||ni("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(It(Ue(D,!0,z),Ue(ee?ee.content:"",te,ee?ee.loc:T)))}else{const{name:T,arg:D,exp:z,loc:ee,modifiers:te}=O,ne=T==="bind",V=T==="on";if(T==="slot"){n||t.onError(rt(40,ee));continue}if(T==="once"||T==="memo"||T==="is"||ne&&ii(D,"is")&&(sc(o)||ni("COMPILER_IS_ON_ELEMENT",t))||V&&r)continue;if((ne&&ii(D,"key")||V&&h&&ii(D,"vue:before-update"))&&(p=!0),ne&&ii(D,"ref")&&$(),!D&&(ne||V)){if(g=!0,z)if(ne){if(b(),ni("COMPILER_V_BIND_OBJECT_ORDER",t)){u.unshift(z);continue}$(),b(),u.push(z)}else b({type:14,loc:ee,callee:t.helper($l),arguments:n?[z]:[z,"true"]});else t.onError(rt(ne?34:35,ee));continue}ne&&te.some(wt=>wt.content==="prop")&&(_|=32);const Ae=t.directiveTransforms[T];if(Ae){const{props:wt,needRuntime:Qe}=Ae(O,e,t);!r&&wt.forEach(F),V&&D&&!is(D)?b(Cs(wt,a)):c.push(...wt),Qe&&(d.push(O),Xt(Qe)&&$2.set(O,Qe))}else U5(T)||(d.push(O),h&&(p=!0))}}let A;if(u.length?(b(),u.length>1?A=bt(t.helper(Yo),u,a):A=u[0]):c.length&&(A=Cs(H2(c),a)),g?_|=16:(L&&!n&&(_|=2),M&&!n&&(_|=4),C.length&&(_|=8),E&&(_|=32)),!p&&(_===0||_===32)&&(m||v||d.length>0)&&(_|=512),!t.inSSR&&A)switch(A.type){case 15:let U=-1,O=-1,T=!1;for(let ee=0;ee<A.properties.length;ee++){const te=A.properties[ee].key;is(te)?te.content==="class"?U=ee:te.content==="style"&&(O=ee):te.isHandlerKey||(T=!0)}const D=A.properties[U],z=A.properties[O];T?A=bt(t.helper(Lr),[A]):(D&&!is(D.value)&&(D.value=bt(t.helper(Pl),[D.value])),z&&(M||z.value.type===4&&z.value.content.trim()[0]==="["||z.value.type===17)&&(z.value=bt(t.helper(Vl),[z.value])));break;case 14:break;default:A=bt(t.helper(Lr),[bt(t.helper(Ar),[A])]);break}return{props:A,directives:d,patchFlag:_,dynamicPropNames:C,shouldUseBlock:p}}function H2(e){const t=new Map,s=[];for(let n=0;n<e.length;n++){const i=e[n];if(i.key.type===8||!i.key.isStatic){s.push(i);continue}const r=i.key.content,o=t.get(r);o?(r==="style"||r==="class"||Hn(r))&&Mg(o,i):(t.set(r,i),s.push(i))}return s}function Mg(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=si([e.value,t.value],e.loc)}function Og(e,t){const s=[],n=$2.get(e);n?s.push(t.helperString(n)):(t.helper(kl),t.directives.add(e.name),s.push(Ur(e.name,"directive")));const{loc:i}=e;if(e.exp&&s.push(e.exp),e.arg&&(e.exp||s.push("void 0"),s.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||s.push("void 0"),s.push("void 0"));const r=Ue("true",!1,i);s.push(Cs(e.modifiers.map(o=>It(o,r)),i))}return si(s,e.loc)}function bg(e){let t="[";for(let s=0,n=e.length;s<n;s++)t+=JSON.stringify(e[s]),s<n-1&&(t+=", ");return t+"]"}function sc(e){return e==="component"||e==="Component"}const Lg=(e,t)=>{if(sa(e)){const{children:s,loc:n}=e,{slotName:i,slotProps:r}=Ag(e,t),o=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let a=2;r&&(o[2]=r,a=3),s.length&&(o[3]=Fi([],s,!1,!1,n),a=4),t.scopeId&&!t.slotted&&(a=5),o.splice(a),e.codegenNode=bt(t.helper(s2),o,n)}};function Ag(e,t){let s='"default"',n;const i=[];for(let r=0;r<e.props.length;r++){const o=e.props[r];if(o.type===6)o.value&&(o.name==="name"?s=JSON.stringify(o.value.content):(o.name=Ye(o.name),i.push(o)));else if(o.name==="bind"&&ii(o.arg,"name")){if(o.exp)s=o.exp;else if(o.arg&&o.arg.type===4){const a=Ye(o.arg.content);s=o.exp=Ue(a,!1,o.arg.loc)}}else o.name==="bind"&&o.arg&&is(o.arg)&&(o.arg.content=Ye(o.arg.content)),i.push(o)}if(i.length>0){const{props:r,directives:o}=F2(e,t,i,!1,!1);n=r,o.length&&t.onError(rt(36,o[0].loc))}return{slotName:s,slotProps:n}}const G2=(e,t,s,n)=>{const{loc:i,modifiers:r,arg:o}=e;!e.exp&&!r.length&&s.onError(rt(35,i));let a;if(o.type===4)if(o.isStatic){let d=o.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const h=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?Si(Ye(d)):`on:${d}`;a=Ue(h,!0,o.loc)}else a=Ms([`${s.helperString(Hl)}(`,o,")"]);else a=o,a.children.unshift(`${s.helperString(Hl)}(`),a.children.push(")");let l=e.exp;l&&!l.content.trim()&&(l=void 0);let c=s.cacheHandlers&&!l&&!s.inVOnce;if(l){const d=h2(l),h=!(d||L6(l)),p=l.content.includes(";");(h||c&&d)&&(l=Ms([`${h?"$event":"(...args)"} => ${p?"{":"("}`,l,p?"}":")"]))}let u={props:[It(a,l||Ue("() => {}",!1,i))]};return n&&(u=n(u)),c&&(u.props[0].value=s.cache(u.props[0].value)),u.props.forEach(d=>d.key.isHandlerKey=!0),u},xg=(e,t,s)=>{const{modifiers:n,loc:i}=e,r=e.arg;let{exp:o}=e;return o&&o.type===4&&!o.content.trim()&&(o=void 0),r.type!==4?(r.children.unshift("("),r.children.push(') || ""')):r.isStatic||(r.content=r.content?`${r.content} || ""`:'""'),n.some(a=>a.content==="camel")&&(r.type===4?r.isStatic?r.content=Ye(r.content):r.content=`${s.helperString(Fl)}(${r.content})`:(r.children.unshift(`${s.helperString(Fl)}(`),r.children.push(")"))),s.inSSR||(n.some(a=>a.content==="prop")&&B2(r,"."),n.some(a=>a.content==="attr")&&B2(r,"^")),{props:[It(r,o)]}},B2=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},kg=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const s=e.children;let n,i=!1;for(let r=0;r<s.length;r++){const o=s[r];if(Zl(o)){i=!0;for(let a=r+1;a<s.length;a++){const l=s[a];if(Zl(l))n||(n=s[r]=Ms([o],o.loc)),n.children.push(" + ",l),s.splice(a,1),a--;else{n=void 0;break}}}}if(!(!i||s.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(r=>r.type===7&&!t.directiveTransforms[r.name])&&e.tag!=="template")))for(let r=0;r<s.length;r++){const o=s[r];if(Zl(o)||o.type===8){const a=[];(o.type!==2||o.content!==" ")&&a.push(o),!t.ssr&&ds(o,t)===0&&a.push("1"),s[r]={type:12,content:o,loc:o.loc,codegenNode:bt(t.helper(Ll),a)}}}}},j2=new WeakSet,Ug=(e,t)=>{if(e.type===1&&ys(e,"once",!0))return j2.has(e)||t.inVOnce||t.inSSR?void 0:(j2.add(e),t.inVOnce=!0,t.helper(Jo),()=>{t.inVOnce=!1;const s=t.currentNode;s.codegenNode&&(s.codegenNode=t.cache(s.codegenNode,!0,!0))})},K2=(e,t,s)=>{const{exp:n,arg:i}=e;if(!n)return s.onError(rt(41,e.loc)),Pr();const r=n.loc.source.trim(),o=n.type===4?n.content:r,a=s.bindingMetadata[r];if(a==="props"||a==="props-aliased")return s.onError(rt(44,n.loc)),Pr();if(a==="literal-const"||a==="setup-const")return s.onError(rt(45,n.loc)),Pr();if(!o.trim()||!h2(n))return s.onError(rt(42,n.loc)),Pr();const l=i||Ue("modelValue",!0),c=i?is(i)?`onUpdate:${Ye(i.content)}`:Ms(['"onUpdate:" + ',i]):"onUpdate:modelValue";let u;const d=s.isTS?"($event: any)":"$event";u=Ms([`${d} => ((`,n,") = $event)"]);const h=[It(l,e.exp),It(c,u)];if(e.modifiers.length&&t.tagType===1){const p=e.modifiers.map(m=>m.content).map(m=>(ql(m)?m:JSON.stringify(m))+": true").join(", "),_=i?is(i)?`${i.content}Modifiers`:Ms([i,' + "Modifiers"']):"modelModifiers";h.push(It(_,Ue(`{ ${p} }`,!1,e.loc,2)))}return Pr(h)};function Pr(e=[]){return{props:e}}const Ng=/[\w).+\-_$\]]/,Dg=(e,t)=>{ni("COMPILER_FILTERS",t)&&(e.type===5?fa(e.content,t):e.type===1&&e.props.forEach(s=>{s.type===7&&s.name!=="for"&&s.exp&&fa(s.exp,t)}))};function fa(e,t){if(e.type===4)z2(e,t);else for(let s=0;s<e.children.length;s++){const n=e.children[s];typeof n=="object"&&(n.type===4?z2(n,t):n.type===8?fa(e,t):n.type===5&&fa(n.content,t))}}function z2(e,t){const s=e.content;let n=!1,i=!1,r=!1,o=!1,a=0,l=0,c=0,u=0,d,h,p,_,m=[];for(p=0;p<s.length;p++)if(h=d,d=s.charCodeAt(p),n)d===39&&h!==92&&(n=!1);else if(i)d===34&&h!==92&&(i=!1);else if(r)d===96&&h!==92&&(r=!1);else if(o)d===47&&h!==92&&(o=!1);else if(d===124&&s.charCodeAt(p+1)!==124&&s.charCodeAt(p-1)!==124&&!a&&!l&&!c)_===void 0?(u=p+1,_=s.slice(0,p).trim()):L();else{switch(d){case 34:i=!0;break;case 39:n=!0;break;case 96:r=!0;break;case 40:c++;break;case 41:c--;break;case 91:l++;break;case 93:l--;break;case 123:a++;break;case 125:a--;break}if(d===47){let M=p-1,E;for(;M>=0&&(E=s.charAt(M),E===" ");M--);(!E||!Ng.test(E))&&(o=!0)}}_===void 0?_=s.slice(0,p).trim():u!==0&&L();function L(){m.push(s.slice(u,p).trim()),u=p+1}if(m.length){for(p=0;p<m.length;p++)_=Pg(_,m[p],t);e.content=_,e.ast=void 0}}function Pg(e,t,s){s.helper(Ul);const n=t.indexOf("(");if(n<0)return s.filters.add(t),`${Ur(t,"filter")}(${e})`;{const i=t.slice(0,n),r=t.slice(n+1);return s.filters.add(i),`${Ur(i,"filter")}(${e}${r!==")"?","+r:r}`}}const q2=new WeakSet,Vg=(e,t)=>{if(e.type===1){const s=ys(e,"memo");return!s||q2.has(e)||t.inSSR?void 0:(q2.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&Kl(n,t),e.codegenNode=bt(t.helper(Bl),[s.exp,Fi(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}},$g=(e,t)=>{if(e.type===1){for(const s of e.props)if(s.type===7&&s.name==="bind"&&(!s.exp||s.exp.type===4&&!s.exp.content.trim())&&s.arg){const n=s.arg;if(n.type!==4||!n.isStatic)t.onError(rt(53,n.loc)),s.exp=Ue("",!0,n.loc);else{const i=Ye(n.content);(d2.test(i[0])||i[0]==="-")&&(s.exp=Ue(i,!1,n.loc))}}}};function Fg(e){return[[$g,Ug,_g,Vg,vg,Dg,Lg,wg,Sg,kg],{on:G2,bind:xg,model:K2}]}function Hg(e,t={}){const s=t.onError||zl,n=t.mode==="module";t.prefixIdentifiers===!0?s(rt(48)):n&&s(rt(49));const i=!1;t.cacheHandlers&&s(rt(50)),t.scopeId&&!n&&s(rt(51));const r=Ve({},t,{prefixIdentifiers:i}),o=be(e)?q6(e,r):e,[a,l]=Fg();return Y6(o,Ve({},r,{nodeTransforms:[...a,...t.nodeTransforms||[]],directiveTransforms:Ve({},l,t.directiveTransforms||{})})),tg(o,r)}const Gg=()=>({props:[]});/**
330
+ * @vue/compiler-dom v3.5.30
331
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
332
+ * @license MIT
333
+ **/const Z2=Symbol(""),W2=Symbol(""),Q2=Symbol(""),Y2=Symbol(""),nc=Symbol(""),J2=Symbol(""),X2=Symbol(""),e0=Symbol(""),t0=Symbol(""),s0=Symbol("");y6({[Z2]:"vModelRadio",[W2]:"vModelCheckbox",[Q2]:"vModelText",[Y2]:"vModelSelect",[nc]:"vModelDynamic",[J2]:"withModifiers",[X2]:"withKeys",[e0]:"vShow",[t0]:"Transition",[s0]:"TransitionGroup"});let Bi;function Bg(e,t=!1){return Bi||(Bi=document.createElement("div")),t?(Bi.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,Bi.children[0].getAttribute("foo")):(Bi.innerHTML=e,Bi.textContent)}const jg={parseMode:"html",isVoidTag:Q5,isNativeTag:e=>q5(e)||Z5(e)||W5(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:Bg,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return t0;if(e==="TransitionGroup"||e==="transition-group")return s0},getNamespace(e,t,s){let n=t?t.ns:s;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},Kg=e=>{e.type===1&&e.props.forEach((t,s)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[s]={type:7,name:"bind",arg:Ue("style",!0,t.loc),exp:zg(t.value.content,t.loc),modifiers:[],loc:t.loc})})},zg=(e,t)=>{const s=a1(e);return Ue(JSON.stringify(s),!1,t,3)};function kn(e,t){return rt(e,t)}const qg=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(kn(54,i)),t.children.length&&(s.onError(kn(55,i)),t.children.length=0),{props:[It(Ue("innerHTML",!0,i),n||Ue("",!0))]}},Zg=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(kn(56,i)),t.children.length&&(s.onError(kn(57,i)),t.children.length=0),{props:[It(Ue("textContent",!0),n?ds(n,s)>0?n:bt(s.helperString(Qo),[n],i):Ue("",!0))]}},Wg=(e,t,s)=>{const n=K2(e,t,s);if(!n.props.length||t.tagType===1)return n;e.arg&&s.onError(kn(59,e.arg.loc));const{tag:i}=t,r=s.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||r){let o=Q2,a=!1;if(i==="input"||r){const l=ea(t,"type");if(l){if(l.type===7)o=nc;else if(l.value)switch(l.value.content){case"radio":o=Z2;break;case"checkbox":o=W2;break;case"file":a=!0,s.onError(kn(60,e.loc));break}}else A6(t)&&(o=nc)}else i==="select"&&(o=Y2);a||(n.needRuntime=s.helper(o))}else s.onError(kn(58,e.loc));return n.props=n.props.filter(o=>!(o.key.type===4&&o.key.content==="modelValue")),n},Qg=as("passive,once,capture"),Yg=as("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Jg=as("left,right"),n0=as("onkeyup,onkeydown,onkeypress"),Xg=(e,t,s,n)=>{const i=[],r=[],o=[];for(let a=0;a<t.length;a++){const l=t[a].content;l==="native"&&kr("COMPILER_V_ON_NATIVE",s)||Qg(l)?o.push(l):Jg(l)?is(e)?n0(e.content.toLowerCase())?i.push(l):r.push(l):(i.push(l),r.push(l)):Yg(l)?r.push(l):i.push(l)}return{keyModifiers:i,nonKeyModifiers:r,eventOptionModifiers:o}},i0=(e,t)=>is(e)&&e.content.toLowerCase()==="onclick"?Ue(t,!0):e.type!==4?Ms(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,e7=(e,t,s)=>G2(e,t,s,n=>{const{modifiers:i}=e;if(!i.length)return n;let{key:r,value:o}=n.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=Xg(r,i,s,e.loc);if(l.includes("right")&&(r=i0(r,"onContextmenu")),l.includes("middle")&&(r=i0(r,"onMouseup")),l.length&&(o=bt(s.helper(J2),[o,JSON.stringify(l)])),a.length&&(!is(r)||n0(r.content.toLowerCase()))&&(o=bt(s.helper(X2),[o,JSON.stringify(a)])),c.length){const u=c.map(Bn).join("");r=is(r)?Ue(`${r.content}${u}`,!0):Ms(["(",r,`) + "${u}"`])}return{props:[It(r,o)]}}),t7=(e,t,s)=>{const{exp:n,loc:i}=e;return n||s.onError(kn(62,i)),{props:[],needRuntime:s.helper(e0)}},s7=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},n7=[Kg],i7={cloak:Gg,html:qg,text:Zg,model:Wg,on:e7,show:t7};function r7(e,t={}){return Hg(e,Ve({},jg,t,{nodeTransforms:[s7,...n7,...t.nodeTransforms||[]],directiveTransforms:Ve({},i7,t.directiveTransforms||{}),transformHoist:null}))}/**
334
+ * vue v3.5.30
335
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
336
+ * @license MIT
337
+ **/const r0=Object.create(null);function o7(e,t){if(!be(e))if(e.nodeType)e=e.innerHTML;else return kt;const s=P5(e,t),n=r0[s];if(n)return n;if(e[0]==="#"){const a=document.querySelector(e);e=a?a.innerHTML:""}const i=Ve({hoistStatic:!0,onError:void 0,onWarn:kt},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=a=>!!customElements.get(a));const{code:r}=r7(e,i),o=new Function("Vue",r)(g6);return o._rc=!0,r0[s]=o}Ju(o7);const a7=N("ltr"),ai=N("zh_CN");function l7(e){e.addEventListener(Y.LANGUAGE_CHANGE,t=>{ai.value=t.data.lang,a7.value=t.data.direction})}function We(e,...t){return ye(()=>me(e,...t))}function me(e,...t){const s=xs[ai.value].entries[e];return s?t.length===0?s:s.replace(/\{\d+\}/g,(n,i)=>t[parseInt(n.substring(1,n.length-1),10)].toString()):e}function c7(e){return!!xs[ai.value].entries[e]}const u7=["src"],d7={key:0,class:"rc-icon-online"},f7=Te({__name:"icon.ce",props:{url:{type:String,require:!0},online:{type:Boolean,require:!0},width:{type:Number,require:!0},height:{type:Number,require:!0},radius:{type:Number,require:!0}},setup(e){const t=e;return(s,n)=>(w(),P("div",{class:"rc-icon",style:it({width:`${t.width}px`,height:`${t.height}px`,borderRadius:`${t.radius}%`})},[y("img",{class:"author",src:t.url,alt:"icon"},null,8,u7),t.online?(w(),P("span",d7)):ue("",!0)],4))}}),h7=`.author{border:none;margin:0;padding:0;width:100%;height:100%}.rc-icon{font-size:0;overflow:hidden}.rc-icon-online{display:block;width:7px;height:7px;border-radius:50%;background-color:#46db7a;border:.8px solid #FFFFFF;position:absolute;right:0;bottom:5px}
338
+ `,Ie=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},p7=Ie(f7,[["styles",[h7]]]),g7={class:"rc-icon-notification"},_7=["src"],m7=Ie(Te({__name:"icon-notification.ce",setup(e){return(t,s)=>(w(),P("div",g7,[y("img",{src:x(o5),alt:"icon-notification"},null,8,_7)]))}}),[["styles",[`.rc-icon-notification{margin-left:5px;display:flex;align-items:center}
339
+ `]]]),E7={class:"rc-icon-notification"},v7=["src"],C7=Ie(Te({__name:"icon-top.ce",setup(e){return(t,s)=>(w(),P("div",E7,[y("img",{src:x(a5),alt:"icon-notification"},null,8,v7)]))}}),[["styles",[`.rc-icon-notification{margin-left:5px;display:flex;align-items:center}
340
+ `]]]),y7={class:"rc-conversation-label"},S7=Ie(Te({__name:"conversation-label.ce",props:{name:{type:String}},setup(e){const t=e;return(s,n)=>(w(),P("div",y7,oe(t.name),1))}}),[["styles",[`.rc-conversation-label{color:#41464f;font-weight:400;font-size:14px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}
341
+ `]]]),T7={class:"rc-conversation-latest-message"},I7={class:"content content-webkit-display content-moz-display"},w7=Ie(Te({__name:"conversation-latest-message.ce",props:{message:{type:String,required:!0}},setup(e){const t=e;return(s,n)=>(w(),P("div",T7,[y("span",I7,oe(t.message),1)]))}}),[["styles",[`.rc-conversation-latest-message{color:#7c838e;font-weight:400;font-size:12px;display:flex}.content-moz-display{display:-moz-box;-moz-line-clamp:1!important;-moz-box-orient:vertical}.content-webkit-display{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical}.content{overflow:hidden;text-overflow:ellipsis;flex:1;line-height:18px;word-break:break-all;word-wrap:break-word}
342
+ `]]]),R7={class:"rc-kit-conversation-unread"},M7=Ie(Te({__name:"conversation-unread.ce",props:{count:{type:Number,require:!0,default:0},notification:{type:Number,require:!0,default:-1},markunread:{type:Boolean,require:!0,default:!1}},setup(e){const t=e,s=()=>t.count>99?"99+":t.count>0?t.count:1;return(n,i)=>(w(),P("div",R7,[t.count||t.markunread?(w(),P("div",{key:0,class:Je([{active:t.notification==5},"unread-box"])},[y("span",{class:Je([{active:t.count>99},"message-count"])},oe(s()),3)],2)):ue("",!0)]))}}),[["styles",[`.rc-kit-conversation-unread{display:flex;align-items:center;justify-content:center;margin-top:4px}.unread-box{background-color:#ff5a50;font-size:10px;color:#fff;border-radius:12px;text-align:center}.unread-box.active{background-color:#e4e8ef;color:#41464f}.message-count{display:block;line-height:16px;min-width:16px;height:16px}.message-count.active{padding:0 5px}
343
+ `]]]),O7={class:"rc-conversation-list-item-avatar"},b7={class:"conversation-info"},L7={class:"info-block",style:{"align-items":"center"}},A7={style:{"max-width":"50%"}},x7={class:"rc-time-icon-container"},k7=["src"],U7={class:"info-block"},N7={key:0,class:"rc-kit-conversation-draft"},D7={class:"draft"},P7={key:1,class:"rc-kit-conversation-group"},V7={key:0,class:"mentioned"},$7={key:1},F7=Ie(Te({__name:"conversation-list-item.ce",props:{message:{type:String},time:{type:String},conversation:{type:Object},statusEnable:{type:[Boolean,null]},name:{type:String},draft:{type:[Boolean,null]},selected:{type:[Boolean,null]},rightClicked:{type:[Boolean,null]}},emits:["menu-click"],setup(e,{emit:t}){const s=e,n=t,i=L=>{n("menu-click",L),r.value=!0};let r=N(!1);const o=ye(()=>s.rightClicked&&r.value),a=Se(),l=a.conversationItem.conversationItemCfg,c=ye(()=>{const L=l,M={};return L.radius!==void 0&&(M.borderRadius=`${L.radius}px`),M["--rc-item-selected-bg"]=Vn(L.activeBackgroundColor),M["--rc-item-top-bg"]=Vn(L.topBackgroundColor),M["--rc-item-hover-bg"]=s.selected?M["--rc-item-selected-bg"]:Vn(L.hoverBackgroundColor),M}),u=ye(()=>l.portraitSize==="small"?32:40),d=We("conv.mentioned.me.msg"),h=We("conv.draft.msg"),p=ye(()=>{var L,M;return((L=s.conversation.latestMessage)==null?void 0:L.sentStatus)===j.SentStatus.FAILED||((M=s.conversation.latestMessage)==null?void 0:M.sentStatus)===j.SentStatus.SENDING}),_=ye(()=>a.store.getCommandSwitch(xt.SHOW_MESSAGE_STATE)&&a.readReceiptVersion===j.GroupReadReceiptVersion.V5&&!p.value?s.conversation.conversationType!==j.ConversationType.GROUP:!0),m=ye(()=>!s.statusEnable||!_.value||!s.conversation.latestMessage||s.draft?!1:p.value?!0:!s.conversation.unreadCount&&!s.conversation.markUnread);return(L,M)=>{const E=ve("rc-icon"),g=ve("rc-conversation-label"),v=ve("rc-icon-top"),C=ve("rc-icon-notification"),b=ve("rc-conversation-time"),$=ve("rc-message-sent-status"),F=ve("rc-conversation-latest-message"),A=ve("rc-conversation-unread");return w(),P("div",{class:Je(["rc-conversation-list-item",{"active-top":s.conversation.isTop,"active-selected":s.selected&&!s.rightClicked,"active-right-clicked":s.rightClicked}]),style:it(c.value)},[y("div",O7,[Re(E,{class:"rc-icon",width:u.value,height:u.value,radius:50,url:s.conversation.portraitUri,online:s.conversation.online},null,8,["width","height","url","online"])]),y("div",b7,[y("div",L7,[y("div",A7,[Re(g,{name:s.conversation.name},null,8,["name"])]),s.conversation.isTop?(w(),Le(v,{key:0})):ue("",!0),s.conversation.notificationLevel===5?(w(),Le(C,{key:1})):ue("",!0),y("div",x7,[Re(b,{class:"rc-conversation-time",time:s.time},null,8,["time"]),y("div",{class:"hover-menu-icon",onClick:vs(i,["stop"])},[y("img",{width:16,height:16,src:o.value?x(jc):x(Bc),alt:"HOVER_MENU_ICON"},null,8,k7)])])]),y("div",U7,[s.draft?(w(),P("div",N7,[y("span",D7,oe(x(h)),1)])):ue("",!0),s.conversation.conversationType===x(j.ConversationType).GROUP&&!s.draft?(w(),P("div",P7,[s.conversation.mentionedType?(w(),P("span",V7,oe(x(d)),1)):ue("",!0),s.name?(w(),P("span",$7,oe(s.name)+": ",1)):ue("",!0)])):ue("",!0),m.value?(w(),Le($,{key:2,class:"rc-message-sent-status",type:1,message:s.conversation.latestMessage},null,8,["message"])):ue("",!0),s.message||e.conversation.draft?(w(),Le(F,{key:3,class:"rc-conversation-latest-message",message:s.draft?e.conversation.draft:s.message,mentioned:s.conversation.mentionedType},null,8,["message","mentioned"])):ue("",!0),m.value?ue("",!0):(w(),Le(A,{key:4,markunread:s.conversation.markUnread,count:s.conversation.unreadCount,notification:s.conversation.notificationLevel},null,8,["markunread","count","notification"]))])])],6)}}}),[["styles",[`.rc-message-sent-status{margin-right:5px;margin-top:2px}.rc-conversation-list-item{display:flex;height:78px;align-items:center;padding:0 14px 0 10px;border-radius:5px;cursor:pointer;margin-top:6px}@media (max-width: 768px){.rc-conversation-list-item{user-select:none;-webkit-user-select:none}}.rc-conversation-list-item-avatar{width:40px;height:40px;display:flex;justify-content:center;align-items:center;flex-shrink:0}.rc-conversation-list-item.active-top{background-color:var(--rc-item-top-bg)}.rc-conversation-list-item.active-selected{background-color:var(--rc-item-selected-bg)}.rc-conversation-list-item.active-right-clicked{background-color:#f1f1f1!important}.rc-conversation-list-item:hover{background-color:var(--rc-item-hover-bg)}.rc-conversation-list-item .conversation-info{margin-left:8px;flex:1 1 auto;overflow:hidden;height:44px}.rc-conversation-list-item .conversation-info .info-block{font-size:12px;display:flex}.rc-conversation-latest-message{flex:1;overflow:hidden;min-height:18px;margin:4px 15px 0 0}.rc-icon{position:relative;font-size:0px}.rc-kit-conversation-group{color:#7c838e;line-height:18px;margin-top:4px}.mentioned{color:#d45f5f;margin-right:5px}.rc-kit-conversation-draft{margin-top:4px}.rc-kit-conversation-draft .draft{color:#d45f5f;margin-right:5px}.rc-time-icon-container{display:flex;justify-content:flex-end;min-width:16px;margin-left:auto}.hover-menu-icon{display:none;cursor:pointer;width:16px;height:16px}@media (min-width: 769px){.rc-conversation-list-item:hover .hover-menu-icon,.rc-conversation-list-item.active-right-clicked .hover-menu-icon{display:block}.rc-conversation-list-item:hover .rc-conversation-time,.rc-conversation-list-item.active-right-clicked .rc-conversation-time{display:none}}
344
+ `]]]),H7={class:"rc-conversation-list-menu-item"},G7=["src"],B7={class:"content"},j7=Ie(Te({__name:"conversation-list-menu-item.ce",props:{id:{type:String},icon:{type:String},label:{type:String}},setup(e){const t=e;return(s,n)=>(w(),P("div",H7,[y("img",{src:t.icon,alt:"Icon"},null,8,G7),y("div",B7,[y("span",null,oe(e.label),1)])]))}}),[["styles",[`.rc-conversation-list-menu-item{display:flex;align-items:center;font-size:12px;padding:5px 6px;border-radius:4px;cursor:pointer}.rc-conversation-list-menu-item:hover{background-color:#d2e1fe}.content{flex:auto;padding-left:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
345
+ `]]]),K7={class:"rc-conversation-time"},z7=Ie(Te({__name:"conversation-time.ce",props:{time:{type:String}},setup(e){const t=e;return(s,n)=>(w(),P("div",K7,[y("span",null,oe(t.time),1)]))}}),[["styles",[`.rc-conversation-time{color:#a1a1a1;font-weight:400;font-size:12px;line-height:19px;flex:1;text-align:right}
346
+ `]]]),q7={class:"rc-conversation-loading"},Z7={class:"content"},W7=Ie(Te({__name:"conversation-loading.ce",setup(e){const t=We("conv.loading.msg");return(s,n)=>(w(),P("div",q7,[y("span",Z7,oe(x(t)),1)]))}}),[["styles",[`.rc-conversation-loading{height:30px}.rc-conversation-loading .content{display:block;text-align:center;line-height:30px}
347
+ `]]]),Q7=["src"],Y7={class:"count"},J7=["src"],X7=Ie(Te({__name:"message-location.ce",props:{count:{type:Number,require:!0},direction:{type:Number,require:!0}},setup(e,{emit:t}){const s=e,n=t;return(i,r)=>(w(),P("div",{class:Je(["rc-kit-location",{top:s.direction===0,bottom:s.direction===1}])},[s.direction===0?(w(),P("div",{key:0,class:"forward-icon",onClick:r[0]||(r[0]=o=>n("location"))},[y("img",{style:{transform:"rotate(180deg)"},src:x(Qc),alt:"TRIANGLE_ICON"},null,8,Q7)])):ue("",!0),y("div",Y7,oe(s.count),1),s.direction===1?(w(),P("div",{key:1,class:"forward-icon",onClick:r[1]||(r[1]=o=>n("location"))},[y("img",{src:x(Qc),alt:"TRIANGLE_ICON"},null,8,J7)])):ue("",!0)],2))}}),[["styles",[`.rc-kit-location{position:absolute;right:16px;background-color:#fff;border-radius:20px}.rc-kit-location.top{top:30px}.rc-kit-location.bottom{bottom:30px}.rc-kit-location div{font-size:16px;line-height:33px;text-align:center;width:33px;height:33px;border-radius:50%;box-sizing:border-box;margin:3px;overflow:hidden}.rc-kit-location .count{color:#fff;background-color:#09f}.rc-kit-location .forward-icon{border:1px solid #0099FF;cursor:pointer;display:flex;align-items:center;justify-content:center}
348
+ `]]]),e9=["cx","cy"],t9=["cx","cy","stroke-width","stroke-dashoffset","transform"],s9=["src"],n9={key:2,class:"rc-kit-read-receipt-tooltip"},i9={class:"rc-kit-tooltip-content"},Un=16,r9=7,o9=1.2,o0=5.2,a9=Ie(Te({__name:"message-sent-status.ce",props:{message:{type:Object},type:{type:Number}},emits:["sent-status-click"],setup(e,{emit:t}){const s=e,n=Se(),i=t,r=ye(()=>n.readReceiptVersion===f.GroupReadReceiptVersion.V5),o=o0/2,a=o0,l=2*Math.PI*o,c=ye(()=>n.readReceiptVersion===f.GroupReadReceiptVersion.V5&&s.message.conversationType===f.ConversationType.GROUP),u=ye(()=>d.value===f.SentStatus.FAILED||c.value),d=ye(()=>{let g=s.message.sentStatus;if(n.readReceiptVersion===f.GroupReadReceiptVersion.V5&&(s.message.conversationType===f.ConversationType.PRIVATE&&s.message.kitReadReceiptInfo&&(g=(s.message.kitReadReceiptInfo.readCount||0)>0?f.SentStatus.READ:f.SentStatus.SENT),s.message.conversationType===f.ConversationType.GROUP&&s.message.kitReadReceiptInfo)){const v=s.message.kitReadReceiptInfo;if(v){const C=v.readCount||0,b=v.unreadCount||0;C===0&&(g=f.SentStatus.SENT),C===C+b&&(g=f.SentStatus.READ)}}return g}),h=g=>{g.stopPropagation(),(d.value===f.SentStatus.FAILED||c.value)&&i("sent-status-click",s.message,g)},p=ye(()=>{if(n.readReceiptVersion!==f.GroupReadReceiptVersion.V5||s.message.conversationType!==f.ConversationType.GROUP||s.message.sentStatus===10||s.message.sentStatus===20)return!1;const g=s.message.kitReadReceiptInfo;if(!g)return!1;const v=g.totalCount||0,C=g.readCount||0,b=g.unreadCount||0;return v>0&&C>0&&C<C+b}),_=ye(()=>{if(!p.value)return 0;const g=s.message.kitReadReceiptInfo;if(!g)return 0;const v=g.totalCount||0,C=g.readCount||0;return v===0?0:C/v}),m=ye(()=>l*(1-_.value)),L=ye(()=>!(n.readReceiptVersion!==f.GroupReadReceiptVersion.V5||s.message.conversationType!==f.ConversationType.GROUP||s.message.sentStatus===10||s.message.sentStatus===20)),M=ye(()=>{if(!L.value)return"";const g=s.message.kitReadReceiptInfo,v=[];if(!g)return v.push(me("message.list.read-receipt.tooltip.all-unread")),v.join(", ");const C=g.readCount||0,b=g.unreadCount||0;return C===0?v.push(me("message.list.read-receipt.tooltip.all-unread")):C===C+b?v.push(me("message.list.read-receipt.tooltip.all-read")):(v.push(me("message.list.read-receipt.tooltip.read-count",C)),v.push(me("message.list.read-receipt.tooltip.unread-count",b))),v.join(", ")}),E=()=>{let g=t1;switch(d.value){case 10:g=s.type?y5:T5;break;case 20:g=e1;break;case 30:g=s.type?t1:S5;break;case 50:g=C5;break}return g};return(g,v)=>r.value?(w(),P("div",{key:0,class:Je(["rc-kit-message-sent-status",{"rc-kit-has-tooltip":L.value}]),onClick:h,style:it({cursor:u.value?"pointer":"default"})},[p.value?(w(),P("svg",{key:0,width:Un,height:Un,class:"rc-kit-read-receipt-pie"},[y("circle",{cx:Un/2,cy:Un/2,r:r9,fill:"none",stroke:"#46DB7A","stroke-width":o9},null,8,e9),_.value>0?(w(),P("circle",{key:0,cx:Un/2,cy:Un/2,r:o,fill:"none",stroke:"#46DB7A","stroke-width":x(a),"stroke-dasharray":l,"stroke-dashoffset":m.value,class:"rc-kit-pie-inner",transform:`rotate(-90 ${Un/2} ${Un/2})`},null,8,t9)):ue("",!0)])):(w(),P("img",{key:1,src:E(),class:Je({"rc-kit-sending":d.value===10}),alt:"status"},null,10,s9)),L.value&&M.value?(w(),P("div",n9,[y("div",i9,oe(M.value),1),v[0]||(v[0]=y("div",{class:"rc-kit-tooltip-arrow"},null,-1))])):ue("",!0)],6)):ue("",!0)}}),[["styles",[`.rc-kit-message-sent-status{display:flex;align-items:center;font-size:0;position:relative;margin-top:4px}.rc-kit-read-receipt-pie{width:16px;height:16px;display:block}.rc-kit-pie-inner{transition:stroke-dashoffset .3s ease}.rc-kit-message-sent-status img{display:inline-block;vertical-align:middle}.rc-kit-message-sent-status img.rc-kit-sending{animation:rc-kit-rotate 1s linear infinite!important;transform-origin:center center;will-change:transform}@keyframes rc-kit-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.rc-kit-read-receipt-tooltip{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);z-index:1000;pointer-events:none;white-space:nowrap;opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease}.rc-kit-has-tooltip:hover .rc-kit-read-receipt-tooltip{opacity:1;visibility:visible}.rc-kit-tooltip-content{background-color:#fff;border-radius:4px;padding:6px 12px;font-size:12px;color:#333;box-shadow:0 2px 8px #00000026;line-height:1.5}.rc-kit-tooltip-arrow{position:absolute;bottom:-5px;left:50%;transform:translate(-50%);width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff}
349
+ `]]]),l9={key:0,class:"nickname"},c9={class:"time"},u9={class:"message-content-wrapper"},d9=["src"],f9=Ie(Te({__name:"message-bubble.ce",props:{showname:{type:[Boolean,null]},align:{type:[Boolean,null]},message:{type:Object},profile:{type:Object},bubbleColorStyle:{type:Object},menuActive:{type:Boolean},isH5:{type:Boolean},isItemHover:{type:Boolean}},emits:["menu-click"],setup(e,{emit:t}){const s=N(!1),n=e,i=t,r=l=>{i("menu-click",l)},o=["time.format.sunday","time.format.monday","time.format.tueday","time.format.wedday","time.format.thurday","time.format.friday","time.format.satday"],a=l=>{const{year:c,month:u,day:d,hour:h,minute:p,weekDay:_}=_i(l),m=new Date,L=new Date(l);if(m.toDateString()===L.toDateString())return`${h}:${p}`;const E=new Date(m);if(E.setDate(E.getDate()-1),E.toDateString()===L.toDateString())return`${me("time.format.yesterday")} ${h}:${p}`;if(m.getFullYear()===L.getFullYear()){const C=new Date(m);return C.setDate(C.getDate()-7),L>C?`${me(o[_])} ${h}:${p}`:`${u}/${d} ${h}:${p}`}return`${c}/${u}/${d}`};return(l,c)=>(w(),P("div",{class:Je(["rc-message-bubble-root",{"rc-message-bubble-align-right":n.align}])},[y("p",{class:Je(["name",{align:n.align}])},[n.showname?(w(),P("span",l9,oe(e.profile.nickname||e.profile.name),1)):ue("",!0),y("span",c9,oe(a(e.message.sentTime)),1)],2),y("div",u9,[y("div",{class:"message-body-wrapper",style:it(e.bubbleColorStyle)},[ln(l.$slots,"default")],4),n.isH5?ue("",!0):(w(),P("div",{key:0,class:Je(["hover-menu-icon",{"hover-menu-icon-active":n.menuActive||n.isItemHover}]),onClick:vs(r,["stop"]),onMouseenter:c[0]||(c[0]=u=>s.value=!0),onMouseleave:c[1]||(c[1]=u=>s.value=!1)},[y("img",{width:16,height:16,src:n.menuActive||s.value?x(jc):x(Bc),alt:"HOVER_MENU_ICON"},null,8,d9)],34))])],2))}}),[["styles",[`.rc-message-bubble-root{display:flex;flex-direction:column;align-items:flex-start;max-width:100%}.rc-message-bubble-align-right{align-items:flex-end}p{margin:0 0 5px;line-height:16px;padding:0;word-break:break-word}.message-body-wrapper{font-size:14px;min-width:0;max-width:100%}.name{font-size:12px;color:#41464f;max-width:100%}.nickname{margin-right:8px}.align{text-align:right}.time{display:inline-block;font-weight:400;color:#7c838e}.message-content-wrapper{display:flex;align-items:flex-start;max-width:100%}.rc-message-bubble-align-right .message-content-wrapper{flex-direction:row-reverse}.hover-menu-icon{visibility:hidden;cursor:pointer;width:16px;height:16px;margin:0 8px;flex-shrink:0}.rc-message-bubble-root:hover .hover-menu-icon,.hover-menu-icon-active{visibility:visible}
350
+ `]]]),h9={class:"rc-message-list-menu-item"},p9=["src"],g9={class:"content"},_9=Ie(Te({__name:"message-list-menu-item.ce",props:{id:{type:String},icon:{type:String},label:{type:String}},setup(e){const t=e;return(s,n)=>(w(),P("div",h9,[y("img",{src:t.icon,alt:"icon"},null,8,p9),y("div",g9,[y("span",null,oe(e.label),1)])]))}}),[["styles",[`.rc-message-list-menu-item{display:flex;align-items:center;font-size:12px;padding:6px;border-radius:5px;cursor:pointer}.rc-message-list-menu-item:hover{background-color:#d2e1fe}.content{flex:auto;padding-left:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
351
+ `]]]),m9={class:"rc-msg-time"},E9={class:"date"},v9=Ie(Te({__name:"message-time.ce",props:{time:{type:String}},setup(e){return(t,s)=>(w(),P("div",m9,[y("span",E9,oe(e.time),1)]))}}),[["styles",[`.rc-msg-time{text-align:center;margin-bottom:10px}.date{display:inline-block;font-size:12px;line-height:20px;padding:0 12px;color:#7c838e;border-radius:20px}
352
+ `]]]),C9={class:"rc-kit-select"},y9=Ie(Te({__name:"message-select.ce",props:{selected:{type:[Boolean,null]}},setup(e,{emit:t}){const s=e,n=t,i=ye(()=>s.selected?me("message.list.select"):me("message.list.unselect"));return(r,o)=>(w(),P("div",C9,[o[1]||(o[1]=y("span",{class:"line"},null,-1)),y("span",{class:"btn",onClick:o[0]||(o[0]=a=>n("select"))},oe(i.value),1)]))}}),[["styles",[`.rc-kit-select .line{display:block;width:100%;border:1px dashed #E4E7ED}.rc-kit-select .btn{position:absolute;padding:0 12px;line-height:34px;color:#41464f;background-color:#e3e7ef;border-radius:10px;font-size:14px;display:inline-block;margin-left:68px;z-index:2;top:-16px;cursor:pointer}
353
+ `]]]),S9={key:0},T9={key:1},I9={key:0},w9=["onClick"],R9=["onClick"],M9={key:1},O9=Ie(Te({__name:"text-message.ce",props:{message:{type:Object}},setup(e,{emit:t}){const s=e,n=t,i=rf(s.message.content.content||"");return(r,o)=>x(i).type===0?(w(),P("p",S9,oe(e.message.content.content||""),1)):(w(),P("p",T9,[(w(!0),P(De,null,Ot(x(i).content,(a,l)=>(w(),P("span",{key:l},[x(i).position.includes(l+1)?(w(),P("span",I9,[a.type==="mail"?(w(),P("a",{key:0,onClick:c=>n("link",{type:"mail",address:a.content}),href:"javascript:;"},oe(a.content),9,w9)):(w(),P("a",{key:1,onClick:c=>n("link",{type:"url",address:a.content}),href:"javascript:;"},oe(a.content),9,R9))])):(w(),P("span",M9,oe(a.content),1))]))),128))]))}}),[["styles",[`p{margin:0;padding:20px;word-break:break-word;font-size:14px;line-height:22px;white-space:pre-wrap}a{color:#020814}a:hover{color:#0047ff}
354
+ `]]]),b9=["src"],L9=Ie(Te({__name:"image-message.ce",props:{message:{type:Object}},setup(e){const t=()=>{Se().dispatchEvent(new ie(Y.ADJUST_MESSAGE_LIST_SCROLL))},s=()=>{t()},n=()=>{t()};return(i,r)=>{const o=ve("rc-file-transfer-ctrl-provider");return w(),Le(o,{message:e.message},{default:ft(()=>[y("img",{class:"thumbnail",src:x(Rc)(e.message.content.content),alt:"Image",onLoad:s,onError:n},null,40,b9),r[0]||(r[0]=y("div",{slot:"marked",class:"marked"},null,-1))]),_:1},8,["message"])}}}),[["styles",[`.thumbnail,.marked{width:247px;max-height:400px;border-radius:10px;border:1px solid #E4E7ED}.marked{background-color:#0009;height:100%}
355
+ `]]]),A9=Ie(Te({__name:"unsupported-message.ce",props:{message:{type:Object}},setup(e){const t=me("message-type.unknown");return(s,n)=>(w(),P("p",null,oe(x(t)),1))}}),[["styles",[`p{margin:0;padding:0;word-break:break-word}
356
+ `]]]),x9={class:"rc-kit-sight-message"},k9={class:"wraper"},U9=["src","alt"],N9={class:"sight-mask"},D9=["src"],P9={class:"time"},V9=Ie(Te({__name:"sight-message.ce",props:{message:{type:Object}},setup(e){const t=()=>{Se().dispatchEvent(new ie(Y.ADJUST_MESSAGE_LIST_SCROLL))},s=()=>{t()},n=()=>{t()};return(i,r)=>{const o=ve("rc-file-transfer-ctrl-provider");return w(),Le(o,{message:e.message},{default:ft(()=>[y("div",x9,[y("div",k9,[y("img",{src:"data:image/png;base64,"+e.message.content.content,alt:e.message.content.name,onerror:n,onLoad:s},null,40,U9),y("div",N9,[y("img",{class:"play-icon",src:x(v5)},null,8,D9)]),y("span",P9,oe(x(J0)(Math.floor(e.message.content.duration))),1)])]),r[0]||(r[0]=y("div",{slot:"marked"},null,-1))]),_:1},8,["message"])}}}),[["styles",[`.rc-kit-sight-message{text-align:center}.wraper{position:relative;display:inline-block}.wraper .time{position:absolute;bottom:8px;right:6px;color:#fff;font-size:14px;z-index:2}.wraper>img{max-width:200px;border-radius:10px;border:1px solid #E4E7ED;vertical-align:bottom}.wraper .sight-mask{position:absolute;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:flex;justify-content:center;align-items:center;border-radius:10px;z-index:1}.wraper .sight-mask .play-icon{width:36px;height:36px;border:none}.marked{background-color:#0009;height:100%}
357
+ `]]]),a0="168cd85ede24ea95d66dc44fc78d566da2c415c6",ic="5.36.0";var Vr=(e=>(e.LANGUAGE="WEB_IM_KIT_ENV.LANGUAGE",e.CURRENT_USER_ID="WEB_IM_KIT_ENV.CURRENT_USER_ID",e))(Vr||{});const $9={class:"file-message"},F9={class:"icon"},H9=["src"],G9={class:"desc"},B9=["title"],j9={class:"size"},K9=Ie(Te({__name:"file-message.ce",props:{message:{type:Object}},setup(e){const t=ps()?10:40,s=ps()?5:8,n=Zn(Vr.CURRENT_USER_ID);ye(()=>n!=null&&n.value?n.value===e.message.senderUserId:!1);const i=ye(()=>Ch(e.message.content.name));return(r,o)=>{const a=ve("rc-file-transfer-ctrl-provider");return w(),P("div",$9,[y("div",F9,[Re(a,{message:e.message},{default:ft(()=>[y("img",{class:"file-message-icon",src:i.value,alt:"File Icon"},null,8,H9)]),_:1},8,["message"])]),y("div",G9,[y("div",{class:"name",title:e.message.content.name},oe(x(ef)(e.message.content.name,x(t),x(s))),9,B9),y("span",j9,oe(x(X0)(e.message.content.size)),1)])])}}}),[["styles",[`@charset "UTF-8";.file-message{display:flex;align-items:center;padding:20px}.icon{position:relative;width:44px;height:44px;flex-shrink:0}.file-message-icon{width:44px;height:44px;display:block;object-fit:contain}.desc{font-size:12px;line-height:18px;padding:0 6px}.name{max-width:360px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#020814}@media (max-width: 768px){.name{max-width:200px}}.size{color:#7c838e}
358
+ `]]]),z9={class:"right"},q9={class:"content"},Z9=["src"],W9=["src"],Q9={class:"message-desc"},Y9={class:"desc"},J9={class:"reply-prefix"},X9={key:0,class:"desc-text"},e8={key:0},t8=["src"],s8={class:"reference-content"},n8=Ie(Te({__name:"reference-message.ce",props:{message:{type:Object}},setup(e){const t=e,s=ye(()=>We("input.reply.prefix").value+t.message.content.referMsgUserId),n=[f.MessageType.IMAGE,f.MessageType.GIF,f.MessageType.SIGHT].includes(t.message.content.objName),i=()=>{switch(t.message.content.objName){case f.MessageType.IMAGE:return me("message-type.RC:ImgMsg");case f.MessageType.GIF:return me("message-type.RC:GIFMsg");case f.MessageType.SIGHT:return me("message-type.RC:SightMsg");case f.MessageType.FILE:return me("message-type.RC:FileMsg");case f.MessageType.HQ_VOICE:return me("message-type.RC:HQVCMsg");case f.MessageType.TEXT:return t.message.content.referMsg.content;case f.MessageType.COMBINE:return me("message-type.RC:CombineMsg");case f.MessageType.REFERENCE:return t.message.content.referMsg.content;default:return me("message-type.unknown")}};return(r,o)=>(w(),P("div",null,[y("div",{class:"reference-box",style:it({borderColor:e.message.messageDirection===x(f.MessageDirection).SEND?"#fff":"#f5f5f5"})},[o[0]||(o[0]=y("div",{class:"header"},null,-1)),y("div",z9,[y("div",q9,[t.message.content.objName===x(f.MessageType).HQ_VOICE?(w(),P("img",{key:0,src:e.message.messageDirection===x(f.MessageDirection).SEND?x(p5):x(h5),alt:""},null,8,Z9)):t.message.content.objName===x(f.MessageType).COMBINE?(w(),P("img",{key:1,src:e.message.messageDirection===x(f.MessageDirection).SEND?x(_5):x(g5),alt:""},null,8,W9)):ue("",!0),y("div",Q9,[y("div",Y9,[y("div",J9,oe(s.value)+":",1),x(n)?ue("",!0):(w(),P("div",X9,[y("span",null,oe(i()),1),e.message.content.objName===x(f.MessageType).FILE?(w(),P("span",e8,oe(e.message.content.referMsg.name),1)):ue("",!0)])),x(n)?(w(),P("img",{key:1,class:"thumbnail",src:x(Rc)(e.message.content.referMsg.content),alt:"Thumbnail Image"},null,8,t8)):ue("",!0)])])])])],4),o[1]||(o[1]=y("div",{class:"reference-hr-line"},null,-1)),y("div",s8,oe(e.message.content.content),1)]))}}),[["styles",[`.reference-box{padding:20px;display:flex;min-width:0}.reference-box .header{border:1px solid #020814;margin:4px 5px 4px 0}.reference-box .right{flex:1;min-width:0}.reference-box .content{font-size:12px;line-height:18px;display:flex;align-items:center;color:#020814;min-width:0}.reference-box .content>img{flex-shrink:0}.reference-content{word-break:break-word;font-size:14px;line-height:22px;white-space:pre-wrap;padding:4px 20px 20px}.reference-hr-line{border:1px solid rgba(0,0,0,.1019607843);margin:0 10px}.message-desc{display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;max-width:100%;padding-right:10px;margin-left:4px;overflow:hidden;min-width:0}.desc{color:#020814;width:100%;min-width:0;display:flex;align-items:center;gap:4px;overflow:hidden}.reply-prefix{flex-shrink:0;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.desc-text{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thumbnail{flex-shrink:0;height:36px;width:auto;max-width:100px;border:none;padding:0;box-sizing:border-box;object-fit:contain;vertical-align:middle}
359
+ `]]]),i8={class:"combine-message"},r8={class:"title"},o8={class:"summary"},a8=Ie(Te({__name:"combine-v2-message.ce",props:{message:{type:Object}},setup(e){const t=e.message.content,{summaryList:s,conversationType:n,nameList:i,msgNum:r}=t,o=ye(()=>!n||!i?"":n===f.ConversationType.PRIVATE?i.length===2?We("private.combine-msg.title",...i).value:We("private.combine-msg.signal.title",...i).value:We("group.combine-msg.title").value);return Zn(Vr.CURRENT_USER_ID),ye(()=>{const a=f.getCurrentUserId();return a?a===e.message.senderUserId:!1}),(a,l)=>(w(),P("div",i8,[y("div",r8,oe(o.value),1),(w(!0),P(De,null,Ot(x(s),c=>(w(),P("div",o8,oe(c),1))),256)),l[0]||(l[0]=y("div",{class:"separator"},[y("div",null,"聊天记录")],-1))]))}}),[["styles",[`.combine-message{padding:20px}.title{font-size:16px;padding-bottom:12px;max-width:350px;word-wrap:break-word;word-break:break-all;text-overflow:ellipsis;color:#020814}.summary{font-size:14px;overflow:hidden;height:14px;line-height:14px;color:#41464f;padding-bottom:10px;max-width:350px;white-space:nowrap;text-overflow:ellipsis}.separator{border-top:1px solid #E4E7ED;padding-top:20px;margin-top:10px;font-size:14px;color:#41464f}
360
+ `]]]),l8={class:"gif-message-box"},c8=["src"],u8=Ie(Te({__name:"gif-message.ce",props:{message:{type:Object}},setup(e){const t=N(),s=()=>{Se().dispatchEvent(new ie(Y.ADJUST_MESSAGE_LIST_SCROLL))},n=()=>{s()},i=()=>{t.value.src=Xc,s()};return(r,o)=>{const a=ve("rc-file-transfer-ctrl-provider");return w(),Le(a,{message:e.message},{default:ft(()=>[y("div",l8,[y("img",{ref_key:"imgRef",ref:t,style:{"max-width":"100%"},src:e.message.content.remoteUrl,onerror:i,onLoad:n,alt:"Git Image"},null,40,c8)])]),_:1},8,["message"])}}}),[["styles",[`.gif-message-box{width:247px;height:247px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #E4E7ED;overflow:hidden}
361
+ `]]]),d8=Ie(Te({__name:"modal-dialog.ce",props:{width:{type:Number},height:{type:Number,default:-1}},setup(e){const t=e,s=N(!1),n=ye(()=>{const r={width:s.value?"80%":`${t.width}px`,margin:s.value?"0 auto":""};return t.height!==-1&&(r.height=`${t.height}px`),r}),i=()=>{s.value=ps()};return at(()=>{i(),window.addEventListener("resize",i)}),Tt(()=>{window.removeEventListener("resize",i)}),(r,o)=>(w(),P("div",{onClick:o[0]||(o[0]=a=>a.stopPropagation()),style:it(n.value),class:"rc-kit-modal-dialog"},[ln(r.$slots,"header"),ln(r.$slots,"content"),ln(r.$slots,"footer")],4))}}),[["styles",[`.rc-kit-modal-dialog{background-color:#fff;border-radius:5px}
362
+ `]]]),f8={class:"read-receipt-content"},h8={class:"read-receipt-column"},p8={class:"read-receipt-title"},g8={class:"read-receipt-list-wrapper"},_8={class:"read-receipt-ul"},m8={class:"read-receipt-info"},E8={class:"read-receipt-name"},v8={key:0,class:"read-receipt-time"},C8={class:"read-receipt-column"},y8={class:"read-receipt-title"},S8={class:"read-receipt-list-wrapper"},T8={class:"read-receipt-ul"},I8={class:"read-receipt-info"},w8={class:"read-receipt-name"},R8=Ie(Te({__name:"read-receipt-modal.ce",props:{message:{type:[Object,null]},visible:{type:Boolean},readUsers:{type:Array},unreadUsers:{type:Array},readCount:{type:Number},unreadCount:{type:Number},readLoading:{type:Boolean},unreadLoading:{type:Boolean},position:{type:Object}},emits:["close","read-status-scroll"],setup(e,{emit:t}){const s=e,n=t,i=Se(),r=N(),o=N(0),a=N(0),l=N(1),c=N(),u=N(0),d=N(0),h=N(1),p=()=>{if(!r.value)return;const O=r.value.offsetHeight**2/r.value.scrollHeight,T=Math.floor(O*100)/100,D=Math.max(T,20),z=T/(r.value.offsetHeight-T)/(D/(r.value.offsetHeight-D));l.value=Math.floor(z*100)/100||1,o.value=T<r.value.offsetHeight?Math.floor(D):0},_=()=>{if(!c.value)return;const O=c.value.offsetHeight**2/c.value.scrollHeight,T=Math.floor(O*100)/100,D=Math.max(T,20),z=T/(c.value.offsetHeight-T)/(D/(c.value.offsetHeight-D));h.value=Math.floor(z*100)/100||1,u.value=T<c.value.offsetHeight?Math.floor(D):0},m=O=>{if(!r.value)return;const T=O.detail[0];r.value.scrollTop=T*r.value.scrollHeight/100},L=O=>{if(!c.value)return;const T=O.detail[0];c.value.scrollTop=T*c.value.scrollHeight/100};let M=null,E=null;const g=()=>{p(),_()},v=()=>{r.value&&!M&&(M=new ResizeObserver(()=>{p()}),M.observe(r.value)),c.value&&!E&&(E=new ResizeObserver(()=>{_()}),E.observe(c.value))},C=()=>{M==null||M.disconnect(),M=null,E==null||E.disconnect(),E=null};ls([()=>s.visible,()=>s.readUsers,()=>s.unreadUsers],async([O])=>{O?(await ot(),v(),p(),_()):C()},{deep:!0});const b=O=>{if(!s.visible)return;O.target.closest(".read-receipt-popover")||n("close")};at(()=>{window.addEventListener("resize",g),window.addEventListener("click",b),s.visible&&ot(()=>{v()})}),Rn(()=>{C(),window.removeEventListener("resize",g),window.removeEventListener("click",b)});const $=ye(()=>{if(!s.position)return{};const O=s.position.anchor||"top-right";let T="";return O==="top-right"?T="translateX(-100%)":O==="bottom-right"?T="translate(-100%, -100%)":O==="top-left"?T="":O==="top-center"?T="translateX(-50%)":O==="bottom-center"?T="translate(-50%, -100%)":T="translateY(-100%)",{top:`${s.position.top}px`,left:`${s.position.left}px`,...T?{transform:T}:{}}}),F=(O,T=10)=>O.length<=T?O:O.substring(0,T)+"...",A=O=>{const{hour:T,minute:D}=_i(O);return`${T}:${D}`},U=(O,T)=>{if(!O||!O.target){console.warn("[ReadReceiptModal] Invalid scroll event:",O);return}const D=O.target,{scrollHeight:z,offsetHeight:ee,scrollTop:te}=D;T==="read"&&r.value?a.value=te*100/ee*l.value||0:T==="unread"&&c.value&&(d.value=te*100/ee*h.value||0),n("read-status-scroll",{scrollTop:te,scrollHeight:z,clientHeight:ee},T)};return(O,T)=>{var ee,te;const D=ve("rc-icon"),z=ve("rc-scrollbar-thumb-provider");return e.visible?(w(),P("div",{key:0,class:"read-receipt-popover",style:it($.value),onClick:T[2]||(T[2]=vs(()=>{},["stop"]))},[y("div",f8,[y("div",h8,[y("div",p8,oe(x(me)("message.list.read-receipt.tooltip.read-count",e.readCount)),1),y("div",g8,[y("div",{class:"read-receipt-list",ref_key:"readListRef",ref:r,onScroll:T[0]||(T[0]=ne=>U(ne,"read"))},[y("ul",_8,[(w(!0),P(De,null,Ot(e.readUsers,ne=>(w(),P("li",{key:ne.userId,class:"read-receipt-item"},[Re(D,{url:x(i).appData.getUserProfile(ne.userId).portraitUri,radius:50,width:20,height:20,online:!1},null,8,["url"]),y("div",m8,[y("p",E8,oe(F(x(i).appData.getUserProfile(ne.userId).name)),1),ne.timestamp?(w(),P("p",v8,oe(A(ne.timestamp)),1)):ue("",!0)])]))),128))])],544),o.value?(w(),Le(z,{key:0,onHandlemove:m,height:o.value,move:a.value,scrollheight:(ee=r.value)==null?void 0:ee.scrollHeight,ratio:l.value},null,8,["height","move","scrollheight","ratio"])):ue("",!0)])]),y("div",C8,[y("div",y8,oe(x(me)("message.list.read-receipt.tooltip.unread-count",e.unreadCount)),1),y("div",S8,[y("div",{class:"read-receipt-list",ref_key:"unreadListRef",ref:c,onScroll:T[1]||(T[1]=ne=>U(ne,"unread"))},[y("ul",T8,[(w(!0),P(De,null,Ot(e.unreadUsers,ne=>(w(),P("li",{key:ne.userId,class:"read-receipt-item"},[Re(D,{url:x(i).appData.getUserProfile(ne.userId).portraitUri,radius:50,width:20,height:20,online:!1},null,8,["url"]),y("div",I8,[y("p",w8,oe(F(x(i).appData.getUserProfile(ne.userId).name)),1)])]))),128))])],544),u.value?(w(),Le(z,{key:0,onHandlemove:L,height:u.value,move:d.value,scrollheight:(te=c.value)==null?void 0:te.scrollHeight,ratio:h.value},null,8,["height","move","scrollheight","ratio"])):ue("",!0)])])])],4)):ue("",!0)}}}),[["styles",[`.read-receipt-popover{position:absolute;background-color:#fff;border-radius:6px;box-shadow:0 5px 16px #00000014;width:344px;z-index:4}.read-receipt-content{display:flex;flex-direction:row;max-height:420px}.read-receipt-column{flex:1;display:flex;flex-direction:column;border-right:1px solid #E5E5E5}.read-receipt-column:last-child{border-right:none}.read-receipt-title{padding:15px 12px 6px;font-size:14px;color:#0e1012}.read-receipt-list-wrapper{flex:1;position:relative;max-height:380px;overflow:hidden}.read-receipt-list{height:100%;overflow-y:scroll;padding:0 0 10px;scrollbar-width:none}.read-receipt-list::-webkit-scrollbar{display:none}.read-receipt-ul{padding:0;margin:0;list-style:none}.read-receipt-item{display:flex;align-items:center;padding:4px 12px}.read-receipt-item:last-child{border-bottom:none}.read-receipt-info{margin-left:4px;flex:1;min-width:0;display:flex;align-items:center;gap:8px}.read-receipt-name{font-size:12px;color:#0e1012;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.read-receipt-time{color:#85909c;font-size:11px;margin:0;flex-shrink:0}.read-receipt-time img{width:12px;height:12px}
363
+ `]]]),M8={class:"rc-imkit-connection-status-content"},O8={key:0,class:"rc-connection-loading-icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16"},b8={class:"rc-imkit-connection-status-text"},L8=Ie(Te({__name:"connection-status.ce",props:{visible:{type:Boolean},status:{type:Number},code:{type:null}},setup(e){const t=e,s=ye(()=>t.status===f.RCConnectionStatus.CONNECTING||t.status===f.RCConnectionStatus.SUSPENDED),n=ye(()=>t.status===f.RCConnectionStatus.DISCONNECTED?me("connection.status.disconnected"):s.value?me("connection.status.connecting"):me("connection.status.suspended")),i=ye(()=>s.value?"is-warning":"is-error");return(r,o)=>(w(),Le(vl,{name:"rc-status-fade"},{default:ft(()=>[e.visible?(w(),P("div",{key:0,class:Je(["rc-imkit-connection-status",i.value])},[y("div",M8,[s.value?(w(),P("svg",O8,[...o[0]||(o[0]=[y("path",{d:"M512 1024c-282.7776 0-512-229.2224-512-512s229.2224-512 512-512 512 229.2224 512 512-229.2224 512-512 512z m0-921.6c-225.8944 0-409.6 183.7056-409.6 409.6s183.7056 409.6 409.6 409.6 409.6-183.7056 409.6-409.6-183.7056-409.6-409.6-409.6z",fill:"#0047FF",opacity:"0.3"},null,-1),y("path",{d:"M512 1024C229.2224 1024 0 794.7776 0 512c0-28.2624 22.9376-51.2 51.2-51.2s51.2 22.9376 51.2 51.2c0 225.8944 183.7056 409.6 409.6 409.6s409.6-183.7056 409.6-409.6c0-225.8944-183.7056-409.6-409.6-409.6-28.2624 0-51.2-22.9376-51.2-51.2s22.9376-51.2 51.2-51.2c282.7776 0 512 229.2224 512 512s-229.2224 512-512 512z",fill:"#0047FF"},null,-1)])])):ue("",!0),y("span",b8,oe(n.value),1)])],2)):ue("",!0)]),_:1}))}}),[["styles",[`.rc-imkit-connection-status{position:absolute;top:70px;left:0;right:0;width:100%;height:46px;display:flex;align-items:center;justify-content:center;z-index:100;box-sizing:border-box}.rc-imkit-connection-status-content{display:flex;align-items:center;justify-content:center;gap:8px}.rc-imkit-connection-status-text{font-size:16px;color:#020814;line-height:20px}.rc-imkit-connection-status.is-error{background-color:#ffd5d5}.rc-imkit-connection-status.is-warning{background-color:#e7eeff}.rc-connection-loading-icon{animation:rc-status-spin 1s linear infinite;flex-shrink:0}@keyframes rc-status-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.rc-status-fade-enter-active,.rc-status-fade-leave-active{transition:opacity .3s ease-in-out,transform .3s ease-in-out}.rc-status-fade-enter-from,.rc-status-fade-leave-to{opacity:0;transform:translateY(-10px)}.rc-status-fade-enter-to,.rc-status-fade-leave-from{opacity:1;transform:translateY(0)}
364
+ `]]]),A8={class:"empty"},x8=["src"],k8=Ie(Te({__name:"conversation-empty.ce",props:{desc:{type:String,required:!0}},setup(e){return(t,s)=>(w(),P("div",A8,[y("img",{src:x(Yc),alt:"Conversation Empty"},null,8,x8),y("span",null,oe(e.desc),1)]))}}),[["styles",[`.empty{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:24px;background:#fcfcfc;color:#b3b3b3;font-size:16px}.empty img{margin-bottom:10px;width:60px;height:60px}
365
+ `]]]),U8={class:"empty"},N8=["src"],D8=Ie(Te({__name:"conversation-list-empty.ce",props:{desc:{type:String,required:!0}},setup(e){return(t,s)=>(w(),P("div",U8,[y("img",{src:x(Yc),alt:"Conversation Empty"},null,8,N8),y("span",null,oe(e.desc),1)]))}}),[["styles",[`.empty{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;line-height:24px;background:#FFFFFF;color:#b3b3b3;font-size:16px}.empty img{margin-bottom:10px;width:60px;height:60px}
366
+ `]]]),P8={class:"rc-multi-choice-menu",style:{height:"100px"}},V8={class:"icon-wrapper"},$8=["src"],F8={class:"selected-count"},H8={class:"icon-wrapper"},G8=["src"],B8={class:"button-label"},j8={class:"icon-wrapper"},K8=["src"],z8={class:"button-label"},q8=Ie(Te({__name:"multi-choice-menu.ce",props:{count:{type:Number,required:!0}},setup(e,{emit:t}){const s=N(!1),n=N(!1),i=N(!1),r=e,o=t,a=d=>{r.count!==0&&o(d)},l=ye(()=>me("multi-choice.menu.selected-count",r.count.toString())),c=We("multi-choice.menu.forward-item-by-item"),u=We("multi-choice.menu.delete");return(d,h)=>(w(),P("div",P8,[y("div",{onClick:h[0]||(h[0]=p=>o("cancel")),class:"button cancel",onMouseenter:h[1]||(h[1]=p=>s.value=!0),onMouseleave:h[2]||(h[2]=p=>s.value=!1)},[y("div",V8,[y("img",{src:s.value?x(jh):x(Jc),alt:"Cancel"},null,8,$8)])],32),y("span",F8,oe(l.value),1),y("div",{onClick:h[3]||(h[3]=p=>a("forward")),class:Je(["button forward",{disabled:r.count===0}]),onMouseenter:h[4]||(h[4]=p=>n.value=!0),onMouseleave:h[5]||(h[5]=p=>n.value=!1)},[y("div",H8,[y("img",{src:n.value&&r.count>0?x(Gh):x(Zc),alt:"Forward",style:it({opacity:r.count===0?.4:1})},null,12,G8)]),y("span",B8,oe(x(c)),1)],34),y("div",{onClick:h[6]||(h[6]=p=>a("delete")),class:Je(["button delete",{disabled:r.count===0}]),onMouseenter:h[7]||(h[7]=p=>i.value=!0),onMouseleave:h[8]||(h[8]=p=>i.value=!1)},[y("div",j8,[y("img",{src:i.value&&r.count>0?x(Bh):x(qc),alt:"Delete",style:it({opacity:r.count===0?.4:1})},null,12,K8)]),y("span",z8,oe(x(u)),1)],34)]))}}),[["styles",[`.rc-multi-choice-menu{height:50px;background-color:#fff;display:flex;flex-direction:row;align-items:center;justify-content:center;border-top:1px solid #E4E7ED;font-size:14px;color:#000;padding:0 16px}.selected-count{flex:1 auto;margin-left:24px}.button{display:flex;flex-direction:column;align-items:center;cursor:pointer;margin-left:32px}.button.disabled{cursor:not-allowed}.button.disabled .button-label{color:#c4c4c4}.button:first-child{margin-left:0}.icon-wrapper{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:4px;background-color:transparent;transition:background-color .2s;background-color:#f3f5fa;margin-bottom:4px}.button img{width:20px;height:20px}.cancel .icon-wrapper{background-color:#fff;width:30px;height:30px}.button.forward:hover .icon-wrapper{background-color:#d0ddff}.button.delete:hover .icon-wrapper{background-color:#ffe5e5}.button.cancel:hover .icon-wrapper{background-color:#d0ddff}
367
+ `]]]),Z8={class:"replay-bar"},W8={class:"content"},Q8=["src"],Y8={class:"message-desc"},J8={class:"desc"},X8={class:"reply-prefix"},e_={class:"desc-text"},t_=["src"],s_=Ie(Te({__name:"input-reply-bar.ce",props:{username:{type:String,required:!0},desc:{type:String,required:!0},thumbnail:String},setup(e,{emit:t}){const s=e,n=t,i=N(!1),r=ye(()=>We("input.reply.prefix").value+s.username);return(o,a)=>(w(),P("div",Z8,[y("div",W8,[y("div",{class:"cancel-btn",onClick:a[0]||(a[0]=l=>n("cancel")),onMouseenter:a[1]||(a[1]=l=>i.value=!0),onMouseleave:a[2]||(a[2]=l=>i.value=!1)},[y("img",{src:i.value?x(f5):x(Jc),alt:"Cancel"},null,8,Q8)],32),y("div",Y8,[y("div",J8,[y("span",X8,oe(r.value)+":",1),y("span",e_,oe(e.desc),1),e.thumbnail?(w(),P("img",{key:0,class:"thumbnail",src:e.thumbnail,alt:"Thumbnail Image"},null,8,t_)):ue("",!0)])])])]))}}),[["styles",[`.replay-bar{display:flex;flex-direction:row;align-items:center;border-radius:8px;height:36px;padding-top:8px;width:100%;max-width:100%;overflow:hidden}.content{margin-left:8px;box-sizing:border-box;width:calc(100% - 66px);flex:1;display:flex;height:100%;background-color:#f3f5fa;border-radius:10px;font-size:14px;color:#020814}.message-desc{flex:1;display:flex;box-sizing:border-box;flex-direction:column;justify-content:center;width:calc(100% - 120px);padding-right:10px;margin-left:4px;overflow:hidden}.username{color:#09f;margin-bottom:2px;width:100%;overflow:hidden;text-overflow:ellipsis}.desc{color:#020814;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;display:flex;align-items:center;gap:4px}.reply-prefix{flex-shrink:0}.desc-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thumbnail{flex-shrink:0;height:24px;width:auto;max-width:100px;border:none;padding:0;box-sizing:border-box;object-fit:contain;vertical-align:middle}.cancel-btn{display:flex;width:24px;margin-left:10px;flex-direction:column;justify-content:center;vertical-align:middle;cursor:pointer;img {border-radius: 8px;}}.cancel-btn svg path{fill:#0e1012;stroke:#0e1012}
368
+ `]]]),Pe={ICON:"rc-icon",ICON_NOTIFICATION:"rc-icon-notification",ICON_TOP:"rc-icon-top",CONVERSATION_LABEL:"rc-conversation-label",CONVERSATION_LATEST_MESSAGE:"rc-conversation-latest-message",CONVERSATION_UNREAD:"rc-conversation-unread",CONVERSATION_LIST_ITEM:"rc-conversation-list-item",CONVERSATION_TIME:"rc-conversation-time",CONVERSATION_LOADING:"rc-conversation-loading",CONVERSATION_LIST_MENU_ITEM:"rc-conversation-list-menu-item",CONVERSATION_EMPTY:"rc-conversation-empty",CONVERSATION_LIST_EMPTY:"rc-conversation-list-empty",MESSAGE_BUBBLE:"rc-message-bubble",MESSAGE_LIST_MENU_ITEM:"rc-message-list-menu-item",MESSAGE_TIME:"rc-message-time",MESSAGE_SELECT:"rc-message-select",MODAL_DIALOG:"rc-modal-dialog",TEXT_MESSAGE:"rc-text-message",IMAGE_MESSAGE:"rc-image-message",UNSUPPORTED_MESSAGE:"rc-unsupported-message",SIGHT_MESSAGE:"rc-sight-message",FILE_MESSAGE:"rc-file-message",REFERENCE_MESSAGE:"rc-reference-message",COMBINE_V2_MESSAGE:"rc-combine-v2-message",GIF_MESSAGE:"rc-gif-message",MULTI_CHOICE_MENU:"rc-multi-choice-menu",INPUT_REPLY_BAR:"rc-input-reply-bar",MESSAGE_LOCATION:"rc-message-location",MESSAGE_SENT_STATUS:"rc-message-sent-status",CONNECTION_STATUS:"rc-connection-status",READ_RECEIPT_MODAL:"rc-read-receipt-modal"},n_={[Pe.ICON]:p7,[Pe.ICON_NOTIFICATION]:m7,[Pe.ICON_TOP]:C7,[Pe.CONVERSATION_LABEL]:S7,[Pe.CONVERSATION_LATEST_MESSAGE]:w7,[Pe.CONVERSATION_UNREAD]:M7,[Pe.CONVERSATION_LIST_ITEM]:F7,[Pe.CONVERSATION_TIME]:z7,[Pe.CONVERSATION_LOADING]:W7,[Pe.CONVERSATION_LIST_MENU_ITEM]:j7,[Pe.CONVERSATION_EMPTY]:k8,[Pe.CONVERSATION_LIST_EMPTY]:D8,[Pe.MESSAGE_BUBBLE]:f9,[Pe.MESSAGE_LIST_MENU_ITEM]:_9,[Pe.MESSAGE_TIME]:v9,[Pe.MODAL_DIALOG]:d8,[Pe.MESSAGE_SELECT]:y9,[Pe.TEXT_MESSAGE]:O9,[Pe.IMAGE_MESSAGE]:L9,[Pe.UNSUPPORTED_MESSAGE]:A9,[Pe.SIGHT_MESSAGE]:V9,[Pe.FILE_MESSAGE]:K9,[Pe.REFERENCE_MESSAGE]:n8,[Pe.COMBINE_V2_MESSAGE]:a8,[Pe.GIF_MESSAGE]:u8,[Pe.MULTI_CHOICE_MENU]:q8,[Pe.INPUT_REPLY_BAR]:s_,[Pe.MESSAGE_LOCATION]:X7,[Pe.MESSAGE_SENT_STATUS]:a9,[Pe.CONNECTION_STATUS]:L8,[Pe.READ_RECEIPT_MODAL]:R8};var li=(e=>(e.CONVERSATION_LIST_ITEM_CLICK="ConversationList-Item-Click",e.CONVERSATION_LIST_ITEM_OPTION_CLICK="ConversationList-Item-Option-Click",e.CONVERSATION_NAVI_CLICK="Conversation-Navi-Click",e.CONVERSATION_MESSAGE_OPTION_CLICK="Conversation-Message-Option-Click",e.INPUT_EMOJI_ENTRY_CLICK="Input-Emoji-Entry-Click",e.CONVERSATION_INPUT_EXTEND_CLICK="Conversation-InputExtend-Click",e))(li||{});const Br=class Br{constructor(t){K(this,"logger");this.logger=t.createLogger("IMKit","IM")}report(t){Br._reported.has(t)||(Br._reported.add(t),this.logger.record(`IMKit-${t}-S`))}};K(Br,"_reported",new Set);let rc=Br;const i_={class:"rc-conversation-list"},r_=Ie(Te({__name:"conversation-list-provider.ce",setup(e){const t=Se(),s=N(),n=N(null),i=N(!1),r=N(!1),o=N(null),a=N(null),l=tn({left:0,top:0,display:"none"}),c=N([]),u=["time.format.sunday","time.format.monday","time.format.tueday","time.format.wedday","time.format.thurday","time.format.friday","time.format.satday"],d=We("conversation.list.empty.desc");ls(()=>l.display,O=>{var T,D,z,ee;O==="block"?(D=(T=o.value)==null?void 0:T.disableScroll)==null||D.call(T):(ee=(z=o.value)==null?void 0:z.enableScroll)==null||ee.call(z)});const h=O=>{const{year:T,month:D,day:z,hour:ee,minute:te,weekDay:ne}=_i(O),V=(Date.now()-O)/1e3/60/60/24;return new Date().toDateString()===new Date(O).toDateString()?`${ee}:${te}`:new Date().toDateString()!==new Date(O).toDateString()&&V<1||1<=V&&V<2?me("time.format.yesterday"):2<=V&&V<7?me(u[ne]):me("time.format.full",T,D,z)},p=()=>{i.value=ps()},_=async O=>{const T=Lt.value.length;Lt.value.splice(0,T,...O.data),r.value=Lt.value.length>=30,!f.electronExtension.enable()&&t.conversation.updateLatesMessageStatus(Lt.value)},m=O=>{O.data.forEach(T=>{const D=Lt.value.findIndex(z=>_t(T.conversation,z));D!==-1&&Lt.value.splice(D,1),Lt.value.splice(T.order,0,JSON.parse(JSON.stringify(T.conversation))),pe.value&&_t(T.conversation,pe.value)&&(Nn.value=T.conversation.unreadCount)})},L=O=>{O.data.forEach(T=>{const D=Lt.value.findIndex(z=>_t(T,z));D!==-1&&Lt.value.splice(D,1,JSON.parse(JSON.stringify(T))),pe.value&&_t(T,pe.value)&&(Nn.value=T.unreadCount)})},M=O=>{O.data.forEach(T=>{const D=Lt.value.findIndex(z=>_t(T,z));D!==-1&&Lt.value.splice(D,1)})},E=async(O,T)=>{var Ae,wt,Qe,gt,As,ce;T.preventDefault();const D=t.conversationMenu.getMenum(O).map(_e=>({id:_e.id,icon:_e.icon,label:me(_e.id),target:O.key}));if(c.value.splice(0,c.value.length,...D),a.value=O.key,l.display="block",await ot(),!n.value||!s.value||!o.value)return;const z=(wt=(Ae=o.value).getViewportRect)==null?void 0:wt.call(Ae),ee=(gt=(Qe=o.value).getViewportSize)==null?void 0:gt.call(Qe),te=(ce=(As=o.value).getScrollPosition)==null?void 0:ce.call(As);if(!z||!ee||!te)return;const ne=T.clientX-z.left+te.left,V=T.clientY-z.top+te.top;l.top=b(s.value.clientHeight,V,ee.height,te.top),l.left=$(s.value.clientWidth,ne,ee.width,te.left)},g=async(O,T)=>{var z;if(T.preventDefault(),l.display="none",a.value=null,pe.value&&t.conversation.handleConversationDraft(pe.value,(z=Ne.value)==null?void 0:z.value),O.markUnread&&(O.markUnread=!1,O.markReaded=!0),O.conversationType===j.ConversationType.SYSTEM){const ee=new ie(ge.BEFORE_SYSTEM_CONVERSATION_OPEN,O);if(t.emit(ee,2),ee.isDefaultPrevented())return}else t.statistic(li.CONVERSATION_LIST_ITEM_CLICK);const{code:D}=await t.conversation.openConversation(O);D===ks.CONVERSATION_LIST_NOT_READY&&t.alert("alert.conversation.list.not.ready")},v=(O,T)=>{t.statistic(li.CONVERSATION_LIST_ITEM_OPTION_CLICK);const D=t.conversation.getCachedConversationByKey(T);t.emit(new ie(ge.CONVERSATION_MENU_ITEM_CLICK,{id:O,conversation:D})),l.display="none",a.value=null},C=async()=>{if(!r.value)return;const O=Lt.value[Lt.value.length-1],{hasMore:T,code:D,list:z}=await t.conversation.getMoreConversationList(O);D===0&&(Lt.value=[...Lt.value,...z],r.value=T),!f.electronExtension.enable()&&t.conversation.updateLatesMessageStatus([...z])},b=(O,T,D,z)=>{if(l){const ee=T-z;return D-ee<O?T-O:T}return 0},$=(O,T,D,z)=>{if(l){const ee=T-z;return D-ee<O?T-O:T}return 0},F=O=>{O.button===0&&(l.display="none",a.value=null)},A=O=>!O||O.senderUserId==Se().userId||O.messageType===j.MessageType.RECALL||O.messageType===j.MessageType.RECALL_NOTIFICATION_MESSAGE?"":O.conversationType===j.ConversationType.SYSTEM?t.appData.getSystemProfiles([O.targetId])[0].name:t.appData.getUserProfile(O.senderUserId).name,U=O=>pe.value?!_t(pe.value,O)&&!!O.draft:!!O.draft;return at(async()=>{p(),window.addEventListener("resize",p),document.body.addEventListener("mouseup",F,!1),window.addEventListener("blur",F,!1),t.addEventListener(Y.CONVERSATION_LIST_RESET,_),t.addEventListener(Y.CONVERSATION_ITEM_ORDER_CHANGE,m),t.addEventListener(Y.CONVERSATION_ITEM_CHANGE,L),t.addEventListener(Y.CONVERSATIN_ITEM_REMOVE,M),Lt.value=t.conversation.getCachedConversationList()}),Tt(()=>{window.removeEventListener("resize",p),document.body.removeEventListener("mouseup",F,!1),window.removeEventListener("blur",F,!1),t.removeEventListener(Y.CONVERSATION_LIST_RESET,_),t.removeEventListener(Y.CONVERSATION_ITEM_ORDER_CHANGE,m),t.removeEventListener(Y.CONVERSATION_ITEM_CHANGE,L),t.removeEventListener(Y.CONVERSATIN_ITEM_REMOVE,M)}),(O,T)=>{const D=ve("rc-conversation-list-menu-item"),z=ve("rc-conversation-list-item"),ee=ve("rc-conversation-loading"),te=ve("rc-scrollbar-provider"),ne=ve("rc-conversation-list-empty");return x(Lt).length>0?(w(),Le(te,{key:0,ref_key:"scrollbar",ref:o,onLoading:C},{default:ft(()=>[y("div",{class:"rc-conversation-wrap",ref_key:"conversationWrapRef",ref:n},[i.value&&l.display==="block"?(w(),P("div",{key:0,class:"rc-conversation-list-menu-mask",onClick:T[0]||(T[0]=V=>F({button:0}))})):ue("",!0),y("div",{class:"rc-conversation-list-menu",ref_key:"conversationMenuRef",ref:s,style:it({top:`${l.top}px`,left:`${l.left}px`,display:l.display})},[(w(!0),P(De,null,Ot(c.value,V=>(w(),Le(D,{icon:V.icon,id:V.id,label:V.label,onClick:Ae=>v(V.id,V.target)},null,8,["icon","id","label","onClick"]))),256))],4),y("div",i_,[(w(!0),P(De,null,Ot(x(Lt),V=>(w(),Le(z,{message:x(k0)(V.latestMessage),time:h(V.updateTime),key:V.key,conversation:V,draft:U(V),statusEnable:x(x0)(V.latestMessage),name:A(V.latestMessage),selected:x(pe)?x(_t)(V,x(pe)):!1,rightClicked:a.value===V.key,onContextmenu:vs(Ae=>E(V,Ae),["prevent"]),onMenuClick:Ae=>E(V,Ae.detail[0]),onClick:Ae=>g(V,Ae)},null,8,["message","time","conversation","draft","statusEnable","name","selected","rightClicked","onContextmenu","onMenuClick","onClick"]))),128)),r.value?(w(),Le(ee,{key:0})):ue("",!0)])],512)]),_:1},512)):(w(),Le(ne,{key:1,desc:x(d)},null,8,["desc"]))}}}),[["styles",[`:host{display:block;height:100%}.rc-conversation-wrap{padding:0 10px;position:relative}.rc-conversation-list-menu{position:absolute;top:0;left:0;z-index:101;padding:7px 4px;background-color:#fff;border-radius:6px;box-shadow:0 4px 15.9px #0000001c;min-width:95px}.rc-conversation-list-menu-mask{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%}
369
+ `]]]),o_=`.rc-kit-modal-provider{background-color:#00000080;position:absolute;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:center;z-index:10000000;overflow:hidden}
370
+ `,a_={},l_={class:"rc-kit-modal-provider"};function c_(e,t){return w(),P("div",l_,[ln(e.$slots,"default")])}const u_=Ie(a_,[["render",c_],["styles",[o_]]]),d_={class:"modal-confirm-provider"},f_={class:"rc-kit-modal-dialog-header",slot:"header"},h_={class:"rc-kit-modal-dialog-content",slot:"content"},p_={class:"rc-kit-modal-dialog-footer",slot:"footer"},g_=Ie(Te({__name:"modal-confirm-provider.ce",setup(e,{emit:t}){const s=t,n=Se(),i=N(""),r=me("dialog.tips.msg"),o=me("dialog.cancel.msg"),a=me("dialog.confirm.msg"),l=d=>{s("cancel")},c=d=>{s("confirm")},u=d=>{i.value=d.data};return at(()=>{n.addEventListener(ge.CONFIRM_EVENT,u)}),Tt(()=>{n.removeEventListener(ge.CONFIRM_EVENT,u)}),(d,h)=>{const p=ve("rc-modal-dialog"),_=ve("rc-modal-provider");return w(),P("div",d_,[Re(_,{onClick:l},{default:ft(()=>[Re(p,{width:286},{default:ft(()=>[y("div",f_,oe(x(r)),1),y("div",h_,oe(i.value),1),y("div",p_,[y("button",{class:"cancel",onClick:l},oe(x(o)),1),y("button",{class:"confirm",onClick:c},oe(x(a)),1)])]),_:1})]),_:1})])}}}),[["styles",[`.rc-kit-modal-dialog-header{font-size:14px;border-bottom:1px solid #EAEAEA;padding:10px 30px;line-height:20px}.rc-kit-modal-dialog-content{font-size:12px;padding:15px 30px}.rc-kit-modal-dialog-footer{display:flex;justify-content:center;padding:20px}.rc-kit-modal-dialog-footer button{min-width:70px;text-decoration:none;border-radius:3px;outline:none;font-size:12px;padding:5px 15px;border:0;margin:0 23px;cursor:pointer}.rc-kit-modal-dialog-footer .cancel{border:1px solid #DEDEDE;background-color:#f5f5f5}.rc-kit-modal-dialog-footer .confirm{border:1px solid #0099FF;background-color:#09f;color:#fff}
371
+ `]]]),__={class:"modal-alert-provider"},m_={class:"rc-kit-modal-dialog-header",slot:"header"},E_={class:"rc-kit-modal-dialog-content",slot:"content"},v_={class:"rc-kit-modal-dialog-footer",slot:"footer"},C_=Ie(Te({__name:"modal-alert-provider.ce",setup(e,{emit:t}){const s=t,n=Se(),i=N(""),r=me("dialog.tips.msg"),o=me("dialog.cancel.msg"),a=c=>{s("cancel")},l=c=>{i.value=c.data};return at(()=>{n.addEventListener(ge.ALERT_EVENT,l)}),Tt(()=>{n.removeEventListener(ge.ALERT_EVENT,l)}),(c,u)=>{const d=ve("rc-modal-dialog"),h=ve("rc-modal-provider");return w(),P("div",__,[Re(h,{onClick:a},{default:ft(()=>[Re(d,{width:286,onCancel:a},{default:ft(()=>[y("div",m_,oe(x(r)),1),y("div",E_,oe(i.value),1),y("div",v_,[y("button",{class:"cancel",onClick:a},oe(x(o)),1)])]),_:1})]),_:1})])}}}),[["styles",[`.rc-kit-modal-dialog-header{font-size:14px;border-bottom:1px solid #EAEAEA;padding:10px 30px;line-height:20px}.rc-kit-modal-dialog-content{font-size:12px;padding:15px 30px}.rc-kit-modal-dialog-footer{display:flex;justify-content:center;padding:20px}.rc-kit-modal-dialog-footer button{min-width:70px;text-decoration:none;border-radius:3px;outline:none;font-size:12px;padding:5px 15px;border:0;margin:0 23px;cursor:pointer}.rc-kit-modal-dialog-footer .cancel{border:1px solid #DEDEDE;background-color:#f5f5f5}.rc-kit-modal-dialog-footer .confirm{border:1px solid #0099FF;background-color:#09f;color:#fff}
372
+ `]]]),y_={class:"modal-forwarding-provider"},S_={class:"rc-kit-modal-dialog-header",slot:"header"},T_={class:"rc-kit-modal-dialog-content",slot:"content"},I_={class:"search"},w_=["placeholder"],R_=["src"],M_={class:"list"},O_=["onClick"],b_=["for"],L_=["id","value"],A_={class:"custom"},x_=["src"],k_={class:"conversation"},U_={class:"name"},N_={class:"rc-kit-modal-dialog-footer",slot:"footer"},D_=["disabled"],P_=Ie(Te({__name:"modal-forwarding-provider.ce",setup(e,{emit:t}){const s=t,n=N(""),i=N([]),r=N([]),o=me("dialog.forwarding.msg"),a=me("dialog.cancel.msg"),l=me("dialog.forwarding.confirm"),c=me("input.placeholder.search");let u=null;const d=()=>Lt.value.filter(M=>[f.ConversationType.PRIVATE,f.ConversationType.GROUP].includes(M.conversationType)&&M.name.includes(n.value)),h=()=>{u||(u=setTimeout(()=>{r.value=d(),clearTimeout(u),u=null},500))},p=M=>{s("cancel")},_=M=>{i.value.length!==0&&s("confirm",{list:i.value})},m=M=>{const E=i.value.findIndex(g=>g.key===M.key);if(E>-1){i.value.splice(E,1);return}i.value.push(M)},L=M=>i.value.some(E=>E.key===M.key);return at(()=>{r.value.splice(0,r.value.length,...d())}),(M,E)=>{const g=ve("rc-icon"),v=ve("rc-modal-dialog"),C=ve("rc-modal-provider");return w(),P("div",y_,[Re(C,{onClick:p},{default:ft(()=>[Re(v,{width:520,height:450},{default:ft(()=>[y("div",S_,oe(x(o)),1),y("div",T_,[y("div",I_,[_s(y("input",{class:"search-input","onUpdate:modelValue":E[0]||(E[0]=b=>n.value=b),type:"text",placeholder:x(c),onInput:h},null,40,w_),[[Ir,n.value]]),y("img",{class:"search-icon",src:x(l5),alt:"SEARCH_ICON"},null,8,R_)]),y("div",M_,[(w(!0),P(De,null,Ot(r.value,b=>(w(),P("div",{class:Je(["list-item",{"is-selected":L(b)}]),key:b.key,onClick:$=>m(b)},[y("div",{class:"checkbox",onClick:E[2]||(E[2]=vs(()=>{},["stop"]))},[y("label",{for:b.key},[_s(y("input",{id:b.key,type:"checkbox","onUpdate:modelValue":E[1]||(E[1]=$=>i.value=$),value:b},null,8,L_),[[wr,i.value]]),y("span",A_,[y("img",{src:x(Wc),alt:"CHECKED_ICON"},null,8,x_)])],8,b_)]),y("div",k_,[Re(g,{class:"profile",width:32,height:32,radius:50,url:b.portraitUri,online:!1},null,8,["url"]),y("span",U_,oe(b.name),1)])],10,O_))),128))])]),y("div",N_,[y("button",{class:"cancel",onClick:p},oe(x(a)),1),y("button",{class:"confirm",disabled:i.value.length===0,onClick:_},oe(x(l)),9,D_)])]),_:1})]),_:1})])}}}),[["styles",[`input{border:0;padding:0;outline:none}.modal-forwarding-provider .rc-kit-modal-provider{background-color:#00000080}.modal-forwarding-provider .rc-kit-modal-dialog{width:520px;height:450px;display:flex;flex-direction:column;max-height:450px;overflow:hidden}@media (max-width: 768px){.modal-forwarding-provider .rc-kit-modal-dialog{width:80%!important;height:450px}.rc-kit-modal-dialog-header{width:auto;padding-left:20px;padding-right:20px}.search .search-input{width:100%;max-width:400px}}.rc-kit-modal-dialog-header{font-size:18px;padding:40px 0 20px;line-height:20px;text-align:center;width:500px;margin:0 auto;flex-shrink:0}.rc-kit-modal-dialog-content{padding:0;flex:1;flex-direction:column;overflow:hidden}.rc-kit-modal-dialog-content .search{font-size:14px;margin:0 20px 16px;position:relative;flex-shrink:0}.search .search-input{padding:8px 28px 8px 30px;border:.5px solid #E4E7ED;background-color:#fff;width:100%;box-sizing:border-box;border-radius:30px;font-size:14px;color:#41464f}.search .search-input::placeholder{color:#41464f}.search .search-icon{position:absolute;top:8px;left:10px}.list{min-height:0;padding:0 20px;overflow-y:auto;overflow-x:hidden;background-color:#fff;font-size:12px;height:214px}.list-item{display:flex;align-items:center;border-radius:8px;margin-bottom:3px;cursor:pointer;padding:6px 10px;background-color:transparent}.list-item:hover{background-color:#f3f5fa}.list-item.is-selected,.list-item.is-selected:hover{background-color:#d2e1fe}.list .conversation{display:flex;align-items:center;overflow:hidden;min-width:0}.list .conversation .profile{padding:0 6px;flex-shrink:0}.list .conversation .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:14px;font-weight:500;color:#41464f}.list-item .checkbox{flex-shrink:0}.list-item .checkbox input[type=checkbox]{display:none}.list-item .checkbox .custom{display:flex;width:14px;height:14px;border:1px solid #0000001A;border-radius:50%;background-color:#fff;font-size:0;justify-content:center;align-items:center;cursor:pointer}.list-item .checkbox input[type=checkbox]:checked+.custom{background-color:#16d258;border-color:#16d258}.list-item .checkbox input[type=checkbox]:checked+.custom img{display:block;width:11px}.list-item .checkbox .custom img{display:none}.rc-kit-modal-dialog-content{font-size:14px;text-align:center}.rc-kit-modal-dialog-footer{display:flex;justify-content:center;padding:30px 0 40px}.rc-kit-modal-dialog-footer button{min-width:70px;text-decoration:none;border-radius:4px;outline:none;font-size:16px;border:0;margin:0 15px;cursor:pointer;width:110px;height:36px;background-color:#f3f5fa}.rc-kit-modal-dialog-footer .cancel{color:#020814}.rc-kit-modal-dialog-footer .confirm{color:#fff;background-color:#0047ff}.rc-kit-modal-dialog-footer .confirm:disabled{color:#ccc;background-color:#f3f5fa;cursor:not-allowed}.cancel:hover{background-color:#e3e7ef}.confirm:hover:not(:disabled){background-color:#366eff}
373
+ `]]]),V_={class:"modal-delete-provider"},$_={class:"rc-kit-modal-dialog-header",slot:"header"},F_={class:"rc-kit-modal-dialog-content",slot:"content"},H_={class:"rc-kit-modal-dialog-footer",slot:"footer"},G_=Ie(Te({__name:"modal-delete-message-provider.ce",props:{recallEnable:{type:String}},setup(e,{emit:t}){const s=t,n=N(!1),i=me("dialog.delete.msg"),r=me("dialog.delete.msg.content"),o=me("dialog.cancel.msg"),a=me("dialog.delete.msg.confirm"),l=u=>{s("cancel")},c=u=>{s("confirm",n.value)};return(u,d)=>{const h=ve("rc-modal-dialog"),p=ve("rc-modal-provider");return w(),P("div",V_,[Re(p,{onClick:l},{default:ft(()=>[Re(h,{width:392},{default:ft(()=>[y("div",$_,oe(x(i)),1),y("div",F_,oe(x(r)),1),y("div",H_,[y("button",{class:"cancel",onClick:l},oe(x(o)),1),y("button",{class:"confirm",onClick:c},oe(x(a)),1)])]),_:1})]),_:1})])}}}),[["styles",[`.rc-kit-modal-dialog-header{font-size:18px;padding:40px 0 20px;line-height:20px;text-align:center;font-weight:500}.rc-kit-modal-dialog-content{font-size:14px;text-align:center}.rc-kit-modal-dialog-footer{display:flex;justify-content:center;padding:30px 0 40px}.rc-kit-modal-dialog-footer button{min-width:70px;text-decoration:none;border-radius:4px;outline:none;font-size:16px;border:0;margin:0 15px;cursor:pointer;width:110px;height:36px;background-color:#f3f5fa}.rc-kit-modal-dialog-footer .cancel{color:#020814}.rc-kit-modal-dialog-footer .confirm{color:#ff5a50}.cancel:hover,.confirm:hover{background-color:#e3e7ef}.content-check{display:flex;margin-top:15px;align-items:center}.checkbox input[type=checkbox]{display:none}.checkbox .custom{display:flex;width:15px;height:15px;border:1px solid #ABB8CB;border-radius:3px;background-color:#fff;font-size:0;justify-content:center;align-items:center;cursor:pointer;margin-right:7px;box-sizing:border-box}.checkbox input[type=checkbox]:checked+.custom{background-color:#09f;border-color:#09f}
374
+ `]]]),B_={class:"modal-media-message-provider"},j_={class:"media-message-container"},K_={class:"menu"},z_=["src"],q_=["src"],Z_=["src"],W_=["src"],Q_={class:"loading-spinner-svg",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40"},Y_=["src"],J_=["poster","src"],X_=Ie(Te({__name:"modal-media-message-provider.ce",props:{url:{type:String},userId:{type:String},sentTime:{type:String},messageType:{type:String},messageUid:{type:String},content:{type:String}},setup(e,{emit:t}){const s=t,n=e,i=v=>{s("cancel")},r=N(50),o=N(80),a=N(!1),l=N(!1),c=N(!1),u=N(!1),d=(v,C)=>{if(C.stopPropagation(),n.messageType===j.MessageType.SIGHT){if(o.value+v>100||o.value+v<50)return;o.value=o.value+v}else{if(m.value&&L.value&&(g.value=m.value.clientHeight>L.value.clientHeight),r.value+v>70||r.value+v<10)return;r.value=r.value+v}},h=()=>{s("download")},p=N(!0),_=v=>{v.data.forEach(C=>{const{recallMsg:b}=C;b&&b.content.messageUId===n.messageUid&&(Se().alert("alert.message-deleted"),s("cancel"))})},m=N(),L=N(),M=()=>{p.value=!1,m.value.src=Xc,m.value.style.width="100px",m.value.style.height="100px"},E=()=>{p.value=!1,m.value&&L.value&&(g.value=m.value.clientHeight>L.value.clientHeight)},g=N(!1);return at(()=>{Se().addEventListener(ge.MESSAGES_DELETED,_)}),Tt(()=>{Se().removeEventListener(ge.MESSAGES_DELETED,_)}),(v,C)=>{const b=ve("rc-modal-provider");return w(),P("div",B_,[Re(b,{onClick:i},{default:ft(()=>[y("div",j_,[y("div",{class:"media-message-header",onClick:C[10]||(C[10]=$=>$.stopPropagation())},[y("div",K_,[y("div",{class:"btn-wrapper",onMouseenter:C[1]||(C[1]=$=>a.value=!0),onMouseleave:C[2]||(C[2]=$=>a.value=!1)},[y("img",{class:"btn",onClick:C[0]||(C[0]=$=>d(5,$)),src:a.value?x(Ah):x(Lh),alt:"MODAL_UP_ICON"},null,8,z_)],32),y("div",{class:"btn-wrapper",onMouseenter:C[4]||(C[4]=$=>l.value=!0),onMouseleave:C[5]||(C[5]=$=>l.value=!1)},[y("img",{class:"btn",onClick:C[3]||(C[3]=$=>d(-5,$)),src:l.value?x(kh):x(xh),alt:"MODAL_DOWN_ICON"},null,8,q_)],32),y("div",{class:"btn-wrapper",onMouseenter:C[6]||(C[6]=$=>c.value=!0),onMouseleave:C[7]||(C[7]=$=>c.value=!1)},[y("img",{class:"btn",onClick:h,src:c.value?x(Uh):x(wh),alt:"MODAL_DOWNLOAD_ICON"},null,8,Z_)],32),y("div",{class:"btn-wrapper",onMouseenter:C[8]||(C[8]=$=>u.value=!0),onMouseleave:C[9]||(C[9]=$=>u.value=!1)},[y("img",{class:"btn",onClick:i,src:u.value?x(zc):x(Kc),alt:"MODAL_CLOSE_ICON"},null,8,W_)],32)])]),n.messageType===x(j.MessageType).IMAGE||n.messageType===x(j.MessageType).GIF?(w(),P("div",{key:0,class:Je(["media-message-box",{"self-start":g.value}]),ref_key:"boxRef",ref:L,style:{"max-height":"calc(100% - 54px)"}},[y("div",{class:"media-message",style:it({width:`${r.value}%`})},[_s((w(),P("svg",Q_,[...C[13]||(C[13]=[y("path",{d:"M512 1024c-282.7776 0-512-229.2224-512-512s229.2224-512 512-512 512 229.2224 512 512-229.2224 512-512 512z m0-921.6c-225.8944 0-409.6 183.7056-409.6 409.6s183.7056 409.6 409.6 409.6 409.6-183.7056 409.6-409.6-183.7056-409.6-409.6-409.6z",fill:"#ffffff",opacity:"0.3"},null,-1),y("path",{d:"M512 1024C229.2224 1024 0 794.7776 0 512c0-28.2624 22.9376-51.2 51.2-51.2s51.2 22.9376 51.2 51.2c0 225.8944 183.7056 409.6 409.6 409.6s409.6-183.7056 409.6-409.6c0-225.8944-183.7056-409.6-409.6-409.6-28.2624 0-51.2-22.9376-51.2-51.2s22.9376-51.2 51.2-51.2c282.7776 0 512 229.2224 512 512s-229.2224 512-512 512z",fill:"#ffffff"},null,-1)])],512)),[[Bs,p.value]]),_s(y("img",{style:{width:"100%"},ref_key:"imgRef",ref:m,onClick:C[11]||(C[11]=$=>$.stopPropagation()),src:n.url,onLoad:E,onError:M,alt:"image"},null,40,Y_),[[Bs,!p.value]])],4)],2)):ue("",!0),n.messageType===x(j.MessageType).SIGHT?(w(),P("div",{key:1,class:"media-message-box",ref_key:"boxRef",ref:L,style:{"max-height":"calc(100% - 54px)"}},[y("div",{class:"media-message",style:it({height:`${o.value}%`})},[y("video",{poster:`data:image/png;base64,${n.content}`,style:{height:"100%"},onClick:C[12]||(C[12]=$=>$.stopPropagation()),src:n.url,controls:""},[...C[14]||(C[14]=[y("track",{kind:"subtitles"},null,-1),y("track",{kind:"description"},null,-1)])],8,J_)],4)],512)):ue("",!0)])]),_:1})])}}}),[["styles",[`p{margin:0;padding:0}.modal-media-message-provider :deep(.rc-kit-modal-provider){background-color:#00000080}.media-message-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative}.media-message-box{width:100%;flex:1;overflow-y:auto;display:flex;justify-content:center;align-items:center;min-height:0}.media-message-box.self-start{align-items:self-start}.media-message-header{width:100%;height:54px;display:flex;justify-content:flex-end;align-items:center;padding:0 25px;background-color:#fff;box-sizing:border-box;z-index:2;flex-shrink:0}.media-message{width:50%;font-size:0;display:flex;justify-content:center;z-index:1;max-width:100%}.loading-spinner-svg{animation:spin 1s linear infinite;margin:20px auto}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.menu{display:flex;align-items:center;gap:24px;z-index:2}.btn-wrapper{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:8px;transition:background-color .2s}.btn-wrapper:hover{background-color:#d0ddff}.btn{width:30px;height:30px;cursor:pointer;display:block}video,img{max-width:100%;max-height:100%}
375
+ `]]]),em={class:"rc-take-photo-provider"},tm={class:"take-photo-header"},sm=["src"],nm=["srcObject"],im=["src"],rm={key:0,class:"message"},om={key:1,class:"floating-buttons"},am=["src"],lm={class:"button-text"},cm=["src"],um=["src"],dm={key:2,class:"button-text"},fm=Ie(Te({__name:"modal-take-photo-provider.ce",setup(e,{emit:t}){const s=t,n=N(),i=N(),r=N(),o=N(null),a=N(""),l=N(!1);let c=null,u=null;const d=N(""),h=ye(()=>d.value?We("take-photo.msg.camera-startup-failure",d.value).value:o.value?"":We("take-photo.msg.camera-starting").value),p=()=>{a.value&&(URL.revokeObjectURL(a.value),a.value=""),c=null,L(),s("cancel")},_=async()=>{URL.revokeObjectURL(a.value),a.value="",c=null,await ot()},m=async()=>{if(u)return u;try{u=navigator.mediaDevices.getUserMedia({video:{width:960,height:720,aspectRatio:4/3}}),o.value=await u}catch(C){d.value=C.message}},L=async()=>{if(u){const C=await u;C==null||C.getTracks().forEach(b=>b.stop())}o.value&&o.value.getTracks().forEach(C=>C.stop()),n.value&&(n.value.srcObject=null),u=null,o.value=null},M=()=>new Promise(C=>{const b=document.createElement("canvas"),$=n.value,{width:F,height:A}=$;b.width=F,b.height=A,b.getContext("2d").drawImage($,0,0,F,A),b.toBlob(O=>C(O),"image/jpg",1)}),E=async()=>{c=await M(),a.value=URL.createObjectURL(c),await ot(),v()},g=()=>{const C=Se();C.message.sendImages(C.conversation.getOpenedConversation(),[new File([c],`screenshot-${Date.now()}.jpg`,{type:"image/jpg"})]),p(),s("cancel")},v=()=>{const C=n.value,b=i.value,$=r.value;if(!b)return;const{scrollWidth:F,scrollHeight:A}=b,U=4/3;let O=F,T=F/U;T>A&&(T=A,O=A*U),C&&(C.width=O,C.height=T),$&&($.width=O,$.height=T),console.log("resize",O,T,n.value,i.value)};return at(async()=>{Se().addEventListener(ge.CONVERSATION_SELECTED,p),window.addEventListener("resize",v),await m(),await ot(),n.value&&n.value.addEventListener("loadedmetadata",v),v()}),Tt(()=>{Se().removeEventListener(ge.CONVERSATION_SELECTED,p),window.removeEventListener("resize",v),n.value&&n.value.removeEventListener("loadedmetadata",v),L()}),(C,b)=>{const $=ve("rc-modal-provider");return w(),P("div",em,[Re($,{onClick:p},{default:ft(()=>[y("div",{class:"take-photo-container",onClick:b[3]||(b[3]=F=>F.stopPropagation())},[y("div",tm,[y("div",{class:"btn-wrapper",onMouseenter:b[0]||(b[0]=F=>l.value=!0),onMouseleave:b[1]||(b[1]=F=>l.value=!1)},[y("img",{class:"btn",onClick:p,src:l.value?x(zc):x(Kc),alt:"Close Icon"},null,8,sm)],32)]),y("div",{class:"video-container",ref_key:"videoContainer",ref:i},[_s(y("video",{ref_key:"videoDom",ref:n,playsinline:"",srcObject:o.value,autoplay:""},null,8,nm),[[Bs,!a.value&&o.value]]),_s(y("img",{ref_key:"imageDom",ref:r,src:a.value,alt:"Photo"},null,8,im),[[Bs,a.value]]),o.value?ue("",!0):(w(),P("span",rm,oe(h.value),1)),o.value?(w(),P("div",om,[a.value?(w(),P("div",{key:0,class:"floating-button retry-button",onClick:_},[y("img",{src:x(u5),alt:"Retry Icon"},null,8,am),y("span",lm,oe(x(We)("take-photo.retry-btn.label")),1)])):ue("",!0),y("div",{class:"floating-button action-button",onClick:b[2]||(b[2]=F=>a.value?g():E())},[a.value?(w(),P("img",{key:1,src:x(Nh),alt:"Send Icon"},null,8,um)):(w(),P("img",{key:0,class:"camera-icon",src:x(d5),alt:"Camera Icon"},null,8,cm)),a.value?(w(),P("span",dm,oe(x(We)("take-photo.send-btn.label")),1)):ue("",!0)])])):ue("",!0)],512)])]),_:1})])}}}),[["styles",[`.rc-take-photo-provider :deep(.rc-kit-modal-provider){background-color:#00000080}.take-photo-container{width:100%;height:100%;display:flex;flex-direction:column;position:relative;background:#00000080}.take-photo-header{width:100%;height:54px;display:flex;justify-content:flex-end;align-items:center;padding:0 25px;background-color:#fff;box-sizing:border-box;z-index:2;flex-shrink:0}.btn-wrapper{width:30px;height:30px;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:8px;transition:background-color .2s}.btn-wrapper:hover{background-color:#d0ddff}.btn{width:30px;height:30px;cursor:pointer;display:block}.video-container{width:100%;display:flex;justify-content:center;align-items:center;min-height:0;position:relative;flex:1;overflow:hidden}.message{color:#a1a1a1;font-size:14px;margin:0 auto;position:absolute;z-index:1}.video-container video,.video-container img{object-fit:contain;width:auto;height:auto;max-width:80%;max-height:80%}.floating-buttons{position:absolute;bottom:12%;display:flex;align-items:center;gap:20px;z-index:3}.floating-button{width:78px;height:34px;border-radius:30px;background-color:#0047ff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .2s;color:#fff;font-size:14px}.floating-button img{width:14px;height:14px;display:block}.retry-button img{width:14px;height:14px}.floating-button .camera-icon{width:20px;height:20px}.button-text{margin-left:4px}
376
+ `]]]),hm={class:"rc-imkit-combine-header"},pm={class:"title"},gm={class:"rc-imkit-combine-body"},_m={key:0,class:"rc-imkit-combine-body-iframe"},mm={key:0,class:"loading"},Em=["src"],vm={style:{padding:"10px 20px"}},Cm={key:1,class:"rc-kit-msg-list-item",style:{"flex-direction":"row"}},ym=["onClick"],Sm={class:"name"},Tm={class:"message-body-wrapper"},Im={class:"footer"},wm={class:"time"},Rm=Ie(Te({__name:"modal-combine-provider.ce",props:{url:{type:String},content:{type:String},type:{type:String},messageUid:{type:String}},setup(e,{emit:t}){const s=t,n=e,i=N(JSON.parse(n.content)),r=N(!0),o=["time.format.sunday","time.format.monday","time.format.tueday","time.format.wedday","time.format.thurday","time.format.friday","time.format.satday"],a=E=>{const{year:g,month:v,day:C,weekDay:b}=_i(E),$=(Date.now()-E)/1e3/60/60/24;let F=me("time.format.full",g,v,C);return new Date().toDateString()===new Date(E).toDateString()&&(F=me("time.format.today")),(new Date().toDateString()!==new Date(E).toDateString()&&$<1||1<=$&&$<2)&&(F=me("time.format.yesterday")),2<=$&&$<7&&(F=me(o[b])),F},l=ye(()=>{const E=i.value.msgList,g=[];if(E){for(let v=E.length-1;v>=0;v-=1){const C=E[v];g.unshift(C);const b=E[v-1];b?new Date(C.timestamp).toDateString()!==new Date(b.timestamp).toDateString()&&g.unshift(a(C.timestamp)):g.unshift(a(C.timestamp))}return g}}),c=E=>Se().appData.getUserProfile(E.fromUserId),u=ye(()=>!i.value||!i.value.conversationType||!i.value.nameList?"":i.value.conversationType===f.ConversationType.PRIVATE?i.value.nameList.length===2?We("private.combine-msg.title",...i.value.nameList).value:We("private.combine-msg.signal.title",...i.value.nameList).value:We("group.combine-msg.title").value),d=E=>{const{hour:g,minute:v}=_i(E);return`${g}:${v}`},h=E=>{switch(E.objectName){case f.MessageType.IMAGE:case f.MessageType.SIGHT:const g={senderUserId:E.fromUserId,sentTime:E.timestamp,messageType:E.objectName,content:E.content};Se().emit(new ie(ge.MEDIA_MESSAGE_MODAL_EVENT,g));break;case f.MessageType.COMBINE:case f.MessageType.COMBINE_V2:Se().emit(new ie(ge.COMBINE_MESSAGE_MODAL_EVENT,E));break}},p=E=>{const g={messageType:E.objectName,content:E.content,senderUserId:E.fromUserId,targetId:E.targetId,channelId:"",conversationType:1,sentTime:0,receivedTime:0,messageUId:"",messageDirection:1,isPersited:!0,isCounted:!0,isOffLineMessage:!1,canIncludeExpansion:!0,receivedStatus:1};s("download",g)},_=E=>{Se().emit(new ie(ge.MESSAGE_LINK_CLICK,E.detail[0]))},m=E=>{s("cancel")},L=()=>{r.value=!1},M=E=>{E.data.forEach(g=>{const{recallMsg:v}=g;v&&v.content.messageUId===n.messageUid&&(Se().alert("alert.message-deleted"),s("cancel"))})};return at(()=>{i.value.remoteUrl&&fetch(i.value.remoteUrl).then(E=>E.json()).then(E=>{i.value.msgList=E}),Se().addEventListener(ge.MESSAGES_DELETED,M)}),Tt(()=>{Se().removeEventListener(ge.MESSAGES_DELETED,M)}),(E,g)=>{const v=ve("rc-message-time"),C=ve("rc-icon"),b=ve("rc-scrollbar-provider");return w(),P("div",{class:"modal-combine-provider",onClick:m},[y("div",{class:"rc-imkit-combine-box",onClick:g[0]||(g[0]=$=>$.stopPropagation())},[y("div",hm,[y("div",pm,oe(u.value),1),y("span",{class:"close",onClick:m},"x")]),y("div",gm,[n.type===x(f.MessageType).COMBINE?(w(),P("div",_m,[r.value?(w(),P("div",mm,"加载中.....")):ue("",!0),y("iframe",{class:"rc-imkit-iframe",src:n.url,title:"Iframe",onLoad:L},null,40,Em)])):(w(),Le(b,{key:1},{default:ft(()=>[y("div",vm,[(w(!0),P(De,null,Ot(l.value,$=>(w(),P("div",null,[typeof $=="string"?(w(),Le(v,{key:0,style:{"margin-bottom":"10px"},time:$},null,8,["time"])):(w(),P("div",Cm,[Re(C,{class:"rc-kit-msg-avatar",url:c($).portraitUri,width:32,height:32,radius:50,online:!1},null,8,["url"]),y("div",{class:"rc-kit-msg-bubble",onClick:F=>h($)},[y("p",Sm,oe(c($).name),1),y("div",Tm,[(w(),Le(el(x(O0)($.objectName)),{onDownload:F=>p($),onLink:_,userId:$.fromUserId,message:{...$,messageType:$.objectName,messageDirection:x(f.MessageDirection).RECEIVE,messageUId:`${$.timestamp}`}},null,40,["onDownload","userId","message"]))]),y("div",Im,[y("span",wm,oe(d($.timestamp)),1)])],8,ym)]))]))),256))])]),_:1}))])])])}}}),[["styles",[`.modal-combine-provider{flex-direction:column;position:absolute;top:0;right:0;bottom:0;left:0;z-index:2;background-color:#00000080}.rc-imkit-combine-body-iframe{height:100%;background-color:#fff}.rc-imkit-combine-box{background-color:#e6ecf3;height:70%;width:50%;box-shadow:0 10px 16px #0003;display:flex;flex-direction:column;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:8px;overflow:hidden}.rc-imkit-combine-header{background-color:#fff;position:relative}.title{text-align:center;line-height:19px;font-size:12px;padding:11px 0}.close{position:absolute;top:50%;right:15px;padding:0 5px;transform:translateY(-50%);cursor:pointer}.rc-imkit-combine-body{flex:1;overflow:hidden}.loading{font-size:18px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.rc-imkit-iframe{height:100%;width:100%;overflow:scroll;border:0}.rc-kit-msg-list-item{display:flex;width:100%;font-size:12px;margin-bottom:20px}.rc-kit-msg-avatar{padding:0 8px}.rc-kit-msg-bubble{padding:0 10px 8px 12px;border-radius:0 8px 8px;font-size:12px;line-height:16px;background-color:#fff}p{margin:0 0 5px;line-height:16px;padding:0;word-break:break-word;font-size:12px}.name{font-weight:500;font-size:12px}.footer{text-align:right;margin-top:5px;font-size:10px;display:flex;align-items:center;flex-direction:row-reverse}.time{display:inline-block;margin-left:7px;font-size:12px;color:#7b87a5}
377
+ `]]]),Mm=Ie(Te({__name:"scrollbar-provider.ce",setup(e,{expose:t,emit:s}){const n=Se(),i=s,r=N(),o=N(),a=N(),l=N(1),c=N(0),u=N(0),d=N(!1),h=N(!1);let p=null,_=null;const m=Sc(o),L=()=>{if(!o.value)return;const D=o.value.offsetHeight,z=D**2/o.value.scrollHeight,ee=Math.max(z,20);l.value=z/(D-z)/(ee/(D-ee)),c.value=z<D?Math.floor(ee):0},M=D=>{if(typeof D!="number"){console.warn("value must be a number");return}o!=null&&o.value&&(o.value.scrollTop=D)},E=()=>{var D;return(D=o.value)==null?void 0:D.getBoundingClientRect()},g=()=>o.value?{width:o.value.clientWidth,height:o.value.clientHeight}:{width:0,height:0},v=()=>o.value?{left:o.value.scrollLeft,top:o.value.scrollTop}:{left:0,top:0},C=()=>{h.value=!0,d.value=!0,_&&clearTimeout(_)},b=()=>{h.value=!1,_&&clearTimeout(_),_=setTimeout(()=>{d.value=!1},1e3)},$=D=>{if(m.isScrollDisabled||!o.value)return;const z=D.detail[0];o.value.scrollTop=z*o.value.scrollHeight/100},F=()=>{if(m.isScrollDisabled||(d.value=!0,_&&clearTimeout(_),h.value||(_=setTimeout(()=>{d.value=!1},1e3)),!o.value))return;const{offsetHeight:D,scrollHeight:z,scrollTop:ee}=o.value;u.value=Math.floor(ee*100/D*l.value),z/(D+ee)<=1.2&&(p||(p=setTimeout(async()=>{i("loading"),p=null,clearTimeout(p)},1e3)))};ls(()=>l.value,D=>{if(!o.value)return;const{offsetHeight:z,scrollTop:ee}=o.value;u.value=Math.floor(ee*100/z*l.value)});let A=null,U=null;const O=(D,z)=>{let ee=null;return window&&"ResizeObserver"in window&&D&&(ee=new ResizeObserver(z),ee.observe(D)),ee},T=()=>{M(0)};return t({disableScroll:m.disableScroll,enableScroll:m.enableScroll,setScrollTop:M,getViewportRect:E,getViewportSize:g,getScrollPosition:v}),at(()=>{window.addEventListener("resize",L),A=O(a.value,L),U=O(o.value,L),n.addEventListener(Y.DESTROY_USER_CACHE,T)}),Rn(()=>{window.removeEventListener("resize",L),A==null||A.unobserve(a.value),U==null||U.unobserve(o.value),m.enableScroll(),_&&clearTimeout(_)}),(D,z)=>{var te;const ee=ve("rc-scrollbar-thumb-provider");return w(),P("div",{ref_key:"scrollbarRef",ref:r,class:"rc-kit-scrollbar"},[y("div",{ref_key:"wrapRef",ref:o,class:"wrap",onScroll:F},[y("div",{ref_key:"resizeRef",ref:a,style:{"min-height":"100%"}},[ln(D.$slots,"default")],512)],544),c.value?(w(),Le(ee,{key:0,onHandlemove:$,onMouseenter:C,onMouseleave:b,height:c.value,move:u.value,scrollheight:(te=o.value)==null?void 0:te.scrollHeight,ratio:l.value,style:it({opacity:d.value?1:0,transition:"opacity 0.5s",pointerEvents:d.value?"auto":"none"})},null,8,["height","move","scrollheight","ratio","style"])):ue("",!0)],512)}}}),[["styles",[`:host{display:block;height:100%}.rc-kit-scrollbar{overflow:hidden;position:relative;height:100%}.wrap{overflow-y:scroll;height:100%;scrollbar-width:none}.wrap::-webkit-scrollbar{display:none}
378
+ `]]]),Om=Ie(Te({__name:"scrollbar-thumb-provider.ce",props:{height:{type:Number,require:!0,default:0},move:{type:Number,require:!0,default:0},scrollheight:{type:Number,require:!0,default:0},ratio:{type:Number,require:!0,default:1}},setup(e,{emit:t}){const s=t,n=e,i=ye(()=>({height:`${n.height}px`,transform:`translateY(${n.move}%)`})),r=ye(()=>a.value.offsetHeight**2/n.scrollheight/n.ratio/o.value.offsetHeight),o=N(),a=N();let l=!1,c;const u=N({}),d=M=>{var g;if(M.stopPropagation(),M.ctrlKey||[1,2].includes(M.button))return;(g=window.getSelection())==null||g.removeAllRanges(),_(M);const E=M.currentTarget;E&&(u.value.Y=M.clientY-E.getBoundingClientRect().top)},h=M=>{if(!o.value||!a.value)return;const E=Math.abs(M.target.getBoundingClientRect().top-M.clientY),g=o.value.offsetHeight/2,v=(E-g)*100*r.value/a.value.offsetHeight;s("handlemove",v)},p=()=>{document.onselectstart!==c&&(document.onselectstart=c)},_=M=>{M.stopImmediatePropagation(),l=!0,document.addEventListener("mousemove",m),document.addEventListener("mouseup",L),c=document.onselectstart,document.onselectstart=()=>!1},m=M=>{if(!a.value||!o.value||l===!1)return;const E=u.value.Y;if(!E)return;const g=(a.value.getBoundingClientRect().top-M.clientY)*-1,v=o.value.offsetHeight-E,C=(g-v)*100*r.value/a.value.offsetHeight;s("handlemove",C)},L=()=>{l=!1,u.value.Y=0,document.removeEventListener("mousemove",m),document.removeEventListener("mouseup",L),p()};return Rn(()=>{p(),document.removeEventListener("mouseup",L)}),(M,E)=>(w(),P("div",{ref_key:"instance",ref:a,class:"rc-kit-scrollbar-bar",onMousedown:h},[y("div",{ref_key:"thumb",ref:o,style:it(i.value),onMousedown:d,class:"rc-kit-scrollbar-thumb"},null,36)],544))}}),[["styles",[`.rc-kit-scrollbar-bar{position:absolute;right:2px;bottom:0;z-index:1;border-radius:4px;width:6px;top:0}.rc-kit-scrollbar-thumb{width:100%;position:relative;cursor:pointer;border-radius:inherit;background-color:#909399;opacity:.3}.rc-kit-scrollbar-thumb:hover{background-color:#909399;opacity:.5}
379
+ `]]]);var ci=(e=>(e.PHOTO="input.menu.item.photo",e.IMAGES="input.menu.item.images",e.FILES="input.menu.item.files",e.EMOJI="input.menu.item.emoji",e.PLUS="input.menu.item.plus",e))(ci||{});const bm="RCKitChatEmojiLibraryID";var l0=(e=>(e[e.SECONDARY_MENU=0]="SECONDARY_MENU",e[e.LEFT=1]="LEFT",e))(l0||{});const oc={items:[{id:"input.menu.item.emoji",order:0,icon:t5,hoverIcon:yh},{id:"input.menu.item.images",order:1,icon:e5,hoverIcon:Sh},{id:"input.menu.item.files",order:2,icon:s5,hoverIcon:Th},{id:"input.menu.item.photo",order:3,icon:Xh,hoverIcon:Ih,filter:()=>(location.protocol==="https:"||location.protocol==="file"||location.hostname==="localhost")&&!ps()}]},ac=e=>({items:e.items.map(t=>({id:t.id,order:t.order,icon:t.icon,hoverIcon:t.hoverIcon,filter:t.filter,submenu:t.submenu?t.submenu.map(s=>({id:s.id,order:s.order,icon:s.icon,filter:s.filter,submenu:s.submenu})):void 0}))}),Lm={icon:r5,chats:["😁","😂","😃","😄","😅","😆","😇","😈","😉","😊","😋","😌","😍","😎","😏","😐","😑","😒","😓","😔","😕","😖","😗","😘","😙","😚","😛","😜","😝","😞","😟","😠","😡","😢","😣","😤","😥","😦","😧","😨","😩","😪","😫","😬","😭","😮","😯","😰","😱","😲","😳","😴","😵","😶","😷","😸","😹","😺","😻","😼","😽","😾","😿","🙀","🙁","🙂","🙃","🙄","🙅","🙆","🙇","🙈","🙉","🙊","🙋","🙌","🙍","🙎","🙏","🤐","🤑","🤒","🤓","🤔","🤕","🤖","🤗","🤘","🤙","🤚","🤛","🤜","🤝","🤞","🤟","🤠","🤡","🤢","🤣","🤤","🤥","🤦","🤧","🤨","🤩","🤪","🤫","🤬","🤭","🤮","🤯"]},c0=e=>({icon:e.icon,chats:[...e.chats]}),u0=e=>e.map(t=>({id:t.id,icon:t.icon,itemWidth:t.itemWidth,itemHeight:t.itemHeight,items:t.items.map(s=>({...s})),order:t.order}));class Am extends Ss{constructor(s){super(s);K(this,"_menu",ac(oc));K(this,"menuList",[]);K(this,"chatEmojis",c0(Lm));K(this,"imageEmojis",[]);this.setInputMenu(oc)}_onInit(){}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this.chatEmojis.chats.length=0,this.imageEmojis.length=0,this.setInputMenu(oc)}cloneInputMenu(){return ac(this._menu)}setInputMenu(s){this._menu=ac(s),this._resetMenu()}_resetMenu(){this.menuList.length=0;const{items:s}=this._menu,n=(i,r)=>i.order-r.order;this.menuList.splice(0,this.menuList.length,...s.sort(n))}cloneChatEmojiLibrary(){return c0(this.chatEmojis)}setChatEmojiLibrary(s){this.chatEmojis.chats.splice(0,this.chatEmojis.chats.length,...s.chats),this.chatEmojis.icon=s.icon}cloneImageEmojiLibraries(){return u0(this.imageEmojis)}setImageEmojiLibraries(s){const n=u0(s).sort((i,r)=>i.order-r.order);this.imageEmojis.splice(0,this.imageEmojis.length,...n)}addImageEmoji(s,n,i){throw new Error("TODO: addImageEmoji")}}const ha=N(!1),$r=N(!1),pa=N(!1),ji=new Map;let Ki=!1;const d0=()=>{Ki=!1,ji.clear()},f0=(e,t,s=!1)=>{const i=Dn.value.find(a=>a.userId===e);if(!i)return;ui();const r=i.nickname||i.name;ji.set(e,new RegExp(`@${r}`)),t.focus();const o=s?`@${r} `:`${r} `;t.setRangeText(o,t.selectionStart,t.selectionEnd,"end")},xm=e=>{Ki=!0,ui(),e.focus(),e.setRangeText(`${me("input.mentioned.all")} `,e.selectionStart,e.selectionEnd,"end")},ui=()=>{ha.value=!1,$r.value=!1,pa.value=!1},km=(e,t)=>{ui();const{detail:s}=e,{url:n,thumbnail:i,gif:r}=s;let o;if(r){const{size:a,width:l,height:c}=r;o=new f.GIFMessage({gifDataSize:a,width:l,height:c,remoteUrl:n})}else o=new f.ImageMessage({content:i,imageUri:n});Se().message.sendMessage(t,o)},Um=(e,t)=>{t.focus(),t.setRangeText(e.detail,t.selectionStart,t.selectionEnd,"end"),ui(),Se().conversation.sendTypingStatus()},Nm=(e,t)=>{console.log(">>>> pickFile >>>> pickFile >>>>");const s=document.createElement("input");s.type="file",s.accept=e,s.multiple=!0,s.onchange=()=>{console.log(">>>> pickFile >>>> onchange >>>>"),t(Array.from(s.files||[]))},s.addEventListener("cancel",()=>{console.log(">>>> pickFile >>>> oncancel >>>>"),t([])}),s.click()},Dm=(e,t)=>{console.log(">>>> pickFileOnSafari >>>> pickFileOnSafari >>>>");const s=document.createElement("input");s.type="file",s.accept=e,s.multiple=!0,s.style.position="fixed",s.style.left="-9999px",s.style.top="-9999px",s.style.width="1px",s.style.height="1px",s.style.opacity="0",s.style.pointerEvents="none",document.body.appendChild(s);let n=!1;const i=[],r=()=>{for(const d of i)globalThis.clearTimeout(d);i.length=0},o=()=>{r(),globalThis.removeEventListener("focus",u,!0),s.onchange=null,s.removeEventListener("cancel",c),s.parentNode&&s.remove()},a=()=>Array.from(s.files||[]),l=()=>{if(n)return;const d=a();d.length!==0&&(console.log(">>>> pickFileOnSafari >>>> finalizeSuccess >>>>"),n=!0,o(),t(d))},c=()=>{n||(console.log(">>>> pickFileOnSafari >>>> finalizeCancel >>>>"),n=!0,o(),t([]))},u=()=>{r();const d=[0,50,100,200,400,700,1100,1700,2500];for(const h of d)i.push(globalThis.setTimeout(()=>l,h));i.push(globalThis.setTimeout(()=>{a().length>0||c()},2800))};s.value="",globalThis.addEventListener("focus",u,!0),s.onchange=l,s.addEventListener("cancel",c),s.click()};function Pm(){if(!("GestureEvent"in window))return!1;const t=navigator.userAgent,s=/Safari/.test(t)&&!/Chrome|CriOS|Edg|FxiOS|OPiOS/i.test(t),n=!!navigator.vendor&&navigator.vendor.indexOf("Apple")>-1;return s&&n}const h0=Pm()?Dm:Nm;let lc=!1;const Vm=e=>{switch(e.key){case"Backspace":ui();break;case"Shift":lc=!0;break}},$m=(e,t,s,n)=>{e.key==="Enter"&&Gm(e,t,s)},p0=e=>{e.key==="Shift"&&(lc=!1)},Fm=(e,t,s,n)=>{const i=e.value;Fr(e,t,s);const r=n.data??"";if(n.inputType==="insertText"&&r.includes("@")){const a=Se().conversation.getOpenedConversation();(a==null?void 0:a.conversationType)===f.ConversationType.GROUP&&(ui(),pa.value=!0)}else pa.value=!1;if(ji.forEach((a,l)=>{a.test(i)||ji.delete(l)}),Ki){const a=`@${me("input.mentioned.all")}`;i.includes(a)||(Ki=!1)}Se().conversation.sendTypingStatus()},g0=()=>{requestAnimationFrame(()=>{Se().dispatchEvent(new ie(Y.ADJUST_MESSAGE_LIST_SCROLL))})};let _0=-1;const Fr=(e,t,s)=>{t.innerHTML=e.value.replaceAll(/\n$/g,"<br>.").replaceAll(`
380
+ `,"<br>");const n=e.offsetWidth;Math.abs(t.offsetWidth-n)>1&&(t.style.width=`${n}px`,t.getBoundingClientRect());const i=21,r=36,o=5,a=18,l=i*o+a,c=t.scrollHeight,u=Math.max(1,Math.ceil(c/i));let d;u===1?d=r:u<=o?d=i*u+a:d=l,e.style.height=`${d}px`,s.style.height=`${d}px`,u>o?e.style.overflowY="auto":e.style.overflowY="hidden",_0!==d&&(_0=d,g0())},Hm=(e,t,s,n,i)=>{e.value=i||"",Fr(e,t,s)},m0=(e,t,s,n)=>{const i=Se().conversation.getOpenedConversation();if(!i)return;const r=e.value;if(!r.trim().length)return;const o=Ki?f.MentionedType.ALL:f.MentionedType.SINGAL;let a;pt.value?a=new f.ReferenceMessage({content:r,referMsg:{...pt.value.content},referMsgUserId:pt.value.senderUserId,objName:pt.value.messageType,referMsgUid:pt.value.messageUId}):a=new f.TextMessage({content:r});const l=Ki||ji.size>0;if(l&&(a.content.mentionedInfo={type:o,userIdList:Array.from(ji.keys()),mentionedContent:"TODO: 补充内容"}),[f.MessageType.TEXT,f.MessageType.REFERENCE].includes(a.messageType)&&a.content.content.length>5e3){Se().alert("alert.send.message.maxcount","5000");return}Se().message.sendMessage(i,a,{isMentioned:l}),pt.value=null,d0(),e.value="",Fr(e,t,s)},Gm=(e,t,s,n)=>{const i=e.target;lc||(e.preventDefault(),m0(i,t,s))},E0=e=>{const t=e.clipboardData;if(!t||t.files.length===0)return;e.preventDefault();const s=Se(),n=s.conversation.getOpenedConversation(),i=Array.from(t.files);if(i.length>100){s.alert("alert.pickfiles.maxcount","100");return}const r=i.filter(o=>o.type!==""&&o.size>0);r.length!==0&&s.message.sendFiles(n,r)},Bm={class:"rc-input-provider"},jm={class:"rc-input-top-buttons"},Km=["src","alt","onMouseenter","onClick"],zm={class:"rc-input-inner-wrapper"},qm=["placeholder","enterkeyhint"],Zm=["disabled"],Wm=["src"],Qm={key:0},Ym=["onClick"],Jm=["src"],Xm=Ie(Te({__name:"input-provider.ce",props:{conversation:{type:Object}},setup(e){const t=Se(),s=t.store.getCommandSwitch(xt.AT_ALL),n=e,i=N(!1),r=N(null),o=()=>{i.value=ps(),E.value=t.input.menuList.filter(L).map(M)},a=We("input.placeholder"),l=N(""),c=N(),u=N(),d=N(),h=N(),p=N([]),_=N(null),m=N(null),L=ce=>!ce.filter||ce.filter(n.conversation),M=ce=>({...ce,label:We(ce.id).value}),E=N([]);E.value=t.input.menuList.filter(L).map(M);const g=ye(()=>{const ce=[];return ce.push(...E.value),ce.sort((_e,Xe)=>(_e.order||0)-(Xe.order||0))}),v=ce=>r.value===ce.id&&ce.hoverIcon?ce.hoverIcon:ce.icon,C=ye(()=>l.value.trim().length>0),b=()=>{ui(),p.value=[],_.value=null,m.value=null},$=ce=>{const _e=$r.value&&m.value===ce.id;b(),!_e&&($r.value=!0,m.value=ce.id)},F=(ce,_e,Xe)=>{const nt=ha.value&&m.value===ce.id&&_.value===_e;b(),!(nt||Xe.length===0)&&(p.value=Xe,_.value=_e,m.value=ce.id,O())},A=(ce,_e)=>{if(p.value.some(nt=>nt.id===ce.id)){b(),U(ce,_e);return}if(ce.id===ci.EMOJI){_e.stopPropagation(),Se().statistic(li.INPUT_EMOJI_ENTRY_CLICK),$(ce);return}if(ce.submenu&&ce.submenu.length>0){_e.stopPropagation();const nt=ce.submenu.filter(L).map(M);F(ce,_e.currentTarget,nt);return}b(),U(ce,_e)},U=(ce,_e)=>{const{id:Xe}=ce;switch(Xe){case ci.PHOTO:t.emit(new ie(ge.TAKE_PHOTO_MODAL_EVENT));return;case ci.EMOJI:_e.stopPropagation(),Se().statistic(li.INPUT_EMOJI_ENTRY_CLICK),b(),$r.value=!0;return;case ci.IMAGES:h0("image/jpg, image/png, image/jpeg, image/gif",nt=>t.message.sendImages(n.conversation,nt));return;case ci.FILES:h0("*/*",nt=>t.message.sendFiles(n.conversation,nt));return;default:t.emit(new ie(ge.INPUT_MENU_ITEM_CLICK,{id:Xe,conversation:n.conversation}),2);return}},O=()=>{!c.value||!_.value||(ha.value=!0,setTimeout(()=>{if(!c.value||!_.value||!u.value)return;const ce=_.value.getBoundingClientRect(),_e=u.value.getBoundingClientRect(),Xe=c.value,nt=ce.top-_e.top;Xe.style.bottom=`${_e.height-nt+8}px`,Xe.style.left=`${ce.left-_e.left}px`,Xe.style.right="auto"},0))},T=ce=>{Um(ce,Ne.value),b(),Ne.value&&(l.value=Ne.value.value)},D=ce=>{km(ce,n.conversation),b()},z=ce=>{Ne.value&&(l.value=Ne.value.value),Fm(Ne.value,h.value,d.value,ce)},ee=()=>{if(!Ne.value)return;const ce=Ne.value.value;m0(Ne.value,h.value,d.value,u.value),Ne.value.value===""&&ce.trim().length>0&&(l.value="")},te=()=>{!C.value||!Ne.value||ee()},ne=ce=>{var Xe;const _e=((Xe=Ne.value)==null?void 0:Xe.value)||"";Vm(ce),$m(ce,h.value,d.value,u.value),ce.key==="Enter"&&!ce.shiftKey&&ot(()=>{Ne.value&&Ne.value.value===""&&_e.trim().length>0&&(l.value="")})},V=ce=>{const[_e]=ce.detail;f0(_e,Ne.value)},Ae=async ce=>{var os,et;const _e=(os=ce.data)==null?void 0:os.conversation,Xe=(et=ce.data)==null?void 0:et.focusInput,nt=(_e==null?void 0:_e.draft)||"";pt.value=null,b(),d0(),Hm(Ne.value,h.value,d.value,u.value,nt),l.value=nt,_e&&Xe!==!1?Ne.value.focus():Ne.value&&Ne.value.blur()},wt=ce=>{if(!ce.data)return;Ne.value.focus();const _e=Ne.value.value.length;Ne.value.setRangeText(ce.data,_e,_e,"end"),l.value=Ne.value.value,Fr(Ne.value,h.value,d.value)};ls(pt,(ce,_e)=>{ce&&t.store.getCommandSwitch(xt.PROMPT_SENDER_WHEN_QUOTE_MESSAGE)&&f0(ce.senderUserId,Ne.value,!0),ce&&Ne.value&&Ne.value.focus(),ot(()=>{g0()})});const Qe=ce=>{const _e=ce.target;c.value&&c.value.contains(_e)||_.value&&_.value.contains(_e)||b()},gt=()=>{o(),Ne.value&&h.value&&d.value&&u.value&&Fr(Ne.value,h.value,d.value)},As=ce=>{if(!pt.value)return;ce.data.some(nt=>{var os;return nt.target.messageUId===((os=pt.value)==null?void 0:os.messageUId)})&&(pt.value=null)};return at(()=>{var _e;o(),window.addEventListener("click",Qe),window.addEventListener("resize",gt),Ne.value.addEventListener("paste",E0);const ce=((_e=pe.value)==null?void 0:_e.draft)||"";Ne.value.value=ce,l.value=ce,t.addEventListener(ge.CONVERSATION_SELECTED,Ae),t.addEventListener(Y.SET_TEXTAREA_VALUE_EVENT,wt),t.addEventListener(ge.MESSAGES_DELETED,As)}),Rn(()=>{window.removeEventListener("click",Qe),window.removeEventListener("resize",gt),Ne.value.removeEventListener("paste",E0),t.removeEventListener(ge.CONVERSATION_SELECTED,Ae),t.removeEventListener(ge.MESSAGES_DELETED,As)}),(ce,_e)=>{const Xe=ve("rc-emoji-panel-provider"),nt=ve("rc-at-users-panel-provider"),os=ve("rc-input-reply-bar");return w(),P("div",Bm,[x($r)?(w(),Le(Xe,{key:0,class:"rc-input-emoji-panel",onInsertChat:_e[0]||(_e[0]=et=>T(et)),onSendImage:_e[1]||(_e[1]=et=>D(et))})):ue("",!0),_s(Re(nt,{onAtUser:V,onAtAll:_e[2]||(_e[2]=et=>x(xm)(x(Ne))),atAll:x(s),members:x(Dn),style:{width:"100%","box-sizing":"border-box"}},null,8,["atAll","members"]),[[Bs,x(pa)]]),y("div",jm,[(w(!0),P(De,null,Ot(g.value,et=>(w(),P("img",{class:"rc-input-menu-button",key:et.id,src:v(et),alt:et.label,onMouseenter:$t=>r.value=et.id,onMouseleave:_e[3]||(_e[3]=$t=>r.value=null),onClick:vs($t=>A(et,$t),["stop"])},null,40,Km))),128))]),y("div",{class:"rc-input-wrapper",ref_key:"main",ref:u},[x(pt)?(w(),Le(os,{key:0,class:"replay-bar",username:x(gv),desc:x(hv),thumbnail:x(pv),onCancel:_e[4]||(_e[4]=et=>pt.value=null)},null,8,["username","desc","thumbnail"])):ue("",!0),y("div",zm,[y("div",{class:"input-text-container",ref_key:"inputContainer",ref:d},[y("textarea",{ref_key:"textarea",ref:Ne,class:"textarea",placeholder:i.value?"":x(a),id:"textarea",name:"textarea",enterkeyhint:i.value?"send":void 0,onKeyup:_e[5]||(_e[5]=(...et)=>x(p0)&&x(p0)(...et)),onKeydown:ne,onInput:_e[6]||(_e[6]=et=>z(et))},null,40,qm),y("div",{ref_key:"hiddenDom",ref:h,contenteditable:"",class:"hidden-dom"},null,512)],512),y("button",{class:Je(["rc-input-send-button",{disabled:!C.value}]),disabled:!C.value,onClick:te},[y("img",{src:C.value?x(i5):x(n5),alt:"send"},null,8,Wm),i.value?ue("",!0):(w(),P("span",Qm,oe(x(We)("input.send").value),1))],10,Zm)]),_s(y("div",{class:"secondary-menu",ref_key:"secondarDOM",ref:c,onClick:_e[7]||(_e[7]=vs(()=>{},["stop"]))},[(w(!0),P(De,null,Ot(p.value,et=>(w(),P("div",{key:et.id,class:"secondary-menu-item",onClick:$t=>A(et,$t)},[y("img",{src:et.icon,alt:"Icon"},null,8,Jm),y("span",null,oe(et.label),1)],8,Ym))),128))],512),[[Bs,x(ha)]])],512)])}}}),[["styles",[`.rc-input-provider{width:100%;height:100%;display:flex;flex-direction:column;background-color:#fff;align-items:center;justify-content:center;position:relative;z-index:2;padding:0 12px;box-sizing:border-box}.rc-input-emoji-panel,.rc-input-at-prompt{float:left;width:100%;max-height:248px;border-bottom:1px solid #efefef;border-top:1px solid #efefef}.rc-input-top-buttons{width:100%;display:flex;flex-direction:row;align-items:center;padding:8px 12px;gap:8px;box-sizing:border-box}.rc-input-menu-button{width:30px;height:30px;cursor:pointer;flex-shrink:0}.rc-input-wrapper{width:100%;max-width:100%;display:flex;flex-direction:column;border:1px solid #E4E7ED;border-radius:20px;margin:0 0 12px;box-sizing:border-box;background-color:#fff;position:relative}.rc-input-inner-wrapper{display:flex;flex-direction:row;align-items:flex-start;padding:8px;gap:8px;box-sizing:border-box}.input-text-container{background:none;flex:1;font-size:14px;overflow:hidden;line-height:21px;min-height:21px;border:none;border-radius:0;margin:0;overflow-y:hidden;box-sizing:border-box}.textarea{border:none;outline:none;background:none;min-height:21px;height:36px;max-height:105px;box-sizing:border-box;padding:9px 10px;width:100%;resize:none;word-wrap:break-word;font-size:14px;line-height:21px;overflow-y:hidden;margin-top:4px}.textarea::-webkit-scrollbar{width:4px}.textarea::-webkit-scrollbar-track{background:transparent;border-radius:3px}.textarea::-webkit-scrollbar-thumb{background:rgba(0,0,0,.2);border-radius:3px;transition:background .2s}.textarea::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.3)}.textarea{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}.hidden-dom{border:none;outline:none;background:none;line-height:21px;min-height:21px;height:21px;overflow:scroll;box-sizing:border-box;padding:0;width:100%;resize:none;font-size:14px;word-wrap:break-word;color:transparent;position:absolute;visibility:hidden}.rc-input-send-button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:4px;padding:5px 16px;border:none;border-radius:30px;background-color:#ecf1ff;color:#0047ff;font-size:14px;cursor:pointer;flex-shrink:0;min-width:60px;height:28px;box-sizing:border-box;transition:background-color .2s,color .2s;margin:8px 0}.rc-input-send-button:hover:not(.disabled){background-color:#d0ddff}.rc-input-send-button.disabled{background-color:#f3f5fa;color:#ccc;cursor:not-allowed;border-radius:30px}.rc-input-send-button img{width:16px;height:16px;flex-shrink:0}.replay-bar{width:100%;padding:8px 8px 0;box-sizing:border-box}.secondary-menu{position:absolute;min-width:126px;background-color:#fff;border-radius:9px;box-shadow:0 0 4px #0000001a;padding:8px 4px;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;font-size:14px;color:#606060;z-index:1000}.secondary-menu-item{flex-direction:row;height:36px;width:100%;box-sizing:border-box;transition:background-color .2s;display:flex;align-items:center;font-size:12px;padding:5px 6px;border-radius:4px;cursor:pointer}.secondary-menu-item:hover{background-color:#d2e1fe}.secondary-menu-item img{width:18px;height:18px;margin-right:10px;flex-shrink:0}.secondary-menu-item span{white-space:nowrap}@media (max-width: 768px){.rc-input-provider{padding:0 8px}.rc-input-top-buttons{padding:8px 0;gap:6px}.rc-input-menu-button{width:28px;height:28px}.rc-input-wrapper{margin:0 0 8px;border-radius:20px}.rc-input-inner-wrapper{padding:6px;gap:6px}.rc-input-send-button{min-width:50px;font-size:12px}.rc-input-send-button span{display:none}}
381
+ `]]]),eE={class:"info"},tE=["src"],sE={class:"info-main"},nE={class:"info-title-group"},iE={class:"name"},rE=["src"],oE={class:"member-count"},aE={key:0,class:"typing-content"},lE={class:"extension"},cE=["src","onClick"],uE=Ie(Te({__name:"conversation-detail-bar-provider.ce",props:{conversation:{type:Object,required:!0},showBack:{type:Boolean,default:!0}},setup(e){const t=e,s=ye(()=>t.conversation.conversationType===f.ConversationType.GROUP),n=N(!1),i=()=>{n.value=ps()},r=()=>{var g;const E=Se();pe.value&&E.conversation.handleConversationDraft(pe.value,(g=Ne.value)==null?void 0:g.value),E.conversation.setOpenedConversation(null,!1)},o=Se(),a=o.store.getConversationExtension(),l=ye(()=>a.filter(E=>!E.filter||E.filter(t.conversation))),c=E=>{o.emit(new ie(ge.CONVERSATION_EXTENSION_CLICK,{id:E.id,conversation:t.conversation}))},u=()=>{o.statistic(li.CONVERSATION_NAVI_CLICK),o.emit(new ie(ge.CONVERSATION_NAVI_CLICK,{...t.conversation}),2)};let d=null;const h=N(!1),p=N(!1),_=N(We("conversation.detail.bar.typing").value),m=E=>{const g=E.status.findIndex(C=>pe.value&&_t(C,pe.value));if(g===-1)return;const{list:v}=E.status[g];v.length!==0&&(d&&(clearTimeout(d),d=null,h.value=!1,_.value=""),p.value=v.some(C=>C.messageType===f.MessageType.TEXT),_.value=p.value?We("conversation.detail.bar.typing").value:We("conversation.detail.bar.typing.audio").value,h.value=!0,d=setTimeout(()=>{h.value=!1,_.value=""},5e3))},L=E=>{h.value=!1},M=E=>{if(!pe.value||s.value)return;const g=E.data,v=o.userId;g.some(b=>_t(b,pe.value)&&b.senderUserId!==v)&&(d&&(clearTimeout(d),d=null),h.value=!1,_.value="")};return at(()=>{i(),window.addEventListener("resize",i),f.addEventListener(f.Events.TYPING_STATUS,m),Se().addEventListener(ge.CONVERSATION_SELECTED,L),Se().addEventListener(Y.RECV_NEW_MESSAGES,M)}),Tt(()=>{window.removeEventListener("resize",i),f.removeEventListener(f.Events.TYPING_STATUS,m),Se().removeEventListener(ge.CONVERSATION_SELECTED,L),Se().removeEventListener(Y.RECV_NEW_MESSAGES,M)}),(E,g)=>{const v=ve("rc-icon-notification");return w(),P("div",{class:Je(["rc-conversation-detail-bar",{"is-h5":n.value}])},[n.value&&e.showBack?(w(),P("div",{key:0,class:"back-button",onClick:r},[...g[0]||(g[0]=[y("span",{class:"back-icon"},"<",-1)])])):ue("",!0),y("div",eE,[y("img",{onClick:u,class:"icon",src:e.conversation.portraitUri,alt:"Conversation Icon"},null,8,tE),y("div",sE,[y("div",nE,[y("span",iE,oe(e.conversation.name),1),e.conversation.notificationLevel===5?(w(),Le(v,{key:0})):ue("",!0),s.value?(w(),P(De,{key:1},[y("img",{class:"member-icon",src:x(c5),alt:"Group Members Icon"},null,8,rE),y("span",oE,oe(e.conversation.memberCount),1)],64)):ue("",!0)])]),h.value&&!s.value?(w(),P("span",aE,oe(_.value),1)):ue("",!0)]),y("div",lE,[(w(!0),P(De,null,Ot(l.value,C=>(w(),P("img",{class:"extension-icon",src:C.icon,key:C.id,alt:"Extension Icon",onClick:b=>c(C)},null,8,cE))),128))])],2)}}}),[["styles",[`.rc-conversation-detail-bar{width:100%;height:70px;display:flex;flex-direction:row;align-items:center;border-bottom:1px dashed #E4E7ED;position:relative;z-index:2;background-color:#fff}.info{display:flex;flex-direction:row;align-items:center;flex:1 1 auto;min-width:0}.info-main{flex:1 1 auto;min-width:0;overflow:hidden}.info-title-group{display:flex;align-items:center;min-width:0;max-width:100%}.icon{width:32px;height:32px;margin:0 10px 0 20px;flex-shrink:0}.name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:16px;color:#020814;font-weight:500}.member-icon{margin:0 4px 0 20px;width:12px;height:12px;flex-shrink:0}.member-count{font-size:12px;color:#bcbcbc;flex-shrink:0}.extension{margin:0 28px 0 10px;flex-shrink:0}.extension-icon{width:26px;height:26px;margin-right:10px;cursor:pointer}.typing-content{margin-left:5px;font-size:12px;color:#7c838e;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.back-button{width:20px;height:20px;display:flex;align-items:center;justify-content:center;font-size:20px;margin-left:5px;font-weight:500;color:#000;flex-shrink:0}.is-h5 .icon{margin-left:10px}.is-h5 .extension{margin-right:12px}.is-h5 .typing-content{display:none}
382
+ `]]]);var cc=(e=>(e.LEFT_JUSTIFYING="left-justifying",e.LEFT_RIGHT="left-right",e))(cc||{});const v0={radius:20,layout:"left-right",backgroundColorForMyself:"#D2E1FE",backgroundColorForOthers:"#F3F5FA",textColorForMyself:"#020814",textColorForOthers:"#020814",showMyProfileInPrivateConversation:!0,showMyNameInPrivateConversation:!1,showMyProfileInGroupConversation:!0,showMyNameInGroupConversation:!1,showOthersProfileInPrivateConversation:!0,showOthersNameInPrivateConversation:!1,showOthersProfileInGroupConversation:!0,showOthersNameInGroupConversation:!0},dE=e=>({...e});class fE extends Ss{constructor(s){super(s);K(this,"messageBubbleCfg",{});this.setMessageBubbleCfg(v0)}_onInit(){}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this.setMessageBubbleCfg(v0)}cloneMessageBubbleCfg(){return dE(this.messageBubbleCfg)}setMessageBubbleCfg(s){this.messageBubbleCfg={...this.messageBubbleCfg,...s}}}var Zt=(e=>(e.REPLY="message.menu.item.reply",e.MULTI_CHOICE="message.menu.item.multi.choice",e.COPY="message.menu.item.copy",e.FORWARD="message.menu.item.forward",e.DELETE="message.menu.item.delete",e.SPEECH_TO_TEXT="message.menu.item.speech.to.text",e.CANCEL_SPEECH_TO_TEXT="message.menu.item.cancel.speech.to.text",e.RECALL="message.menu.item.recall",e))(Zt||{});const C0=[{id:"message.menu.item.recall",icon:qh,filter:e=>e.messageDirection===f.MessageDirection.SEND&&e.sentStatus!==f.SentStatus.FAILED&&e.sentStatus!==f.SentStatus.SENDING},{id:"message.menu.item.reply",icon:Ph,filter:e=>[f.MessageType.TEXT,f.MessageType.IMAGE,f.MessageType.FILE,f.MessageType.RICH_CONTENT,f.MessageType.REFERENCE].includes(e.messageType)&&e.sentStatus!==f.SentStatus.SENDING&&e.sentStatus!==f.SentStatus.FAILED},{id:"message.menu.item.copy",icon:Dh,filter:e=>(e.messageType===f.MessageType.TEXT||e.messageType===f.MessageType.REFERENCE)&&!!navigator.clipboard},{id:"message.menu.item.forward",icon:Zc,filter:e=>[f.MessageType.TEXT,f.MessageType.IMAGE,f.MessageType.FILE,f.MessageType.RICH_CONTENT,f.MessageType.HQ_VOICE,f.MessageType.VOICE,f.MessageType.COMBINE,f.MessageType.COMBINE_V2,f.MessageType.GIF,f.MessageType.SIGHT,f.MessageType.FILE,f.MessageType.REFERENCE].includes(e.messageType)&&e.sentStatus!==f.SentStatus.SENDING&&e.sentStatus!==f.SentStatus.FAILED},{id:"message.menu.item.multi.choice",icon:Vh},{id:"message.menu.item.delete",icon:qc,filter:e=>e.sentStatus!==f.SentStatus.SENDING}],ga=e=>e.map(t=>({...t}));class hE extends Ss{constructor(){super(...arguments);K(this,"_menu",ga(C0));K(this,"_speechToTextStore")}_onInit(){}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this._menu=ga(C0)}setSpeechToTextStore(s){this._speechToTextStore=s}getMenu(s){var l,c;const n=((l=f.getAppSettings())==null?void 0:l.isSpeechToTextEnabled)||!1,i=[f.SentStatus.SENDING,f.SentStatus.FAILED].includes(s.sentStatus),r=s.messageType===f.MessageType.HQ_VOICE,o=((c=this._speechToTextStore)==null?void 0:c.hasConverted(s.messageUId||""))||!1;let a=this._menu.filter(u=>u.id==="message.menu.item.recall"&&Date.now()-s.sentTime>this.ctx.allowedToRecallTime*1e3||s.conversationType===f.ConversationType.SYSTEM&&u.id!=="message.menu.item.copy"&&u.id!=="message.menu.item.delete"?!1:!u.filter||u.filter(s));return n&&r&&!i&&(o?a.push({id:"message.menu.item.cancel.speech.to.text",icon:zh}):a.push({id:"message.menu.item.speech.to.text",icon:Kh})),a}cloneMessageMenu(){return ga(this._menu)}setMessageMenu(s){this._menu=ga(s)}}const pE={key:0,class:"checkbox"},gE=["for"],_E=["id","value"],mE={class:"custom"},EE=["src"],vE=["data-message-uid","onMouseenter"],CE={class:"rc-kit-msg-bubble-status-row"},yE={key:0,class:"rc-kit-stt-converting"},SE={key:1,class:"rc-kit-stt-error"},TE={class:"rc-kit-stt-error-text"},IE={key:2,class:"rc-kit-stt-success"},wE={key:0,style:{padding:"5px"}},RE=450,ME=Ie(Te({__name:"message-list-provider.ce",setup(e){const t=Se(),s=N(""),n=N({}),i=N({}),r=N({}),o=N({}),a=I=>n.value[I],l=I=>{const k=i.value[I]||t.speechToTextStore.getSTTText(I)||"";return k===""?me("message.speech.to.text.empty"):k},c=I=>{if(r.value[I])return!1;if(a(I))return!0;const H=t.speechToTextStore.getSTTText(I);return H?(n.value[I]="success",i.value[I]=H,!0):!1},u=I=>{const{messageUId:k,status:H,text:X,errorCode:J}=I.data;r.value[k]||(n.value[k]=H,console.log("onSpeechToTextStateChange",k,H,X,J),J&&(o.value[k]=J),H==="success"&&X&&(i.value[k]=X))},d=["time.format.sunday","time.format.monday","time.format.tueday","time.format.wedday","time.format.thurday","time.format.friday","time.format.satday"],h=I=>{const{year:k,month:H,day:X,weekDay:J}=_i(I),ae=(Date.now()-I)/1e3/60/60/24;let xe=me("time.format.full",k,H,X);return new Date().toDateString()===new Date(I).toDateString()&&(xe=me("time.format.today")),(new Date().toDateString()!==new Date(I).toDateString()&&ae<1||1<=ae&&ae<2)&&(xe=me("time.format.yesterday")),2<=ae&&ae<7&&(xe=me(d[J])),xe},p=(I,k)=>typeof I=="string"?I:Number.isFinite(I.transactionId)?`tx-${I.transactionId}`:I.messageUId||`rc-kit-${k}`,_=ye(()=>{const I=ke.value,k=[];for(let H=I.length-1;H>=0;H-=1){const X=I[H];k.unshift(X);const J=I[H-1];J?new Date(X.sentTime).toDateString()!==new Date(J.sentTime).toDateString()&&k.unshift(h(X.sentTime)):yt||k.unshift(h(X.sentTime))}return k}),m=I=>{var k,H;return I.messageDirection===f.MessageDirection.SEND?w0.value:((k=pe.value)==null?void 0:k.conversationType)===f.ConversationType.GROUP?Dn.value.find(J=>J.userId==I.senderUserId)||{name:I.senderUserId,userId:I.senderUserId,portraitUri:(H=pe.value)==null?void 0:H.portraitUri}:{name:pe.value.name,userId:pe.value.targetId,portraitUri:pe.value.portraitUri}},L=I=>{const k=m(I);t.emit(new ie(ge.CONVERSATION_ICON_CLICK,{conversation:{conversationType:I.conversationType,targetId:I.targetId,channelId:I.channelId},profile:k}),2)},M=N(0);let E=0;const g=t.store.getCommandSwitch(xt.FOCUS_ON_LATEST_MESSAGE);let v=0;const C=I=>I.messageUId?`uid:${I.messageUId}`:I.transactionId!==void 0?`tid:${I.transactionId}`:I.messageId!==void 0?`mid:${I.messageId}`:[I.conversationType,I.targetId,I.channelId||"",I.senderUserId,I.messageType,I.sentTime].join(":"),b=(...I)=>{const k=[];I.forEach(J=>{k.push(...J)});const H=new Set,X=[];for(let J=k.length-1;J>=0;J-=1){const ae=k[J],xe=C(ae);H.has(xe)||(H.add(xe),X.unshift(ae))}return X},$=async(I,k)=>{const H={conversationType:pe.value.conversationType,targetId:pe.value.targetId,channelId:pe.value.channelId};if(k){const{code:Rt,list:Wt,hasMore:Zs}=await t.message.reqHistories(H,I-1,!1);Rt===f.ErrorCode.SUCCESS&&(ut.value=Zs,ke.value=b(Wt),await ot(),hs())}const{scrollHeight:X}=V.value,{code:J,list:ae,hasMore:xe}=await t.message.reqHistories(H,I,!0);return J===f.ErrorCode.SUCCESS&&(ke.value=b(ae,ke.value),yt=xe,await ot(),hs(),k?V.value.scrollTop=V.value.scrollHeight-X:V.value.scrollTop=V.value.scrollHeight-V.value.offsetHeight),ke.value},F=async()=>{var Zs,En;if(!pe.value)return;const{conversationType:I,targetId:k,channelId:H,unreadCount:X}=pe.value,J={conversationType:I,targetId:k,channelId:H};if(ke.value.length=0,v=0,zs=null,Nn.value=X,f.electronExtension.enable()){const{data:Ws}=await f.getFirstUnreadMessage(J);E=(Ws==null?void 0:Ws.sentTime)||0,g||(v=E)}const ae=!g&&v>0,xe=await $(v,ae);if(g&&f.electronExtension.enable()&&X){const Ws=X-xe.length;M.value=Ws<0?0:Ws}const Rt=xe.length,Wt=((Zs=xe[Rt-1])==null?void 0:Zs.sentTime)||((En=pe.value.latestMessage)==null?void 0:En.sentTime)||Date.now();Nn.value?(await t.conversation.clearUnreadCountByTimestamp(J,Wt),await t.message.sendReadReceiptMessage(J,xe)):f.electronExtension.enable()||await t.message.sendReadReceiptMessage(J,xe)},A=(I,k)=>!0,U=N(),O=I=>{var ae,xe,Rt,Wt;const k=(ae=U.value)==null?void 0:ae.showMyProfileInGroupConversation,H=(xe=U.value)==null?void 0:xe.showMyProfileInPrivateConversation,X=(Rt=U.value)==null?void 0:Rt.showOthersProfileInGroupConversation,J=(Wt=U.value)==null?void 0:Wt.showOthersProfileInPrivateConversation;return I.messageDirection===f.MessageDirection.SEND&&I.conversationType===f.ConversationType.PRIVATE?!!H:I.messageDirection===f.MessageDirection.SEND&&I.conversationType===f.ConversationType.GROUP?!!k:I.messageDirection===f.MessageDirection.RECEIVE&&I.conversationType===f.ConversationType.PRIVATE?!!J:I.messageDirection===f.MessageDirection.RECEIVE&&I.conversationType===f.ConversationType.GROUP?!!X:!1},T=I=>{var ae,xe,Rt,Wt;const k=(ae=U.value)==null?void 0:ae.showMyNameInPrivateConversation,H=(xe=U.value)==null?void 0:xe.showMyNameInGroupConversation,X=(Rt=U.value)==null?void 0:Rt.showOthersNameInGroupConversation,J=(Wt=U.value)==null?void 0:Wt.showOthersNameInPrivateConversation;return I.messageDirection===f.MessageDirection.SEND&&I.conversationType===f.ConversationType.PRIVATE?!!k:I.messageDirection===f.MessageDirection.SEND&&I.conversationType===f.ConversationType.GROUP?!!H:I.messageDirection===f.MessageDirection.RECEIVE&&I.conversationType===f.ConversationType.PRIVATE?!!J:I.messageDirection===f.MessageDirection.RECEIVE&&I.conversationType===f.ConversationType.GROUP?!!X:!1},D=I=>{var k;return I.messageDirection===1&&((k=U.value)==null?void 0:k.layout)===cc.LEFT_RIGHT?"row-reverse":"row"},z=(I,k)=>{if(!U.value)return;const H=Vn(U.value.textColorForOthers),X=Vn(U.value.backgroundColorForOthers),J=Vn(U.value.textColorForMyself),ae=Vn(U.value.backgroundColorForMyself);let xe=H,Rt=X,Wt=`${U.value.radius}px`;return I.messageDirection===f.MessageDirection.SEND&&(xe=J,Rt=ae),[j.MessageType.IMAGE,j.MessageType.SIGHT,j.MessageType.GIF].includes(I.messageType)&&(Rt=Rt+"00"),{color:xe,backgroundColor:Rt,borderRadius:Wt}},ee=I=>{var k;return I.messageDirection===1&&((k=U.value)==null?void 0:k.layout)==="left-right"},te=I=>{if(![j.SentStatus.SENDING,j.SentStatus.FAILED].includes(I.sentStatus))switch(I.messageType){case j.MessageType.IMAGE:t.emit(new ie(ge.MEDIA_MESSAGE_MODAL_EVENT,I));break;case j.MessageType.SIGHT:t.audioPlayer.pause(),t.emit(new ie(ge.MEDIA_MESSAGE_MODAL_EVENT,I));break;case j.MessageType.GIF:t.emit(new ie(ge.MEDIA_MESSAGE_MODAL_EVENT,I));break;case j.MessageType.COMBINE:case j.MessageType.COMBINE_V2:t.emit(new ie(ge.COMBINE_MESSAGE_MODAL_EVENT,I));break}},ne=N(),V=N(),Ae=N(),wt=N([]),Qe=tn({left:0,top:0,display:"none"}),gt=Sc(V),As=N(),ce=N(!1),_e=()=>{ce.value=ps()},Xe=(I,k)=>{if(!ne.value)return 0;const H=ne.value.getBoundingClientRect(),X=k-H.top;return H.height-X<I?X-I:X},nt=(I,k)=>{if(!ne.value)return 0;const H=ne.value.getBoundingClientRect(),X=k-H.left;return H.width-X<I?X-I:X},os=async(I,k)=>{if(Os.value)return;Ht();let H=k;"detail"in k&&Array.isArray(k.detail)&&k.detail[0]instanceof MouseEvent&&(H=k.detail[0]),As.value=I;let X=t.msgMenu.getMenu(I).map(J=>({id:J.id,icon:J.icon,label:me(J.id),message:I}));if(I.messageType===j.MessageType.HQ_VOICE&&I.messageUId){const J=c(I.messageUId),ae=X.findIndex(xe=>xe.id===Zt.SPEECH_TO_TEXT||xe.id===Zt.CANCEL_SPEECH_TO_TEXT);ae!==-1&&(J?X[ae]={id:Zt.CANCEL_SPEECH_TO_TEXT,icon:X[ae].icon,label:me(Zt.CANCEL_SPEECH_TO_TEXT),message:I}:X[ae]={id:Zt.SPEECH_TO_TEXT,icon:X[ae].icon,label:me(Zt.SPEECH_TO_TEXT),message:I})}wt.value.splice(0,wt.value.length,...X),Qe.left=nt(Ae.value.clientWidth,H.clientX),Qe.display="block",await ot(),Qe.top=Xe(Ae.value.clientHeight,H.clientY),Qe.left=nt(Ae.value.clientWidth,H.clientX)},et=async(I,k)=>{switch(t.statistic(li.CONVERSATION_MESSAGE_OPTION_CLICK),I){case Zt.COPY:const H=k.content.content||"";if(!navigator.clipboard||!H)return;navigator.clipboard.writeText(H),t.emit(new ie(ge.TOAST_EVENT,{message:t.i18n.format("toast.copy.success"),showIcon:!0}));break;case Zt.DELETE:A0([k]);break;case Zt.RECALL:Ev([k]);break;case Zt.MULTI_CHOICE:Os.value=!0;break;case Zt.REPLY:pt.value=k;break;case Zt.FORWARD:L0(Fn.SINGLE,[k]);break;case Zt.SPEECH_TO_TEXT:if(k.messageUId)if(delete r.value[k.messageUId],t.speechToTextStore.hasConverted(k.messageUId)){const J=t.speechToTextStore.getSTTText(k.messageUId)||"";n.value[k.messageUId]="success",i.value[k.messageUId]=J}else n.value[k.messageUId]="converting",await t.speechToTextStore.requestForMessage(k);break;case Zt.CANCEL_SPEECH_TO_TEXT:k.messageUId&&(r.value[k.messageUId]=!0,delete n.value[k.messageUId],delete i.value[k.messageUId]);break;default:t.emit(new ie(ge.MESSAGE_MENU_ITEM_CLICK,{id:I,message:k}));break}},$t=()=>{Qe.display="none"};ls(()=>Qe.display,I=>{I==="block"?gt.disableScroll():gt.enableScroll()});const qi=(I,k)=>{I.sentStatus===j.SentStatus.FAILED?t.message.resendMessage(I):I.conversationType===f.ConversationType.GROUP&&(I.sentStatus===j.SentStatus.SENT||I.sentStatus===j.SentStatus.READ)&&t.readReceiptVersion===j.GroupReadReceiptVersion.V5&&(S.value=I.messageUId,tt(I,k))},Ks=N(!1),S=N(""),R=N(null),G=N([]),Q=N([]),q=N(void 0),W=N(void 0),le=N(!1),re=N(!1),se=N(!1),Z=N(!1),fe=tn({top:0,left:0,anchor:"top-right"}),de=N(null),Ce=N(0),Me=N(0),$e=I=>{var Ee,pi;if(!V.value||!ne.value)return;if(!I)if((Ee=R.value)!=null&&Ee.messageUId){const vn=(pi=V.value)==null?void 0:pi.querySelector(`.rc-kit-msg-list-item[data-message-uid="${R.value.messageUId}"]`);if(vn){const Mt=vn.querySelector(".rc-kit-msg-sent-status")||vn.querySelector(".rc-kit-message-sent-status");if(Mt)de.value=Mt,I=Mt;else{console.warn("[ReadReceipt] status element not found during update");return}}else{console.warn("[ReadReceipt] message item not found during update");return}}else return;const k=I.getBoundingClientRect(),H=ne.value.getBoundingClientRect(),X=k.top-H.top,J=k.bottom-H.top,ae=k.left-H.left,xe=k.right-H.left,Rt=H.height/2,Wt=344,Zs=20,En=X<Rt,Ws=xe+Zs+Wt<=H.width;if(ae-Wt>=0)En?(fe.top=X,fe.left=ae,fe.anchor="top-right"):(fe.top=J,fe.left=ae,fe.anchor="bottom-right");else if(Ws)En?(fe.top=X,fe.left=xe+Zs,fe.anchor="top-left"):(fe.top=J,fe.left=xe+Zs,fe.anchor="bottom-left");else{const vn=H.width/2;En?(fe.top=X,fe.left=vn,fe.anchor="top-center"):(fe.top=J,fe.left=vn,fe.anchor="bottom-center")}},tt=async(I,k)=>{var X;if($t(),!I.messageUId||I.conversationType!==f.ConversationType.GROUP){console.log("[ReadReceipt] handleShowReadReceiptModal: invalid message",{messageUId:I.messageUId,conversationType:I.conversationType});return}R.value=I,G.value=[],Q.value=[],q.value=void 0,W.value=void 0,le.value=!1,re.value=!1,Ce.value=0,Me.value=0,await ot();let H=null;if(k&&k.target){const J=k.target;J&&typeof J.closest=="function"&&(H=J.closest(".rc-kit-msg-sent-status")||J.closest(".rc-kit-message-sent-status")),!H&&J&&(J.classList.contains("rc-kit-msg-sent-status")||J.classList.contains("rc-kit-message-sent-status"))&&(H=J)}if(!H){const J=(X=V.value)==null?void 0:X.querySelector(`.rc-kit-msg-list-item[data-message-uid="${I.messageUId}"]`);J&&(H=J.querySelector(".rc-kit-msg-sent-status")||J.querySelector(".rc-kit-message-sent-status"))}H?(de.value=H,$e(H)):(console.warn("[ReadReceipt] status element not found, using default position"),fe.top=ne.value?ne.value.clientHeight/2:0,fe.left=ne.value?ne.value.clientWidth/2:0,fe.anchor="top-left"),await Promise.all([ze(I,!0),Ft(I,!0)]),Ks.value=!0},ze=async(I,k=!1)=>{if(!se.value){se.value=!0;try{const H={conversationType:I.conversationType,targetId:I.targetId,channelId:I.channelId},X=15,{code:J,data:ae}=await t.message.getMessagesReadReceiptUsersByPageV5(H,I.messageUId,{pageToken:q.value,count:X,type:"read"});J===f.ErrorCode.SUCCESS&&ae?(G.value.push(...ae.users||[]),q.value=ae.pageToken,Ce.value=ae.totalCount||0,le.value=ae.totalCount&&ae.totalCount>G.value.length):console.warn("[ReadReceipt] loadReadUsers: failed",{code:J,data:ae})}catch(H){console.warn("[ReadReceipt] loadReadUsers error:",H)}finally{se.value=!1}}},Ft=async(I,k=!1)=>{if(!Z.value){Z.value=!0;try{const H={conversationType:I.conversationType,targetId:I.targetId,channelId:I.channelId},X=15,{code:J,data:ae}=await t.message.getMessagesReadReceiptUsersByPageV5(H,I.messageUId,{pageToken:W.value,count:X,type:"unread"});J===f.ErrorCode.SUCCESS&&ae?(Q.value.push(...ae.users||[]),W.value=ae.pageToken,Me.value=ae.totalCount||0,re.value=ae.totalCount&&ae.totalCount>Q.value.length):console.warn("[ReadReceipt] loadUnreadUsers: failed",{code:J,data:ae})}catch(H){console.warn("[ReadReceipt] loadUnreadUsers error:",H)}finally{Z.value=!1}}},Ut=async(I,k)=>{if(!R.value)return;const H=I.scrollTop||0,X=I.scrollHeight||0,J=I.clientHeight||0;X-H-J<50&&(k==="read"&&le.value&&!se.value?await ze(R.value,!1):k==="unread"&&re.value&&!Z.value&&await Ft(R.value,!1))},fs=I=>{const[k,H]=I.detail;Ut(k,H)},Ht=()=>{console.log("[ReadReceipt] handleCloseReadReceiptModal"),Ks.value=!1,R.value=null,G.value=[],Q.value=[],q.value=void 0,W.value=void 0,le.value=!1,re.value=!1,Ce.value=0,Me.value=0,de.value=null},Pn=I=>{Ks.value&&(I.target.closest(".read-receipt-popover")||Ht())};let zs=null,yt=!0,ut=N(!1);const mn=N(1),Zi=N(0),zr=N(0),_c=N(),qr=N(!0),Wi=N(!1),mc=N(!1);let qs=null;const Dv=()=>{mc.value=!0,Wi.value=!0,qs&&clearTimeout(qs)},Pv=()=>{mc.value=!1,qs&&clearTimeout(qs),qs=setTimeout(()=>{Wi.value=!1},1e3)},Vv=()=>{if(gt.isScrollDisabled||(Wi.value=!0,qs&&clearTimeout(qs),mc.value||(qs=setTimeout(()=>{Wi.value=!1},1e3)),!pe.value||ke.value.length===0))return;const I={conversationType:pe.value.conversationType,targetId:pe.value.targetId,channelId:pe.value.channelId},{scrollHeight:k,scrollTop:H,clientHeight:X}=V.value;if(qr.value=k-X-H<=100,zr.value=V.value.scrollTop*100/X*mn.value||0,H<=200&&!zs){if(!yt)return;zs=setTimeout(async()=>{$v(I,k)},1e3)}if(Ks.value&&$e(de.value),ut.value&&k-H-X<=200&&!zs){if(!ut.value)return;zs=setTimeout(async()=>{Fv(I,X)},1e3)}},$v=async(I,k)=>{const{hasMore:H,code:X,list:J}=await t.message.reqHistories(I,ke.value[0].sentTime,!0);if(X===f.ErrorCode.SUCCESS){if(ke.value=[...J,...ke.value],yt=H,M.value){const ae=M.value-J.length;M.value=ae<0?0:ae}await ot(),hs(),V.value.scrollTop=V.value.scrollHeight-k,ke.value.length>300&&(ke.value.splice(300),await ot(),hs(),ut.value=!0),I.conversationType===f.ConversationType.GROUP&&f.electronExtension.enable()&&await t.message.sendReadReceiptMessage(I,J)}zs=null},Fv=async(I,k)=>{const{hasMore:H,code:X,list:J}=await t.message.reqHistories(I,ke.value[ke.value.length-1].sentTime,!1);if(X===0){ke.value=[...ke.value,...J],ut.value=H,Nn.value&&(f.electronExtension.enable()&&(await t.conversation.clearUnreadCountByTimestamp(I,J[J.length-1].sentTime),await t.message.sendReadReceiptMessage(I,J)),!f.electronExtension.enable()&&!H&&(await t.conversation.clearUnreadCountByTimestamp(I,J[J.length-1].sentTime),await t.message.sendReadReceiptMessage(I,J))),await ot(),hs(),zr.value=V.value.scrollTop*100/k*mn.value||0;const ae=_c.value.offsetHeight;ke.value.length>300&&(ke.value.splice(0,ke.value.length-300),await ot(),hs(),V.value.scrollTop=V.value.scrollTop-(ae-_c.value.offsetHeight))}zs=null},Hv=I=>{if(gt.isScrollDisabled||!V.value)return;const k=I.detail[0];V.value.scrollTop=k*V.value.scrollHeight/100},hs=()=>{if(!V.value)return;const I=V.value.offsetHeight**2/V.value.scrollHeight,k=Math.floor(I*100)/100,H=Math.max(k,20),X=k/(V.value.offsetHeight-k)/(H/(V.value.offsetHeight-H));mn.value=Math.floor(X*100)/100||1,Zi.value=k<V.value.offsetHeight?Math.floor(H):0},Ec=async()=>{if(await ot(),!V.value)return;hs();const{scrollHeight:I,clientHeight:k}=V.value;V.value.scrollTop=Math.max(I-k,0),qr.value=!0},Gv=async()=>{if(!pe.value)return;const I={conversationType:pe.value.conversationType,targetId:pe.value.targetId,channelId:pe.value.channelId},{code:k,list:H,hasMore:X}=await t.message.reqHistories(I,0,!0);if(k===f.ErrorCode.SUCCESS){ke.value.length=0,ke.value=H,yt=X,ut.value=!1,await ot(),hs();const{scrollHeight:J,offsetHeight:ae}=V.value;if(V.value.scrollTop=J-ae,zr.value=V.value.scrollTop*100/ae*mn.value,await t.conversation.clearUnreadCountByTimestamp(I,H[H.length-1].sentTime),f.electronExtension.enable()){const{data:xe}=await f.getFirstUnreadMessage(I);xe&&xe.sentTime>H[0].sentTime&&H.unshift(mi(xe))}await t.message.sendReadReceiptMessage(I,H)}},Bv=async()=>{if(!pe.value)return;const I={conversationType:pe.value.conversationType,channelId:pe.value.channelId,targetId:pe.value.targetId};M.value=0,ut.value=!0,hs();const k=await $(E,!0);k.length&&await t.message.sendReadReceiptMessage(I,k)},vc=N(),jv=ls(Ls,I=>{const k=bs.value.length,H=[];I.forEach(X=>{const J=ke.value.findIndex(ae=>ae.messageUId?ae.messageUId==X:`${ae.transactionId}`==X);J>-1&&H.push(ke.value[J])}),bs.value.splice(0,k,...H)},{deep:!0}),Kv=()=>{if(!ne.value||!V.value||!vc.value)return;const I=ne.value.getBoundingClientRect().top,k=vc.value.getBoundingClientRect().top-I,H=V.value.querySelectorAll(".rc-kit-msg-list-box");for(let X=H.length-1;X>=1&&H[X].getBoundingClientRect().top-I>k;X--){const ae=H[X].querySelectorAll(".checkbox input");if(ae.length<=0)continue;zv(ae)}Hr.value=!Hr.value},zv=I=>{if(Hr.value)I[0].checked=!0,Ls.value.findIndex(H=>I[0].value===H)===-1&&Ls.value.unshift(I[0].value);else{I[0].checked=!1;const k=Ls.value.findIndex(H=>I[0].value===H);k>=0&&Ls.value.splice(k,1)}},F0=async I=>{I.data.forEach(k=>{const{target:H,recallMsg:X}=k,J=ke.value.findIndex(ae=>ae.transactionId===H.transactionId||ae.messageUId&&ae.messageUId===H.messageUId);if(J!==-1)if(X){ke.value.splice(J,1,X);const ae=Ls.value.findIndex(xe=>xe===X.content.messageUId);if(ae===-1)return;Ls.value.splice(ae,1)}else ke.value.splice(J,1)}),await ot(),hs()},H0=I=>{const{message:k}=I.data,H=yn(ke.value,X=>X.transactionId===k.transactionId);H!==-1&&ke.value.splice(H,1,{...k})},G0=I=>{I.data.forEach(k=>{if(_t(pe.value,k)){const H=yn(ke.value,ae=>ae.messageUId?ae.messageUId===k.messageUId:ae.transactionId===k.transactionId);if(H===-1)return;const X=ke.value[H].sentTime,J=JSON.parse(JSON.stringify(k));if(k.sentTime!==X){ke.value.splice(H,1);const ae=yn(ke.value,xe=>xe.sentTime<=k.sentTime);ke.value.splice(ae+1,0,J)}else ke.value.splice(H,1,J)}})},qv=I=>{t.emit(new ie(ge.MESSAGE_LINK_CLICK,I.detail[0]))},B0=async I=>{if(!pe.value)return;const k={conversationType:pe.value.conversationType,targetId:pe.value.targetId,channelId:pe.value.channelId},H=[];if(I.data.forEach(async J=>{const ae=ke.value.findIndex(xe=>xe.messageUId===J.messageUId);_t(k,J)&&ae<0&&H.push(J)}),!H.length)return;if(!qr.value||ut.value){ut.value=!0;return}ke.value=b(ke.value,H),Ec();const X=H.length;setTimeout(async()=>{const{code:J}=await t.conversation.clearUnreadCountByTimestamp(k,H[X-1].sentTime);J===f.ErrorCode.SUCCESS&&await t.message.sendReadReceiptMessage(k,H)},100)},j0=async I=>{if(ut.value){const{code:k,list:H,hasMore:X}=await t.message.reqHistories({conversationType:pe.value.conversationType,targetId:pe.value.targetId,channelId:pe.value.channelId},0,!0);k===f.ErrorCode.SUCCESS&&(ke.value.length=0,ke.value=b(H),yt=X,ut.value=!1,Ec());return}I.data.forEach(async k=>{_t(pe.value,k)&&(ke.value=b(ke.value,[k]),ke.value.length>300&&ke.value.splice(0,ke.value.length-300),Ec())})},K0=I=>{yt=!0,ut.value=!1,Os.value=!1,M.value=0,F()};let Ea=null;const Zv=(I,k)=>{let H=null;return window&&"ResizeObserver"in window&&I&&(H=new ResizeObserver(k),H.observe(I)),H},va=I=>{Os.value&&I.stopImmediatePropagation()},Wv=()=>{V.value&&(hs(),zr.value=V.value.scrollTop*100/V.value.offsetHeight*mn.value||0)},z0=async()=>{V.value&&(await ot(),requestAnimationFrame(()=>{if(!V.value)return;const I=V.value,{scrollHeight:k,scrollTop:H,clientHeight:X}=I,J=k-X-H;(qr.value||J<=RE)&&requestAnimationFrame(()=>{if(!V.value)return;const{scrollHeight:xe,clientHeight:Rt}=V.value;V.value.scrollTop=Math.max(xe-Rt,0),qr.value=!0})}))};return at(async()=>{window.addEventListener("click",$t),window.addEventListener("click",Pn),_e(),window.addEventListener("resize",_e),window.addEventListener("resize",hs),t.addEventListener(ge.CONVERSATION_SELECTED,K0),t.addEventListener(Y.RECV_NEW_MESSAGES,B0),t.addEventListener(Y.INSERT_NEW_MESSAGES,j0),t.addEventListener(ge.MESSAGES_DELETED,F0),t.addEventListener(Y.MESSAGE_STATE_CHANGE,G0),t.addEventListener(Y.FILE_UPLOAD_PROGRESS,H0),t.addEventListener(Y.SPEECH_TO_TEXT_STATE_CHANGE,u),t.addEventListener(Y.ADJUST_MESSAGE_LIST_SCROLL,z0),F(),U.value=t.bubble.messageBubbleCfg,V.value&&(Ea=Zv(V.value,Wv))}),Tt(()=>{gt.enableScroll(),qs&&clearTimeout(qs),t.removeEventListener(ge.CONVERSATION_SELECTED,K0),t.removeEventListener(Y.RECV_NEW_MESSAGES,B0),t.removeEventListener(Y.INSERT_NEW_MESSAGES,j0),t.removeEventListener(ge.MESSAGES_DELETED,F0),t.removeEventListener(Y.MESSAGE_STATE_CHANGE,G0),t.removeEventListener(Y.FILE_UPLOAD_PROGRESS,H0),t.removeEventListener(Y.SPEECH_TO_TEXT_STATE_CHANGE,u),t.removeEventListener(Y.ADJUST_MESSAGE_LIST_SCROLL,z0),window.removeEventListener("click",$t),window.removeEventListener("click",Pn),window.removeEventListener("resize",_e),window.removeEventListener("resize",hs),jv(),V.value&&(Ea==null||Ea.unobserve(V.value))}),(I,k)=>{var Cc;const H=ve("rc-message-time"),X=ve("rc-grey-message-provider"),J=ve("rc-icon"),ae=ve("rc-message-sent-status"),xe=ve("rc-message-bubble"),Rt=ve("rc-scrollbar-thumb-provider"),Wt=ve("rc-message-list-menu-item"),Zs=ve("rc-message-select"),En=ve("rc-message-location"),Ws=ve("rc-read-receipt-modal");return x(pe)?(w(),P("div",{key:0,class:"rc-kit-msg-list",ref_key:"messageViewportRef",ref:ne},[y("div",{class:"rc-kit-msg-list-scroll",ref_key:"messageListRef",ref:V,onScroll:Vv},[y("div",{ref_key:"messageBoxRef",ref:_c,style:{padding:"10px"}},[(w(!0),P(De,null,Ot(_.value,(Ee,pi)=>{var vn;return w(),P("div",{class:"rc-kit-msg-list-box",key:p(Ee,pi)},[typeof Ee!="string"&&Ee.sentStatus!==10&&x(Os)&&!x(b0)(Ee.messageType)?(w(),P("div",pE,[y("label",{for:Ee.messageUId||`${Ee.transactionId}`},[_s(y("input",{id:Ee.messageUId||`${Ee.transactionId}`,type:"checkbox","onUpdate:modelValue":k[0]||(k[0]=Mt=>dt(Ls)?Ls.value=Mt:null),value:Ee.messageUId||`${Ee.transactionId}`},null,8,_E),[[wr,x(Ls)]]),y("span",mE,[y("img",{src:x(Wc),alt:"CHECKED_ICON"},null,8,EE)])],8,gE)])):ue("",!0),typeof Ee=="string"?(w(),Le(H,{key:1,class:"rc-kit-time-section",time:Ee},null,8,["time"])):(w(),P(De,{key:2},[x(b0)(Ee.messageType)?(w(),Le(X,{key:0,class:"rc-kit-grey-message",onClickCapture:k[1]||(k[1]=Mt=>va(Mt)),message:Ee},null,8,["message"])):(w(),P("div",{key:1,class:"rc-kit-msg-list-item","data-message-uid":Ee.messageUId,style:it({"flex-direction":D(Ee)}),onClickCapture:k[2]||(k[2]=Mt=>va(Mt)),onMouseenter:Mt=>s.value=Ee.messageUId,onMouseleave:k[3]||(k[3]=Mt=>s.value="")},[O(Ee)?(w(),Le(J,{key:0,class:"rc-kit-msg-avatar",url:m(Ee).portraitUri,width:32,height:32,style:it({opacity:A(Ee,_.value[pi-1])?1:0}),radius:50,onClick:Mt=>L(Ee),online:!1},null,8,["url","style","onClick"])):ue("",!0),y("div",{class:Je(["rc-kit-msg-bubble-wrapper",{"rc-kit-msg-bubble-wrapper-right":ee(Ee)}])},[y("div",CE,[x(x0)(Ee)?(w(),Le(ae,{key:0,class:"rc-kit-msg-sent-status",type:0,message:Ee,onSentStatusClick:Mt=>qi(Ee,Mt)},null,8,["message","onSentStatusClick"])):ue("",!0),Re(xe,{class:"rc-kit-msg-bubble",showname:T(Ee),align:ee(Ee),message:Ee,"message-uid":Ee.messageUId,profile:m(Ee),"is-h5":ce.value,"bubble-color-style":z(Ee,A(Ee,_.value[pi-1])),"menu-active":Qe.display==="block"&&((vn=As.value)==null?void 0:vn.messageUId)===Ee.messageUId,"is-item-hover":s.value===Ee.messageUId,onSentStatusClick:Mt=>qi(Ee),onClick:Mt=>te(Ee),onMenuClick:Mt=>os(Ee,Mt),onContextmenu:vs(Mt=>os(Ee,Mt),["prevent"])},{default:ft(()=>[(w(),Le(el(x(O0)(Ee.messageType)),{onLink:qv,message:Ee},null,40,["message"]))]),_:2},1032,["showname","align","message","message-uid","profile","is-h5","bubble-color-style","menu-active","is-item-hover","onSentStatusClick","onClick","onMenuClick","onContextmenu"])]),Ee.messageType===x(j.MessageType).HQ_VOICE&&Ee.messageUId&&c(Ee.messageUId)?(w(),P("div",{key:0,class:Je(["rc-kit-stt-status",{"rc-kit-stt-status-right":ee(Ee)}])},[a(Ee.messageUId)==="converting"?(w(),P("div",yE,[...k[6]||(k[6]=[y("div",{class:"rc-kit-stt-loading"},[y("div",{class:"rc-kit-stt-loading-dot"}),y("div",{class:"rc-kit-stt-loading-dot"}),y("div",{class:"rc-kit-stt-loading-dot"})],-1)])])):a(Ee.messageUId)==="error"?(w(),P("div",SE,[Re(J,{url:x(e1),radius:50,width:16,height:16,class:"rc-kit-stt-error-icon"},null,8,["url"]),y("span",TE,oe(o.value[Ee.messageUId]===x(f.ErrorCode).SPEECH_TO_TEXT_MESSAGE_CONTENT_UNSUPPORTED?x(We)("message.speech.to.text.unsupported"):x(We)("message.speech.to.text.failed")),1)])):a(Ee.messageUId)==="success"?(w(),P("div",IE,oe(l(Ee.messageUId)),1)):ue("",!0)],2)):ue("",!0)],2)],44,vE))],64))])}),128))],512)],544),Zi.value?(w(),Le(Rt,{key:0,onHandlemove:Hv,onMouseenter:Dv,onMouseleave:Pv,height:Zi.value,move:zr.value,scrollheight:(Cc=V.value)==null?void 0:Cc.scrollHeight,ratio:mn.value,style:it({opacity:Wi.value?1:0,transition:"opacity 0.5s",pointerEvents:Wi.value?"auto":"none"})},null,8,["height","move","scrollheight","ratio","style"])):ue("",!0),ce.value&&Qe.display==="block"?(w(),P("div",{key:1,class:"rc-message-list-menu-mask",onClick:$t})):ue("",!0),y("div",{class:"rc-message-list-menu",ref_key:"messageMenuRef",ref:Ae,style:it({top:`${Qe.top}px`,left:`${Qe.left}px`,display:Qe.display})},[wt.value.length>0?(w(),P("div",wE,[(w(!0),P(De,null,Ot(wt.value,Ee=>(w(),Le(Wt,{icon:Ee.icon,id:Ee.id,label:Ee.label,onClick:pi=>et(Ee.id,Ee.message)},null,8,["icon","id","label","onClick"]))),256))])):ue("",!0)],4),x(Os)?(w(),Le(Zs,{key:2,class:"rc-kit-select",selected:!!x(Hr),onSelect:Kv,ref_key:"DOMSelect",ref:vc},null,8,["selected"])):ue("",!0),x(Nn)>0&&x(ut)?(w(),Le(En,{key:3,onClickCapture:k[4]||(k[4]=Ee=>va(Ee)),count:x(Nn),direction:1,onLocation:Gv},null,8,["count"])):ue("",!0),M.value>0&&x(g)?(w(),Le(En,{key:4,onClickCapture:k[5]||(k[5]=Ee=>va(Ee)),count:M.value,direction:0,onLocation:Bv},null,8,["count"])):ue("",!0),Ks.value?(w(),Le(Ws,{key:5,message:R.value,visible:Ks.value,"read-users":G.value,"unread-count":Me.value,"read-count":Ce.value,"unread-users":Q.value,"read-loading":se.value,"unread-loading":Z.value,position:fe,onClose:Ht,onReadStatusScroll:fs},null,8,["message","visible","read-users","unread-count","read-count","unread-users","read-loading","unread-loading","position"])):ue("",!0)],512)):ue("",!0)}}}),[["styles",[`p{margin:0}ul,li{padding:0;margin:0;list-style:none}.rc-kit-msg-list{position:relative;overflow:hidden;height:100%;box-sizing:border-box}.rc-kit-msg-list-scroll{overflow-y:scroll;overflow-x:hidden;height:100%;scrollbar-width:none;box-sizing:border-box}.rc-kit-msg-list-scroll::-webkit-scrollbar{display:none}.rc-kit-msg-list-item{display:flex;flex:1;min-width:0}.rc-kit-grey-message{flex:1;text-align:center}.rc-kit-msg-avatar{padding:0 8px}.rc-kit-msg-bubble-wrapper{display:flex;flex-direction:column;max-width:70%;align-items:flex-start}.rc-kit-msg-bubble-wrapper-right{align-items:flex-end}.rc-kit-msg-bubble-status-row{display:flex;flex-direction:row;align-items:inherit;gap:4px;position:relative;min-width:0;max-width:100%}.rc-kit-msg-bubble{padding-bottom:10px;border-radius:8px 0;font-size:12px;line-height:16px;overflow:hidden;min-width:0;max-width:100%}@media (max-width: 768px){.rc-kit-msg-bubble{user-select:none;-webkit-user-select:none}}@media (min-width: 768px){.rc-kit-msg-sent-status{position:absolute;bottom:0;left:8px}}.rc-kit-msg-sent-status{width:18px;height:18px;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding-bottom:10px}.rc-kit-stt-status{padding:9px;font-size:14px;line-height:18px;word-break:break-word;display:flex;flex-direction:column;box-sizing:border-box;border-radius:8px;background:#E3E7EF}.rc-kit-stt-status-right{align-items:flex-end;border-radius:8px}.rc-kit-stt-converting{display:flex;align-items:center}.rc-kit-stt-loading{display:block;font-size:0;color:#000;width:54px}.rc-kit-stt-loading .rc-kit-stt-loading-dot{display:inline-block;float:none;background-color:currentColor;border:0 solid currentColor;width:6px;height:6px;margin:4px;border-radius:100%;animation:ball-pulse 1s ease infinite}.rc-kit-stt-loading .rc-kit-stt-loading-dot:nth-child(1){animation-delay:-.2s}.rc-kit-stt-loading .rc-kit-stt-loading-dot:nth-child(2){animation-delay:-.1s}.rc-kit-stt-loading .rc-kit-stt-loading-dot:nth-child(3){animation-delay:0ms}@keyframes ball-pulse{0%,80%,to{transform:scale(0);opacity:.5}40%{transform:scale(1);opacity:1}}.rc-kit-stt-error{display:flex;align-items:center;gap:4px}.rc-kit-stt-error-text{color:#1d2129}.rc-kit-stt-success{color:#333;min-height:18px;line-height:18px;white-space:pre-wrap;display:block}.rc-message-list-menu{position:absolute;top:0;left:0;z-index:3;background-color:#fff;border-radius:9px;box-shadow:0 5px 16px #00000014;min-width:95px}.rc-message-list-menu-mask{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%}.rc-kit-msg-list-box{display:flex;align-items:center}.rc-kit-time-section{width:100%}.rc-kit-msg-list-box .checkbox{margin-right:7px;align-self:flex-start}.rc-kit-msg-list-box .checkbox input[type=checkbox]{display:none}.rc-kit-msg-list-box .checkbox .custom{display:flex;width:16px;height:16px;border:1px solid #ABB8CB;border-radius:50%;background-color:#fff;font-size:0;justify-content:center;align-items:center;cursor:pointer}.rc-kit-msg-list-box .checkbox input[type=checkbox]:checked+.custom{background-color:#16d258;border-color:#16d258}.rc-kit-select{position:absolute;top:150px;left:0;width:100%;box-sizing:border-box;z-index:1}
383
+ `]]]),OE={class:"menu-list"},bE=["onClick"],LE=["src"],AE={class:"emoji-list"},xE=["onClick"],kE=["onClick"],UE=["src","width","height"],NE=Ie(Te({__name:"emoji-panel-provider.ce",setup(e,{emit:t}){const s=t,n=Se(),i=N([]),r=n.input.cloneChatEmojiLibrary(),o=N(0),a=ye(()=>[{icon:r.icon,index:0}].concat(...i.value.map((c,u)=>({icon:c.icon,index:u+1})))),l=ye(()=>{if(o.value===0)return[];const c=i.value[o.value-1],{itemWidth:u,itemHeight:d,items:h}=c;return h.map(p=>({width:u,height:d,thumbnail:p.thumbnail,url:p.url,gif:p.gif}))});return at(()=>{i.value=n.input.cloneImageEmojiLibraries()}),Tt(()=>{}),(c,u)=>(w(),P("div",{class:"emoji-pannel-root",onClick:u[0]||(u[0]=d=>d.stopPropagation())},[y("div",OE,[(w(!0),P(De,null,Ot(a.value,d=>(w(),P("div",{key:d.index,onClick:h=>o.value=d.index,class:Je(d.index===o.value?"menu-button menu-button-selected":"menu-button")},[y("img",{src:d.icon,alt:"Emoji"},null,8,LE)],10,bE))),128))]),y("div",AE,[(w(!0),P(De,null,Ot(x(r).chats,d=>_s((w(),P("div",{class:"chat-emoji-item",onClick:h=>{s("insert-chat",d)}},[y("span",null,oe(d),1)],8,xE)),[[Bs,o.value===0]])),256)),o.value>0?(w(!0),P(De,{key:0},Ot(l.value,(d,h)=>(w(),P("div",{class:"image-emoji-item",onClick:p=>s("send-image",d),key:h,style:it(`width: ${d.width}px; height: ${d.height}px;`)},[y("img",{src:d.thumbnail,width:d.width,height:d.height,alt:"Emoji"},null,8,UE)],12,kE))),128)):ue("",!0)])]))}}),[["styles",[`.emoji-pannel-root{display:flex;flex-direction:column;width:100%;height:100%}.menu-list{height:48px;display:flex;flex-direction:row;align-items:center;padding:0 8px}.menu-button{width:32px;height:32px;cursor:pointer;border-radius:5px;margin-left:10px}.menu-button-selected{background-color:#e9f0fb}.menu-button img{width:28px;height:28px;margin:2px}.emoji-list{flex:1;overflow:auto;padding:4px 8px}.chat-emoji-item{display:inline-block;font-size:22px;width:30px;height:30px;cursor:pointer;text-align:center;line-height:30px;border-radius:4px}.chat-emoji-item:hover,.image-emoji-item:hover{background-color:#e9f0fb}.image-emoji-item{display:inline-block;padding:6px;border-radius:4px;cursor:pointer}
384
+ `]]]),DE=Te({__name:"multi-choice-menu-provider.ce",setup(e){const t=()=>Os.value=!1,s=async i=>{if(bs.value.length<=0)return;if(bs.value.length>100){Se().alert("alert.forward.over.length");return}const r=[],o=[f.MessageType.TEXT,f.MessageType.IMAGE,f.MessageType.FILE,f.MessageType.RICH_CONTENT,f.MessageType.HQ_VOICE,f.MessageType.VOICE,f.MessageType.COMBINE,f.MessageType.COMBINE_V2,f.MessageType.GIF,f.MessageType.SIGHT,f.MessageType.FILE,f.MessageType.REFERENCE];if(i===Fn.MERGE){const l=o.length-1;o.splice(l,1)}if(bs.value.sort((l,c)=>l.sentTime-c.sentTime),bs.value.forEach((l,c)=>{o.includes(l.messageType)&&l.sentStatus!==f.SentStatus.SENDING&&l.sentStatus!==f.SentStatus.FAILED||r.push(c+1)}),r.length>0){Se().alert("alert.forward.not.supported",`${r.join(",")}`);return}await L0(i,bs.value)&&t()},n=async()=>{if(bs.value.length>100){Se().alert("alert.delete.over.length");return}await A0(bs.value)};return(i,r)=>{const o=ve("rc-multi-choice-menu");return w(),Le(o,{count:x(fv),onForward:r[0]||(r[0]=a=>s(x(Fn).SINGLE)),onMergeForward:r[1]||(r[1]=a=>s(x(Fn).MERGE)),onCancel:t,onDelete:n},null,8,["count"])}}}),PE=["onClick"],VE=["src"],$E=Ie(Te({__name:"at-users-panel-provider.ce",props:{members:{type:Array},atAll:{type:Boolean}},setup(e,{emit:t}){const s=We("conv.mentioned.all.msg"),n=t;return(i,r)=>(w(),P("div",{class:"at-users-panel",onClick:r[1]||(r[1]=o=>o.stopPropagation())},[e.atAll?(w(),P("div",{key:0,class:"div-item",onClick:r[0]||(r[0]=o=>n("at-all"))},oe(x(s)),1)):ue("",!0),(w(!0),P(De,null,Ot(e.members,o=>(w(),P("div",{class:"div-item",key:o.userId,onClick:a=>n("at-user",o.userId)},[o.portraitUri?(w(),P("img",{key:0,class:"icon",src:o.portraitUri,alt:"User Portrait"},null,8,VE)):ue("",!0),y("span",null,oe(o.nickname||o.name),1)],8,PE))),128))]))}}),[["styles",[`.at-users-panel{width:100%;align-items:center;max-height:124px;overflow:scroll;border-top:1px solid #efefef}.div-item{display:flex;flex-direction:row;align-items:center;padding:8px 20px;cursor:pointer;font-size:12px}.div-item:hover{background-color:#e9f0fb;border-radius:8px}.icon{margin-right:10px;width:24px;height:24px;border-radius:50%}
385
+ `]]]),FE=Te({__name:"hq-voice-message-provider.ce",props:{message:{type:Object}},setup(e){const t=Se(),s=e,n=s.message,i=n.content,r=i.duration,o=i.remoteUrl,a=N(0),l=N(!1),c=n.messageDirection===f.MessageDirection.SEND,u=_=>{d(_.data)},d=_=>{const{status:m,progress:L,messageUId:M,transactionId:E}=_,{messageUId:g,transactionId:v}=n;if(g&&g===M||E&&E===v){l.value=m==="playing",a.value=L===100?0:L||0;return}a.value=0,l.value=!1},p=tn({duration:r,isOwner:c,playing:l,progress:a,toggle:()=>{l.value?t.audioPlayer.pause():t.audioPlayer.play(o,s.message.messageUId,s.message.transactionId)}});return at(()=>{t.addEventListener(Y.AUDIO_PLAY_EVENT,u);const _=t.audioPlayer.getCurrentState();d(_)}),Tt(()=>{t.removeEventListener(Y.AUDIO_PLAY_EVENT,u)}),(_,m)=>{const L=ve("rc-hq-voice-message");return w(),Le(L,{value:p},null,8,["value"])}}}),HE={class:"rc-kit-grey-message"},GE={class:"grey-message"},BE=Ie(Te({__name:"grey-message-provider.ce",props:{message:{type:Object}},setup(e){const t=We("message.list.reedit"),s=e,n=N(""),i=N(""),r=N(0);let o=null;const a=N(!0),l=async()=>{if(!Ne.value)return;const c=Ne.value.value.length?`
386
+ ${i.value}`:i.value;Se().dispatchEvent(new ie(Y.SET_TEXTAREA_VALUE_EVENT,c))};return Ya(async()=>{var d;if(f.electronExtension.enable()){const{code:h,data:p}=await f.getMessage(s.message.messageUId);h===f.ErrorCode.SUCCESS&&p&&((d=p.content)!=null&&d.originalMessageContent)&&(n.value=p.content.originalObjectName||p.content.originalMessageContent.originalObjectName||"",i.value=p.content.recallContent||p.content.originalMessageContent.recallContent||"",r.value=p.content.recallTime||p.content.originalMessageContent.recallTime||"")}const c=Date.now()-r.value,u=Se().allowedToReEditTime;c>1e3*u&&(a.value=!1),!o&&n.value===f.MessageType.TEXT&&a.value&&(o=setTimeout(()=>{a.value=!1,clearTimeout(o),o=null},1e3*u-c))}),Tt(()=>{o&&(clearTimeout(o),o=null)}),(c,u)=>(w(),P("div",HE,[y("div",GE,[Po(oe(x(k0)(s.message))+" ",1),a.value&&n.value===x(f.MessageType).TEXT&&x(f.electronExtension).enable()?(w(),P("span",{key:0,class:"reedit",onClick:l},oe(x(t)),1)):ue("",!0)])]))}}),[["styles",[`.grey-message{display:inline-block;color:#41464f;margin:0 auto;padding:8px;background-color:#f3f5fa;border:none;border-radius:6px;font-size:12px;line-height:20px}.reedit{color:#337ecc;font-size:14px;font-weight:700;cursor:pointer;margin-left:3px}.reedit:hover{color:#09f}.rc-kit-grey-message{margin-bottom:10px}
387
+ `]]]),jE={class:"content"},KE={key:0,class:"marked"},zE={width:"23",height:"23",viewBox:"0 0 23 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qE=["stroke-dasharray","stroke-dashoffset"],y0=8,ZE=Ie(Te({__name:"file-transfer-ctrl-provider.ce",props:{message:{type:Object}},setup(e){const t=e,s=ye(()=>t.message.messageType===f.MessageType.FILE&&t.message.sentStatus!==j.SentStatus.SENDING&&t.message.sentStatus!==j.SentStatus.FAILED),n=ye(()=>t.message.file&&t.message.progress===-1),i=ye(()=>t.message.file&&typeof t.message.progress=="number"&&t.message.progress>=0&&t.message.progress<100),r=Math.floor(2*Math.PI*y0),o=ye(()=>(100-(t.message.progress||0))*r/100),a=()=>{Se().emit(new ie(ge.DOWNLOAD_LINK_EVENT,t.message))},l=()=>Se().message.cancelMessageSent(t.message),c=()=>Se().message.resendMessage(t.message);return(u,d)=>(w(),P("div",jE,[ln(u.$slots,"default"),s.value||n.value||i.value?(w(),P("div",KE,[ln(u.$slots,"marked")])):ue("",!0),s.value?(w(),P("div",{key:1,class:"btn",onClick:vs(a,["stop"])},[...d[0]||(d[0]=[Vo('<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity="0.5" cx="11.5437" cy="10.7852" r="7" fill="black"></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M14.4617 9.54688L11.5749 14.5469L8.68817 9.54687L11.0749 9.54687L11.0749 6.66123L12.0749 6.66123L12.0749 9.54687L14.4617 9.54688Z" fill="white"></path><mask id="path-3-outside-1_2560_1087" maskUnits="userSpaceOnUse" x="1.74341" y="0.96875" width="20" height="20" fill="white"><rect fill="white" x="1.74341" y="0.96875" width="20" height="20"></rect><path d="M20.344 10.7691C20.344 15.6293 16.404 19.5694 11.5437 19.5694C6.68344 19.5694 2.74341 15.6293 2.74341 10.7691C2.74341 5.90878 6.68344 1.96875 11.5437 1.96875C16.404 1.96875 20.344 5.90878 20.344 10.7691ZM4.33424 10.7691C4.33424 14.7507 7.56203 17.9785 11.5437 17.9785C15.5254 17.9785 18.7532 14.7507 18.7532 10.7691C18.7532 6.78737 15.5254 3.55958 11.5437 3.55958C7.56203 3.55958 4.33424 6.78737 4.33424 10.7691Z"></path></mask><path d="M20.344 10.7691C20.344 15.6293 16.404 19.5694 11.5437 19.5694C6.68344 19.5694 2.74341 15.6293 2.74341 10.7691C2.74341 5.90878 6.68344 1.96875 11.5437 1.96875C16.404 1.96875 20.344 5.90878 20.344 10.7691ZM4.33424 10.7691C4.33424 14.7507 7.56203 17.9785 11.5437 17.9785C15.5254 17.9785 18.7532 14.7507 18.7532 10.7691C18.7532 6.78737 15.5254 3.55958 11.5437 3.55958C7.56203 3.55958 4.33424 6.78737 4.33424 10.7691Z" fill="white" fill-opacity="0.6"></path><path d="M20.344 10.7691C20.344 15.6293 16.404 19.5694 11.5437 19.5694C6.68344 19.5694 2.74341 15.6293 2.74341 10.7691C2.74341 5.90878 6.68344 1.96875 11.5437 1.96875C16.404 1.96875 20.344 5.90878 20.344 10.7691ZM4.33424 10.7691C4.33424 14.7507 7.56203 17.9785 11.5437 17.9785C15.5254 17.9785 18.7532 14.7507 18.7532 10.7691C18.7532 6.78737 15.5254 3.55958 11.5437 3.55958C7.56203 3.55958 4.33424 6.78737 4.33424 10.7691Z" stroke="white" stroke-opacity="0.2" stroke-width="1.04019" mask="url(#path-3-outside-1_2560_1087)"></path></svg>',1)])])):ue("",!0),n.value?(w(),P("div",{key:2,class:"btn",onClick:vs(c,["stop"])},[...d[1]||(d[1]=[Vo('<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg"><circle opacity="0.5" cx="11.6465" cy="10.7852" r="10.7383" transform="rotate(-180 11.6465 10.7852)" fill="black"></circle><path fill-rule="evenodd" clip-rule="evenodd" d="M8.72876 12.0234L11.6155 7.02344L14.5023 12.0234L12.1155 12.0234L12.1155 14.9091L11.1155 14.9091L11.1155 12.0234L8.72876 12.0234Z" fill="white"></path><mask id="path-3-outside-1_2560_1183" maskUnits="userSpaceOnUse" x="1.44678" y="0.601561" width="20" height="20" fill="black"><rect fill="white" x="1.44678" y="0.601561" width="20" height="20"></rect><path d="M2.84616 10.8013C2.84616 5.94098 6.78619 2.00094 11.6465 2.00094C16.5067 2.00094 20.4468 5.94098 20.4468 10.8013C20.4468 15.6615 16.5067 19.6016 11.6465 19.6016C6.78619 19.6016 2.84616 15.6615 2.84616 10.8013ZM18.8559 10.8013C18.8559 6.81957 15.6282 3.59177 11.6465 3.59177C7.66478 3.59177 4.43699 6.81957 4.43699 10.8013C4.43699 14.7829 7.66478 18.0107 11.6465 18.0107C15.6282 18.0107 18.8559 14.7829 18.8559 10.8013Z"></path></mask><path d="M2.84616 10.8013C2.84616 5.94098 6.78619 2.00094 11.6465 2.00094C16.5067 2.00094 20.4468 5.94098 20.4468 10.8013C20.4468 15.6615 16.5067 19.6016 11.6465 19.6016C6.78619 19.6016 2.84616 15.6615 2.84616 10.8013ZM18.8559 10.8013C18.8559 6.81957 15.6282 3.59177 11.6465 3.59177C7.66478 3.59177 4.43699 6.81957 4.43699 10.8013C4.43699 14.7829 7.66478 18.0107 11.6465 18.0107C15.6282 18.0107 18.8559 14.7829 18.8559 10.8013Z" fill="black" fill-opacity="0.6"></path><path d="M2.84616 10.8013C2.84616 5.94098 6.78619 2.00094 11.6465 2.00094C16.5067 2.00094 20.4468 5.94098 20.4468 10.8013C20.4468 15.6615 16.5067 19.6016 11.6465 19.6016C6.78619 19.6016 2.84616 15.6615 2.84616 10.8013ZM18.8559 10.8013C18.8559 6.81957 15.6282 3.59177 11.6465 3.59177C7.66478 3.59177 4.43699 6.81957 4.43699 10.8013C4.43699 14.7829 7.66478 18.0107 11.6465 18.0107C15.6282 18.0107 18.8559 14.7829 18.8559 10.8013Z" stroke="white" stroke-opacity="0.2" stroke-width="1.04019" mask="url(#path-3-outside-1_2560_1183)"></path></svg>',1)])])):ue("",!0),i.value?(w(),P("div",{key:3,class:"btn",onClick:vs(l,["stop"])},[(w(),P("svg",zE,[d[2]||(d[2]=Vo('<circle opacity="0.5" cx="11.605" cy="11.7227" r="10.7383" fill="black"></circle><mask id="path-2-outside-1_2560_1174" maskUnits="userSpaceOnUse" x="1.80469" y="1.90625" width="20" height="20" fill="black"><rect fill="white" x="1.80469" y="1.90625" width="20" height="20"></rect><path d="M20.4053 11.7066C20.4053 16.5668 16.4653 20.5069 11.605 20.5069C6.74472 20.5069 2.80469 16.5668 2.80469 11.7066C2.80469 6.84628 6.74472 2.90625 11.605 2.90625C16.4653 2.90625 20.4053 6.84628 20.4053 11.7066ZM4.39552 11.7066C4.39552 15.6882 7.62331 18.916 11.605 18.916C15.5867 18.916 18.8145 15.6882 18.8145 11.7066C18.8145 7.72487 15.5867 4.49708 11.605 4.49708C7.62331 4.49708 4.39552 7.72487 4.39552 11.7066Z"></path></mask><path d="M20.4053 11.7066C20.4053 16.5668 16.4653 20.5069 11.605 20.5069C6.74472 20.5069 2.80469 16.5668 2.80469 11.7066C2.80469 6.84628 6.74472 2.90625 11.605 2.90625C16.4653 2.90625 20.4053 6.84628 20.4053 11.7066ZM4.39552 11.7066C4.39552 15.6882 7.62331 18.916 11.605 18.916C15.5867 18.916 18.8145 15.6882 18.8145 11.7066C18.8145 7.72487 15.5867 4.49708 11.605 4.49708C7.62331 4.49708 4.39552 7.72487 4.39552 11.7066Z" fill="black" fill-opacity="0.6"></path><path d="M20.4053 11.7066C20.4053 16.5668 16.4653 20.5069 11.605 20.5069C6.74472 20.5069 2.80469 16.5668 2.80469 11.7066C2.80469 6.84628 6.74472 2.90625 11.605 2.90625C16.4653 2.90625 20.4053 6.84628 20.4053 11.7066ZM4.39552 11.7066C4.39552 15.6882 7.62331 18.916 11.605 18.916C15.5867 18.916 18.8145 15.6882 18.8145 11.7066C18.8145 7.72487 15.5867 4.49708 11.605 4.49708C7.62331 4.49708 4.39552 7.72487 4.39552 11.7066Z" stroke="white" stroke-opacity="0.2" stroke-width="1.04019" mask="url(#path-2-outside-1_2560_1174)"></path>',4)),y("circle",{class:"progress-bar",cx:"11.605",cy:"11.7227",r:y0,fill:"none",stroke:"white","stroke-width":"1.9","stroke-dasharray":x(r),"stroke-dashoffset":o.value,transform:"rotate(-90, 11.605, 11.7227)"},null,8,qE),d[3]||(d[3]=y("rect",{x:"13.905",y:"8.1875",width:"1.74414",height:"8.24933",transform:"rotate(45 13.905 8.1875)",fill:"white"},null,-1)),d[4]||(d[4]=y("rect",{x:"8.07178",y:"9.42188",width:"1.74414",height:"8.24933",transform:"rotate(-45 8.07178 9.42188)",fill:"white"},null,-1))]))])):ue("",!0)]))}}),[["styles",[`.content{position:relative;width:100%;height:100%}.marked{position:absolute;top:0;left:0;width:100%;height:100%}.btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);height:22px;cursor:pointer}
388
+ `]]]),WE={key:0,class:"rc-kit-toast"},QE={class:"rc-kit-toast-content"},YE={key:0,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},JE={class:"rc-kit-toast-text"},XE=Ie(Te({__name:"toast-provider.ce",setup(e){const t=Se(),s=N(!1),n=N(""),i=N(!0);let r=null;const o=l=>{r&&(clearTimeout(r),r=null),n.value=l.message,i.value=l.showIcon!==!1,s.value=!0,r=setTimeout(()=>{s.value=!1,r=null},3e3)},a=l=>{o(l.data)};return at(()=>{t.addEventListener(ge.TOAST_EVENT,a)}),Tt(()=>{r&&clearTimeout(r),t.removeEventListener(ge.TOAST_EVENT,a)}),(l,c)=>(w(),Le(vl,{name:"toast-fade"},{default:ft(()=>[s.value?(w(),P("div",WE,[y("div",QE,[i.value?(w(),P("svg",YE,[...c[0]||(c[0]=[y("circle",{cx:"12",cy:"12",r:"12",fill:"#46DB7A"},null,-1),y("path",{d:"M7.24951 13.2507L10.2495 16.2507L17.2495 9.25073",stroke:"white","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)])])):ue("",!0),y("span",JE,oe(n.value),1)])])):ue("",!0)]),_:1}))}}),[["styles",[`.rc-kit-toast[data-v-e1032a29]{position:absolute;top:70px;left:0;right:0;width:100%;height:46px;background-color:#c9f5d8;display:flex;align-items:center;justify-content:center;z-index:100}.rc-kit-toast-content[data-v-e1032a29]{display:flex;align-items:center;justify-content:center;gap:8px}.rc-kit-toast-text[data-v-e1032a29]{font-size:16px;color:#020814;line-height:20px}.toast-fade-enter-active[data-v-e1032a29]{transition:opacity .3s ease-in,transform .3s ease-in}.toast-fade-leave-active[data-v-e1032a29]{transition:opacity .3s ease-out,transform .3s ease-out}.toast-fade-enter-from[data-v-e1032a29],.toast-fade-leave-to[data-v-e1032a29]{opacity:0;transform:translateY(-10px)}.toast-fade-enter-to[data-v-e1032a29],.toast-fade-leave-from[data-v-e1032a29]{opacity:1;transform:translateY(0)}
389
+ `]],["__scopeId","data-v-e1032a29"]]),ev={class:"rc-kit-app-inner"},tv=Ie(Te({__name:"conversation-detail-provider.ce",setup(e){S0();const t=N(!1),s=ye(()=>I0.value),n=()=>{t.value=ps()},i=We("conversation.empty.desc"),r=ye(()=>pe.value&&pe.value.conversationType===j.ConversationType.SYSTEM),o=N(0),a=N(0),l=Se().store.getCommandSwitch(xt.SHOW_CONNECTION_STATUS),c=u=>{const{status:d,code:h}=u.data;o.value=d,a.value=h};return at(()=>{n(),window.addEventListener("resize",n),Se().addEventListener(Y.CONNECTION_STATUS_CHANGE,c,this)}),Tt(()=>{window.removeEventListener("resize",n),Se().removeEventListener(Y.CONNECTION_STATUS_CHANGE,c,this)}),(u,d)=>{const h=ve("rc-connection-status"),p=ve("rc-conversation-empty"),_=ve("rc-conversation-detail-bar-provider"),m=ve("rc-toast-provider"),L=ve("rc-message-list-provider"),M=ve("rc-input-provider"),E=ve("rc-multi-choice-menu-provider");return w(),P("div",{class:Je(["rc-kit-app-wrapper-right",{"is-h5":t.value}])},[y("div",ev,[Re(h,{visible:o.value!==x(j.RCConnectionStatus).CONNECTED&&x(l),status:o.value,code:a.value},null,8,["visible","status","code"]),x(pe)?(w(),P(De,{key:1},[Re(_,{conversation:x(pe),"show-back":s.value},null,8,["conversation","show-back"]),Re(m),Re(L,{class:"rc-kit-msg-list"}),_s(Re(M,{conversation:x(pe)},null,8,["conversation"]),[[Bs,!x(Os)&&!r.value]]),x(Os)?(w(),Le(E,{key:0})):ue("",!0)],64)):(w(),Le(p,{key:0,style:{width:"100%",height:"100%"},desc:x(i)},null,8,["desc"]))])],2)}}}),[["styles",[`:host{display:block;height:100%}.rc-kit-app-wrapper-right{width:100%;height:100%;position:relative}.rc-kit-app-inner{width:100%;height:100%;min-width:600px;display:flex;flex-direction:column}.rc-kit-app-wrapper-right.is-h5 .rc-kit-app-inner{min-width:350px}.rc-kit-msg-list{flex:1 1 auto;overflow:hidden;background-color:#fff;position:relative}.rc-kit-app-inner{position:relative}.camera-screen{flex:1 auto}
390
+ `]]]),sv={key:0,class:"rc-kit-app-conv-bar"},nv={class:"bar-content"},iv={class:"bar-title"},rv={class:"rc-kit-app-conv"},ov=Ie(Te({__name:"conversation-list-container-provider.ce",setup(e){S0();const t=N(!1),s=()=>{t.value=ps()},n=ye(()=>T0.value);return at(()=>{s(),window.addEventListener("resize",s)}),Tt(()=>{window.removeEventListener("resize",s)}),(i,r)=>{const o=ve("rc-conversation-list-provider");return w(),P("div",{class:Je(["rc-kit-app-wrapper-left",{"is-h5":t.value}])},[t.value&&n.value?(w(),P("div",sv,[y("div",nv,[y("span",iv,oe(x(dc)||x(me)("conversation.list.bar.title")),1)])])):ue("",!0),y("div",rv,[Re(o)])],2)}}}),[["styles",[`:host{display:block;height:100%}.rc-kit-app-wrapper-left{min-width:312px;width:312px;height:100%;display:flex;flex-direction:column}.rc-kit-app-wrapper-left.is-h5{min-width:0;width:100%}.bar-content{width:100%;height:68px;display:flex;flex-direction:row;align-items:center;position:relative;z-index:2;background-color:#fff;border-bottom:1px solid #efefef}.bar-title{font-size:16px;font-weight:500;color:#000;margin:0 20px}.rc-kit-app-conv{flex:auto;overflow:hidden}
391
+ `]]]),av=Ie(Te({__name:"rc-imkit-app.ce",setup(e){const t=N(!1),s=ye(()=>pe.value!==null),n=()=>{t.value=ps()};return at(()=>{n(),window.addEventListener("resize",n)}),Tt(()=>{window.removeEventListener("resize",n)}),(i,r)=>{const o=ve("rc-conversation-list-container-provider"),a=ve("rc-conversation-detail-provider");return w(),P("div",{class:Je(["rc-kit-app",{"is-h5":t.value}])},[!t.value||!s.value?(w(),Le(o,{key:0,class:"list"})):ue("",!0),!t.value||s.value?(w(),Le(a,{key:1,class:"detail"})):ue("",!0)],2)}}}),[["styles",[`:host{display:block;height:100%}.rc-kit-app{width:100%;height:100%;display:flex;flex-direction:row;position:relative}.rc-kit-app.is-h5{flex-direction:column}.detail{flex:1 auto;overflow:hidden}.list{border-right:1px solid #E4E7ED}.rc-kit-app.is-h5 .list{border-right:none;border-bottom:1px solid #E4E7ED;height:100%}
392
+ `]]]),je={GREY_MESSAGE_PROVIDER:"rc-grey-message-provider",SCROLLBAR_PROVIDER:"rc-scrollbar-provider",SCROLLBAR_THUMB_PROVIDER:"rc-scrollbar-thumb-provider",MODAL_PROVIDER:"rc-modal-provider",MODAL_CONFIRM_PROVIDER:"rc-modal-confirm-provider",MODAL_ALERT_PROVIDER:"rc-modal-alert-provider",MODAL_FORWARDING_PROVIDER:"rc-modal-forwarding-provider",MODAL_DELETE_MESSAGE_PROVIDER:"rc-modal-delete-message-provider",MODAL_MEDIA_MESSAGE_PROVIDER:"rc-modal-media-message-provider",MODAL_COMBINE_MESSAGE_PROVIDER:"rc-modal-combine-message-provider",MODAL_TAKE_PHOTO_PROVIDER:"rc-modal-take-photo-provider",CONVERSATION_LIST_CONTAINER_PROVIDER:"rc-conversation-list-container-provider",CONVERSATION_LIST_PROVIDER:"rc-conversation-list-provider",CONVERSATION_DETAIL_PROVIDER:"rc-conversation-detail-provider",InputProvider:"rc-input-provider",MESSAGLISTPROVIDER:"rc-message-list-provider",CONVERSATION_DETAIL_BAR_PROVIDER:"rc-conversation-detail-bar-provider",EMOJI_PANEL_PROVIDER:"rc-emoji-panel-provider",MULTI_CHOICE_MENU_PROVIDER:"rc-multi-choice-menu-provider",AT_USERS_PANEL_PROVIDER:"rc-at-users-panel-provider",HQ_VOICE_MESSAGE_PROVIDER:"rc-hq-voice-message-privider",FileTransferCtrlProvider:"rc-file-transfer-ctrl-provider",APP_PROVIDER:"rc-imkit-app-provider",TOAST_PROVIDER:"rc-toast-provider"},lv={[je.GREY_MESSAGE_PROVIDER]:BE,[je.SCROLLBAR_PROVIDER]:Mm,[je.SCROLLBAR_THUMB_PROVIDER]:Om,[je.MODAL_PROVIDER]:u_,[je.MODAL_CONFIRM_PROVIDER]:g_,[je.MODAL_ALERT_PROVIDER]:C_,[je.MODAL_FORWARDING_PROVIDER]:P_,[je.MODAL_DELETE_MESSAGE_PROVIDER]:G_,[je.MODAL_MEDIA_MESSAGE_PROVIDER]:X_,[je.MODAL_TAKE_PHOTO_PROVIDER]:fm,[je.MODAL_COMBINE_MESSAGE_PROVIDER]:Rm,[je.CONVERSATION_LIST_PROVIDER]:r_,[je.CONVERSATION_DETAIL_PROVIDER]:tv,[je.CONVERSATION_LIST_CONTAINER_PROVIDER]:ov,[je.InputProvider]:Xm,[je.MESSAGLISTPROVIDER]:ME,[je.CONVERSATION_DETAIL_BAR_PROVIDER]:uE,[je.EMOJI_PANEL_PROVIDER]:NE,[je.MULTI_CHOICE_MENU_PROVIDER]:DE,[je.AT_USERS_PANEL_PROVIDER]:$E,[je.HQ_VOICE_MESSAGE_PROVIDER]:FE,[je.FileTransferCtrlProvider]:ZE,[je.APP_PROVIDER]:av,[je.TOAST_PROVIDER]:XE};let Ke;const uc=N(""),S0=()=>{uc.value=Se().userId,vo(Vr.CURRENT_USER_ID,uc),vo(Vr.LANGUAGE,rr(ai))},T0=N(!0),I0=N(!0);let dc=N(void 0);const pe=N(null),Ne=N(),Nn=N(0),Dn=N([]),w0=N(),cv=async e=>{const{status:t}=e.data;if(t===f.RCConnectionStatus.CONNECTED){const s=f.getCurrentUserId(),n=await Ke.appData.requestUserProfiles([s]);w0.value=n[0]}},uv=async e=>{var o;const t=(o=e.data)==null?void 0:o.conversation;if(pe.value=t||null,Dn.value.length=0,Se().audioPlayer.pause(),!t)return;const{conversationType:s,targetId:n}=t;if(s!==j.ConversationType.GROUP)return;const i=await Ke.appData.reqGroupMembers(n);if(i.length===0)return;const r=await Ke.appData.requestUserProfiles(i.map(a=>a.userId));!pe.value||!_t(t,pe.value)||Dn.value.push(...r.filter(a=>a.userId!==Ke.userId).map(a=>{const l=i.findIndex(c=>c.userId===a.userId);return{userId:a.userId,nickname:i[l].nickname,name:a.name,portraitUri:a.portraitUri}}))},R0=async()=>{pe.value=null,Ne.value&&(Ne.value.value=""),Nn.value=0,Dn.value=[],uc.value=Se().userId};function dv(e){Ke=e,e.logger,Ke.addEventListener(ge.CONVERSATION_SELECTED,uv),Ke.addEventListener(Y.CONNECTION_STATUS_CHANGE,cv),Ke.addEventListener(Y.DESTROY_USER_CACHE,R0),Ke.addEventListener(Y.CONVERSATION_BAR_SWITCH_CHANGE,t=>{T0.value=t.data}),Ke.addEventListener(Y.CONVERSATION_DETAIL_BACK_SWITCH_CHANGE,t=>{I0.value=t.data}),Ke.addEventListener(Y.CONVERSATION_BAR_TITLE_CHANGE,t=>{dc.value=t.data,console.log("conversationBarTitle====",dc.value)}),_v(Ke)}const Se=()=>Ke,Lt=N([]),ke=N([]),Os=N(!1),bs=N([]),Ls=N([]),Hr=N(!0);ls(Os,()=>{bs.value=[],Ls.value=[],Hr.value=!0});const fv=ye(()=>bs.value.length),pt=N(null),M0=e=>{const t=e.messageType;if(t===j.MessageType.TextMessage||t===j.MessageType.REFERENCE)return e.content.content;let s=`message-type.${t}`;return c7(s)||(s="message-type.unknown"),We(s).value},hv=ye(()=>{if(!pt.value)return"";const e=M0(pt.value);return pt.value.messageType===j.MessageType.FILE?e+` ${pt.value.content.name}`:e}),pv=ye(()=>{if(!pt.value)return null;const{messageType:e,content:t}=pt.value;switch(e){case j.MessageType.IMAGE:case j.MessageType.SIGHT:return`data:image/png;base64,${t.content}`}return null}),gv=ye(()=>pt.value?Ke.appData.getUserProfile(pt.value.senderUserId).name:""),di=(e,t)=>{let s=document.body;e.modalContainerId&&document.getElementById(e.modalContainerId)&&(s=document.getElementById(e.modalContainerId)),s.appendChild(t)},_v=e=>{e.addEventListener(ge.CONFIRM_EVENT,t=>{const s=document.createElement(je.MODAL_CONFIRM_PROVIDER);s.addEventListener("cancel",()=>{t.sendResult(!1),s.remove()}),s.addEventListener("confirm",()=>{t.sendResult(!0),s.remove()}),di(e,s)}),e.addEventListener(ge.ALERT_EVENT,t=>{const s=document.createElement(je.MODAL_ALERT_PROVIDER);s.addEventListener("cancel",n=>{s.remove()}),di(e,s)}),e.addEventListener(ge.FORWARDING_EVENT,t=>{const s=document.createElement(je.MODAL_FORWARDING_PROVIDER);s.addEventListener("cancel",()=>{t.sendResult({type:Sn.CANCEL}),s.remove()}),s.addEventListener("confirm",n=>{t.sendResult({type:Sn.CONFIRM,list:n.detail[0].list}),s.remove()}),di(e,s)}),e.addEventListener(ge.DELETE_MESSAGE_MODAL_EVENT,t=>{const s=document.createElement(je.MODAL_DELETE_MESSAGE_PROVIDER);s.addEventListener("cancel",()=>{t.sendResult({type:Sn.CANCEL}),s.remove()}),s.addEventListener("confirm",n=>{t.sendResult({type:Sn.CONFIRM}),s.remove()}),di(e,s)}),e.addEventListener(ge.MEDIA_MESSAGE_MODAL_EVENT,t=>{var i,r,o,a;const s=document.createElement(je.MODAL_MEDIA_MESSAGE_PROVIDER);s.addEventListener("cancel",l=>{s.remove()}),s.addEventListener("download",l=>{e.emit(new ie(ge.DOWNLOAD_LINK_EVENT,t.data))});const n=((i=t.data.content)==null?void 0:i.sightUrl)||((r=t.data.content)==null?void 0:r.imageUri)||((o=t.data.content)==null?void 0:o.remoteUrl)||((a=t.data.content)==null?void 0:a.fileUrl);s.setAttribute("url",n),s.setAttribute("user-id",t.data.senderUserId),s.setAttribute("sent-time",`${t.data.sentTime}`),s.setAttribute("message-type",`${t.data.messageType}`),s.setAttribute("message-uid",`${t.data.messageUId}`),s.setAttribute("content",`${t.data.content.content}`),di(e,s)}),e.addEventListener(ge.COMBINE_MESSAGE_MODAL_EVENT,t=>{const s=document.createElement(je.MODAL_COMBINE_MESSAGE_PROVIDER);s.addEventListener("cancel",o=>{e.audioPlayer.pause(),s.remove()}),s.addEventListener("download",o=>{e.emit(new ie(ge.DOWNLOAD_LINK_EVENT,o.detail[0]))});const n=t.data.content.remoteUrl||"";s.setAttribute("url",n);const i=t.data.content||{},r=t.data.messageType||j.MessageType.COMBINE_V2;s.setAttribute("content",JSON.stringify(i)),s.setAttribute("type",r),s.setAttribute("message-uid",`${t.data.messageUId}`),di(e,s)}),e.addEventListener(ge.TAKE_PHOTO_MODAL_EVENT,t=>{const s=document.createElement(je.MODAL_TAKE_PHOTO_PROVIDER);s.addEventListener("cancel",n=>{s.remove()}),di(e,s)}),e.addEventListener(ge.MESSAGE_LINK_CLICK,t=>{if(t.data.type==="mail"){location.href=`mailto:${t.data.address}`;return}window.open(t.data.address)}),e.addEventListener(Y.GROUP_MEMBERS_UPDATE,async t=>{if(!pe.value)return;const{groupId:s,members:n}=t.data,{conversationType:i,targetId:r}=pe.value;if(i!==j.ConversationType.GROUP||r!==t.data.groupId)return;const o=await Ke.appData.requestUserProfiles(n.map(a=>a.userId));!pe.value||pe.value.conversationType!==j.ConversationType.GROUP||pe.value.targetId!==s||Dn.value.splice(0,Dn.value.length,...o.filter(a=>a.userId!==Ke.userId).map((a,l)=>({userId:a.userId,nickname:n[l].nickname,name:a.name,portraitUri:a.portraitUri})))}),e.addEventListener(Y.CONVERSATION_ITEM_CHANGE,t=>{if(!pe.value)return;const s=t.data.find(n=>_t(n,pe.value));s&&(pe.value={...pe.value,...s})})},fc={[j.MessageType.TextMessage]:Pe.TEXT_MESSAGE,[j.MessageType.IMAGE]:Pe.IMAGE_MESSAGE,[j.MessageType.SIGHT]:Pe.SIGHT_MESSAGE,[j.MessageType.FILE]:Pe.FILE_MESSAGE,[j.MessageType.REFERENCE]:Pe.REFERENCE_MESSAGE,[j.MessageType.COMBINE]:Pe.COMBINE_V2_MESSAGE,[j.MessageType.COMBINE_V2]:Pe.COMBINE_V2_MESSAGE,[j.MessageType.HQ_VOICE]:je.HQ_VOICE_MESSAGE_PROVIDER,[j.MessageType.GIF]:Pe.GIF_MESSAGE},hc=new Map,pc=(e,t)=>{hc.set(e,t)};pc("RC:RcCmd",e=>{if(console.log("message====",e),e.senderUserId===Ke.userId)return me("message.list.recall.by.self");const t=Ke.appData.getUserProfile(e.senderUserId).name;return me("message.list.recall.by.other",t)}),pc("RC:RcNtf",e=>{if(e.senderUserId===Ke.userId)return me("message.list.recall.by.self");const t=Ke.appData.getUserProfile(e.senderUserId).name;return me("message.list.recall.by.other",t)});const mv=(e,t)=>{fc[e]=t},O0=e=>fc[e]||"rc-unsupported-message",b0=e=>!fc[e],L0=async(e,t)=>{const s=new ie(ge.FORWARDING_EVENT,e);Ke.emit(s);const{type:n,list:i}=await s.awaitResult();if(n===Sn.CANCEL||!(i instanceof Array)||i.length===0)return!1;const r=i.map(o=>({conversationType:o.conversationType,targetId:o.targetId,channelId:o.channelId}));return e===Fn.SINGLE?r.forEach(o=>Ke.message.forward(o,t.slice())):r.forEach(o=>Ke.message.sendCombineMessage(o,t.slice())),Ke.emit(new ie(ge.TOAST_EVENT,{message:Ke.i18n.format("toast.forward.success"),showIcon:!0})),!0},A0=async e=>{if(e.length===0)return;const t=e[0],s=new ie(ge.DELETE_MESSAGE_MODAL_EVENT,{messages:e});Ke.emit(s);const{type:n}=await s.awaitResult();n!==Sn.CANCEL&&(Ke.message.deleteMessages(t,e,!1),Os.value=!1)},Ev=async e=>{if(e.length===0)return;const t={conversationType:e[0].conversationType,targetId:e[0].targetId,channelId:e[0].channelId};Ke.message.deleteMessages(t,e,!0)},x0=e=>{if(!e||e.messageType===j.MessageType.RECALL||e.messageType===j.MessageType.RECALL_NOTIFICATION_MESSAGE)return!1;const t=e.senderUserId===Ke.userId;return!!(Ke.store.getCommandSwitch(xt.SHOW_MESSAGE_STATE)&&t||(e.sentStatus===j.SentStatus.FAILED||e.sentStatus===j.SentStatus.SENDING)&&t)},k0=e=>{if(!e)return" ";const{messageType:t,content:s,senderUserId:n}=e;if(t===j.MessageType.TEXT||t===j.MessageType.REFERENCE)return s.content||" ";if(t===j.MessageType.RECALL||t===j.MessageType.RECALL_NOTIFICATION_MESSAGE){if(n===Ke.userId)return me("message.list.recall.by.self");const o=Ke.appData.getUserProfile(n).name;return me("message.list.recall.by.other",o)}if([j.MessageType.IMAGE,j.MessageType.GIF,j.MessageType.VOICE,j.MessageType.HQ_VOICE,j.MessageType.FILE,j.MessageType.SIGHT,j.MessageType.COMBINE,j.MessageType.COMBINE_V2].includes(t)){const o=`message-type.${t}`;return me(o)}if(!hc.has(t))return me("message-type.unknown");const r=hc.get(t);return ye(()=>r(e,ai.value)).value},Gr=30;class vv extends Ss{constructor(s){super(s);K(this,"_sendQueue");K(this,"_uploadQueue");K(this,"_transactionIdCount",0);K(this,"_histories",new Map);K(this,"_v5Responded",new Set);K(this,"_messageQueue",[]);K(this,"_messageHandleTimer",null);K(this,"sendFiles",this._sendMultiMediaMessage.bind(this,wc));K(this,"sendImages",this._sendMultiMediaMessage.bind(this,wc));this._sendQueue=new b5(s),this._uploadQueue=new L5(s)}_onInit(){f.electronExtension.enable()?(f.addEventListener(f.Events.MESSAGES,this._onRecvElectronMessage,this),this._handleElectronMessages()):f.addEventListener(f.Events.MESSAGES,this._onRecvMessages,this),f.addEventListener(f.Events.MESSAGE_RECEIPT_RESPONSE_V5,this._onV5ReceiptResponse.bind(this))}_onInitUserCache(){}_onDestroyUserCache(){this._histories.clear(),this._transactionIdCount=0,this._messageQueue.length=0,this._messageHandleTimer&&(clearTimeout(this._messageHandleTimer),this._messageHandleTimer=null)}destroy(){this._onDestroyUserCache(),this._sendQueue.destroy(),this._uploadQueue.destroy(),f.removeEventListener(f.Events.MESSAGES,this._onRecvElectronMessage,this),f.removeEventListener(f.Events.MESSAGES,this._onRecvMessages,this)}_createTransactionId(){return++this._transactionIdCount}_getExistCache(s){return this._histories.get(St(s))}_getOrCreateCache(s,n,i,r){const o=St(s);let a=this._histories.get(o);return a||(a={histories:[],startTime:0,endTime:n===0?f.getServerTime():n,hasMoreAfterEndTime:i,hasMoreBeforeStartTime:r},this._histories.set(o,a)),a}_push2Cache(s,...n){const{histories:i,startTime:r}=s;n.forEach(o=>{const a=i.findIndex(c=>o.messageUId&&c.messageUId?c.messageUId===o.messageUId:o.messageId&&c.messageId?c.messageId===o.messageId:!1);if(a!==-1)i.splice(a,1,o);else{const c=yn(i,u=>u.sentTime<o.sentTime);c===-1?i.unshift(o):i.splice(c+1,0,o)}const l=o.sentTime+1;s.endTime=s.endTime===0?l:Math.max(s.endTime,l)}),r||(s.startTime=Math.min(...n.map(o=>o.sentTime))-1)}_unshift2Cache(s,...n){const{histories:i}=s;n.forEach(r=>{const o=i.findIndex(l=>l.messageUId===r.messageUId||l.sentTime>r.sentTime);o===-1?i.push(r):i[o].messageUId!==r.messageUId&&i.splice(o,0,r);const a=r.sentTime-1;s.startTime=s.startTime===0?a:Math.min(s.startTime,a)})}_onRecvElectronMessage(s){this._messageQueue.push(...s.messages)}_handleElectronMessages(){this._messageHandleTimer=setTimeout(()=>{if(this._messageQueue.length>0){const s=this._messageQueue.splice(0);this._handleMessages(s)}this._messageHandleTimer=null,this._handleElectronMessages()},60)}_onRecvMessages(s){this._handleMessages(s.messages)}_onV5ReceiptResponse(s){try{if(!s||!Array.isArray(s))return;s.forEach(n=>{const i=St(n.identifier);let r=this._histories.get(i);if(!r)return;const o=r.histories.findIndex(l=>l.messageUId===n.messageUId);if(o<0)return;const a={identifier:n.identifier,messageUId:n.messageUId,unreadCount:n.unreadCount,readCount:n.readCount,totalCount:n.totalCount};r.histories[o].kitReadReceiptInfo=a,this.ctx.dispatchEvent(new ie(Y.MESSAGE_STATE_CHANGE,[r.histories[o]]))})}catch(n){this.logger.warn(B.L_V5_RECEIPT_RESPONSE_E,`onV5ReceiptResponse error: ${n}`)}}async _sendReadReceiptMessageV5(s,n){if(this.ctx.readReceiptVersion!==j.GroupReadReceiptVersion.V5)return;const i=n.map(u=>u.messageUId),r=Array.from(new Set((i||[]).filter(Boolean)));if(r.length===0){this.logger.info(B.L_SEND_V5_RECEIPT_T,`sendV5Receipts ids size is 0, messageUIds: ${JSON.stringify(i)}`);return}const o=St(s),a=this._histories.get(o);if(!a||!a.histories.length)return;const l=new Set(r.filter(u=>{const d=a.histories.find(_=>_.messageUId===u);if(!d)return!1;const h=d.messageDirection===2,p=!this._v5Responded.has(u)&&d.sendReceipt!==!0&&d.needReceipt;return h&&p}));if(l.size===0){this.logger.info(B.L_SEND_V5_RECEIPT_T,"sendV5Receipts messageUIds size is 0");return}const c=Array.from(l);try{this.logger.info(B.L_SEND_V5_RECEIPT_T,`sendV5Receipts: ${JSON.stringify(c)}`);const u=await f.sendReadReceiptResponseV5(s,c);this.logger.info(B.L_SEND_V5_RECEIPT_R,`sendV5Receipts res: ${JSON.stringify(u)}`),c.forEach(d=>this._v5Responded.add(d)),this._markSendReceiptTrue(s,c)}catch(u){this.logger.warn(B.L_SEND_V5_RECEIPT_E,`sendV5Receipts error: ${u}`)}}_markSendReceiptTrue(s,n){try{if(!n||!n.length)return;const i=St(s),r=this._histories.get(i);if(!r)return;const o=new Set(n);r.histories.forEach(a=>{a.messageUId&&o.has(a.messageUId)&&(a.sendReceipt=!0)})}catch(i){this.logger.warn(B.L_SEND_V5_RECEIPT_E,`markSendReceiptTrue error: ${i}`)}}_handleMessages(s){const n=[];let i=[];s.forEach(async o=>{const a=mi(o);if(f.electronExtension.enable()&&a.messageType===f.MessageType.RECALL_MESSAGE_TYPE&&(o.isPersited=!0),!o.isPersited||$n(o)){n.push(a);return}if(a.messageType===f.MessageType.RECALL_MESSAGE_TYPE){const{messageUId:l}=a.content;let c=i.findIndex(u=>u.messageUId===l);if(c!==-1){i.splice(c,1,a);return}}i.push(a)}),i=this._handleNotifiedUIMessaages(i),i.filter(o=>o.messageType!==f.MessageType.RECALL_MESSAGE_TYPE).length&&this.ctx.dispatchEvent(new ie(Y.RECV_NEW_MESSAGES,i)),n.length&&this.ctx.emit(new ie(ge.UNSCHEDULED_MESSAGES,n))}_handleNotifiedUIMessaages(s){return s.forEach(n=>{const i=this._getOrCreateCache(n,n.sentTime+1,!1,!0);if(n.messageType===f.MessageType.RECALL_MESSAGE_TYPE&&i.histories.length>0){const r=i.histories.findIndex(o=>o.messageUId===n.content.messageUId);if(r!==-1){const[o]=i.histories.splice(r,1,n);n.sentTime=o.sentTime,this.ctx.emit(new ie(ge.MESSAGES_DELETED,[{target:o,recallMsg:n}]),1);return}}!i.hasMoreAfterEndTime&&n.messageType!==f.MessageType.RECALL_MESSAGE_TYPE&&this._push2Cache(i,n)}),s}_ifTimeCoincides(s,n){return s.endTime>=n&&s.startTime<=n}async _requestHistoriesFromLib(s,n,i){const r=await f.getHistoryMessages(s,{timestamp:n,count:Gr,order:i?0:1});if(r.code!==f.ErrorCode.SUCCESS)return{code:r.code,hasMore:!0,list:[]};const{list:o,hasMore:a}=r.data;let l=await this._handleTransIAReceivedMessages(o,s);const c=this._getOrCreateCache(s,n,n!==0,!0);return!i&&n!==0&&c.startTime>n&&(c.startTime=n-1),(this._ifTimeCoincides(c,n)||o.length&&(this._ifTimeCoincides(c,o[0].sentTime)||this._ifTimeCoincides(c,o[o.length-1].sentTime)))&&(i?(l=l.reverse(),this._unshift2Cache(c,...l),c.hasMoreBeforeStartTime=a):(this._push2Cache(c,...l),c.hasMoreAfterEndTime=a)),{hasMore:a,list:l,code:f.ErrorCode.SUCCESS}}async _handleTransIAReceivedMessages(s,n){const i=s.map(r=>mi(r));return this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5?await this._handleReadReceiptV5(n,i):i}async _handleReadReceiptV5(s,n){if(n.length===0)return[];try{const i=n.filter(a=>a.senderUserId===this.ctx.userId);if(i.length===0)return n;const r=i.map(a=>a.messageUId),{data:o}=await f.getMessageReadReceiptInfoV5(s,r);o&&o.length>0&&o.forEach(a=>{const l=n.findIndex(c=>c.messageUId===a.messageUId);l>-1&&(n[l].kitReadReceiptInfo=a)})}catch(i){this.logger.warn(B.L_HANDLE_READ_RECEIPT_V5_E,`_handleReadReceiptV5 error: ${i}`)}return n}async _reqHistoriesHandler(s,n=0,i=!0){var _;const r=this._getOrCreateCache(s,n,n!==0,!0),{histories:o,hasMoreAfterEndTime:a,hasMoreBeforeStartTime:l,startTime:c,endTime:u}=r;if(!a&&n===0&&i){const m=((_=o[o.length-1])==null?void 0:_.sentTime)||0;m>u&&(r.endTime=m+1),n=r.endTime}if(!this._ifTimeCoincides(r,n))return this._requestHistoriesFromLib(s,n,i);let d;if(i){const m=yn(o,L=>L.sentTime<n);d=o.slice(0,m+1)}else{const m=o.findIndex(L=>L.sentTime>n);d=o.slice(m)}const h=i?l:a;if(d.length<Gr)return await this._reqHasMoreHistories(h,c,u,i,s,n,d);let p=i?d.slice(d.length-Gr):d.slice(0,Gr);return this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5&&s.conversationType===f.ConversationType.GROUP&&(await this._handleReadReceiptV5(s,p),p.forEach(m=>{const L=r.histories.findIndex(M=>M.messageUId===m.messageUId);L>-1&&m.kitReadReceiptInfo&&(r.histories[L].kitReadReceiptInfo=m.kitReadReceiptInfo)})),{hasMore:h||d.length>Gr,list:p,code:f.ErrorCode.SUCCESS}}async _reqHasMoreHistories(s,n,i,r,o,a=0,l=[]){if(s){const c=n===0?0:n+1,u=i===0?0:i-1,d=r?c:u,{code:h}=await this._requestHistoriesFromLib(o,d,r);return h===f.ErrorCode.SUCCESS?this._reqHistoriesHandler(o,a,r):{hasMore:s,list:l,code:h}}return{hasMore:s,list:l,code:f.ErrorCode.SUCCESS}}reqHistories(s,n=0,i=!0){return this._reqHistoriesHandler(s,n,i)}async sendMessage(s,n,i){if($n(s)||!Tc(s))return{code:ks.INVALID_CONVERSATION};const r=this._createTransactionId();if(this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5){const c=[f.ConversationType.PRIVATE,f.ConversationType.GROUP].includes(s.conversationType),u=i==null?void 0:i.directionalUserIdList,d=Array.isArray(u)&&u.length>0,h=(i==null?void 0:i.isStatusMessage)===!0,p=n.isPersited!==!1;c&&!d&&!h&&p&&(i={needReceipt:!0,...i||{}})}const o=this._transBaseMessage2CachedMessage(s,n,r,i);if(j.isObject(o.content))try{o.content=Ca(o.content)}catch(c){this.logger.warn(B.A_SEND_MESSAGE_E,c.message)}if(o.isPersited){const c=this._getOrCreateCache(s,o.sentTime+1,!1,!0);c.hasMoreAfterEndTime&&(c.histories.length=0,c.startTime=o.sentTime,c.hasMoreBeforeStartTime=!0,c.hasMoreAfterEndTime=!1),this._push2Cache(c,o),this.ctx.dispatchEvent(new ie(Y.INSERT_NEW_MESSAGES,[o]))}const{code:a,data:l}=await this._sendQueue.push({conversation:s,message:o,options:i,transactionId:o.transactionId});return a!==f.ErrorCode.SUCCESS?o.sentStatus=f.SentStatus.FAILED:(this._updateCachedMessage(o,l),this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5&&o.conversationType===f.ConversationType.GROUP&&await this._handleReadReceiptV5(s,[o])),o.isPersited&&this.ctx.dispatchEvent(new ie(Y.MESSAGE_STATE_CHANGE,[o])),{code:a,message:l}}_updateCachedMessage(s,n){const{sentStatus:i,sentTime:r,messageUId:o,messageId:a}=n;s.sentStatus=i,s.sentTime=r,s.messageUId=o,s.messageId=a}async _sendMultiMediaMessage(s,n,i){if(console.log("sendMultiMediaMessage =====",i),i.length>99){this.ctx.alert("alert.pickfiles.maxcount","99");return}const r=[],o=[];for(let h of i)h.size>100*1024*1024||h.size===0?r.push(h):o.push(h);if(r.length>0&&this.ctx.emit(new ie(ge.FILE_SEND_FAILED_EVENT,r)),o.length===0)return;const a=await Promise.all(o.map(async h=>{const p=await s(h),_=this._transBaseMessage2CachedMessage(n,p,this._createTransactionId());return _.file=h,_.progress=0,_})),l=this.ctx.status!==f.RCConnectionStatus.CONNECTED;l&&a.forEach(h=>{h.progress=-1,h.sentStatus=f.SentStatus.FAILED});const c=a[0],u=this._getOrCreateCache(n,c.sentTime+1,!1,!0);if(u.hasMoreAfterEndTime&&(u.histories.length=0,u.startTime=c.sentTime+1,u.hasMoreBeforeStartTime=!0,u.hasMoreAfterEndTime=!1),this._push2Cache(u,...a),this.ctx.dispatchEvent(new ie(Y.INSERT_NEW_MESSAGES,a)),l)return;const d=a.map(h=>this._uploadQueue.push({message:h,transactionId:h.transactionId}));for(let h of d){const{code:p,data:_}=await h,{message:m}=_;if(u.histories.findIndex(E=>E.transactionId===m.transactionId)===-1)continue;if(p!==f.ErrorCode.SUCCESS){m.progress=-1,m.sentStatus=f.SentStatus.FAILED,this.ctx.dispatchEvent(new ie(Y.MESSAGE_STATE_CHANGE,[m]));continue}const M=_.httpUrl;m.file=void 0,this._updateHttpUrl(m,M),this._push2SendQueue(m,m)}}_updateHttpUrl(s,n){switch(s.messageType){case f.MessageType.IMAGE:s.content.imageUri=n;break;case f.MessageType.GIF:s.content.remoteUrl=n;break;case f.MessageType.SIGHT:s.content.sightUrl=n;break;case f.MessageType.COMBINE_V2:s.content.remoteUrl=n;break;default:s.content.fileUrl=n;break}}async insertMessage(s,n,i){if($n(s)||!Tc(s))return{code:ks.INVALID_CONVERSATION};const r=this._createTransactionId(),o=this._transBaseMessage2CachedMessage(s,n,r);if(o.isPersited){const a=this._getOrCreateCache(s,o.sentTime+1,!0,!0);let l=yn(a.histories,c=>c.messageUId===o.messageUId||c.messageId===o.messageId);l!==-1?a.histories.splice(l,1,o):(l=yn(a.histories,c=>c.sentTime<=o.sentTime),l===-1?a.histories.unshift(o):a.histories.splice(l,0,o)),this.ctx.dispatchEvent(new ie(Y.INSERT_NEW_MESSAGES,[o]))}if(f.electronExtension.enable()){const{code:a,data:l}=await f.electronExtension.insertMessage(s,o,i);return a===f.ErrorCode.SUCCESS&&(o.messageId=l.messageId),{code:a,message:o}}return{code:f.ErrorCode.SUCCESS,message:o}}_transBaseMessage2CachedMessage(s,n,i,r){const{conversationType:o,targetId:a,channelId:l}=s,{isCounted:c,isPersited:u,content:d,messageType:h}=n,p={transactionId:i,targetId:a,conversationType:o,messageDirection:1,messageType:h,sentTime:f.getServerTime(),isStatusMessage:r==null?void 0:r.isStatusMessage,isCounted:c,isPersited:u,content:d,channelId:l||"",senderUserId:this.ctx.userId,receivedTime:0,messageUId:"",sentStatus:f.SentStatus.SENDING,isOffLineMessage:!1,canIncludeExpansion:(r==null?void 0:r.canIncludeExpansion)||!1,receivedStatus:0,isMentioned:r==null?void 0:r.isMentioned,expansion:r==null?void 0:r.expansion};return this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5&&(p.kitReadReceiptInfo=void 0),p}async deleteMessages(s,n,i){if(n.length===0)return;const r=[],o=[];n.forEach(c=>{c.messageUId?r.push(c):c.sentStatus===f.SentStatus.FAILED&&o.push(c)});const a=this._getExistCache(s),l=[];if(r.length){const{recallList:c}=await this._handleSentList(i,a,r,s);l.push(...c)}o.length&&a&&a.histories.length&&o.forEach(c=>{const u=a.histories.findIndex(d=>d.messageUId?d.messageUId===c.messageUId:d.transactionId===c.transactionId);if(u!==-1){const[d]=a.histories.splice(u,1);l.push({target:d})}}),l.length&&this.ctx.dispatchEvent(new ie(ge.MESSAGES_DELETED,l))}getAllowedToRecallTime(){return this.ctx.allowedToRecallTime}async _handleSentList(s,n,i,r){const o=[],a=[],l=[];return s?(await Promise.all(i.map(u=>f.recallMessage(r,{messageUId:u.messageUId,sentTime:u.sentTime,isDelete:!1})))).forEach((u,d)=>{if(u.code===f.ErrorCode.SUCCESS){o.push(i[d]);return}a.push(i[d])}):(await f.deleteMessages(r,i.map(u=>({messageUId:u.messageUId,sentTime:u.sentTime,messageDirection:u.messageDirection})))).code===f.ErrorCode.SUCCESS?o.push(...i):a.push(...i),o.length&&n&&n.histories.length&&o.forEach(c=>{const u=n.histories.findIndex(d=>d.messageUId===c.messageUId);if(s){const d=this._trans2RecallMessage(c),[h]=n.histories.splice(u,1,d);l.push({target:h,recallMsg:d})}else{const[d]=n.histories.splice(u,1);l.push({target:d})}}),a.length&&this.ctx.alert("alert.delete.messages.partial.failure",a.length),{recallList:l}}_trans2RecallMessage(s){return{...s,messageType:f.MessageType.RECALL_MESSAGE_TYPE,content:{messageUid:s.messageUId,sentTime:s.sentTime,targetId:s.targetId,conversationType:s.conversationType,channelId:s.channelId},isMentioned:!1}}async forward(s,n){if(n.length===0)return;const{conversationType:i,targetId:r,channelId:o}=s,a=f.getServerTime(),l=n.map(u=>{const d={...u};return u.content.mentionedInfo&&delete u.content.mentionedInfo,d.content=u.content,d.messageUId="",d.transactionId=this._createTransactionId(),d.conversationType=i,d.targetId=r,d.channelId=o||"",d.sentStatus=f.SentStatus.SENDING,d.messageDirection=1,d.sentTime=a,d.senderUserId=this.ctx.userId,d.readReceiptInfo&&delete d.readReceiptInfo,d.kitReadReceiptInfo&&(d.kitReadReceiptInfo=void 0),d}),c=this._getOrCreateCache(s,a+1,!1,!0);this._push2Cache(c,...l),this.ctx.dispatchEvent(new ie(Y.INSERT_NEW_MESSAGES,l)),l.forEach(u=>this._push2SendQueue(s,u))}async sendCombineMessage(s,n){if(n.length===0||$n(s))return;const{conversationType:i,targetId:r}=n[0],o=[],a=this.ctx.userId,l=this.ctx.appData.getUserProfile(a).name,c=[];if(i===f.ConversationType.PRIVATE){const p=n.findIndex(m=>m.senderUserId===a),_=n.findIndex(m=>m.senderUserId!==a);p>-1&&c.push(l),_>-1&&c.push(this.ctx.appData.getUserProfile(r).name)}else c.push(this.ctx.appData.getGroupProfile(r).name);const u=n.map((p,_)=>{const m=p.content;delete m.user,delete m.extra,delete m.mentionedInfo;const{targetId:L,sentTime:M,messageType:E,senderUserId:g}=p;return _<4&&o.push(`${this.ctx.appData.getUserProfile(g).name}: ${M0(p)}`.substring(0,1e3)),{targetId:L,timestamp:M,objectName:E,content:m,fromUserId:g}}),d={summaryList:o,nameList:c,conversationType:i,msgNum:u.length},h=JSON.stringify(u);if(h.length>=120*1024){const p=`${Date.now()}-${Math.floor(Math.random()*Date.now())}.json`;d.jsonMsgKey=p;const _=new File([h],p,{type:"application/json"});this._sendMultiMediaMessage(async m=>new f.CombineV2Message(d),s,[_])}else d.msgList=u,this.sendMessage(s,new f.CombineV2Message(d))}async _push2SendQueue(s,n){const{code:i,data:r}=await this._sendQueue.push({conversation:s,message:n,transactionId:n.transactionId});if(i!==f.ErrorCode.SUCCESS)n.sentStatus=f.SentStatus.FAILED;else{const o=n.sentTime;if(this._updateCachedMessage(n,r),n.sentTime!==o){const a=this._getExistCache(s);if(a){const l=a.histories.findIndex(c=>c.transactionId===n.transactionId);if(l!==-1){a.histories.splice(l,1);const c=yn(a.histories,u=>u.sentTime<=n.sentTime);a.histories.splice(c+1,0,n)}}}}this.ctx.dispatchEvent(new ie(Y.MESSAGE_STATE_CHANGE,[n]))}removeCachedMessages(s){this._histories.delete(St(s))}cancelMessageSent(s){const{transactionId:n,conversationType:i,targetId:r,channelId:o}=s,a={conversationType:i,targetId:r,channelId:o},l=this._getExistCache(a);if(!l)return;const c=l.histories.findIndex(d=>d.transactionId===n),u=l.histories[c];!u||u.sentStatus!==f.SentStatus.SENDING||typeof u.transactionId!="number"||(l.histories.splice(c,1),this.ctx.dispatchEvent(new ie(ge.MESSAGES_DELETED,[{target:s}])),this._uploadQueue.remove(n)||this._sendQueue.remove(n))}async resendMessage(s){const{transactionId:n,conversationType:i,targetId:r,channelId:o}=s,a={conversationType:i,targetId:r,channelId:o},l=this._getExistCache(a);if(!l)return;const c=l.histories.find(u=>u.transactionId===n);if(!(!c||c.sentStatus!==f.SentStatus.FAILED||typeof n!="number")){if(c.sentStatus=f.SentStatus.SENDING,c.file&&c.progress!==100){c.progress=0,this.ctx.emit(new ie(Y.MESSAGE_STATE_CHANGE,[c]));const{code:u,data:d}=await this._uploadQueue.push({message:c,transactionId:n});if(u!==f.ErrorCode.SUCCESS){c.sentStatus=f.SentStatus.FAILED,c.progress=-1,this.ctx.emit(new ie(Y.MESSAGE_STATE_CHANGE,[c]));return}c.file=void 0,this._updateHttpUrl(c,d.httpUrl)}this._push2SendQueue(c,c)}}async sendReadReceiptMessage(s,n){this.ctx.readReceiptVersion===j.GroupReadReceiptVersion.V5&&this._sendReadReceiptMessageV5(s,n)}getConversationLatestMessage(s){const n=this._getExistCache(s);if(!n)return null;const i=n.histories.length;return n.histories[i-1]}async getMessagesReadReceiptUsersByPageV5(s,n,i){if(this.ctx.readReceiptVersion!==j.GroupReadReceiptVersion.V5)return{code:f.ErrorCode.SUCCESS,data:null};try{const r=i.type==="read"?0:1,o={pageToken:i.pageToken,pageCount:i.count||20,readStatus:r,order:0};return await f.getMessagesReadReceiptUsersByPageV5(s,n,o)}catch(r){return this.logger.warn(B.L_GET_READ_RECEIPT_INFO_V5_E,`getMessagesReadReceiptUsersByPageV5 error: ${r}`),{code:f.ErrorCode.SUCCESS,data:null}}}}var U0=(e=>(e.ADD_TOP="conversation.menu.item.add_top",e.REMOVE_TOP="conversation.menu.item.remove_top",e.MUTE="conversation.menu.item.mute",e.UNMUTE="conversation.menu.item.unmute",e.MARK_READ="conversation.menu.item.mark_read",e.MARK_UNREAD="conversation.menu.item.mark_unread",e.REMOVE="conversation.menu.item.remove",e))(U0||{});const N0=[{id:"conversation.menu.item.add_top",icon:Zh,filter:e=>!e.isTop},{id:"conversation.menu.item.remove_top",icon:Wh,filter:e=>e.isTop},{id:"conversation.menu.item.mute",icon:Yh,filter:e=>e.notificationLevel!==j.NotificationLevel.NOT_MESSAGE_NOTIFICATION},{id:"conversation.menu.item.unmute",icon:Qh,filter(e){return e.notificationLevel===j.NotificationLevel.NOT_MESSAGE_NOTIFICATION}},{id:"conversation.menu.item.remove",icon:Jh}],_a=e=>e.map(t=>({...t}));class Cv extends Ss{constructor(){super(...arguments);K(this,"_menu",_a(N0))}_onInit(){this.ctx.addEventListener(ge.CONVERSATION_MENU_ITEM_CLICK,this._onMenuItemClick,this)}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this._menu=_a(N0)}_onMenuItemClick(s){const{id:n,conversation:i}=s.data;switch(n){case"conversation.menu.item.add_top":this.ctx.conversation.setConversationToTop(i,!0);break;case"conversation.menu.item.remove_top":this.ctx.conversation.setConversationToTop(i,!1);break;case"conversation.menu.item.mute":this.ctx.conversation.setConversationNotificationLevel(i,j.NotificationLevel.NOT_MESSAGE_NOTIFICATION);break;case"conversation.menu.item.unmute":this.ctx.conversation.setConversationNotificationLevel(i,j.NotificationLevel.ALL_MESSAGE);break;case"conversation.menu.item.mark_read":this.ctx.conversation.markConversationReaded(i);break;case"conversation.menu.item.mark_unread":this.ctx.conversation.markConversationUnread(i);break;case"conversation.menu.item.remove":this.ctx.conversation.removeConversation(i);break}}getMenum(s){return this._menu.filter(n=>!n.filter||n.filter(s))}cloneConversationMenu(){return _a(this._menu)}setConversationMenu(s){this._menu=_a(s)}}class yv extends Ss{constructor(){super(...arguments);K(this,"_audio",new Audio);K(this,"_status","stopped");K(this,"_progress",0);K(this,"_messageUId","");K(this,"_transactionId",0);K(this,"_onError",()=>{this._progress=0,this._status="stopped",this._dispatch()});K(this,"_onTimeUpdate",()=>{const{currentTime:s,duration:n}=this._audio;this._progress=Math.floor(s/n*100),this._status!=="stopped"&&this._dispatch()});K(this,"_onEnded",()=>{this._progress=100,this._status="stopped",this._dispatch()})}_onInitUserCache(){this._audio.addEventListener("ended",this._onEnded),this._audio.addEventListener("timeupdate",this._onTimeUpdate),this._audio.addEventListener("error",this._onError)}_onDestroyUserCache(){this._audio.removeEventListener("ended",this._onEnded),this._audio.removeEventListener("timeupdate",this._onTimeUpdate),this._audio.addEventListener("error",this._onError)}destroy(){throw new Error("Method not implemented.")}getCurrentState(){return{progress:this._progress,status:this._status,messageUId:this._messageUId,transactionId:this._transactionId}}_dispatch(){this.ctx.dispatchEvent(new ie(Y.AUDIO_PLAY_EVENT,this.getCurrentState()),!1)}play(s,n,i){if(this._messageUId&&this._messageUId===n||this._transactionId&&this._transactionId===i){this._status==="stopped"&&(this._audio.play(),this._status="playing",this._onTimeUpdate());return}this._status="playing",this._messageUId=n,this._transactionId=0,this._progress=0,this._audio.src=s,this._audio.play(),this._dispatch()}stop(){this._status="stopped",this._messageUId="",this._transactionId=0,this._progress=0,this._audio.src&&(this._audio.pause(),this._audio.src=""),this._dispatch()}pause(){this._status!=="stopped"&&(this._status="stopped",this._audio.pause(),this._dispatch())}}const zi=class zi{constructor(t,s){K(this,"cache",new Map);K(this,"convertingTTSList",new Set);K(this,"errorTTSList",new Set);K(this,"timers",new Map);Qi(this,jr,t=>{var s,n,i,r;try{const{code:o,messageUId:a,sttInfo:l}=t||{};(s=this.logger)==null||s.info(B.L_STT_RESPONSE_R,`[STT] response: ${a}, code: ${o}`);const c=this.timers.get(a);if(c&&(clearTimeout(c),this.timers.delete(a)),o===f.ErrorCode.SUCCESS){const u=l.text;for(this.cache.set(a,u);this.cache.size>zi.MAX_CACHE_SIZE;){const d=this.cache.keys().next().value||"";this.cache.delete(d)}this.errorTTSList.delete(a),this.convertingTTSList.delete(a),(n=this.logger)==null||n.info(B.L_STT_RESPONSE_O,`[STT] success: ${a}`),this.dispatchStateChange(a,"success",u)}else this.convertingTTSList.delete(a),this.errorTTSList.add(a),(i=this.logger)==null||i.warn(B.L_STT_RESPONSE_E,`[STT] failed: code=${o}, uid=${a}`),this.dispatchStateChange(a,"error")}catch(o){(r=this.logger)==null||r.warn(B.L_STT_RESPONSE_E,`[STT] exception: ${o}`)}});this.logger=t,this.eventDispatcher=s,f.addEventListener(f.Events.SPEECH_TO_TEXT_RESPONSE,Cn(this,jr))}dispatchStateChange(t,s,n,i){this.eventDispatcher&&this.eventDispatcher.dispatchEvent(new ie(Y.SPEECH_TO_TEXT_STATE_CHANGE,{messageUId:t,status:s,text:n,errorCode:i}))}getSTTText(t){return this.cache.get(t)}isConverting(t){return this.convertingTTSList.has(t)}hasError(t){return this.errorTTSList.has(t)}hasConverted(t){return this.cache.has(t)}async requestForMessage(t){var i,r,o,a;const{messageUId:s}=t;if(this.cache.has(s)||this.convertingTTSList.has(s))return f.ErrorCode.SUCCESS;this.errorTTSList.delete(s),this.convertingTTSList.add(s),this.dispatchStateChange(s,"converting");const n={messageType:f.MessageType.HQ_VOICE,remoteUrl:t.content.remoteUrl,duration:t.content.duration,sampleRate:t.content.sampleRate,numberOfChannels:t.content.numberOfChannels};try{(i=this.logger)==null||i.info(B.L_STT_REQUEST_T,`[STT] request: ${s}, opts: ${JSON.stringify(n)}`);const{code:l,msg:c}=await f.requestSpeechToTextForMessage(s,n);if((r=this.logger)==null||r.info(B.L_STT_REQUEST_R,`[STT] request response: ${s}, code: ${l}`),l===f.ErrorCode.SUCCESS){const u=setTimeout(()=>{var d;this.timers.delete(s),this.convertingTTSList.has(s)&&(this.convertingTTSList.delete(s),this.errorTTSList.add(s),(d=this.logger)==null||d.warn(B.D,`[STT] timeout: ${s}`),this.dispatchStateChange(s,"error"))},zi.REQUEST_TIMEOUT);this.timers.set(s,u)}else this.convertingTTSList.delete(s),this.errorTTSList.add(s),(o=this.logger)==null||o.warn(B.L_STT_REQUEST_E,`[STT] request failed: code=${l}, uid=${s}, msg=${c}`),this.dispatchStateChange(s,"error",void 0,l);return l}catch(l){return this.convertingTTSList.delete(s),this.errorTTSList.add(s),(a=this.logger)==null||a.warn(B.L_STT_REQUEST_E,`[STT] request exception: ${l}`),this.dispatchStateChange(s,"error"),-1}}clearMemoryData(){this.cache.clear(),this.convertingTTSList.clear(),this.errorTTSList.clear(),this.timers.forEach(t=>clearTimeout(t)),this.timers.clear()}destroy(){f.removeEventListener(f.Events.SPEECH_TO_TEXT_RESPONSE,Cn(this,jr)),this.clearMemoryData()}};jr=new WeakMap,K(zi,"MAX_CACHE_SIZE",200),K(zi,"REQUEST_TIMEOUT",3e4);let gc=zi;var ct=(e=>(e[e.NONE=0]="NONE",e[e.AT_ALL=1]="AT_ALL",e[e.AT_ME=2]="AT_ME",e))(ct||{});const Sv=30002;class Tv extends Ss{constructor(){super(...arguments);Qi(this,ma);K(this,"_list",[]);K(this,"_messageQueue",[]);K(this,"_converNtfQueue",[]);K(this,"_pool",new Map);K(this,"_getRemoteConversationTimer",null);K(this,"_pullOfflineMessageFinished",!1);Qi(this,fi,new Map);Qi(this,hi,!1);Qi(this,Kr,!1);K(this,"_openedConversation",null);K(this,"_getRemoteConversationFinished",!1);K(this,"_handleQueueTimer");K(this,"_typingTime",null)}getOpenedConversation(){return this._openedConversation}setOpenedConversation(s,n=!0){this._setOpenedConversation(s,n)}_createCachedConversation(s){const n=St(s);if(this._pool.has(n))return this._pool.get(n);const i={key:n,targetId:s.targetId,conversationType:s.conversationType,channelId:s.channelId||"",name:"",portraitUri:"",draft:"",latestMessage:null,isTop:!1,notificationLevel:f.NotificationLevel.ALL_MESSAGE,unreadCount:0,updateTime:0,online:!1,memberCount:0,mentionedType:0,markReaded:!1,markUnread:!1};return this._pool.set(n,i),i}_onInit(){this.ctx.addEventListener(Y.USER_PROFILES_UPDATE,this._onUserProfilesUpdate,this),this.ctx.addEventListener(Y.GROUP_PROFILES_UPDATE,this._onGroupProfilesUpdate,this),this.ctx.addEventListener(Y.SYSTEM_PROFILES_UPDATE,this._onSystemProfilesUpdate,this),this.ctx.addEventListener(Y.INSERT_NEW_MESSAGES,this._onInsertNewMessages,this),this.ctx.addEventListener(ge.MESSAGES_DELETED,this._onDeleteMessages,this),this.ctx.addEventListener(Y.MESSAGE_STATE_CHANGE,this._onMessageStateChange,this),f.addEventListener(f.Events.SYNC_READ_STATUS,this._onSyncReadStatus,this),f.addEventListener(f.Events.CONVERSATION,this._onRecvConversationNtf,this),f.addEventListener(f.Events.PULL_OFFLINE_MESSAGE_FINISHED,this._onPullOfflineMessageFinished,this),f.addEventListener(f.Events.MESSAGE_RECEIPT_RESPONSE_V5,this._onV5ReceiptResponse.bind(this)),f.addEventListener(f.Events.CONNECTED,this._onConnected,this),f.addEventListener(f.Events.CONVERSATIONS_SYNCED,this._onConversationsSynced.bind(this)),f.electronExtension.enable()&&this.ctx.addEventListener(Y.RECV_NEW_MESSAGES,this._onRecvNewMessages,this)}_onInitUserCache(){Cn(this,hi)||this._getMoreRemoteConversation(!0)}_onDestroyUserCache(){this._list.length=0,this._pool.clear(),this._openedConversation=null,this._getRemoteConversationFinished=!1,this._pullOfflineMessageFinished=!1,this._getRemoteConversationTimer&&(clearTimeout(this._getRemoteConversationTimer),this._getRemoteConversationTimer=null),this._handleQueueTimer&&(clearTimeout(this._handleQueueTimer),this._handleQueueTimer=null),this._clearTypingStatus(),Zr(this,hi,!1),Zr(this,Kr,!1)}destroy(){this._onDestroyUserCache(),this.ctx.removeEventListener(Y.USER_PROFILES_UPDATE,this._onUserProfilesUpdate,this),this.ctx.removeEventListener(Y.GROUP_PROFILES_UPDATE,this._onGroupProfilesUpdate,this),this.ctx.removeEventListener(Y.SYSTEM_PROFILES_UPDATE,this._onSystemProfilesUpdate,this),this.ctx.removeEventListener(Y.INSERT_NEW_MESSAGES,this._onInsertNewMessages,this),this.ctx.removeEventListener(ge.MESSAGES_DELETED,this._onDeleteMessages,this),this.ctx.removeEventListener(Y.MESSAGE_STATE_CHANGE,this._onMessageStateChange,this),f.removeEventListener(f.Events.SYNC_READ_STATUS,this._onSyncReadStatus,this),f.removeEventListener(f.Events.PULL_OFFLINE_MESSAGE_FINISHED,this._onPullOfflineMessageFinished,this),f.removeEventListener(f.Events.CONVERSATION,this._onRecvConversationNtf,this),f.removeEventListener(f.Events.MESSAGE_RECEIPT_RESPONSE_V5,this._onV5ReceiptResponse,this),f.removeEventListener(f.Events.CONNECTED,this._onConnected,this),f.removeEventListener(f.Events.CONVERSATIONS_SYNCED,this._onConversationsSynced.bind(this)),this.ctx.removeEventListener(Y.RECV_NEW_MESSAGES,this._onRecvNewMessages,this)}async _onDeleteMessages(s){const n=s.data,{target:i,recallMsg:r}=n[n.length-1],o=this._pool.get(St(i));if(!o)return;if(f.electronExtension.enable()&&r){const{conversationType:l,targetId:c,channelId:u}=r,{data:d}=await f.getConversation({conversationType:l,targetId:c,channelId:u});if(!d)return;d.conversationType===f.ConversationType.GROUP&&d.hasMentioned?o.mentionedType=ct.AT_ME:o.mentionedType=ct.NONE,this._paddingData(o,d),this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[o]));return}const a=o.latestMessage;!a||a.transactionId!==i.transactionId&&a.messageUId!==i.messageUId||(o.latestMessage=r||this.ctx.message.getConversationLatestMessage(o),this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[o])))}async _onInsertNewMessages(s){const n=s.data,i=n[n.length-1],r=St(i);let o=this._pool.get(r);o||(o=this._parseConversationList([{latestMessage:i,conversationType:i.conversationType,targetId:i.targetId,channelId:i.channelId,lastUnreadTime:0}])[0]),o.latestMessage=i,o.updateTime=i.sentTime,o.markReaded=!0,o.markUnread=!1,this._recalculatePosition(new Set([o]))}_onMessageStateChange(s){const n=s.data,i=[];n.forEach(r=>{const o=St(r),a=this._pool.get(o);a&&a.latestMessage&&(a.latestMessage.transactionId===r.transactionId||a.latestMessage.messageUId==r.messageUId)&&(a.latestMessage=r,i.push(a))}),i.length&&this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,i))}_getMentionedType(s,n){if(!n)return ct.NONE;const{type:i,userIdList:r}=n;return i===f.MentionedType.ALL?ct.AT_ALL:!r||!Array.isArray(r)?ct.NONE:r.includes(s)?ct.AT_ME:ct.NONE}_onUserProfilesUpdate(s){const n=[];s.data.forEach(i=>{const r=this._pool.get(St({conversationType:f.ConversationType.PRIVATE,targetId:i.userId}));r&&(r.name!==i.name||r.portraitUri!==i.portraitUri||r.online!==i.online)&&(r.name=i.name,r.portraitUri=i.portraitUri,r.online=i.online,n.push(r))}),n.length&&this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,n))}_onSystemProfilesUpdate(s){const n=[];s.data.forEach(i=>{const r=this._pool.get(St({conversationType:f.ConversationType.SYSTEM,targetId:i.systemId}));r&&(r.name!==i.name||r.portraitUri!==i.portraitUri)&&(r.name=i.name,r.portraitUri=i.portraitUri,n.push(r))}),n.length&&this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,n))}_onGroupProfilesUpdate(s){const n=s.data,i=[];n.forEach(r=>{const o={conversationType:f.ConversationType.GROUP,targetId:r.groupId},a=this._pool.get(St(o));a&&(a.name!==r.name||a.portraitUri!==r.portraitUri||a.memberCount!==r.memberCount)&&(a.name=r.name,a.portraitUri=r.portraitUri,a.memberCount=r.memberCount,i.push(a))}),i.length&&this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,i))}updateLatesMessageStatus(s){if(!(!s||s.length<=0)&&this.ctx.readReceiptVersion===f.GroupReadReceiptVersion.V5){const n=s.filter(i=>i.conversationType===f.ConversationType.PRIVATE&&i.latestMessage&&i.latestMessage.senderUserId===this.ctx.userId);this._handleLatestReadReceiptInfoV5(n)}}async _onSyncReadStatus(s){const n={conversationType:s.conversationType,channelId:s.channelId||"",targetId:s.targetId},i=St(n);let r=this._pool.get(i);if(!r)return;const{code:o,data:a}=await f.getUnreadCount(n);if(o===f.ErrorCode.SUCCESS&&r.unreadCount!==a){if(r.mentionedType=ct.NONE,f.electronExtension.enable()){const{data:l}=await f.getConversation(n);r.mentionedType=l&&l.hasMentioned?ct.AT_ME:ct.NONE}r.unreadCount=a,this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[r]))}}_onRecvConversationNtf(s){this._converNtfQueue.push(...s.conversationList)}_handleConversationNtf(s){const{conversation:n,updatedItems:i}=s,r=St(n);let o=0,a=this._pool.get(r);return a&&i?this._handleUpdatedItems(a,i,n):!a&&(i!=null&&i.latestMessage)?(n.conversationType===f.ConversationType.PRIVATE?a=this._transPriConversation(n):n.conversationType===f.ConversationType.GROUP?a=this._transGroupConversation(n):a=this._transSystemConversation(n),{changeType:2,conversation:a}):{changeType:o}}_handleUpdatedItems(s,n,i){var o,a,l,c,u;let r=0;if(n.isTop&&(s.isTop=n.isTop.val,r=Math.max(2,r)),n.notificationLevel&&(s.notificationLevel=n.notificationLevel.val,r=Math.max(1,r)),(o=n.latestMessage)!=null&&o.val&&(i.conversationType===f.ConversationType.GROUP&&i.hasMentioned?s.mentionedType=i.mentionedInfo.type===f.MentionedType.ALL?ct.AT_ALL:ct.AT_ME:s.mentionedType=ct.NONE,this._paddingData(s,i),s.markReaded&&i.unreadMessageCount&&(s.markReaded=!1),r=Math.max(2,r)),n.unreadMessageCount&&!((a=n.latestMessage)!=null&&a.val)&&(s.unreadCount=i.unreadMessageCount||0,s.markReaded&&s.unreadCount>0&&(s.markReaded=!1),r=Math.max(1,r)),n.hasMentioned&&!((l=n.latestMessage)!=null&&l.val)&&(i.conversationType===f.ConversationType.GROUP&&i.hasMentioned?s.mentionedType=((c=i.mentionedInfo)==null?void 0:c.type)===f.MentionedType.ALL?ct.AT_ALL:ct.AT_ME:s.mentionedType=ct.NONE,r=Math.max(1,r)),this.ctx.readReceiptVersion===f.GroupReadReceiptVersion.V5)try{const d=`${s.conversationType}|${s.targetId}|${s.channelId||""}|${((u=s.latestMessage)==null?void 0:u.messageUId)||""}`,h=Cn(this,fi).get(d);h&&(s.latestMessage.kitReadReceiptInfo=h,r=Math.max(1,r))}catch(d){this.logger.warn(B.L_HANDLE_READ_RECEIPT_V5_E,`handle Updated Items error: ${d}`)}return{changeType:r,conversation:s}}_paddingData(s,n){s.latestMessage=n.latestMessage?mi(n.latestMessage):null,s.unreadCount=n.unreadMessageCount||0,s.isTop=!!n.isTop,f.electronExtension.enable()?(s.draft=n.draft||"",s.updateTime=n.operationTime||(n.latestMessage?n.latestMessage.sentTime:0)):s.updateTime=n.latestMessage?n.latestMessage.sentTime:0,n.notificationLevel&&(s.notificationLevel=n.notificationLevel)}_transPriConversation(s){const n=this.ctx.appData.getUserProfiles([s.targetId])[0],i=this._createCachedConversation(s);return i.name=n.name,i.portraitUri=n.portraitUri,i.online=n.online,this._paddingData(i,s),i}_transSystemConversation(s){const n=this.ctx.appData.getSystemProfiles([s.targetId])[0],i=this._createCachedConversation(s);return i.name=n.name,i.portraitUri=n.portraitUri,this._paddingData(i,s),i}_transGroupConversation(s){const n=this.ctx.appData.getGroupProfiles([s.targetId])[0],i=this._createCachedConversation(s);return i.name=n.name,i.portraitUri=n.portraitUri,i.memberCount=n.memberCount,s.hasMentioned?i.mentionedType=s.mentionedInfo.type===f.MentionedType.ALL?ct.AT_ALL:ct.AT_ME:i.mentionedType=ct.NONE,this._paddingData(i,s),i}_parseConversationList(s){const n=[];return s.forEach(i=>{const{targetId:r,conversationType:o,latestMessage:a}=i;switch(a&&this.ctx.readReceiptVersion===f.GroupReadReceiptVersion.V5&&a.readReceiptInfo&&a.senderUserId===this.ctx.userId&&(a.sentStatus=f.SentStatus.READ),o){case f.ConversationType.PRIVATE:n.push(this._transPriConversation(i));return;case f.ConversationType.GROUP:n.push(this._transGroupConversation(i));return;case f.ConversationType.SYSTEM:n.push(this._transSystemConversation(i));return;default:this.logger.warn(B.L_PARSE_CONVERSATION_E,`unknown conversation type: ${o}, targetId: ${r}`);return}}),n}getCachedConversationList(){return this._list.slice()}_addToConversationList(s,n=!0){let i=this._list.findIndex(l=>_t(l,s));if(i>-1){if(!n)return{origin:i,current:i};this._list.splice(i,1)}const{isTop:r,updateTime:o}=s;let a=this._list.findIndex((l,c)=>r!==l.isTop?r:o!==l.updateTime?o>l.updateTime:i>-1&&c>=i);return a===-1&&(a=this._list.length),this._list.splice(a,0,s),{origin:i,current:a}}_onRecvNewMessages(s){this._messageQueue.push(...s.data)}_handleMessage(s){const n=this.ctx.userId;let i=0;const r=St(s),{content:o,conversationType:a,targetId:l,channelId:c,sentTime:u,isCounted:d,senderUserId:h}=s;let p=this._pool.get(r);if(!p){const _={latestMessage:s,conversationType:a,targetId:l,channelId:c,lastUnreadTime:0};a===f.ConversationType.PRIVATE?p=this._transPriConversation(_):a===f.ConversationType.GROUP?p=this._transGroupConversation(_):p=this._transSystemConversation(_),i=2}return a===f.ConversationType.GROUP&&p.mentionedType!==ct.AT_ME&&h!==n&&(p.mentionedType=Math.max(this._getMentionedType(n,o.mentionedInfo),p.mentionedType),i=Math.max(i,1)),u>=p.updateTime&&(p.latestMessage=s,p.updateTime=u,i=2),d&&h!==n&&(p.unreadCount+=1,p.markReaded=!1,i=Math.max(i,1)),{changeType:i,conversation:p}}_recalculatePosition(s){const n=[];[...s].sort((r,o)=>r.updateTime-o.updateTime).forEach(r=>{const{current:o}=this._addToConversationList(r);n.push({order:o,conversation:r})}),this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_ORDER_CHANGE,n))}async _getMoreRemoteConversation(s=!1,n=0){const i=n===0?30:200,{code:r,data:o}=await f.getConversationListByTimestamp({count:i,startTime:n});if(s&&this._pullOfflineMessageFinished)return;if(r!==f.ErrorCode.SUCCESS&&!s){this.logger.error(B.L_GET_CONVERSATION_E,`get conversation list failed: code = ${r}, count = ${i}, startTime = ${n}`),this._getRemoteConversationTimer=setTimeout(()=>this._getMoreRemoteConversation(s,n),1e3);return}this.ctx.readReceiptVersion===f.GroupReadReceiptVersion.V5&&this._handleLatestReadReceiptInfoV5(o||[]);const a=o||[];if(a.length===0||s){this._onGetRemoteConversationListDone(s);return}n===0&&!s&&(this._list.length=0);const c=this._parseConversationList(a);let u=n;if(u=this._handleNextRequestTimestamp(u,c),this.ctx.dispatchEvent(new ie(Y.CONVERSATION_LIST_RESET,this._list)),s||f.electronExtension.enable()||a.length<i){this._onGetRemoteConversationListDone(s);return}this._getRemoteConversationTimer=setTimeout(()=>this._getMoreRemoteConversation(!1,u),300)}_handleNextRequestTimestamp(s,n){return n.forEach(i=>{this._addToConversationList(i,!1),i.updateTime&&(s=s===0?i.updateTime:Math.min(i.updateTime,s))}),s}_onPullOfflineMessageFinished(){this._getRemoteConversationTimer&&(clearTimeout(this._getRemoteConversationTimer),this._getRemoteConversationTimer=null),this._handleQueueTimer&&(clearTimeout(this._handleQueueTimer),this._handleQueueTimer=null),this._pullOfflineMessageFinished?this._handleQueueDelay():this._getMoreRemoteConversation(!1),this._pullOfflineMessageFinished=!0}_onConnected(){q0(this,ma,Z0).call(this),!this._getRemoteConversationFinished&&!Cn(this,hi)&&this._getMoreRemoteConversation(!0)}_onConversationsSynced(){Zr(this,Kr,!0),this._pullOfflineMessageFinished||setTimeout(()=>this._getMoreRemoteConversation(!1),100)}async _handleLatestReadReceiptInfoV5(s){var o;const n=this._buildIdentifiersForLatest(s);if(!n.length)return;const i=100,r=[];for(let a=0;a<n.length;a+=i)r.push(n.slice(a,a+i));try{(await Promise.all(r.map(l=>f.getMessageReadReceiptInfoV5ByIdentifiers(l)))).forEach(l=>{((l==null?void 0:l.data)||[]).forEach(u=>{const d=(u==null?void 0:u.identifier)||{},h=`${d.conversationType}|${d.targetId}|${d.channelId||""}|${u.messageUId}`;Cn(this,fi).set(h,u)})}),this._list.forEach(l=>{if(l.conversationType!==f.ConversationType.PRIVATE)return;const c=l.latestMessage;if(!(c!=null&&c.messageUId))return;const u=`${l.conversationType}|${l.targetId}|${l.channelId||""}|${c.messageUId}`,d=Cn(this,fi).get(u);d&&(l.latestMessage.kitReadReceiptInfo=d,this._pool.set(l.key,l))})}catch(a){(o=this.logger)==null||o.warn(B.L_GET_READ_RECEIPT_INFO_V5_E,`getMessageReadReceip·tInfoV5ByIdentifiers error: ${a}`)}}_buildIdentifiersForLatest(s){const n=[];return s.forEach(i=>{const r=i.latestMessage;i.conversationType===f.ConversationType.PRIVATE&&(r==null?void 0:r.messageDirection)===f.MessageDirection.SEND&&(r!=null&&r.messageUId)&&n.push({identifier:{conversationType:i.conversationType,targetId:i.targetId,channelId:i.channelId},messageUId:r.messageUId})}),n}_onV5ReceiptResponse(s){if(this.ctx.readReceiptVersion===f.GroupReadReceiptVersion.V5)try{if(!s||!Array.isArray(s))return;s.forEach(n=>{const i=(n==null?void 0:n.identifier)||{},r=`${i.conversationType}|${i.targetId}|${i.channelId||""}|${n.messageUId}`;Cn(this,fi).set(r,n);const o=St({conversationType:i.conversationType,targetId:i.targetId,channelId:i.channelId}),a=this._pool.get(o);a&&a.latestMessage&&a.latestMessage.messageUId===(n==null?void 0:n.messageUId)&&(a.latestMessage.kitReadReceiptInfo=n,this._pool.set(o,a),this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[a])),this.logger.debug(B.L_V5_RECEIPT_RESPONSE_O,`onV5ReceiptResponse success: ${JSON.stringify(a)}`))})}catch(n){this.logger.warn(B.L_V5_RECEIPT_RESPONSE_E,`onV5ReceiptResponse error: ${n}`)}}_onGetRemoteConversationListDone(s){s||(this._getRemoteConversationFinished=!0),this._handleQueue()}_handleQueueDelay(){this._handleQueueTimer||(this._handleQueueTimer=setTimeout(()=>{this._handleQueueTimer=null,this._handleQueue()},20))}_handleQueue(){if(this._messageQueue.length===0&&this._converNtfQueue.length===0){this._handleQueueDelay();return}if(this._list.length>=20&&!this._getRemoteConversationFinished)return;const s=new Set,n=new Set,i=new Set,r=Number.MAX_SAFE_INTEGER,o=20,a=Date.now(),l=c=>{const{changeType:u,conversation:d}=c;u===1?(i.add(d),s.add(d)):u===2&&(n.add(d),s.add(d))};if(this._handleMessageQueue(l,s,r,o,a),this._handleQueueNotify(l,s,r,o,a),n.size&&this._recalculatePosition(n),i.size){const c=[...i].filter(u=>!n.has(u));c.length&&this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,c))}this._handleQueueDelay()}_handleMessageQueue(s,n,i,r,o){for(;this._messageQueue.length&&Date.now()-o<r&&n.size<i;){const a=this._messageQueue[0];if(!this._getRemoteConversationFinished&&!a.isOffLineMessage)break;if(this._getRemoteConversationFinished&&a.isOffLineMessage){this._messageQueue.shift();continue}const l=mi(this._messageQueue.shift());s(this._handleMessage(l))}}_handleQueueNotify(s,n,i,r,o){var a,l,c;if(!this._getRemoteConversationFinished){let u=0;for(;this._messageQueue.length===0&&u<this._converNtfQueue.length&&Date.now()-o<r&&n.size<i;){const d=this._converNtfQueue[u];if((a=d.updatedItems)!=null&&a.latestMessage){if(!d.updatedItems.latestMessage.val.isOffLineMessage)break;this._converNtfQueue.splice(u,1),s(this._handleConversationNtf(d));continue}u+=1}return}for(;this._messageQueue.length===0&&this._converNtfQueue.length&&Date.now()-o<r&&n.size<i;){const u=this._converNtfQueue.shift();(c=(l=u.updatedItems)==null?void 0:l.latestMessage)!=null&&c.val.isOffLineMessage||s(this._handleConversationNtf(u))}}async getMoreConversationList(s,n){let i=s?this._list.findIndex(l=>_t(l,s)):-1;i===-1?i=0:i=i+1;const r=i+(n||30),o=this._list.slice(i,r);return{hasMore:this._list.length>r||!this._getRemoteConversationFinished,code:f.ErrorCode.SUCCESS,list:o}}_alertImLibFailure(s){const n=s===Sv?"alert.imlib.failed.network":"alert.imlib.failed.generic";this.ctx.alert(n,s)}async removeConversation(s){const{code:n}=await f.removeConversation(s);if(n!==f.ErrorCode.SUCCESS){this._alertImLibFailure(n);return}const i=St(s),r=this._list.findIndex(l=>_t(l,s));if(r>-1){const[l]=this._list.splice(r,1);this._pool.delete(i),this.ctx.dispatchEvent(new ie(Y.CONVERSATIN_ITEM_REMOVE,[l])),l===this._openedConversation&&this._setOpenedConversation(null,!1)}if(!this.ctx.store.getCommandSwitch(xt.DELETE_MESSAGES_WHILE_DELETE_CONVERSATION))return;this.ctx.message.removeCachedMessages(s);const a=f.getServerTime()+5e3;f.clearHistoryMessages(s,a),f.electronExtension.enable()&&f.electronExtension.deleteMessagesByTimestamp(s,a,!1)}async openConversation(s,n=!0){if($n(s))return{code:ks.INVALID_CONVERSATION};if(!this._getRemoteConversationFinished||!this._pullOfflineMessageFinished)return{code:ks.CONVERSATION_LIST_NOT_READY};if(this._openedConversation&&_t(this._openedConversation,s))return{code:f.ErrorCode.SUCCESS};const{targetId:i,conversationType:r,channelId:o=""}=s;let a=this._list.findIndex(c=>_t(c,s)),l=this._list[a];return l||([l]=this._parseConversationList([{targetId:i,conversationType:r,channelId:o,latestMessage:null,lastUnreadTime:0}]),l.updateTime=f.getServerTime(),this._recalculatePosition(new Set([l]))),this._setOpenedConversation(l,n),{code:f.ErrorCode.SUCCESS}}_setOpenedConversation(s,n=!0){this._clearTypingStatus(),this._openedConversation=s,this.ctx.emit(new ie(ge.CONVERSATION_SELECTED,{conversation:s,focusInput:n}),1)}async setConversationNotificationLevel(s,n){if($n(s))return{code:ks.INVALID_CONVERSATION};const i=this._list.find(o=>_t(o,s));if(!i)return{code:f.ErrorCode.CONVER_GET_ERROR};if(i.notificationLevel===n)return{code:f.ErrorCode.SUCCESS};const{code:r}=await f.setConversationNotificationLevel(s,n);return r!==f.ErrorCode.SUCCESS?(this._alertImLibFailure(r),{code:r}):(i.notificationLevel=n,this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[i])),{code:r})}async setConversationToTop(s,n){if($n(s))return{code:ks.INVALID_CONVERSATION};n=!!n;const i=this._list.find(o=>_t(o,s));if(!i)return{code:f.ErrorCode.CONVER_GET_ERROR};if(i.isTop===n)return{code:f.ErrorCode.SUCCESS};const{code:r}=await f.setConversationToTop(s,n);return r!==f.ErrorCode.SUCCESS?(this._alertImLibFailure(r),{code:r}):(i.isTop=n,this._recalculatePosition(new Set([i])),{code:r})}async markConversationReaded(s){var r;const{data:n}=await f.getFirstUnreadMessage(s);await this.clearUnreadCountByTimestamp(s,((r=s.latestMessage)==null?void 0:r.sentTime)||Date.now());const i=[];n&&i.push(mi(n)),s.latestMessage&&i.push(s.latestMessage),this.ctx.message.sendReadReceiptMessage(s,i)}markConversationUnread(s){s.markReaded=!1,s.markUnread=!0,this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[s]))}getCachedConversationByKey(s){return this._pool.get(s)}async clearUnreadCountByTimestamp(s,n){const i=this.getCachedConversationByKey(St(s));if(!f.electronExtension.enable())await f.clearMessagesUnreadStatus(s),i.unreadCount=0,i.mentionedType=ct.NONE,i.markReaded=!0,i.markUnread=!1;else{await f.clearUnreadCountByTimestamp(s,n);const{data:r}=await f.getUnreadCount(s);i.unreadCount=r,i.markReaded=!0,i.markUnread=!1,i.mentionedType=ct.NONE}return this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_CHANGE,[i])),await f.sendSyncReadStatusMessage(s,n+1||Date.now()),{code:f.ErrorCode.SUCCESS}}async handleConversationDraft(s,n){if(!s)return;const{data:i}=await f.getTextMessageDraft(s);if(i===n)return;const r=St(s);let o=this._pool.get(r);if(n){const{code:l}=await f.saveTextMessageDraft(s,n);if(l!==f.ErrorCode.SUCCESS||!o)return;o.draft=n,o.updateTime=f.getServerTime();const{current:c}=this._addToConversationList(o);this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_ORDER_CHANGE,[{order:c,conversation:o}]));return}if(await f.clearTextMessageDraft(s),!o)return;o.draft="",o.latestMessage&&(o.updateTime=o.latestMessage.sentTime);const{current:a}=this._addToConversationList(o);this.ctx.dispatchEvent(new ie(Y.CONVERSATION_ITEM_ORDER_CHANGE,[{order:a,conversation:o}]))}updateLastReadTime(s,n){if(!this.ctx.conversationStore)return;const{conversationType:i,targetId:r,channelId:o=""}=s,a=this.ctx.conversationStore.get(i,r,o);n>a.lastReadTime&&this.ctx.conversationStore.set(i,r,{lastReadTime:n},o)}getLastReadTime(s){if(!this.ctx.conversationStore)return 0;const{conversationType:n,targetId:i,channelId:r=""}=s;return this.ctx.conversationStore.get(n,i,r).lastReadTime||0}sendTypingStatus(s=f.MessageType.TEXT){!this._openedConversation||this._openedConversation.conversationType!==f.ConversationType.PRIVATE||this._typingTime||(this._typingTime=setTimeout(()=>{this._typingTime=null},5e3),f.sendTypingStatusMessage(this._openedConversation,s))}_clearTypingStatus(){this._typingTime&&(clearTimeout(this._typingTime),this._typingTime=null)}}fi=new WeakMap,hi=new WeakMap,Kr=new WeakMap,ma=new WeakSet,Z0=function(){const{isConversationListIncludeUltraGroup:s}=f.getAppSettings()||{};Zr(this,hi,!!s)};const Iv=e=>({...e}),D0={radius:20,portraitSize:"large",topBackgroundColor:"#EFF4FF",hoverBackgroundColor:"#F3F5FA",activeBackgroundColor:"#D2E1FE"};class wv extends Ss{constructor(s){super(s);K(this,"conversationItemCfg",{});this.setConversationItemCfg(D0)}_onInit(){}_onInitUserCache(){}_onDestroyUserCache(){}destroy(){this.setConversationItemCfg(D0)}cloneConversationItemCfg(){return Iv(this.conversationItemCfg)}setConversationItemCfg(s){this.conversationItemCfg={...this.conversationItemCfg,...s}}}class Rv extends Mc{constructor(s,n,i,r){super();K(this,"store");K(this,"conversationStore",null);K(this,"i18n");K(this,"appData");K(this,"message");K(this,"conversation");K(this,"conversationItem");K(this,"input");K(this,"bubble");K(this,"audioPlayer");K(this,"conversationMenu");K(this,"msgMenu");K(this,"speechToTextStore");K(this,"_stat");K(this,"_originUserId","");K(this,"_readReceiptVersion");K(this,"_status",j.RCConnectionStatus.DISCONNECTED);K(this,"isElectronRuntime",!1);K(this,"modalContainerId","");K(this,"allowedToRecallTime");K(this,"allowedToReEditTime");this.context=s,this.logger=n,this._emittor=i,this._stat=new rc(s),this.modalContainerId=r.modalContainerId||"",this.allowedToRecallTime=r.allowedToRecallTime||120,this.allowedToReEditTime=r.allowedToReEditTime||60,this.store=new of(n),this.i18n=new O5(this),this.audioPlayer=new yv(this),this.appData=new M5(this,r.hooks),this.message=new vv(this),this.conversation=new Tv(this),this.conversationItem=new wv(this),this.input=new Am(this),this.bubble=new fE(this),this.conversationMenu=new Cv(this),this.msgMenu=new hE(this),this.speechToTextStore=new gc(n,this),this.msgMenu.setSpeechToTextStore(this.speechToTextStore),r.language&&this.i18n.setLanguage(r.language),f.addEventListener(f.Events.CONNECTED,this._onConnected,this),f.addEventListener(f.Events.DISCONNECT,this._onDisconnected,this),f.addEventListener(f.Events.SUSPEND,this._onSuspend,this),f.addEventListener(f.Events.CONNECTING,this._onConnecting,this)}get readReceiptVersion(){return this._readReceiptVersion}get userId(){return this._originUserId}get status(){return this._status}_onConnecting(){this._status=j.RCConnectionStatus.CONNECTING,this.dispatchEvent(new Yi(j.RCConnectionStatus.CONNECTING))}_onDisconnected(s){this._status=j.RCConnectionStatus.DISCONNECTED,this.dispatchEvent(new Yi(j.RCConnectionStatus.DISCONNECTED,s))}_onSuspend(s){this._status=j.RCConnectionStatus.SUSPENDED,this.dispatchEvent(new Yi(j.RCConnectionStatus.SUSPENDED,s))}_onConnected(){var n;this._status=j.RCConnectionStatus.CONNECTED,this._readReceiptVersion=(n=f.getAppSettings())==null?void 0:n.readReceiptVersion;const s=f.getCurrentUserId();if(this._originUserId===s){this.dispatchEvent(new Yi(j.RCConnectionStatus.CONNECTED));return}this._originUserId&&this._originUserId!==s&&(this._originUserId=s,this.dispatchEvent(new ie(Y.DESTROY_USER_CACHE),!1)),this._originUserId=s,this.dispatchEvent(new ie(Y.INIT_USER_CACHE),!1),this.dispatchEvent(new Yi(j.RCConnectionStatus.CONNECTED)),this.conversationStore=new df(window,this.getAppkey(),this.userId,this.logger)}destroy(){f.removeEventListener(f.Events.CONNECTED,this._onConnected,this),f.removeEventListener(f.Events.DISCONNECT,this._onDisconnected,this),f.removeEventListener(f.Events.SUSPEND,this._onSuspend,this),f.removeEventListener(f.Events.CONNECTING,this._onConnecting,this),this.i18n.destroy(),this.appData.destroy(),this.message.destroy(),this.conversation.destroy(),this.input.destroy(),this.bubble.destroy(),this.conversationMenu.destroy(),this.msgMenu.destroy(),this.speechToTextStore.destroy(),this._originUserId="",this._readReceiptVersion=void 0}alert(s,...n){this.emit(new ie(ge.ALERT_EVENT,this.i18n.format(s,...n)))}confirm(s,...n){const i=new ie(ge.CONFIRM_EVENT,this.i18n.format(s,...n));return this.emit(i),i.awaitResult()}emit(s,n=0){const i=s.clone(n!==0);this._emittor.dispatchEvent(i,!1),!(n===2||n===0&&i.isDefaultPrevented())&&this.dispatchEvent(s)}getAppkey(){return this.context.getAppkey()}statistic(s){this._stat.report(s)}}const Mv={class:"voice"},Ov=["src"],bv={class:"progress"},Lv={class:"time"},Av=Ie(Te({__name:"hq-voice-message.ce",props:{value:{type:Object}},setup(e){const t=c=>`${Math.max(0,Math.floor(c))}s`,s=ye(()=>t(e.value.duration)),n=m5,i=E5;e.value.isOwner;const r=new Array(20).fill(0).map(c=>(Math.floor(Math.random()*9)+3)*2),o=ye(()=>Math.floor(e.value.progress/100*20)||-1),a=ye(()=>e.value.playing?i:n),l=()=>e.value.toggle();return(c,u)=>(w(),P("div",null,[y("div",Mv,[y("img",{src:a.value,alt:"Button Icon",class:"control",onClick:l},null,8,Ov),y("div",bv,[(w(!0),P(De,null,Ot(x(r),(d,h)=>(w(),P("div",{class:Je(["line",{active:o.value>=h}]),style:it({height:d+"px"})},null,6))),256))]),y("div",Lv,oe(s.value),1)])]))}}),[["styles",[`.voice{display:flex;align-items:center;padding:20px;gap:10px}.voice .control{width:20px;height:20px;cursor:pointer}.voice .progress{height:22px;display:flex;align-items:center}.voice .progress .line{margin-right:4px;width:3px;border-radius:3px;animation:bounce-in 2s;background:#020814}.voice .progress .line.active{transition:all .5s;background:#0047FF}.voice .time{font-size:14px}
393
+ `]]]);var P0=(e=>(e.HQVoiceMessageComponent="rc-hq-voice-message",e))(P0||{});const V0={"rc-hq-voice-message":Av};var $0=(e=>(e.HQVoiceMessageComponent="HQVoiceMessageComponent",e))($0||{});class xv{constructor(t){K(this,"logger");K(this,"_customMessageComponents",{});K(this,"_overrideAbleComponents",{...V0});K(this,"_overrideCtx");this.ctx=t,this.logger=t.logger,this._overrideCtx={computed:ye,ref:N,reactive:tn,getLanguage:()=>ai.value,getCurrentUserId:()=>this.ctx.userId},l7(t),dv(t)}registerCustomElement(t,s){const n=P0[t];if(!n){this.logger.error(B.A_REGISTER_CUSTOM_ELEMENT_O,`Tag is either illegal or cannot be rewritten: OverrideAbleComponentTag[${t}]`);return}this.logger.info(B.A_REGISTER_CUSTOM_ELEMENT_O,`tag: ${n}`),this.ctx.statistic(`Override_${t}`);const i=V0[n],r=n.replace(/^rc-/,"rc-override-");this._overrideAbleComponents[r]=i;const o=this._overrideCtx;this._overrideAbleComponents[n]={props:{...i.props},setup(a){return s.setup(a,o)},template:s.template.replace(/rc-origin/g,r),styles:s.styles}}registerDOMElements(){this.logger.info(B.L_REGISTER_DOM_ELEMENTS_O),Object.entries(this._overrideAbleComponents).forEach(([t,s])=>{customElements.get(t)||customElements.define(t,Pi(s))}),Object.entries(n_).forEach(([t,s])=>{customElements.get(t)||customElements.define(t,Pi(s))}),Object.entries(this._customMessageComponents).forEach(([t,s])=>{customElements.get(t)||customElements.define(t,s)}),Object.entries(lv).forEach(([t,s])=>{customElements.get(t)||customElements.define(t,Pi(s))})}registerMessageType(t,s){const n=f.registerMessageType(t,!!s.isPersited,!!s.isCounted,s.searchProps,!!s.isStatusMessage);if(s.digest&&pc(t,s.digest),s.component){const{component:i}=s,r=`rc-custom-${i.tag}`;mv(t,r);const o=this._overrideCtx,{setup:a,styles:l,template:c}=i;this._customMessageComponents[r]=Pi({props:["message"],setup(u){return a(u,o)},styles:l,template:c})}return n}destroy(){R0(),ai.value="zh_CN"}}var kv=Object.defineProperty,Uv=Object.getOwnPropertyDescriptor,At=(e,t,s,n)=>{for(var i=n>1?void 0:n?Uv(t,s):t,r=e.length-1,o;r>=0;r--)(o=e[r])&&(i=(n?o(t,s,i):o(i))||i);return n&&i&&kv(t,s,i),i};function _n(e){return function(t,s,n){const i=n.value;n.value=function(...r){if(this._isReady){this._logger.error(e,`RCKitApplication.${s} must be called before 'ready'`);return}return i.apply(this,r)}}}function js(e){return function(t,s,n){const i=n.value;n.value=function(...r){if(!this._isReady){this._logger.error(e,`'RCKitApplication.${s}' failed: not ready yet.`);return}return i.apply(this,r)}}}class Ct extends Mc{constructor(s,n,i){super();K(this,"_ctx");K(this,"_uiModule");K(this,"_isReady",!1);this.context=s,this._logger=n,this._ctx=new Rv(this.context,n,this,i),this._uiModule=new xv(this._ctx),this.context.ondestroy=this._onIMDestroy.bind(this)}_onIMDestroy(){this.destroy()}setCommandSwitch(s,n){this._ctx.store.setCommandSwitch(s,n)}getCommandSwitch(s){return this._ctx.store.getCommandSwitch(s)}setConversationBarSwitch(s){this._ctx.store.setConversationBarSwitch(s),this._ctx.dispatchEvent(new ie(Y.CONVERSATION_BAR_SWITCH_CHANGE,s))}setConversationDetailBackSwitch(s){this._ctx.store.setConversationDetailBackSwitch(s),this._ctx.dispatchEvent(new ie(Y.CONVERSATION_DETAIL_BACK_SWITCH_CHANGE,s))}setConversationBarTitle(s){this._ctx.store.setConversationBarTitle(s),this._ctx.dispatchEvent(new ie(Y.CONVERSATION_BAR_TITLE_CHANGE,s))}registerCustomElement(s,n){this._uiModule.registerCustomElement(s,n)}registerMessageType(s,n){return this._uiModule.registerMessageType(s,n)}cloneLanguageEntries(s){return this._ctx.i18n.cloneLanguageEntries(s)}registerLanguagePack(s,n,i="ltr"){this._ctx.i18n.registerLanguagePack(s,n,i)}setLanguage(s){this._ctx.i18n.setLanguage(s)}getLanguage(){return this._ctx.i18n.getLanguage()}getSupportedLanguages(){return this._ctx.i18n.getSupportedLanguages()}setPushConfigHook(s){this._ctx.store.setPushConfigHook(s)}updateUserProfile(s){this._ctx.appData.updateUserProfile(s)}updateGroupProfile(s){this._ctx.appData.updateGroupProfile(s)}updateUserOnlineStatus(s,n){this._ctx.appData.updateUserOnlineStatus(s,n)}updateGroupMembers(s,n){this._ctx.appData.updateGroupMembers(s,n)}addGroupMembers(s,n){this._ctx.appData.addGroupMembers(s,n)}removeGroupMembers(s,n){this._ctx.appData.removeGroupMembers(s,n)}cloneConversationMenu(){return this._ctx.conversationMenu.cloneConversationMenu()}setConversationMenu(s){this._ctx.conversationMenu.setConversationMenu(s)}cloneMessageMenu(){return this._ctx.msgMenu.cloneMessageMenu()}setMessageMenu(s){this._ctx.msgMenu.setMessageMenu(s)}openConversation(s,n=!0){return this._ctx.conversation.openConversation(s,n)}removeConversation(s){return this._ctx.conversation.removeConversation(s)}getOpenedConversation(){const s=this._ctx.conversation.getOpenedConversation();return s?{...s}:null}setConversationExtension(s){this._ctx.store.setConversationExtension(s)}cloneInputMenu(){return this._ctx.input.cloneInputMenu()}setInputMenu(s){this._ctx.input.setInputMenu(s)}cloneMessageBubbleCfg(){return this._ctx.bubble.cloneMessageBubbleCfg()}setMessageBubbleCfg(s){this._ctx.bubble.setMessageBubbleCfg(s)}cloneConversationItemCfg(){return this._ctx.conversationItem.cloneConversationItemCfg()}setConversationItemCfg(s){this._ctx.conversationItem.setConversationItemCfg(s)}cloneImageEmojiLibraries(){return this._ctx.input.cloneImageEmojiLibraries()}setImageEmojiLibraries(s){this._ctx.input.setImageEmojiLibraries(s)}cloneChatEmojiLibrary(){return this._ctx.input.cloneChatEmojiLibrary()}setChatEmojiLibrary(s){this._ctx.input.setChatEmojiLibrary(s)}sendMessage(s,n,i){return this._ctx.message.sendMessage(s,n,i)}insertMessage(s,n){return this._ctx.message.insertMessage(s,n)}ready(){if(this._isReady){this._logger.warn(B.A_READY_O,"RCKitApplication repeat call 'ready()'");return}this._logger.info(B.A_READY_O,"RCKitApplication 'ready'"),this._uiModule.registerDOMElements(),this._isReady=!0}ifReady(){return this._isReady}getCurrentUserId(){return this._ctx.userId}destroy(){this.removeAllEventListeners(),this._ctx.destroy(),this._uiModule.destroy()}}At([_n(B.A_SET_COMMAND_SWITCH_O)],Ct.prototype,"setCommandSwitch",1),At([_n(B.A_REGISTER_CUSTOM_ELEMENT_O)],Ct.prototype,"registerCustomElement",1),At([_n(B.A_REGISTER_MESSAGE_TYPE_O)],Ct.prototype,"registerMessageType",1),At([_n(B.A_REGISTER_LANGUAGE_PACK_O)],Ct.prototype,"registerLanguagePack",1),At([js(B.A_UPDATE_USER_PROFILE_E)],Ct.prototype,"updateUserProfile",1),At([js(B.A_UPDATE_GROUP_PROFILE_E)],Ct.prototype,"updateGroupProfile",1),At([js(B.A_UPDATE_USER_ONLINE_STATE_E)],Ct.prototype,"updateUserOnlineStatus",1),At([js(B.A_UPDATE_GROUP_MEMBERS_E)],Ct.prototype,"updateGroupMembers",1),At([js(B.A_ADD_GROUP_MEMBERS_E)],Ct.prototype,"addGroupMembers",1),At([js(B.A_REMOVE_GROUP_MEMBERS_E)],Ct.prototype,"removeGroupMembers",1),At([js(B.A_OPEN_CONVERSATION_E)],Ct.prototype,"openConversation",1),At([js(B.A_REMOVE_CONVERSATION_E)],Ct.prototype,"removeConversation",1),At([_n(B.A_SET_CONVERSATION_EXTENSION_E)],Ct.prototype,"setConversationExtension",1),At([_n(B.A_SET_INPUT_MENU_E)],Ct.prototype,"setInputMenu",1),At([_n(B.A_SET_MESSAGE_BUBBLE_CFG_E)],Ct.prototype,"setMessageBubbleCfg",1),At([_n(B.A_SET_CONVERSATION_ITEM_CFG_E)],Ct.prototype,"setConversationItemCfg",1),At([_n(B.A_SET_CHAT_EMOJI_LIBRARY_E)],Ct.prototype,"setChatEmojiLibrary",1),At([js(B.A_SEND_MESSAGE_E)],Ct.prototype,"sendMessage",1),At([js(B.A_INSERT_MESSAGE_E)],Ct.prototype,"insertMessage",1),j.VersionManage.add("IMKit",ic);const Nv={tag:"IMKit",verify(e){return e.tag==="browser"&&typeof customElements<"u"},setup(e,t,s){const n=e.createLogger("IMKit","IM");return s.logLevel&&n.setOutputLevel(s.logLevel),n.warn(B.A_INIT_O,`Commit: ${a0}, Version: ${ic}`),new Ct(e,n,s)}};Oe.RCKIT_COMMIT_VERSION=a0,Oe.RCKIT_VERSION=ic,Oe.RCKitApplication=Ct,Oe.RCKitBubbleLayout=cc,Oe.RCKitChatEmojiLibraryID=bm,Oe.RCKitCommand=xt,Oe.RCKitConversationMenuID=U0,Oe.RCKitEvent=ie,Oe.RCKitEvents=ge,Oe.RCKitInputMenuID=ci,Oe.RCKitInputMenuPosition=l0,Oe.RCKitInstaller=Nv,Oe.RCKitMentionedType=ct,Oe.RCKitMessageMenuID=Zt,Oe.RCKitModalBtnType=Sn,Oe.RCKitModalForwardingType=Fn,Oe.RCKitOverrideAbleComponent=$0,Oe.isMobileDevice=ps,Object.defineProperty(Oe,Symbol.toStringTag,{value:"Module"})});