From 08b9144f8ca3f908ede5ac47e7680134b8f9ec1d Mon Sep 17 00:00:00 2001 From: wx <645899409@qq.com> Date: Sun, 6 Jul 2025 17:09:46 +0800 Subject: [PATCH] update --- .../typingHeader/typingHeader.vue | 8 +++++-- public/static/agreement.html | 8 +++---- .../{app.108aca6f.css => app.9d5c3c13.css} | 2 +- public/static/im-web/index.html | 4 ++-- public/static/im-web/js/app.5521fbd6.js | 1 - public/static/im-web/js/app.fdb8059d.js | 1 + public/static/privacy.html | 22 +++++++++---------- src/views/emergency/helper/index.vue | 4 ++-- .../outburst/resource/Resource.data.ts | 3 ++- 9 files changed, 29 insertions(+), 24 deletions(-) rename public/static/im-web/css/{app.108aca6f.css => app.9d5c3c13.css} (99%) delete mode 100644 public/static/im-web/js/app.5521fbd6.js create mode 100644 public/static/im-web/js/app.fdb8059d.js diff --git a/iweb/src/TUIKit/TUIComponents/container/TUIChat/plugin-components/typingHeader/typingHeader.vue b/iweb/src/TUIKit/TUIComponents/container/TUIChat/plugin-components/typingHeader/typingHeader.vue index 06236e5..d6bf5c1 100644 --- a/iweb/src/TUIKit/TUIComponents/container/TUIChat/plugin-components/typingHeader/typingHeader.vue +++ b/iweb/src/TUIKit/TUIComponents/container/TUIChat/plugin-components/typingHeader/typingHeader.vue @@ -14,11 +14,15 @@ 救助意见 -
+
结束应急
-
大病就医
+
diff --git a/public/static/agreement.html b/public/static/agreement.html index fa799a6..90603a0 100644 --- a/public/static/agreement.html +++ b/public/static/agreement.html @@ -96,17 +96,17 @@
(14) 个人位置信息(包括精准定位信息、经纬度等);
(15) 其他平台基于为您提供服务需要而收集或汇总的您的信息。
三、我们如何收集和使用您的个人信息
-
1. 您直接提供的信息:我们可能会收集您在健康长庆注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
+
1. 您直接提供的信息:我们可能会收集您在健康新疆注册账号、申请或使用我们的服务时填写,通过现场交谈、电话、视频或其他联系方式与我们联系时所提供的信息,以及您在使用我们服务过程中产生的与您的交易和活动有关的信息。
(1) 帮助您成为我们的一员
您需要向平台提供真实姓名、邮箱、有效身份证件(包括但不限于身份证)的号码,以便于我们进行实名认证。您可以修改和补充您的昵称、性别、生日、职级、职称、学历、亲属、紧急联系人、工作信息(单位部门)、婚姻状况、健康类型、兴趣爱好以及您的实名认证等一系列相关信息相关信息,这些信息均属于您的“账号信息”。您补充的账户信息将有助于我们为您提供与您信息更匹配的相关业务服务(急救协助、医院体检、健康知识推送等)。如果您不提供这些信息,可能会影响您对平台部分核心业务功能的正常使用,如咨询专家等,但不会影响您进行基本的浏览、搜索。如果您不提供这些信息,将会影响您使用平台的部分功能,如咨询专家,但不会影响您使用平台服务的基本浏览、搜索功能。在您主动注销账号时,我们将根据相关法律法规的要求尽快使其匿名或删除您的个人信息。
(2) 咨询专家
为便于您能够咨询专家,您需提供真实姓名、手机号、身份证号码、性别、出生日期、身高体重等信息。为更好地向您提供咨询服务解决您的问题,更加精准、快速地向您推荐医生,我们可能需要您在健康咨询时提供个人健康信息,例如:病症、患病时长、检验报告、体检报告、医院就诊信息、诊治情况、用药记录、以往病史、过敏信息、家族史、患病史等。如您不提供上述信息,将会影响您使用部分健康咨询等功能,但不影响您使用平台产品或服务的基本浏览、搜索功能。应急救援
-
(1) 您实名成为健康长庆的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
+
(1) 您实名成为健康新疆的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。搜索
(3) 搜索
为了让您快速地找到您所需要的专家、知识文章、软件功能、医院等,我们可能会收集您使用我们的产品记录为您提供这些信息展示的最优方式。我们也会为了不断改进和优化上述的功能来使用您的上述个人信息。
您也可以通过搜索来精准地找到您所需要的专家、医院、系统功能。我们会保留您的搜索内容以方便您重复输入或为您展示与您搜索内容相关联的产品或服务。
(4) 应急救援
-
您实名成为健康长庆的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。
+
您实名成为健康新疆的用户后,若您或您的朋友发生了意外事件,你可以通过查看系统内的相关医疗资源,并向平台发起帮助请求。在此过程中,我们可能会通过您的基本信息和聊天功能获取您的手机号、您的紧急联系人姓名和联系 电话,位置、姓名、性别、年龄、健康状况、事故详情介绍的图文、音视频沟通的信息。
(5) 大病就医(挂号)
为了帮您预约医院的专家,我们需要您在预约时提供个人基本信息:姓名、性别、年龄、预约医院、挂号类型、预约时间等基本信息;你可补充病况、就诊卡号、预约科室、医师来进一步享受更为准确的服务。
(6) 体检预约、体检报告查看、体检指标分析
@@ -288,7 +288,7 @@
(5) 响应您的请求将导致您或其他个人、组织的合法权益受到严重损害的;
(6) 涉及商业秘密的。
九、我们如何处理未成年人的个人信息
-
1.健康长庆非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康长庆根据国家相关法律法规的规定保护未成年人的个人信息。
+
1.健康新疆非常重视对未成年人个人信息的保护。若您是18周岁以下的未成年人,在使用我们的产品与/或服务前,应事先取得您监护人的同意。健康新疆根据国家相关法律法规的规定保护未成年人的个人信息。
2.我们不会主动直接向未成年人收集其个人信息。对于经监护人同意而收集未成年人个人信息的情况,我们只会在受到法律允许、监护人同意或者保护未成年人所必要的情况下使用、共享、转让或披露此信息。
3.如果有事实证明未成年人在未取得监护人同意的情况下注册使用了我们的产品与/或服务,我们会与相关监护人协商,并设法尽快删除相关个人信息。
diff --git a/public/static/im-web/css/app.108aca6f.css b/public/static/im-web/css/app.9d5c3c13.css similarity index 99% rename from public/static/im-web/css/app.108aca6f.css rename to public/static/im-web/css/app.9d5c3c13.css index 7505044..31bbf7e 100644 --- a/public/static/im-web/css/app.108aca6f.css +++ b/public/static/im-web/css/app.9d5c3c13.css @@ -1 +1 @@ -body,dd,div,dl,dt,h1,h2,h3,h4,input,li,ol,p,textarea,ul{margin:0;padding:0;font-style:normal;font-family:PingFangSC-Regular}.icon{margin:0}.icon-global{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAB5BJREFUWEeVV31sXWUZ/z3vue1dGa0b6gh+DXWo1Kxp73tOb+umqxHEuDAQvNGo0xg+gkTDZBE/EIkTM9FtMAN/AGpimBKsCkPc4hRT55Z+nPO2UkgZs1oQxfgBi121a+8572Oe4/s2x7vboSe5ub09532e3/N7fs/HISx/EQD5WHmkp6fnVUEQRMx8CRGFzHw+gJe5Z2aJaJqZR5n5F8xsJiYmnnemFQB2n9O8iYNm15Lznp6etUqpmwC8B8BaAEHDAQEoDvz/MwC/I6JDWZbtmpiYeBbAsiBOA1Cr1YLBwcFsw4YN7QsLC9uZeZuLVPx6Z2JQLjl/ioiGrLWGiHoBdAE4190/wcx729ra9hw9evSkt10MoBGAGLZRFL0WwPestW8vOJVzjdFL5GKjrpT6SBzHP9BavwXAZiK6npnfkKMkOkxEcv85x0aeVh9B/odHF0VRt7X2IQCS49Q5XS5VnhWllLo9juPPDQwMlIaGhtLu7u5VQRDcAuATANoAzCilrojj+DdFJrxh+ea+vr7z6/X6IQAXOOelM4hUbkm+hZXtxpg9El2tVsttDg4O5unq7e19X5Zl9wF4OYDjLS0tl4yMjDzjmGMvNnY5f5SZ3/E/Ohf6BUCJiN6dJMnPffSeXa11yRhTD8NwAzM/DOAVRPSrcrl8qWgiz47PSRRFO6y1QlkdQMtLRC63ff7/CeBdxpjRZiLzoKIousJau8+lY4cx5lbxndMl1Kdp+jgzdxQMnwmDd/4sM9/b0dHxdcm7p7XxoAehtd4N4EYiOlEqlSqSihyA1vpuANcXcnom55JbqZZjra2tFw0PD/8piqK3MnOf1L5Teq6pgpH8t6T51KlTIwA6iejuJEk+Sf39/a9eXFx8DMCbXckVhdkMiI9+EcBPmflxIrpKqA2CoHdsbGymodR8aW8C8IG8bKyVysgDIK315QCk7ERQYlwO+M51pvLz4HJGiOiLSZJ8tYkO8ujDMNzPzFsA/BnAKgFMRJcLgEb6/+GAyEM+Wu/M0+oplryLYJ+en58Pp6am5hp04J9TYRj+mpnfVmhsgaSBKpXKGBFFRLSfiEYBPAng98z8Y2Z+UxMQxd4vAEpKqWvjOL6vsQwF9cDAQDA3N/cN19LzgIhojpnPJqJEGPgLgDUAPmOM2eWNhGH4HWb+eEGYedMhogeJ6CvMrAFcJX2DiC5LkuSRJgCE+tuY+eaCvgTAC8x8jnwLgAUArUqprXEc7+vs7Gydmppa1FrfC+AaB8DPgZ0AbjfGzLrOeWGaplMArk6S5NuF/OfUV6vVrjRNE5emYjr/5fpBKgCkI50N4MPGmO9rrVtc97qZmW8DIGoXg5Lra4wx39JanzU/P58K0DAMJbqJJEkOeACFuXKDtfZOF72foMUmVhcAx6X3K6W2xXG8d926deXp6ekFrfVmAI+6w0J/i1e6rxLJr2tAjeXqS+9Sa+0jy4hZgvobRVF0WMYuEd2RJMmNngH5VkrttNZ+DMA5rtTuCYJgn7V2bZqmR2TZcNF6YZ7WN8IwfICZP1iYL0uVREQxhWF4hyiUiB5LkuQiR7enCdVq9dwsy3Yw87WF7iboZaLdZIwZdOITEEtz3pfjxo0bV8/Pzx8EUC2Mdz/E7hIAW5h5P4AXALzTGPOEp7hWqynZjmq1WuvMzIx0vTcCaHeM+Em6p729/bOSCgfENzQJIk+FW1IOA3iljGRXdauUUltEA68DIDuAtOLPG2O+VlSzByELRrlcLmdZdj8zX+ympuwC0gUPlkql7SMjI081GUgexC4ikiXnmCvLKWvtxXmrrVQqe4jo00T0XEtLS/fw8PCLzSab6AKAAbC+ICzfjEayLBMbRqqoQQw5iGq12pFlWewa3DeNMTc0G8d7jTHbGprK0voWhuEBZpYN2W9Dfi3zlOezvni+MI53yfbk0l0xxvxhaSHRWn8ZwJdEKG7BfLABRB5FGIa9zPwzN1CKIPJFRin1hTiOd/o0Fjrr+5lZFpIygFuNMTv8QpJ3rYGBgRWzs7M/ISKpBBHkh4wxhxqE5fMpPeIBJ0gpK1F/wMz3j4+Pf9SvZL5PRFG0yVr7I9kLpdoWFxcvm5yclE0qX8k8vVypVNYR0QG3lL4YBMF1Y2Njg04PVFg4M621lJWM8fOcjVml1CbZel07F0ZkFkjk0tZXE9FTkj6hvriU5uc9ZZVK5UKl1EPMLFWREtE9K1asuOXIkSMnfI/o6uo6SyIIw/CHzHxl3jSYD46Pj7/X21m/fv3q1tZW2fuuc7QfJ6IrkyR5stla7kWbU9zb2/v6LMu+C0BeTOR6XmZ3EAQPnzx5cnrNmjVW6l5rLc/klBPRviRJtlar1c4syzYz86cAyAsOlFK/TNN0q3tfzH14h802nvyB/v7+tnq9LkZkKMmyKpdo4wlmflpe14hoI4DXuJKUCXfM/favZn9XSu1euXLlXUNDQ7Ks/JfzpdI6rYH/58G8vLq7uy8olUpXu3VKXrte6pLc/1YW1CAIdo+Ojv7x/3o5LVgX0UkrzgeN1vq8IAj6mLkny7J+pZRoRCJNmVn08YzbqETlyeTk5F8L2lp2WP0bHN7z+rT7BmIAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-arrow-down{width:10px!important;height:10px!important;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAUpJREFUOE+tk8FKxDAQhv9JpeDVR2nIoe/Qa19AWA+uCIqCe9HqZQuKgrgeFMF7r32HHkr6JnoVipvIhARqlXUVA6EQZr75/38oJUnyRETb+J/zTFLKFwBbACwA+iM39L6SUmpijLkDEAMwAMQvoaGnF0LsOUVKqV1jzALA0gPXVcrKGBgJIaZt295TnudRVVVLKeURgEtfwMCfoAzjy46OtdZXzAqN/DVSyhMA8zWtB6szrXXpwXaogicx9BzA6QqlQ2UXWuszD+MBn2wFtUYpNTfGsFrONBotyb0JIcq2bWdBmbf/JSfOVHCmSZJcE9HBYFHMdQuw1t50XXfo8+c3Vu3Od8E760VRiLqub621UwDvvn6DiBZZlu0XRREydFZXAcOgsKgHABPf8Ki13hnbXAfINU5pmqabfd9znojjuGya5m24hPFP8AFW3HrS/3cfswAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-menu{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAm1JREFUaEPtWD2P00AQfWsrQuJAiWgQNDQRFUoRI4syPWn3b9DRUKWjuKv4G6lpDvIHIm8T0UBBy1cZXWWZnCZai+h88YztdRaDV4oiy2PPeztfz6vQ8aU6jh89Ad8R/G8i4IvojouwBBjZsC/iHNW8z/qWEEAURQMA9DvlSo0xKeewjEAA4Hccxy+zLHsH4BFdA613Loo2+f4WhuGr9Xr93l6T78IqjYDd+U8Anto0EkWM2zXBfSJBvr4AeFYWiWOA9rk3mUzOBoPBDwBnHuqAMFylafpws9lcWUKFWvxnCeyj3OUUIvzdL+K82LraRnP87DARdJW6JqxvaVuU2omBzmazcLvdKmNMVtLhWAUgBSa1O0agDIjSWgfL5ZKIVF4SYGwYBV4L74jj+HmWZQ+MMR/zCW+J0MRld/4wv1n/DYu4oGnG4/Gd4XD4GcATAJdKqYskST5YIIHWWkkj0qYWOqpp7IT/DuBeLlGUUkTgfD6frxaLxa26x4cWulXTRFF0F8BPK1Eo92nm0GYS8JVS6txGhE3fU0iJm5qGJjwR+AWA/nOSRCTHQ4QujDGvtdZhWTr9zQTeGmPe1CXgSgt5SyEXWqhqEV9S2jgtYkda6LCN7ouS2uhoNPq62+0et9lGXWqhQjeZTqcvgiC4nyTJqvVB5uA72KuUoEhIJAc70Q8NTinm2GFSCXk1Y9a3aGcbaqFqkP9Y9+dCnf6o78+F6ib+wXONDrZcaaG6PBofLbrQQk3AuzncdaSF6hJp3EZdaqG6JNwMsjakhJARezohmsRCZ17MegJetv3GsPCNoZH/PoUabZ+DhzsfgWs8pnNAYMY5JwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-message-selected{background:url(../img/message-selected.2ac71044.svg) no-repeat;background-size:contain}.icon-message{background:url(../img/message.e1045621.svg) no-repeat;background-size:contain}.icon-message-real{background:url(../img/message-real.04c78875.svg) no-repeat;background-size:contain}.icon-group{background:url(https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png) no-repeat}.icon-setting{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAYNJREFUSEu9lj9qwzAUxp+cGExBgyGeizN4Sa5Q0NYTeCp0KXjzHXQHb4YugU4+QTdDr5AsHhI6J+BBUAxJ4/IMcv2vdkhjafGgp/dD3/fJEuGcawAAm82G4Hdo7Pf7os6yrHyoFucXi0VRRxDUB5GNh5r2gRFGXNeddDW5FNBc+xewE2SaZiHntSNN03NzbQu03ZoapUkex/HpGhBjbCqEQ+bzOqwGQrniOM4555OZbVPjeCwNzzKdAIgGm4JhVGp0nRx2O8E5/2aMkaqMJUhC0LOn55d3IPAAAF8AcKmMKNcd5PDxtnp9jKKoBitB6EsYhudbgjzP06RfBaiasFK6mU3bUg25RuFw+JVOVqOELZAQglBKMQyt5AxhcJ4xpskevSA5+R9Q19nqlM73/en9cllL3SW7yXSdfK7XIgiCE6auc0eO45AxwpAkSV7zSBmo4k0+qnRND0YPg7J4j3pgUTYlvyAEKfupVmGjXhMydUouPglTcpVL2M0fJ8qeW6oekD8c55BexcuwlQAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-relation{background:url(../img/relation.0e86ffdc.svg) no-repeat;background-size:contain}.icon-relation-real{background:url(../img/relation-real.70a6b231.svg) no-repeat;background-size:contain}.icon-relation-selected{background:url(../img/relation-selected.5699eeee.svg) no-repeat;background-size:contain}.icon-profile,.icon-profile-real{background:url(../img/profile.8c6bbe43.svg) no-repeat;background-size:contain}.icon-profile-selected{background:url(../img/profile-selected.6059f2ea.svg) no-repeat;background-size:contain}.icon-adv-arrow{width:24px;height:24px;background:url(../img/adv-arrow.b8f0444d.svg) no-repeat;background-size:contain}.icon-warn{width:65px;height:65px;background:url(../img/warn.05c67874.svg) no-repeat;background-size:contain}#app,.app,body,html{width:100%;height:100%}.app{background-image:linear-gradient(135deg,#f1f4f7,#edf5ff);display:flex;flex-direction:column}#app{width:100%;height:100%}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-corner{background-color:transparent}::-webkit-scrollbar-thumb{border:4px solid transparent;height:6px;border-radius:25px;background-clip:padding-box;background-color:rgba(0,0,0,.3)}.text-img[data-v-06e49808]{width:20px;height:20px}.text-box[data-v-06e49808]{color:#777;white-space:pre-wrap;font-size:inherit;word-break:break-word;font-size:14px;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}.message-image[data-v-24e80348]{position:relative;overflow:hidden;opacity:1;padding:10px;background:#f5f5f5}.message-image .message-img[data-v-24e80348]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit}.message-image .progress[data-v-24e80348]{position:absolute;box-sizing:border-box;width:100%;height:100%;padding:0 20px;left:0;top:0;background:rgba(0,0,0,.5);display:flex;align-items:center}.message-image .progress progress[data-v-24e80348]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-image .progress progress[data-v-24e80348]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-image .progress progress[data-v-24e80348]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-image .progress progress[data-v-24e80348]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.dialog[data-v-24e80348]{position:fixed;z-index:12;width:100vw;height:100vh;background:rgba(0,0,0,.3);top:0;left:0;display:flex;flex-direction:column;align-items:center}.dialog header[data-v-24e80348]{display:flex;justify-content:flex-end;background:rgba(0,0,0,.49);width:100%;box-sizing:border-box;padding:10px 10px}.dialog-box[data-v-24e80348]{display:flex;flex:1;max-height:100%;padding:6rem;box-sizing:border-box;justify-content:center;align-items:center}.dialog-box-h5[data-v-24e80348]{width:100%;height:100%;background:#000;padding:30px 0;display:flex;flex-direction:column}.dialog-box-h5-footer[data-v-24e80348]{position:fixed;bottom:10px;display:flex;width:90vw;justify-content:space-between}.dialog-box-h5-footer p[data-v-24e80348]{width:3.88rem;height:3.88rem}.dialog-box-h5-footer img[data-v-24e80348]{width:100%}.dialog-box-h5-footer i[data-v-24e80348]{padding:20px}.isWidth[data-v-24e80348]{width:100%}.isHeight[data-v-24e80348]{height:100%}.message-video[data-v-71441a3b]{position:relative;display:flex;justify-content:center;overflow:hidden}.message-video-box[data-v-71441a3b]{max-width:min(100vw - 180px,300px)}.message-video-box img[data-v-71441a3b],.message-video-box video[data-v-71441a3b]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit;border-radius:10px}.message-video-box img[data-v-71441a3b]:not([src]),.message-video-box img[src=""][data-v-71441a3b]{opacity:0}.message-video-cover[data-v-71441a3b]{display:inline-block;position:relative}.message-video-cover[data-v-71441a3b]:before{position:absolute;z-index:1;content:"";width:0;height:0;border:10px solid transparent;border-left:15px solid #fff;top:0;left:0;bottom:0;right:0;margin:auto;transform:translate(5px)}.message-video-cover video[data-v-71441a3b]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit;border-radius:10px}.message-video .progress[data-v-71441a3b]{position:absolute;box-sizing:border-box;width:100%;height:100%;padding:0 20px;border-radius:10px;left:0;top:0;background:rgba(0,0,0,.5);display:flex;align-items:center;flex:1}.message-video .progress progress[data-v-71441a3b]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-video .progress progress[data-v-71441a3b]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-video .progress progress[data-v-71441a3b]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-video .progress progress[data-v-71441a3b]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.dialog-video[data-v-71441a3b]{position:fixed;z-index:12;width:100vw;height:100vh;top:0;left:0;display:flex;flex-direction:column;align-items:center}.dialog-video header[data-v-71441a3b]{display:flex;justify-content:flex-end;background:rgba(0,0,0,.49);width:100%;box-sizing:border-box;padding:10px 10px}.dialog-video-box[data-v-71441a3b]{display:flex;flex:1;max-height:100%;padding:6rem;box-sizing:border-box;justify-content:center;align-items:center}.dialog-video-box video[data-v-71441a3b]{max-width:100%;max-height:100%}.dialog-video-h5[data-v-71441a3b]{width:100%;height:100%;background:#000;padding:30px 0}.isWidth[data-v-71441a3b]{width:100%}.isHeight[data-v-71441a3b]{height:100%}.message-audio[data-v-3b58416c]{display:flex;align-items:center;position:relative;cursor:pointer;max-width:100%;overflow:hidden}.message-audio .icon[data-v-3b58416c]{margin:0 4px}.message-audio audio[data-v-3b58416c]{width:0;height:0}.reserve[data-v-3b58416c]{flex-direction:row-reverse}.message-file[data-v-3f9a76df]{display:flex;flex-direction:column}.message-file .box[data-v-3f9a76df]{flex:1;display:flex;cursor:pointer}.message-file .box .message-file-content[data-v-3f9a76df]{flex:1;display:flex;flex-direction:column}.message-file progress[data-v-3f9a76df]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-file progress[data-v-3f9a76df]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-file progress[data-v-3f9a76df]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-file progress[data-v-3f9a76df]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.text-img[data-v-ec7124a2]{width:20px;height:20px}.message-img[data-v-ec7124a2]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px)}.message-location[data-v-2ee98c02],.message-merger[data-v-a9c3fbce]{display:flex;flex-direction:column}.message-merger .merger-label[data-v-a9c3fbce]{border-top:1px solid #ddd;margin-top:10px;padding-top:5px}[data-v-776d0787] .el-dialog__body{padding:0 30px 20px}[data-v-776d0787] .el-form-item{margin-bottom:13px}.business-type[data-v-776d0787]{display:flex}.business-type img[data-v-776d0787]{width:60px;height:60px;border-radius:10px}.img-list[data-v-776d0787]{border-radius:10px;padding:5px 10px}.img-list img[data-v-776d0787]{width:100px;height:100px}a[data-v-776d0787]{color:#679ce1}.custom[data-v-776d0787]{font-size:14px}.custom h1[data-v-776d0787]{font-size:14px;color:#000}.custom a[data-v-776d0787],.custom h1[data-v-776d0787],.custom p[data-v-776d0787]{font-size:14px}.custom .evaluate ul[data-v-776d0787]{display:flex;padding-top:10px}.custom .order[data-v-776d0787]{display:flex}.custom .order main[data-v-776d0787]{padding-left:5px}.custom .order main p[data-v-776d0787]{font-family:PingFangSC-Regular;width:145px;line-height:17px;font-size:14px;color:#999;letter-spacing:0;margin-bottom:6px;word-break:break-word}.custom .order main span[data-v-776d0787]{font-family:PingFangSC-Regular;line-height:25px;color:#ff7201}.custom .order img[data-v-776d0787]{width:67px;height:67px}.custom .call[data-v-776d0787]{display:flex;flex-direction:row;align-items:center}.custom .call-C2C[data-v-776d0787]{cursor:pointer}.custom .call-GROUP[data-v-776d0787]{cursor:default}.message-tip[data-v-54b2b3c4]{margin:0 auto;color:#999;font-size:12px;width:-webkit-fill-available;overflow-wrap:anywhere;display:flex;justify-content:center;align-content:center;align-items:center;text-align:center}.message[data-v-3852e376]{position:fixed;left:0;right:0;margin:0 auto;max-width:450px;width:-moz-fit-content;width:fit-content;justify-content:center;align-items:center}.message p[data-v-3852e376]{box-shadow:0 2px 12px 0 rgba(0,0,0,.2);border-radius:3px;word-break:break-all}.message-h5[data-v-3852e376],.message p[data-v-3852e376]{padding:10px 15px;width:-moz-fit-content;width:fit-content}.message-h5[data-v-3852e376]{position:absolute;top:300px!important;margin:0 auto;max-width:80%;justify-content:center;align-items:center;border-radius:5px}.message-h5 span[data-v-3852e376]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;letter-spacing:0;text-align:center;word-break:break-all}.success[data-v-3852e376]{border:1px solid #e4f2da;background:#f2f9ec;color:#7ebf50}.error[data-v-3852e376]{border:1px solid #fde2e2;background:#fef0f0;color:#f46c6e}.normal[data-v-3852e376]{border:1px solid #e9e9eb;background:#f4f4f5;color:#909398}.warning[data-v-3852e376]{border:1px solid #faf0e2;background:#fdf8f1;color:#e4b877}.reference[data-v-06f7d624]{width:100%;display:flex;flex-direction:inherit;justify-content:center;padding:10px;line-height:20px}.reference .message-img[data-v-06f7d624],.reference .message-video-cover[data-v-06f7d624],.reference .message-videoimg[data-v-06f7d624]{max-width:min(100vw - 230px,300px);max-height:min(100vw - 230px,300px)}.reference .face-box[data-v-06f7d624]{display:flex;flex-direction:row;flex-wrap:wrap}.reference .face-box-name[data-v-06f7d624]{padding-right:5px}.reference .face-box .text-img[data-v-06f7d624]{width:20px;height:20px}.reference p[data-v-06f7d624]{padding-right:5px;max-width:100px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference p[data-v-06f7d624],.reference span[data-v-06f7d624]{font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;word-break:break-all}.reference span[data-v-06f7d624]{line-height:20px;word-wrap:break-word;display:inline-block}.reference span p[data-v-06f7d624]{font-weight:800}.reply[data-v-06f7d624]{display:flex;flex-direction:column;align-self:start;border-left:2px solid rgba(0,110,255,.499298);padding-left:7px;margin-bottom:5px;color:#999;font-size:12px;line-height:20px;min-width:40px}.reply-reverse[data-v-06f7d624]{border-left:2px solid hsla(0,0%,60%,.3)}.reply .message-img[data-v-06f7d624],.reply .message-video-cover[data-v-06f7d624],.reply .message-videoimg[data-v-06f7d624]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);-o-object-fit:contain;object-fit:contain;align-self:flex-start}.reply .face-box[data-v-06f7d624]{display:flex;flex-direction:row;flex-wrap:wrap}.reply .face-box .text-img[data-v-06f7d624]{width:20px;height:20px}.reply p[data-v-06f7d624]{font-weight:800;max-width:min(100vw - 180px,300px);overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.message-reference-user[data-v-06f7d624]{display:flex;flex-direction:row}.message-reference-user .nick[data-v-06f7d624]{flex:1;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.message-reference-user .colon[data-v-06f7d624]{width:-moz-fit-content;width:fit-content}.dialog-emoji[data-v-3266b21c]{margin-left:2px;background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06);width:242px;min-height:28px;height:-moz-fit-content;height:fit-content;padding:2px 6px;word-break:keep-all;top:30px;border-radius:8px}.dialog-emoji-h5[data-v-3266b21c]{margin:0 5px;border:none;border-bottom:1px solid #e0e0e0;box-shadow:none;border-radius:10px 10px 0 0}.dialog-emoji .collapse[data-v-3266b21c]{padding:2px 0}.dialog-emoji .face-list[data-v-3266b21c]{display:flex;overflow:hidden;flex-wrap:nowrap;flex-direction:row}.dialog-emoji .face-list-collapse[data-v-3266b21c]{display:flex;overflow:hidden;flex-wrap:nowrap;justify-content:space-between;align-items:center;flex:1}.dialog-emoji .face-list-expand[data-v-3266b21c]{border-top:1px solid #e0e0e0;display:flex;overflow-x:hidden;flex-wrap:wrap;max-height:90px;overflow-y:auto}.dialog-emoji .face-list-button[data-v-3266b21c]{padding:5px 7px;height:20px;line-height:20px;text-align:center;align-items:center}.dialog-emoji .face-list-button i[data-v-3266b21c]{text-align:center}.dialog-emoji .face-list li[data-v-3266b21c]{margin:4px;display:flex;align-items:center;flex-direction:row}.dialog-emoji .face-list li img[data-v-3266b21c]{width:22px;height:22px}.emoji-content .emoji-react[data-v-3266b21c]{margin-top:3px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.emoji-content .emoji-react-item[data-v-3266b21c]{width:-moz-fit-content;width:fit-content;height:20px;background:rgba(0,0,0,.05);border-radius:12px;padding:2px 6px;margin:2px;overflow:hidden;text-overflow:ellipsis;max-width:200px;display:flex}.emoji-content .emoji-react-item img[data-v-3266b21c]{width:16px;height:16px;padding:2px}.emoji-content .emoji-react-item-content[data-v-3266b21c]{overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#999;align-self:center}.emoji-content .emoji-react-item-content span[data-v-3266b21c]{margin:2px;font-size:10px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reverse[data-v-721af588]{flex-direction:row-reverse;justify-content:flex-start}.avatar[data-v-721af588]{width:36px;height:36px;border-radius:5px}.message-bubble[data-v-721af588]{width:100%;display:flex;padding-bottom:5px}.line-left[data-v-721af588]{border:1px solid rgba(0,110,255,.5)}.message-reference-area[data-v-721af588]{display:flex;background:#f2f2f2;border-radius:.5rem;border-radius:.63rem;align-self:start;margin-left:44px;margin-right:8px}.message-reference-area-show[data-v-721af588]{width:100%;display:flex;flex-direction:inherit;justify-content:center;padding:6px}.message-reference-area-show p[data-v-721af588]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#999;letter-spacing:0;word-break:keep-all;padding-right:5px}.message-reference-area-show span[data-v-721af588]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#999;letter-spacing:0;display:inline-block}.message-replies[data-v-721af588]{display:flex;align-self:start;margin-left:44px;margin-right:8px;padding:2px;color:#999;font-size:10px}.message-replies i[data-v-721af588]{margin:4px}.message-replies span[data-v-721af588]{line-height:20px}.message-reference-area-reverse[data-v-721af588],.message-replies-reverse[data-v-721af588]{align-self:end;margin-right:44px;margin-left:8px}.message-img[data-v-721af588]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px)}.message-video-cover[data-v-721af588]{display:inline-block;position:relative}.message-video-cover[data-v-721af588]:before{position:absolute;z-index:1;content:"";width:0;height:0;border:15px solid transparent;border-left:20px solid #fff;top:0;left:0;bottom:0;right:0;margin:auto}.message-videoimg[data-v-721af588]{max-width:min(100vw - 160px,300px);max-height:min(100vw - 160px,300px)}.face-box[data-v-721af588]{display:flex;align-items:center}.text-img[data-v-721af588]{width:20px;height:20px}.message-audio[data-v-721af588]{padding-left:10px;display:flex;align-items:center;position:relative}.message-audio .icon[data-v-721af588]{margin:0 4px}.message-audio audio[data-v-721af588]{width:0;height:0}.reserve[data-v-721af588]{flex-direction:row-reverse}.message-area[data-v-721af588]{max-width:calc(100% - 54px);position:relative;display:flex;flex-direction:column;padding:0 8px}.message-area .name[data-v-721af588]{padding-bottom:4px;font-weight:400;font-size:.8rem;color:#999;letter-spacing:0}.message-area .reference-content[data-v-721af588]{padding:12px;font-weight:400;font-size:14px;color:#deb887;letter-spacing:0;word-wrap:break-word;word-break:break-all;animation:reference-721af588 .8s}@keyframes reference-721af588{0%{opacity:1}50%{background-color:#ff9c19}to{opacity:1}}.message-area .content[data-v-721af588]{padding:12px;font-weight:400;font-size:14px;color:#000;letter-spacing:0;word-wrap:break-word;word-break:break-all;width:-moz-fit-content;width:fit-content}.message-area .content-in[data-v-721af588]{background:#f5f5f5;border-radius:0 10px 10px 10px}.message-area .content-out[data-v-721af588]{background:#dceafd;border-radius:10px 0 10px 10px}.message-area .content-image[data-v-721af588]{padding:0;height:-moz-fit-content;height:fit-content;border-radius:10px 0 10px 10px}.message-area .content-video[data-v-721af588]{padding:0;height:-moz-fit-content;height:fit-content;background:transparent;border-radius:10px}.message-label[data-v-721af588]{align-self:flex-end;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#b6b8ba;word-break:keep-all}.fail[data-v-721af588]{width:15px;height:15px;border-radius:15px;background:red;color:#fff;display:flex;justify-content:center;align-items:center}.unRead[data-v-721af588]{color:#679ce1}.dropdown-inner[data-v-721af588]{position:absolute;width:100%;height:100%;left:0;top:0}.dialog[data-v-721af588]{position:absolute;z-index:1;display:flex;flex-direction:row;width:-moz-fit-content;width:fit-content}.dialog-right[data-v-721af588]{right:0}.revoke[data-v-dedd5890]{display:flex;justify-content:center;color:#999;width:100%;font-size:14px}.revoke .edit[data-v-dedd5890]{padding:0 5px;color:#006eff}.list[data-v-55c508aa]{flex:1;height:100%;overflow-y:auto;min-width:600px}.list li[data-v-55c508aa]{display:flex;align-items:center;position:relative;padding:10px 20px;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.list li .icon[data-v-55c508aa]{margin-right:10px}.list li .message-label[data-v-55c508aa]{max-width:50px}.list li .btn-box[data-v-55c508aa]{padding:0 12px}.icon[data-v-55c508aa]{display:inline-block;width:16px;height:16px}.icon-warn[data-v-55c508aa]{border-radius:50%;background:coral;color:#fff;font-style:normal;display:flex;justify-content:center;align-items:center}.btn[data-v-55c508aa]{padding:2px 10px;margin-right:12px;border-radius:4px;border:none;font-weight:400;font-size:14px;color:#fff;letter-spacing:0;text-align:center;line-height:20px}.btn[data-v-55c508aa]:last-child{margin-right:0}.btn-cancel[data-v-55c508aa]{border:1px solid #ddd;color:#666}.btn-default[data-v-55c508aa]{background:#006eff;border:1px solid #006eff}.btn[data-v-55c508aa]:disabled{opacity:.3}.dialog-item[data-v-60d6f26f]{background:#fff;min-width:-moz-min-content;min-width:min-content;max-width:220px;width:72px;height:-moz-fit-content;height:fit-content;word-break:keep-all;top:30px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap;border:1px solid #e0e0e0}.dialog-item-web[data-v-60d6f26f]{padding:12px 0}.dialog-item-list[data-v-60d6f26f]{display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap;justify-content:space-around;width:100%}.dialog-item-list-h5[data-v-60d6f26f]{flex-wrap:nowrap;margin:10px}.dialog-item-list-h5 li[data-v-60d6f26f]{padding:0 5px;display:flex;flex-direction:column;align-items:center;font-size:8px;color:#4f4f4f}.dialog-item-list-web li[data-v-60d6f26f]:first-child{margin-top:0}.dialog-item-list-web li[data-v-60d6f26f]{padding:4px 12px;font-size:12px;line-height:17px;display:flex;flex-direction:row;align-items:center}.dialog-item-list-web li span[data-v-60d6f26f]{padding-left:4px}.message-item[data-v-1f1c862e]{display:flex;flex-direction:column}.message-timestamp[data-v-673faa2b]{margin:0 auto;color:#999;font-size:12px;width:-webkit-fill-available;overflow-wrap:anywhere;display:flex;justify-content:center;align-content:center;align-items:center;text-align:center;padding:0 20px 30px}.mask[data-v-5acb611d]{position:fixed;width:100vw;height:100vh;left:0;top:0;z-index:99;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.mask main[data-v-5acb611d]{position:relative}.main[data-v-88c982be]{background:#fff;border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.main .left[data-v-88c982be]{border-right:1px solid #e8e8e9}.main header[data-v-88c982be]{font-weight:500;color:#000;letter-spacing:0}.main header input[data-v-88c982be]{background:#fff;border:1px solid #dee0e3}.main .list p[data-v-88c982be],.main header input[data-v-88c982be]{font-weight:500;color:#8f959e;letter-spacing:0}.main .list-item .disabled[data-v-88c982be]{background:#eee}.avatar[data-v-88c982be]{background:#f4f5f9;color:#000}.btn[data-v-88c982be]{background:#3370ff;border:0 solid #2f80ed;font-weight:400;color:#fff}.btn-cancel[data-v-88c982be]{background:#fff;border:1px solid #ddd;color:#828282}.btn-no[data-v-88c982be]{background:#e8e8e9;border:1px solid #ddd;font-weight:400;color:#fff}.transfer-h5-header[data-v-88c982be]{background:#fff}.transfer-h5-header .title[data-v-88c982be]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.main[data-v-88c982be]{box-sizing:border-box;width:620px;height:394px;display:flex;border-radius:8px;padding:20px 0}.main .right[data-v-88c982be]{padding:0 20px;flex:1}.main .right ul[data-v-88c982be]{padding-right:20px}.main .left[data-v-88c982be]{flex:1;overflow-y:hidden;display:flex;flex-direction:column}.main .left header[data-v-88c982be]{padding:0 20px}.main .left main[data-v-88c982be]{flex:1;overflow-y:auto;padding:0 20px}.main .right[data-v-88c982be]{display:flex;flex-direction:column}.main .right footer[data-v-88c982be]{align-self:flex-end}.main .right footer .btn-cancel[data-v-88c982be]{margin-right:12px}.main .right .list[data-v-88c982be]{overflow-y:auto}.main header[data-v-88c982be]{font-size:14px;line-height:14px;padding-bottom:20px}.main header input[data-v-88c982be]{box-sizing:border-box;width:100%;border-radius:30px;font-size:10px;line-height:14px;padding:9px 12px}.main .list[data-v-88c982be]{flex:1;display:flex;flex-direction:column}.main .list p[data-v-88c982be]{font-size:10px;line-height:14px}.main .list-item[data-v-88c982be]{padding:6px 0;display:flex;align-items:center;font-size:14px}.main .list-item aside[data-v-88c982be]{display:flex;align-items:center}.main .list-item .avatar[data-v-88c982be]{margin:0 5px 0 8px;border-radius:50%}.main .list-item .name[data-v-88c982be]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.avatar[data-v-88c982be],img[data-v-88c982be]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.btn-no[data-v-88c982be],.btn[data-v-88c982be]{padding:4px 28px;font-size:12px;line-height:24px;border-radius:4px}.space-between[data-v-88c982be]{justify-content:space-between}.all[data-v-88c982be]{padding-left:8px;font-size:14px}.transfer-h5[data-v-88c982be]{width:100%;height:100%;display:flex;flex-direction:column}.transfer-h5-header[data-v-88c982be]{position:relative;display:flex;justify-content:center;font-size:18px;padding:16px 18px}.transfer-h5-header .icon[data-v-88c982be]{position:absolute;left:18px;top:18px}.transfer-h5 .main[data-v-88c982be]{flex:1;flex-direction:column;width:auto;height:auto;border-radius:0;border:none;box-shadow:none;max-height:calc(100% - 54px);padding:0}.transfer-h5 .main .avatar[data-v-88c982be]{border-radius:0}.transfer-h5 .main .left[data-v-88c982be]{padding:0;flex:1;border:none;display:flex;flex-direction:column}.transfer-h5 .main .left header[data-v-88c982be]{position:sticky;top:0;padding:0 18px}.transfer-h5 .main .left header input[data-v-88c982be]{border-radius:5px;font-size:14px}.transfer-h5 .main .left .list[data-v-88c982be]{padding:0 18px}.transfer-h5 .main .right[data-v-88c982be]{flex:0;padding:0;flex-direction:row;align-items:center;box-shadow:inset 0 1px 0 0 #eee;padding:0 18px 8px}.transfer-h5 .main .right .list[data-v-88c982be]{flex-direction:row;width:0}.transfer-h5 .main .right footer[data-v-88c982be]{padding:6px 0;display:flex;align-items:center}.transfer-h5 .main .right footer .btn[data-v-88c982be]{font-size:14px}.slider-box[data-v-759db46f]{display:flex;align-items:center;width:34px;height:20px;border-radius:10px;background:#e1e1e3}.slider-open[data-v-759db46f]{background:#006eff!important;justify-content:flex-end}.slider-block[data-v-759db46f]{display:inline-block;width:16px;height:16px;border-radius:8px;margin:0 2px;background:#fff;border:0 solid rgba(0,0,0,.85);box-shadow:0 2px 4px 0 #d1d1d1}.name[data-v-33cc130c]{padding:14px 20px;font-weight:400;font-size:14px;color:#000;display:flex;flex-direction:column}.name p[data-v-33cc130c]{opacity:.6;display:flex;align-items:center}.name p .icon[data-v-33cc130c]{margin-left:4px}.input-box[data-v-33cc130c]{display:flex}.input-box .input[data-v-33cc130c]{flex:1;border:1px solid #e8e8e9;border-radius:4px;padding:4px 16px;font-weight:400;font-size:14px;color:#000;opacity:.6}.space-top[data-v-33cc130c]{border-top:10px solid #f4f5f9}.edit-h5[data-v-33cc130c]{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.5);display:flex;align-items:flex-end;z-index:1}.edit-h5 main[data-v-33cc130c]{background:#fff;flex:1;padding:18px;border-radius:12px 12px 0 0}.edit-h5 main .input-box[data-v-33cc130c]{flex-direction:column;padding:18px 0}.edit-h5 main .input-box .input[data-v-33cc130c]{background:#f8f8f8;padding:10px 12px}.edit-h5 main .input-box span[data-v-33cc130c]{font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#888;letter-spacing:0;padding-top:8px}.edit-h5-header[data-v-33cc130c]{display:flex;align-items:center;justify-content:space-between}.edit-h5-header .close[data-v-33cc130c]{font-family:PingFangSC-Regular;font-weight:400;font-size:18px;color:#3370ff;letter-spacing:0;line-height:27px}.edit-h5-footer[data-v-33cc130c]{display:flex}.edit-h5-footer .btn[data-v-33cc130c]{flex:1;border:none;background:#147aff;border-radius:5px;font-family:PingFangSC-Regular;font-weight:400;font-size:16px;color:#fff;letter-spacing:0;line-height:27px;padding:8px 0}.edit-h5-footer .btn[data-v-33cc130c]:disabled{opacity:.3}.notification[data-v-30b370b1]{flex:1;padding:20px;display:flex;flex-direction:column}.notification section[data-v-30b370b1]{flex:1;font-size:14px}.notification section p[data-v-30b370b1]{text-align:center;padding-bottom:20px}.notification textarea[data-v-30b370b1]{margin-bottom:20px;flex:1;box-sizing:border-box;padding:10px;border:1px solid #e8e8e9;resize:none;font-size:14px}.notification footer[data-v-30b370b1]{display:flex;justify-content:flex-end;padding:10px}.btn[data-v-30b370b1]{background:#3370ff;border:0 solid #2f80ed;padding:4px 28px;font-weight:400;font-size:12px;color:#fff;line-height:24px;border-radius:4px}.btn-cancel[data-v-30b370b1]{background:#fff;border:1px solid #ddd;color:#828282}.member[data-v-806f1058]{flex:1;background:#fff}.member .list[data-v-806f1058]{display:flex;flex-direction:column;background:#f4f5f9;padding-top:22px}.member .list-item[data-v-806f1058]{padding:13px;display:flex;justify-content:space-between;align-items:center;background:#fff;font-size:14px;overflow:hidden}.member .list-item[data-v-806f1058]:hover{background:#f1f2f6}.member .list-item aside[data-v-806f1058]{display:flex;align-items:center;width:100%;overflow:hidden}.member .list-item aside .name[data-v-806f1058]{padding-left:8px;font-weight:400;font-size:14px;color:#000;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.avatar[data-v-806f1058]{width:36px;height:36px;border-radius:4px}.memeber-profile[data-v-29f6ea36]{flex:1;display:flex;flex-direction:column}.memeber-profile-main[data-v-29f6ea36]{display:flex;flex-direction:row;width:100%;overflow:hidden}.memeber-profile-main img[data-v-29f6ea36]{width:60px;height:60px;border-radius:8px;margin:20px 10px 20px 20px}.memeber-profile-main .list[data-v-29f6ea36]{flex:1;overflow:hidden;margin:20px 10px;font-weight:400}.memeber-profile-main .list li[data-v-29f6ea36]{color:#999}.memeber-profile-main .list h1[data-v-29f6ea36],.memeber-profile-main .list li[data-v-29f6ea36]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.memeber-profile-footer[data-v-29f6ea36]{border-top:10px solid #f4f5f9;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.memeber-profile-footer .button[data-v-29f6ea36]{width:100px;cursor:pointer;background-color:#006eff;color:#fff;padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.dialog[data-v-087d9968]{background:rgba(0,0,0,.3)}.dialog header h1[data-v-087d9968]{font-family:PingFangSC-Medium;font-weight:500;color:#333}.dialog-main[data-v-087d9968]{background:#fff}.dialog-main header[data-v-087d9968]{font-weight:500;color:#333}.dialog-main-content[data-v-087d9968]{font-weight:400;color:#333}.btn[data-v-087d9968]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-087d9968]{border:1px solid #ddd;color:#666}.btn-default[data-v-087d9968]{background:#006eff;border:1px solid #006eff}.dialog[data-v-087d9968]{position:fixed;width:100%;height:100%;left:0;top:0;z-index:6;display:flex;justify-content:center;align-items:center}.dialog header h1[data-v-087d9968]{font-size:16px;line-height:30px}.dialog-main[data-v-087d9968]{min-width:368px;border-radius:10px;padding:20px 30px}.dialog-main header[data-v-087d9968]{display:flex;justify-content:space-between;align-items:center;font-size:16px;line-height:30px}.dialog-main-content[data-v-087d9968]{padding:20px 0 40px;font-size:14px}.dialog-main footer[data-v-087d9968]{display:flex;justify-content:flex-end}.btn[data-v-087d9968]{padding:8px 20px;margin:0 6px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.btn[data-v-087d9968]:disabled{opacity:.3}.btn[data-v-087d9968]:last-child{margin-right:0}.dialog-h5[data-v-087d9968]{height:100%;top:0;align-items:inherit}.dialog-h5 .dialog-main[data-v-087d9968]{min-width:0;min-height:0;width:100%;padding:0;display:flex;flex-direction:column;overflow:hidden}.dialog-h5 .dialog-main-content[data-v-087d9968]{flex:1;padding:0;min-width:0;min-height:0;overflow:hidden}.dialog-h5 .dialog-main footer[data-v-087d9968]{border-top:1px solid #ddd}.dialog-h5 .dialog-main footer .btn[data-v-087d9968]{flex:1;margin:0;background:none;border-right:1px solid #ddd}.dialog-h5 .dialog-main footer .btn-default[data-v-087d9968]{color:#ff584c;border:none}.center[data-v-087d9968]{align-items:center;padding:20px;box-sizing:border-box}.manage[data-v-f731557c]{background:#fff;box-shadow:0 1px 10px 0 rgba(2,16,43,.15)}.manage-header[data-v-f731557c]{border-bottom:1px solid #e8e8e9}.manage-header h1[data-v-f731557c]{font-family:PingFangSC-Medium;font-weight:500;color:#000}.manage-header-left main p[data-v-f731557c]{font-weight:400;color:#999}.manage .main .userInfo ol dl .userInfo-mask[data-v-f731557c]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.manage .main .footer li[data-v-f731557c]{font-weight:400;color:#dc2113;border-bottom:1px solid #e8e8e9}.manage .admin-content aside[data-v-f731557c]{font-weight:400;color:#000;letter-spacing:0}.manage .admin-content aside p[data-v-f731557c]{opacity:.6}.manage .admin-list label[data-v-f731557c]{font-weight:400;color:#000}.manage .admin .last[data-v-f731557c]:before{background:#e8e8e9}.manage ol dl .userInfo-mask[data-v-f731557c]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.input[data-v-f731557c]{border:1px solid #e8e8e9;font-weight:400;color:#000;opacity:.6}.avatar[data-v-f731557c]{background:#f4f5f9;color:#000}.space-top[data-v-f731557c]{border-top:10px solid #f4f5f9}.btn[data-v-f731557c]{background:#3370ff;border:0 solid #2f80ed;color:#fff}.btn-cancel[data-v-f731557c]{background:#fff;border:1px solid #ddd;color:#828282}.slider-box[data-v-f731557c]{background:#e1e1e3}.slider-block[data-v-f731557c]{background:#fff;border:0 solid rgba(0,0,0,.85);box-shadow:0 2px 4px 0 #d1d1d1}.manage[data-v-f731557c]{display:flex;flex-direction:column;box-sizing:border-box;width:360px;overflow-y:auto;border-radius:8px 0 0 8px;position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px}.manage-header[data-v-f731557c]{padding:20px;display:flex;justify-content:space-between;align-items:center}.manage-header aside[data-v-f731557c]{display:flex;align-items:center}.manage-header h1[data-v-f731557c]{font-size:16px}.manage-header-left[data-v-f731557c]{display:flex}.manage-header-left .icon[data-v-f731557c]{margin-right:14px}.manage-header-left main[data-v-f731557c]{display:flex;flex-direction:column}.manage-header-left main p[data-v-f731557c]{padding-top:8px;font-size:12px}.manage .main .userInfo[data-v-f731557c]{padding:0 20px;display:flex;flex-direction:column;font-size:14px}.manage .main .userInfo-header[data-v-f731557c]{display:flex;justify-content:space-between;align-items:center;padding:14px 0}.manage .main .userInfo-header p[data-v-f731557c]{display:flex;align-items:center}.manage .main .userInfo ol[data-v-f731557c]{flex:1;display:flex;flex-wrap:wrap;padding-bottom:20px}.manage .main .userInfo ol dl[data-v-f731557c]{position:relative;flex:0 0 36px;display:flex;flex-direction:column;padding-right:20px}.manage .main .userInfo ol dl[data-v-f731557c]:last-child{padding-right:0}.manage .main .userInfo ol dl .more[data-v-f731557c]{padding-top:10px}.manage .main .userInfo ol dl dd[data-v-f731557c]{text-align:center;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage .main .userInfo ol dl .userInfo-mask[data-v-f731557c]{position:absolute;z-index:5;padding:20px;left:100%}.manage .main .userInfo ol dl .userInfo-mask li[data-v-f731557c]{display:flex;align-items:center}.manage .main .userInfo ol dl .userInfo-mask li label[data-v-f731557c]{width:60px}.manage .main .userInfo ol dl .userInfo-mask li span[data-v-f731557c]{max-width:200px;word-break:keep-all}.manage .main .content[data-v-f731557c]{padding:0 20px}.manage .main .content li[data-v-f731557c]{padding:14px 0;display:flex;justify-content:space-between;align-items:center;font-size:14px}.manage .main .content li .btn[data-v-f731557c]{flex:1}.manage .main .content li article[data-v-f731557c]{opacity:.6;width:246px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage .main .content li .end[data-v-f731557c]{align-self:flex-end;margin-bottom:4px}.manage .main .footer[data-v-f731557c]{padding:0 20px}.manage .main .footer li[data-v-f731557c]{cursor:pointer;width:100%;font-size:14px;padding:14px 0;text-align:center}.manage .main .footer li[data-v-f731557c]:last-child{border:none}.manage .admin[data-v-f731557c]{padding:20px 0}.manage .admin-content[data-v-f731557c]{padding:20px 20px 12px;display:flex;align-items:center}.manage .admin-content aside[data-v-f731557c]{flex:1;font-size:14px}.manage .admin-content aside p[data-v-f731557c]{font-size:12px}.manage .admin-list[data-v-f731557c]{padding:0 20px}.manage .admin-list label[data-v-f731557c]{display:inline-block;font-size:14px;padding-bottom:8px}.manage .admin .last[data-v-f731557c]{padding-top:13px;position:relative}.manage .admin .last[data-v-f731557c]:before{position:absolute;content:"";width:calc(100% - 40px);height:1px;top:0;left:0;right:0;margin:0 auto}.manage ol[data-v-f731557c]{flex:1;display:flex;flex-wrap:wrap;padding-bottom:20px}.manage ol dl[data-v-f731557c]{position:relative;flex:0 0 36px;display:flex;flex-direction:column;padding-right:20px}.manage ol dl[data-v-f731557c]:last-child{padding-right:0}.manage ol dl .more[data-v-f731557c]{padding-top:10px}.manage ol dl dd[data-v-f731557c]{text-align:center;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage ol dl .userInfo-mask[data-v-f731557c]{position:fixed;z-index:5;padding:20px;margin-left:36px}.manage ol dl .userInfo-mask li[data-v-f731557c]{display:flex;align-items:center}.manage ol dl .userInfo-mask li label[data-v-f731557c]{width:60px}.manage ol dl .userInfo-mask li span[data-v-f731557c]{max-width:200px;word-break:keep-all}.input[data-v-f731557c]{border-radius:4px;padding:4px 16px;font-size:14px}.groupID[data-v-f731557c]{display:flex;flex-direction:row;align-items:center}.groupID span[data-v-f731557c]{padding-right:10px}.groupID .icon[data-v-f731557c]{width:15px;height:15px;cursor:pointer}.avatar[data-v-f731557c]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.btn[data-v-f731557c]{padding:4px 28px;font-size:12px;line-height:24px;border-radius:4px}.slider-box[data-v-f731557c]{display:flex;align-items:center;width:34px;height:20px;border-radius:10px}.slider-block[data-v-f731557c]{display:inline-block;width:16px;height:16px;border-radius:8px;margin:0 2px}.space-between[data-v-f731557c]{justify-content:space-between}.delDialog-title[data-v-f731557c]{text-align:center;padding:20px 0}.manage-h5[data-v-f731557c]{position:fixed;width:100%;height:100%;top:0;left:0}.message-input-at[data-v-29169fdf]{position:fixed;max-width:15rem;max-height:10rem;overflow-x:hidden;overflow-y:auto;background:#fff;box-shadow:0 .06rem .63rem 0 rgba(2,16,43,.15);border-radius:.13rem}.memberList-box-header[data-v-29169fdf]{height:2.5rem;padding-top:5px;cursor:pointer}.memberList-box-header[data-v-29169fdf]:hover{background:rgba(0,110,255,.1)}.memberList-box span[data-v-29169fdf]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#000;letter-spacing:0;padding:5px}.memberList-box-body[data-v-29169fdf]{height:2.5rem;cursor:pointer;display:flex;align-items:center}.memberList-box-body .selected[data-v-29169fdf],.memberList-box-body[data-v-29169fdf]:hover{background:rgba(0,110,255,.1)}.memberList-box-body span[data-v-29169fdf]{overflow:hidden;white-space:nowrap;word-wrap:break-word;word-break:break-all;text-overflow:ellipsis}.memberList-box img[data-v-29169fdf]{width:1.5rem;height:1.5rem;padding-left:10px}.memberList-box .selected[data-v-29169fdf]{background:rgba(0,110,255,.1)}.message-input-at-h5[data-v-29169fdf]{position:fixed;bottom:0;left:0;width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden;background:rgba(0,0,0,.5);z-index:10;display:flex;align-items:flex-end}.message-input-at-h5 .memberList[data-v-29169fdf]{height:auto;max-height:50%;width:100%;max-width:100%;background:#fff;border-radius:12px 12px 0 0;display:flex;flex-direction:column;overflow:hidden}.message-input-at-h5 .memberList-title[data-v-29169fdf]{height:-moz-fit-content;height:fit-content;width:calc(100% - 30px);text-align:center;vertical-align:middle;padding:15px}.message-input-at-h5 .memberList-title .title[data-v-29169fdf]{vertical-align:middle;display:inline-block;font-size:16px}.message-input-at-h5 .memberList-title .close[data-v-29169fdf]{vertical-align:middle;position:absolute;right:10px;display:inline-block}.message-input-at-h5 .memberList-box[data-v-29169fdf]{flex:1;overflow-y:scroll}.message-input-at-h5 .memberList-box-body[data-v-29169fdf]{padding:10px}.message-input-at-h5 .memberList-box-body img[data-v-29169fdf]{width:26px;height:26px}.message-input-at-h5 .memberList-box-body span[data-v-29169fdf]{font-size:14px}.message-input-container[data-v-712924cc]{display:flex;flex-direction:column;flex:1;height:calc(100% - 13px);width:calc(100% - 20px);padding:3px 10px 10px 10px;overflow:hidden}.message-input-area[data-v-712924cc]{flex:1;display:flex;overflow-y:scroll}.message-input-mute[data-v-712924cc]{flex:1;display:flex;color:#999;font-size:14px;justify-content:center;align-items:center}.message-input-container-h5[data-v-712924cc]{flex:1;height:auto;background:#f4f5f9;border-radius:9.4px;padding:7px 0 7px 10px;font-size:16px!important;max-height:86px;margin-right:7px}.ProseMirror{min-height:100%;height:-moz-fit-content;height:fit-content;flex:1;font-size:14px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ProseMirror dd,.ProseMirror div,.ProseMirror dl,.ProseMirror dt,.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror li,.ProseMirror ol,.ProseMirror p,.ProseMirror ul{margin:0;padding:0;font-style:normal}.ProseMirror p *{vertical-align:bottom}.ProseMirror-focused{border:none;outline:none}.ProseMirror img.ProseMirror-selectednode{outline:2px solid #68cef8}.ProseMirror .custom-image-normal{max-height:120px;max-width:200px}.ProseMirror .custom-image-file{height:50px;width:160px;border:1px solid #e8e8e9;border-radius:5px}.ProseMirror .custom-image-emoji{height:20px;width:20px}.ProseMirror .ProseMirror-selectednode{outline:2px solid #68cef8;cursor:none}.ProseMirror [contenteditable],.ProseMirror p{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ProseMirror p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.message-input-button[data-v-58e1a202]{position:absolute;bottom:20px;right:20px}.message-input-button-h5[data-v-58e1a202]{position:static}.message-input-button-cont[data-v-58e1a202]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px;font-weight:400;background:#006eff;color:#fff;letter-spacing:0;cursor:pointer}.message-input-button:hover .message-input-button-hover[data-v-58e1a202]{display:flex}.message-input-button-hover[data-v-58e1a202]{display:none;justify-content:center;align-items:center;position:absolute;right:120%;word-break:keep-all;height:30px;white-space:nowrap;top:0;bottom:0;margin:auto 0;padding:5px 10px;border-radius:3px;background:#000;color:#fff;opacity:.3}.message-input-button-hover[data-v-58e1a202]:before{content:"";position:absolute;width:0;height:0;right:-20px;border:10px solid transparent;border-left:10px solid #000}.message-input-reference[data-v-1333615b]{order:1}.message-input-reference .reference[data-v-1333615b]{width:auto;padding-bottom:0;margin:0 100px 10px 10px;display:flex}.message-input-reference .reference-box[data-v-1333615b]{padding:0;overflow:hidden;width:-moz-max-content;width:max-content;padding:10px;background-color:#fbfbfb;display:flex;border-radius:8px}.message-input-reference .reference-box label[data-v-1333615b]{cursor:pointer;margin-top:5px}.message-input-reference .reference-box-show[data-v-1333615b]{width:-moz-max-content;width:max-content;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.message-input-reference .reference-box-show-name[data-v-1333615b]{padding-right:5px}.message-input-reference .reference-box-show span[data-v-1333615b]{width:-moz-max-content;width:max-content;font-family:PingFang SC;font-style:normal;font-weight:400;font-size:12px;line-height:17px;color:#666}.message-input-reply[data-v-1333615b]{order:-1}.message-input-reply .reply[data-v-1333615b]{display:flex;width:100%}.message-input-reply .reply-box[data-v-1333615b]{flex:1;align-items:center;display:flex;padding:0 10px}.message-input-reply .reply-box i[data-v-1333615b]{height:3.5rem;border:1px solid #e8e8e9}.message-input-reply .reply-box label[data-v-1333615b]{cursor:pointer;margin-top:5px}.message-input-reply .reply-box-show[data-v-1333615b]{flex:1;display:flex;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-direction:column;justify-content:center;padding-left:6px}.message-input-reply .reply-box-show span[data-v-1333615b]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#bfc1c5;letter-spacing:0;text-overflow:ellipsis;width:100%;overflow:hidden}.message-input-reply-h5[data-v-1333615b]{order:-1;flex:1 0 100%;padding-bottom:10px}.message-input-reply-h5 .reply-box[data-v-1333615b]{padding:0}.message-input-reply-h5 .reply-box i[data-v-1333615b]{display:none}.message-input-reply-h5 .reply-box-show[data-v-1333615b]{flex-direction:row}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]{width:auto}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]:first-child{padding-right:2px}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]:last-child{flex:1}.message-input-reference-h5[data-v-1333615b]{order:1;flex:1 0 100%;overflow:hidden;width:100%;max-width:100%;margin:0}.message-input-reference-h5 .reference[data-v-1333615b]{margin:0}.message-input-reference-h5 .reference-box[data-v-1333615b]{overflow:hidden;padding:0;width:100%;max-width:100%;padding:10px;margin:5px 0}.message-input-reference-h5 .reference-box-show[data-v-1333615b]{overflow:hidden;width:0;flex:1;display:flex;flex-direction:row;text-overflow:ellipsis}.message-input-reference-h5 .reference-box-show span[data-v-1333615b]:last-child{overflow:hidden;text-overflow:ellipsis}.message-input[data-v-030d6bb0]{flex:1;position:relative;display:flex;flex-direction:column;border:none;height:100%;width:100%;max-height:100%;max-width:100%;overflow:hidden}.message-input-h5[data-v-030d6bb0]{display:flex;flex-direction:row;flex-wrap:wrap}.TUIChat-header h1[data-v-e5d9bc3a]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUIChat .TUIChat-setting[data-v-e5d9bc3a]{background:#fff}.TUIChat-footer[data-v-e5d9bc3a]{border-top:1px solid #f4f5f9}.TUIChat-footer .input textarea[data-v-e5d9bc3a]::-moz-placeholder{color:#ddd}.TUIChat-footer .input textarea[data-v-e5d9bc3a]::placeholder{color:#ddd}.TUIChat-footer .input p[data-v-e5d9bc3a]{color:#ddd}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]{font-weight:400;background:#006eff;color:#fff;letter-spacing:0}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]:disabled{opacity:.3}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]{background:#000}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]:before{border:10px solid transparent;border-left:10px solid #000}.TUIChat .disabled[data-v-e5d9bc3a]:before{background:#fbfbfb}.TUI-message-list .message-more[data-v-e5d9bc3a]{color:#999;cursor:pointer}.dialog[data-v-e5d9bc3a]{background:#fff}.dialog-item[data-v-e5d9bc3a]{background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06)}.dialog-item p[data-v-e5d9bc3a]{font-weight:400;color:#4f4f4f}.dialog-item p[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.dialog-userInfo[data-v-e5d9bc3a]{background:rgba(0,0,0,.3)}.dialog-userInfo .userInfo-main[data-v-e5d9bc3a]{background:#fff}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask[data-v-e5d9bc3a]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.image-dialog[data-v-e5d9bc3a]{background:rgba(0,0,0,.3)}.image-dialog header[data-v-e5d9bc3a]{background:rgba(0,0,0,.49)}.btn[data-v-e5d9bc3a]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-e5d9bc3a]{border:1px solid #ddd;color:#666}.btn-default[data-v-e5d9bc3a]{background:#006eff;border:1px solid #006eff}.btn[data-v-e5d9bc3a]:disabled{opacity:.3}.TUIChat-H5 .TUIChat-footer[data-v-e5d9bc3a],.TUIChat-H5 .TUIChat-header[data-v-e5d9bc3a]{background:#fff}.TUIChat-H5 .TUIChat-footer .input input[data-v-e5d9bc3a]{background:#f4f5f9}.TUIChat[data-v-e5d9bc3a]{width:100%;height:100%;display:flex;flex-direction:column;position:absolute}.TUIChat-header[data-v-e5d9bc3a]{padding:12px;display:flex;justify-content:space-between;align-items:center}.TUIChat-header h1[data-v-e5d9bc3a]{font-size:16px;line-height:30px}.TUIChat-safe-tips[data-v-e5d9bc3a]{padding:12px 20px;background-color:rgba(255,149,0,.1);color:#ff8c39;line-height:18px;font-family:PingFang SC;font-style:normal;font-weight:400;text-align:justify;font-size:12px}.TUIChat-safe-tips a[data-v-e5d9bc3a]{color:#006eff;float:right}.TUIChat .TUIChat-setting[data-v-e5d9bc3a]{position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px}.TUIChat-main[data-v-e5d9bc3a]{min-height:0;flex:1;position:relative;display:flex;flex-direction:column}.TUIChat-footer[data-v-e5d9bc3a]{height:173px;display:flex;flex-direction:column}.TUIChat-footer .input[data-v-e5d9bc3a]{flex:1;position:relative;display:flex;flex-direction:column}.TUIChat-footer .input textarea[data-v-e5d9bc3a]{width:100%;line-height:20px;margin:0;padding:2px 20px;resize:none;box-sizing:border-box;border:none;background:no-repeat}.TUIChat-footer .input textarea[data-v-e5d9bc3a]:focus{outline:none;border:none}.TUIChat-footer .input p[data-v-e5d9bc3a]{padding:12px 20px 20px}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]{position:absolute;bottom:20px;right:20px;padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.TUIChat-footer .input .input-btn:hover .input-btn-hover[data-v-e5d9bc3a]{display:flex}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]{display:none;justify-content:center;align-items:center;position:absolute;right:120%;word-break:keep-all;height:30px;white-space:nowrap;top:0;bottom:0;margin:auto 0;padding:5px 10px;border-radius:3px}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]:before{content:"";position:absolute;width:0;height:0;right:-20px}.TUIChat .disabled[data-v-e5d9bc3a]{position:relative}.TUIChat .disabled[data-v-e5d9bc3a]:before{content:"";position:absolute;width:100%;height:100%}.TUI-message-list[data-v-e5d9bc3a]{flex:1;height:100%;overflow-y:auto;overflow-x:hidden;position:relative}.TUI-message-list .message-more[data-v-e5d9bc3a]{font-size:.9rem;padding:5px;text-align:center}.TUI-message-list li[data-v-e5d9bc3a]:first-child{margin-top:5px}.TUI-message-list li[data-v-e5d9bc3a]{display:flex;position:relative;padding:0 20px 30px;flex-direction:column}.TUI-message-list li .message-label[data-v-e5d9bc3a]{max-width:50px}.TUI-message-list .right[data-v-e5d9bc3a]{flex-direction:row-reverse;justify-content:flex-start}.TUI-message-list .to-bottom-tip[data-v-e5d9bc3a]{position:sticky;bottom:10px;left:100%;margin-right:15px;width:92px;height:28px;padding:0 5px;background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06);display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:3px}.TUI-message-list .to-bottom-tip .icon[data-v-e5d9bc3a]{width:10px;height:10px}.TUI-message-list .to-bottom-tip-cont[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:10px;color:#147aff;letter-spacing:0;text-align:center;padding-left:3px}.dialog[data-v-e5d9bc3a]{position:absolute;z-index:5}.dialog-item[data-v-e5d9bc3a]{min-width:-moz-min-content;min-width:min-content;max-width:220px;width:72px;word-break:keep-all;top:30px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap}.dialog-item li[data-v-e5d9bc3a]:first-child{margin-top:0}.dialog-item li[data-v-e5d9bc3a]{padding:4px 12px;font-size:12px;line-height:17px;display:flex;align-items:center;flex-direction:row}.dialog-item li span[data-v-e5d9bc3a]{padding-left:4px}.dialog-conversation .avatar[data-v-e5d9bc3a]{width:36px;height:36px;margin:0 5px 0 8px}.dialog-conversation .name[data-v-e5d9bc3a]{font-size:14px}.dialog-userInfo[data-v-e5d9bc3a]{box-sizing:border-box;padding:0;width:100%;height:100%;display:flex;justify-content:flex-end}.dialog-userInfo .userInfo-main[data-v-e5d9bc3a]{height:100%;box-sizing:border-box;padding:20px;width:240px}.dialog-userInfo .userInfo-main header[data-v-e5d9bc3a]{display:flex;justify-content:space-between;align-items:center}.dialog-userInfo .userInfo-main main[data-v-e5d9bc3a]{display:flex;padding:20px 0}.dialog-userInfo .userInfo-main main ol[data-v-e5d9bc3a]{flex:1;display:flex;flex-wrap:wrap}.dialog-userInfo .userInfo-main main ol dl[data-v-e5d9bc3a]{position:relative;flex:0 0 33%;display:flex;flex-direction:column;align-items:center}.dialog-userInfo .userInfo-main main ol dl img[data-v-e5d9bc3a]{width:40px;height:40px}.dialog-userInfo .userInfo-main main ol dl .more[data-v-e5d9bc3a]{padding-top:10px}.dialog-userInfo .userInfo-main main ol dl dd[data-v-e5d9bc3a]{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask[data-v-e5d9bc3a]{position:absolute;z-index:5;padding:20px;left:100%}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li[data-v-e5d9bc3a]{display:flex;align-items:center}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li label[data-v-e5d9bc3a]{width:60px}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li span[data-v-e5d9bc3a]{max-width:200px;word-break:keep-all}.image-dialog[data-v-e5d9bc3a]{position:fixed;z-index:5;width:100vw;height:calc(100vh - 63px);top:63px;left:0}.image-dialog header[data-v-e5d9bc3a]{display:flex;justify-content:flex-end;width:100%;box-sizing:border-box;padding:10px 10px}.memberList-box[data-v-e5d9bc3a]{position:absolute;bottom:128px;width:21.94rem;max-height:10rem;overflow-y:auto;background:#fff;box-shadow:0 .06rem .63rem 0 rgba(2,16,43,.15);border-radius:.13rem}.memberList-box-header[data-v-e5d9bc3a]{height:2.5rem;padding-top:5px;cursor:pointer}.memberList-box-header[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.memberList-box span[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#000;letter-spacing:0;padding-left:5px}.memberList-box-body[data-v-e5d9bc3a]{height:2.5rem;cursor:pointer;display:flex;align-items:center}.memberList-box-body[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.memberList-box img[data-v-e5d9bc3a]{width:1.5rem;height:1.5rem;padding-left:10px}.memberList-box .selected[data-v-e5d9bc3a]{background:rgba(0,110,255,.1)}.reply[data-v-e5d9bc3a]{display:flex;width:100%}.reply-box[data-v-e5d9bc3a]{flex:1;align-items:center;display:flex;padding:0 18px}.reply-box i[data-v-e5d9bc3a]{height:3.5rem;border:1px solid #e8e8e9}.reply-box label[data-v-e5d9bc3a]{margin-top:5px}.reply-box-show[data-v-e5d9bc3a]{flex:1;display:flex;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-direction:column;justify-content:center;padding-left:6px}.reply-box-show span[data-v-e5d9bc3a]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#bfc1c5;letter-spacing:0;text-overflow:ellipsis;width:100%;overflow:hidden}.reference[data-v-e5d9bc3a]{width:auto;padding-bottom:0;margin:0 100px 10px 10px;display:flex}.reference-box[data-v-e5d9bc3a]{padding:0;overflow:hidden;width:-moz-max-content;width:max-content;padding:10px;background-color:#fbfbfb;display:flex;border-radius:8px}.reference-box-show[data-v-e5d9bc3a]{width:-moz-max-content;width:max-content;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.reference-box-show-name[data-v-e5d9bc3a]{padding-right:5px}.reference-box-show span[data-v-e5d9bc3a]{width:-moz-max-content;width:max-content;font-family:PingFang SC;font-style:normal;font-weight:400;font-size:12px;line-height:17px;color:#666}.btn[data-v-e5d9bc3a]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.toggleMask[data-v-e5d9bc3a]:before{position:fixed;z-index:1;content:"";width:100vw;height:100vh;top:0;left:0;opacity:0}[data-v-e5d9bc3a]::-webkit-scrollbar{width:6px;height:140px;background-color:transparent}[data-v-e5d9bc3a]::-webkit-scrollbar-track{border-radius:10px}[data-v-e5d9bc3a]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#9a999c}.TUIChat-H5[data-v-e5d9bc3a]{flex:1;position:static}.TUIChat-H5 .TUIChat-header[data-v-e5d9bc3a]{width:100%;box-sizing:border-box;position:sticky;top:0;z-index:2}.TUIChat-H5 .TUIChat-header .setting[data-v-e5d9bc3a]{width:27px}.TUIChat-H5 .TUIChat-main .TUI-message-list[data-v-e5d9bc3a]{height:auto}.TUIChat-H5 .TUIChat-footer[data-v-e5d9bc3a]{width:100%;box-sizing:border-box;position:sticky;bottom:0;flex-direction:column-reverse;height:auto;padding:14px 23px 23px;z-index:1}.TUIChat-H5 .TUIChat-footer .func[data-v-e5d9bc3a]{display:flex;flex-direction:column}.TUIChat-H5 .TUIChat-footer .func-main[data-v-e5d9bc3a]{display:flex;justify-content:space-between}.TUIChat-H5 .TUIChat-footer .reply[data-v-e5d9bc3a]{order:1;padding-bottom:10px}.TUIChat-H5 .TUIChat-footer .reply-box[data-v-e5d9bc3a]{padding:0}.TUIChat-H5 .TUIChat-footer .reply-box i[data-v-e5d9bc3a]{display:none}.TUIChat-H5 .TUIChat-footer .reply-box-show[data-v-e5d9bc3a]{flex-direction:row}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]{width:auto}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]:first-child{padding-right:2px}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]:last-child{flex:1}.TUIChat-H5 .TUIChat-footer .input[data-v-e5d9bc3a]{display:flex;flex-wrap:wrap;flex-direction:row;align-items:flex-end}.TUIChat-H5 .TUIChat-footer .input textarea[data-v-e5d9bc3a]{width:auto;height:auto;padding:0;flex:1;background:#f4f5f9;border-radius:9.4px;padding:7px 18px;font-size:16px;line-height:18px}.TUIChat-H5 .TUIChat-footer .input .reference[data-v-e5d9bc3a]{overflow:hidden;order:1;width:100%;max-width:100%;margin:0}.TUIChat-H5 .TUIChat-footer .input .reference-box[data-v-e5d9bc3a]{overflow:hidden;padding:0;width:100%;max-width:100%;padding:10px;margin:5px 0}.TUIChat-H5 .TUIChat-footer .input .reference-box-show[data-v-e5d9bc3a]{overflow:hidden;width:0;flex:1;display:flex;flex-direction:row;text-overflow:ellipsis}.TUIChat-H5 .TUIChat-footer .input .reference-box-show span[data-v-e5d9bc3a]:last-child{overflow:hidden;text-overflow:ellipsis}.TUIChat-H5 .TUIChat-footer .input button[data-v-e5d9bc3a]{position:static!important;margin-left:7px;word-break:keep-all;height:32px;flex:0}.TUIChat-H5 .TUIChat-footer .input .memberList[data-v-e5d9bc3a]{position:fixed;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.5);max-height:none;display:flex;align-items:flex-end;z-index:1}.TUIChat-H5 .TUIChat-footer .input .memberList-box[data-v-e5d9bc3a]{position:static;flex:1;max-height:90%;border-radius:12px 12px 0 0;padding:14px 23px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title[data-v-e5d9bc3a]{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title h1[data-v-e5d9bc3a]{font-family:PingFangSC-Medium;font-weight:500;font-size:20px;color:#000;letter-spacing:0;line-height:28px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title .close[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:18px;color:#3370ff;letter-spacing:0;line-height:27px}.TUIChat-H5 .TUIChat-footer .input .memberList-box li[data-v-e5d9bc3a]{padding:8px 0}.TUIChat-H5 .TUIChat-footer .input .memberList-box li img[data-v-e5d9bc3a]{width:30px;height:30px;border-radius:6.4px;padding:0}.TUIChat-H5 .TUIChat-footer .input .memberList-box li span[data-v-e5d9bc3a]{font-size:16px;padding-left:12px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-header span[data-v-e5d9bc3a]:last-child{padding-left:0}.TUIChat-H5 .manage[data-v-e5d9bc3a]{position:fixed;height:100%;top:0}.TUIChat-H5 .mask[data-v-e5d9bc3a]{position:fixed;width:100vw;height:100%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);z-index:9}.TUIChat-H5 .mask-main[data-v-e5d9bc3a]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:150px;background:#fff;border-radius:4px}.TUIChat-H5 .mask header[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0;text-align:center;padding:20px 0}.TUIChat-H5 .mask footer[data-v-e5d9bc3a]{display:flex;width:100%;justify-content:space-around;border-top:1px solid #ddd;height:40px;align-items:center}.TUIChat-H5 .mask footer p[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0;text-align:center}.TUIChat-H5 .mask footer i[data-v-e5d9bc3a]{height:40px;width:1px;background:#ddd}[data-v-e5d9bc3a] .TUIChat-header{overflow:auto}[data-v-e5d9bc3a] .TUIChat-header::-webkit-scrollbar{height:1px}.h5-setting[data-v-e5d9bc3a]{min-width:65px;text-align:right}.h5-span[data-v-e5d9bc3a]{margin:0!important}[data-v-e5d9bc3a] .call-main-voice{display:none}.face-main[data-v-6807ca3c]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.face[data-v-6807ca3c]{display:inline-block;position:relative;cursor:pointer}.face-main[data-v-6807ca3c]{position:absolute;z-index:5;width:435px;height:250px;top:-270px;padding:10px;display:flex;flex-direction:column}.face-list[data-v-6807ca3c]{flex:1;display:flex;flex-wrap:wrap;overflow-y:auto}.face-list-item[data-v-6807ca3c]{padding:5px}.face-list img[data-v-6807ca3c]{width:30px}.face-list .face-img[data-v-6807ca3c]{width:60px}.face-tab[data-v-6807ca3c]{display:flex;align-items:center}.face-tab-item[data-v-6807ca3c]{padding:0 10px}.face-tab-item img[data-v-6807ca3c]{width:30px}.face-H5-main[data-v-6807ca3c]{position:static!important;width:100%;box-shadow:none}.upload-btn[data-v-04b8e378]{position:relative}.upload-btn input[data-v-04b8e378]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.upload-btn[data-v-0b03faf8]{position:relative}.upload-btn input[data-v-0b03faf8]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.upload-btn[data-v-3082f8e4]{position:relative}.upload-btn input[data-v-3082f8e4]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.forward[data-v-f4db8228]{position:absolute;z-index:5;box-sizing:border-box;border-radius:8px;padding:15px 20px;padding:0;left:-90px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.forward header[data-v-f4db8228]{padding:20px;display:flex;justify-content:space-between}.forward .list[data-v-f4db8228]{box-sizing:border-box;margin:0;padding:20px;width:100%;height:100%;background:#fff;overflow-y:auto;list-style:none}.forward .list-item[data-v-f4db8228]{display:flex;align-items:center;padding:10px}.forward .list-item[data-v-f4db8228]:hover{background:#ddd}.forward .list-item .avatar[data-v-f4db8228]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.forward footer[data-v-f4db8228]{display:flex;justify-content:space-around;padding:20px 0}.forward-h5[data-v-f4db8228]{position:fixed;top:0;left:0;width:100%;height:100%}.words-main[data-v-dfa99d56]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.words-main header aside[data-v-dfa99d56],.words-main header aside h1[data-v-dfa99d56]{font-weight:500;color:#000}.words-main header aside a[data-v-dfa99d56]{color:#006eff}.words-list-item[data-v-dfa99d56]{font-weight:400;color:#50545c}.words-list-item[data-v-dfa99d56]:hover{color:#006eff}.words-H5-main[data-v-dfa99d56]{background:rgba(0,0,0,.5)}.words-H5-main .words-main-content[data-v-dfa99d56]{background:#fff}.words-H5-main .words-main-content .words-list-item[data-v-dfa99d56]{border-bottom:1px solid #eee;font-family:PingFangSC-Regular;font-weight:400;color:#333;letter-spacing:0}.words-H5-main .words-main-content .close[data-v-dfa99d56]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.words[data-v-dfa99d56]{display:inline-block;position:relative;cursor:pointer}.words .icon[data-v-dfa99d56]{margin:12px 10px 0}.words-main[data-v-dfa99d56]{position:absolute;z-index:5;width:315px;top:-200px;padding:12px;display:flex;flex-direction:column;width:19.13rem;height:12.44rem;overflow-y:auto}.words-main header[data-v-dfa99d56]{display:flex;justify-content:space-between}.words-main header aside[data-v-dfa99d56]{display:flex;align-items:center;font-size:12px}.words-main header aside h1[data-v-dfa99d56]{font-size:12px}.words-list[data-v-dfa99d56]{flex:1;display:flex;flex-direction:column}.words-list-item[data-v-dfa99d56]{cursor:pointer;padding:4px 0;font-size:12px}.words-H5[data-v-dfa99d56]{display:inline-block;position:relative;cursor:auto}.words-H5 .words-H5-main[data-v-dfa99d56]{position:fixed;left:0;top:0;bottom:0;width:100vw;height:auto;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;padding:0}.words-H5 .words-H5-main .words-main-content[data-v-dfa99d56]{padding:23px 27px 12px;border-radius:12px 12px 0 0}.words-H5 .words-H5-main .words-main-content header[data-v-dfa99d56]{padding:0}.words-H5 .words-H5-main .words-main-content header aside[data-v-dfa99d56]{flex-direction:column;align-items:flex-start;font-size:16px;line-height:28px}.words-H5 .words-H5-main .words-main-content header aside h1[data-v-dfa99d56]{font-size:20px}.words-H5 .words-H5-main .words-main-content header .close[data-v-dfa99d56]{font-size:18px;line-height:27px}.words-H5 .words-H5-main .words-main-content .words-list-item[data-v-dfa99d56]{padding:12px 0;font-size:18px;line-height:25px}.evaluate-main[data-v-5e2a1c9e]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.evaluate-main header[data-v-5e2a1c9e]{font-weight:500;color:#1c1c1c}.evaluate-main footer[data-v-5e2a1c9e]{font-weight:500;color:#999}.evaluate-main footer a[data-v-5e2a1c9e]{color:#006eff}.evaluate-content textarea[data-v-5e2a1c9e]{background:#f8f8f8;border:1px solid #ececec}.evaluate-content .btn[data-v-5e2a1c9e]{background:#3370ff;font-weight:400;color:#fff}.evaluate-list-item[data-v-5e2a1c9e]{font-weight:400;color:#50545c}.evaluate-H5-main[data-v-5e2a1c9e]{background:rgba(0,0,0,.5)}.evaluate-H5-main .evaluate-main-content[data-v-5e2a1c9e]{background:#fff}.evaluate-H5-main .evaluate-main-content p a[data-v-5e2a1c9e]{color:#3370ff}.evaluate-H5-main .evaluate-main-content .close[data-v-5e2a1c9e]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.evaluate[data-v-5e2a1c9e]{display:inline-block;position:relative;cursor:pointer}.evaluate .icon-evaluate[data-v-5e2a1c9e]{margin:12px 10px 0}.evaluate-main[data-v-5e2a1c9e]{position:absolute;z-index:5;width:315px;top:-275px;padding:12px;display:flex;flex-direction:column}.evaluate-main footer[data-v-5e2a1c9e],.evaluate-main header h1[data-v-5e2a1c9e]{font-size:12px;text-align:center}.evaluate-content[data-v-5e2a1c9e]{display:flex;flex-direction:column;align-items:center;padding:12px 0;background:url(https://web.sdk.qcloud.com/im/assets/images/login-background.png) no-repeat;background-size:cover;background-position-x:128px;background-position-y:77px}.evaluate-content textarea[data-v-5e2a1c9e]{box-sizing:border-box;width:288px;height:90px;margin:12px 0;padding:12px;border-radius:2px;resize:none}.evaluate-content .btn[data-v-5e2a1c9e]{border:none;border-radius:5px;font-size:12px;text-align:center;line-height:24px;padding:2px 46px;cursor:pointer}.evaluate-list[data-v-5e2a1c9e]{flex:1;display:flex}.evaluate-list-item[data-v-5e2a1c9e]{width:24px;height:24px;text-align:center;cursor:pointer;padding:4px 0;font-size:12px;padding-right:15px}.evaluate-list-item[data-v-5e2a1c9e]:last-child{padding-right:0!important}.evaluate-H5[data-v-5e2a1c9e]{display:inline-block;position:relative;cursor:auto}.evaluate-H5 .evaluate-main[data-v-5e2a1c9e]{position:fixed;left:0;top:0;bottom:0;width:100vw;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;background:rgba(0,0,0,.5);padding:0}.evaluate-H5 .evaluate-main .evaluate-main-content[data-v-5e2a1c9e]{background:#fff;padding:23px}.evaluate-H5 .evaluate-main .evaluate-main-content header[data-v-5e2a1c9e]{display:flex;justify-content:space-between}.evaluate-H5 .evaluate-main .evaluate-main-content header aside[data-v-5e2a1c9e]{display:flex;flex-direction:column;align-items:flex-start;font-size:16px;line-height:28px}.evaluate-H5 .evaluate-main .evaluate-main-content header aside h1[data-v-5e2a1c9e]{font-size:20px}.evaluate-H5 .evaluate-main .evaluate-main-content header .close[data-v-5e2a1c9e]{font-size:18px;line-height:27px}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-item[data-v-5e2a1c9e]{width:40px;height:24px;text-align:center;cursor:auto;font-size:12px}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-content[data-v-5e2a1c9e]{background:none}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-content .evaluate-list-item .icon[data-v-5e2a1c9e]{transform:scale(1.5)}.evaluate-H5 .evaluate-main .evaluate-main-content textarea[data-v-5e2a1c9e]{font-size:16px;width:100%}.evaluate-H5 .evaluate-main .evaluate-main-footer[data-v-5e2a1c9e]{width:100%;display:flex}.evaluate-H5 .evaluate-main .evaluate-main-footer .btn[data-v-5e2a1c9e]{flex:1;padding:14px 0;font-size:18px}body,dd,div,dl,dt,h1,h2,h3,h4,li,ol,p,ul{margin:0;padding:0;font-style:normal}li,ol,ul{list-style:none}img{border:0;vertical-align:middle}body{color:#000;background:#fff}.clear{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a{color:#000;cursor:pointer}a,a:hover{text-decoration:none}input,textarea{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}input:active,input:focus,textarea:active,textarea:focus{outline:none}img{pointer-events:none}.icon{box-sizing:border-box;display:inline-block;width:20px;height:20px}.icon-more{margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABOCAYAAACOqiAdAAAAAXNSR0IArs4c6QAAAwRJREFUeF7t2U9u2kAYBfCBAJYKyiLrqgegF2CDkBeV6AV8HYbrcIEidWEhNlygHKDqOosIKhkIVJNiiVoBZt58rm14WQWJFzw/3vyxU1P8gQRqUIohRTiwBIQjHCgAxtg4woECYIyNIxwoAMbYOMKBAmCMjSMcKADG2LgqwR0OB9EvrFarHcDxwzHRAWSvQhrIdZR5gorDFY11DlcaURSurGgppiSeGFzZ0aTxROCqgiaJ5w1XNTQpPMK5btXH9xOuCLiqTlOJ6erVOMKBdSVcCeDG47FV+0ejkdh9qc+B2Opiz7lKNM4WLHsNEoCFwBWJliIWiQc3zgcObdm55vsAoq0jHPgs77/D2bat2+2+XdtyubTaDNDWVaJxLmgpmAHME++m4LTWh8lk0jSNi6Joq7W2mhlI60oPZ9s2g6W13s/n8+/m936//0VrXbc9arri3QTcYDCoh2G4m06nT+12+6fBWq/Xn4bD4XMcx43ZbLa/BnhXcOk6ZgZtGrBYLB632+0vg9RsNj/2er0Xc/wxrb225t0VnFnT4jh+SJLkMUmSbafTeWq1Wj8M3Gaz+bxarZ6DIGgGQfAShuHrpTXvLuBMe6Io2hu0RqPxTSkVKqV+K6UelFIfjtPSvH49vo53u91XgzeZTOrv7baEI9zf3lzaVTlVL2x5l+C4OYBwaYzHkXcAeQA+oiCPlWzxeMuVaZ4t3Okh99qB9/QjXI8iJlv6W650gC54fKwENu/afanEI/TKNO7amc4Wy3eKpvlKwblO2zz+11AYnPlgZGfNItiuedkcshFk/wbatrdNBZkaaUYCzrV9EmC+bSsVnM8XiGZvonHo4H1yhAP1CoOT2iDAcXvFfNC81zjCeXx3kjurx2U4RwtvXBVb54smMlXzONM518chIIEmCleF5kmhicOVGU8SLRe401lT9MYhjXU6Nq97VYel5Z+3SoPmCXRujIXAoeBlyhEO/DYIRzhQAIyxcYQDBcAYG0c4UACMsXGEAwXAGBtHOFAAjLFxhAMFwNgf7hgQbYPVwg4AAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-chat-setting{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAANBJREFUOE/tlDEOgkAQRWcwW2jHEbR0r0FolJIrEL3F3ELDFSjRhnCNpdQj0GmxkTVj0GCBZmXt2Grys3nJvJkMEpEHDh+OwME23xwqpZCJUkrTJdvkXaBHRDcGEdEEAJoWapW/gETURFE0Y0ie55fn9G1zTJJEpGmqwzBcG2N2DDTGbMqyPHIdBMEKEfefckTcFkVxYNbDWRzH07quFQDM2zZPQogl11rrCgAWX/Kz7/syy7Kre6Dzln+V3zes/60NS7dZ4L7/47UZfGzAucM7IfXeo0ssRZoAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-image{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAABLlJREFUaEPlmVtsFFUYx893ZpfeaRNjK7ZJLexuu7NFSmeXNgG1Gn0ooQajpdjiBR9MJFxsvRSxbVb0xRiFUKOJLxrBW5aERIhGCbItUMDtFKTt2psiRiNYH7iVXnbn+8xsO9tl09JtdyuzcV5mds+Zc37/7zYz5wALOQoLS7JGyP8sQ1bKGGQRoTG0/XZdA3AfY3SJcXYqEQyfdHWdvqSxgHZRYHNU+JFeIsKU2wUaybwAfMjA4d2ebs9BtX9AgArvU5SmSAbQSx+jIOxURUAgbBTlK83ynEMvY8ZmY2Zit9ftvq4HYLGsLNX394iNMd8WRMoPWB74UKIgVIHJJtWTQk+of6rwC5OkjbL8kU8P4OEMkvS88eqw/HFQhAD7wWSVDhBRzriABZv7vadO6xFeYzKLpSWIY++PewH+AJPV3qZVm4S7Fj6ol7CZzohqOI1evHp0Iox8sKSg2KN1/qWnw6Fn62tsocz/TwGVlZXCT94LNYj+RwAgl4gucG44vEzM/czlcinz7cWoPKDCn+08/wEyLA4H5Yx3FC3N2zTfIqISYLGteFpR/Fums7IgGJr7un/8dD69EJUAk7V4LxErCFQBzj9MT1r05ZXhv9YT4gvjlYH1DPzc8ZRuBZhFqRWRklTAjJTsB2T54A1Jqki+PPRny8TDcLjfK9+vWwFx74G4z4H/ogoREeTb7CsBgHq6PG3qOTQko0pidaD5fA6o8BbR3oBEj6pzCRxq+7zy8ZgKmK8EHYd37EDCtdocBoG/2NvdfkL3AlR4s016jZA9psFygK/7vO1vxTyEYu2BcXh7PSE9ro0NjB/asH7Nm06nE8PnizoHYi0g9KNqIu6/qV5X8cZU8Gq7rgSYbfZXUcHKkLD5tqaqwjkdvK4ELBEdLzNUqibh+Xc1VWuabgWvGwEmcUUdof/JYMxz/v1yW15TJG+yMQshkyhVAmOrgbHf05JYsyzL/0SSHyabvZYUrNb6ChwOL7MtbowEPiYeUFcHrg3LDQrS6qAFAS4KxpStvedaz99KhNnq2IakbJgMG+FIdlZKg9vt9kciPmoBRUVlGddHh94hUorCJwQO1xYwXuf1es5OBWMWpa2IFHzV5sB/yM5KfX028FEJKCgqvcc/6t9NhNlBC3JwM8ZKtFdsAD7GjdDUd85zJFSERbRvVhCfmbyPH83OTN0xW/g5C7DYHA4kfJuQ0iYgCAzCnoEuzz7LUqkAFbabkO7Q2rjAd/V3t3+h/rZYHZsUUjZOJiy05GSmbZ8L/JwEWKzSWmRsOxEJ6gCcwwgJvGGg0xP4iFGP/OUr71ZGR/cQYm4QVOCfM6QRInouBL41JzOtfq7wsxYQnnQAbJAboK6vU+4Jj3NJejj9yo3L7xHhvVPlAAA7lp5sr4926TLiMmoRpVUK0q6QeO9NTUiuPXPm2OB0FaO8vDxh4LfBnUj40E19BDiRkSi9Ei38rDwQKgA4tNyZvrjx5EnX8Ezlzul08n2uQ9u0Wq9WG2NhXqPX5Rqb6d5I2iP2QCABRWmVeq5eV9E20yM+fHKr9b5FfgMl9Xce/zUSsEj73CQg7hd34395Pd43OOJ+i0lNnLje5NMyP663WTUR8bjR/S+/EAdi6i5GNAAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-files{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAAA0BJREFUaEPtWd9LU3EUP+d7N91QFkJolBDoLOdM0GnzwYcV9CAZPVRCCZkP9WRQVPQSNaL/oKJfDxH0kPUQCRbRg4uwNJmC6fLXgsDCDBKWsul2vyfuxpW7MnR332sad0/b937P55zP55z7/XB3ETSfykpvUYwSJ4BDPQAWEXGr9vpK3xFRRoBRkFjnts15nYFAILFSTLbXUQUod9cdSHA6R8TzsgVV4hHZF4Zw51hz00u/389FYC6HkSSgFB+X5ctGJEFkYbDgrckP/a8NwU+OjSx3qMozhmMA1uvWQttIKBCYyySpz+ezff0+10wExznnm7SxKVx8wwCmM8FU9hLAogVg2m6vGQ4G78a18eh0ey6STIeVRSWJw+5p+31TpgkrfL78+MxcCwC1cE72TOP/tp8hm0cGt8eG+zsQkZKj6nR5nhJRcYpATvtEqLdPVMJdDQ0F0R/RNiA8RMRzROEyxgYKC7ae7+np/IlOV+1b9bTJ3eLYk+nYrKYor7fRMRuZ2csRSpBAxyGB+RzIDURFaj6J4fPxUPAKlpbX9KuL4dGButUU9C/2+P1+9vBx11Hi8hkNibMbhoBadJmr9gIn3pz8LWFPGgG7xdqUjZEZ1RlEFgegb8Cgl1FOt8wXbqa8BmfTCCCyeVFGZiCZtBrTCBiV1EjcPwhkY2RGFZrylZgbIH6ac9qZZmTaU0iUkRlFxOM5ZY1Eg/e1JNI6INrIjCBSVlHv5XzxhoqdRsAoIxNJRBmnhelI97IE1rORaUXQjv2GMzKFiElA5EzrwTI7oEc1kTFmB0SqqQfL7IAe1UTGmB0QqaYeLLMDelQTGWN2QKSaerDMDuhRTWTM/9sByEnsDw8NzYhUSzRWaVVVISxaupaeiZ0uzzsisigLkmS5MT7y/oHopCLxdrh3t8pyol3BRMSE8vf6IyJemlxguBCLlOybmnoSFZlUFFZx8RG7zfHpFXHKTRFgYXRWeysoGl9SXSHBULonS7EX62WclLGRZFsjJ/mkWnySgN3amnzJV+aqvsQJD4pSai1wGNKziY+D15Zes24kEmrxyS5o1VLGCWLK61bart7Ya6HmanIoNywAfgabdHVysC+kxvwC0SKlujS63bMAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-video{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAAAqlJREFUaEPtmUFoE0EUhufNNBpRWi9tPAhWm9RmU7S6Dekxolc1gqDgxV48tHoS7E0WwWPwoCcp1KAWC0KlHnI0WJGGsj1Ik9ZUbxWsB8HQ0nQ3mSebZsMaKrRmN9mR5LRkZ2f/771/3j5mgFh+/f0RXwGLNwknQ4SAD5F7rPebdQ1AdUJwjVAy54W2Z4uL6TVTC5gXfaHwxSLHu4j8YLOE7ua9AHSjjUJ8OTP/1hhfBjDE66XS/d1M4JYxHsYeGBBQtk2pNGVGnlL4TIjnsafLm8mmUutuECxFo4f0H4UQIfodzvFkOfJAN7yMXQN/SB7DEl41/jTEtx+Qh1X1qe4G4bUaZPmWJ7+pTlQhGLwGf1CeRsSj2wD7bq9k59JuFG9qCkhDEc61J9tZgFXwBwc/mtVm/5H2c26xzd+CaNhp63v+XcVGOvT0nZ03B39dXgi7OfqmNqvmFkAzMtbKQDOibn1nKwM7ZaA3KMc4IVcYgfcnujtfJJPJLacy5UgGApI8yzl6K/X5GwUez2UXZp2AcATAOmm11WX0A2Es/uVTetVOkIYBVLKhAfKE/7gvYZetHAcASqaRk5jZrtttK8cBjJZEOh0OaRq/h4iS1T5gg60aAmCIVhSFvnw1EyOUjnDOO6prA6hGCU7kltTxf1kbDQMwxQ0MRA+va/mRWlsxgIe5JfXNXiEaDiDLFzp+bf4crQWgDB6tZNRJ1wIYFpqcmrmMQEdrLWRUphvXL40risJdCRA6E5G2CsUxIRex8GX0j7IJVAMgCf+xTnE+ZEK2EoHgYIpXdvUAqHjNXO+p8Hks8mFAkurp7npuV9+zU4Vy5Duw11JYz/gWQD3Rs+PZVgbsiGI9c/xfGRB+c1f87XXRDziEP2IyqoHQh3xmORP6mNWEEPGg+zdk8RZTNE1sngAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-face{margin:12px 10px 1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACP9JREFUaEPdWglUlNcV/n4Ghh1mBiIg1GgSazxg06SoKImN8WjUbFpjMKYJia3NQhVlUUDQKAiIgKI1J4ltom0WTWI1m+uxpiYsok2aCsdYm2gsq8LMwLDDzPTciw9HnIH5B0hP+D2/5zi+d9/97n7v/ySz2WyGAw9to9fJyalnt1anx/l/X8D58xdQUVmNmtpaGAxNaG9vR0dHB5RKJVxdXeHt7YXAgACEBAdh3LixGPfTsdCoVT10TCYTJEni15FHkguqNxi9vgGlZ75EYdEpfPfdRWj1DTAZu5lydlYwaMGg2EtMd3UZu4WicIJG5YvbbhuDyKmTMSn8HqhUvozFUXCyQFkeUl1dgw8/OYS/nyxEXV09FM7OcFUqITk5obOzE12dnSAbMIP/uv5IgER/JMDZxQUuLi4wm0xo7+iAsasL/v5++OW0SDz28BwEBQUy8N4W0Z/27AJlSbipqRl73vsrDh4+BoPBAE9PT9ZGa2srjEYTvLw8ERI8kt+RQYHw89fA3d0drq5KtLd38Lr6Oi2qqmtQUVnFL9FUKJx4HQmuubkZ3t7emDt7JhY98SumKUdr/YKyBFRYXIqdf9qNiooq+Ph4g1RgMDTzoRPCxiNySgTCwsYjMGAEFApFfwKF0WhETe0VlJWdQ2FxCc6WnWOA3t6eIH02NhoQEjISS38Tjcgpk+wG1icoE9m8JLE5vbn7Hezb/xE7u5ubKxoaDAxsxvRpePihB/GTkOAbQJBkhdVZurvlb5ZBhjb/t6ISn3x6BMdPnGRAvr7eaGvrDjIL5j+K56IXs7kKvmxJzSYoYooOpeiVlbMFJafOQKNR8wEdHZ2Yfv+9iP71IgQGBrDNC8cWgaFfNV1bQHvFWfQTBZWamlrsfmsPTnz2BZRKFxakVqtDxORwJK9aydHTck/vs6yCEhvq6rVYn74J35y/AI1GhYaGRvhpNFgWsxQRkyd2BwLzwMKvJUPC1CWJIiZQcuo0tu/YiXqtFr6+PtBq9bhz3FisS1sNfz+NTWA3gSLCJC3SUEpaejcgtQpanQ4/v2sCVsUvxy23+MN4LZeQeQ72Q+ZFfCicnHD1ah1y8rbhn1+fhUatBuVCApaZnsYaE/xa8mBVU11dXVi7Pgunz3x1DZAe0+6bisS4ZexPfal+MAGKc8ivNudvx8nPi3r4mRh+NzasS4azs/NNR94AShB5becu7H1/P+cMnU7HgNYkxbMG5eaMgYIUoZzO3Zidx8DUajXnxqiF8/H80mdvEnIPKAHoi8ISpGfmwsfHi01wQlgoMtav4TxjTdUDZdqe/eJcynOp6zbibFk5m15jYxPSUhJwb2TEjcGGyiSxicJobFwSKECQVmhj3qYMBAaO+MFMzhZIIfSamiuIX53KAie+KWAU5GdzehE4WFNiAyXWve8f4NqrqbkZqUnxLAVKkvYkU3ukPpA1gg+ypozsPHh5eoJqz6iF8zhBCxySyWQyk1Yo8cXGJfOZVKY8cP99WJ24ok8NcYK9Fi17J1JHmLeHnmB80+at+Ntnn3OZRk9BfhYXAMyP0Wg0E0Ovvv4m9u3/mEse0kpBXiaCg0da9SORbC1bA2u/2QtMDj0hxMrKKsTGp7AVUWm1YP4jeOF3z3WXUmR+Or0eLy1LQGtrG5pbWjDv0bmIeeG3fWqJiJeVf4NL31/mwvWun4VaDa/2AqM08vW/yrnQHX3rKISF3mmznxLa2vHqH3Hgo4Pw9PCAu7sbXtmeC7VK1Q3q6LETnAc4mcGM/JwMjBl9q81oR0QL/vAaDh85zsAhAVMjJiEpMZYrbXujpFhHlXv25gIUlZRym0KWM/vBGYj9/fM3NKFCQGLfxUvfIy4xtadYoDw6a+b0blDdifZL3hP+i7uR/nKKVcaEhA4eOoZNedvgp1F3N4AArtTVY0n0U3j2mSftjpSC3q4/v4s3dr+NEf5+XAQT0/VaHVbHL8fcOTOt0hPA0l7OxJl/fMW8Twy/hxOydLWu3rwiPoV7IzK/uBUvYfasGVwGUZli+QgmNmzMQVFxKTw8PHraASp077h9DIdXuQ+lkf98e5ELV5HcW1paMHXKJKxds8oqKMHf4aPHkb/1FTY/6sG25mVCKiouNWdk5cHFxZlVvS0/m3sYayYkQGVT5DlxEj4+PiBfoMBCTISGjkdu9gbZ5peQtBbl5edYSOT4VPo0NjbigenTkGQjAgv+KioqsTwumYF3dnYhNTke0hu73jK/98EBOCkUuH3MaGzJ3WgzJwlQpO6k1A1wc3OD0sWFGdE3NCA5cSX7gr21oVhHvpm1eQtUvr58dkdnJ9ra2pCdsZbdoS96dPbKhDX49uIlmIxGPPH4PEjpmblmMiWjsYsbvlUJsf1GPfKjTw8dxbt793E7QhJ+7JE5WLzocbmW17P+nT0f4MOPD7HGqc14MmoBHpozq0+tC7A5uQXcWCoUzmyyUkxsovny5QqWzNNPRfFrzZ969z0ErNFg4NaAWgK1WmW32fVGLkxJp9Nzi0OtjY/39bLHlqQEn395ey/oJcsZNSoE0jNLXjSTtCk/xa+IsRkkehM2mWjmd72X6v1vuSpzhF5PsDhyHHkFOzhfkZalqMVLzDSeoqxMTkbjKXt94nqn6vjgsbcF9BSldjSfgk8a01Gwo2qIx3TzFz7NAwaqeinGT4mYaDcoudoY7PUCVHHJaW5qqXigZ0CaGmwm5dKzqanoJS+a9cKnYmM4JPcXKOQePlTrrfmUinzKkeg3VEzKpWsz+snNU3IPHsr1NvOUnIpiKBl0lLbVikJO7efowUOxr8/aT06VPhTMOUqzzypdTj/lKANDsa/PfsqRzncomJRD067O15EZhRwmBnttvzMKR6ZJg82kHHp2TZMGMveTw8xgrbVr7jcsJ7TDdpZOpjHsvnoIex9236csHXlYfUkkYMP2m68ww2Hzdb63fw2bexQ9wIbbjRcBTIzBaM4+LO4mWQMm7xZZAPz9/fmLhNJViQ6+RdaGuro6VFXX/v9ukVmGenGngUbOP/r7fpbALM2Rfv/R38zsCxz9n7hDS/eZKu24QxscHMT3jAb7Du3/AEpgAzPGLkCJAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-custom{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA8lJREFUOE9NlF9oHFUYxc93Z7PrdGvJguRNHySCrhCUBcM2FCYzd9KmsSkEAv5pH4xp65/6IFRUVKgoWLD0RSK2FpFQKwpaa0xXd+4dtlhJY1mU1YwUUwyYF7MQjZuYbmedT27YSF4vl9937jnnu1QoFDoAdFSr1X9c1x0UQlwC8CMzS631n8ViMbOysvIvANi2nWrf2ymEmACwzszjWuuIHMe5rVKp3JRS7gZQIqLPmPlBAMu2bTtTU1NNx3E6Go2GMBAp5RCALwF8C+B2AHdbluWRmbRFyUdKqQNSyvsAfA/gWi6X2zM3N4coim75vj/KzJ8S0ekgCJ4aHBzMxHH8NYC7SEppps8AmFRKHXEcx6pUKi3f9x9g5lki0kEQ7PU870kiOgNAMPOE1vqoESGlPAbgbfJ9f5iZLyZJMhKG4QXP84oA9mutX/I8bxcRTRPRL8z8EIDjbXjJwIQQ3zHz+Q1Qm/ougCPMfJiI3gJwfWFhQc7Pzzc9z3ufiMYBvKyUOtG2YkAIMQ0gBeCkUuoFyufz6SiKYs/zJonoABEFy8vLQ9Vq1ZydIKIXiehoEAQTjuNsr1Qqq1JK86x3ALyulDpuAqPu7u5MOp3mKIpaUkqTRh8z9xHREwCOJQkdCsPg7BbIqwDe2FRYLBbter2ebCjq6uoSjUZjoyu5XO4LAHsBNAGMKaXO5/PO9iiqrG4qZOZzWuuDBr64uBgbIf+DlpaWknbEHzPzIwAeVkpN9/QMZGu18pqUA2eAZAyAGTQCYFwp9UFPT0+21WrFG4UE0LJt24rj+CIAP0kSPwzDsFAobKtW992U8so5AI8y8z6t9Veu654SQjxPRCNBEFwwMJOa6Ovry9q2bSA7AThKqavm7ZlMJk6lUp8AGE6SxHi3IoTYobW+JqU8DeAwM/taa0Vmamdn5xQRuUTkBEFw2ahsNpuUzWY/B7AHwDfMfNIkCuA1pdSbRoCU0nTIPNM1zX4awCkAKwB+W19fH8hmswkzh0mS3APguXa37gTwnlLqmWKxaOzAzMzMuud5mojuNaASAGPYY6lU6gcAPxFRhpnzQohd5XL5Z9d1zbZfAfChUmrMeFKr1db6+/vvtyzrstlJA/qrvTuvSCk3O3IjSZLdYRje6O3t3TE7O/u353k+EZWZ+azW+lB7F82OXrVte8iA1gD8AeAOANuY+ZJlWc+Wy+XfjX8A4s3/Skq538RvekREPjNfT6fTA6VSKTZLe5CZH28bOq21/nV0dFTU6/UO0y3jxdZPrX1/EoDK5XLDAG6trq6m/gMaU/Xc3BYq7wAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-call{margin:12px 2px 0 10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAJXUlEQVR42q2Xa2ybVxnH/8957VxK2qZxfInt3NzYrhMnTewm6W33AZ2EmLRNox8QTKjrJsEHPgBi8AWYQIKNSROID2hICAnxpUgwAYJqN7apa2M7yXKxE9tpkrZJmovTNGnaxvZ7Hh7VlhZtoVq1/axXR69sv8///M9znuc9hI/RFuqhogk1kx4yfYEIGUohMxFn3IVAR5S0hrIQ6YlknPFZsDUeIGzD2eyn5raDhE+JPxRVuAcsKHOgs5cmRmPssu3dVbc7+qRm7iZQylDGPybHBxZ8wUPq4mRcYweC4egu00SgxmrNDo+cv+EJHKRKZZB8OJOKMe6CgTIrS/M4+MCXrLfXN1/SzM8D8AF4hMH99Y7mZHZCRIQi6trKAm+brbEq93U292lmfrVgmj02u3tXZYVlKptMbNXaXIbD1YDc8sLdBbQFuo3V3FXeXb33WQZOEVHMUOqXAG4z831g3e9weWOZZGIp0H6IcsvzgCDBSARwvYwMuEHoZRbRjKP1Dm/OJDUtQtjfHlWrywu8owB/xyHKTgzqYFdfrdb6+wB2kUE/kmBvt7YG394q5Pcy+EFm+Jxu7xuTY/HbwXAv5cQxCc7+jghlkoNzNofzn4ZhxMHYzcz9cn1ZEfY2eb3DydH4VkiWWFzGx1Ha1AqCLnIQjE4QYk1RZ6y1pdtIxN7JV1dX/IqI3mHmo8WCPgVh8/YWoUxmfJD3ByJGfhOF9Fj8/ar6Pc8bFuMFEC0x8+kbW+Zv2nv6nKnRGO8XJz4pQJuAwGA3gBoCzb71p3+ZXKkQaO9Vo4MfbBKMV6j0wJPi2MEr2REtthLKTKUHzUuzwxrCxuI1So/FzihlnCai95nxcH7LfLn94OG6qWRCB8QJbEOZBIZAmmsB3CamBQhWUkgnY7q5tVNlUgOjDPojA3Ws+dlHTjylZIk42NGvAIjQvgMi7FSws69lNj1s+oIRS2Z8IK0qrN8mov+w5vvz+cKL7eG+6rQ4EZQ8QhmltAIEJuQBGCCugiAjIFRUVVDpluMQgQzuuDQ30wTB1EUDgtb6CW3yS8VC8Q9t7dGTFycHiy3BDkv6w/NrSuEHRHSemb+SN82nIOQLxY8EGAQqC1gs1wVP6Ucmwj39lEklzOjxBy1MOAWgmki9nhmNzzT6w8pqWIsQLIbl96TwKojsrPlFWZ7vzkyOF/cfiBrp8cQ1A/g1CCtgPBPq7HdNZ4Z1MNxHEBQZiiEo0BUAlxgcCnX32Wazw+bWVmmG66vrT4P5USIkDDZeg1BlqebU2HmGMDF+fkW2208Mg75HhKus+TuyXZ+emkiYzf4e62QqMUCg1xkcKBSLX4OQz+dVyQFVEpBJxicINMSMrkJBhyDc2DB15Phhq9Z4DEQFMiy/m0xd2GgLHTK2Vzh/qJdagz0W2QVnlVIvMrBpan060NHbOJsZKgAC898BrMn4QCjcVzstuSIiSU2Ox9gvD4RARIk7A/P9EBYuD+uNteIeAHvAvATN0yjB2IaI4apKi9nij4jl8bMkiQcgxFo/BMHubVXd0RMjAF1gQneR0A5Ba1MpQDAMDQgW9SZAi8x47ED3EQ+EzFg8B2AegJeg/eU/Ej5GaiTGFdbychLOAFgFww5hd41NnfnzLzQRjYBRo4tmHwRtmqxKQS7wnXF0YIoIZ5m5ycwXnkQZInoLQFEzng2HD++5ODlkBtt7PyEinSw1qxsqHyNSX1dQr0GwlidoMax/IylqipCFwIrYQJn9oeidRrPP7l4B8BhEhMPp/e/K8vz1gO9o5tbW9S4GHze1tkgJfm9X1W7lavIht0N5te31KNmKV3Mr81sQcstzXGp4V667PPv/Ojl2YRLCWm4RBspIcG5pCNH09MiizdHgZsajDFRKsDeuzKW0NJcJlgQCcKTO7t6YmRod3ltTb9hdXuRWPup2zW09yiwyr69dRbO3g+yNLdKI5hlCU1snZVNxbgy003pueXs7LuFobiZpnbA7PWmtcQzgXgk8Kw9ISwfM2ZyeBTA/DOBYncOdr/kCS6MZ0r4DPca+ereSi2bSg7qhsdFe5/D0GRXGcjYZz7cFI0pEQzKfIZSDf1KABMd+f7fKTAyuS+DrzHyCwWFnQ/OA2LciQrJ2h3eVmY+B8UDRtLgaGls+lNq/aXd6SWYnPaL3Pq31T1nr50DUZXN5l6RGXLKihlwtPnWt5MZOAkpcW73Kdl+ELqcTkzaHZy+YH2GtO+pdje/nluY2xInxenGImXsAfsg0zeMyOwZxdZ2t4VvM/EMAboAyYI6w5hM2h9tRWV01PpWKb/oCkmu5Bd5ZQBm320MyW7h9vvNmvtjC4PvBHHR7WgaWFq+sy3czdlfTu2DUloTgqwycBBABMGcoesVQ1pcBvgxwOzMekjHidHnHMqn4ki/YISKW+f8KkADwd0TVxNCFor3BHdNMQUhxMrXurXc2jklWL1XU1F0/Eg6dvXptdRhQq8Q8Q0RnyTB+LlX1vZp99tuyE0ZcDU1va62dAI5rxhGHo2EoOzGyGGiP3Mk3wl1o64hSdjzB/q7eOl0wfwzGEwDNEdFv9+2uOBMbOFfEDrQGo8pQCloXITVDhzt6K7eYXxAh3wRwrtJa+Vxy9IMbAaklBu7CqihsDRxUU8nBm/WOhneIlAL4CEtjup03/fUOz6zkxDKEOm9YuRo81npJRsNi6Gwyxg1SJ/bZXJbUeKzQ6HSfy2u0AXiUCcPi8lStzWncVUC5WHCbvDfmtwp6Oj10rt7pTgK0n5kfBPMX6+obmu2OxuUrU0OLa7mrpjxYry7NwdPURetrN3F5+kPdIo5IRyzW2z2HGNwP0LurK/NjtXUORbgHWtt8ajp7Ufu7+vdxofgMgx8H35nVEoFiUHjTIDWMqurLk4l3b0E40H10jy7mG7Tmp1jzSQJtWAx8Y2I8kQ20R+9NQLDzGBXzt2jh5i2+eTnFgXDUo008zsxPll9k9hBhnhmTAHIgKIAcBPYzw0ZEV4jUzzLJ2L+bpPRfSiU04d6R5OwlaL5TeCBEIn27N26ZhwE6rsFdYG4GUAsQAF4D0axSlLAQ/pIai095/N00lylVRcJnoE0sNAuapzND/JFLh/eZuuhizTUEAog3YbHMZ0curEEIyBEvve2IR/gcCHcdoq0CaKuYx6XMiMYONPo7VU1VFcv5gLENwueM9AJiaMUMUGkJwIr01PjOx/b/AUxJ2b4KaYLcAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-call-voice{margin:5px;width:20px;height:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAYCAYAAABKtPtEAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIKSURBVHgB7ZhNTsJAFMdfh5J0Z12xtJ6ACuyBG+AJhJvADfQEws6degLKrgmQwAmsO5ZdkvBR/08LKQaQlBmk1l/yMjPQj3n/eZ15MxpJxLZt0zAMczab2Whewa5hFzArCAITJRtpmmZtux/XeGHVxzU+l7B32BuXQgiv3++PSCIaxYSd1XXdRqfz3ERZ2eWYbPCuEd7loRxDFGc+n4+ATzE4WICIwzVYGR2w6YwIRemh6iwWC+dQQfYKwE5nMpk7VGvcpDCEE4IDa0OMHsTwdl20VYBCoVCHmux4hf4GDqw9HA473//YEAAjbiHMnxFOZxXeEvEQEdVoRKwFgPM2wr1LyQrzOPiYOKur1eRTAB750HmL0oGPSLjhSBDcgvNNSo/zDE/uj1zRSqVSBd98l1IIJvqqgPN1SinL5bImwkwurZTFuWV0p4RTd51+AUTdaqOzwan2EhFMZQKwk3CI19ox5+mYddl813W9ffdx+p3NZi18n7yDtPGMfFhapACtWCwGJBl0tjUYDJokEVW5iiAFYPQ8ksy+Dc0xKBGADy4oISgRIEn8C0BblqMU4bMAUg8Z+WATK4BDCsCzOySXF4FtYSNyGns0mAAfSBFYXe5l9ZWfA99bmclk4udyuVd0/BI/WljDDYqHg3sbGP0nUgT6Oo30lX+a0tcnvM4sf+p/mKC5EPOWl9YPiabw/cLFfFsAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-call-video{margin:5px;width:20px;height:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAAAtCAYAAADxwQZkAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMMSURBVHgB7Zo7dtpAFIaveNShhkZ0KWUedZQleAWBFZgdWKwAU6Yy3oGzAkjNw9qB1UEX0qUB8v/KyAcnRiD5TPQ4+s6BQdIRZ+afe+/M3BlD/hOWZdWq1aq52+0sSQDDMLalUsmbz+fuP89EM2i8VS6XR/hpSzrwDofDZL/fP7iu6/GGVhHa7fYNijtJJx6s8jOF0CZCq9W6hQk6km62EOJKiwjwABMu8CwZAK7hlkQDEMCRjABrtV5ZQrfbtaBMbbFYzCQmHAUgwg/JEBV+KfOdImKavEZA81A4y+XyQSJSqVQopGQJXwQIcI/CROW3KLcwERPlBGLYCBzDYCi5BFqSJERQ/+N7qi2hBDHB5hcs4Wq1WjXx4lD9WQ8CPTHSy4UkKMIY9W+y/scfWDNdfhz24qvAGPQ4YoLDoQM/6Q41DnWwimdOfCSloL53qP/2xDMn7N2TowMFgYo9/LxG73ooGTeeIMY9Y4ikjDCXPSVOwNkhEkI8HrkIoYtM4SIDyQkXzxOUizTlj4uYEGWkXMSUjBNpshS4CNyjH7gIVma2ZJxYM0a4xwQifJcUwUlanGdEy7Q5CTBJOzmMw1pvQt+VnADLHCBG9dSE6QXELlpBqCXkRgRFTTU6Erlxh/dQiCCFCD6FCFKI4FOIIIUIPoUIUojgU4gghQg+sURgIgUrs0+SEyKLwMyz2mJjit5DhncmGefiVWSn07FRjNDwIOPMFLdzLomZBc6KwKwMTP+W63Ves/dx3X/PVl3aCBWBvY9G+7tT6pbf+0ivZb73j3lThDd630Xj+zB9V3JIIAJ7tsa9BDTeDXqfqSpcj5FhdiTH+CKgsUPuI/BztKM8Y+/D9D2JAA9IScZ4OZ8AK+ihAV/8m4bxDYEv1lmjLJ1SCdByXAdZ36mk57TaWbRMm+FSkQ93JAWH/LJoYL1eu/V6nZOqj5Jy4PoDbQsobN5yvzLVQyp32nkkSYslkM1m8wsW8bXRaBgQw4yzKaILNeu9RvCf8Fr7sV6iVp02j8vh8oMkx0/U4fHvKf9vOe9iv574VGEAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-down-arrow{margin:0;width:7px;height:7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADMSURBVHgBhZAxCsJAEEXnx5gUkkIUlICNhdqJN7Cz8Ryx8kB6AE/gBWwsbGzVwkYQBYNgrAy4zoYYEjPqh1122P/+7A6I1Wj33CIw0edQqdFhuz7SD6X9ht4sYAgiVy8LNGt2uq1/8NsfBTyUmnMRd4UDMqZSSBqOnMwU9OHmn4JSpb4wgT6XDl/ZIAzK1dryejn7EswKFJljfHaw2aQSk2LT0wuVcRdgb79Z7SA9Mx+CQILjb8iDyoYkysBaBSkgPxMZ/hoghJAEa70AtPJas3IYltIAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-location{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAsdJREFUOE+NlD1oFFEQx2fe7t7dJiypciY2sT6CIFuclzSLu1mIhSIaLIKFKJLS2sTKxC5gJypioRYS/EgVvLzANuEIeI3iVQElBItLEI4j97V7b2SO2+Oip2art/Nmfm/ezH8eAgDOzc0ZtVptuFKpQPy1223s/fQtNE2jfvv4+PjR2tpaiL7vZ5VSTwHgLABEDB4EGGBjoA4An4UQd9DzvO8AkASA5wCgnRASu/HBtwGgySAmL0sp7zuOowdBwJv//WJfz/MeAMBSB0RED7e2thanp6ctpVRkWZbI5/M1x3GGwzBEwzA6dWk2m+34BCGEvr29XXVddwUR78UZrUgpl3K5nFmpVNqlUqnluu48Il6TUl6JgzkL0zS1crmsEomEXigU6p7nLQPA4h+gQqHQ9DxvFQDuAsBPRHwPAGUi+iSE+JjP548ymUxiZGREOwnoHQBcBoAjhnS7c4qIfiDiJSnlF9/3hxn614xarVZULBZD13WfIeKUlHLStm3dsixN1/VXAHBaSjll2/ZQsVisDQQ5jpPi+6fTaVUul8XY2Njk3t7eV67R7u5u0/f9C0qpD5qmnTk8PKzygf/MqF6v48TEBG5sbDRt2zY4myAIGp7nnSOiR5qmXdzf3w+5KcdAv7efM0gmk2SaJnGGcde4U0opwzTNVhiGxqD2DxTk7OxsMgal02nBGfZLgcXbE6Trut8QsTMiiKgppVh8SUQsSCnfct04uHu1q0SUY20KIZCIWKC3iKgzIue7c5YBAIb0hhYRFzY3N58waGZmZoGIHvfNTuxbYhgHdZ6Rg4ODoSiKepBUKvWCtYSINziYiF4CwHqj0bgZw3Rdp9HR0VrnGeE61Ov1dt+wMozYHobhm64wOXbdMIzr3Tp1fNgYjw3yolqtHnuDuLDZbDYMgiCh6/prDoiiaN5xnNbOzo7R30nesyyLfgEnOZMZpXUFuwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-selected{width:16px;height:16px;background:url(../img/selected.33c5a61d.svg) no-repeat;background-size:contain}.icon-unselected{width:16px;height:16px;background:#fff;border:1px solid #ddd;border-radius:8px}.icon-cancel{width:16px;height:16px;background:url(../img/cancel.55fd3529.svg) no-repeat;background-size:contain}.icon-left{transform:rotate(180deg)}.icon-left,.icon-right{width:12px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAJtJREFUKFOl0rEOxRAUBuAfnT2IpEO7dMILEzF4pQ7lBbrUDbmaaIcbuRbJH9/BgeScM77jPE9M0wTGWIteMymgGEIIQgjgnENKiZY9RQdSSjDGYFkWbNuG67pAKe1MBSVpFY/jgLW2gnVdXzvdoKBWcd93OOeglMI8zx3qwBN576G1hhDiRv+BoSMNXbotjjHWDv1s6/DDjXyNDxRYp93y9aZ7AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-right-transparent{width:12px;height:12px;background:url(../img/back.edad3f01.svg) no-repeat;transform:rotate(180deg);background-size:contain}.icon-down{width:12px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAJtJREFUKFOl0rEOxRAUBuAfnT2IpEO7dMILEzF4pQ7lBbrUDbmaaIcbuRbJH9/BgeScM77jPE9M0wTGWIteMymgGEIIQgjgnENKiZY9RQdSSjDGYFkWbNuG67pAKe1MBSVpFY/jgLW2gnVdXzvdoKBWcd93OOeglMI8zx3qwBN576G1hhDiRv+BoSMNXbotjjHWDv1s6/DDjXyNDxRYp93y9aZ7AAAAAElFTkSuQmCC) no-repeat;background-size:contain;transform:rotate(90deg)}.icon-edit{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAf1JREFUOE+tlEtrE1EYhp+5lkRrvFREwYVWe1FaW0NKg1hFvGGltEopgv/MjQs3AxIsNF7aRSx2oaIo0mq1RReWegFrNcwlJDNHzsCMTU2aLDwwTAjfeb73fc/5RhFCCP7DUpoFyX6KohC9N/duGiQ3+n6Apqk1YQ1BkYKV1a88mJ4lk+6lr6f7H9iWoCg+acnK5Xm/9JFkMkE208+pwXSVu7qgSEmxaPNh+RPHuo6Qn37Mwrsl2g8d5ObEaLMgWSe4NzXDm4VFsgP9nD09yOzcc/p6utjbtqfKXk1FkZqZwhwvX83Tun0bv34X6exo5/rIpebCDoRAVRSevXhN4clTkokEIgio+D6Xzw9xvLuDqGajtypFQRCgqipvF5fJPypgmgYK4Holzp3JkjnZ2/geRXY+r6xyd/Jh2EzXNWzbZSB9IgTVu4yyNlQUFfxYW8fKTeG6HqZpYjsOnUcPMzp8ATlHUl2VHeXvP7E1CbtjTfLl2/cwF8dxObB/HxPXhjEMveE0KkEghAR7pRK3bluUy2V832dnagc3xkfC355XQtXUWJEcc9MwSKVa4waxIrnByt1n7ec6LS0mY1cvYttOGLqEREve8kqlQtvuXYyPXQkPJ84oKpIFEqhpGrquh1nJjfLZuAQiBEhVcYN6n5GtTqhWYI2nv07Mm0/wD7ZEFtoGKot4AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-voice{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAeCAYAAAA2Lt7lAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAHgAAAABtdYANAAACAklEQVRIDa1VSytFURS+nnlFlIFHSibk1Z0YiPIDKGXARBkzMDEwMxA/gZKMiMw8EhkYKBMjKSNC8hh4pDwGnt/HXd3lnLUvzj2rvru/8+1vrbXPOfvsG4kkH5UosQ4UJF/KX6EU0hHwAWwCGUCo0YFq7wAbEDNA6DGEitKAY1/oHVBwEpAmF+B5YTfJQsFT1WQ0SIN0JEUTJPaoBk/g5Qm8vqlUKPPAPVDvm40LO6DyqIbj8u9sXCWegOc4UrqVb9fhMeVqqLcqecR0fb/cZ+WrcPhMuVclPoC7vtxl5Rvks/1rzMK4FzPnYmx3JK4pvUEacAdwgiC3gi9vTk10Kq7psbooI+8H5M3LSM2KRoji2bcM0Oq8nkMlSDI1K4ogiufGMkD74eEjKjSMlkYbd4hEthDP+MPDBiseAy8tjXoJf2JxKcQz+jxcLQvKrZO77kAfB1uewnLZompt83y5A3iuS1Feu6JLTWworunXzokJPFn/HNwdb4DcKb9uKyYgimfMMlhaJkR9kC1ZJmgpwDkgDZodPp88oJJewF2rb1K+K3D5kEETRxqmFwCujM1cMYUJWT35v4JNeOC5ogYTr4A0aHUZg+p8L1J8NWgRVx63rxTnXdS6jEH0KJIeAWkwHaSIK6cYE2eq+AF4vsscROdJsAhw9ddAFRB6sAn/iNqsyp8SEo8bVGWmawAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-reserve{transform:rotate(180deg)}.icon-del{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAjFJREFUOE+tU79rU1EYPee+l/dagsalqyidnMQOOjiYQRAUaW5DQShVHHQQURcdnOJfIAhik6kQtdqYdx/NJP4gVRc3Bwc3p1YQQQImJDfp++TlR5u0akW8cJd7zz3n3O/7DvEfFoc5BCABsTMzUxA5CqAFpUYwCWtXWKl8G2Dj95sAyeUU1tcdFgptm8lcBnAJZA2AMyREAa76xnyUdNpFtboRi46o/OvPKLOzDkuljXY2e1Oi6JwAXwjsATDWJWUsDkB6giLynaQnItYjz9OYrzGiV4fp6WPiOAcocgfAewCvIeJDKRciUXeTHQC3AbwkELqu+46l0o+tmvQd2UzmhZAF35iSzM8nWSzWY7doNn1WKo2W1s8hsuiH4dLgF1sk6bTLarVjtX4rwD3PmGdtrT8l6vUpm0yeInDFM+Zk914k74fhw7i48ZuR7jCXi/okd31jgrbWa24qNWlrtbMkb3hBcNxq/UaAvG/Mo51Ocjm1ncRq/TmRSh2ytdppAtc9Y050ScgFPwge70riGWOs1mtes3nQjo9nCFzbdPIXJFUhH/hB8LSTzV5wlFpqAfvdKDrslstlq/WqkPndnKyKUvf9cnl5YLc7H4Puaf0K5KIXBMU/dWcBwBGSyxGwT5HtSEQpQCKRhAIuisgZLww/xFGJ67jVnf7QydzcXtto3CIwCZE2GM9ib1RBuhH5ZCwIVn4ZwEFuhi9/l6XtmB0BjAFIp4eTO8o1MSFx1oYPfwJaFk4haJPoLwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-work{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABEBJREFUWEfdmGlsFVUUx3/z9k4fLVINNnEBpTXEpbaNG1QFNW2sbSBx+YIxEauBuFaxIp/6CRGXugaiiImRLy4JxFpto0JCwS201iWEFgWXpJJQpO3r29+MOb1vMqC8N699tW28yUsmb+7c87vn/M+5Z0YDqG8OXe726G1o2hKgQP6bxhHBNPenkuHmjrbgD5rAuLx6p4ZWCpiANo0wYmrcpok5aCTCdVpji9EB2q1AAvBOM4xlLm3b/ERrbDFHgeAMgfzTbEiAjBkIU6b9mwIkMZw14/8H5NJAS+el+NrI0995eUhgonGIJVXE/R4I+PKDmjSQeCUag/Lzoe4aBdT5NfT/DgE/TFaZEwJyu2zth2OweAFsWguBdPWKJmD9Fjh4FHS/PTcleZzjmBBQOAqGAUEd5LplFdReDfF0yHwe6PoGNu8APQChMLhc6jrXkROQuF9+NRUwNwjdffDbMdi4BmqugEQayOuB7u9hw1a4YL6afzKk5kuILfFng3MEGtdKHB69E+qvU0sJzMNtUFkGrffZepG5rW9B7wC82qygZHR8CS+/rwTvpK2sQGJAdj9/HmxdBz4fJBLg88JL78GHe6BhKdxcrQx/fgDa98Hty+CxuyCeAK8X4nFY8zwcOwHixWxQjkDJFBTp8NrjUFKsNCS6aN0On30LZxfDovMU0OE/4Pgw3HIVtK625w4Nw0MvwkgYPO48gMSI1BrJqJuqYe1KKAhAx3545QNYUQOrG2COroBGw7C9HXZ1wyN3QP0SiERhy0744oDKPKfC6aghMSSFeGgEFpRCUSH09kPjUthwz793K2He+A58tA8qy2FkDI4OQkmRanycRk5AUkfurlVeKvDDzr1QVQ6XXQRyz6pP1vWPv0DPIVh5A0RiyjvvdtnzJp1lohWpJffeBqtqQfQkGtjTC5cuhHPmnt5iWu3m8ZPw0xG4sdJ+ZkcXvP2xqmGiw0wjo4ckTBJvyYrXn4DSEntx2bGE46w5Zwb6a1SFVTxqbWJwCB58QWWt6DJT+DIDaWox0cybT0GwwM6a3T1wZVl2oO8GYHmV/UwoAvc/qzSVLdOcgXTYth4K8wQai0DTJufUzw3oaSgM5OehsSg0PTMVQIXwRouqNRJ/0ZRoqKJMpXLSsN+bRBcelyoRfQNKQ9YzUqMe2PwfhUyyrGJRdg31HYZllbZX8w6ZlZaSoiuuh0suhFhcnWNSZxaWKl0lUqd7yOsGMX5kUNUpOc/8Pjj0K+zaq46dSdch68HxPuiUPJWwSQZmOiSlWksmWW2JdQTl0hflVKlP7RRlcQFx6m3ONCeXzjEnIKfzZyrvz0qg2fYqbYyCNks+NpghrWFd7FPN5asDpFX3TKUeJrDWuG3TiHdqy5sOVgfnlbeD69yZ/GAFxp+hE/0N0mUIVJVefPFzLrfnWtCm+ZOeGTFSya/Cwz8/uXvb4p6/AQgE/yviFTo5AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-public{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA8JJREFUWEfNmEFoXEUYx3/f231116w2JFg1ppVaS9XaQxVUtNBbQ6E0N/GkB88lFBq8SEVaD1KkIvSoZ+lFCqJWRPDQNunBCoamaZXaBmstoRvTNS/pvp2Rb+Y93ELszsZHkrkszHu785v///u++WYFYPiHxg4qleOIvApUdW4FR4K1Z1lYOHhqd+1ncTDV6mngccACsoIwulS+5h8kyZDsH0u/kkj2Ak0gXmGYfDm3tjX2axkeb91BqK0SyL3LWhoyfL5lVsGm/9q/VSD1cM2MZQPlkV/0bpYFFAmkajRQjsBanypFjK6AVBXlSFrQG0ME1JuwLoKyFAMVDKQwLaAk8OagsLtfHND5Wcun1y3zrWKggoHUpr9TOLBZ2PeoYDKPdP7MbcsHVywPRCCqVGahPsvfC7UzCEjVSa236cSOiIfL3joX2NYrd2DCMJ34eQWKI29tTykUxb8XDNS0sGGdB6qW/q33KpQCHLpo+GkOXu6FNwaEh2I4V4eTN7yUoedREFD+gwp1ZJuwc73gqpeACvDbvFdooALHt0c8WMI913j7/HfLZ9OWmqoakIpdAd01MFiFd7dGbMx6gpm78OEvhvFZeGtQeHuT0DSg8aNA1xI4OGGcrSEqBQPp5mKBudR7vXM9lIELcz6+FGDvI8LIUx5Ih8bR5Ybl0EXrnoeMYKA8y56swtAG4YmKr0M3F+G7GctkA/pjOPpMxNM93h79jqr3/Qz0FGlZDvNaH4xuuTeoddeq0ImrhlN/Ql8Mu/rFfY7XLb/O42IqJH6CskyV1tjZVIWPsoB1FmX6qztapXXBdyaNq9wv9YqrSdcSy4W/QJNB7Q6I6c5pr+rcSWEkK4gKowDtI2/5bi1qNolTJJ+71LAcvWyZTcOggmJId3/sOWFbzVfopQK0ffe5PTqn8OduW45klbyTSh2B8h/9eLtP9fs13fli7QLqnKo6MmFcvVIr7wdVKNBSaZ1v4PCUYbzeOdtWDOi9KcNYUUBacdUyzbRuG3BVSDOycIU+eT5yxbDbi1v+/vtThjN1Op5pHS3TANU6MrpF2NUnrhELPQYURtVtpHD4kuF64rvL/xXUWcvjDsZaVl9CzqT8HVdYre+NQtrcjgq1L77cC5PGkKraqQYFHR3tQIEH9pIChsB0DdSNVct9dw1epdfanw37zy5+I+V4CKz2gtoErsZIQco2bZ6WPV9Mvlgd2PolEj3m7w9BrW+R0Nbd5qy5mdy4sk8TR/acnHyhsnHzMSnFr6zGX3q21RxbmL46+u3rz/74D2h6vEx9UDTNAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-meeting{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA6NJREFUWEfNmDtMU1EYx//nPqBIoQRFaIEgBBGMBCMmEowxcSEqJupg4qKLiTHGwcHFhbjo4OBg1Jg4qIsJi4P4YNEYIjAYEIhBEAUMFFBBSgtFem+P+W57mlL7gkLbk5SS23vP9zv/73XOZQBQ0vm+Fib1DmOsEUAWXUvicHPOO7HsuTrReHiAEQzLUtsBZgXAAbAkwpApv00+xd2eJlba0/kKjB0F4AGgJhlGmPPZ5vw1K+3tcgIwpwgk1KyLgLwpcFOk9XMCIh+mzUgIiKJfYqtzwMu5EaXrHesCkigRGfDX6zU+uh9BBkOmJBkfuuRdB9qagIQiTp0QOHZkmFBl2oICVTEE+eXRMLy8hLGVZTAw5Mgy1qpY3EAEQ64gmIM5ubhcWIxDORaYJXmVd1y6jg6XA/dmJvHBuWBAiWfjcWNcQDShDkDjHDeKy3Bxuy0wNylAv0n+eAqOqIc/7WiZHIfCGAg7ntiKCSRW5+Ecj8qrcDxvK3Tum5oCOrSs0y8ESUNmDC/nZ3FhdBiq/95YUDGBaNJ5TcPNknJcKrQZKtE1GvS3ZXIMI8tuPK6oNoyK3kPfBE7qPJix4/rEKPIUJbCYSO6LCkQKuHQNDdm5eLGr1ghk0kSoRt9NQ/3oXXThW90BI16CmyH9L545MTSA7sUFmGUloGA4qOhAYHB6NTypqEaz31VCHWH49NfP6HMvon9PPbKl1UBkkFSiZ9rmZ3H++xfkSErUchARiFa/wjlsagbe1tTBIiv/rZ7uOUlASy4M1O43Mk70IRFbAtyhazgy2Ae7ZwUZfteuSSFalUPT0GTJx7PKmv/2JcJQKFC4/Yu4dnZkEO2OOViixFJEhQhoTvPg3LYi3C2rDEgvVhXssk/uRXTt3muoSKqSAiZGhcA3hNuujI/g6e9p5CtqxOBOGOjY0ADeOf/ApmYaKhKQldxcXRcIcioDtMCEgeJx2S37D3Q4HTAZAc1B9apAVXG/bCeyJClQDCmmEnJZrKCOpw3QPRsW1EYljpL2wbEUNltC4ifhtBetIVJhjEehDS+Moh+Fax2xjiab0jpEv6LJ06a5CqhI24/g7h7a/Tdl+yFiJewGzWyBWU7BBi0YilRIiy1scFalzSY/NNXT5hgUTw1a7z1peZROs5cNHzveQFaa6JQDwHfiS/7w2da1dmZta61XbCVtYKwopS+sOJ/W7BPNlCjM+rx1n1pivc0VpSEVr/SYpnV7JqauTZ060/MPvgtJSwaxm2IAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-room{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA4lJREFUWEftmN1rFFcUwH93djazm03Y9MXGKq3Qqgj2RamEaqEibTArKnQpwQ8sYn2ookS7zUOjIBUEfehf0Bd96mNBbC2UUsViQUKsUApFsAGNmpqYTprdnZ2dW841Q9fo7GRDvgoeGJa5s/ee3z2fd0YBdO24/aZKpr7UWG8DaRmbRykqgp91pdRz6ZvXbymBIdl8GVgKaEDNI4yoCnUOUZnoVF35e5dAbQUqQHKeYUJ1k7r1tyqXH3I1tCwQyFNqFYyrrvxQsABuitq/FiDx4aKRF0Bxrvj/WUgpsKy4fUU/r1Ybm1vXQgLj+1AsSSI2LjK/OW0hv9OVSKAQpi1rsWG909Ciolzml8uaX26UKZX1tOdHAiUSMPZ3wPauDMcPZxHTy9h0ResnUL0nR7gxUKYlo8waMl5PooEsGHMDduYy9BzK4nnPAgVaY0nre45LRLFtQ98XI1y5VsJOKuwEJJP1/RdroRAoykKiONCQmBL4oYWOfPYXfw76HP0ky/0HVb4679KcVmbO86QhIMk2cYNX0Zw6M8qqN5J051twmhTBZAOyphjgh5+KrF3TxMtLEgz86lE48QjHUZGumxHQ47GAvQcfMvo4YPXKJPv3tLKxIxUZGgIrm+m/6dF7cg6AJNg/PjLMxITG8zR+FTZ1pAzYitdss/sw1QVG7iUh5sxCAnTg8DDuP5qUI9mjuTPos+fDFnp72oz7aotpeD+nQAePDuO6momi5qWsRXc+w85tGRNPtSKxqycB5xSoe/9DU/g6t6TZt6uV9iWJp1xVCyXVXkrAwC2PQt8sxlBYGMUFF752WbO6iQ3rHAMi19SeJ2OlUoDjWOaZsZAEddNMsmyyMO7IZTh2KEs1eLbWiBVMuhPdgE+fHWX5MpuPdrfSf7NM4cQIzalZqkO1rUNAJJOiGmdt65Ba1PGWY8D/uF0x1TqqhUTWITGxO6557900nxfaqPgzOIZo+LTvEb/97pl3HdmEZGW9flb3+BHWj1fabVNH4hpjbSCbiu5phh48ORCFloxbI/bEKAtUfIna6fb5//4nEHHNdOqqsUC1u2scqTGrGl0vXoNizLwoLbS4XqVz+XuuRi2Sjw16XG394O53SiU6QfuAPZNMmoU5Pihb6+pltTl3fX06/epFUO0L+8FK3y8WB7fJ4UVtfv/qOqd1xTlL2R0L8Ukv0P71snun8OP37/T/C2rc5TFaF3blAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-system{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACpCAMAAAHy0MbyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJYUExURQrBYAvBYRPDZhzGbCXIcSrJdSHHbxjFaQ7CYwzBYSnJdEzSi3bcpqLnw87z3+X47uj58Ov68uz68+n58ef579/36rzu05Djt2TYmz7OghnFai/KeIHfrcPw2OP47fz+/f////P8+Nb15K7ry1vVlBrFaw7CYlDTjqrqyPP899j15YrhsxDCZFfUksDv1vr+/C7KdyzKdq3qynLbo2HXmf7//rTszhTDZo/jtk7SjCjJc7nt0fX9+THLes3y3/3//oXgsA3CYjTMe5HjuA/CY8/z4IDfrRbEaLft0GbYnO779Pb9+cLv1x3GbNL04ub575zmv5flvEDPgzDLeaXoxIzitPD79TXMfB7GbeL47F7WlhLDZavqyfj9+03SjN326YvitEbQh3jdqO/79CLHcLHrzE/TjSPHcOT47vH79rHrzUvSivf9+vn++8zy3lXUkdf15SDHblnVk+D36ybIclrVlGfZnHjdpznNf1HTjhfEadv26I3itUfRiMfx26Pow0HPhJPkuZjlvMHv1zjNfkTQhWnZnhvFa8ry3TLLepXkurbt0Gvan4LfrknRiV/Wl9X05HHbo7/v1Z3mv8jx24jhskjRiTrNf8nx3Mvy3WLXmUfQh0XQhu3681LTj9n15ljVk2XYm6/ry+H37Or68bXsz2PYmjfMfW3aoLvu0zbMfTPLe77u1S7KeErRirDrzNr253fcpkPPhSvJdafpxr3u1N736n/frPL89o7itW/boWDXl3ndqJvmvvv+/Xveqsbx2tz26fT8+BHDZD3OgYTgr4fhsQAAAKRC35oAAADIdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A9ppxxwAAAAlwSFlzAAAXEQAAFxEByibzPwAABVpJREFUaEPt2zuP2koUB3BaN1dCLikwols5fVb5Cim3QaxEtNomDdJKaHWbbaBASPcTUKVBShv6NNH6e2Uefxs/5u0H7NX5NXiOzwwjY+yxPR4N422MhYqEw/KFiDbiZ3UY0V7D1ThizDMiAmIcIkIURaycxlGEQCFLRvUvlDJ8/j+MP2OhTGymxoqxCDc2ioz6/mgo5hB1C39BtBZGkEFAQIiLERKiKN2xtc0ffpSkD1MsVhzxSZxgoydLlA2QKfyLmA7S4Buiaitk5RBWQ04BYTXkFBBWQ04BYTXkFA6IqyCl5AvWNGB9DVbWYW3NGWvVZGOZsb8X8i+MAiHe5rOFeYfMbcSuliQzlA3WSGUQ0fqGPAExHWRJvxFUwzk2h6gacnKIqiEnt0VYCTm5FcJKyMlVzrB1yMl9tFzTBn5ASgFxFWRc6I+YSCjDmoZGDzisq8PaKuWQR52qaTi/BKjB2jo28mZjb7k2TkRRLGv9lCcgTUdrkiQbpbZTVk5003VYH2X3lo4SQkiAN3EokhYbBNuqDFWkN6xqoTRWKmt5d2SJZhSQESQfAyohJwRa0ECSvzka0LhHmrcZGtBYI80b6usYR1kG7ARuRO1KH63d0D8GausFdfiAykbI9fAdNS0+Id2RU2cl1HCivHrQ8bgPihpuvqOSi/RxFRd4XSwyU1bEIndKUcVbym8fYplhBeNlswfWVIJuTXh35WIH7lhjvEHhAcEuRO9/ZKOrPSKEEEIIIVey+e+f8Wy8e3V4yuxuWb4AV02QCFO/rH9CvB3FLRPlbB5P6lsmWBnuBQ3VYXUwNNPg8NTPhA+o1Vr9eKb7UUgJUnt8WDFHTgDDXTkGSQHM97ncHt6ooAGN4NtctstZZHnbo74O0rxpHsgVkObtHvV1Qq+4be2G3hCndiVqV6J2pb7afUJ9HbcpYk316Xx15smAeqiuhzxPW9TWq8xQdmW9u+53J7VQ3Dc0CJgCa98KHJLd2c5tOaQ7QzUr46yoJpeNK3ndY85QyYXPcApV3KCOA9cfTZqglp1fu+7/utT9Z9NNoFJLj2s8nuBYZSxx1dKd919OTKxixLOiNC+OnnkJBdtUKzN+ALo8gub/byy2xVq6bMRKoR3WxekjllfsJw1+fl7H+pjEfHd65ztKV90did/q8hynw+lmomEIfi6mdEKr284nx02y7GlPU+4IIYQQQgghhBBisVxuNptOp4j0YpOt60/wF/MfN9nvHzt0UGH2OfTJUT9eTdMipPmt9Hhj2K4Vr6hwTYcFOuOiu3lUYZauWzZ31S3s90hD2F3vQKF4xdBudq3/3G90wFfoc+t2grYtN75Gf1/x5QEWaGJAL7YpBSah0w3C2SZWGI0HPzzoJ0+66GZ2rDuPV+tUWkyvDGKbvGOx7vbxn9UnfG+g1cDnirbdfUE7A6Hu9om62yfqbp+ou336YN1tMTjn4oFPwm5TR/U6m+flJOCKvSr8vZQA5ZlggQa8/jn7TMTU8ZpZ20ary7SLfMpiv9J2V2klsfuE3WBHfFcnMjTal32buwsKcfgbcQ463bRSfxeZ6Rpf0a2A9xtcTLo4fKn0soH3fAp6P/o4xfWw3+amPfzhetpzuR2+olv3fMp89+56HJ1F+4kCdpQTihVnuc/HB5TLDpOB75VJE9GjZKX6cow1Bx0xWkR4A+AB5ZIU58Gejq5hnnGUaxxCMdacnlC+EZP8qHwqvwyB/ZZF0xt7RSJdF4eN6Wl7PP7asoHmFNv2J5JuyVk3Wnu8yt/fKkq32Jwlq/tbflMmet/e/ZEdncZfj0Gvvw4s35ztXpkjhBBCCCGkrdHoLzv9X1u4OdoGAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-words{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACSZJREFUaEPdWgdQVHca/22hLks3xkI1iWhyFy92RYmJ550md95dNGeL5kxsUQEbYMEgMYoUFYUYzYkxxjKnY05nxJzGiiW2RHNqLAiMCcYC0mFZttx83/JnKAs8Vtj18mYcGHn/977fV35fezKj0WjEr+ySNQWK8D6NmGUyGehfY1ejoAwGAx9s6rCtDCyULZfLzYpgFhQBogOVlZW4fOUqrv94E48fF6CqqspWOGBnZwdPTw9079YVPV5+CQ4ODhBy1heqAShx47fnL2LrFzuRnXMXRhghb8Lc1kJqMBohgwwB/r6YNHEs+vXpZRZYHVAC0L/3H8CGjWmsHScnJ2g0GraSLSmFdEryODo6oqKiguWZMW0y/vLnNxoAqwElAJ09dwExsavg4qLimysrtQjq+jx8fTpBrlBYyygN3mPQ63H3p1zcuHkbDg72HB6lpWWIWRqJ/n171wHGoCjwiBC02iqEzY3CTz/nslbs7JSYPXMqBg3sbzMw9V+ccfos1qduQlWVjq3l07kTklfHwd7ejpmayY0QCSudO38JH8bGQa1WoaysApELwhAyaABrga7WpHeDgQSAZHYVLEwWOpFxBqsSkqFSOaGkpAzLlkahb5+eNdaqA2rL1u3Ytfsr2NvZ4fnnuiAp/iNQZqaM0FrULhQjnie0K8UVmMqr5ZkXEY3bmXegrarCmNF/xT8mjTcPKnFNCo4cPcEW+eOw1xEeOgN6vQEKhfl8IEWQ2vcQexGLGg1G3Mq8A08Pd7Rr513jNlKeJ+RZu24Dvj50hJX9+mshmD9nlnlQK+PX4GTGGZBrvDFiGEJnToVer4eiFQhCbzBAUR3cn2zcjOMnTqGdtzc+jl2Czp07SgYm5FmXugkH0g9BLpdh8KABWBgxxzyouPi1OJFx2gRq+DCEzmodUEKQrOwcJCStR2ZWNrw8PZB77z4WR81lr5CqvBpQKZtw4KAJVMiggYiKCJcAqhUsJQiGgvvY8VNI2fAZ5zwXFxeuUIKCXsDHyxbD1VX9RJayGijBqDqdHkRAe/buh7OzE7tyUVERXhsyGLM/mMr5sCVkYc792hwUCUiASPi8vHwkrU3FhYvfw9PTHRqNFnq9Du9OHIfRb42sSREtYVarg6pdPV/54SoS16Ti0aM8uLu5orC4mONobthM9HzlZQZuSRdgVVC1889X+w5g85ZtkMnlcHJ0QEFBIXr0+C3Tbvtn2kkmBXMUbzVQIibKy8uR+ulmHPrmGNQuLuxeVJ+N/NNwTHlvEtdsUlmusZxlFVACUG7uL1gRvwa3bmfCzdW1RvhZM97HqyHBdciAXI8qflEmPXUxJUAtXBKLi99dhqeHBxeaBr0BTs6O+M1LL6Jjh2cRGOiPAD8ftG//DOzt7esYon7p1FRlYVVLLV22EsdPnobaRcXMp1QqWTbqfUykIGdK9/byhI9PZwT6+6JLl0D4+HRCh2fbcysh5bIqqPsPHmLf/nRk3skG/V5QUN3+y2RcIBNQEpxaBq1WC6PRwP2Zs6MjuncPQuT8MKjVpjhsyh2tAsqcdouKinHvl/vIyspBVk4OsrPv4sGDh3hcUMjFMXWv7HIEQC7Hw4ePEL1oPn4/dAhEjWhTohAvFzmqsdyTl5+PkpJSLkK/Pny02npylJdXsIUS4mK54XtqLSUA8pS0erBB7vfDf68hOWUjVxpEFkXFxfD382XX6xLo3ywgepzN3E9Yr3bVsOtfe7Hlix1sIcpXhUXFGBw8AOGh0+GqVjc67qrvhjYFJQpaSsjrUz/D4aPH4e7mxpquqNBg3JhReGf820wKjc3vbFpR1H65qaA1MiHQ9Cc+MRk3b2XyILK0tJRJInz2dAwK7l89+5BxTyT1somlaoah5y5gdfIGLpOICKj+CwjwQ9SCMAT4+1lcLtkEFGmc4mfrtp08GrZT2qGgsBCvhgxE2KxpULcgfmzufsJCe/buwycb0+Dt5cVzRE2lBhPGjsaEcW8zuxEZtsTdbEoUAtTyFYk4cuwkj6tVzs4IC52G4AH9LO6fbApKJM07WTlYl7IRzs7OmPLeRAQGWB4/reJ+rTUiq10VtISupTBgi0dkCavX4+ixk6Ch44g/DEXY7OktZikBqLnFmBQATVkqef2nSP/PNzwcpSHOgrmzzY/I/pm2DRTo1DZQ5Ry/IoZzzpMEtqXCN3ZOyBOxKAbXr9+ATqfDqL+NxPuT3zEPKuPUWSxfmcR5hbaIMdFRPCQhk5su6UmS7iZlNNZG0Pi4ZZdp30415KXvriDmozhOGVQkL1k4ryaZU3tTZ5VTVlaOWeGRyM/PZ2Hc3FwRtSCcV5LNVc+NCWjunCXPEmdoVRuXsBbU3tD/eXl5IWXtKqhUznVXOSSQCGgamsQnroOHhztbSyaXoXfP38Hf1xcKpbSlm2nXpeVz3bp1rXm2EKxCo0H6wcOm50tcu+p1euTcvYsLl77nBQNZiaqUiPmhGDZ0SMOlW+2eiF6S9vl2bN+5Gy5qFVcEVJSSu0h8P09UKjVa+Pl2wpqkFfBwd69OvBSfcmzavBXbd+zmXAZezjR/UdKmepJSRZWuCqUlZRg/djQmvzu+gRc1WGQLbaYfPIQvd+7Bo7w8KBXKJuOjfkGrUCrh5OiIwoJChAwOxqKoORzQREBHj2VgVWIyz88pViu1WkmRKgplnV7H658JY0ZhxPBhZsOiyU8OyLxnvj2Pa9dvsA/ragjDvGbpxSR4weMCXrGSJWhuPvODKRj55nBkZmYhakksA6R76e9U5IpFQlP2UioUHOMvdg/CgP592PqSPzkQD7YkaQorl5WVgTZ9P+fe490xAY1eOB+fb9uBH2/cgkql4p4qJjoCvXu90qJ+Sop8zX7GY/p2wbQelRLUQhlXr93A4uhYJhex36Wf1MYXFhZxLIz9+1uSAdUeEVDCtegznuZDt/E7xERo1+692Jz2JbsNxY9SSWucEs4pND2yhNqlyNWkpaQ8oLn8tGTpcly4dJlTRElJCTp27IDEuFgG+n8L6v79B5gXGQ2atVNLTzvebkEvSHY7SxTbZpYiYYQlaNd7/MRp9Ovbi6uTtq4n2xRUbWD1E7wlFpB6ps1BCWBiBih1ESAVgLn7rALqSQS05OyvEtT/AGvF2sufTq7yAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-evaluate{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACQdJREFUaEPdWglUk1cavQkJELKwih5FWupS7WlHqhYViyi2dFpX7Hg6nc126nFqsUABEVzYlLIIFFSkw7Edna2dcSpFx3bG1gWouIwL1mkrilp1aBUVMCEEss75XnwxYNgKIZb/nJyE8F7+d9/93v3u994vMJlMJgyyS9AVKML7IGIWCASgV2dXp6CMRiPr2FVnRxHMJ1soFNocgk1QBIg6tLW1ofrMf/H1NzVoaGiETqdzFA6IxWJ4eXnisfGPInDC43BxcQEfZ8dB3QeKNzx6/AR2/PEDXP72KkwwQdgF3QOF1GgyQQABAh72x5LfvIypQZNtAmsHigP6ePdeFP/+fTY7EokEra2tjCVHSgrNKY3H1dUVGo2GjWf5736LhfPn3AfMAooDOnLsP0hNz4ZMJmWN29q0GPfoGPiPHAGhk9NAkXLffYwGA65eq8O5mgtwcXFmy6O5WY3U5FWYNuWpdsAYKFp4JAharQ7RsYm49r86NitisQhvRi5DyPRpDgPT8caVh49gc1EJdDo9Y2uk3wgU5mfB2VnMlJqJGyHiLB07fhIp6VmQy6VQqzVYtTIaoSHBbBbocqS8cxUmhsorq5C9sRBSqQQqlRppyYmYEjTJwlY7UH/Y8Rd8uLMUzmIxxowehbyc9aDMTBnhQZB2JuV3xxOXsA4Xai9Cq9Ph54sj8OqSX9oGlfvOFuw/UM4Y+Wn4bMRELYfBYISTk+180NOYJKZ5aHSWW3r6W3w8BZuK8a99+9lkzw4LRfxbK2yDysx5BxWVVTAaTZjzQjiiIpfBYDDAqQ8CwcHwQXf8u6dgeDs+nk1FJdj7yT4IhQLMCAlGUsJbtkFl5RSgvPKwGdTz4Yha0TdQHMCJk9U4Xf0lJvzkcQQ9NdHCWm8BUXsLqC0l2PupGVRoyHQkJsT0AFQfmeLis++zg9iYvxmUZyjPxceuwHPPhnXqBroDaoupAQHFGVKr1YiMTsDt2w1wc3NDS0sLvL29UVSYDalU+oMYcxgoztKuj/fg3ZLtUCjkFmaUShVeX/YKFi2c94PYcgioeyy1ICo2CfX19SyRU2KnBEkJ09fXF5vyMyGVuvWarQEFxROz3mCAWCRC2Z5PUFS8DXK5nMkuqSmpFbVTqVSIXL4UC+a9AJ1eD9Fdde1JLrQrKHPuoaRsTsz04izR2omOI5ZuMYYmTwrE+tTVWJf6NkgJiTFf3yEozMuEm5vE0o/XSfx3beU0u4GylWuo9mpqugNVsxoHDlaAnD6JAznq9JQkTJoYiJOnqpGclsmcPwEnhx02awbkMik8PNxZjWR92bqP3UDRjb88+xW++roGN27cwPX6m2hsaERjYxNaNK1s5mm9UJhNfHICMtLXWthYk7wBp06fYWGpVrcwht0krvD09ICnlyeG+Q7B0KG+GD/OXAx2vPodFFe10rJ/YmvxexAIhWxQFCYkBiKRkIUktdNqtew9KyMVTwY+AT2tHZEIp6vPInFNKuvj7GwuISiE9XojExFuqeg98vXXELFwbjuV7FdQPBQozN6IWon6+pusYDOZjNDrDWjRaCByEkEicYWHhwLuCgVzJeTLeF/+Tv6S3MAdpRJNTUpoNK3QG/Rwk0ggEjlBIBCitbUNPj5e2Lo5FxJ2H3NZ0a+geBjQDEbHJuHipcssgdKAHnpoJBYvmg93dwWGDPGBp4cHC7/uLgq/xqYm3Lx5C3fuKLFz125cuXKNTQz9LyDAH5vys9p5z34HxcPv+IlTSM/IYcxQ+NBrxfKlmBn6NPON5Me62vGx3qni7Q+Vf4EtxdtYqNGLwnXd6pXt6qR23s/K0PbZJnFgh6uOITu3kG3ICIQCNDe34A1aAwvm9Lhc4WVEadlebH33PchkbjAZTaANllXx0ZgePOU+19HvTFmHILFz9NgJZOYUAAITxE4iqJqbsWzpK3gxYl63ToGvkY9K96Bk23bIZTLoDHrAJEBSQgymTplss+yxGyjrMKBkmpGVx8TC2UUM5R0VEldGM4HobF+Of0+CkbWxEAp3ObRtOiYSaxLjWLLurI6zKyhrYNVnzrI9gzatliXbwAlPIHNDcqdscZaS1qaD+lIydnF2Znsi1LerwtTuoAgYeT3ybvkFRdj3+SEmEsFTg7B2dbyFKWtLRWHLmdrwdi6qjh5n4hL+zEzExkRafq8z5RwQUPzmCUkpbHuaDOovXnoRS379MlMwodCJAb23Hk0wGg0sEe/40wf4698+YgaYtpNzMtO6ywL2yVO2vBnllOVvxoFqJQq/hPhozJ41w6KC58/X4vyFixg7ZhTGjh1t+X7/wQrk5Bay8KOaq3hLHqRuXZcjdmeKh9Gly98ifpV5DZmtUQrGjxuL2ouX8Y9dZag6cpx5QvJ4wdOC8LNFCzB6VAC+OXceiWvS7lolAXKz0/FIwMNdFo8DBooGnZaRw+wMGVWS5AOHKvHZ5wfZyQk5D35RiU9u/NlnZiFsZghLCWR8Na2tSFmTwEB3ppp2S77W4cdv/uHfS/H+9j+z/XdaK3RRGaJQyFiotbRoIJNK0axWs/qJ9hGVymZWbjCx0evZvvhrr/4KLy2OeDBA5eRtxv6D5WzgFB68uFOpmpkpnT/3eYTOeBrlFV9g955Pcet2A+RyGQNEE0P7isQg1VYJcVGOBWWgAQmFyCsoYqW6j483Kx+oAFQoFHguPAwRC+bC28vTkrNuNzSCSpd/7zsApVLJRIJKkFu3brOSPy4m0rGgeBK9cvUaO1ioq/ueqRgZW3Ltw4YNtRhb63KfPl+/fgM7d5WhvKKKOfThw4dhfcpq+Pv7dWmx7C4UFD4cGJUQNTW18PMbDr8Rwy2h1fHcuKN7r/vue9TVfYfRox5hx5/dbUsPCChrYNYJlj5bJ92OWZVcRMc23QHqu/r1ci+dM2AeaM9PSczg7h6W9eBcudd76fY49ejW9/SyQa9PPex1PtXLcXfZvNfnUz+uk8S1uFB7qfuTxEF15jsoT+e5XSHVGjTPUdzLL+ZnkgbNEy8dgQ2aZ5M6Arv3FNk5NDQ0PQBPkXngsfHjev8UmTWwQfW8HwdmbX36M4H29be6m+wuHzft680d1f//I0xB6breuAsAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-star{width:17px!important;height:24px;background:url(../img/star.0be34808.svg) no-repeat;background-size:contain;margin-top:2px!important}.icon-star-light{width:24px!important;height:24px!important;background:url(../img/star-light.6e76f5ae.svg) no-repeat;background-size:contain}.icon-back{width:27px;height:27px;background:url(../img/back.edad3f01.svg) no-repeat;background-size:contain}.icon-left-arrow,.icon-right-arrow{width:27px;height:27px;background:url(../img/arrow-left-center.86fc7b0e.svg) no-repeat;background-size:contain}.icon-right-arrow{transform:rotate(180deg)}.icon-zoom-out{width:27px;height:27px;background:url(../img/zoom-out.ae61d4e8.svg) no-repeat;background-size:contain}.icon-zoom-in{width:27px;height:27px;background:url(../img/zoom-in.a713152c.svg) no-repeat;background-size:contain}.icon-refresh-left{width:27px;height:27px;background:url(../img/rotate-left.404a347f.svg) no-repeat;background-size:contain}.icon-refresh-right{width:27px;height:27px;background:url(../img/rotate-right.cc03df75.svg) no-repeat;background-size:contain}.icon-bottom-double{width:12px;height:12px;background:url(../img/double-arrow.8b484604.svg) no-repeat;background-size:contain}.icon-c2c{width:20px;height:20px;background:url(../img/c2c.6ee29d1a.svg) no-repeat;background-size:contain}.icon-group{margin-left:40px;width:14px;height:14px;background:url(../img/startGroup.2d105694.svg) no-repeat;background-size:contain}.icon-msg-del{width:20px;height:20px;background:url(../img/msg-del.beaf90c9.svg) no-repeat;background-size:contain}.icon-msg-forward{width:20px;height:20px;background:url(../img/msg-forward.6bf8c99c.svg) no-repeat;background-size:contain}.icon-msg-copy{width:20px;height:20px;background:url(../img/msg-copy.b87af0c3.svg) no-repeat;background-size:contain}.icon-msg-play{width:20px;height:20px;background:url(../img/msg-play.9de1e98a.svg) no-repeat;background-size:contain}.icon-msg-reply{width:20px;height:20px;background:url(../img/msg-reply.de9758fa.svg) no-repeat;background-size:contain}.icon-msg-replies{width:12px;height:12px;background:url(../img/replies.c74980f2.svg) no-repeat;background-size:contain}.icon-msg-resend,.icon-msg-revoke{width:20px;height:20px;background:url(../img/msg-revoke.085b123f.svg) no-repeat;background-size:contain}.icon-msg-resend{transform:rotate(180deg)}.icon-msg-quote{width:20px;height:20px;background:url(../img/msg-qnote.01b8f466.svg) no-repeat;background-size:contain}.icon-close-h5{width:20px;height:20px;background:url(../img/icon-close-h5.964d86cd.svg) no-repeat;background-size:contain}.icon-download-h5{width:20px;height:20px;background:url(../img/icon-download-h5.e6b75d4c.svg) no-repeat;background-size:contain}.icon-download{width:20px;height:20px;background:url(../img/icon-download.aa9d1895.svg) no-repeat;background-size:contain}.icon-error{width:12px;height:12px;border-radius:100%;background:#ff584c;font-style:normal;font-size:12px;color:#fff;display:inline-flex;justify-content:center;align-items:center}.icon-expand{width:20px;height:20px;background:url(../img/expand.3e25734d.svg) no-repeat;background-size:contain}.icon-collapse{width:20px;height:20px;background:url(../img/collapse.901de69a.svg) no-repeat;background-size:contain}.icon-close{display:inline-block;width:24px;height:24px;position:relative;border-radius:50%}.icon-close:after,.icon-close:before{content:"";position:absolute;background-color:#8f959e;height:16px;width:2px;top:50%;left:50%;margin-top:-8px;margin-left:-1px}.icon-close:before{transform:rotate(45deg)}.icon-close:after{transform:rotate(-45deg)}.plus{display:inline-block;width:30px;height:30px;position:relative}.plus:after,.plus:before{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus:after{transform:rotate(90deg);width:.5px}.adv[data-v-31ac0c3c]{margin-left:20px;color:#0093fe;display:flex;align-items:center;font-size:16px;border:1px solid #0093fe;padding:0 15px;border-radius:10px;background-color:rgba(0,147,254,.1);cursor:pointer}.adv[data-v-31ac0c3c]:hover{background-color:rgba(0,147,254,.2)}h1[data-v-31ac0c3c]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.read-receipt[data-v-103b5294]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:5;box-sizing:border-box;padding:20px;display:flex;flex-direction:column;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);width:368px;height:510px;background:#fff;border-radius:8px;overflow:hidden}.read-receipt-menu-open[data-v-103b5294]{left:calc(50% + 150px)}.read-receipt .header[data-v-103b5294]{display:flex;flex-direction:row;align-items:center;height:30px;padding:10px 0}.read-receipt .header-title[data-v-103b5294]{width:calc(100% - 40px);text-align:center;height:30px;font-family:PingFangSC-Medium;font-weight:500;font-size:16px;color:#333;line-height:30px}.read-receipt .header-close[data-v-103b5294]{width:20px}.read-receipt .header-close i[data-v-103b5294]{width:12px;height:12px}.read-receipt .header-back[data-v-103b5294]{width:20px}.read-receipt .body[data-v-103b5294]{padding:10px 0;width:100%;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.read-receipt .body .body-tab[data-v-103b5294]{padding:10px 0;width:100%;height:55px;display:flex;flex-direction:row;justify-content:space-around;border-bottom:1px solid #e8e8e9}.read-receipt .body .body-tab .tab-item[data-v-103b5294]{display:flex;flex-direction:column;justify-content:center;align-items:center}.read-receipt .body .body-tab .tab-item-title[data-v-103b5294]{height:20px;opacity:.8;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000}.read-receipt .body .body-tab .tab-item-count[data-v-103b5294]{height:35px;opacity:.8;font-family:DINAlternate-Bold;font-weight:700;font-size:30px;color:#000}.read-receipt .body .body-tab .tab-item-now .tab-item-count[data-v-103b5294],.read-receipt .body .body-tab .tab-item-now .tab-item-title[data-v-103b5294],.read-receipt .body .body-tab .tab-item-now[data-v-103b5294]{color:#679ce1}.read-receipt .body .body-list[data-v-103b5294]{width:100%;flex:1 1 auto;overflow-y:auto}.read-receipt .body .body-list-item[data-v-103b5294]{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center}.read-receipt .body .body-list-item .avatar[data-v-103b5294]{width:36px;height:36px;margin:10px 10px 10px 0;border-radius:10%}.read-receipt .body .body-list-item .name[data-v-103b5294]{width:calc(100% - 60px);height:20px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.read-receipt .body .body-list .more[data-v-103b5294]{text-align:center;color:rgba(0,0,0,.3);font-size:12px;padding:10px}[data-v-103b5294]::-webkit-scrollbar{width:4px;height:140px;background-color:transparent}[data-v-103b5294]::-webkit-scrollbar-track{border-radius:10px}[data-v-103b5294]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.read-receipt-H5[data-v-103b5294]{z-index:5;box-sizing:border-box;display:flex;flex-direction:column;transform:none;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border-radius:8px;overflow:hidden;position:fixed;top:0;left:0;width:100%;height:100%;padding:0}.read-receipt-H5 .header[data-v-103b5294]{padding-left:20px;padding-right:20px}.read-receipt-H5 .body[data-v-103b5294]{padding:0}.read-receipt-H5 .body .body-list[data-v-103b5294],.read-receipt-H5 .body .body-tab[data-v-103b5294]{width:100%}.read-receipt-H5 .body .body-list-item[data-v-103b5294]{background-color:#fff;padding-left:10px;display:flex;flex-direction:row}.read-receipt-H5 .body .body-list-item .avatar[data-v-103b5294]{border-radius:10%;padding:0;margin:10px}.read-receipt-H5 .body .body-list-item .name[data-v-103b5294]{width:calc(100% - 40px);height:56px;line-height:56px;border-bottom:1px solid #efefef}.read-receipt-H5 .body .body-tab[data-v-103b5294]{height:22px;padding:15px;width:calc(100% - 30px);border-bottom:none}.read-receipt-H5 .body .body-tab .tab-item[data-v-103b5294]{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;font-size:16px;height:22px;font-family:PingFangSC-Medium}.read-receipt-H5 .body .body-tab .tab-item-count[data-v-103b5294],.read-receipt-H5 .body .body-tab .tab-item-title[data-v-103b5294]{height:22px;font-size:15px;letter-spacing:0;text-align:center;line-height:20px;font-weight:400;color:#8d8d8d}.read-receipt-H5 .body .body-tab .tab-item-count[data-v-103b5294]{font-size:17px;font-weight:800}.read-receipt-H5 .body .body-tab .tab-item-now[data-v-103b5294]{color:#147aff;padding-bottom:3px;border-bottom:2.6px solid #147aff}.read-receipt-H5 .body .body-tab .tab-item-now .tab-item-count[data-v-103b5294],.read-receipt-H5 .body .body-tab .tab-item-now .tab-item-title[data-v-103b5294]{color:#147aff}.read-receipt-H5 .body .body-message[data-v-103b5294]{background-color:#f7f8fa}.read-receipt-H5 .body .body-message .message[data-v-103b5294]{margin:10px 0;background-color:#fff;padding:5px}.read-receipt-H5 .body .body-message .message .message-info span[data-v-103b5294]{padding-left:10px;padding-right:10px;width:94px;height:30px;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;text-align:center;line-height:30px}.read-receipt-H5 .body .body-message .message .message-cont[data-v-103b5294]{padding:0 10px 10px 10px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#111;letter-spacing:0;max-height:100px}.read-receipt-H5 .body .body-message .message .message-cont p[data-v-103b5294]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.read-receipt-H5 .body .body-message .message .message-cont-img[data-v-103b5294]{max-height:70px}.replies-item[data-v-c1a2ea1e]{padding:15px;width:auto}.replies-item-normal[data-v-c1a2ea1e]{padding:12.8px 15px 0 17px}.replies-item-normal .message-bubble[data-v-c1a2ea1e]{padding-bottom:0}.replies-item-normal .message-bubble .avatar[data-v-c1a2ea1e]{width:48px;height:48px;border-radius:8px}.replies-item-normal .message-bubble .message-area[data-v-c1a2ea1e]{padding:0 0 8px 0;margin:0 0 0 16px;border-bottom:.1px solid #dbdbdb}.replies-item-normal .message-bubble .message-area-title .name[data-v-c1a2ea1e]{font-size:14px;line-height:20px}.replies-item-normal .message-bubble .message-area-title .time[data-v-c1a2ea1e]{font-size:12px;line-height:18px}.replies-item-normal .message-bubble .message-area .content-in[data-v-c1a2ea1e],.replies-item-normal .message-bubble .message-area .content[data-v-c1a2ea1e]{background:inherit;border-radius:0;padding:0;line-height:22px}.replies-item .avatar[data-v-c1a2ea1e]{width:36px;height:36px;border-radius:5px}.replies-item .message-bubble[data-v-c1a2ea1e]{width:100%;display:flex;padding-bottom:5px}.replies-item .line-left[data-v-c1a2ea1e]{border:1px solid rgba(0,110,255,.5)}.replies-item .message-area[data-v-c1a2ea1e]{max-width:calc(100% - 54px);position:relative;display:flex;flex-direction:column;padding:0 8px;flex:1}.replies-item .message-area-title[data-v-c1a2ea1e]{display:flex;flex-direction:row;justify-content:space-between}.replies-item .message-area-title .name[data-v-c1a2ea1e],.replies-item .message-area-title .time[data-v-c1a2ea1e]{padding-bottom:4px;font-weight:400;font-size:.8rem;color:#999;letter-spacing:0}.replies-item .message-area-title .name[data-v-c1a2ea1e]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replies-item .message-area .content[data-v-c1a2ea1e]{padding:12px;font-weight:400;font-size:14px;color:#000;letter-spacing:0;word-wrap:break-word;word-break:break-all;width:-moz-fit-content;width:fit-content}.replies-item .message-area .content-in[data-v-c1a2ea1e]{background:#f2f2f2;border-radius:0 10px 10px 10px}.replies-item .message-area .content-in .message-img[data-v-c1a2ea1e],.replies-item .message-area .content-in .message-videoimg[data-v-c1a2ea1e]{width:inherit;height:inherit;max-height:100%;max-width:100%;max-height:300px}.replies-item .message-label[data-v-c1a2ea1e]{align-self:flex-end;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#b6b8ba;word-break:keep-all}.replies-item .message-file[data-v-c1a2ea1e]{flex:1;display:flex;cursor:pointer}.replies-item .message-file .message-file-content[data-v-c1a2ea1e]{flex:1;display:flex;flex-direction:column}.replies-item .message-audio[data-v-c1a2ea1e]{display:flex;align-items:center;position:relative;cursor:pointer;max-width:100%;overflow:hidden}.replies-item .message-audio .icon[data-v-c1a2ea1e]{margin:0 4px}.replies-item .message-audio audio[data-v-c1a2ea1e]{width:0;height:0}.replies-item .reserve[data-v-c1a2ea1e]{flex-direction:row-reverse}.replies[data-v-43000c27]{display:flex;flex-direction:column;box-sizing:border-box;width:400px;overflow-y:auto;border-radius:8px 0 0 8px;position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px;background:#fff;box-shadow:0 1px 10px 0 rgba(2,16,43,.15)}.replies .header[data-v-43000c27]{display:flex;flex-direction:row;align-items:center;height:30px;padding:10px 0}.replies .header-title[data-v-43000c27]{width:calc(100% - 40px);text-align:left;height:30px;font-family:PingFangSC-Medium;font-weight:500;font-size:16px;color:#333;line-height:30px}.replies .header-close[data-v-43000c27]{width:20px}.replies .header-close i[data-v-43000c27]{width:12px;height:12px}.replies .header-back[data-v-43000c27]{width:20px}.replies .body[data-v-43000c27]{padding:10px 0;width:100%;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.replies .body .body-message[data-v-43000c27]{border-bottom:1px dashed #e0e0e0}.replies .body .body-list[data-v-43000c27]{width:100%;flex:1 1 auto;overflow-y:auto}.replies .body .body-list-item[data-v-43000c27]{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center}.replies .body .body-list-item .replies-item[data-v-43000c27]{flex:1}.replies .body .body-list-item .avatar[data-v-43000c27]{width:36px;height:36px;margin:10px 10px 10px 0;border-radius:10%}.replies .body .body-list-item .name[data-v-43000c27]{width:calc(100% - 60px);height:20px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.replies .body .body-list .more[data-v-43000c27]{text-align:center;color:rgba(0,0,0,.3);font-size:12px;padding:10px}[data-v-43000c27]::-webkit-scrollbar{width:4px;height:140px;background-color:transparent}[data-v-43000c27]::-webkit-scrollbar-track{border-radius:10px}[data-v-43000c27]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.replies-H5[data-v-43000c27]{z-index:5;box-sizing:border-box;display:flex;flex-direction:column;transform:none;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border-radius:8px;overflow:hidden;position:fixed;top:0;left:0;width:100%;height:100%;padding:0}.replies-H5 .header[data-v-43000c27]{padding-left:20px;padding-right:20px}.replies-H5 .header-title[data-v-43000c27]{text-align:center}.replies-H5 .body[data-v-43000c27]{padding:0}.replies-H5 .body .body-list[data-v-43000c27],.replies-H5 .body .body-tab[data-v-43000c27]{width:100%}.replies-H5 .body .body-list-item[data-v-43000c27]{background-color:#fff;padding-left:10px;display:flex;flex-direction:row}.replies-H5 .body .body-list-item .avatar[data-v-43000c27]{border-radius:10%;padding:0;margin:10px}.replies-H5 .body .body-list-item .name[data-v-43000c27]{width:calc(100% - 40px);height:56px;line-height:56px;border-bottom:1px solid #efefef}.replies-H5 .body .body-tab[data-v-43000c27]{height:22px;padding:15px;width:calc(100% - 30px);border-bottom:none}.replies-H5 .body .body-tab .tab-item[data-v-43000c27]{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;font-size:16px;height:22px;font-family:PingFangSC-Medium}.replies-H5 .body .body-tab .tab-item-count[data-v-43000c27],.replies-H5 .body .body-tab .tab-item-title[data-v-43000c27]{height:22px;font-size:15px;letter-spacing:0;text-align:center;line-height:20px;font-weight:400;color:#8d8d8d}.replies-H5 .body .body-tab .tab-item-count[data-v-43000c27]{font-size:17px;font-weight:800}.replies-H5 .body .body-tab .tab-item-now[data-v-43000c27]{color:#147aff;padding-bottom:3px;border-bottom:2.6px solid #147aff}.replies-H5 .body .body-tab .tab-item-now .tab-item-count[data-v-43000c27],.replies-H5 .body .body-tab .tab-item-now .tab-item-title[data-v-43000c27]{color:#147aff}.replies-H5 .body .body-message .message[data-v-43000c27]{margin:10px 0;background-color:#fff;padding:5px}.replies-H5 .body .body-message .message .message-info span[data-v-43000c27]{padding-left:10px;padding-right:10px;width:94px;height:30px;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;text-align:center;line-height:30px}.replies-H5 .body .body-message .message .message-cont[data-v-43000c27]{padding:0 10px 10px 10px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#111;letter-spacing:0;max-height:100px}.replies-H5 .body .body-message .message .message-cont p[data-v-43000c27]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replies-H5 .body .body-message .message .message-cont-img[data-v-43000c27]{max-height:70px}.call[data-v-0003a24f]{display:inline-block;position:relative;cursor:pointer}.call-icon[data-v-0003a24f]{display:flex;flex-direction:row;justify-content:center;align-items:center}.call-icon .icon-down-arrow[data-v-0003a24f]{margin:12px 1px 0}.call-main[data-v-0003a24f]{position:absolute;z-index:5;background:#fff;top:37px;left:calc(-50% + 20px);border-radius:2px;display:flex;flex-direction:column;width:80px;border:.5px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06)}.call-main-video[data-v-0003a24f],.call-main-voice[data-v-0003a24f]{height:34px;text-align:center;font-size:13px;line-height:34px;align-items:center}.call-main-video[data-v-0003a24f]:hover,.call-main-voice[data-v-0003a24f]:hover{background:#dceafd}.call-main[data-v-0003a24f]:before{content:"";position:absolute;bottom:100%;left:calc(50% - 9px);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #e0e0e0}.call-main[data-v-0003a24f]:after{content:"";position:absolute;bottom:100%;left:calc(50% - 8px);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff}.call .uncall-dialog[data-v-0003a24f]{width:500px;height:300px;background:linear-gradient(180deg,#e9f3ff,#f4f8ff);border-radius:20px}.call .uncall-dialog-body a[data-v-0003a24f]{font-family:PingFangSC-Regular;font-weight:400;color:#006eff;letter-spacing:0}.call-kit-container[data-v-0003a24f]{position:fixed;left:calc(50% - 25rem);top:calc(50% - 18rem);width:50rem;height:36rem;border-radius:16px;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.call-kit-container-left[data-v-0003a24f]{left:calc(50% - 25rem + 150px)}.call-main-h5[data-v-0003a24f]{position:fixed;left:0;top:0;bottom:0;width:100vw;height:auto;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;padding:0;background:rgba(0,0,0,.5);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.call-main-h5 .call-main-content[data-v-0003a24f]{border-radius:12px 12px 0 0;background-color:#fff}.call-main-h5 .call-main-video[data-v-0003a24f],.call-main-h5 .call-main-voice[data-v-0003a24f]{height:30px;padding:10px;font-size:16px;border-bottom:1px solid #f7f8fa;display:flex;justify-content:center}.call-main-h5 .call-main-video i[data-v-0003a24f],.call-main-h5 .call-main-voice i[data-v-0003a24f]{margin-right:10px}.call-main-h5 footer[data-v-0003a24f]{border-top:10px solid #f7f8fa;height:30px;font-size:16px;padding:10px;text-align:center;align-items:center}.image-previewer[data-v-1e64c546]{position:fixed;z-index:12;width:100vw;height:100vh;background:rgba(0,0,0,.3);top:0;left:0;display:flex;flex-direction:column;align-items:center}.image-previewer .image-wrapper[data-v-1e64c546]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.image-previewer .image-list[data-v-1e64c546]{position:absolute;height:100%;left:0;padding:0;margin:0;display:flex;flex-direction:row;justify-content:center;align-content:center}.image-previewer .image-list .image-item[data-v-1e64c546]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-previewer .image-preview[data-v-1e64c546]{max-width:100%;max-height:100%;transition:transform .1s ease 0s;pointer-events:auto}.image-previewer .image-button[data-v-1e64c546]{position:absolute;cursor:pointer;width:40px;height:40px;border-radius:50%;top:calc(50% - 20px);background:hsla(0,0%,100%,.8)}.image-previewer .image-button-left[data-v-1e64c546]{left:10px}.image-previewer .image-button-right[data-v-1e64c546]{right:10px}.image-previewer .image-button .icon[data-v-1e64c546]{position:absolute;bottom:0;top:0;left:0;right:0;margin:auto;line-height:40px}.image-previewer .icon-close[data-v-1e64c546]{position:absolute;cursor:pointer;width:40px;height:40px;border-radius:50%;top:3%;right:3%;padding:6px;background:hsla(0,0%,100%,.8)}.image-previewer .icon-close[data-v-1e64c546]:after,.image-previewer .icon-close[data-v-1e64c546]:before{background-color:#444}.image-previewer-h5[data-v-1e64c546]{width:100%;height:100%;background:#000;display:flex;flex-direction:column}.actions-bar[data-v-1e64c546]{display:flex;justify-content:space-around;align-items:center;position:absolute;bottom:5%;padding:12px;border-radius:6px;background:hsla(0,0%,100%,.8)}.actions-bar .icon[data-v-1e64c546]{position:static;font-size:24px;cursor:pointer;margin:0 6px;width:27px;height:27px;margin:5px}.image-counter[data-v-1e64c546]{background:rgba(20,18,20,.53);padding:3px 5px;margin:5px;border-radius:3px;color:#fff}.TUI-conversation{&-item{&:hover{background:rgba(0,110,255,.1)}.left{&-notify,.num,.num-notify{background:red;color:#fff;background:red;color:#fff}}.content-header{.name,label{color:#000}.name{font-weight:400;letter-spacing:0}}.middle-box{span{font-family:PingFangSC-Regular}p,span{font-weight:400;color:#999}p{letter-spacing:0}&-at{color:#fb5059!important}}.content-footer{color:#999;.time{color:#bbb}}}.selected{background:rgba(0,110,255,.1)}.pinned{background:#eef0f3}.dialog{&-item{box-shadow:0 11px 20px 0 rgba(0,0,0,.3);border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.conversation-options{font-family:PingFangSC-Regular;font-weight:400;color:#4f4f4f;letter-spacing:0}}}.TUI-conversation{&-content{position:relative}&-item{padding:12px;display:flex;align-items:center;cursor:pointer;.left{position:relative;width:36px;height:36px;.num{right:0;min-width:10px;width:-moz-fit-content;width:fit-content;padding:0 2.5px;height:15px;border-radius:7.5px}.num,.num-notify{position:absolute;display:inline-block;top:-5px;font-size:10px;text-align:center;line-height:15px}.num-notify{right:-1px;width:.5rem;height:.5rem;border-radius:65%}.avatar{width:30px;height:30px;border-radius:5px}.online-status{box-sizing:border-box;position:absolute;width:10px;height:10px;left:24px;top:22px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%;&-online{background:#29cc85}&-offline{background:#a4a4a4}}}.content{padding-left:8px;justify-content:space-between}.content,.content-header{display:flex;flex:1}.content-header{flex-direction:column;label{font-size:14px}.name{width:110px;letter-spacing:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.middle-box{flex:1;display:flex;align-items:center;p,span{font-size:12px}p{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.content-footer,p{line-height:16px}.content-footer{display:flex;flex-direction:column;.time{font-size:12px;display:inline-block;max-width:75px;white-space:nowrap}img{width:16px;height:16px;margin-top:5px;align-self:flex-end}}}.dialog{position:absolute;z-index:5;padding:2px 20px;&-item{top:30px;left:164px;border-radius:8px}.conversation-options{padding:5px 0;height:17px;font-size:12px;line-height:17px}}}.list-item-h5{.dialog{left:auto;right:18px;padding:0;.conversation-options{padding:14px;font-size:16px}}.TUI-conversation-item{.content{.name{font-size:16px}}.time,p{font-size:14px}}}.num_n[data-v-79ffaaa2]{color:#fff;background:red;padding:0 5px;border-radius:20px}.bg_o[data-v-79ffaaa2]{background:#466afa}.bg_t[data-v-79ffaaa2]{background:#fff}.TUI-conversation[data-v-06ab06e3]{font-family:PingFangSC-Regular;font-weight:400;letter-spacing:0}.TUI-conversation-list[data-v-06ab06e3]{list-style:none}.TUI-conversation-item[data-v-102ec99c]:hover{background:rgba(0,110,255,.1)}.TUI-conversation-item .left .num-notify[data-v-102ec99c],.TUI-conversation-item .left .num[data-v-102ec99c]{background:red;color:#fff}.TUI-conversation-item .content-header label[data-v-102ec99c]{color:#000}.TUI-conversation-item .content-header .name[data-v-102ec99c]{font-weight:400;color:#000}.TUI-conversation-item .middle-box span[data-v-102ec99c]{font-family:PingFangSC-Regular;font-weight:400;color:#999}.TUI-conversation-item .middle-box p[data-v-102ec99c]{font-weight:400;color:#999;letter-spacing:0}.TUI-conversation-item .middle-box-at[data-v-102ec99c]{color:#fb5059!important}.TUI-conversation-item .content-footer[data-v-102ec99c]{color:#999}.TUI-conversation-item .content-footer .time[data-v-102ec99c]{color:#bbb}.TUI-conversation .selected[data-v-102ec99c]{background:rgba(0,110,255,.1)}.TUI-conversation .pinned[data-v-102ec99c]{background:#eef0f3}.TUI-conversation .dialog[data-v-102ec99c]{background:#fff}.TUI-conversation .dialog-item[data-v-102ec99c]{box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.TUI-conversation .dialog .conversation-options[data-v-102ec99c]{font-family:PingFangSC-Regular;font-weight:400;color:#4f4f4f;letter-spacing:0}.TUI-conversation-content[data-v-102ec99c]{position:relative}.TUI-conversation-item[data-v-102ec99c]{padding:12px;display:flex;align-items:center;cursor:pointer}.TUI-conversation-item .left[data-v-102ec99c]{position:relative;width:36px;height:36px}.TUI-conversation-item .left .num[data-v-102ec99c]{position:absolute;display:inline-block;right:0;top:-5px;min-width:10px;width:-moz-fit-content;width:fit-content;padding:0 2.5px;height:15px;font-size:10px;text-align:center;line-height:15px;border-radius:7.5px}.TUI-conversation-item .left .num-notify[data-v-102ec99c]{position:absolute;display:inline-block;right:-1px;top:-5px;width:.5rem;height:.5rem;font-size:10px;text-align:center;line-height:15px;border-radius:65%}.TUI-conversation-item .left .avatar[data-v-102ec99c]{width:30px;height:30px;border-radius:5px}.TUI-conversation-item .left .online-status[data-v-102ec99c]{box-sizing:border-box;position:absolute;width:10px;height:10px;left:24px;top:22px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%}.TUI-conversation-item .left .online-status-online[data-v-102ec99c]{background:#29cc85}.TUI-conversation-item .left .online-status-offline[data-v-102ec99c]{background:#a4a4a4}.TUI-conversation-item .content[data-v-102ec99c]{display:flex;flex:1;padding-left:8px;justify-content:space-between}.TUI-conversation-item .content-header[data-v-102ec99c]{flex:1;display:flex;flex-direction:column}.TUI-conversation-item .content-header label[data-v-102ec99c]{flex:1;font-size:14px}.TUI-conversation-item .content-header .name[data-v-102ec99c]{width:110px;letter-spacing:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TUI-conversation-item .middle-box[data-v-102ec99c]{flex:1;display:flex;align-items:center}.TUI-conversation-item .middle-box span[data-v-102ec99c]{font-size:12px}.TUI-conversation-item .middle-box p[data-v-102ec99c]{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px}.TUI-conversation-item .content-footer[data-v-102ec99c]{line-height:16px;display:flex;flex-direction:column}.TUI-conversation-item .content-footer .time[data-v-102ec99c]{font-size:12px;line-height:16px;display:inline-block;max-width:75px;white-space:nowrap}.TUI-conversation-item .content-footer img[data-v-102ec99c]{width:16px;height:16px;margin-top:5px;align-self:flex-end}.TUI-conversation .dialog[data-v-102ec99c]{position:absolute;z-index:5;padding:2px 20px}.TUI-conversation .dialog-item[data-v-102ec99c]{top:30px;left:164px;border-radius:8px}.TUI-conversation .dialog .conversation-options[data-v-102ec99c]{padding:5px 0;height:17px;font-size:12px;line-height:17px}.list-item-h5 .dialog[data-v-102ec99c]{left:auto;right:18px;padding:0}.list-item-h5 .dialog .conversation-options[data-v-102ec99c]{padding:14px;font-size:16px}.list-item-h5 .TUI-conversation-item .content .name[data-v-102ec99c]{font-size:16px}.list-item-h5 .TUI-conversation-item .content .middle-box p[data-v-102ec99c],.list-item-h5 .TUI-conversation-item .time[data-v-102ec99c]{font-size:14px}.TUI-conversation[data-v-c6fe208e]{background:#fff}.TUI-conversation header[data-v-c6fe208e]{background:#fff;border-bottom:.06rem solid #f4f5f9}.TUI-conversation header h1[data-v-c6fe208e]{font-weight:400;color:#000}.TUI-conversation header .more[data-v-c6fe208e]{background:#f3f3f3}.TUI-conversation .network p[data-v-c6fe208e]{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}input[data-v-c6fe208e]{border:1px solid #ddd}.TUI-conversation[data-v-c6fe208e]{position:relative;width:100%;height:100%;overflow-y:auto;box-sizing:border-box}.TUI-conversation header[data-v-c6fe208e]{position:sticky;top:0;z-index:1;padding:12px;display:flex;align-items:center}.TUI-conversation header h1[data-v-c6fe208e]{padding:0 8px;font-size:14px}.TUI-conversation header .more[data-v-c6fe208e]{display:inline-block;width:28px;height:28px;border-radius:4px}.TUI-conversation-list[data-v-c6fe208e]{flex:1;position:absolute;width:100%}.TUI-conversation .network[data-v-c6fe208e]{padding:0 12px;display:flex;align-items:center}.TUI-conversation .network p[data-v-c6fe208e]{padding:5px;font-size:12px;line-height:22px}input[data-v-c6fe208e]{box-sizing:border-box;width:100%;height:24px;border-radius:5px;padding:0 10px}.checkedPro[data-v-c6fe208e]{height:30px;padding:0 20px;line-height:30px;border-radius:10px;margin-top:10px;background-color:#fff;color:#000;cursor:pointer}.checkedPro[data-v-c6fe208e]:hover{opacity:.8}.expert[data-v-c6fe208e]{background-color:#466afb!important;color:#fff!important}.play-or-mute-img[data-v-c6fe208e]{width:25px;height:25px;cursor:pointer;margin-right:10px}.edit-header h1[data-v-25fbecd0]{font-family:PingFangSC-Medium;font-weight:500;color:#333}.edit-list-item-content label[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#333}.edit-list-item-content input[data-v-25fbecd0]{border:1px solid rgba(131,137,153,.4);font-family:PingFangSC-Regular;font-weight:400;color:#596174}.edit-list-item-content .gender-list-item .gender[data-v-25fbecd0]{border:1px solid rgba(131,137,153,.4)}.edit-list-item-content .gender-list-item .gender-selected[data-v-25fbecd0]{border:6px solid #147aff}.btn-default[data-v-25fbecd0]{background:#fff;border:1px solid #ddd}.btn-submit[data-v-25fbecd0]{background:#3370ff;border:0 solid #2f80ed;color:#fff}.selected[data-v-25fbecd0]{border:1px solid #006eff!important;color:#006eff}.edit-h5[data-v-25fbecd0]{background:#efefef}.edit-h5 .edit-header[data-v-25fbecd0]{background:#fff}.edit-h5 .edit-list-item[data-v-25fbecd0]{background:#fff;border-bottom:1px solid #eee}.edit-h5-header h1[data-v-25fbecd0]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.edit-h5-header .close[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.edit-h5-main .list-item span[data-v-25fbecd0]{border:1px solid #ddd;font-family:PingFangSC-Regular;font-weight:400;letter-spacing:0}.edit-h5-main .input input[data-v-25fbecd0],.edit-h5-main .input textarea[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#000;letter-spacing:0;background:#efefef}.edit-h5-main sub[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#888;letter-spacing:0}.edit-h5-footer .btn[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#fff;letter-spacing:0}.edit-h5-footer .btn[data-v-25fbecd0]:disabled{opacity:.3}.mask[data-v-25fbecd0]{background:rgba(0,0,0,.5)}.mask-main[data-v-25fbecd0]{background:#fff}.edit[data-v-25fbecd0]{flex:1;display:flex;flex-direction:column}.edit-header[data-v-25fbecd0]{position:relative;display:flex}.edit-header h1[data-v-25fbecd0]{font-size:16px;line-height:30px}.edit-list[data-v-25fbecd0]{padding:20px 0}.edit-list-item[data-v-25fbecd0]{display:flex;align-items:center;padding:10px 0}.edit-list-item-content[data-v-25fbecd0]{flex:1;display:flex;align-items:center}.edit-list-item-content .avatar-list[data-v-25fbecd0]{display:flex;align-items:center}.edit-list-item-content .avatar-list-item[data-v-25fbecd0]{padding-right:20px}.edit-list-item-content img[data-v-25fbecd0]{box-sizing:border-box;width:36px;height:36px}.edit-list-item-content label[data-v-25fbecd0]{width:60px;padding-right:20px;font-size:14px}.edit-list-item-content input[data-v-25fbecd0]{flex:1;border-radius:2px;padding:6px 10px;font-size:14px}.edit-list-item-content span[data-v-25fbecd0]{flex:1;width:0;padding:6px 10px;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edit-list-item-content .gender-list[data-v-25fbecd0]{display:flex;align-items:center}.edit-list-item-content .gender-list-item[data-v-25fbecd0]{display:flex;align-items:center;padding-right:24px}.edit-list-item-content .gender-list-item[data-v-25fbecd0]:last-child{padding:0}.edit-list-item-content .gender-list-item .gender[data-v-25fbecd0]{box-sizing:border-box;width:16px;height:16px;border-radius:45px}.edit-list-item-content .gender-list-item .name[data-v-25fbecd0]{padding-left:8px}.edit-footer[data-v-25fbecd0]{display:flex;justify-content:flex-end}.btn-default[data-v-25fbecd0],.btn-submit[data-v-25fbecd0]{width:82px;height:32px;border-radius:4px}.btn-submit[data-v-25fbecd0]{margin-left:12px}.edit-h5[data-v-25fbecd0]{position:fixed;width:100%;height:100%;z-index:1}.edit-h5 .edit-header[data-v-25fbecd0]{justify-content:center;align-items:center;padding:15px 18px}.edit-h5 .edit-header .icon[data-v-25fbecd0]{position:absolute;left:18px}.edit-h5 .edit-header-title[data-v-25fbecd0]{color:#000}.edit-h5 .edit-list[data-v-25fbecd0]{padding:0}.edit-h5 .edit-list-item[data-v-25fbecd0]{padding:10px 18px}.edit-h5 .edit-list-item-content label[data-v-25fbecd0]{width:auto;font-size:16px;color:#000}.edit-h5 .edit-list-item-content span[data-v-25fbecd0]{text-align:end;font-size:16px;color:rgba(0,0,0,.6)}.edit-h5 .edit-list-item-content span img[data-v-25fbecd0]{width:60px;height:60px}.edit-h5 .edit-list .space-top[data-v-25fbecd0]{margin-top:12px}.edit-h5-header[data-v-25fbecd0]{display:flex;justify-content:space-between}.edit-h5-header h1[data-v-25fbecd0]{font-size:20px;line-height:28px}.edit-h5-header .close[data-v-25fbecd0]{font-size:18px;line-height:27px}.edit-h5-main[data-v-25fbecd0]{padding:23px 0}.edit-h5-main .list[data-v-25fbecd0]{display:flex;align-items:center}.edit-h5-main .list-item[data-v-25fbecd0]{padding-right:20px}.edit-h5-main .list-item[data-v-25fbecd0]:last-child{padding:0}.edit-h5-main .list-item img[data-v-25fbecd0]{width:36px;height:36px}.edit-h5-main .list-item span[data-v-25fbecd0]{border-radius:9.4px;padding:5px 45px;font-size:16px;text-align:center;line-height:25px}.edit-h5-main .input[data-v-25fbecd0]{display:flex;padding-bottom:10px}.edit-h5-main .input input[data-v-25fbecd0],.edit-h5-main .input textarea[data-v-25fbecd0]{flex:1;padding:10px 18px;border:none;font-size:16px;line-height:27px}.edit-h5-main .input .datePicker[data-v-25fbecd0]{flex:1}.edit-h5-main .input textarea[data-v-25fbecd0]{resize:none}.edit-h5-main sub[data-v-25fbecd0]{font-size:15px;line-height:23px}.edit-h5-footer[data-v-25fbecd0]{display:flex}.edit-h5-footer .btn[data-v-25fbecd0]{height:auto;flex:1;margin:0;font-size:20px;line-height:27px;padding:13px 0}.mask[data-v-25fbecd0]{position:fixed;width:100%;height:100%;display:flex;align-items:flex-end}.mask-main[data-v-25fbecd0]{flex:1;padding:23px;border-radius:12px 12px 0 0}.TUI-profile[data-v-bc4a483e]{background:#fff}.TUI-profile .profile-header[data-v-bc4a483e]{border-bottom:1px solid #ddd}.TUI-profile .profile-main-item span[data-v-bc4a483e]{font-family:PingFangSC-Regular;font-weight:400;color:#000;letter-spacing:0}.TUI-profile .profile-main-name[data-v-bc4a483e]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUI-profile .profile-main-label[data-v-bc4a483e]{font-family:PingFangSC-Regular;font-weight:400;color:#999;letter-spacing:0}.TUI-profile-h5 .profile-main span[data-v-bc4a483e]{color:#999}.TUI-profile .profile[data-v-bc4a483e]{display:flex;flex-direction:column}.TUI-profile .profile-header[data-v-bc4a483e]{flex:1;display:flex}.TUI-profile .profile-header .profile-main[data-v-bc4a483e]{padding-top:0;padding-left:8px;padding-bottom:8px}.TUI-profile .profile-header .profile-main-item[data-v-bc4a483e]{padding-top:0}.TUI-profile .profile-header .profile-main-item[data-v-bc4a483e]:first-child{justify-content:space-between}.TUI-profile .profile-avatar .avatar[data-v-bc4a483e]{width:36px;height:36px;border-radius:5px}.TUI-profile .profile-main[data-v-bc4a483e]{flex:1;display:flex;flex-direction:column;padding-top:6px}.TUI-profile .profile-main-item[data-v-bc4a483e]{display:flex;align-items:center;padding:6px 0}.TUI-profile .profile-main-item span[data-v-bc4a483e]{padding:0 4px}.TUI-profile .profile-main-item span[data-v-bc4a483e],.TUI-profile .profile-main-name[data-v-bc4a483e]{font-size:14px;flex:1;width:0;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.TUI-profile .profile-main-label[data-v-bc4a483e]{font-size:14px;word-break:keep-all}.TUI-profile-h5 .profile[data-v-bc4a483e]{padding:14px 18px;flex-direction:row;align-items:center}.TUI-profile-h5 .profile-header[data-v-bc4a483e]{border:none}.TUI-profile-h5 .profile-avatar .avatar[data-v-bc4a483e]{width:78px;height:78px;border-radius:8px}.TUI-profile-h5 .profile-main[data-v-bc4a483e]{padding-left:16px!important}.TUI-group[data-v-f2d329c8]{position:relative;width:100%;height:100%;background:#fff;box-sizing:border-box;font-weight:400;display:flex}.list li[data-v-4cbbc4fe]{font-weight:400;color:#000;letter-spacing:0}.icon-warn[data-v-4cbbc4fe]{background:coral;color:#fff;font-style:normal}.btn[data-v-4cbbc4fe]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-4cbbc4fe]{border:1px solid #ddd;color:#666}.btn-default[data-v-4cbbc4fe]{background:#006eff;border:1px solid #006eff}.btn[data-v-4cbbc4fe]:disabled{opacity:.3}.message-system[data-v-4cbbc4fe]{flex:1}.list[data-v-4cbbc4fe]{flex:1;height:100%;overflow-y:auto;min-width:600px}.list li[data-v-4cbbc4fe]{display:flex;align-items:center;position:relative;padding:10px 20px;font-size:14px}.list li .icon[data-v-4cbbc4fe]{margin-right:10px;border-radius:100%}.list li .message-label[data-v-4cbbc4fe]{max-width:50px}.list li .btn-box[data-v-4cbbc4fe]{padding:0 12px}.icon[data-v-4cbbc4fe]{display:inline-block;width:16px;height:16px}.icon-warn[data-v-4cbbc4fe]{border-radius:50%;display:flex;justify-content:center;align-items:center}.btn[data-v-4cbbc4fe]{padding:2px 10px;margin-right:12px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.btn[data-v-4cbbc4fe]:last-child{margin-right:0}.message-system-h5 .list[data-v-4cbbc4fe]{width:100%;min-width:0}.message-system-h5 .list li span[data-v-4cbbc4fe]{flex:1;width:0;word-break:break-all}.message-system-h5 .list .btn-box[data-v-4cbbc4fe]{padding-right:0}.TUI-contact[data-v-5f069d6a]{background:#fff;font-weight:400}.TUI-contact-left[data-v-5f069d6a]{border-right:1px solid #f4f5f9}.TUI-contact-left-header[data-v-5f069d6a]{background:#fff;border-bottom:1px solid #f4f5f9}.TUI-contact-column-item .num[data-v-5f069d6a]{background:#ff584c;font-weight:400;color:#fff}.TUI-contact-column-item header main[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-main-info-header[data-v-5f069d6a]{border-bottom:1px solid #ddd}.TUI-contact-main-info-header .list h1[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-main-info-header .list li[data-v-5f069d6a]{font-weight:400;color:#999}.TUI-contact-main-info-main label[data-v-5f069d6a]{font-family:PingFangSC-Regular;font-weight:400;color:#666}.TUI-contact-main-info-main textarea[data-v-5f069d6a]{background:#fff;border:1px solid #ddd;font-family:PingFangSC-Regular;font-weight:400;color:#999;letter-spacing:0}.TUI-contact-main-info-footer p[data-v-5f069d6a]{opacity:.3}.TUI-contact-system-header h1[data-v-5f069d6a]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUI-contact-list-item[data-v-5f069d6a]:hover{background:#edf0f5}.TUI-contact-list-item .left .num[data-v-5f069d6a]{background:red;color:#fff}.TUI-contact-list-item .content ul li[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-list-item .content .type[data-v-5f069d6a]{font-weight:400;color:rgba(0,0,0,.3);border:1px solid rgba(0,0,0,.3)}.selected[data-v-5f069d6a]{background:#edf0f5}.reduce[data-v-5f069d6a]{border:1px solid #ddd}.reduce[data-v-5f069d6a]:before{background:#ddd}.btn[data-v-5f069d6a]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-5f069d6a]{border:1px solid #ddd;color:#666}.btn-default[data-v-5f069d6a]{background:#006eff;border:1px solid #006eff}.btn[data-v-5f069d6a]:disabled{opacity:.3}input[data-v-5f069d6a]{border:1px solid #ddd}input[data-v-5f069d6a]:focus{border:1px solid #006eff}.search-box .search-cancel[data-v-5f069d6a],.search-box h1[data-v-5f069d6a]{font-weight:400;color:#000;letter-spacing:0}.TUI-contact[data-v-5f069d6a]{position:relative;width:100%;height:100%;box-sizing:border-box;display:flex;padding:12px 0}.TUI-contact-left[data-v-5f069d6a]{position:relative;flex:1;min-width:285px;flex:0 0 24%;overflow-y:auto}.TUI-contact-left-header[data-v-5f069d6a]{position:sticky;top:0;z-index:1;padding:0 12px 12px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-left-header input[data-v-5f069d6a]{flex:1;margin-right:20px}.TUI-contact-column[data-v-5f069d6a]{flex:1;display:flex;flex-direction:column;position:absolute;width:100%}.TUI-contact-column-item .num[data-v-5f069d6a]{width:14px;height:14px;border-radius:100%;font-size:12px;display:flex;justify-content:center;align-items:center}.TUI-contact-column-item header[data-v-5f069d6a]{display:flex;align-items:center;padding:10px 15px}.TUI-contact-column-item header main[data-v-5f069d6a]{flex:1;padding-left:6px;display:flex;justify-content:space-between;font-size:14px;line-height:14px}.TUI-contact-main[data-v-5f069d6a]{flex:1;display:flex;position:relative;width:100%;height:100%}.TUI-contact-main-info[data-v-5f069d6a]{flex:1;padding:2rem 3rem;display:flex;flex-direction:column}.TUI-contact-main-info-header[data-v-5f069d6a]{display:flex;justify-content:space-between;padding-bottom:15px}.TUI-contact-main-info-header .list h1[data-v-5f069d6a]{font-size:24px;padding-bottom:10px}.TUI-contact-main-info-header .list li[data-v-5f069d6a]{font-size:16px;padding:6px 0}.TUI-contact-main-info-header .avatar[data-v-5f069d6a]{width:5rem;height:5rem}.TUI-contact-main-info-main[data-v-5f069d6a]{padding-top:1.25rem;display:flex;flex-direction:column}.TUI-contact-main-info-main label[data-v-5f069d6a]{font-size:.88rem;line-height:1.25rem;padding-bottom:.63rem}.TUI-contact-main-info-main textarea[data-v-5f069d6a]{resize:none;width:100%;box-sizing:border-box;height:5rem;padding:.69rem .88rem;font-size:.88rem;line-height:1.25rem}.TUI-contact-main-info-footer[data-v-5f069d6a]{padding-top:1.25rem;display:flex;justify-content:center}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]{margin:0 20px}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]:first-child{margin-left:0}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]:last-child{margin-right:0}.TUI-contact-main-created li[data-v-5f069d6a]{display:flex;align-items:center}.TUI-contact-main-created li input[data-v-5f069d6a]{margin-right:20px}.TUI-contact-system[data-v-5f069d6a]{display:flex;flex-direction:column;width:100%;height:100%;position:absolute;overflow-y:auto}.TUI-contact-system-header[data-v-5f069d6a]{padding:20px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-system-header h1[data-v-5f069d6a]{font-size:16px;line-height:24px}.TUI-contact-list[data-v-5f069d6a]{flex:1;width:100%;list-style:none}.TUI-contact-list-item[data-v-5f069d6a]{padding:12px 15px;position:relative;display:flex;align-items:center}.TUI-contact-list-item label[data-v-5f069d6a]{font-size:14px}.TUI-contact-list-item:hover .icon-close[data-v-5f069d6a]{display:inline-block}.TUI-contact-list-item .left[data-v-5f069d6a]{position:relative;width:36px;height:36px}.TUI-contact-list-item .left .num[data-v-5f069d6a]{position:absolute;display:inline-block;right:-8px;top:-8px;width:20px;height:20px;font-size:10px;text-align:center;line-height:20px;border-radius:50%}.TUI-contact-list-item .left .avatar[data-v-5f069d6a]{width:100%;border-radius:5px}.TUI-contact-list-item .left .online-status[data-v-5f069d6a]{box-sizing:border-box;position:absolute;width:11px;height:11px;left:30px;top:27px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%}.TUI-contact-list-item .left .online-status-online[data-v-5f069d6a]{background:#29cc85}.TUI-contact-list-item .left .online-status-offline[data-v-5f069d6a]{background:#a4a4a4}.TUI-contact-list-item .content[data-v-5f069d6a]{flex:1;padding-left:8px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-list-item .content ul[data-v-5f069d6a]{flex:1;display:flex;flex-direction:column}.TUI-contact-list-item .content ul li[data-v-5f069d6a]{flex:1;display:flex;align-items:center;font-size:14px;line-height:16px}.TUI-contact-list-item .content ul li span[data-v-5f069d6a]{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TUI-contact-list-item .content ul .name[data-v-5f069d6a]{padding-bottom:2px}.TUI-contact-list-item .content .type[data-v-5f069d6a]{padding:0 4px;line-height:14px;font-size:12px;border-radius:1px}.TUI-contact-list .not-aside[data-v-5f069d6a]{padding-left:40px;display:flex;justify-content:space-between}.reduce[data-v-5f069d6a]{position:relative;display:inline-block;width:36px;height:36px}.reduce[data-v-5f069d6a]:before{position:absolute;content:"";width:50%;height:1px;top:0;bottom:0;left:0;right:0;margin:auto}.center[data-v-5f069d6a]{display:flex;justify-content:center}.btn[data-v-5f069d6a]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}input[data-v-5f069d6a]{box-sizing:border-box;border-radius:5px;padding:10px}.search[data-v-5f069d6a]{flex:1;display:flex}.search-box[data-v-5f069d6a]{flex:1;display:flex;align-items:center}.search-box h1[data-v-5f069d6a]{padding:2px 8px;font-size:14px}.search-box .input-box[data-v-5f069d6a]{display:flex;position:relative;flex:1}.search-box .input-box input[data-v-5f069d6a]{flex:1;margin-right:0}.search-box .input-box .icon[data-v-5f069d6a]{position:absolute;right:10px;top:0;bottom:0;margin:auto 0}.search-box .search-cancel[data-v-5f069d6a]{padding-left:10px;font-size:12px;line-height:18px}.TUI-contact-H5[data-v-5f069d6a]{height:100%;overflow-y:auto}.TUI-contact-H5 .TUI-contact-left[data-v-5f069d6a]{min-width:0;width:100%;height:100%;flex:1;position:static}.TUI-contact-H5 .TUI-contact-main[data-v-5f069d6a]{position:fixed;top:0;left:0;z-index:2;flex-direction:column;background:#efefef}.TUI-contact-H5 .TUI-contact-main-h5-title[data-v-5f069d6a]{display:flex;align-items:center;padding:12px 16px;background:#fff;justify-content:center;position:relative}.TUI-contact-H5 .TUI-contact-main-h5-title .icon[data-v-5f069d6a]{position:absolute;left:16px}.TUI-contact-H5 .TUI-contact-main-h5-title h1[data-v-5f069d6a]{flex:1;width:0;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;padding:0 30px;font-weight:500;font-size:16px;text-align:center}.TUI-contact-H5 .TUI-contact-main-info[data-v-5f069d6a]{padding:12px 0}.TUI-contact-H5 .TUI-contact-main-info-header[data-v-5f069d6a]{background:#fff;padding:12px 16px;flex-direction:row-reverse;justify-content:flex-end;align-items:center}.TUI-contact-H5 .TUI-contact-main-info-header .list[data-v-5f069d6a]{padding-left:12px}.TUI-contact-H5 .TUI-contact-main-info-main[data-v-5f069d6a]{background:#fff;padding:12px 16px}.TUI-contact-H5 .TUI-contact-main-info-main textarea[data-v-5f069d6a]{background:#efefef}.TUI-contact-H5 .TUI-contact-main-info-footer[data-v-5f069d6a]{padding-top:12px;flex-direction:column}.TUI-contact-H5 .TUI-contact-main-info-footer p[data-v-5f069d6a]{text-align:center;background:#fff;padding:10px 0;opacity:1}.TUI-contact-H5 .TUI-contact-main-info-footer .btn[data-v-5f069d6a]{flex:1;background:#fff;border-bottom:1px solid #eee;margin:0;padding:15px 0}.TUI-contact-H5 .TUI-contact-system[data-v-5f069d6a]{flex:1;position:static}.TUI-contact-H5 .TUI-contact-list[data-v-5f069d6a]{position:static;overflow-y:scroll}.TUI-contact-H5 .btn-cancel[data-v-5f069d6a]{color:#ff584c}.TUI-contact-H5 .btn-default[data-v-5f069d6a]{color:#006eff}.TUI-contact-H5 .btn[data-v-5f069d6a]:disabled{opacity:.3}.group-list-item[data-v-279f8f91],.group[data-v-279f8f91]{background:#fff}.group-list-item label[data-v-279f8f91]{font-family:PingFangSC-Regular;font-weight:400;color:#333}.group-list input[data-v-279f8f91]{border:1px solid rgba(131,137,153,.4);font-weight:400;color:#333}.group-list .select a[data-v-279f8f91]{color:#006eff}.group-list .select-item[data-v-279f8f91]{border:1px solid rgba(131,137,153,.4)}.group-list .select-item-header .left[data-v-279f8f91]{font-weight:500;color:#333}.group-list .select-item-detail[data-v-279f8f91]{color:#4f4f4f}.group-list .select .selected[data-v-279f8f91]{border:1px solid #006eff}.group-list-edit[data-v-279f8f91],.group-profile-footer[data-v-279f8f91]{background:#fff}.group-h5[data-v-279f8f91]{background:#f7f8fa}.group-h5-list-item-introduction[data-v-279f8f91]{font-family:PingFangSC-Regular;font-weight:400;color:#888}.group-h5-list-item-introduction a[data-v-279f8f91]{color:#006eff}header[data-v-279f8f91]{background:#fff}header h1[data-v-279f8f91]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.btn-default[data-v-279f8f91]{background:#fff;border:1px solid #ddd;font-family:PingFangSC-Medium;font-weight:500;color:#828282}.btn-submit[data-v-279f8f91]{background:#3370ff;border:0 solid #2f80ed;font-family:PingFangSC-Regular;font-weight:400;color:#fff;letter-spacing:0}.btn-submit[data-v-279f8f91]:disabled{background:#e8e8e9;border:1px solid #ddd;color:#fff}.group[data-v-279f8f91]{padding:30px;box-sizing:border-box;width:750px;max-height:calc(100vh - 100px);overflow-y:auto;border-radius:10px}.group-list-item[data-v-279f8f91]{display:flex;padding:10px 0}.group-list-item label[data-v-279f8f91]{width:84px;height:20px;font-size:14px}.group-list input[data-v-279f8f91]{box-sizing:border-box;flex:1;padding:6px 10px;border-radius:2px;font-size:14px;line-height:20px}.group-list .select[data-v-279f8f91]{flex:1}.group-list .select-item[data-v-279f8f91]{padding:12px 20px;border-radius:2px;margin-bottom:20px}.group-list .select-item-header[data-v-279f8f91]{display:flex;justify-content:space-between}.group-list .select-item-header .left[data-v-279f8f91]{display:flex;align-items:center;font-size:14px}.group-list .select-item-header .left .icon[data-v-279f8f91]{margin-right:12px}.group-list .select-item-header .icon-selected[data-v-279f8f91]{position:relative;left:12px;top:-4px}.group-list .select-item-detail[data-v-279f8f91]{padding-top:6px;font-size:14px}header[data-v-279f8f91]{display:flex;justify-content:space-between;align-items:center}header h1[data-v-279f8f91]{padding-bottom:20px;font-size:18px;line-height:30px}header .icon icon-close[data-v-279f8f91]{left:10px;top:-10px}.group-profile-footer[data-v-279f8f91]{padding-top:10px;display:flex;justify-content:flex-end}.btn-default[data-v-279f8f91],.btn-submit[data-v-279f8f91]{width:82px;height:32px;border-radius:4px;font-size:14px}.btn-submit[data-v-279f8f91]{margin-left:10px}.group-h5[data-v-279f8f91]{width:auto;max-height:none;height:100%;border-radius:0;padding:0}.group-h5 .group-box[data-v-279f8f91]{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.group-h5 .group-box header[data-v-279f8f91]{flex-direction:row-reverse;align-items:center;justify-content:center;position:relative;padding:16px 18px}.group-h5 .group-box header h1[data-v-279f8f91]{padding-bottom:0}.group-h5 .group-box header .icon[data-v-279f8f91]{position:absolute;left:18px}.group-h5 .group-box .group-list[data-v-279f8f91]{flex:1;overflow-y:auto;display:flex;flex-direction:column-reverse;justify-content:flex-end;margin-top:12px}.group-h5 .group-box .group-list-item[data-v-279f8f91]{padding:14px 18px;border-bottom:1px solid #e5e5e5}.group-h5 .group-box .group-list-edit[data-v-279f8f91]{display:flex;align-items:flex-start;padding:12px 18px}.group-h5 .group-box .group-list-edit input[data-v-279f8f91]{width:100%;flex:0}.group-h5 .group-box .group-profile-footer[data-v-279f8f91]{box-shadow:inset 0 1px 0 0 #eee;padding:12px 18px}.group-h5-list-item-content[data-v-279f8f91]{flex:1;display:flex;align-items:center;overflow:hidden}.group-h5-list-item-content .content[data-v-279f8f91]{width:0;flex:1;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:end}.group-h5-list-item-introduction[data-v-279f8f91]{padding:12px 18px;font-size:14px;line-height:20px}.TUI-search header h1[data-v-3733d0d4]{font-weight:400;color:#000}.TUI-search header .more[data-v-3733d0d4]{background:#f3f3f3}input[data-v-3733d0d4]{border:1px solid #ddd}.TUI-search-H5 header ul[data-v-3733d0d4]{background:#fff;border:2px solid #e0e0e0;box-shadow:0 3px 7px 0 rgba(0,0,0,.06)}.TUI-search-H5 header ul h1[data-v-3733d0d4]{font-family:PingFangSC-Regular;font-weight:400;color:#444;letter-spacing:0}.TUI-search header[data-v-3733d0d4]{display:flex;align-items:center}.TUI-search header h1[data-v-3733d0d4]{padding:0 8px;font-size:14px}.TUI-search header .more[data-v-3733d0d4]{display:inline-block;width:28px;height:28px;border-radius:4px}.TUI-search header ul[data-v-3733d0d4],.TUI-search header ul li[data-v-3733d0d4]{display:flex;align-items:center}input[data-v-3733d0d4]{box-sizing:border-box;width:100%;height:24px;border-radius:5px;padding:0 10px}.TUI-search-H5 header[data-v-3733d0d4]{display:flex;align-items:center;position:relative}.TUI-search-H5 header h1[data-v-3733d0d4]{font-size:16px}.TUI-search-H5 header ul[data-v-3733d0d4]{flex-direction:column;top:100%;z-index:3;position:absolute;padding:7px 9px}.TUI-search-H5 header ul h1[data-v-3733d0d4]{padding:7px;text-align:center;word-break:keep-all}.TUI-search-H5 header ul .icon-group[data-v-3733d0d4]{margin-left:0} \ No newline at end of file +body,dd,div,dl,dt,h1,h2,h3,h4,input,li,ol,p,textarea,ul{margin:0;padding:0;font-style:normal;font-family:PingFangSC-Regular}.icon{margin:0}.icon-global{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAB5BJREFUWEeVV31sXWUZ/z3vue1dGa0b6gh+DXWo1Kxp73tOb+umqxHEuDAQvNGo0xg+gkTDZBE/EIkTM9FtMAN/AGpimBKsCkPc4hRT55Z+nPO2UkgZs1oQxfgBi121a+8572Oe4/s2x7vboSe5ub09532e3/N7fs/HISx/EQD5WHmkp6fnVUEQRMx8CRGFzHw+gJe5Z2aJaJqZR5n5F8xsJiYmnnemFQB2n9O8iYNm15Lznp6etUqpmwC8B8BaAEHDAQEoDvz/MwC/I6JDWZbtmpiYeBbAsiBOA1Cr1YLBwcFsw4YN7QsLC9uZeZuLVPx6Z2JQLjl/ioiGrLWGiHoBdAE4190/wcx729ra9hw9evSkt10MoBGAGLZRFL0WwPestW8vOJVzjdFL5GKjrpT6SBzHP9BavwXAZiK6npnfkKMkOkxEcv85x0aeVh9B/odHF0VRt7X2IQCS49Q5XS5VnhWllLo9juPPDQwMlIaGhtLu7u5VQRDcAuATANoAzCilrojj+DdFJrxh+ea+vr7z6/X6IQAXOOelM4hUbkm+hZXtxpg9El2tVsttDg4O5unq7e19X5Zl9wF4OYDjLS0tl4yMjDzjmGMvNnY5f5SZ3/E/Ohf6BUCJiN6dJMnPffSeXa11yRhTD8NwAzM/DOAVRPSrcrl8qWgiz47PSRRFO6y1QlkdQMtLRC63ff7/CeBdxpjRZiLzoKIousJau8+lY4cx5lbxndMl1Kdp+jgzdxQMnwmDd/4sM9/b0dHxdcm7p7XxoAehtd4N4EYiOlEqlSqSihyA1vpuANcXcnom55JbqZZjra2tFw0PD/8piqK3MnOf1L5Teq6pgpH8t6T51KlTIwA6iejuJEk+Sf39/a9eXFx8DMCbXckVhdkMiI9+EcBPmflxIrpKqA2CoHdsbGymodR8aW8C8IG8bKyVysgDIK315QCk7ERQYlwO+M51pvLz4HJGiOiLSZJ8tYkO8ujDMNzPzFsA/BnAKgFMRJcLgEb6/+GAyEM+Wu/M0+oplryLYJ+en58Pp6am5hp04J9TYRj+mpnfVmhsgaSBKpXKGBFFRLSfiEYBPAng98z8Y2Z+UxMQxd4vAEpKqWvjOL6vsQwF9cDAQDA3N/cN19LzgIhojpnPJqJEGPgLgDUAPmOM2eWNhGH4HWb+eEGYedMhogeJ6CvMrAFcJX2DiC5LkuSRJgCE+tuY+eaCvgTAC8x8jnwLgAUArUqprXEc7+vs7Gydmppa1FrfC+AaB8DPgZ0AbjfGzLrOeWGaplMArk6S5NuF/OfUV6vVrjRNE5emYjr/5fpBKgCkI50N4MPGmO9rrVtc97qZmW8DIGoXg5Lra4wx39JanzU/P58K0DAMJbqJJEkOeACFuXKDtfZOF72foMUmVhcAx6X3K6W2xXG8d926deXp6ekFrfVmAI+6w0J/i1e6rxLJr2tAjeXqS+9Sa+0jy4hZgvobRVF0WMYuEd2RJMmNngH5VkrttNZ+DMA5rtTuCYJgn7V2bZqmR2TZcNF6YZ7WN8IwfICZP1iYL0uVREQxhWF4hyiUiB5LkuQiR7enCdVq9dwsy3Yw87WF7iboZaLdZIwZdOITEEtz3pfjxo0bV8/Pzx8EUC2Mdz/E7hIAW5h5P4AXALzTGPOEp7hWqynZjmq1WuvMzIx0vTcCaHeM+Em6p729/bOSCgfENzQJIk+FW1IOA3iljGRXdauUUltEA68DIDuAtOLPG2O+VlSzByELRrlcLmdZdj8zX+ympuwC0gUPlkql7SMjI081GUgexC4ikiXnmCvLKWvtxXmrrVQqe4jo00T0XEtLS/fw8PCLzSab6AKAAbC+ICzfjEayLBMbRqqoQQw5iGq12pFlWewa3DeNMTc0G8d7jTHbGprK0voWhuEBZpYN2W9Dfi3zlOezvni+MI53yfbk0l0xxvxhaSHRWn8ZwJdEKG7BfLABRB5FGIa9zPwzN1CKIPJFRin1hTiOd/o0Fjrr+5lZFpIygFuNMTv8QpJ3rYGBgRWzs7M/ISKpBBHkh4wxhxqE5fMpPeIBJ0gpK1F/wMz3j4+Pf9SvZL5PRFG0yVr7I9kLpdoWFxcvm5yclE0qX8k8vVypVNYR0QG3lL4YBMF1Y2Njg04PVFg4M621lJWM8fOcjVml1CbZel07F0ZkFkjk0tZXE9FTkj6hvriU5uc9ZZVK5UKl1EPMLFWREtE9K1asuOXIkSMnfI/o6uo6SyIIw/CHzHxl3jSYD46Pj7/X21m/fv3q1tZW2fuuc7QfJ6IrkyR5stla7kWbU9zb2/v6LMu+C0BeTOR6XmZ3EAQPnzx5cnrNmjVW6l5rLc/klBPRviRJtlar1c4syzYz86cAyAsOlFK/TNN0q3tfzH14h802nvyB/v7+tnq9LkZkKMmyKpdo4wlmflpe14hoI4DXuJKUCXfM/favZn9XSu1euXLlXUNDQ7Ks/JfzpdI6rYH/58G8vLq7uy8olUpXu3VKXrte6pLc/1YW1CAIdo+Ojv7x/3o5LVgX0UkrzgeN1vq8IAj6mLkny7J+pZRoRCJNmVn08YzbqETlyeTk5F8L2lp2WP0bHN7z+rT7BmIAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-arrow-down{width:10px!important;height:10px!important;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAAAXNSR0IArs4c6QAAAUpJREFUOE+tk8FKxDAQhv9JpeDVR2nIoe/Qa19AWA+uCIqCe9HqZQuKgrgeFMF7r32HHkr6JnoVipvIhARqlXUVA6EQZr75/38oJUnyRETb+J/zTFLKFwBbACwA+iM39L6SUmpijLkDEAMwAMQvoaGnF0LsOUVKqV1jzALA0gPXVcrKGBgJIaZt295TnudRVVVLKeURgEtfwMCfoAzjy46OtdZXzAqN/DVSyhMA8zWtB6szrXXpwXaogicx9BzA6QqlQ2UXWuszD+MBn2wFtUYpNTfGsFrONBotyb0JIcq2bWdBmbf/JSfOVHCmSZJcE9HBYFHMdQuw1t50XXfo8+c3Vu3Od8E760VRiLqub621UwDvvn6DiBZZlu0XRREydFZXAcOgsKgHABPf8Ki13hnbXAfINU5pmqabfd9znojjuGya5m24hPFP8AFW3HrS/3cfswAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-menu{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAm1JREFUaEPtWD2P00AQfWsrQuJAiWgQNDQRFUoRI4syPWn3b9DRUKWjuKv4G6lpDvIHIm8T0UBBy1cZXWWZnCZai+h88YztdRaDV4oiy2PPeztfz6vQ8aU6jh89Ad8R/G8i4IvojouwBBjZsC/iHNW8z/qWEEAURQMA9DvlSo0xKeewjEAA4Hccxy+zLHsH4BFdA613Loo2+f4WhuGr9Xr93l6T78IqjYDd+U8Anto0EkWM2zXBfSJBvr4AeFYWiWOA9rk3mUzOBoPBDwBnHuqAMFylafpws9lcWUKFWvxnCeyj3OUUIvzdL+K82LraRnP87DARdJW6JqxvaVuU2omBzmazcLvdKmNMVtLhWAUgBSa1O0agDIjSWgfL5ZKIVF4SYGwYBV4L74jj+HmWZQ+MMR/zCW+J0MRld/4wv1n/DYu4oGnG4/Gd4XD4GcATAJdKqYskST5YIIHWWkkj0qYWOqpp7IT/DuBeLlGUUkTgfD6frxaLxa26x4cWulXTRFF0F8BPK1Eo92nm0GYS8JVS6txGhE3fU0iJm5qGJjwR+AWA/nOSRCTHQ4QujDGvtdZhWTr9zQTeGmPe1CXgSgt5SyEXWqhqEV9S2jgtYkda6LCN7ouS2uhoNPq62+0et9lGXWqhQjeZTqcvgiC4nyTJqvVB5uA72KuUoEhIJAc70Q8NTinm2GFSCXk1Y9a3aGcbaqFqkP9Y9+dCnf6o78+F6ib+wXONDrZcaaG6PBofLbrQQk3AuzncdaSF6hJp3EZdaqG6JNwMsjakhJARezohmsRCZ17MegJetv3GsPCNoZH/PoUabZ+DhzsfgWs8pnNAYMY5JwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-message-selected{background:url(../img/message-selected.2ac71044.svg) no-repeat;background-size:contain}.icon-message{background:url(../img/message.e1045621.svg) no-repeat;background-size:contain}.icon-message-real{background:url(../img/message-real.04c78875.svg) no-repeat;background-size:contain}.icon-group{background:url(https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png) no-repeat}.icon-setting{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAYNJREFUSEu9lj9qwzAUxp+cGExBgyGeizN4Sa5Q0NYTeCp0KXjzHXQHb4YugU4+QTdDr5AsHhI6J+BBUAxJ4/IMcv2vdkhjafGgp/dD3/fJEuGcawAAm82G4Hdo7Pf7os6yrHyoFucXi0VRRxDUB5GNh5r2gRFGXNeddDW5FNBc+xewE2SaZiHntSNN03NzbQu03ZoapUkex/HpGhBjbCqEQ+bzOqwGQrniOM4555OZbVPjeCwNzzKdAIgGm4JhVGp0nRx2O8E5/2aMkaqMJUhC0LOn55d3IPAAAF8AcKmMKNcd5PDxtnp9jKKoBitB6EsYhudbgjzP06RfBaiasFK6mU3bUg25RuFw+JVOVqOELZAQglBKMQyt5AxhcJ4xpskevSA5+R9Q19nqlM73/en9cllL3SW7yXSdfK7XIgiCE6auc0eO45AxwpAkSV7zSBmo4k0+qnRND0YPg7J4j3pgUTYlvyAEKfupVmGjXhMydUouPglTcpVL2M0fJ8qeW6oekD8c55BexcuwlQAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-relation{background:url(../img/relation.0e86ffdc.svg) no-repeat;background-size:contain}.icon-relation-real{background:url(../img/relation-real.70a6b231.svg) no-repeat;background-size:contain}.icon-relation-selected{background:url(../img/relation-selected.5699eeee.svg) no-repeat;background-size:contain}.icon-profile,.icon-profile-real{background:url(../img/profile.8c6bbe43.svg) no-repeat;background-size:contain}.icon-profile-selected{background:url(../img/profile-selected.6059f2ea.svg) no-repeat;background-size:contain}.icon-adv-arrow{width:24px;height:24px;background:url(../img/adv-arrow.b8f0444d.svg) no-repeat;background-size:contain}.icon-warn{width:65px;height:65px;background:url(../img/warn.05c67874.svg) no-repeat;background-size:contain}#app,.app,body,html{width:100%;height:100%}.app{background-image:linear-gradient(135deg,#f1f4f7,#edf5ff);display:flex;flex-direction:column}#app{width:100%;height:100%}::-webkit-scrollbar{width:12px;height:12px}::-webkit-scrollbar-button{width:0;height:0;display:none}::-webkit-scrollbar-corner{background-color:transparent}::-webkit-scrollbar-thumb{border:4px solid transparent;height:6px;border-radius:25px;background-clip:padding-box;background-color:rgba(0,0,0,.3)}.text-img[data-v-06e49808]{width:20px;height:20px}.text-box[data-v-06e49808]{color:#777;white-space:pre-wrap;font-size:inherit;word-break:break-word;font-size:14px;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none}.message-image[data-v-24e80348]{position:relative;overflow:hidden;opacity:1;padding:10px;background:#f5f5f5}.message-image .message-img[data-v-24e80348]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit}.message-image .progress[data-v-24e80348]{position:absolute;box-sizing:border-box;width:100%;height:100%;padding:0 20px;left:0;top:0;background:rgba(0,0,0,.5);display:flex;align-items:center}.message-image .progress progress[data-v-24e80348]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-image .progress progress[data-v-24e80348]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-image .progress progress[data-v-24e80348]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-image .progress progress[data-v-24e80348]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.dialog[data-v-24e80348]{position:fixed;z-index:12;width:100vw;height:100vh;background:rgba(0,0,0,.3);top:0;left:0;display:flex;flex-direction:column;align-items:center}.dialog header[data-v-24e80348]{display:flex;justify-content:flex-end;background:rgba(0,0,0,.49);width:100%;box-sizing:border-box;padding:10px 10px}.dialog-box[data-v-24e80348]{display:flex;flex:1;max-height:100%;padding:6rem;box-sizing:border-box;justify-content:center;align-items:center}.dialog-box-h5[data-v-24e80348]{width:100%;height:100%;background:#000;padding:30px 0;display:flex;flex-direction:column}.dialog-box-h5-footer[data-v-24e80348]{position:fixed;bottom:10px;display:flex;width:90vw;justify-content:space-between}.dialog-box-h5-footer p[data-v-24e80348]{width:3.88rem;height:3.88rem}.dialog-box-h5-footer img[data-v-24e80348]{width:100%}.dialog-box-h5-footer i[data-v-24e80348]{padding:20px}.isWidth[data-v-24e80348]{width:100%}.isHeight[data-v-24e80348]{height:100%}.message-video[data-v-71441a3b]{position:relative;display:flex;justify-content:center;overflow:hidden}.message-video-box[data-v-71441a3b]{max-width:min(100vw - 180px,300px)}.message-video-box img[data-v-71441a3b],.message-video-box video[data-v-71441a3b]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit;border-radius:10px}.message-video-box img[data-v-71441a3b]:not([src]),.message-video-box img[src=""][data-v-71441a3b]{opacity:0}.message-video-cover[data-v-71441a3b]{display:inline-block;position:relative}.message-video-cover[data-v-71441a3b]:before{position:absolute;z-index:1;content:"";width:0;height:0;border:10px solid transparent;border-left:15px solid #fff;top:0;left:0;bottom:0;right:0;margin:auto;transform:translate(5px)}.message-video-cover video[data-v-71441a3b]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);width:inherit;height:inherit;border-radius:10px}.message-video .progress[data-v-71441a3b]{position:absolute;box-sizing:border-box;width:100%;height:100%;padding:0 20px;border-radius:10px;left:0;top:0;background:rgba(0,0,0,.5);display:flex;align-items:center;flex:1}.message-video .progress progress[data-v-71441a3b]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-video .progress progress[data-v-71441a3b]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-video .progress progress[data-v-71441a3b]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-video .progress progress[data-v-71441a3b]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.dialog-video[data-v-71441a3b]{position:fixed;z-index:12;width:100vw;height:100vh;top:0;left:0;display:flex;flex-direction:column;align-items:center}.dialog-video header[data-v-71441a3b]{display:flex;justify-content:flex-end;background:rgba(0,0,0,.49);width:100%;box-sizing:border-box;padding:10px 10px}.dialog-video-box[data-v-71441a3b]{display:flex;flex:1;max-height:100%;padding:6rem;box-sizing:border-box;justify-content:center;align-items:center}.dialog-video-box video[data-v-71441a3b]{max-width:100%;max-height:100%}.dialog-video-h5[data-v-71441a3b]{width:100%;height:100%;background:#000;padding:30px 0}.isWidth[data-v-71441a3b]{width:100%}.isHeight[data-v-71441a3b]{height:100%}.message-audio[data-v-3b58416c]{display:flex;align-items:center;position:relative;cursor:pointer;max-width:100%;overflow:hidden}.message-audio .icon[data-v-3b58416c]{margin:0 4px}.message-audio audio[data-v-3b58416c]{width:0;height:0}.reserve[data-v-3b58416c]{flex-direction:row-reverse}.message-file[data-v-3f9a76df]{display:flex;flex-direction:column}.message-file .box[data-v-3f9a76df]{flex:1;display:flex;cursor:pointer}.message-file .box .message-file-content[data-v-3f9a76df]{flex:1;display:flex;flex-direction:column}.message-file progress[data-v-3f9a76df]{color:#006eff;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:.25rem;background:#fff;width:100%;height:.5rem}.message-file progress[data-v-3f9a76df]::-webkit-progress-value{background-color:#006eff;border-radius:.25rem}.message-file progress[data-v-3f9a76df]::-webkit-progress-bar{border-radius:.25rem;background:#fff}.message-file progress[data-v-3f9a76df]::-moz-progress-bar{color:#006eff;background:#006eff;border-radius:.25rem}.text-img[data-v-ec7124a2]{width:20px;height:20px}.message-img[data-v-ec7124a2]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px)}.message-location[data-v-2ee98c02],.message-merger[data-v-a9c3fbce]{display:flex;flex-direction:column}.message-merger .merger-label[data-v-a9c3fbce]{border-top:1px solid #ddd;margin-top:10px;padding-top:5px}[data-v-776d0787] .el-dialog__body{padding:0 30px 20px}[data-v-776d0787] .el-form-item{margin-bottom:13px}.business-type[data-v-776d0787]{display:flex}.business-type img[data-v-776d0787]{width:60px;height:60px;border-radius:10px}.img-list[data-v-776d0787]{border-radius:10px;padding:5px 10px}.img-list img[data-v-776d0787]{width:100px;height:100px}a[data-v-776d0787]{color:#679ce1}.custom[data-v-776d0787]{font-size:14px}.custom h1[data-v-776d0787]{font-size:14px;color:#000}.custom a[data-v-776d0787],.custom h1[data-v-776d0787],.custom p[data-v-776d0787]{font-size:14px}.custom .evaluate ul[data-v-776d0787]{display:flex;padding-top:10px}.custom .order[data-v-776d0787]{display:flex}.custom .order main[data-v-776d0787]{padding-left:5px}.custom .order main p[data-v-776d0787]{font-family:PingFangSC-Regular;width:145px;line-height:17px;font-size:14px;color:#999;letter-spacing:0;margin-bottom:6px;word-break:break-word}.custom .order main span[data-v-776d0787]{font-family:PingFangSC-Regular;line-height:25px;color:#ff7201}.custom .order img[data-v-776d0787]{width:67px;height:67px}.custom .call[data-v-776d0787]{display:flex;flex-direction:row;align-items:center}.custom .call-C2C[data-v-776d0787]{cursor:pointer}.custom .call-GROUP[data-v-776d0787]{cursor:default}.message-tip[data-v-54b2b3c4]{margin:0 auto;color:#999;font-size:12px;width:-webkit-fill-available;overflow-wrap:anywhere;display:flex;justify-content:center;align-content:center;align-items:center;text-align:center}.message[data-v-3852e376]{position:fixed;left:0;right:0;margin:0 auto;max-width:450px;width:-moz-fit-content;width:fit-content;justify-content:center;align-items:center}.message p[data-v-3852e376]{box-shadow:0 2px 12px 0 rgba(0,0,0,.2);border-radius:3px;word-break:break-all}.message-h5[data-v-3852e376],.message p[data-v-3852e376]{padding:10px 15px;width:-moz-fit-content;width:fit-content}.message-h5[data-v-3852e376]{position:absolute;top:300px!important;margin:0 auto;max-width:80%;justify-content:center;align-items:center;border-radius:5px}.message-h5 span[data-v-3852e376]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;letter-spacing:0;text-align:center;word-break:break-all}.success[data-v-3852e376]{border:1px solid #e4f2da;background:#f2f9ec;color:#7ebf50}.error[data-v-3852e376]{border:1px solid #fde2e2;background:#fef0f0;color:#f46c6e}.normal[data-v-3852e376]{border:1px solid #e9e9eb;background:#f4f4f5;color:#909398}.warning[data-v-3852e376]{border:1px solid #faf0e2;background:#fdf8f1;color:#e4b877}.reference[data-v-06f7d624]{width:100%;display:flex;flex-direction:inherit;justify-content:center;padding:10px;line-height:20px}.reference .message-img[data-v-06f7d624],.reference .message-video-cover[data-v-06f7d624],.reference .message-videoimg[data-v-06f7d624]{max-width:min(100vw - 230px,300px);max-height:min(100vw - 230px,300px)}.reference .face-box[data-v-06f7d624]{display:flex;flex-direction:row;flex-wrap:wrap}.reference .face-box-name[data-v-06f7d624]{padding-right:5px}.reference .face-box .text-img[data-v-06f7d624]{width:20px;height:20px}.reference p[data-v-06f7d624]{padding-right:5px;max-width:100px;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reference p[data-v-06f7d624],.reference span[data-v-06f7d624]{font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;word-break:break-all}.reference span[data-v-06f7d624]{line-height:20px;word-wrap:break-word;display:inline-block}.reference span p[data-v-06f7d624]{font-weight:800}.reply[data-v-06f7d624]{display:flex;flex-direction:column;align-self:start;border-left:2px solid rgba(0,110,255,.499298);padding-left:7px;margin-bottom:5px;color:#999;font-size:12px;line-height:20px;min-width:40px}.reply-reverse[data-v-06f7d624]{border-left:2px solid hsla(0,0%,60%,.3)}.reply .message-img[data-v-06f7d624],.reply .message-video-cover[data-v-06f7d624],.reply .message-videoimg[data-v-06f7d624]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px);-o-object-fit:contain;object-fit:contain;align-self:flex-start}.reply .face-box[data-v-06f7d624]{display:flex;flex-direction:row;flex-wrap:wrap}.reply .face-box .text-img[data-v-06f7d624]{width:20px;height:20px}.reply p[data-v-06f7d624]{font-weight:800;max-width:min(100vw - 180px,300px);overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.message-reference-user[data-v-06f7d624]{display:flex;flex-direction:row}.message-reference-user .nick[data-v-06f7d624]{flex:1;overflow:hidden;text-overflow:ellipsis;word-break:break-all;white-space:nowrap}.message-reference-user .colon[data-v-06f7d624]{width:-moz-fit-content;width:fit-content}.dialog-emoji[data-v-3266b21c]{margin-left:2px;background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06);width:242px;min-height:28px;height:-moz-fit-content;height:fit-content;padding:2px 6px;word-break:keep-all;top:30px;border-radius:8px}.dialog-emoji-h5[data-v-3266b21c]{margin:0 5px;border:none;border-bottom:1px solid #e0e0e0;box-shadow:none;border-radius:10px 10px 0 0}.dialog-emoji .collapse[data-v-3266b21c]{padding:2px 0}.dialog-emoji .face-list[data-v-3266b21c]{display:flex;overflow:hidden;flex-wrap:nowrap;flex-direction:row}.dialog-emoji .face-list-collapse[data-v-3266b21c]{display:flex;overflow:hidden;flex-wrap:nowrap;justify-content:space-between;align-items:center;flex:1}.dialog-emoji .face-list-expand[data-v-3266b21c]{border-top:1px solid #e0e0e0;display:flex;overflow-x:hidden;flex-wrap:wrap;max-height:90px;overflow-y:auto}.dialog-emoji .face-list-button[data-v-3266b21c]{padding:5px 7px;height:20px;line-height:20px;text-align:center;align-items:center}.dialog-emoji .face-list-button i[data-v-3266b21c]{text-align:center}.dialog-emoji .face-list li[data-v-3266b21c]{margin:4px;display:flex;align-items:center;flex-direction:row}.dialog-emoji .face-list li img[data-v-3266b21c]{width:22px;height:22px}.emoji-content .emoji-react[data-v-3266b21c]{margin-top:3px;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center}.emoji-content .emoji-react-item[data-v-3266b21c]{width:-moz-fit-content;width:fit-content;height:20px;background:rgba(0,0,0,.05);border-radius:12px;padding:2px 6px;margin:2px;overflow:hidden;text-overflow:ellipsis;max-width:200px;display:flex}.emoji-content .emoji-react-item img[data-v-3266b21c]{width:16px;height:16px;padding:2px}.emoji-content .emoji-react-item-content[data-v-3266b21c]{overflow:hidden;text-overflow:ellipsis;font-size:10px;color:#999;align-self:center}.emoji-content .emoji-react-item-content span[data-v-3266b21c]{margin:2px;font-size:10px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reverse[data-v-721af588]{flex-direction:row-reverse;justify-content:flex-start}.avatar[data-v-721af588]{width:36px;height:36px;border-radius:5px}.message-bubble[data-v-721af588]{width:100%;display:flex;padding-bottom:5px}.line-left[data-v-721af588]{border:1px solid rgba(0,110,255,.5)}.message-reference-area[data-v-721af588]{display:flex;background:#f2f2f2;border-radius:.5rem;border-radius:.63rem;align-self:start;margin-left:44px;margin-right:8px}.message-reference-area-show[data-v-721af588]{width:100%;display:flex;flex-direction:inherit;justify-content:center;padding:6px}.message-reference-area-show p[data-v-721af588]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#999;letter-spacing:0;word-break:keep-all;padding-right:5px}.message-reference-area-show span[data-v-721af588]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#999;letter-spacing:0;display:inline-block}.message-replies[data-v-721af588]{display:flex;align-self:start;margin-left:44px;margin-right:8px;padding:2px;color:#999;font-size:10px}.message-replies i[data-v-721af588]{margin:4px}.message-replies span[data-v-721af588]{line-height:20px}.message-reference-area-reverse[data-v-721af588],.message-replies-reverse[data-v-721af588]{align-self:end;margin-right:44px;margin-left:8px}.message-img[data-v-721af588]{max-width:min(100vw - 180px,300px);max-height:min(100vw - 180px,300px)}.message-video-cover[data-v-721af588]{display:inline-block;position:relative}.message-video-cover[data-v-721af588]:before{position:absolute;z-index:1;content:"";width:0;height:0;border:15px solid transparent;border-left:20px solid #fff;top:0;left:0;bottom:0;right:0;margin:auto}.message-videoimg[data-v-721af588]{max-width:min(100vw - 160px,300px);max-height:min(100vw - 160px,300px)}.face-box[data-v-721af588]{display:flex;align-items:center}.text-img[data-v-721af588]{width:20px;height:20px}.message-audio[data-v-721af588]{padding-left:10px;display:flex;align-items:center;position:relative}.message-audio .icon[data-v-721af588]{margin:0 4px}.message-audio audio[data-v-721af588]{width:0;height:0}.reserve[data-v-721af588]{flex-direction:row-reverse}.message-area[data-v-721af588]{max-width:calc(100% - 54px);position:relative;display:flex;flex-direction:column;padding:0 8px}.message-area .name[data-v-721af588]{padding-bottom:4px;font-weight:400;font-size:.8rem;color:#999;letter-spacing:0}.message-area .reference-content[data-v-721af588]{padding:12px;font-weight:400;font-size:14px;color:#deb887;letter-spacing:0;word-wrap:break-word;word-break:break-all;animation:reference-721af588 .8s}@keyframes reference-721af588{0%{opacity:1}50%{background-color:#ff9c19}to{opacity:1}}.message-area .content[data-v-721af588]{padding:12px;font-weight:400;font-size:14px;color:#000;letter-spacing:0;word-wrap:break-word;word-break:break-all;width:-moz-fit-content;width:fit-content}.message-area .content-in[data-v-721af588]{background:#f5f5f5;border-radius:0 10px 10px 10px}.message-area .content-out[data-v-721af588]{background:#dceafd;border-radius:10px 0 10px 10px}.message-area .content-image[data-v-721af588]{padding:0;height:-moz-fit-content;height:fit-content;border-radius:10px 0 10px 10px}.message-area .content-video[data-v-721af588]{padding:0;height:-moz-fit-content;height:fit-content;background:transparent;border-radius:10px}.message-label[data-v-721af588]{align-self:flex-end;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#b6b8ba;word-break:keep-all}.fail[data-v-721af588]{width:15px;height:15px;border-radius:15px;background:red;color:#fff;display:flex;justify-content:center;align-items:center}.unRead[data-v-721af588]{color:#679ce1}.dropdown-inner[data-v-721af588]{position:absolute;width:100%;height:100%;left:0;top:0}.dialog[data-v-721af588]{position:absolute;z-index:1;display:flex;flex-direction:row;width:-moz-fit-content;width:fit-content}.dialog-right[data-v-721af588]{right:0}.revoke[data-v-dedd5890]{display:flex;justify-content:center;color:#999;width:100%;font-size:14px}.revoke .edit[data-v-dedd5890]{padding:0 5px;color:#006eff}.list[data-v-55c508aa]{flex:1;height:100%;overflow-y:auto;min-width:600px}.list li[data-v-55c508aa]{display:flex;align-items:center;position:relative;padding:10px 20px;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.list li .icon[data-v-55c508aa]{margin-right:10px}.list li .message-label[data-v-55c508aa]{max-width:50px}.list li .btn-box[data-v-55c508aa]{padding:0 12px}.icon[data-v-55c508aa]{display:inline-block;width:16px;height:16px}.icon-warn[data-v-55c508aa]{border-radius:50%;background:coral;color:#fff;font-style:normal;display:flex;justify-content:center;align-items:center}.btn[data-v-55c508aa]{padding:2px 10px;margin-right:12px;border-radius:4px;border:none;font-weight:400;font-size:14px;color:#fff;letter-spacing:0;text-align:center;line-height:20px}.btn[data-v-55c508aa]:last-child{margin-right:0}.btn-cancel[data-v-55c508aa]{border:1px solid #ddd;color:#666}.btn-default[data-v-55c508aa]{background:#006eff;border:1px solid #006eff}.btn[data-v-55c508aa]:disabled{opacity:.3}.dialog-item[data-v-60d6f26f]{background:#fff;min-width:-moz-min-content;min-width:min-content;max-width:220px;width:72px;height:-moz-fit-content;height:fit-content;word-break:keep-all;top:30px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap;border:1px solid #e0e0e0}.dialog-item-web[data-v-60d6f26f]{padding:12px 0}.dialog-item-list[data-v-60d6f26f]{display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap;justify-content:space-around;width:100%}.dialog-item-list-h5[data-v-60d6f26f]{flex-wrap:nowrap;margin:10px}.dialog-item-list-h5 li[data-v-60d6f26f]{padding:0 5px;display:flex;flex-direction:column;align-items:center;font-size:8px;color:#4f4f4f}.dialog-item-list-web li[data-v-60d6f26f]:first-child{margin-top:0}.dialog-item-list-web li[data-v-60d6f26f]{padding:4px 12px;font-size:12px;line-height:17px;display:flex;flex-direction:row;align-items:center}.dialog-item-list-web li span[data-v-60d6f26f]{padding-left:4px}.message-item[data-v-1f1c862e]{display:flex;flex-direction:column}.message-timestamp[data-v-673faa2b]{margin:0 auto;color:#999;font-size:12px;width:-webkit-fill-available;overflow-wrap:anywhere;display:flex;justify-content:center;align-content:center;align-items:center;text-align:center;padding:0 20px 30px}.mask[data-v-5acb611d]{position:fixed;width:100vw;height:100vh;left:0;top:0;z-index:99;background:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center}.mask main[data-v-5acb611d]{position:relative}.main[data-v-88c982be]{background:#fff;border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.main .left[data-v-88c982be]{border-right:1px solid #e8e8e9}.main header[data-v-88c982be]{font-weight:500;color:#000;letter-spacing:0}.main header input[data-v-88c982be]{background:#fff;border:1px solid #dee0e3}.main .list p[data-v-88c982be],.main header input[data-v-88c982be]{font-weight:500;color:#8f959e;letter-spacing:0}.main .list-item .disabled[data-v-88c982be]{background:#eee}.avatar[data-v-88c982be]{background:#f4f5f9;color:#000}.btn[data-v-88c982be]{background:#3370ff;border:0 solid #2f80ed;font-weight:400;color:#fff}.btn-cancel[data-v-88c982be]{background:#fff;border:1px solid #ddd;color:#828282}.btn-no[data-v-88c982be]{background:#e8e8e9;border:1px solid #ddd;font-weight:400;color:#fff}.transfer-h5-header[data-v-88c982be]{background:#fff}.transfer-h5-header .title[data-v-88c982be]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.main[data-v-88c982be]{box-sizing:border-box;width:620px;height:394px;display:flex;border-radius:8px;padding:20px 0}.main .right[data-v-88c982be]{padding:0 20px;flex:1}.main .right ul[data-v-88c982be]{padding-right:20px}.main .left[data-v-88c982be]{flex:1;overflow-y:hidden;display:flex;flex-direction:column}.main .left header[data-v-88c982be]{padding:0 20px}.main .left main[data-v-88c982be]{flex:1;overflow-y:auto;padding:0 20px}.main .right[data-v-88c982be]{display:flex;flex-direction:column}.main .right footer[data-v-88c982be]{align-self:flex-end}.main .right footer .btn-cancel[data-v-88c982be]{margin-right:12px}.main .right .list[data-v-88c982be]{overflow-y:auto}.main header[data-v-88c982be]{font-size:14px;line-height:14px;padding-bottom:20px}.main header input[data-v-88c982be]{box-sizing:border-box;width:100%;border-radius:30px;font-size:10px;line-height:14px;padding:9px 12px}.main .list[data-v-88c982be]{flex:1;display:flex;flex-direction:column}.main .list p[data-v-88c982be]{font-size:10px;line-height:14px}.main .list-item[data-v-88c982be]{padding:6px 0;display:flex;align-items:center;font-size:14px}.main .list-item aside[data-v-88c982be]{display:flex;align-items:center}.main .list-item .avatar[data-v-88c982be]{margin:0 5px 0 8px;border-radius:50%}.main .list-item .name[data-v-88c982be]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.avatar[data-v-88c982be],img[data-v-88c982be]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.btn-no[data-v-88c982be],.btn[data-v-88c982be]{padding:4px 28px;font-size:12px;line-height:24px;border-radius:4px}.space-between[data-v-88c982be]{justify-content:space-between}.all[data-v-88c982be]{padding-left:8px;font-size:14px}.transfer-h5[data-v-88c982be]{width:100%;height:100%;display:flex;flex-direction:column}.transfer-h5-header[data-v-88c982be]{position:relative;display:flex;justify-content:center;font-size:18px;padding:16px 18px}.transfer-h5-header .icon[data-v-88c982be]{position:absolute;left:18px;top:18px}.transfer-h5 .main[data-v-88c982be]{flex:1;flex-direction:column;width:auto;height:auto;border-radius:0;border:none;box-shadow:none;max-height:calc(100% - 54px);padding:0}.transfer-h5 .main .avatar[data-v-88c982be]{border-radius:0}.transfer-h5 .main .left[data-v-88c982be]{padding:0;flex:1;border:none;display:flex;flex-direction:column}.transfer-h5 .main .left header[data-v-88c982be]{position:sticky;top:0;padding:0 18px}.transfer-h5 .main .left header input[data-v-88c982be]{border-radius:5px;font-size:14px}.transfer-h5 .main .left .list[data-v-88c982be]{padding:0 18px}.transfer-h5 .main .right[data-v-88c982be]{flex:0;padding:0;flex-direction:row;align-items:center;box-shadow:inset 0 1px 0 0 #eee;padding:0 18px 8px}.transfer-h5 .main .right .list[data-v-88c982be]{flex-direction:row;width:0}.transfer-h5 .main .right footer[data-v-88c982be]{padding:6px 0;display:flex;align-items:center}.transfer-h5 .main .right footer .btn[data-v-88c982be]{font-size:14px}.slider-box[data-v-759db46f]{display:flex;align-items:center;width:34px;height:20px;border-radius:10px;background:#e1e1e3}.slider-open[data-v-759db46f]{background:#006eff!important;justify-content:flex-end}.slider-block[data-v-759db46f]{display:inline-block;width:16px;height:16px;border-radius:8px;margin:0 2px;background:#fff;border:0 solid rgba(0,0,0,.85);box-shadow:0 2px 4px 0 #d1d1d1}.name[data-v-33cc130c]{padding:14px 20px;font-weight:400;font-size:14px;color:#000;display:flex;flex-direction:column}.name p[data-v-33cc130c]{opacity:.6;display:flex;align-items:center}.name p .icon[data-v-33cc130c]{margin-left:4px}.input-box[data-v-33cc130c]{display:flex}.input-box .input[data-v-33cc130c]{flex:1;border:1px solid #e8e8e9;border-radius:4px;padding:4px 16px;font-weight:400;font-size:14px;color:#000;opacity:.6}.space-top[data-v-33cc130c]{border-top:10px solid #f4f5f9}.edit-h5[data-v-33cc130c]{position:fixed;width:100%;height:100%;top:0;left:0;background:rgba(0,0,0,.5);display:flex;align-items:flex-end;z-index:1}.edit-h5 main[data-v-33cc130c]{background:#fff;flex:1;padding:18px;border-radius:12px 12px 0 0}.edit-h5 main .input-box[data-v-33cc130c]{flex-direction:column;padding:18px 0}.edit-h5 main .input-box .input[data-v-33cc130c]{background:#f8f8f8;padding:10px 12px}.edit-h5 main .input-box span[data-v-33cc130c]{font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#888;letter-spacing:0;padding-top:8px}.edit-h5-header[data-v-33cc130c]{display:flex;align-items:center;justify-content:space-between}.edit-h5-header .close[data-v-33cc130c]{font-family:PingFangSC-Regular;font-weight:400;font-size:18px;color:#3370ff;letter-spacing:0;line-height:27px}.edit-h5-footer[data-v-33cc130c]{display:flex}.edit-h5-footer .btn[data-v-33cc130c]{flex:1;border:none;background:#147aff;border-radius:5px;font-family:PingFangSC-Regular;font-weight:400;font-size:16px;color:#fff;letter-spacing:0;line-height:27px;padding:8px 0}.edit-h5-footer .btn[data-v-33cc130c]:disabled{opacity:.3}.notification[data-v-30b370b1]{flex:1;padding:20px;display:flex;flex-direction:column}.notification section[data-v-30b370b1]{flex:1;font-size:14px}.notification section p[data-v-30b370b1]{text-align:center;padding-bottom:20px}.notification textarea[data-v-30b370b1]{margin-bottom:20px;flex:1;box-sizing:border-box;padding:10px;border:1px solid #e8e8e9;resize:none;font-size:14px}.notification footer[data-v-30b370b1]{display:flex;justify-content:flex-end;padding:10px}.btn[data-v-30b370b1]{background:#3370ff;border:0 solid #2f80ed;padding:4px 28px;font-weight:400;font-size:12px;color:#fff;line-height:24px;border-radius:4px}.btn-cancel[data-v-30b370b1]{background:#fff;border:1px solid #ddd;color:#828282}.member[data-v-806f1058]{flex:1;background:#fff}.member .list[data-v-806f1058]{display:flex;flex-direction:column;background:#f4f5f9;padding-top:22px}.member .list-item[data-v-806f1058]{padding:13px;display:flex;justify-content:space-between;align-items:center;background:#fff;font-size:14px;overflow:hidden}.member .list-item[data-v-806f1058]:hover{background:#f1f2f6}.member .list-item aside[data-v-806f1058]{display:flex;align-items:center;width:100%;overflow:hidden}.member .list-item aside .name[data-v-806f1058]{padding-left:8px;font-weight:400;font-size:14px;color:#000;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.avatar[data-v-806f1058]{width:36px;height:36px;border-radius:4px}.memeber-profile[data-v-29f6ea36]{flex:1;display:flex;flex-direction:column}.memeber-profile-main[data-v-29f6ea36]{display:flex;flex-direction:row;width:100%;overflow:hidden}.memeber-profile-main img[data-v-29f6ea36]{width:60px;height:60px;border-radius:8px;margin:20px 10px 20px 20px}.memeber-profile-main .list[data-v-29f6ea36]{flex:1;overflow:hidden;margin:20px 10px;font-weight:400}.memeber-profile-main .list li[data-v-29f6ea36]{color:#999}.memeber-profile-main .list h1[data-v-29f6ea36],.memeber-profile-main .list li[data-v-29f6ea36]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.memeber-profile-footer[data-v-29f6ea36]{border-top:10px solid #f4f5f9;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center}.memeber-profile-footer .button[data-v-29f6ea36]{width:100px;cursor:pointer;background-color:#006eff;color:#fff;padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.dialog[data-v-087d9968]{background:rgba(0,0,0,.3)}.dialog header h1[data-v-087d9968]{font-family:PingFangSC-Medium;font-weight:500;color:#333}.dialog-main[data-v-087d9968]{background:#fff}.dialog-main header[data-v-087d9968]{font-weight:500;color:#333}.dialog-main-content[data-v-087d9968]{font-weight:400;color:#333}.btn[data-v-087d9968]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-087d9968]{border:1px solid #ddd;color:#666}.btn-default[data-v-087d9968]{background:#006eff;border:1px solid #006eff}.dialog[data-v-087d9968]{position:fixed;width:100%;height:100%;left:0;top:0;z-index:6;display:flex;justify-content:center;align-items:center}.dialog header h1[data-v-087d9968]{font-size:16px;line-height:30px}.dialog-main[data-v-087d9968]{min-width:368px;border-radius:10px;padding:20px 30px}.dialog-main header[data-v-087d9968]{display:flex;justify-content:space-between;align-items:center;font-size:16px;line-height:30px}.dialog-main-content[data-v-087d9968]{padding:20px 0 40px;font-size:14px}.dialog-main footer[data-v-087d9968]{display:flex;justify-content:flex-end}.btn[data-v-087d9968]{padding:8px 20px;margin:0 6px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.btn[data-v-087d9968]:disabled{opacity:.3}.btn[data-v-087d9968]:last-child{margin-right:0}.dialog-h5[data-v-087d9968]{height:100%;top:0;align-items:inherit}.dialog-h5 .dialog-main[data-v-087d9968]{min-width:0;min-height:0;width:100%;padding:0;display:flex;flex-direction:column;overflow:hidden}.dialog-h5 .dialog-main-content[data-v-087d9968]{flex:1;padding:0;min-width:0;min-height:0;overflow:hidden}.dialog-h5 .dialog-main footer[data-v-087d9968]{border-top:1px solid #ddd}.dialog-h5 .dialog-main footer .btn[data-v-087d9968]{flex:1;margin:0;background:none;border-right:1px solid #ddd}.dialog-h5 .dialog-main footer .btn-default[data-v-087d9968]{color:#ff584c;border:none}.center[data-v-087d9968]{align-items:center;padding:20px;box-sizing:border-box}.manage[data-v-f731557c]{background:#fff;box-shadow:0 1px 10px 0 rgba(2,16,43,.15)}.manage-header[data-v-f731557c]{border-bottom:1px solid #e8e8e9}.manage-header h1[data-v-f731557c]{font-family:PingFangSC-Medium;font-weight:500;color:#000}.manage-header-left main p[data-v-f731557c]{font-weight:400;color:#999}.manage .main .userInfo ol dl .userInfo-mask[data-v-f731557c]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.manage .main .footer li[data-v-f731557c]{font-weight:400;color:#dc2113;border-bottom:1px solid #e8e8e9}.manage .admin-content aside[data-v-f731557c]{font-weight:400;color:#000;letter-spacing:0}.manage .admin-content aside p[data-v-f731557c]{opacity:.6}.manage .admin-list label[data-v-f731557c]{font-weight:400;color:#000}.manage .admin .last[data-v-f731557c]:before{background:#e8e8e9}.manage ol dl .userInfo-mask[data-v-f731557c]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.input[data-v-f731557c]{border:1px solid #e8e8e9;font-weight:400;color:#000;opacity:.6}.avatar[data-v-f731557c]{background:#f4f5f9;color:#000}.space-top[data-v-f731557c]{border-top:10px solid #f4f5f9}.btn[data-v-f731557c]{background:#3370ff;border:0 solid #2f80ed;color:#fff}.btn-cancel[data-v-f731557c]{background:#fff;border:1px solid #ddd;color:#828282}.slider-box[data-v-f731557c]{background:#e1e1e3}.slider-block[data-v-f731557c]{background:#fff;border:0 solid rgba(0,0,0,.85);box-shadow:0 2px 4px 0 #d1d1d1}.manage[data-v-f731557c]{display:flex;flex-direction:column;box-sizing:border-box;width:360px;overflow-y:auto;border-radius:8px 0 0 8px;position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px}.manage-header[data-v-f731557c]{padding:20px;display:flex;justify-content:space-between;align-items:center}.manage-header aside[data-v-f731557c]{display:flex;align-items:center}.manage-header h1[data-v-f731557c]{font-size:16px}.manage-header-left[data-v-f731557c]{display:flex}.manage-header-left .icon[data-v-f731557c]{margin-right:14px}.manage-header-left main[data-v-f731557c]{display:flex;flex-direction:column}.manage-header-left main p[data-v-f731557c]{padding-top:8px;font-size:12px}.manage .main .userInfo[data-v-f731557c]{padding:0 20px;display:flex;flex-direction:column;font-size:14px}.manage .main .userInfo-header[data-v-f731557c]{display:flex;justify-content:space-between;align-items:center;padding:14px 0}.manage .main .userInfo-header p[data-v-f731557c]{display:flex;align-items:center}.manage .main .userInfo ol[data-v-f731557c]{flex:1;display:flex;flex-wrap:wrap;padding-bottom:20px}.manage .main .userInfo ol dl[data-v-f731557c]{position:relative;flex:0 0 36px;display:flex;flex-direction:column;padding-right:20px}.manage .main .userInfo ol dl[data-v-f731557c]:last-child{padding-right:0}.manage .main .userInfo ol dl .more[data-v-f731557c]{padding-top:10px}.manage .main .userInfo ol dl dd[data-v-f731557c]{text-align:center;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage .main .userInfo ol dl .userInfo-mask[data-v-f731557c]{position:absolute;z-index:5;padding:20px;left:100%}.manage .main .userInfo ol dl .userInfo-mask li[data-v-f731557c]{display:flex;align-items:center}.manage .main .userInfo ol dl .userInfo-mask li label[data-v-f731557c]{width:60px}.manage .main .userInfo ol dl .userInfo-mask li span[data-v-f731557c]{max-width:200px;word-break:keep-all}.manage .main .content[data-v-f731557c]{padding:0 20px}.manage .main .content li[data-v-f731557c]{padding:14px 0;display:flex;justify-content:space-between;align-items:center;font-size:14px}.manage .main .content li .btn[data-v-f731557c]{flex:1}.manage .main .content li article[data-v-f731557c]{opacity:.6;width:246px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage .main .content li .end[data-v-f731557c]{align-self:flex-end;margin-bottom:4px}.manage .main .footer[data-v-f731557c]{padding:0 20px}.manage .main .footer li[data-v-f731557c]{cursor:pointer;width:100%;font-size:14px;padding:14px 0;text-align:center}.manage .main .footer li[data-v-f731557c]:last-child{border:none}.manage .admin[data-v-f731557c]{padding:20px 0}.manage .admin-content[data-v-f731557c]{padding:20px 20px 12px;display:flex;align-items:center}.manage .admin-content aside[data-v-f731557c]{flex:1;font-size:14px}.manage .admin-content aside p[data-v-f731557c]{font-size:12px}.manage .admin-list[data-v-f731557c]{padding:0 20px}.manage .admin-list label[data-v-f731557c]{display:inline-block;font-size:14px;padding-bottom:8px}.manage .admin .last[data-v-f731557c]{padding-top:13px;position:relative}.manage .admin .last[data-v-f731557c]:before{position:absolute;content:"";width:calc(100% - 40px);height:1px;top:0;left:0;right:0;margin:0 auto}.manage ol[data-v-f731557c]{flex:1;display:flex;flex-wrap:wrap;padding-bottom:20px}.manage ol dl[data-v-f731557c]{position:relative;flex:0 0 36px;display:flex;flex-direction:column;padding-right:20px}.manage ol dl[data-v-f731557c]:last-child{padding-right:0}.manage ol dl .more[data-v-f731557c]{padding-top:10px}.manage ol dl dd[data-v-f731557c]{text-align:center;max-width:36px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manage ol dl .userInfo-mask[data-v-f731557c]{position:fixed;z-index:5;padding:20px;margin-left:36px}.manage ol dl .userInfo-mask li[data-v-f731557c]{display:flex;align-items:center}.manage ol dl .userInfo-mask li label[data-v-f731557c]{width:60px}.manage ol dl .userInfo-mask li span[data-v-f731557c]{max-width:200px;word-break:keep-all}.input[data-v-f731557c]{border-radius:4px;padding:4px 16px;font-size:14px}.groupID[data-v-f731557c]{display:flex;flex-direction:row;align-items:center}.groupID span[data-v-f731557c]{padding-right:10px}.groupID .icon[data-v-f731557c]{width:15px;height:15px;cursor:pointer}.avatar[data-v-f731557c]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.btn[data-v-f731557c]{padding:4px 28px;font-size:12px;line-height:24px;border-radius:4px}.slider-box[data-v-f731557c]{display:flex;align-items:center;width:34px;height:20px;border-radius:10px}.slider-block[data-v-f731557c]{display:inline-block;width:16px;height:16px;border-radius:8px;margin:0 2px}.space-between[data-v-f731557c]{justify-content:space-between}.delDialog-title[data-v-f731557c]{text-align:center;padding:20px 0}.manage-h5[data-v-f731557c]{position:fixed;width:100%;height:100%;top:0;left:0}.message-input-at[data-v-29169fdf]{position:fixed;max-width:15rem;max-height:10rem;overflow-x:hidden;overflow-y:auto;background:#fff;box-shadow:0 .06rem .63rem 0 rgba(2,16,43,.15);border-radius:.13rem}.memberList-box-header[data-v-29169fdf]{height:2.5rem;padding-top:5px;cursor:pointer}.memberList-box-header[data-v-29169fdf]:hover{background:rgba(0,110,255,.1)}.memberList-box span[data-v-29169fdf]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#000;letter-spacing:0;padding:5px}.memberList-box-body[data-v-29169fdf]{height:2.5rem;cursor:pointer;display:flex;align-items:center}.memberList-box-body .selected[data-v-29169fdf],.memberList-box-body[data-v-29169fdf]:hover{background:rgba(0,110,255,.1)}.memberList-box-body span[data-v-29169fdf]{overflow:hidden;white-space:nowrap;word-wrap:break-word;word-break:break-all;text-overflow:ellipsis}.memberList-box img[data-v-29169fdf]{width:1.5rem;height:1.5rem;padding-left:10px}.memberList-box .selected[data-v-29169fdf]{background:rgba(0,110,255,.1)}.message-input-at-h5[data-v-29169fdf]{position:fixed;bottom:0;left:0;width:100%;height:100%;max-width:100%;max-height:100%;overflow:hidden;background:rgba(0,0,0,.5);z-index:10;display:flex;align-items:flex-end}.message-input-at-h5 .memberList[data-v-29169fdf]{height:auto;max-height:50%;width:100%;max-width:100%;background:#fff;border-radius:12px 12px 0 0;display:flex;flex-direction:column;overflow:hidden}.message-input-at-h5 .memberList-title[data-v-29169fdf]{height:-moz-fit-content;height:fit-content;width:calc(100% - 30px);text-align:center;vertical-align:middle;padding:15px}.message-input-at-h5 .memberList-title .title[data-v-29169fdf]{vertical-align:middle;display:inline-block;font-size:16px}.message-input-at-h5 .memberList-title .close[data-v-29169fdf]{vertical-align:middle;position:absolute;right:10px;display:inline-block}.message-input-at-h5 .memberList-box[data-v-29169fdf]{flex:1;overflow-y:scroll}.message-input-at-h5 .memberList-box-body[data-v-29169fdf]{padding:10px}.message-input-at-h5 .memberList-box-body img[data-v-29169fdf]{width:26px;height:26px}.message-input-at-h5 .memberList-box-body span[data-v-29169fdf]{font-size:14px}.message-input-container[data-v-712924cc]{display:flex;flex-direction:column;flex:1;height:calc(100% - 13px);width:calc(100% - 20px);padding:3px 10px 10px 10px;overflow:hidden}.message-input-area[data-v-712924cc]{flex:1;display:flex;overflow-y:scroll}.message-input-mute[data-v-712924cc]{flex:1;display:flex;color:#999;font-size:14px;justify-content:center;align-items:center}.message-input-container-h5[data-v-712924cc]{flex:1;height:auto;background:#f4f5f9;border-radius:9.4px;padding:7px 0 7px 10px;font-size:16px!important;max-height:86px;margin-right:7px}.ProseMirror{min-height:100%;height:-moz-fit-content;height:fit-content;flex:1;font-size:14px;word-wrap:break-word;word-break:break-all;white-space:pre-wrap;-webkit-user-select:text;-moz-user-select:text;user-select:text}.ProseMirror dd,.ProseMirror div,.ProseMirror dl,.ProseMirror dt,.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror li,.ProseMirror ol,.ProseMirror p,.ProseMirror ul{margin:0;padding:0;font-style:normal}.ProseMirror p *{vertical-align:bottom}.ProseMirror-focused{border:none;outline:none}.ProseMirror img.ProseMirror-selectednode{outline:2px solid #68cef8}.ProseMirror .custom-image-normal{max-height:120px;max-width:200px}.ProseMirror .custom-image-file{height:50px;width:160px;border:1px solid #e8e8e9;border-radius:5px}.ProseMirror .custom-image-emoji{height:20px;width:20px}.ProseMirror .ProseMirror-selectednode{outline:2px solid #68cef8;cursor:none}.ProseMirror [contenteditable],.ProseMirror p{-webkit-user-select:text;-moz-user-select:text;user-select:text}.ProseMirror p.is-editor-empty:first-child:before{color:#adb5bd;content:attr(data-placeholder);float:left;height:0;pointer-events:none}.message-input-button[data-v-58e1a202]{position:absolute;bottom:20px;right:20px}.message-input-button-h5[data-v-58e1a202]{position:static}.message-input-button-cont[data-v-58e1a202]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px;font-weight:400;background:#006eff;color:#fff;letter-spacing:0;cursor:pointer}.message-input-button:hover .message-input-button-hover[data-v-58e1a202]{display:flex}.message-input-button-hover[data-v-58e1a202]{display:none;justify-content:center;align-items:center;position:absolute;right:120%;word-break:keep-all;height:30px;white-space:nowrap;top:0;bottom:0;margin:auto 0;padding:5px 10px;border-radius:3px;background:#000;color:#fff;opacity:.3}.message-input-button-hover[data-v-58e1a202]:before{content:"";position:absolute;width:0;height:0;right:-20px;border:10px solid transparent;border-left:10px solid #000}.message-input-reference[data-v-1333615b]{order:1}.message-input-reference .reference[data-v-1333615b]{width:auto;padding-bottom:0;margin:0 100px 10px 10px;display:flex}.message-input-reference .reference-box[data-v-1333615b]{padding:0;overflow:hidden;width:-moz-max-content;width:max-content;padding:10px;background-color:#fbfbfb;display:flex;border-radius:8px}.message-input-reference .reference-box label[data-v-1333615b]{cursor:pointer;margin-top:5px}.message-input-reference .reference-box-show[data-v-1333615b]{width:-moz-max-content;width:max-content;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.message-input-reference .reference-box-show-name[data-v-1333615b]{padding-right:5px}.message-input-reference .reference-box-show span[data-v-1333615b]{width:-moz-max-content;width:max-content;font-family:PingFang SC;font-style:normal;font-weight:400;font-size:12px;line-height:17px;color:#666}.message-input-reply[data-v-1333615b]{order:-1}.message-input-reply .reply[data-v-1333615b]{display:flex;width:100%}.message-input-reply .reply-box[data-v-1333615b]{flex:1;align-items:center;display:flex;padding:0 10px}.message-input-reply .reply-box i[data-v-1333615b]{height:3.5rem;border:1px solid #e8e8e9}.message-input-reply .reply-box label[data-v-1333615b]{cursor:pointer;margin-top:5px}.message-input-reply .reply-box-show[data-v-1333615b]{flex:1;display:flex;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-direction:column;justify-content:center;padding-left:6px}.message-input-reply .reply-box-show span[data-v-1333615b]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#bfc1c5;letter-spacing:0;text-overflow:ellipsis;width:100%;overflow:hidden}.message-input-reply-h5[data-v-1333615b]{order:-1;flex:1 0 100%;padding-bottom:10px}.message-input-reply-h5 .reply-box[data-v-1333615b]{padding:0}.message-input-reply-h5 .reply-box i[data-v-1333615b]{display:none}.message-input-reply-h5 .reply-box-show[data-v-1333615b]{flex-direction:row}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]{width:auto}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]:first-child{padding-right:2px}.message-input-reply-h5 .reply-box-show span[data-v-1333615b]:last-child{flex:1}.message-input-reference-h5[data-v-1333615b]{order:1;flex:1 0 100%;overflow:hidden;width:100%;max-width:100%;margin:0}.message-input-reference-h5 .reference[data-v-1333615b]{margin:0}.message-input-reference-h5 .reference-box[data-v-1333615b]{overflow:hidden;padding:0;width:100%;max-width:100%;padding:10px;margin:5px 0}.message-input-reference-h5 .reference-box-show[data-v-1333615b]{overflow:hidden;width:0;flex:1;display:flex;flex-direction:row;text-overflow:ellipsis}.message-input-reference-h5 .reference-box-show span[data-v-1333615b]:last-child{overflow:hidden;text-overflow:ellipsis}.message-input[data-v-030d6bb0]{flex:1;position:relative;display:flex;flex-direction:column;border:none;height:100%;width:100%;max-height:100%;max-width:100%;overflow:hidden}.message-input-h5[data-v-030d6bb0]{display:flex;flex-direction:row;flex-wrap:wrap}.TUIChat-header h1[data-v-e5d9bc3a]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUIChat .TUIChat-setting[data-v-e5d9bc3a]{background:#fff}.TUIChat-footer[data-v-e5d9bc3a]{border-top:1px solid #f4f5f9}.TUIChat-footer .input textarea[data-v-e5d9bc3a]::-moz-placeholder{color:#ddd}.TUIChat-footer .input textarea[data-v-e5d9bc3a]::placeholder{color:#ddd}.TUIChat-footer .input p[data-v-e5d9bc3a]{color:#ddd}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]{font-weight:400;background:#006eff;color:#fff;letter-spacing:0}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]:disabled{opacity:.3}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]{background:#000}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]:before{border:10px solid transparent;border-left:10px solid #000}.TUIChat .disabled[data-v-e5d9bc3a]:before{background:#fbfbfb}.TUI-message-list .message-more[data-v-e5d9bc3a]{color:#999;cursor:pointer}.dialog[data-v-e5d9bc3a]{background:#fff}.dialog-item[data-v-e5d9bc3a]{background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06)}.dialog-item p[data-v-e5d9bc3a]{font-weight:400;color:#4f4f4f}.dialog-item p[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.dialog-userInfo[data-v-e5d9bc3a]{background:rgba(0,0,0,.3)}.dialog-userInfo .userInfo-main[data-v-e5d9bc3a]{background:#fff}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask[data-v-e5d9bc3a]{background:#fff;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.image-dialog[data-v-e5d9bc3a]{background:rgba(0,0,0,.3)}.image-dialog header[data-v-e5d9bc3a]{background:rgba(0,0,0,.49)}.btn[data-v-e5d9bc3a]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-e5d9bc3a]{border:1px solid #ddd;color:#666}.btn-default[data-v-e5d9bc3a]{background:#006eff;border:1px solid #006eff}.btn[data-v-e5d9bc3a]:disabled{opacity:.3}.TUIChat-H5 .TUIChat-footer[data-v-e5d9bc3a],.TUIChat-H5 .TUIChat-header[data-v-e5d9bc3a]{background:#fff}.TUIChat-H5 .TUIChat-footer .input input[data-v-e5d9bc3a]{background:#f4f5f9}.TUIChat[data-v-e5d9bc3a]{width:100%;height:100%;display:flex;flex-direction:column;position:absolute}.TUIChat-header[data-v-e5d9bc3a]{padding:12px;display:flex;justify-content:space-between;align-items:center}.TUIChat-header h1[data-v-e5d9bc3a]{font-size:16px;line-height:30px}.TUIChat-safe-tips[data-v-e5d9bc3a]{padding:12px 20px;background-color:rgba(255,149,0,.1);color:#ff8c39;line-height:18px;font-family:PingFang SC;font-style:normal;font-weight:400;text-align:justify;font-size:12px}.TUIChat-safe-tips a[data-v-e5d9bc3a]{color:#006eff;float:right}.TUIChat .TUIChat-setting[data-v-e5d9bc3a]{position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px}.TUIChat-main[data-v-e5d9bc3a]{min-height:0;flex:1;position:relative;display:flex;flex-direction:column}.TUIChat-footer[data-v-e5d9bc3a]{height:173px;display:flex;flex-direction:column}.TUIChat-footer .input[data-v-e5d9bc3a]{flex:1;position:relative;display:flex;flex-direction:column}.TUIChat-footer .input textarea[data-v-e5d9bc3a]{width:100%;line-height:20px;margin:0;padding:2px 20px;resize:none;box-sizing:border-box;border:none;background:no-repeat}.TUIChat-footer .input textarea[data-v-e5d9bc3a]:focus{outline:none;border:none}.TUIChat-footer .input p[data-v-e5d9bc3a]{padding:12px 20px 20px}.TUIChat-footer .input .input-btn[data-v-e5d9bc3a]{position:absolute;bottom:20px;right:20px;padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.TUIChat-footer .input .input-btn:hover .input-btn-hover[data-v-e5d9bc3a]{display:flex}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]{display:none;justify-content:center;align-items:center;position:absolute;right:120%;word-break:keep-all;height:30px;white-space:nowrap;top:0;bottom:0;margin:auto 0;padding:5px 10px;border-radius:3px}.TUIChat-footer .input .input-btn-hover[data-v-e5d9bc3a]:before{content:"";position:absolute;width:0;height:0;right:-20px}.TUIChat .disabled[data-v-e5d9bc3a]{position:relative}.TUIChat .disabled[data-v-e5d9bc3a]:before{content:"";position:absolute;width:100%;height:100%}.TUI-message-list[data-v-e5d9bc3a]{flex:1;height:100%;overflow-y:auto;overflow-x:hidden;position:relative}.TUI-message-list .message-more[data-v-e5d9bc3a]{font-size:.9rem;padding:5px;text-align:center}.TUI-message-list li[data-v-e5d9bc3a]:first-child{margin-top:5px}.TUI-message-list li[data-v-e5d9bc3a]{display:flex;position:relative;padding:0 20px 30px;flex-direction:column}.TUI-message-list li .message-label[data-v-e5d9bc3a]{max-width:50px}.TUI-message-list .right[data-v-e5d9bc3a]{flex-direction:row-reverse;justify-content:flex-start}.TUI-message-list .to-bottom-tip[data-v-e5d9bc3a]{position:sticky;bottom:10px;left:100%;margin-right:15px;width:92px;height:28px;padding:0 5px;background:#fff;border:1px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06);display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:3px}.TUI-message-list .to-bottom-tip .icon[data-v-e5d9bc3a]{width:10px;height:10px}.TUI-message-list .to-bottom-tip-cont[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:10px;color:#147aff;letter-spacing:0;text-align:center;padding-left:3px}.dialog[data-v-e5d9bc3a]{position:absolute;z-index:5}.dialog-item[data-v-e5d9bc3a]{min-width:-moz-min-content;min-width:min-content;max-width:220px;width:72px;word-break:keep-all;top:30px;border-radius:8px;display:flex;flex-wrap:wrap;align-items:baseline;white-space:nowrap}.dialog-item li[data-v-e5d9bc3a]:first-child{margin-top:0}.dialog-item li[data-v-e5d9bc3a]{padding:4px 12px;font-size:12px;line-height:17px;display:flex;align-items:center;flex-direction:row}.dialog-item li span[data-v-e5d9bc3a]{padding-left:4px}.dialog-conversation .avatar[data-v-e5d9bc3a]{width:36px;height:36px;margin:0 5px 0 8px}.dialog-conversation .name[data-v-e5d9bc3a]{font-size:14px}.dialog-userInfo[data-v-e5d9bc3a]{box-sizing:border-box;padding:0;width:100%;height:100%;display:flex;justify-content:flex-end}.dialog-userInfo .userInfo-main[data-v-e5d9bc3a]{height:100%;box-sizing:border-box;padding:20px;width:240px}.dialog-userInfo .userInfo-main header[data-v-e5d9bc3a]{display:flex;justify-content:space-between;align-items:center}.dialog-userInfo .userInfo-main main[data-v-e5d9bc3a]{display:flex;padding:20px 0}.dialog-userInfo .userInfo-main main ol[data-v-e5d9bc3a]{flex:1;display:flex;flex-wrap:wrap}.dialog-userInfo .userInfo-main main ol dl[data-v-e5d9bc3a]{position:relative;flex:0 0 33%;display:flex;flex-direction:column;align-items:center}.dialog-userInfo .userInfo-main main ol dl img[data-v-e5d9bc3a]{width:40px;height:40px}.dialog-userInfo .userInfo-main main ol dl .more[data-v-e5d9bc3a]{padding-top:10px}.dialog-userInfo .userInfo-main main ol dl dd[data-v-e5d9bc3a]{max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask[data-v-e5d9bc3a]{position:absolute;z-index:5;padding:20px;left:100%}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li[data-v-e5d9bc3a]{display:flex;align-items:center}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li label[data-v-e5d9bc3a]{width:60px}.dialog-userInfo .userInfo-main main ol dl .userInfo-mask li span[data-v-e5d9bc3a]{max-width:200px;word-break:keep-all}.image-dialog[data-v-e5d9bc3a]{position:fixed;z-index:5;width:100vw;height:calc(100vh - 63px);top:63px;left:0}.image-dialog header[data-v-e5d9bc3a]{display:flex;justify-content:flex-end;width:100%;box-sizing:border-box;padding:10px 10px}.memberList-box[data-v-e5d9bc3a]{position:absolute;bottom:128px;width:21.94rem;max-height:10rem;overflow-y:auto;background:#fff;box-shadow:0 .06rem .63rem 0 rgba(2,16,43,.15);border-radius:.13rem}.memberList-box-header[data-v-e5d9bc3a]{height:2.5rem;padding-top:5px;cursor:pointer}.memberList-box-header[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.memberList-box span[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#000;letter-spacing:0;padding-left:5px}.memberList-box-body[data-v-e5d9bc3a]{height:2.5rem;cursor:pointer;display:flex;align-items:center}.memberList-box-body[data-v-e5d9bc3a]:hover{background:rgba(0,110,255,.1)}.memberList-box img[data-v-e5d9bc3a]{width:1.5rem;height:1.5rem;padding-left:10px}.memberList-box .selected[data-v-e5d9bc3a]{background:rgba(0,110,255,.1)}.reply[data-v-e5d9bc3a]{display:flex;width:100%}.reply-box[data-v-e5d9bc3a]{flex:1;align-items:center;display:flex;padding:0 18px}.reply-box i[data-v-e5d9bc3a]{height:3.5rem;border:1px solid #e8e8e9}.reply-box label[data-v-e5d9bc3a]{margin-top:5px}.reply-box-show[data-v-e5d9bc3a]{flex:1;display:flex;width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-direction:column;justify-content:center;padding-left:6px}.reply-box-show span[data-v-e5d9bc3a]{height:1.25rem;font-family:PingFangSC-Regular;font-weight:400;font-size:.88rem;color:#bfc1c5;letter-spacing:0;text-overflow:ellipsis;width:100%;overflow:hidden}.reference[data-v-e5d9bc3a]{width:auto;padding-bottom:0;margin:0 100px 10px 10px;display:flex}.reference-box[data-v-e5d9bc3a]{padding:0;overflow:hidden;width:-moz-max-content;width:max-content;padding:10px;background-color:#fbfbfb;display:flex;border-radius:8px}.reference-box-show[data-v-e5d9bc3a]{width:-moz-max-content;width:max-content;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;flex:1}.reference-box-show-name[data-v-e5d9bc3a]{padding-right:5px}.reference-box-show span[data-v-e5d9bc3a]{width:-moz-max-content;width:max-content;font-family:PingFang SC;font-style:normal;font-weight:400;font-size:12px;line-height:17px;color:#666}.btn[data-v-e5d9bc3a]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.toggleMask[data-v-e5d9bc3a]:before{position:fixed;z-index:1;content:"";width:100vw;height:100vh;top:0;left:0;opacity:0}[data-v-e5d9bc3a]::-webkit-scrollbar{width:6px;height:140px;background-color:transparent}[data-v-e5d9bc3a]::-webkit-scrollbar-track{border-radius:10px}[data-v-e5d9bc3a]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#9a999c}.TUIChat-H5[data-v-e5d9bc3a]{flex:1;position:static}.TUIChat-H5 .TUIChat-header[data-v-e5d9bc3a]{width:100%;box-sizing:border-box;position:sticky;top:0;z-index:2}.TUIChat-H5 .TUIChat-header .setting[data-v-e5d9bc3a]{width:27px}.TUIChat-H5 .TUIChat-main .TUI-message-list[data-v-e5d9bc3a]{height:auto}.TUIChat-H5 .TUIChat-footer[data-v-e5d9bc3a]{width:100%;box-sizing:border-box;position:sticky;bottom:0;flex-direction:column-reverse;height:auto;padding:14px 23px 23px;z-index:1}.TUIChat-H5 .TUIChat-footer .func[data-v-e5d9bc3a]{display:flex;flex-direction:column}.TUIChat-H5 .TUIChat-footer .func-main[data-v-e5d9bc3a]{display:flex;justify-content:space-between}.TUIChat-H5 .TUIChat-footer .reply[data-v-e5d9bc3a]{order:1;padding-bottom:10px}.TUIChat-H5 .TUIChat-footer .reply-box[data-v-e5d9bc3a]{padding:0}.TUIChat-H5 .TUIChat-footer .reply-box i[data-v-e5d9bc3a]{display:none}.TUIChat-H5 .TUIChat-footer .reply-box-show[data-v-e5d9bc3a]{flex-direction:row}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]{width:auto}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]:first-child{padding-right:2px}.TUIChat-H5 .TUIChat-footer .reply-box-show span[data-v-e5d9bc3a]:last-child{flex:1}.TUIChat-H5 .TUIChat-footer .input[data-v-e5d9bc3a]{display:flex;flex-wrap:wrap;flex-direction:row;align-items:flex-end}.TUIChat-H5 .TUIChat-footer .input textarea[data-v-e5d9bc3a]{width:auto;height:auto;padding:0;flex:1;background:#f4f5f9;border-radius:9.4px;padding:7px 18px;font-size:16px;line-height:18px}.TUIChat-H5 .TUIChat-footer .input .reference[data-v-e5d9bc3a]{overflow:hidden;order:1;width:100%;max-width:100%;margin:0}.TUIChat-H5 .TUIChat-footer .input .reference-box[data-v-e5d9bc3a]{overflow:hidden;padding:0;width:100%;max-width:100%;padding:10px;margin:5px 0}.TUIChat-H5 .TUIChat-footer .input .reference-box-show[data-v-e5d9bc3a]{overflow:hidden;width:0;flex:1;display:flex;flex-direction:row;text-overflow:ellipsis}.TUIChat-H5 .TUIChat-footer .input .reference-box-show span[data-v-e5d9bc3a]:last-child{overflow:hidden;text-overflow:ellipsis}.TUIChat-H5 .TUIChat-footer .input button[data-v-e5d9bc3a]{position:static!important;margin-left:7px;word-break:keep-all;height:32px;flex:0}.TUIChat-H5 .TUIChat-footer .input .memberList[data-v-e5d9bc3a]{position:fixed;width:100%;height:100%;left:0;top:0;background:rgba(0,0,0,.5);max-height:none;display:flex;align-items:flex-end;z-index:1}.TUIChat-H5 .TUIChat-footer .input .memberList-box[data-v-e5d9bc3a]{position:static;flex:1;max-height:90%;border-radius:12px 12px 0 0;padding:14px 23px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title[data-v-e5d9bc3a]{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title h1[data-v-e5d9bc3a]{font-family:PingFangSC-Medium;font-weight:500;font-size:20px;color:#000;letter-spacing:0;line-height:28px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-title .close[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:18px;color:#3370ff;letter-spacing:0;line-height:27px}.TUIChat-H5 .TUIChat-footer .input .memberList-box li[data-v-e5d9bc3a]{padding:8px 0}.TUIChat-H5 .TUIChat-footer .input .memberList-box li img[data-v-e5d9bc3a]{width:30px;height:30px;border-radius:6.4px;padding:0}.TUIChat-H5 .TUIChat-footer .input .memberList-box li span[data-v-e5d9bc3a]{font-size:16px;padding-left:12px}.TUIChat-H5 .TUIChat-footer .input .memberList-box-header span[data-v-e5d9bc3a]:last-child{padding-left:0}.TUIChat-H5 .manage[data-v-e5d9bc3a]{position:fixed;height:100%;top:0}.TUIChat-H5 .mask[data-v-e5d9bc3a]{position:fixed;width:100vw;height:100%;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.5);z-index:9}.TUIChat-H5 .mask-main[data-v-e5d9bc3a]{display:flex;flex-direction:column;align-items:center;justify-content:center;width:150px;background:#fff;border-radius:4px}.TUIChat-H5 .mask header[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0;text-align:center;padding:20px 0}.TUIChat-H5 .mask footer[data-v-e5d9bc3a]{display:flex;width:100%;justify-content:space-around;border-top:1px solid #ddd;height:40px;align-items:center}.TUIChat-H5 .mask footer p[data-v-e5d9bc3a]{font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0;text-align:center}.TUIChat-H5 .mask footer i[data-v-e5d9bc3a]{height:40px;width:1px;background:#ddd}[data-v-e5d9bc3a] .TUIChat-header{overflow:auto}[data-v-e5d9bc3a] .TUIChat-header::-webkit-scrollbar{height:1px}.h5-setting[data-v-e5d9bc3a]{min-width:65px;text-align:right}.h5-span[data-v-e5d9bc3a]{margin:0!important}[data-v-e5d9bc3a] .call-main-voice{display:none}.face-main[data-v-6807ca3c]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.face[data-v-6807ca3c]{display:inline-block;position:relative;cursor:pointer}.face-main[data-v-6807ca3c]{position:absolute;z-index:5;width:435px;height:250px;top:-270px;padding:10px;display:flex;flex-direction:column}.face-list[data-v-6807ca3c]{flex:1;display:flex;flex-wrap:wrap;overflow-y:auto}.face-list-item[data-v-6807ca3c]{padding:5px}.face-list img[data-v-6807ca3c]{width:30px}.face-list .face-img[data-v-6807ca3c]{width:60px}.face-tab[data-v-6807ca3c]{display:flex;align-items:center}.face-tab-item[data-v-6807ca3c]{padding:0 10px}.face-tab-item img[data-v-6807ca3c]{width:30px}.face-H5-main[data-v-6807ca3c]{position:static!important;width:100%;box-shadow:none}.upload-btn[data-v-04b8e378]{position:relative}.upload-btn input[data-v-04b8e378]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.upload-btn[data-v-0b03faf8]{position:relative}.upload-btn input[data-v-0b03faf8]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.upload-btn[data-v-3082f8e4]{position:relative}.upload-btn input[data-v-3082f8e4]{position:absolute;cursor:pointer;left:0;top:0;opacity:0;width:100%;height:100%}.forward[data-v-f4db8228]{position:absolute;z-index:5;box-sizing:border-box;border-radius:8px;padding:15px 20px;padding:0;left:-90px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 11px 20px 0 rgba(0,0,0,.3)}.forward header[data-v-f4db8228]{padding:20px;display:flex;justify-content:space-between}.forward .list[data-v-f4db8228]{box-sizing:border-box;margin:0;padding:20px;width:100%;height:100%;background:#fff;overflow-y:auto;list-style:none}.forward .list-item[data-v-f4db8228]{display:flex;align-items:center;padding:10px}.forward .list-item[data-v-f4db8228]:hover{background:#ddd}.forward .list-item .avatar[data-v-f4db8228]{width:36px;height:36px;border-radius:4px;font-size:12px;display:flex;justify-content:center;align-items:center}.forward footer[data-v-f4db8228]{display:flex;justify-content:space-around;padding:20px 0}.forward-h5[data-v-f4db8228]{position:fixed;top:0;left:0;width:100%;height:100%}.words-main[data-v-dfa99d56]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.words-main header aside[data-v-dfa99d56],.words-main header aside h1[data-v-dfa99d56]{font-weight:500;color:#000}.words-main header aside a[data-v-dfa99d56]{color:#006eff}.words-list-item[data-v-dfa99d56]{font-weight:400;color:#50545c}.words-list-item[data-v-dfa99d56]:hover{color:#006eff}.words-H5-main[data-v-dfa99d56]{background:rgba(0,0,0,.5)}.words-H5-main .words-main-content[data-v-dfa99d56]{background:#fff}.words-H5-main .words-main-content .words-list-item[data-v-dfa99d56]{border-bottom:1px solid #eee;font-family:PingFangSC-Regular;font-weight:400;color:#333;letter-spacing:0}.words-H5-main .words-main-content .close[data-v-dfa99d56]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.words[data-v-dfa99d56]{display:inline-block;position:relative;cursor:pointer}.words .icon[data-v-dfa99d56]{margin:12px 10px 0}.words-main[data-v-dfa99d56]{position:absolute;z-index:5;width:315px;top:-200px;padding:12px;display:flex;flex-direction:column;width:19.13rem;height:12.44rem;overflow-y:auto}.words-main header[data-v-dfa99d56]{display:flex;justify-content:space-between}.words-main header aside[data-v-dfa99d56]{display:flex;align-items:center;font-size:12px}.words-main header aside h1[data-v-dfa99d56]{font-size:12px}.words-list[data-v-dfa99d56]{flex:1;display:flex;flex-direction:column}.words-list-item[data-v-dfa99d56]{cursor:pointer;padding:4px 0;font-size:12px}.words-H5[data-v-dfa99d56]{display:inline-block;position:relative;cursor:auto}.words-H5 .words-H5-main[data-v-dfa99d56]{position:fixed;left:0;top:0;bottom:0;width:100vw;height:auto;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;padding:0}.words-H5 .words-H5-main .words-main-content[data-v-dfa99d56]{padding:23px 27px 12px;border-radius:12px 12px 0 0}.words-H5 .words-H5-main .words-main-content header[data-v-dfa99d56]{padding:0}.words-H5 .words-H5-main .words-main-content header aside[data-v-dfa99d56]{flex-direction:column;align-items:flex-start;font-size:16px;line-height:28px}.words-H5 .words-H5-main .words-main-content header aside h1[data-v-dfa99d56]{font-size:20px}.words-H5 .words-H5-main .words-main-content header .close[data-v-dfa99d56]{font-size:18px;line-height:27px}.words-H5 .words-H5-main .words-main-content .words-list-item[data-v-dfa99d56]{padding:12px 0;font-size:18px;line-height:25px}.evaluate-main[data-v-5e2a1c9e]{background:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.evaluate-main header[data-v-5e2a1c9e]{font-weight:500;color:#1c1c1c}.evaluate-main footer[data-v-5e2a1c9e]{font-weight:500;color:#999}.evaluate-main footer a[data-v-5e2a1c9e]{color:#006eff}.evaluate-content textarea[data-v-5e2a1c9e]{background:#f8f8f8;border:1px solid #ececec}.evaluate-content .btn[data-v-5e2a1c9e]{background:#3370ff;font-weight:400;color:#fff}.evaluate-list-item[data-v-5e2a1c9e]{font-weight:400;color:#50545c}.evaluate-H5-main[data-v-5e2a1c9e]{background:rgba(0,0,0,.5)}.evaluate-H5-main .evaluate-main-content[data-v-5e2a1c9e]{background:#fff}.evaluate-H5-main .evaluate-main-content p a[data-v-5e2a1c9e]{color:#3370ff}.evaluate-H5-main .evaluate-main-content .close[data-v-5e2a1c9e]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.evaluate[data-v-5e2a1c9e]{display:inline-block;position:relative;cursor:pointer}.evaluate .icon-evaluate[data-v-5e2a1c9e]{margin:12px 10px 0}.evaluate-main[data-v-5e2a1c9e]{position:absolute;z-index:5;width:315px;top:-275px;padding:12px;display:flex;flex-direction:column}.evaluate-main footer[data-v-5e2a1c9e],.evaluate-main header h1[data-v-5e2a1c9e]{font-size:12px;text-align:center}.evaluate-content[data-v-5e2a1c9e]{display:flex;flex-direction:column;align-items:center;padding:12px 0;background:url(https://web.sdk.qcloud.com/im/assets/images/login-background.png) no-repeat;background-size:cover;background-position-x:128px;background-position-y:77px}.evaluate-content textarea[data-v-5e2a1c9e]{box-sizing:border-box;width:288px;height:90px;margin:12px 0;padding:12px;border-radius:2px;resize:none}.evaluate-content .btn[data-v-5e2a1c9e]{border:none;border-radius:5px;font-size:12px;text-align:center;line-height:24px;padding:2px 46px;cursor:pointer}.evaluate-list[data-v-5e2a1c9e]{flex:1;display:flex}.evaluate-list-item[data-v-5e2a1c9e]{width:24px;height:24px;text-align:center;cursor:pointer;padding:4px 0;font-size:12px;padding-right:15px}.evaluate-list-item[data-v-5e2a1c9e]:last-child{padding-right:0!important}.evaluate-H5[data-v-5e2a1c9e]{display:inline-block;position:relative;cursor:auto}.evaluate-H5 .evaluate-main[data-v-5e2a1c9e]{position:fixed;left:0;top:0;bottom:0;width:100vw;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;background:rgba(0,0,0,.5);padding:0}.evaluate-H5 .evaluate-main .evaluate-main-content[data-v-5e2a1c9e]{background:#fff;padding:23px}.evaluate-H5 .evaluate-main .evaluate-main-content header[data-v-5e2a1c9e]{display:flex;justify-content:space-between}.evaluate-H5 .evaluate-main .evaluate-main-content header aside[data-v-5e2a1c9e]{display:flex;flex-direction:column;align-items:flex-start;font-size:16px;line-height:28px}.evaluate-H5 .evaluate-main .evaluate-main-content header aside h1[data-v-5e2a1c9e]{font-size:20px}.evaluate-H5 .evaluate-main .evaluate-main-content header .close[data-v-5e2a1c9e]{font-size:18px;line-height:27px}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-item[data-v-5e2a1c9e]{width:40px;height:24px;text-align:center;cursor:auto;font-size:12px}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-content[data-v-5e2a1c9e]{background:none}.evaluate-H5 .evaluate-main .evaluate-main-content .evaluate-content .evaluate-list-item .icon[data-v-5e2a1c9e]{transform:scale(1.5)}.evaluate-H5 .evaluate-main .evaluate-main-content textarea[data-v-5e2a1c9e]{font-size:16px;width:100%}.evaluate-H5 .evaluate-main .evaluate-main-footer[data-v-5e2a1c9e]{width:100%;display:flex}.evaluate-H5 .evaluate-main .evaluate-main-footer .btn[data-v-5e2a1c9e]{flex:1;padding:14px 0;font-size:18px}body,dd,div,dl,dt,h1,h2,h3,h4,li,ol,p,ul{margin:0;padding:0;font-style:normal}li,ol,ul{list-style:none}img{border:0;vertical-align:middle}body{color:#000;background:#fff}.clear{clear:both;height:1px;width:100%;overflow:hidden;margin-top:-1px}a{color:#000;cursor:pointer}a,a:hover{text-decoration:none}input,textarea{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}input:active,input:focus,textarea:active,textarea:focus{outline:none}img{pointer-events:none}.icon{box-sizing:border-box;display:inline-block;width:20px;height:20px}.icon-more{margin:0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABOCAYAAACOqiAdAAAAAXNSR0IArs4c6QAAAwRJREFUeF7t2U9u2kAYBfCBAJYKyiLrqgegF2CDkBeV6AV8HYbrcIEidWEhNlygHKDqOosIKhkIVJNiiVoBZt58rm14WQWJFzw/3vyxU1P8gQRqUIohRTiwBIQjHCgAxtg4woECYIyNIxwoAMbYOMKBAmCMjSMcKADG2LgqwR0OB9EvrFarHcDxwzHRAWSvQhrIdZR5gorDFY11DlcaURSurGgppiSeGFzZ0aTxROCqgiaJ5w1XNTQpPMK5btXH9xOuCLiqTlOJ6erVOMKBdSVcCeDG47FV+0ejkdh9qc+B2Opiz7lKNM4WLHsNEoCFwBWJliIWiQc3zgcObdm55vsAoq0jHPgs77/D2bat2+2+XdtyubTaDNDWVaJxLmgpmAHME++m4LTWh8lk0jSNi6Joq7W2mhlI60oPZ9s2g6W13s/n8+/m936//0VrXbc9arri3QTcYDCoh2G4m06nT+12+6fBWq/Xn4bD4XMcx43ZbLa/BnhXcOk6ZgZtGrBYLB632+0vg9RsNj/2er0Xc/wxrb225t0VnFnT4jh+SJLkMUmSbafTeWq1Wj8M3Gaz+bxarZ6DIGgGQfAShuHrpTXvLuBMe6Io2hu0RqPxTSkVKqV+K6UelFIfjtPSvH49vo53u91XgzeZTOrv7baEI9zf3lzaVTlVL2x5l+C4OYBwaYzHkXcAeQA+oiCPlWzxeMuVaZ4t3Okh99qB9/QjXI8iJlv6W650gC54fKwENu/afanEI/TKNO7amc4Wy3eKpvlKwblO2zz+11AYnPlgZGfNItiuedkcshFk/wbatrdNBZkaaUYCzrV9EmC+bSsVnM8XiGZvonHo4H1yhAP1CoOT2iDAcXvFfNC81zjCeXx3kjurx2U4RwtvXBVb54smMlXzONM518chIIEmCleF5kmhicOVGU8SLRe401lT9MYhjXU6Nq97VYel5Z+3SoPmCXRujIXAoeBlyhEO/DYIRzhQAIyxcYQDBcAYG0c4UACMsXGEAwXAGBtHOFAAjLFxhAMFwNgf7hgQbYPVwg4AAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-chat-setting{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAANBJREFUOE/tlDEOgkAQRWcwW2jHEbR0r0FolJIrEL3F3ELDFSjRhnCNpdQj0GmxkTVj0GCBZmXt2Grys3nJvJkMEpEHDh+OwME23xwqpZCJUkrTJdvkXaBHRDcGEdEEAJoWapW/gETURFE0Y0ie55fn9G1zTJJEpGmqwzBcG2N2DDTGbMqyPHIdBMEKEfefckTcFkVxYNbDWRzH07quFQDM2zZPQogl11rrCgAWX/Kz7/syy7Kre6Dzln+V3zes/60NS7dZ4L7/47UZfGzAucM7IfXeo0ssRZoAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-image{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAABLlJREFUaEPlmVtsFFUYx893ZpfeaRNjK7ZJLexuu7NFSmeXNgG1Gn0ooQajpdjiBR9MJFxsvRSxbVb0xRiFUKOJLxrBW5aERIhGCbItUMDtFKTt2psiRiNYH7iVXnbn+8xsO9tl09JtdyuzcV5mds+Zc37/7zYz5wALOQoLS7JGyP8sQ1bKGGQRoTG0/XZdA3AfY3SJcXYqEQyfdHWdvqSxgHZRYHNU+JFeIsKU2wUaybwAfMjA4d2ebs9BtX9AgArvU5SmSAbQSx+jIOxURUAgbBTlK83ynEMvY8ZmY2Zit9ftvq4HYLGsLNX394iNMd8WRMoPWB74UKIgVIHJJtWTQk+of6rwC5OkjbL8kU8P4OEMkvS88eqw/HFQhAD7wWSVDhBRzriABZv7vadO6xFeYzKLpSWIY++PewH+AJPV3qZVm4S7Fj6ol7CZzohqOI1evHp0Iox8sKSg2KN1/qWnw6Fn62tsocz/TwGVlZXCT94LNYj+RwAgl4gucG44vEzM/czlcinz7cWoPKDCn+08/wEyLA4H5Yx3FC3N2zTfIqISYLGteFpR/Fums7IgGJr7un/8dD69EJUAk7V4LxErCFQBzj9MT1r05ZXhv9YT4gvjlYH1DPzc8ZRuBZhFqRWRklTAjJTsB2T54A1Jqki+PPRny8TDcLjfK9+vWwFx74G4z4H/ogoREeTb7CsBgHq6PG3qOTQko0pidaD5fA6o8BbR3oBEj6pzCRxq+7zy8ZgKmK8EHYd37EDCtdocBoG/2NvdfkL3AlR4s016jZA9psFygK/7vO1vxTyEYu2BcXh7PSE9ro0NjB/asH7Nm06nE8PnizoHYi0g9KNqIu6/qV5X8cZU8Gq7rgSYbfZXUcHKkLD5tqaqwjkdvK4ELBEdLzNUqibh+Xc1VWuabgWvGwEmcUUdof/JYMxz/v1yW15TJG+yMQshkyhVAmOrgbHf05JYsyzL/0SSHyabvZYUrNb6ChwOL7MtbowEPiYeUFcHrg3LDQrS6qAFAS4KxpStvedaz99KhNnq2IakbJgMG+FIdlZKg9vt9kciPmoBRUVlGddHh94hUorCJwQO1xYwXuf1es5OBWMWpa2IFHzV5sB/yM5KfX028FEJKCgqvcc/6t9NhNlBC3JwM8ZKtFdsAD7GjdDUd85zJFSERbRvVhCfmbyPH83OTN0xW/g5C7DYHA4kfJuQ0iYgCAzCnoEuzz7LUqkAFbabkO7Q2rjAd/V3t3+h/rZYHZsUUjZOJiy05GSmbZ8L/JwEWKzSWmRsOxEJ6gCcwwgJvGGg0xP4iFGP/OUr71ZGR/cQYm4QVOCfM6QRInouBL41JzOtfq7wsxYQnnQAbJAboK6vU+4Jj3NJejj9yo3L7xHhvVPlAAA7lp5sr4926TLiMmoRpVUK0q6QeO9NTUiuPXPm2OB0FaO8vDxh4LfBnUj40E19BDiRkSi9Ei38rDwQKgA4tNyZvrjx5EnX8Ezlzul08n2uQ9u0Wq9WG2NhXqPX5Rqb6d5I2iP2QCABRWmVeq5eV9E20yM+fHKr9b5FfgMl9Xce/zUSsEj73CQg7hd34395Pd43OOJ+i0lNnLje5NMyP663WTUR8bjR/S+/EAdi6i5GNAAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-files{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAAA0BJREFUaEPtWd9LU3EUP+d7N91QFkJolBDoLOdM0GnzwYcV9CAZPVRCCZkP9WRQVPQSNaL/oKJfDxH0kPUQCRbRg4uwNJmC6fLXgsDCDBKWsul2vyfuxpW7MnR332sad0/b937P55zP55z7/XB3ETSfykpvUYwSJ4BDPQAWEXGr9vpK3xFRRoBRkFjnts15nYFAILFSTLbXUQUod9cdSHA6R8TzsgVV4hHZF4Zw51hz00u/389FYC6HkSSgFB+X5ctGJEFkYbDgrckP/a8NwU+OjSx3qMozhmMA1uvWQttIKBCYyySpz+ezff0+10wExznnm7SxKVx8wwCmM8FU9hLAogVg2m6vGQ4G78a18eh0ey6STIeVRSWJw+5p+31TpgkrfL78+MxcCwC1cE72TOP/tp8hm0cGt8eG+zsQkZKj6nR5nhJRcYpATvtEqLdPVMJdDQ0F0R/RNiA8RMRzROEyxgYKC7ae7+np/IlOV+1b9bTJ3eLYk+nYrKYor7fRMRuZ2csRSpBAxyGB+RzIDURFaj6J4fPxUPAKlpbX9KuL4dGButUU9C/2+P1+9vBx11Hi8hkNibMbhoBadJmr9gIn3pz8LWFPGgG7xdqUjZEZ1RlEFgegb8Cgl1FOt8wXbqa8BmfTCCCyeVFGZiCZtBrTCBiV1EjcPwhkY2RGFZrylZgbIH6ac9qZZmTaU0iUkRlFxOM5ZY1Eg/e1JNI6INrIjCBSVlHv5XzxhoqdRsAoIxNJRBmnhelI97IE1rORaUXQjv2GMzKFiElA5EzrwTI7oEc1kTFmB0SqqQfL7IAe1UTGmB0QqaYeLLMDelQTGWN2QKSaerDMDuhRTWTM/9sByEnsDw8NzYhUSzRWaVVVISxaupaeiZ0uzzsisigLkmS5MT7y/oHopCLxdrh3t8pyol3BRMSE8vf6IyJemlxguBCLlOybmnoSFZlUFFZx8RG7zfHpFXHKTRFgYXRWeysoGl9SXSHBULonS7EX62WclLGRZFsjJ/mkWnySgN3amnzJV+aqvsQJD4pSai1wGNKziY+D15Zes24kEmrxyS5o1VLGCWLK61bart7Ya6HmanIoNywAfgabdHVysC+kxvwC0SKlujS63bMAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-video{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAqCAYAAAD1T9h6AAAAAXNSR0IArs4c6QAAAqlJREFUaEPtmUFoE0EUhufNNBpRWi9tPAhWm9RmU7S6Dekxolc1gqDgxV48tHoS7E0WwWPwoCcp1KAWC0KlHnI0WJGGsj1Ik9ZUbxWsB8HQ0nQ3mSebZsMaKrRmN9mR5LRkZ2f/771/3j5mgFh+/f0RXwGLNwknQ4SAD5F7rPebdQ1AdUJwjVAy54W2Z4uL6TVTC5gXfaHwxSLHu4j8YLOE7ua9AHSjjUJ8OTP/1hhfBjDE66XS/d1M4JYxHsYeGBBQtk2pNGVGnlL4TIjnsafLm8mmUutuECxFo4f0H4UQIfodzvFkOfJAN7yMXQN/SB7DEl41/jTEtx+Qh1X1qe4G4bUaZPmWJ7+pTlQhGLwGf1CeRsSj2wD7bq9k59JuFG9qCkhDEc61J9tZgFXwBwc/mtVm/5H2c26xzd+CaNhp63v+XcVGOvT0nZ03B39dXgi7OfqmNqvmFkAzMtbKQDOibn1nKwM7ZaA3KMc4IVcYgfcnujtfJJPJLacy5UgGApI8yzl6K/X5GwUez2UXZp2AcATAOmm11WX0A2Es/uVTetVOkIYBVLKhAfKE/7gvYZetHAcASqaRk5jZrtttK8cBjJZEOh0OaRq/h4iS1T5gg60aAmCIVhSFvnw1EyOUjnDOO6prA6hGCU7kltTxf1kbDQMwxQ0MRA+va/mRWlsxgIe5JfXNXiEaDiDLFzp+bf4crQWgDB6tZNRJ1wIYFpqcmrmMQEdrLWRUphvXL40risJdCRA6E5G2CsUxIRex8GX0j7IJVAMgCf+xTnE+ZEK2EoHgYIpXdvUAqHjNXO+p8Hks8mFAkurp7npuV9+zU4Vy5Duw11JYz/gWQD3Rs+PZVgbsiGI9c/xfGRB+c1f87XXRDziEP2IyqoHQh3xmORP6mNWEEPGg+zdk8RZTNE1sngAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-face{margin:12px 10px 1px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACP9JREFUaEPdWglUlNcV/n4Ghh1mBiIg1GgSazxg06SoKImN8WjUbFpjMKYJia3NQhVlUUDQKAiIgKI1J4ltom0WTWI1m+uxpiYsok2aCsdYm2gsq8LMwLDDzPTciw9HnIH5B0hP+D2/5zi+d9/97n7v/ySz2WyGAw9to9fJyalnt1anx/l/X8D58xdQUVmNmtpaGAxNaG9vR0dHB5RKJVxdXeHt7YXAgACEBAdh3LixGPfTsdCoVT10TCYTJEni15FHkguqNxi9vgGlZ75EYdEpfPfdRWj1DTAZu5lydlYwaMGg2EtMd3UZu4WicIJG5YvbbhuDyKmTMSn8HqhUvozFUXCyQFkeUl1dgw8/OYS/nyxEXV09FM7OcFUqITk5obOzE12dnSAbMIP/uv5IgER/JMDZxQUuLi4wm0xo7+iAsasL/v5++OW0SDz28BwEBQUy8N4W0Z/27AJlSbipqRl73vsrDh4+BoPBAE9PT9ZGa2srjEYTvLw8ERI8kt+RQYHw89fA3d0drq5KtLd38Lr6Oi2qqmtQUVnFL9FUKJx4HQmuubkZ3t7emDt7JhY98SumKUdr/YKyBFRYXIqdf9qNiooq+Ph4g1RgMDTzoRPCxiNySgTCwsYjMGAEFApFfwKF0WhETe0VlJWdQ2FxCc6WnWOA3t6eIH02NhoQEjISS38Tjcgpk+wG1icoE9m8JLE5vbn7Hezb/xE7u5ubKxoaDAxsxvRpePihB/GTkOAbQJBkhdVZurvlb5ZBhjb/t6ISn3x6BMdPnGRAvr7eaGvrDjIL5j+K56IXs7kKvmxJzSYoYooOpeiVlbMFJafOQKNR8wEdHZ2Yfv+9iP71IgQGBrDNC8cWgaFfNV1bQHvFWfQTBZWamlrsfmsPTnz2BZRKFxakVqtDxORwJK9aydHTck/vs6yCEhvq6rVYn74J35y/AI1GhYaGRvhpNFgWsxQRkyd2BwLzwMKvJUPC1CWJIiZQcuo0tu/YiXqtFr6+PtBq9bhz3FisS1sNfz+NTWA3gSLCJC3SUEpaejcgtQpanQ4/v2sCVsUvxy23+MN4LZeQeQ72Q+ZFfCicnHD1ah1y8rbhn1+fhUatBuVCApaZnsYaE/xa8mBVU11dXVi7Pgunz3x1DZAe0+6bisS4ZexPfal+MAGKc8ivNudvx8nPi3r4mRh+NzasS4azs/NNR94AShB5becu7H1/P+cMnU7HgNYkxbMG5eaMgYIUoZzO3Zidx8DUajXnxqiF8/H80mdvEnIPKAHoi8ISpGfmwsfHi01wQlgoMtav4TxjTdUDZdqe/eJcynOp6zbibFk5m15jYxPSUhJwb2TEjcGGyiSxicJobFwSKECQVmhj3qYMBAaO+MFMzhZIIfSamiuIX53KAie+KWAU5GdzehE4WFNiAyXWve8f4NqrqbkZqUnxLAVKkvYkU3ukPpA1gg+ypozsPHh5eoJqz6iF8zhBCxySyWQyk1Yo8cXGJfOZVKY8cP99WJ24ok8NcYK9Fi17J1JHmLeHnmB80+at+Ntnn3OZRk9BfhYXAMyP0Wg0E0Ovvv4m9u3/mEse0kpBXiaCg0da9SORbC1bA2u/2QtMDj0hxMrKKsTGp7AVUWm1YP4jeOF3z3WXUmR+Or0eLy1LQGtrG5pbWjDv0bmIeeG3fWqJiJeVf4NL31/mwvWun4VaDa/2AqM08vW/yrnQHX3rKISF3mmznxLa2vHqH3Hgo4Pw9PCAu7sbXtmeC7VK1Q3q6LETnAc4mcGM/JwMjBl9q81oR0QL/vAaDh85zsAhAVMjJiEpMZYrbXujpFhHlXv25gIUlZRym0KWM/vBGYj9/fM3NKFCQGLfxUvfIy4xtadYoDw6a+b0blDdifZL3hP+i7uR/nKKVcaEhA4eOoZNedvgp1F3N4AArtTVY0n0U3j2mSftjpSC3q4/v4s3dr+NEf5+XAQT0/VaHVbHL8fcOTOt0hPA0l7OxJl/fMW8Twy/hxOydLWu3rwiPoV7IzK/uBUvYfasGVwGUZli+QgmNmzMQVFxKTw8PHraASp077h9DIdXuQ+lkf98e5ELV5HcW1paMHXKJKxds8oqKMHf4aPHkb/1FTY/6sG25mVCKiouNWdk5cHFxZlVvS0/m3sYayYkQGVT5DlxEj4+PiBfoMBCTISGjkdu9gbZ5peQtBbl5edYSOT4VPo0NjbigenTkGQjAgv+KioqsTwumYF3dnYhNTke0hu73jK/98EBOCkUuH3MaGzJ3WgzJwlQpO6k1A1wc3OD0sWFGdE3NCA5cSX7gr21oVhHvpm1eQtUvr58dkdnJ9ra2pCdsZbdoS96dPbKhDX49uIlmIxGPPH4PEjpmblmMiWjsYsbvlUJsf1GPfKjTw8dxbt793E7QhJ+7JE5WLzocbmW17P+nT0f4MOPD7HGqc14MmoBHpozq0+tC7A5uQXcWCoUzmyyUkxsovny5QqWzNNPRfFrzZ969z0ErNFg4NaAWgK1WmW32fVGLkxJp9Nzi0OtjY/39bLHlqQEn395ey/oJcsZNSoE0jNLXjSTtCk/xa+IsRkkehM2mWjmd72X6v1vuSpzhF5PsDhyHHkFOzhfkZalqMVLzDSeoqxMTkbjKXt94nqn6vjgsbcF9BSldjSfgk8a01Gwo2qIx3TzFz7NAwaqeinGT4mYaDcoudoY7PUCVHHJaW5qqXigZ0CaGmwm5dKzqanoJS+a9cKnYmM4JPcXKOQePlTrrfmUinzKkeg3VEzKpWsz+snNU3IPHsr1NvOUnIpiKBl0lLbVikJO7efowUOxr8/aT06VPhTMOUqzzypdTj/lKANDsa/PfsqRzncomJRD067O15EZhRwmBnttvzMKR6ZJg82kHHp2TZMGMveTw8xgrbVr7jcsJ7TDdpZOpjHsvnoIex9236csHXlYfUkkYMP2m68ww2Hzdb63fw2bexQ9wIbbjRcBTIzBaM4+LO4mWQMm7xZZAPz9/fmLhNJViQ6+RdaGuro6VFXX/v9ukVmGenGngUbOP/r7fpbALM2Rfv/R38zsCxz9n7hDS/eZKu24QxscHMT3jAb7Du3/AEpgAzPGLkCJAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-custom{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAA8lJREFUOE9NlF9oHFUYxc93Z7PrdGvJguRNHySCrhCUBcM2FCYzd9KmsSkEAv5pH4xp65/6IFRUVKgoWLD0RSK2FpFQKwpaa0xXd+4dtlhJY1mU1YwUUwyYF7MQjZuYbmedT27YSF4vl9937jnnu1QoFDoAdFSr1X9c1x0UQlwC8CMzS631n8ViMbOysvIvANi2nWrf2ymEmACwzszjWuuIHMe5rVKp3JRS7gZQIqLPmPlBAMu2bTtTU1NNx3E6Go2GMBAp5RCALwF8C+B2AHdbluWRmbRFyUdKqQNSyvsAfA/gWi6X2zM3N4coim75vj/KzJ8S0ekgCJ4aHBzMxHH8NYC7SEppps8AmFRKHXEcx6pUKi3f9x9g5lki0kEQ7PU870kiOgNAMPOE1vqoESGlPAbgbfJ9f5iZLyZJMhKG4QXP84oA9mutX/I8bxcRTRPRL8z8EIDjbXjJwIQQ3zHz+Q1Qm/ougCPMfJiI3gJwfWFhQc7Pzzc9z3ufiMYBvKyUOtG2YkAIMQ0gBeCkUuoFyufz6SiKYs/zJonoABEFy8vLQ9Vq1ZydIKIXiehoEAQTjuNsr1Qqq1JK86x3ALyulDpuAqPu7u5MOp3mKIpaUkqTRh8z9xHREwCOJQkdCsPg7BbIqwDe2FRYLBbter2ebCjq6uoSjUZjoyu5XO4LAHsBNAGMKaXO5/PO9iiqrG4qZOZzWuuDBr64uBgbIf+DlpaWknbEHzPzIwAeVkpN9/QMZGu18pqUA2eAZAyAGTQCYFwp9UFPT0+21WrFG4UE0LJt24rj+CIAP0kSPwzDsFAobKtW992U8so5AI8y8z6t9Veu654SQjxPRCNBEFwwMJOa6Ovry9q2bSA7AThKqavm7ZlMJk6lUp8AGE6SxHi3IoTYobW+JqU8DeAwM/taa0Vmamdn5xQRuUTkBEFw2ahsNpuUzWY/B7AHwDfMfNIkCuA1pdSbRoCU0nTIPNM1zX4awCkAKwB+W19fH8hmswkzh0mS3APguXa37gTwnlLqmWKxaOzAzMzMuud5mojuNaASAGPYY6lU6gcAPxFRhpnzQohd5XL5Z9d1zbZfAfChUmrMeFKr1db6+/vvtyzrstlJA/qrvTuvSCk3O3IjSZLdYRje6O3t3TE7O/u353k+EZWZ+azW+lB7F82OXrVte8iA1gD8AeAOANuY+ZJlWc+Wy+XfjX8A4s3/Skq538RvekREPjNfT6fTA6VSKTZLe5CZH28bOq21/nV0dFTU6/UO0y3jxdZPrX1/EoDK5XLDAG6trq6m/gMaU/Xc3BYq7wAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-call{margin:12px 2px 0 10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAJXUlEQVR42q2Xa2ybVxnH/8957VxK2qZxfInt3NzYrhMnTewm6W33AZ2EmLRNox8QTKjrJsEHPgBi8AWYQIKNSROID2hICAnxpUgwAYJqN7apa2M7yXKxE9tpkrZJmovTNGnaxvZ7Hh7VlhZtoVq1/axXR69sv8///M9znuc9hI/RFuqhogk1kx4yfYEIGUohMxFn3IVAR5S0hrIQ6YlknPFZsDUeIGzD2eyn5raDhE+JPxRVuAcsKHOgs5cmRmPssu3dVbc7+qRm7iZQylDGPybHBxZ8wUPq4mRcYweC4egu00SgxmrNDo+cv+EJHKRKZZB8OJOKMe6CgTIrS/M4+MCXrLfXN1/SzM8D8AF4hMH99Y7mZHZCRIQi6trKAm+brbEq93U292lmfrVgmj02u3tXZYVlKptMbNXaXIbD1YDc8sLdBbQFuo3V3FXeXb33WQZOEVHMUOqXAG4z831g3e9weWOZZGIp0H6IcsvzgCDBSARwvYwMuEHoZRbRjKP1Dm/OJDUtQtjfHlWrywu8owB/xyHKTgzqYFdfrdb6+wB2kUE/kmBvt7YG394q5Pcy+EFm+Jxu7xuTY/HbwXAv5cQxCc7+jghlkoNzNofzn4ZhxMHYzcz9cn1ZEfY2eb3DydH4VkiWWFzGx1Ha1AqCLnIQjE4QYk1RZ6y1pdtIxN7JV1dX/IqI3mHmo8WCPgVh8/YWoUxmfJD3ByJGfhOF9Fj8/ar6Pc8bFuMFEC0x8+kbW+Zv2nv6nKnRGO8XJz4pQJuAwGA3gBoCzb71p3+ZXKkQaO9Vo4MfbBKMV6j0wJPi2MEr2REtthLKTKUHzUuzwxrCxuI1So/FzihlnCai95nxcH7LfLn94OG6qWRCB8QJbEOZBIZAmmsB3CamBQhWUkgnY7q5tVNlUgOjDPojA3Ws+dlHTjylZIk42NGvAIjQvgMi7FSws69lNj1s+oIRS2Z8IK0qrN8mov+w5vvz+cKL7eG+6rQ4EZQ8QhmltAIEJuQBGCCugiAjIFRUVVDpluMQgQzuuDQ30wTB1EUDgtb6CW3yS8VC8Q9t7dGTFycHiy3BDkv6w/NrSuEHRHSemb+SN82nIOQLxY8EGAQqC1gs1wVP6Ucmwj39lEklzOjxBy1MOAWgmki9nhmNzzT6w8pqWIsQLIbl96TwKojsrPlFWZ7vzkyOF/cfiBrp8cQ1A/g1CCtgPBPq7HdNZ4Z1MNxHEBQZiiEo0BUAlxgcCnX32Wazw+bWVmmG66vrT4P5USIkDDZeg1BlqebU2HmGMDF+fkW2208Mg75HhKus+TuyXZ+emkiYzf4e62QqMUCg1xkcKBSLX4OQz+dVyQFVEpBJxicINMSMrkJBhyDc2DB15Phhq9Z4DEQFMiy/m0xd2GgLHTK2Vzh/qJdagz0W2QVnlVIvMrBpan060NHbOJsZKgAC898BrMn4QCjcVzstuSIiSU2Ox9gvD4RARIk7A/P9EBYuD+uNteIeAHvAvATN0yjB2IaI4apKi9nij4jl8bMkiQcgxFo/BMHubVXd0RMjAF1gQneR0A5Ba1MpQDAMDQgW9SZAi8x47ED3EQ+EzFg8B2AegJeg/eU/Ej5GaiTGFdbychLOAFgFww5hd41NnfnzLzQRjYBRo4tmHwRtmqxKQS7wnXF0YIoIZ5m5ycwXnkQZInoLQFEzng2HD++5ODlkBtt7PyEinSw1qxsqHyNSX1dQr0GwlidoMax/IylqipCFwIrYQJn9oeidRrPP7l4B8BhEhMPp/e/K8vz1gO9o5tbW9S4GHze1tkgJfm9X1W7lavIht0N5te31KNmKV3Mr81sQcstzXGp4V667PPv/Ojl2YRLCWm4RBspIcG5pCNH09MiizdHgZsajDFRKsDeuzKW0NJcJlgQCcKTO7t6YmRod3ltTb9hdXuRWPup2zW09yiwyr69dRbO3g+yNLdKI5hlCU1snZVNxbgy003pueXs7LuFobiZpnbA7PWmtcQzgXgk8Kw9ISwfM2ZyeBTA/DOBYncOdr/kCS6MZ0r4DPca+ereSi2bSg7qhsdFe5/D0GRXGcjYZz7cFI0pEQzKfIZSDf1KABMd+f7fKTAyuS+DrzHyCwWFnQ/OA2LciQrJ2h3eVmY+B8UDRtLgaGls+lNq/aXd6SWYnPaL3Pq31T1nr50DUZXN5l6RGXLKihlwtPnWt5MZOAkpcW73Kdl+ELqcTkzaHZy+YH2GtO+pdje/nluY2xInxenGImXsAfsg0zeMyOwZxdZ2t4VvM/EMAboAyYI6w5hM2h9tRWV01PpWKb/oCkmu5Bd5ZQBm320MyW7h9vvNmvtjC4PvBHHR7WgaWFq+sy3czdlfTu2DUloTgqwycBBABMGcoesVQ1pcBvgxwOzMekjHidHnHMqn4ki/YISKW+f8KkADwd0TVxNCFor3BHdNMQUhxMrXurXc2jklWL1XU1F0/Eg6dvXptdRhQq8Q8Q0RnyTB+LlX1vZp99tuyE0ZcDU1va62dAI5rxhGHo2EoOzGyGGiP3Mk3wl1o64hSdjzB/q7eOl0wfwzGEwDNEdFv9+2uOBMbOFfEDrQGo8pQCloXITVDhzt6K7eYXxAh3wRwrtJa+Vxy9IMbAaklBu7CqihsDRxUU8nBm/WOhneIlAL4CEtjup03/fUOz6zkxDKEOm9YuRo81npJRsNi6Gwyxg1SJ/bZXJbUeKzQ6HSfy2u0AXiUCcPi8lStzWncVUC5WHCbvDfmtwp6Oj10rt7pTgK0n5kfBPMX6+obmu2OxuUrU0OLa7mrpjxYry7NwdPURetrN3F5+kPdIo5IRyzW2z2HGNwP0LurK/NjtXUORbgHWtt8ajp7Ufu7+vdxofgMgx8H35nVEoFiUHjTIDWMqurLk4l3b0E40H10jy7mG7Tmp1jzSQJtWAx8Y2I8kQ20R+9NQLDzGBXzt2jh5i2+eTnFgXDUo008zsxPll9k9hBhnhmTAHIgKIAcBPYzw0ZEV4jUzzLJ2L+bpPRfSiU04d6R5OwlaL5TeCBEIn27N26ZhwE6rsFdYG4GUAsQAF4D0axSlLAQ/pIai095/N00lylVRcJnoE0sNAuapzND/JFLh/eZuuhizTUEAog3YbHMZ0curEEIyBEvve2IR/gcCHcdoq0CaKuYx6XMiMYONPo7VU1VFcv5gLENwueM9AJiaMUMUGkJwIr01PjOx/b/AUxJ2b4KaYLcAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-call-voice{margin:5px;width:20px;height:10px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAAAYCAYAAABKtPtEAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAIKSURBVHgB7ZhNTsJAFMdfh5J0Z12xtJ6ACuyBG+AJhJvADfQEws6degLKrgmQwAmsO5ZdkvBR/08LKQaQlBmk1l/yMjPQj3n/eZ15MxpJxLZt0zAMczab2Whewa5hFzArCAITJRtpmmZtux/XeGHVxzU+l7B32BuXQgiv3++PSCIaxYSd1XXdRqfz3ERZ2eWYbPCuEd7loRxDFGc+n4+ATzE4WICIwzVYGR2w6YwIRemh6iwWC+dQQfYKwE5nMpk7VGvcpDCEE4IDa0OMHsTwdl20VYBCoVCHmux4hf4GDqw9HA473//YEAAjbiHMnxFOZxXeEvEQEdVoRKwFgPM2wr1LyQrzOPiYOKur1eRTAB750HmL0oGPSLjhSBDcgvNNSo/zDE/uj1zRSqVSBd98l1IIJvqqgPN1SinL5bImwkwurZTFuWV0p4RTd51+AUTdaqOzwan2EhFMZQKwk3CI19ox5+mYddl813W9ffdx+p3NZi18n7yDtPGMfFhapACtWCwGJBl0tjUYDJokEVW5iiAFYPQ8ksy+Dc0xKBGADy4oISgRIEn8C0BblqMU4bMAUg8Z+WATK4BDCsCzOySXF4FtYSNyGns0mAAfSBFYXe5l9ZWfA99bmclk4udyuVd0/BI/WljDDYqHg3sbGP0nUgT6Oo30lX+a0tcnvM4sf+p/mKC5EPOWl9YPiabw/cLFfFsAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-call-video{margin:5px;width:20px;height:14px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAAAtCAYAAADxwQZkAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAMMSURBVHgB7Zo7dtpAFIaveNShhkZ0KWUedZQleAWBFZgdWKwAU6Yy3oGzAkjNw9qB1UEX0qUB8v/KyAcnRiD5TPQ4+s6BQdIRZ+afe+/M3BlD/hOWZdWq1aq52+0sSQDDMLalUsmbz+fuP89EM2i8VS6XR/hpSzrwDofDZL/fP7iu6/GGVhHa7fYNijtJJx6s8jOF0CZCq9W6hQk6km62EOJKiwjwABMu8CwZAK7hlkQDEMCRjABrtV5ZQrfbtaBMbbFYzCQmHAUgwg/JEBV+KfOdImKavEZA81A4y+XyQSJSqVQopGQJXwQIcI/CROW3KLcwERPlBGLYCBzDYCi5BFqSJERQ/+N7qi2hBDHB5hcs4Wq1WjXx4lD9WQ8CPTHSy4UkKMIY9W+y/scfWDNdfhz24qvAGPQ4YoLDoQM/6Q41DnWwimdOfCSloL53qP/2xDMn7N2TowMFgYo9/LxG73ooGTeeIMY9Y4ikjDCXPSVOwNkhEkI8HrkIoYtM4SIDyQkXzxOUizTlj4uYEGWkXMSUjBNpshS4CNyjH7gIVma2ZJxYM0a4xwQifJcUwUlanGdEy7Q5CTBJOzmMw1pvQt+VnADLHCBG9dSE6QXELlpBqCXkRgRFTTU6Erlxh/dQiCCFCD6FCFKI4FOIIIUIPoUIUojgU4gghQg+sURgIgUrs0+SEyKLwMyz2mJjit5DhncmGefiVWSn07FRjNDwIOPMFLdzLomZBc6KwKwMTP+W63Ves/dx3X/PVl3aCBWBvY9G+7tT6pbf+0ivZb73j3lThDd630Xj+zB9V3JIIAJ7tsa9BDTeDXqfqSpcj5FhdiTH+CKgsUPuI/BztKM8Y+/D9D2JAA9IScZ4OZ8AK+ihAV/8m4bxDYEv1lmjLJ1SCdByXAdZ36mk57TaWbRMm+FSkQ93JAWH/LJoYL1eu/V6nZOqj5Jy4PoDbQsobN5yvzLVQyp32nkkSYslkM1m8wsW8bXRaBgQw4yzKaILNeu9RvCf8Fr7sV6iVp02j8vh8oMkx0/U4fHvKf9vOe9iv574VGEAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-down-arrow{margin:0;width:7px;height:7px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAJCAYAAAA7KqwyAAAACXBIWXMAACE4AAAhOAFFljFgAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAADMSURBVHgBhZAxCsJAEEXnx5gUkkIUlICNhdqJN7Cz8Ryx8kB6AE/gBWwsbGzVwkYQBYNgrAy4zoYYEjPqh1122P/+7A6I1Wj33CIw0edQqdFhuz7SD6X9ht4sYAgiVy8LNGt2uq1/8NsfBTyUmnMRd4UDMqZSSBqOnMwU9OHmn4JSpb4wgT6XDl/ZIAzK1dryejn7EswKFJljfHaw2aQSk2LT0wuVcRdgb79Z7SA9Mx+CQILjb8iDyoYkysBaBSkgPxMZ/hoghJAEa70AtPJas3IYltIAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-location{margin:12px 10px 0;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAsdJREFUOE+NlD1oFFEQx2fe7t7dJiypciY2sT6CIFuclzSLu1mIhSIaLIKFKJLS2sTKxC5gJypioRYS/EgVvLzANuEIeI3iVQElBItLEI4j97V7b2SO2+Oip2art/Nmfm/ezH8eAgDOzc0ZtVptuFKpQPy1223s/fQtNE2jfvv4+PjR2tpaiL7vZ5VSTwHgLABEDB4EGGBjoA4An4UQd9DzvO8AkASA5wCgnRASu/HBtwGgySAmL0sp7zuOowdBwJv//WJfz/MeAMBSB0RED7e2thanp6ctpVRkWZbI5/M1x3GGwzBEwzA6dWk2m+34BCGEvr29XXVddwUR78UZrUgpl3K5nFmpVNqlUqnluu48Il6TUl6JgzkL0zS1crmsEomEXigU6p7nLQPA4h+gQqHQ9DxvFQDuAsBPRHwPAGUi+iSE+JjP548ymUxiZGREOwnoHQBcBoAjhnS7c4qIfiDiJSnlF9/3hxn614xarVZULBZD13WfIeKUlHLStm3dsixN1/VXAHBaSjll2/ZQsVisDQQ5jpPi+6fTaVUul8XY2Njk3t7eV67R7u5u0/f9C0qpD5qmnTk8PKzygf/MqF6v48TEBG5sbDRt2zY4myAIGp7nnSOiR5qmXdzf3w+5KcdAv7efM0gmk2SaJnGGcde4U0opwzTNVhiGxqD2DxTk7OxsMgal02nBGfZLgcXbE6Trut8QsTMiiKgppVh8SUQsSCnfct04uHu1q0SUY20KIZCIWKC3iKgzIue7c5YBAIb0hhYRFzY3N58waGZmZoGIHvfNTuxbYhgHdZ6Rg4ODoSiKepBUKvWCtYSINziYiF4CwHqj0bgZw3Rdp9HR0VrnGeE61Ov1dt+wMozYHobhm64wOXbdMIzr3Tp1fNgYjw3yolqtHnuDuLDZbDYMgiCh6/prDoiiaN5xnNbOzo7R30nesyyLfgEnOZMZpXUFuwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-selected{width:16px;height:16px;background:url(../img/selected.33c5a61d.svg) no-repeat;background-size:contain}.icon-unselected{width:16px;height:16px;background:#fff;border:1px solid #ddd;border-radius:8px}.icon-cancel{width:16px;height:16px;background:url(../img/cancel.55fd3529.svg) no-repeat;background-size:contain}.icon-left{transform:rotate(180deg)}.icon-left,.icon-right{width:12px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAJtJREFUKFOl0rEOxRAUBuAfnT2IpEO7dMILEzF4pQ7lBbrUDbmaaIcbuRbJH9/BgeScM77jPE9M0wTGWIteMymgGEIIQgjgnENKiZY9RQdSSjDGYFkWbNuG67pAKe1MBSVpFY/jgLW2gnVdXzvdoKBWcd93OOeglMI8zx3qwBN576G1hhDiRv+BoSMNXbotjjHWDv1s6/DDjXyNDxRYp93y9aZ7AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-right-transparent{width:12px;height:12px;background:url(../img/back.edad3f01.svg) no-repeat;transform:rotate(180deg);background-size:contain}.icon-down{width:12px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAAXNSR0IArs4c6QAAAJtJREFUKFOl0rEOxRAUBuAfnT2IpEO7dMILEzF4pQ7lBbrUDbmaaIcbuRbJH9/BgeScM77jPE9M0wTGWIteMymgGEIIQgjgnENKiZY9RQdSSjDGYFkWbNuG67pAKe1MBSVpFY/jgLW2gnVdXzvdoKBWcd93OOeglMI8zx3qwBN576G1hhDiRv+BoSMNXbotjjHWDv1s6/DDjXyNDxRYp93y9aZ7AAAAAElFTkSuQmCC) no-repeat;background-size:contain;transform:rotate(90deg)}.icon-edit{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAf1JREFUOE+tlEtrE1EYhp+5lkRrvFREwYVWe1FaW0NKg1hFvGGltEopgv/MjQs3AxIsNF7aRSx2oaIo0mq1RReWegFrNcwlJDNHzsCMTU2aLDwwTAjfeb73fc/5RhFCCP7DUpoFyX6KohC9N/duGiQ3+n6Apqk1YQ1BkYKV1a88mJ4lk+6lr6f7H9iWoCg+acnK5Xm/9JFkMkE208+pwXSVu7qgSEmxaPNh+RPHuo6Qn37Mwrsl2g8d5ObEaLMgWSe4NzXDm4VFsgP9nD09yOzcc/p6utjbtqfKXk1FkZqZwhwvX83Tun0bv34X6exo5/rIpebCDoRAVRSevXhN4clTkokEIgio+D6Xzw9xvLuDqGajtypFQRCgqipvF5fJPypgmgYK4Holzp3JkjnZ2/geRXY+r6xyd/Jh2EzXNWzbZSB9IgTVu4yyNlQUFfxYW8fKTeG6HqZpYjsOnUcPMzp8ATlHUl2VHeXvP7E1CbtjTfLl2/cwF8dxObB/HxPXhjEMveE0KkEghAR7pRK3bluUy2V832dnagc3xkfC355XQtXUWJEcc9MwSKVa4waxIrnByt1n7ec6LS0mY1cvYttOGLqEREve8kqlQtvuXYyPXQkPJ84oKpIFEqhpGrquh1nJjfLZuAQiBEhVcYN6n5GtTqhWYI2nv07Mm0/wD7ZEFtoGKot4AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-voice{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAeCAYAAAA2Lt7lAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGKADAAQAAAABAAAAHgAAAABtdYANAAACAklEQVRIDa1VSytFURS+nnlFlIFHSibk1Z0YiPIDKGXARBkzMDEwMxA/gZKMiMw8EhkYKBMjKSNC8hh4pDwGnt/HXd3lnLUvzj2rvru/8+1vrbXPOfvsG4kkH5UosQ4UJF/KX6EU0hHwAWwCGUCo0YFq7wAbEDNA6DGEitKAY1/oHVBwEpAmF+B5YTfJQsFT1WQ0SIN0JEUTJPaoBk/g5Qm8vqlUKPPAPVDvm40LO6DyqIbj8u9sXCWegOc4UrqVb9fhMeVqqLcqecR0fb/cZ+WrcPhMuVclPoC7vtxl5Rvks/1rzMK4FzPnYmx3JK4pvUEacAdwgiC3gi9vTk10Kq7psbooI+8H5M3LSM2KRoji2bcM0Oq8nkMlSDI1K4ogiufGMkD74eEjKjSMlkYbd4hEthDP+MPDBiseAy8tjXoJf2JxKcQz+jxcLQvKrZO77kAfB1uewnLZompt83y5A3iuS1Feu6JLTWworunXzokJPFn/HNwdb4DcKb9uKyYgimfMMlhaJkR9kC1ZJmgpwDkgDZodPp88oJJewF2rb1K+K3D5kEETRxqmFwCujM1cMYUJWT35v4JNeOC5ogYTr4A0aHUZg+p8L1J8NWgRVx63rxTnXdS6jEH0KJIeAWkwHaSIK6cYE2eq+AF4vsscROdJsAhw9ddAFRB6sAn/iNqsyp8SEo8bVGWmawAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-reserve{transform:rotate(180deg)}.icon-del{width:16px;height:16px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAjFJREFUOE+tU79rU1EYPee+l/dagsalqyidnMQOOjiYQRAUaW5DQShVHHQQURcdnOJfIAhik6kQtdqYdx/NJP4gVRc3Bwc3p1YQQQImJDfp++TlR5u0akW8cJd7zz3n3O/7DvEfFoc5BCABsTMzUxA5CqAFpUYwCWtXWKl8G2Dj95sAyeUU1tcdFgptm8lcBnAJZA2AMyREAa76xnyUdNpFtboRi46o/OvPKLOzDkuljXY2e1Oi6JwAXwjsATDWJWUsDkB6giLynaQnItYjz9OYrzGiV4fp6WPiOAcocgfAewCvIeJDKRciUXeTHQC3AbwkELqu+46l0o+tmvQd2UzmhZAF35iSzM8nWSzWY7doNn1WKo2W1s8hsuiH4dLgF1sk6bTLarVjtX4rwD3PmGdtrT8l6vUpm0yeInDFM+Zk914k74fhw7i48ZuR7jCXi/okd31jgrbWa24qNWlrtbMkb3hBcNxq/UaAvG/Mo51Ocjm1ncRq/TmRSh2ytdppAtc9Y050ScgFPwge70riGWOs1mtes3nQjo9nCFzbdPIXJFUhH/hB8LSTzV5wlFpqAfvdKDrslstlq/WqkPndnKyKUvf9cnl5YLc7H4Puaf0K5KIXBMU/dWcBwBGSyxGwT5HtSEQpQCKRhAIuisgZLww/xFGJ67jVnf7QydzcXtto3CIwCZE2GM9ib1RBuhH5ZCwIVn4ZwEFuhi9/l6XtmB0BjAFIp4eTO8o1MSFx1oYPfwJaFk4haJPoLwAAAABJRU5ErkJggg==) no-repeat;background-size:contain}.icon-work{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAABEBJREFUWEfdmGlsFVUUx3/z9k4fLVINNnEBpTXEpbaNG1QFNW2sbSBx+YIxEauBuFaxIp/6CRGXugaiiImRLy4JxFpto0JCwS201iWEFgWXpJJQpO3r29+MOb1vMqC8N699tW28yUsmb+7c87vn/M+5Z0YDqG8OXe726G1o2hKgQP6bxhHBNPenkuHmjrbgD5rAuLx6p4ZWCpiANo0wYmrcpok5aCTCdVpji9EB2q1AAvBOM4xlLm3b/ERrbDFHgeAMgfzTbEiAjBkIU6b9mwIkMZw14/8H5NJAS+el+NrI0995eUhgonGIJVXE/R4I+PKDmjSQeCUag/Lzoe4aBdT5NfT/DgE/TFaZEwJyu2zth2OweAFsWguBdPWKJmD9Fjh4FHS/PTcleZzjmBBQOAqGAUEd5LplFdReDfF0yHwe6PoGNu8APQChMLhc6jrXkROQuF9+NRUwNwjdffDbMdi4BmqugEQayOuB7u9hw1a4YL6afzKk5kuILfFng3MEGtdKHB69E+qvU0sJzMNtUFkGrffZepG5rW9B7wC82qygZHR8CS+/rwTvpK2sQGJAdj9/HmxdBz4fJBLg88JL78GHe6BhKdxcrQx/fgDa98Hty+CxuyCeAK8X4nFY8zwcOwHixWxQjkDJFBTp8NrjUFKsNCS6aN0On30LZxfDovMU0OE/4Pgw3HIVtK625w4Nw0MvwkgYPO48gMSI1BrJqJuqYe1KKAhAx3545QNYUQOrG2COroBGw7C9HXZ1wyN3QP0SiERhy0744oDKPKfC6aghMSSFeGgEFpRCUSH09kPjUthwz793K2He+A58tA8qy2FkDI4OQkmRanycRk5AUkfurlVeKvDDzr1QVQ6XXQRyz6pP1vWPv0DPIVh5A0RiyjvvdtnzJp1lohWpJffeBqtqQfQkGtjTC5cuhHPmnt5iWu3m8ZPw0xG4sdJ+ZkcXvP2xqmGiw0wjo4ckTBJvyYrXn4DSEntx2bGE46w5Zwb6a1SFVTxqbWJwCB58QWWt6DJT+DIDaWox0cybT0GwwM6a3T1wZVl2oO8GYHmV/UwoAvc/qzSVLdOcgXTYth4K8wQai0DTJufUzw3oaSgM5OehsSg0PTMVQIXwRouqNRJ/0ZRoqKJMpXLSsN+bRBcelyoRfQNKQ9YzUqMe2PwfhUyyrGJRdg31HYZllbZX8w6ZlZaSoiuuh0suhFhcnWNSZxaWKl0lUqd7yOsGMX5kUNUpOc/8Pjj0K+zaq46dSdch68HxPuiUPJWwSQZmOiSlWksmWW2JdQTl0hflVKlP7RRlcQFx6m3ONCeXzjEnIKfzZyrvz0qg2fYqbYyCNks+NpghrWFd7FPN5asDpFX3TKUeJrDWuG3TiHdqy5sOVgfnlbeD69yZ/GAFxp+hE/0N0mUIVJVefPFzLrfnWtCm+ZOeGTFSya/Cwz8/uXvb4p6/AQgE/yviFTo5AAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-public{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA8JJREFUWEfNmEFoXEUYx3/f231116w2JFg1ppVaS9XaQxVUtNBbQ6E0N/GkB88lFBq8SEVaD1KkIvSoZ+lFCqJWRPDQNunBCoamaZXaBmstoRvTNS/pvp2Rb+Y93ELszsZHkrkszHu785v///u++WYFYPiHxg4qleOIvApUdW4FR4K1Z1lYOHhqd+1ncTDV6mngccACsoIwulS+5h8kyZDsH0u/kkj2Ak0gXmGYfDm3tjX2axkeb91BqK0SyL3LWhoyfL5lVsGm/9q/VSD1cM2MZQPlkV/0bpYFFAmkajRQjsBanypFjK6AVBXlSFrQG0ME1JuwLoKyFAMVDKQwLaAk8OagsLtfHND5Wcun1y3zrWKggoHUpr9TOLBZ2PeoYDKPdP7MbcsHVywPRCCqVGahPsvfC7UzCEjVSa236cSOiIfL3joX2NYrd2DCMJ34eQWKI29tTykUxb8XDNS0sGGdB6qW/q33KpQCHLpo+GkOXu6FNwaEh2I4V4eTN7yUoedREFD+gwp1ZJuwc73gqpeACvDbvFdooALHt0c8WMI913j7/HfLZ9OWmqoakIpdAd01MFiFd7dGbMx6gpm78OEvhvFZeGtQeHuT0DSg8aNA1xI4OGGcrSEqBQPp5mKBudR7vXM9lIELcz6+FGDvI8LIUx5Ih8bR5Ybl0EXrnoeMYKA8y56swtAG4YmKr0M3F+G7GctkA/pjOPpMxNM93h79jqr3/Qz0FGlZDvNaH4xuuTeoddeq0ImrhlN/Ql8Mu/rFfY7XLb/O42IqJH6CskyV1tjZVIWPsoB1FmX6qztapXXBdyaNq9wv9YqrSdcSy4W/QJNB7Q6I6c5pr+rcSWEkK4gKowDtI2/5bi1qNolTJJ+71LAcvWyZTcOggmJId3/sOWFbzVfopQK0ffe5PTqn8OduW45klbyTSh2B8h/9eLtP9fs13fli7QLqnKo6MmFcvVIr7wdVKNBSaZ1v4PCUYbzeOdtWDOi9KcNYUUBacdUyzbRuG3BVSDOycIU+eT5yxbDbi1v+/vtThjN1Op5pHS3TANU6MrpF2NUnrhELPQYURtVtpHD4kuF64rvL/xXUWcvjDsZaVl9CzqT8HVdYre+NQtrcjgq1L77cC5PGkKraqQYFHR3tQIEH9pIChsB0DdSNVct9dw1epdfanw37zy5+I+V4CKz2gtoErsZIQco2bZ6WPV9Mvlgd2PolEj3m7w9BrW+R0Nbd5qy5mdy4sk8TR/acnHyhsnHzMSnFr6zGX3q21RxbmL46+u3rz/74D2h6vEx9UDTNAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-meeting{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA6NJREFUWEfNmDtMU1EYx//nPqBIoQRFaIEgBBGMBCMmEowxcSEqJupg4qKLiTHGwcHFhbjo4OBg1Jg4qIsJi4P4YNEYIjAYEIhBEAUMFFBBSgtFem+P+W57mlL7gkLbk5SS23vP9zv/73XOZQBQ0vm+Fib1DmOsEUAWXUvicHPOO7HsuTrReHiAEQzLUtsBZgXAAbAkwpApv00+xd2eJlba0/kKjB0F4AGgJhlGmPPZ5vw1K+3tcgIwpwgk1KyLgLwpcFOk9XMCIh+mzUgIiKJfYqtzwMu5EaXrHesCkigRGfDX6zU+uh9BBkOmJBkfuuRdB9qagIQiTp0QOHZkmFBl2oICVTEE+eXRMLy8hLGVZTAw5Mgy1qpY3EAEQ64gmIM5ubhcWIxDORaYJXmVd1y6jg6XA/dmJvHBuWBAiWfjcWNcQDShDkDjHDeKy3Bxuy0wNylAv0n+eAqOqIc/7WiZHIfCGAg7ntiKCSRW5+Ecj8qrcDxvK3Tum5oCOrSs0y8ESUNmDC/nZ3FhdBiq/95YUDGBaNJ5TcPNknJcKrQZKtE1GvS3ZXIMI8tuPK6oNoyK3kPfBE7qPJix4/rEKPIUJbCYSO6LCkQKuHQNDdm5eLGr1ghk0kSoRt9NQ/3oXXThW90BI16CmyH9L545MTSA7sUFmGUloGA4qOhAYHB6NTypqEaz31VCHWH49NfP6HMvon9PPbKl1UBkkFSiZ9rmZ3H++xfkSErUchARiFa/wjlsagbe1tTBIiv/rZ7uOUlASy4M1O43Mk70IRFbAtyhazgy2Ae7ZwUZfteuSSFalUPT0GTJx7PKmv/2JcJQKFC4/Yu4dnZkEO2OOViixFJEhQhoTvPg3LYi3C2rDEgvVhXssk/uRXTt3muoSKqSAiZGhcA3hNuujI/g6e9p5CtqxOBOGOjY0ADeOf/ApmYaKhKQldxcXRcIcioDtMCEgeJx2S37D3Q4HTAZAc1B9apAVXG/bCeyJClQDCmmEnJZrKCOpw3QPRsW1EYljpL2wbEUNltC4ifhtBetIVJhjEehDS+Moh+Fax2xjiab0jpEv6LJ06a5CqhI24/g7h7a/Tdl+yFiJewGzWyBWU7BBi0YilRIiy1scFalzSY/NNXT5hgUTw1a7z1peZROs5cNHzveQFaa6JQDwHfiS/7w2da1dmZta61XbCVtYKwopS+sOJ/W7BPNlCjM+rx1n1pivc0VpSEVr/SYpnV7JqauTZ060/MPvgtJSwaxm2IAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-room{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA4lJREFUWEftmN1rFFcUwH93djazm03Y9MXGKq3Qqgj2RamEaqEibTArKnQpwQ8sYn2ookS7zUOjIBUEfehf0Bd96mNBbC2UUsViQUKsUApFsAGNmpqYTprdnZ2dW841Q9fo7GRDvgoeGJa5s/ee3z2fd0YBdO24/aZKpr7UWG8DaRmbRykqgp91pdRz6ZvXbymBIdl8GVgKaEDNI4yoCnUOUZnoVF35e5dAbQUqQHKeYUJ1k7r1tyqXH3I1tCwQyFNqFYyrrvxQsABuitq/FiDx4aKRF0Bxrvj/WUgpsKy4fUU/r1Ybm1vXQgLj+1AsSSI2LjK/OW0hv9OVSKAQpi1rsWG909Ciolzml8uaX26UKZX1tOdHAiUSMPZ3wPauDMcPZxHTy9h0ResnUL0nR7gxUKYlo8waMl5PooEsGHMDduYy9BzK4nnPAgVaY0nre45LRLFtQ98XI1y5VsJOKuwEJJP1/RdroRAoykKiONCQmBL4oYWOfPYXfw76HP0ky/0HVb4679KcVmbO86QhIMk2cYNX0Zw6M8qqN5J051twmhTBZAOyphjgh5+KrF3TxMtLEgz86lE48QjHUZGumxHQ47GAvQcfMvo4YPXKJPv3tLKxIxUZGgIrm+m/6dF7cg6AJNg/PjLMxITG8zR+FTZ1pAzYitdss/sw1QVG7iUh5sxCAnTg8DDuP5qUI9mjuTPos+fDFnp72oz7aotpeD+nQAePDuO6momi5qWsRXc+w85tGRNPtSKxqycB5xSoe/9DU/g6t6TZt6uV9iWJp1xVCyXVXkrAwC2PQt8sxlBYGMUFF752WbO6iQ3rHAMi19SeJ2OlUoDjWOaZsZAEddNMsmyyMO7IZTh2KEs1eLbWiBVMuhPdgE+fHWX5MpuPdrfSf7NM4cQIzalZqkO1rUNAJJOiGmdt65Ba1PGWY8D/uF0x1TqqhUTWITGxO6557900nxfaqPgzOIZo+LTvEb/97pl3HdmEZGW9flb3+BHWj1fabVNH4hpjbSCbiu5phh48ORCFloxbI/bEKAtUfIna6fb5//4nEHHNdOqqsUC1u2scqTGrGl0vXoNizLwoLbS4XqVz+XuuRi2Sjw16XG394O53SiU6QfuAPZNMmoU5Pihb6+pltTl3fX06/epFUO0L+8FK3y8WB7fJ4UVtfv/qOqd1xTlL2R0L8Ukv0P71snun8OP37/T/C2rc5TFaF3blAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-system{width:36px;height:36px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACpCAMAAAHy0MbyAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAJYUExURQrBYAvBYRPDZhzGbCXIcSrJdSHHbxjFaQ7CYwzBYSnJdEzSi3bcpqLnw87z3+X47uj58Ov68uz68+n58ef579/36rzu05Djt2TYmz7OghnFai/KeIHfrcPw2OP47fz+/f////P8+Nb15K7ry1vVlBrFaw7CYlDTjqrqyPP899j15YrhsxDCZFfUksDv1vr+/C7KdyzKdq3qynLbo2HXmf7//rTszhTDZo/jtk7SjCjJc7nt0fX9+THLes3y3/3//oXgsA3CYjTMe5HjuA/CY8/z4IDfrRbEaLft0GbYnO779Pb9+cLv1x3GbNL04ub575zmv5flvEDPgzDLeaXoxIzitPD79TXMfB7GbeL47F7WlhLDZavqyfj9+03SjN326YvitEbQh3jdqO/79CLHcLHrzE/TjSPHcOT47vH79rHrzUvSivf9+vn++8zy3lXUkdf15SDHblnVk+D36ybIclrVlGfZnHjdpznNf1HTjhfEadv26I3itUfRiMfx26Pow0HPhJPkuZjlvMHv1zjNfkTQhWnZnhvFa8ry3TLLepXkurbt0Gvan4LfrknRiV/Wl9X05HHbo7/v1Z3mv8jx24jhskjRiTrNf8nx3Mvy3WLXmUfQh0XQhu3681LTj9n15ljVk2XYm6/ry+H37Or68bXsz2PYmjfMfW3aoLvu0zbMfTPLe77u1S7KeErRirDrzNr253fcpkPPhSvJdafpxr3u1N736n/frPL89o7itW/boWDXl3ndqJvmvvv+/Xveqsbx2tz26fT8+BHDZD3OgYTgr4fhsQAAAKRC35oAAADIdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8A9ppxxwAAAAlwSFlzAAAXEQAAFxEByibzPwAABVpJREFUaEPt2zuP2koUB3BaN1dCLikwols5fVb5Cim3QaxEtNomDdJKaHWbbaBASPcTUKVBShv6NNH6e2Uefxs/5u0H7NX5NXiOzwwjY+yxPR4N422MhYqEw/KFiDbiZ3UY0V7D1ThizDMiAmIcIkIURaycxlGEQCFLRvUvlDJ8/j+MP2OhTGymxoqxCDc2ioz6/mgo5hB1C39BtBZGkEFAQIiLERKiKN2xtc0ffpSkD1MsVhzxSZxgoydLlA2QKfyLmA7S4Buiaitk5RBWQ04BYTXkFBBWQ04BYTXkFA6IqyCl5AvWNGB9DVbWYW3NGWvVZGOZsb8X8i+MAiHe5rOFeYfMbcSuliQzlA3WSGUQ0fqGPAExHWRJvxFUwzk2h6gacnKIqiEnt0VYCTm5FcJKyMlVzrB1yMl9tFzTBn5ASgFxFWRc6I+YSCjDmoZGDzisq8PaKuWQR52qaTi/BKjB2jo28mZjb7k2TkRRLGv9lCcgTUdrkiQbpbZTVk5003VYH2X3lo4SQkiAN3EokhYbBNuqDFWkN6xqoTRWKmt5d2SJZhSQESQfAyohJwRa0ECSvzka0LhHmrcZGtBYI80b6usYR1kG7ARuRO1KH63d0D8GausFdfiAykbI9fAdNS0+Id2RU2cl1HCivHrQ8bgPihpuvqOSi/RxFRd4XSwyU1bEIndKUcVbym8fYplhBeNlswfWVIJuTXh35WIH7lhjvEHhAcEuRO9/ZKOrPSKEEEIIIVey+e+f8Wy8e3V4yuxuWb4AV02QCFO/rH9CvB3FLRPlbB5P6lsmWBnuBQ3VYXUwNNPg8NTPhA+o1Vr9eKb7UUgJUnt8WDFHTgDDXTkGSQHM97ncHt6ooAGN4NtctstZZHnbo74O0rxpHsgVkObtHvV1Qq+4be2G3hCndiVqV6J2pb7afUJ9HbcpYk316Xx15smAeqiuhzxPW9TWq8xQdmW9u+53J7VQ3Dc0CJgCa98KHJLd2c5tOaQ7QzUr46yoJpeNK3ndY85QyYXPcApV3KCOA9cfTZqglp1fu+7/utT9Z9NNoFJLj2s8nuBYZSxx1dKd919OTKxixLOiNC+OnnkJBdtUKzN+ALo8gub/byy2xVq6bMRKoR3WxekjllfsJw1+fl7H+pjEfHd65ztKV90did/q8hynw+lmomEIfi6mdEKr284nx02y7GlPU+4IIYQQQgghhBBisVxuNptOp4j0YpOt60/wF/MfN9nvHzt0UGH2OfTJUT9eTdMipPmt9Hhj2K4Vr6hwTYcFOuOiu3lUYZauWzZ31S3s90hD2F3vQKF4xdBudq3/3G90wFfoc+t2grYtN75Gf1/x5QEWaGJAL7YpBSah0w3C2SZWGI0HPzzoJ0+66GZ2rDuPV+tUWkyvDGKbvGOx7vbxn9UnfG+g1cDnirbdfUE7A6Hu9om62yfqbp+ou336YN1tMTjn4oFPwm5TR/U6m+flJOCKvSr8vZQA5ZlggQa8/jn7TMTU8ZpZ20ary7SLfMpiv9J2V2klsfuE3WBHfFcnMjTal32buwsKcfgbcQ463bRSfxeZ6Rpf0a2A9xtcTLo4fKn0soH3fAp6P/o4xfWw3+amPfzhetpzuR2+olv3fMp89+56HJ1F+4kCdpQTihVnuc/HB5TLDpOB75VJE9GjZKX6cow1Bx0xWkR4A+AB5ZIU58Gejq5hnnGUaxxCMdacnlC+EZP8qHwqvwyB/ZZF0xt7RSJdF4eN6Wl7PP7asoHmFNv2J5JuyVk3Wnu8yt/fKkq32Jwlq/tbflMmet/e/ZEdncZfj0Gvvw4s35ztXpkjhBBCCCGkrdHoLzv9X1u4OdoGAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-words{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACSZJREFUaEPdWgdQVHca/22hLks3xkI1iWhyFy92RYmJ550md95dNGeL5kxsUQEbYMEgMYoUFYUYzYkxxjKnY05nxJzGiiW2RHNqLAiMCcYC0mFZttx83/JnKAs8Vtj18mYcGHn/977fV35fezKj0WjEr+ySNQWK8D6NmGUyGehfY1ejoAwGAx9s6rCtDCyULZfLzYpgFhQBogOVlZW4fOUqrv94E48fF6CqqspWOGBnZwdPTw9079YVPV5+CQ4ODhBy1heqAShx47fnL2LrFzuRnXMXRhghb8Lc1kJqMBohgwwB/r6YNHEs+vXpZRZYHVAC0L/3H8CGjWmsHScnJ2g0GraSLSmFdEryODo6oqKiguWZMW0y/vLnNxoAqwElAJ09dwExsavg4qLimysrtQjq+jx8fTpBrlBYyygN3mPQ63H3p1zcuHkbDg72HB6lpWWIWRqJ/n171wHGoCjwiBC02iqEzY3CTz/nslbs7JSYPXMqBg3sbzMw9V+ccfos1qduQlWVjq3l07kTklfHwd7ejpmayY0QCSudO38JH8bGQa1WoaysApELwhAyaABrga7WpHeDgQSAZHYVLEwWOpFxBqsSkqFSOaGkpAzLlkahb5+eNdaqA2rL1u3Ytfsr2NvZ4fnnuiAp/iNQZqaM0FrULhQjnie0K8UVmMqr5ZkXEY3bmXegrarCmNF/xT8mjTcPKnFNCo4cPcEW+eOw1xEeOgN6vQEKhfl8IEWQ2vcQexGLGg1G3Mq8A08Pd7Rr513jNlKeJ+RZu24Dvj50hJX9+mshmD9nlnlQK+PX4GTGGZBrvDFiGEJnToVer4eiFQhCbzBAUR3cn2zcjOMnTqGdtzc+jl2Czp07SgYm5FmXugkH0g9BLpdh8KABWBgxxzyouPi1OJFx2gRq+DCEzmodUEKQrOwcJCStR2ZWNrw8PZB77z4WR81lr5CqvBpQKZtw4KAJVMiggYiKCJcAqhUsJQiGgvvY8VNI2fAZ5zwXFxeuUIKCXsDHyxbD1VX9RJayGijBqDqdHkRAe/buh7OzE7tyUVERXhsyGLM/mMr5sCVkYc792hwUCUiASPi8vHwkrU3FhYvfw9PTHRqNFnq9Du9OHIfRb42sSREtYVarg6pdPV/54SoS16Ti0aM8uLu5orC4mONobthM9HzlZQZuSRdgVVC1889X+w5g85ZtkMnlcHJ0QEFBIXr0+C3Tbvtn2kkmBXMUbzVQIibKy8uR+ulmHPrmGNQuLuxeVJ+N/NNwTHlvEtdsUlmusZxlFVACUG7uL1gRvwa3bmfCzdW1RvhZM97HqyHBdciAXI8qflEmPXUxJUAtXBKLi99dhqeHBxeaBr0BTs6O+M1LL6Jjh2cRGOiPAD8ftG//DOzt7esYon7p1FRlYVVLLV22EsdPnobaRcXMp1QqWTbqfUykIGdK9/byhI9PZwT6+6JLl0D4+HRCh2fbcysh5bIqqPsPHmLf/nRk3skG/V5QUN3+y2RcIBNQEpxaBq1WC6PRwP2Zs6MjuncPQuT8MKjVpjhsyh2tAsqcdouKinHvl/vIyspBVk4OsrPv4sGDh3hcUMjFMXWv7HIEQC7Hw4ePEL1oPn4/dAhEjWhTohAvFzmqsdyTl5+PkpJSLkK/Pny02npylJdXsIUS4mK54XtqLSUA8pS0erBB7vfDf68hOWUjVxpEFkXFxfD382XX6xLo3ywgepzN3E9Yr3bVsOtfe7Hlix1sIcpXhUXFGBw8AOGh0+GqVjc67qrvhjYFJQpaSsjrUz/D4aPH4e7mxpquqNBg3JhReGf820wKjc3vbFpR1H65qaA1MiHQ9Cc+MRk3b2XyILK0tJRJInz2dAwK7l89+5BxTyT1somlaoah5y5gdfIGLpOICKj+CwjwQ9SCMAT4+1lcLtkEFGmc4mfrtp08GrZT2qGgsBCvhgxE2KxpULcgfmzufsJCe/buwycb0+Dt5cVzRE2lBhPGjsaEcW8zuxEZtsTdbEoUAtTyFYk4cuwkj6tVzs4IC52G4AH9LO6fbApKJM07WTlYl7IRzs7OmPLeRAQGWB4/reJ+rTUiq10VtISupTBgi0dkCavX4+ixk6Ch44g/DEXY7OktZikBqLnFmBQATVkqef2nSP/PNzwcpSHOgrmzzY/I/pm2DRTo1DZQ5Ry/IoZzzpMEtqXCN3ZOyBOxKAbXr9+ATqfDqL+NxPuT3zEPKuPUWSxfmcR5hbaIMdFRPCQhk5su6UmS7iZlNNZG0Pi4ZZdp30415KXvriDmozhOGVQkL1k4ryaZU3tTZ5VTVlaOWeGRyM/PZ2Hc3FwRtSCcV5LNVc+NCWjunCXPEmdoVRuXsBbU3tD/eXl5IWXtKqhUznVXOSSQCGgamsQnroOHhztbSyaXoXfP38Hf1xcKpbSlm2nXpeVz3bp1rXm2EKxCo0H6wcOm50tcu+p1euTcvYsLl77nBQNZiaqUiPmhGDZ0SMOlW+2eiF6S9vl2bN+5Gy5qFVcEVJSSu0h8P09UKjVa+Pl2wpqkFfBwd69OvBSfcmzavBXbd+zmXAZezjR/UdKmepJSRZWuCqUlZRg/djQmvzu+gRc1WGQLbaYfPIQvd+7Bo7w8KBXKJuOjfkGrUCrh5OiIwoJChAwOxqKoORzQREBHj2VgVWIyz88pViu1WkmRKgplnV7H658JY0ZhxPBhZsOiyU8OyLxnvj2Pa9dvsA/ragjDvGbpxSR4weMCXrGSJWhuPvODKRj55nBkZmYhakksA6R76e9U5IpFQlP2UioUHOMvdg/CgP592PqSPzkQD7YkaQorl5WVgTZ9P+fe490xAY1eOB+fb9uBH2/cgkql4p4qJjoCvXu90qJ+Sop8zX7GY/p2wbQelRLUQhlXr93A4uhYJhex36Wf1MYXFhZxLIz9+1uSAdUeEVDCtegznuZDt/E7xERo1+692Jz2JbsNxY9SSWucEs4pND2yhNqlyNWkpaQ8oLn8tGTpcly4dJlTRElJCTp27IDEuFgG+n8L6v79B5gXGQ2atVNLTzvebkEvSHY7SxTbZpYiYYQlaNd7/MRp9Ovbi6uTtq4n2xRUbWD1E7wlFpB6ps1BCWBiBih1ESAVgLn7rALqSQS05OyvEtT/AGvF2sufTq7yAAAAAElFTkSuQmCC) no-repeat;background-size:contain}.icon-evaluate{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAAAXNSR0IArs4c6QAACQdJREFUaEPdWglUk1cavQkJELKwih5FWupS7WlHqhYViyi2dFpX7Hg6nc126nFqsUABEVzYlLIIFFSkw7Edna2dcSpFx3bG1gWouIwL1mkrilp1aBUVMCEEss75XnwxYNgKIZb/nJyE8F7+d9/93v3u994vMJlMJgyyS9AVKML7IGIWCASgV2dXp6CMRiPr2FVnRxHMJ1soFNocgk1QBIg6tLW1ofrMf/H1NzVoaGiETqdzFA6IxWJ4eXnisfGPInDC43BxcQEfZ8dB3QeKNzx6/AR2/PEDXP72KkwwQdgF3QOF1GgyQQABAh72x5LfvIypQZNtAmsHigP6ePdeFP/+fTY7EokEra2tjCVHSgrNKY3H1dUVGo2GjWf5736LhfPn3AfMAooDOnLsP0hNz4ZMJmWN29q0GPfoGPiPHAGhk9NAkXLffYwGA65eq8O5mgtwcXFmy6O5WY3U5FWYNuWpdsAYKFp4JAharQ7RsYm49r86NitisQhvRi5DyPRpDgPT8caVh49gc1EJdDo9Y2uk3wgU5mfB2VnMlJqJGyHiLB07fhIp6VmQy6VQqzVYtTIaoSHBbBbocqS8cxUmhsorq5C9sRBSqQQqlRppyYmYEjTJwlY7UH/Y8Rd8uLMUzmIxxowehbyc9aDMTBnhQZB2JuV3xxOXsA4Xai9Cq9Ph54sj8OqSX9oGlfvOFuw/UM4Y+Wn4bMRELYfBYISTk+180NOYJKZ5aHSWW3r6W3w8BZuK8a99+9lkzw4LRfxbK2yDysx5BxWVVTAaTZjzQjiiIpfBYDDAqQ8CwcHwQXf8u6dgeDs+nk1FJdj7yT4IhQLMCAlGUsJbtkFl5RSgvPKwGdTz4Yha0TdQHMCJk9U4Xf0lJvzkcQQ9NdHCWm8BUXsLqC0l2PupGVRoyHQkJsT0AFQfmeLis++zg9iYvxmUZyjPxceuwHPPhnXqBroDaoupAQHFGVKr1YiMTsDt2w1wc3NDS0sLvL29UVSYDalU+oMYcxgoztKuj/fg3ZLtUCjkFmaUShVeX/YKFi2c94PYcgioeyy1ICo2CfX19SyRU2KnBEkJ09fXF5vyMyGVuvWarQEFxROz3mCAWCRC2Z5PUFS8DXK5nMkuqSmpFbVTqVSIXL4UC+a9AJ1eD9Fdde1JLrQrKHPuoaRsTsz04izR2omOI5ZuMYYmTwrE+tTVWJf6NkgJiTFf3yEozMuEm5vE0o/XSfx3beU0u4GylWuo9mpqugNVsxoHDlaAnD6JAznq9JQkTJoYiJOnqpGclsmcPwEnhx02awbkMik8PNxZjWR92bqP3UDRjb88+xW++roGN27cwPX6m2hsaERjYxNaNK1s5mm9UJhNfHICMtLXWthYk7wBp06fYWGpVrcwht0krvD09ICnlyeG+Q7B0KG+GD/OXAx2vPodFFe10rJ/YmvxexAIhWxQFCYkBiKRkIUktdNqtew9KyMVTwY+AT2tHZEIp6vPInFNKuvj7GwuISiE9XojExFuqeg98vXXELFwbjuV7FdQPBQozN6IWon6+pusYDOZjNDrDWjRaCByEkEicYWHhwLuCgVzJeTLeF/+Tv6S3MAdpRJNTUpoNK3QG/Rwk0ggEjlBIBCitbUNPj5e2Lo5FxJ2H3NZ0a+geBjQDEbHJuHipcssgdKAHnpoJBYvmg93dwWGDPGBp4cHC7/uLgq/xqYm3Lx5C3fuKLFz125cuXKNTQz9LyDAH5vys9p5z34HxcPv+IlTSM/IYcxQ+NBrxfKlmBn6NPON5Me62vGx3qni7Q+Vf4EtxdtYqNGLwnXd6pXt6qR23s/K0PbZJnFgh6uOITu3kG3ICIQCNDe34A1aAwvm9Lhc4WVEadlebH33PchkbjAZTaANllXx0ZgePOU+19HvTFmHILFz9NgJZOYUAAITxE4iqJqbsWzpK3gxYl63ToGvkY9K96Bk23bIZTLoDHrAJEBSQgymTplss+yxGyjrMKBkmpGVx8TC2UUM5R0VEldGM4HobF+Of0+CkbWxEAp3ObRtOiYSaxLjWLLurI6zKyhrYNVnzrI9gzatliXbwAlPIHNDcqdscZaS1qaD+lIydnF2Znsi1LerwtTuoAgYeT3ybvkFRdj3+SEmEsFTg7B2dbyFKWtLRWHLmdrwdi6qjh5n4hL+zEzExkRafq8z5RwQUPzmCUkpbHuaDOovXnoRS379MlMwodCJAb23Hk0wGg0sEe/40wf4698+YgaYtpNzMtO6ywL2yVO2vBnllOVvxoFqJQq/hPhozJ41w6KC58/X4vyFixg7ZhTGjh1t+X7/wQrk5Bay8KOaq3hLHqRuXZcjdmeKh9Gly98ifpV5DZmtUQrGjxuL2ouX8Y9dZag6cpx5QvJ4wdOC8LNFCzB6VAC+OXceiWvS7lolAXKz0/FIwMNdFo8DBooGnZaRw+wMGVWS5AOHKvHZ5wfZyQk5D35RiU9u/NlnZiFsZghLCWR8Na2tSFmTwEB3ppp2S77W4cdv/uHfS/H+9j+z/XdaK3RRGaJQyFiotbRoIJNK0axWs/qJ9hGVymZWbjCx0evZvvhrr/4KLy2OeDBA5eRtxv6D5WzgFB68uFOpmpkpnT/3eYTOeBrlFV9g955Pcet2A+RyGQNEE0P7isQg1VYJcVGOBWWgAQmFyCsoYqW6j483Kx+oAFQoFHguPAwRC+bC28vTkrNuNzSCSpd/7zsApVLJRIJKkFu3brOSPy4m0rGgeBK9cvUaO1ioq/ueqRgZW3Ltw4YNtRhb63KfPl+/fgM7d5WhvKKKOfThw4dhfcpq+Pv7dWmx7C4UFD4cGJUQNTW18PMbDr8Rwy2h1fHcuKN7r/vue9TVfYfRox5hx5/dbUsPCChrYNYJlj5bJ92OWZVcRMc23QHqu/r1ci+dM2AeaM9PSczg7h6W9eBcudd76fY49ejW9/SyQa9PPex1PtXLcXfZvNfnUz+uk8S1uFB7qfuTxEF15jsoT+e5XSHVGjTPUdzLL+ZnkgbNEy8dgQ2aZ5M6Arv3FNk5NDQ0PQBPkXngsfHjev8UmTWwQfW8HwdmbX36M4H29be6m+wuHzft680d1f//I0xB6breuAsAAAAASUVORK5CYII=) no-repeat;background-size:contain}.icon-star{width:17px!important;height:24px;background:url(../img/star.0be34808.svg) no-repeat;background-size:contain;margin-top:2px!important}.icon-star-light{width:24px!important;height:24px!important;background:url(../img/star-light.6e76f5ae.svg) no-repeat;background-size:contain}.icon-back{width:27px;height:27px;background:url(../img/back.edad3f01.svg) no-repeat;background-size:contain}.icon-left-arrow,.icon-right-arrow{width:27px;height:27px;background:url(../img/arrow-left-center.86fc7b0e.svg) no-repeat;background-size:contain}.icon-right-arrow{transform:rotate(180deg)}.icon-zoom-out{width:27px;height:27px;background:url(../img/zoom-out.ae61d4e8.svg) no-repeat;background-size:contain}.icon-zoom-in{width:27px;height:27px;background:url(../img/zoom-in.a713152c.svg) no-repeat;background-size:contain}.icon-refresh-left{width:27px;height:27px;background:url(../img/rotate-left.404a347f.svg) no-repeat;background-size:contain}.icon-refresh-right{width:27px;height:27px;background:url(../img/rotate-right.cc03df75.svg) no-repeat;background-size:contain}.icon-bottom-double{width:12px;height:12px;background:url(../img/double-arrow.8b484604.svg) no-repeat;background-size:contain}.icon-c2c{width:20px;height:20px;background:url(../img/c2c.6ee29d1a.svg) no-repeat;background-size:contain}.icon-group{margin-left:40px;width:14px;height:14px;background:url(../img/startGroup.2d105694.svg) no-repeat;background-size:contain}.icon-msg-del{width:20px;height:20px;background:url(../img/msg-del.beaf90c9.svg) no-repeat;background-size:contain}.icon-msg-forward{width:20px;height:20px;background:url(../img/msg-forward.6bf8c99c.svg) no-repeat;background-size:contain}.icon-msg-copy{width:20px;height:20px;background:url(../img/msg-copy.b87af0c3.svg) no-repeat;background-size:contain}.icon-msg-play{width:20px;height:20px;background:url(../img/msg-play.9de1e98a.svg) no-repeat;background-size:contain}.icon-msg-reply{width:20px;height:20px;background:url(../img/msg-reply.de9758fa.svg) no-repeat;background-size:contain}.icon-msg-replies{width:12px;height:12px;background:url(../img/replies.c74980f2.svg) no-repeat;background-size:contain}.icon-msg-resend,.icon-msg-revoke{width:20px;height:20px;background:url(../img/msg-revoke.085b123f.svg) no-repeat;background-size:contain}.icon-msg-resend{transform:rotate(180deg)}.icon-msg-quote{width:20px;height:20px;background:url(../img/msg-qnote.01b8f466.svg) no-repeat;background-size:contain}.icon-close-h5{width:20px;height:20px;background:url(../img/icon-close-h5.964d86cd.svg) no-repeat;background-size:contain}.icon-download-h5{width:20px;height:20px;background:url(../img/icon-download-h5.e6b75d4c.svg) no-repeat;background-size:contain}.icon-download{width:20px;height:20px;background:url(../img/icon-download.aa9d1895.svg) no-repeat;background-size:contain}.icon-error{width:12px;height:12px;border-radius:100%;background:#ff584c;font-style:normal;font-size:12px;color:#fff;display:inline-flex;justify-content:center;align-items:center}.icon-expand{width:20px;height:20px;background:url(../img/expand.3e25734d.svg) no-repeat;background-size:contain}.icon-collapse{width:20px;height:20px;background:url(../img/collapse.901de69a.svg) no-repeat;background-size:contain}.icon-close{display:inline-block;width:24px;height:24px;position:relative;border-radius:50%}.icon-close:after,.icon-close:before{content:"";position:absolute;background-color:#8f959e;height:16px;width:2px;top:50%;left:50%;margin-top:-8px;margin-left:-1px}.icon-close:before{transform:rotate(45deg)}.icon-close:after{transform:rotate(-45deg)}.plus{display:inline-block;width:30px;height:30px;position:relative}.plus:after,.plus:before{content:"";position:absolute;background-color:#232832;border-radius:.5px;width:1px;height:14px;left:0;right:0;top:0;bottom:0;margin:auto}.plus:after{transform:rotate(90deg);width:.5px}.adv[data-v-5043a29d]{margin-left:20px;color:#0093fe;display:flex;align-items:center;font-size:16px;border:1px solid #0093fe;padding:0 15px;border-radius:10px;background-color:rgba(0,147,254,.1);cursor:pointer}.adv[data-v-5043a29d]:hover{background-color:rgba(0,147,254,.2)}h1[data-v-5043a29d]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.read-receipt[data-v-103b5294]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:5;box-sizing:border-box;padding:20px;display:flex;flex-direction:column;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);width:368px;height:510px;background:#fff;border-radius:8px;overflow:hidden}.read-receipt-menu-open[data-v-103b5294]{left:calc(50% + 150px)}.read-receipt .header[data-v-103b5294]{display:flex;flex-direction:row;align-items:center;height:30px;padding:10px 0}.read-receipt .header-title[data-v-103b5294]{width:calc(100% - 40px);text-align:center;height:30px;font-family:PingFangSC-Medium;font-weight:500;font-size:16px;color:#333;line-height:30px}.read-receipt .header-close[data-v-103b5294]{width:20px}.read-receipt .header-close i[data-v-103b5294]{width:12px;height:12px}.read-receipt .header-back[data-v-103b5294]{width:20px}.read-receipt .body[data-v-103b5294]{padding:10px 0;width:100%;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.read-receipt .body .body-tab[data-v-103b5294]{padding:10px 0;width:100%;height:55px;display:flex;flex-direction:row;justify-content:space-around;border-bottom:1px solid #e8e8e9}.read-receipt .body .body-tab .tab-item[data-v-103b5294]{display:flex;flex-direction:column;justify-content:center;align-items:center}.read-receipt .body .body-tab .tab-item-title[data-v-103b5294]{height:20px;opacity:.8;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000}.read-receipt .body .body-tab .tab-item-count[data-v-103b5294]{height:35px;opacity:.8;font-family:DINAlternate-Bold;font-weight:700;font-size:30px;color:#000}.read-receipt .body .body-tab .tab-item-now .tab-item-count[data-v-103b5294],.read-receipt .body .body-tab .tab-item-now .tab-item-title[data-v-103b5294],.read-receipt .body .body-tab .tab-item-now[data-v-103b5294]{color:#679ce1}.read-receipt .body .body-list[data-v-103b5294]{width:100%;flex:1 1 auto;overflow-y:auto}.read-receipt .body .body-list-item[data-v-103b5294]{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center}.read-receipt .body .body-list-item .avatar[data-v-103b5294]{width:36px;height:36px;margin:10px 10px 10px 0;border-radius:10%}.read-receipt .body .body-list-item .name[data-v-103b5294]{width:calc(100% - 60px);height:20px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.read-receipt .body .body-list .more[data-v-103b5294]{text-align:center;color:rgba(0,0,0,.3);font-size:12px;padding:10px}[data-v-103b5294]::-webkit-scrollbar{width:4px;height:140px;background-color:transparent}[data-v-103b5294]::-webkit-scrollbar-track{border-radius:10px}[data-v-103b5294]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.read-receipt-H5[data-v-103b5294]{z-index:5;box-sizing:border-box;display:flex;flex-direction:column;transform:none;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border-radius:8px;overflow:hidden;position:fixed;top:0;left:0;width:100%;height:100%;padding:0}.read-receipt-H5 .header[data-v-103b5294]{padding-left:20px;padding-right:20px}.read-receipt-H5 .body[data-v-103b5294]{padding:0}.read-receipt-H5 .body .body-list[data-v-103b5294],.read-receipt-H5 .body .body-tab[data-v-103b5294]{width:100%}.read-receipt-H5 .body .body-list-item[data-v-103b5294]{background-color:#fff;padding-left:10px;display:flex;flex-direction:row}.read-receipt-H5 .body .body-list-item .avatar[data-v-103b5294]{border-radius:10%;padding:0;margin:10px}.read-receipt-H5 .body .body-list-item .name[data-v-103b5294]{width:calc(100% - 40px);height:56px;line-height:56px;border-bottom:1px solid #efefef}.read-receipt-H5 .body .body-tab[data-v-103b5294]{height:22px;padding:15px;width:calc(100% - 30px);border-bottom:none}.read-receipt-H5 .body .body-tab .tab-item[data-v-103b5294]{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;font-size:16px;height:22px;font-family:PingFangSC-Medium}.read-receipt-H5 .body .body-tab .tab-item-count[data-v-103b5294],.read-receipt-H5 .body .body-tab .tab-item-title[data-v-103b5294]{height:22px;font-size:15px;letter-spacing:0;text-align:center;line-height:20px;font-weight:400;color:#8d8d8d}.read-receipt-H5 .body .body-tab .tab-item-count[data-v-103b5294]{font-size:17px;font-weight:800}.read-receipt-H5 .body .body-tab .tab-item-now[data-v-103b5294]{color:#147aff;padding-bottom:3px;border-bottom:2.6px solid #147aff}.read-receipt-H5 .body .body-tab .tab-item-now .tab-item-count[data-v-103b5294],.read-receipt-H5 .body .body-tab .tab-item-now .tab-item-title[data-v-103b5294]{color:#147aff}.read-receipt-H5 .body .body-message[data-v-103b5294]{background-color:#f7f8fa}.read-receipt-H5 .body .body-message .message[data-v-103b5294]{margin:10px 0;background-color:#fff;padding:5px}.read-receipt-H5 .body .body-message .message .message-info span[data-v-103b5294]{padding-left:10px;padding-right:10px;width:94px;height:30px;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;text-align:center;line-height:30px}.read-receipt-H5 .body .body-message .message .message-cont[data-v-103b5294]{padding:0 10px 10px 10px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#111;letter-spacing:0;max-height:100px}.read-receipt-H5 .body .body-message .message .message-cont p[data-v-103b5294]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.read-receipt-H5 .body .body-message .message .message-cont-img[data-v-103b5294]{max-height:70px}.replies-item[data-v-c1a2ea1e]{padding:15px;width:auto}.replies-item-normal[data-v-c1a2ea1e]{padding:12.8px 15px 0 17px}.replies-item-normal .message-bubble[data-v-c1a2ea1e]{padding-bottom:0}.replies-item-normal .message-bubble .avatar[data-v-c1a2ea1e]{width:48px;height:48px;border-radius:8px}.replies-item-normal .message-bubble .message-area[data-v-c1a2ea1e]{padding:0 0 8px 0;margin:0 0 0 16px;border-bottom:.1px solid #dbdbdb}.replies-item-normal .message-bubble .message-area-title .name[data-v-c1a2ea1e]{font-size:14px;line-height:20px}.replies-item-normal .message-bubble .message-area-title .time[data-v-c1a2ea1e]{font-size:12px;line-height:18px}.replies-item-normal .message-bubble .message-area .content-in[data-v-c1a2ea1e],.replies-item-normal .message-bubble .message-area .content[data-v-c1a2ea1e]{background:inherit;border-radius:0;padding:0;line-height:22px}.replies-item .avatar[data-v-c1a2ea1e]{width:36px;height:36px;border-radius:5px}.replies-item .message-bubble[data-v-c1a2ea1e]{width:100%;display:flex;padding-bottom:5px}.replies-item .line-left[data-v-c1a2ea1e]{border:1px solid rgba(0,110,255,.5)}.replies-item .message-area[data-v-c1a2ea1e]{max-width:calc(100% - 54px);position:relative;display:flex;flex-direction:column;padding:0 8px;flex:1}.replies-item .message-area-title[data-v-c1a2ea1e]{display:flex;flex-direction:row;justify-content:space-between}.replies-item .message-area-title .name[data-v-c1a2ea1e],.replies-item .message-area-title .time[data-v-c1a2ea1e]{padding-bottom:4px;font-weight:400;font-size:.8rem;color:#999;letter-spacing:0}.replies-item .message-area-title .name[data-v-c1a2ea1e]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replies-item .message-area .content[data-v-c1a2ea1e]{padding:12px;font-weight:400;font-size:14px;color:#000;letter-spacing:0;word-wrap:break-word;word-break:break-all;width:-moz-fit-content;width:fit-content}.replies-item .message-area .content-in[data-v-c1a2ea1e]{background:#f2f2f2;border-radius:0 10px 10px 10px}.replies-item .message-area .content-in .message-img[data-v-c1a2ea1e],.replies-item .message-area .content-in .message-videoimg[data-v-c1a2ea1e]{width:inherit;height:inherit;max-height:100%;max-width:100%;max-height:300px}.replies-item .message-label[data-v-c1a2ea1e]{align-self:flex-end;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#b6b8ba;word-break:keep-all}.replies-item .message-file[data-v-c1a2ea1e]{flex:1;display:flex;cursor:pointer}.replies-item .message-file .message-file-content[data-v-c1a2ea1e]{flex:1;display:flex;flex-direction:column}.replies-item .message-audio[data-v-c1a2ea1e]{display:flex;align-items:center;position:relative;cursor:pointer;max-width:100%;overflow:hidden}.replies-item .message-audio .icon[data-v-c1a2ea1e]{margin:0 4px}.replies-item .message-audio audio[data-v-c1a2ea1e]{width:0;height:0}.replies-item .reserve[data-v-c1a2ea1e]{flex-direction:row-reverse}.replies[data-v-43000c27]{display:flex;flex-direction:column;box-sizing:border-box;width:400px;overflow-y:auto;border-radius:8px 0 0 8px;position:absolute;right:0;height:calc(100% - 40px);z-index:2;top:40px;background:#fff;box-shadow:0 1px 10px 0 rgba(2,16,43,.15)}.replies .header[data-v-43000c27]{display:flex;flex-direction:row;align-items:center;height:30px;padding:10px 0}.replies .header-title[data-v-43000c27]{width:calc(100% - 40px);text-align:left;height:30px;font-family:PingFangSC-Medium;font-weight:500;font-size:16px;color:#333;line-height:30px}.replies .header-close[data-v-43000c27]{width:20px}.replies .header-close i[data-v-43000c27]{width:12px;height:12px}.replies .header-back[data-v-43000c27]{width:20px}.replies .body[data-v-43000c27]{padding:10px 0;width:100%;flex:1 1 auto;display:flex;flex-direction:column;overflow:hidden}.replies .body .body-message[data-v-43000c27]{border-bottom:1px dashed #e0e0e0}.replies .body .body-list[data-v-43000c27]{width:100%;flex:1 1 auto;overflow-y:auto}.replies .body .body-list-item[data-v-43000c27]{display:flex;flex:1 1 auto;flex-direction:row;flex-wrap:nowrap;align-items:center}.replies .body .body-list-item .replies-item[data-v-43000c27]{flex:1}.replies .body .body-list-item .avatar[data-v-43000c27]{width:36px;height:36px;margin:10px 10px 10px 0;border-radius:10%}.replies .body .body-list-item .name[data-v-43000c27]{width:calc(100% - 60px);height:20px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#000;letter-spacing:0}.replies .body .body-list .more[data-v-43000c27]{text-align:center;color:rgba(0,0,0,.3);font-size:12px;padding:10px}[data-v-43000c27]::-webkit-scrollbar{width:4px;height:140px;background-color:transparent}[data-v-43000c27]::-webkit-scrollbar-track{border-radius:10px}[data-v-43000c27]::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.replies-H5[data-v-43000c27]{z-index:5;box-sizing:border-box;display:flex;flex-direction:column;transform:none;box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border-radius:8px;overflow:hidden;position:fixed;top:0;left:0;width:100%;height:100%;padding:0}.replies-H5 .header[data-v-43000c27]{padding-left:20px;padding-right:20px}.replies-H5 .header-title[data-v-43000c27]{text-align:center}.replies-H5 .body[data-v-43000c27]{padding:0}.replies-H5 .body .body-list[data-v-43000c27],.replies-H5 .body .body-tab[data-v-43000c27]{width:100%}.replies-H5 .body .body-list-item[data-v-43000c27]{background-color:#fff;padding-left:10px;display:flex;flex-direction:row}.replies-H5 .body .body-list-item .avatar[data-v-43000c27]{border-radius:10%;padding:0;margin:10px}.replies-H5 .body .body-list-item .name[data-v-43000c27]{width:calc(100% - 40px);height:56px;line-height:56px;border-bottom:1px solid #efefef}.replies-H5 .body .body-tab[data-v-43000c27]{height:22px;padding:15px;width:calc(100% - 30px);border-bottom:none}.replies-H5 .body .body-tab .tab-item[data-v-43000c27]{display:flex;flex-direction:row-reverse;justify-content:center;align-items:center;font-size:16px;height:22px;font-family:PingFangSC-Medium}.replies-H5 .body .body-tab .tab-item-count[data-v-43000c27],.replies-H5 .body .body-tab .tab-item-title[data-v-43000c27]{height:22px;font-size:15px;letter-spacing:0;text-align:center;line-height:20px;font-weight:400;color:#8d8d8d}.replies-H5 .body .body-tab .tab-item-count[data-v-43000c27]{font-size:17px;font-weight:800}.replies-H5 .body .body-tab .tab-item-now[data-v-43000c27]{color:#147aff;padding-bottom:3px;border-bottom:2.6px solid #147aff}.replies-H5 .body .body-tab .tab-item-now .tab-item-count[data-v-43000c27],.replies-H5 .body .body-tab .tab-item-now .tab-item-title[data-v-43000c27]{color:#147aff}.replies-H5 .body .body-message .message[data-v-43000c27]{margin:10px 0;background-color:#fff;padding:5px}.replies-H5 .body .body-message .message .message-info span[data-v-43000c27]{padding-left:10px;padding-right:10px;width:94px;height:30px;font-family:PingFangSC-Regular;font-weight:400;font-size:12px;color:#999;letter-spacing:0;text-align:center;line-height:30px}.replies-H5 .body .body-message .message .message-cont[data-v-43000c27]{padding:0 10px 10px 10px;font-family:PingFangSC-Regular;font-weight:400;font-size:14px;color:#111;letter-spacing:0;max-height:100px}.replies-H5 .body .body-message .message .message-cont p[data-v-43000c27]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.replies-H5 .body .body-message .message .message-cont-img[data-v-43000c27]{max-height:70px}.call[data-v-0003a24f]{display:inline-block;position:relative;cursor:pointer}.call-icon[data-v-0003a24f]{display:flex;flex-direction:row;justify-content:center;align-items:center}.call-icon .icon-down-arrow[data-v-0003a24f]{margin:12px 1px 0}.call-main[data-v-0003a24f]{position:absolute;z-index:5;background:#fff;top:37px;left:calc(-50% + 20px);border-radius:2px;display:flex;flex-direction:column;width:80px;border:.5px solid #e0e0e0;box-shadow:0 4px 12px 0 rgba(0,0,0,.06)}.call-main-video[data-v-0003a24f],.call-main-voice[data-v-0003a24f]{height:34px;text-align:center;font-size:13px;line-height:34px;align-items:center}.call-main-video[data-v-0003a24f]:hover,.call-main-voice[data-v-0003a24f]:hover{background:#dceafd}.call-main[data-v-0003a24f]:before{content:"";position:absolute;bottom:100%;left:calc(50% - 9px);border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #e0e0e0}.call-main[data-v-0003a24f]:after{content:"";position:absolute;bottom:100%;left:calc(50% - 8px);border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff}.call .uncall-dialog[data-v-0003a24f]{width:500px;height:300px;background:linear-gradient(180deg,#e9f3ff,#f4f8ff);border-radius:20px}.call .uncall-dialog-body a[data-v-0003a24f]{font-family:PingFangSC-Regular;font-weight:400;color:#006eff;letter-spacing:0}.call-kit-container[data-v-0003a24f]{position:fixed;left:calc(50% - 25rem);top:calc(50% - 18rem);width:50rem;height:36rem;border-radius:16px;box-shadow:0 3px 6px rgba(0,0,0,.16),0 3px 6px rgba(0,0,0,.23)}.call-kit-container-left[data-v-0003a24f]{left:calc(50% - 25rem + 150px)}.call-main-h5[data-v-0003a24f]{position:fixed;left:0;top:0;bottom:0;width:100vw;height:auto;box-sizing:border-box;display:flex;flex-direction:column;justify-content:flex-end;padding:0;background:rgba(0,0,0,.5);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.call-main-h5 .call-main-content[data-v-0003a24f]{border-radius:12px 12px 0 0;background-color:#fff}.call-main-h5 .call-main-video[data-v-0003a24f],.call-main-h5 .call-main-voice[data-v-0003a24f]{height:30px;padding:10px;font-size:16px;border-bottom:1px solid #f7f8fa;display:flex;justify-content:center}.call-main-h5 .call-main-video i[data-v-0003a24f],.call-main-h5 .call-main-voice i[data-v-0003a24f]{margin-right:10px}.call-main-h5 footer[data-v-0003a24f]{border-top:10px solid #f7f8fa;height:30px;font-size:16px;padding:10px;text-align:center;align-items:center}.image-previewer[data-v-1e64c546]{position:fixed;z-index:12;width:100vw;height:100vh;background:rgba(0,0,0,.3);top:0;left:0;display:flex;flex-direction:column;align-items:center}.image-previewer .image-wrapper[data-v-1e64c546]{position:relative;width:100%;height:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}.image-previewer .image-list[data-v-1e64c546]{position:absolute;height:100%;left:0;padding:0;margin:0;display:flex;flex-direction:row;justify-content:center;align-content:center}.image-previewer .image-list .image-item[data-v-1e64c546]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-previewer .image-preview[data-v-1e64c546]{max-width:100%;max-height:100%;transition:transform .1s ease 0s;pointer-events:auto}.image-previewer .image-button[data-v-1e64c546]{position:absolute;cursor:pointer;width:40px;height:40px;border-radius:50%;top:calc(50% - 20px);background:hsla(0,0%,100%,.8)}.image-previewer .image-button-left[data-v-1e64c546]{left:10px}.image-previewer .image-button-right[data-v-1e64c546]{right:10px}.image-previewer .image-button .icon[data-v-1e64c546]{position:absolute;bottom:0;top:0;left:0;right:0;margin:auto;line-height:40px}.image-previewer .icon-close[data-v-1e64c546]{position:absolute;cursor:pointer;width:40px;height:40px;border-radius:50%;top:3%;right:3%;padding:6px;background:hsla(0,0%,100%,.8)}.image-previewer .icon-close[data-v-1e64c546]:after,.image-previewer .icon-close[data-v-1e64c546]:before{background-color:#444}.image-previewer-h5[data-v-1e64c546]{width:100%;height:100%;background:#000;display:flex;flex-direction:column}.actions-bar[data-v-1e64c546]{display:flex;justify-content:space-around;align-items:center;position:absolute;bottom:5%;padding:12px;border-radius:6px;background:hsla(0,0%,100%,.8)}.actions-bar .icon[data-v-1e64c546]{position:static;font-size:24px;cursor:pointer;margin:0 6px;width:27px;height:27px;margin:5px}.image-counter[data-v-1e64c546]{background:rgba(20,18,20,.53);padding:3px 5px;margin:5px;border-radius:3px;color:#fff}.TUI-conversation{&-item{&:hover{background:rgba(0,110,255,.1)}.left{&-notify,.num,.num-notify{background:red;color:#fff;background:red;color:#fff}}.content-header{.name,label{color:#000}.name{font-weight:400;letter-spacing:0}}.middle-box{span{font-family:PingFangSC-Regular}p,span{font-weight:400;color:#999}p{letter-spacing:0}&-at{color:#fb5059!important}}.content-footer{color:#999;.time{color:#bbb}}}.selected{background:rgba(0,110,255,.1)}.pinned{background:#eef0f3}.dialog{&-item{box-shadow:0 11px 20px 0 rgba(0,0,0,.3);border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.conversation-options{font-family:PingFangSC-Regular;font-weight:400;color:#4f4f4f;letter-spacing:0}}}.TUI-conversation{&-content{position:relative}&-item{padding:12px;display:flex;align-items:center;cursor:pointer;.left{position:relative;width:36px;height:36px;.num{right:0;min-width:10px;width:-moz-fit-content;width:fit-content;padding:0 2.5px;height:15px;border-radius:7.5px}.num,.num-notify{position:absolute;display:inline-block;top:-5px;font-size:10px;text-align:center;line-height:15px}.num-notify{right:-1px;width:.5rem;height:.5rem;border-radius:65%}.avatar{width:30px;height:30px;border-radius:5px}.online-status{box-sizing:border-box;position:absolute;width:10px;height:10px;left:24px;top:22px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%;&-online{background:#29cc85}&-offline{background:#a4a4a4}}}.content{padding-left:8px;justify-content:space-between}.content,.content-header{display:flex;flex:1}.content-header{flex-direction:column;label{font-size:14px}.name{width:110px;letter-spacing:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.middle-box{flex:1;display:flex;align-items:center;p,span{font-size:12px}p{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}.content-footer,p{line-height:16px}.content-footer{display:flex;flex-direction:column;.time{font-size:12px;display:inline-block;max-width:75px;white-space:nowrap}img{width:16px;height:16px;margin-top:5px;align-self:flex-end}}}.dialog{position:absolute;z-index:5;padding:2px 20px;&-item{top:30px;left:164px;border-radius:8px}.conversation-options{padding:5px 0;height:17px;font-size:12px;line-height:17px}}}.list-item-h5{.dialog{left:auto;right:18px;padding:0;.conversation-options{padding:14px;font-size:16px}}.TUI-conversation-item{.content{.name{font-size:16px}}.time,p{font-size:14px}}}.num_n[data-v-79ffaaa2]{color:#fff;background:red;padding:0 5px;border-radius:20px}.bg_o[data-v-79ffaaa2]{background:#466afa}.bg_t[data-v-79ffaaa2]{background:#fff}.TUI-conversation[data-v-06ab06e3]{font-family:PingFangSC-Regular;font-weight:400;letter-spacing:0}.TUI-conversation-list[data-v-06ab06e3]{list-style:none}.TUI-conversation-item[data-v-102ec99c]:hover{background:rgba(0,110,255,.1)}.TUI-conversation-item .left .num-notify[data-v-102ec99c],.TUI-conversation-item .left .num[data-v-102ec99c]{background:red;color:#fff}.TUI-conversation-item .content-header label[data-v-102ec99c]{color:#000}.TUI-conversation-item .content-header .name[data-v-102ec99c]{font-weight:400;color:#000}.TUI-conversation-item .middle-box span[data-v-102ec99c]{font-family:PingFangSC-Regular;font-weight:400;color:#999}.TUI-conversation-item .middle-box p[data-v-102ec99c]{font-weight:400;color:#999;letter-spacing:0}.TUI-conversation-item .middle-box-at[data-v-102ec99c]{color:#fb5059!important}.TUI-conversation-item .content-footer[data-v-102ec99c]{color:#999}.TUI-conversation-item .content-footer .time[data-v-102ec99c]{color:#bbb}.TUI-conversation .selected[data-v-102ec99c]{background:rgba(0,110,255,.1)}.TUI-conversation .pinned[data-v-102ec99c]{background:#eef0f3}.TUI-conversation .dialog[data-v-102ec99c]{background:#fff}.TUI-conversation .dialog-item[data-v-102ec99c]{box-shadow:0 11px 20px 0 rgba(0,0,0,.3);background:#fff;border:1px solid #e0e0e0;box-shadow:0 -4px 12px 0 rgba(0,0,0,.06)}.TUI-conversation .dialog .conversation-options[data-v-102ec99c]{font-family:PingFangSC-Regular;font-weight:400;color:#4f4f4f;letter-spacing:0}.TUI-conversation-content[data-v-102ec99c]{position:relative}.TUI-conversation-item[data-v-102ec99c]{padding:12px;display:flex;align-items:center;cursor:pointer}.TUI-conversation-item .left[data-v-102ec99c]{position:relative;width:36px;height:36px}.TUI-conversation-item .left .num[data-v-102ec99c]{position:absolute;display:inline-block;right:0;top:-5px;min-width:10px;width:-moz-fit-content;width:fit-content;padding:0 2.5px;height:15px;font-size:10px;text-align:center;line-height:15px;border-radius:7.5px}.TUI-conversation-item .left .num-notify[data-v-102ec99c]{position:absolute;display:inline-block;right:-1px;top:-5px;width:.5rem;height:.5rem;font-size:10px;text-align:center;line-height:15px;border-radius:65%}.TUI-conversation-item .left .avatar[data-v-102ec99c]{width:30px;height:30px;border-radius:5px}.TUI-conversation-item .left .online-status[data-v-102ec99c]{box-sizing:border-box;position:absolute;width:10px;height:10px;left:24px;top:22px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%}.TUI-conversation-item .left .online-status-online[data-v-102ec99c]{background:#29cc85}.TUI-conversation-item .left .online-status-offline[data-v-102ec99c]{background:#a4a4a4}.TUI-conversation-item .content[data-v-102ec99c]{display:flex;flex:1;padding-left:8px;justify-content:space-between}.TUI-conversation-item .content-header[data-v-102ec99c]{flex:1;display:flex;flex-direction:column}.TUI-conversation-item .content-header label[data-v-102ec99c]{flex:1;font-size:14px}.TUI-conversation-item .content-header .name[data-v-102ec99c]{width:110px;letter-spacing:0;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TUI-conversation-item .middle-box[data-v-102ec99c]{flex:1;display:flex;align-items:center}.TUI-conversation-item .middle-box span[data-v-102ec99c]{font-size:12px}.TUI-conversation-item .middle-box p[data-v-102ec99c]{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px}.TUI-conversation-item .content-footer[data-v-102ec99c]{line-height:16px;display:flex;flex-direction:column}.TUI-conversation-item .content-footer .time[data-v-102ec99c]{font-size:12px;line-height:16px;display:inline-block;max-width:75px;white-space:nowrap}.TUI-conversation-item .content-footer img[data-v-102ec99c]{width:16px;height:16px;margin-top:5px;align-self:flex-end}.TUI-conversation .dialog[data-v-102ec99c]{position:absolute;z-index:5;padding:2px 20px}.TUI-conversation .dialog-item[data-v-102ec99c]{top:30px;left:164px;border-radius:8px}.TUI-conversation .dialog .conversation-options[data-v-102ec99c]{padding:5px 0;height:17px;font-size:12px;line-height:17px}.list-item-h5 .dialog[data-v-102ec99c]{left:auto;right:18px;padding:0}.list-item-h5 .dialog .conversation-options[data-v-102ec99c]{padding:14px;font-size:16px}.list-item-h5 .TUI-conversation-item .content .name[data-v-102ec99c]{font-size:16px}.list-item-h5 .TUI-conversation-item .content .middle-box p[data-v-102ec99c],.list-item-h5 .TUI-conversation-item .time[data-v-102ec99c]{font-size:14px}.TUI-conversation[data-v-c6fe208e]{background:#fff}.TUI-conversation header[data-v-c6fe208e]{background:#fff;border-bottom:.06rem solid #f4f5f9}.TUI-conversation header h1[data-v-c6fe208e]{font-weight:400;color:#000}.TUI-conversation header .more[data-v-c6fe208e]{background:#f3f3f3}.TUI-conversation .network p[data-v-c6fe208e]{font-family:PingFangSC-Regular;font-weight:400;color:#e54545;letter-spacing:0}input[data-v-c6fe208e]{border:1px solid #ddd}.TUI-conversation[data-v-c6fe208e]{position:relative;width:100%;height:100%;overflow-y:auto;box-sizing:border-box}.TUI-conversation header[data-v-c6fe208e]{position:sticky;top:0;z-index:1;padding:12px;display:flex;align-items:center}.TUI-conversation header h1[data-v-c6fe208e]{padding:0 8px;font-size:14px}.TUI-conversation header .more[data-v-c6fe208e]{display:inline-block;width:28px;height:28px;border-radius:4px}.TUI-conversation-list[data-v-c6fe208e]{flex:1;position:absolute;width:100%}.TUI-conversation .network[data-v-c6fe208e]{padding:0 12px;display:flex;align-items:center}.TUI-conversation .network p[data-v-c6fe208e]{padding:5px;font-size:12px;line-height:22px}input[data-v-c6fe208e]{box-sizing:border-box;width:100%;height:24px;border-radius:5px;padding:0 10px}.checkedPro[data-v-c6fe208e]{height:30px;padding:0 20px;line-height:30px;border-radius:10px;margin-top:10px;background-color:#fff;color:#000;cursor:pointer}.checkedPro[data-v-c6fe208e]:hover{opacity:.8}.expert[data-v-c6fe208e]{background-color:#466afb!important;color:#fff!important}.play-or-mute-img[data-v-c6fe208e]{width:25px;height:25px;cursor:pointer;margin-right:10px}.edit-header h1[data-v-25fbecd0]{font-family:PingFangSC-Medium;font-weight:500;color:#333}.edit-list-item-content label[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#333}.edit-list-item-content input[data-v-25fbecd0]{border:1px solid rgba(131,137,153,.4);font-family:PingFangSC-Regular;font-weight:400;color:#596174}.edit-list-item-content .gender-list-item .gender[data-v-25fbecd0]{border:1px solid rgba(131,137,153,.4)}.edit-list-item-content .gender-list-item .gender-selected[data-v-25fbecd0]{border:6px solid #147aff}.btn-default[data-v-25fbecd0]{background:#fff;border:1px solid #ddd}.btn-submit[data-v-25fbecd0]{background:#3370ff;border:0 solid #2f80ed;color:#fff}.selected[data-v-25fbecd0]{border:1px solid #006eff!important;color:#006eff}.edit-h5[data-v-25fbecd0]{background:#efefef}.edit-h5 .edit-header[data-v-25fbecd0]{background:#fff}.edit-h5 .edit-list-item[data-v-25fbecd0]{background:#fff;border-bottom:1px solid #eee}.edit-h5-header h1[data-v-25fbecd0]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.edit-h5-header .close[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#3370ff;letter-spacing:0}.edit-h5-main .list-item span[data-v-25fbecd0]{border:1px solid #ddd;font-family:PingFangSC-Regular;font-weight:400;letter-spacing:0}.edit-h5-main .input input[data-v-25fbecd0],.edit-h5-main .input textarea[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#000;letter-spacing:0;background:#efefef}.edit-h5-main sub[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#888;letter-spacing:0}.edit-h5-footer .btn[data-v-25fbecd0]{font-family:PingFangSC-Regular;font-weight:400;color:#fff;letter-spacing:0}.edit-h5-footer .btn[data-v-25fbecd0]:disabled{opacity:.3}.mask[data-v-25fbecd0]{background:rgba(0,0,0,.5)}.mask-main[data-v-25fbecd0]{background:#fff}.edit[data-v-25fbecd0]{flex:1;display:flex;flex-direction:column}.edit-header[data-v-25fbecd0]{position:relative;display:flex}.edit-header h1[data-v-25fbecd0]{font-size:16px;line-height:30px}.edit-list[data-v-25fbecd0]{padding:20px 0}.edit-list-item[data-v-25fbecd0]{display:flex;align-items:center;padding:10px 0}.edit-list-item-content[data-v-25fbecd0]{flex:1;display:flex;align-items:center}.edit-list-item-content .avatar-list[data-v-25fbecd0]{display:flex;align-items:center}.edit-list-item-content .avatar-list-item[data-v-25fbecd0]{padding-right:20px}.edit-list-item-content img[data-v-25fbecd0]{box-sizing:border-box;width:36px;height:36px}.edit-list-item-content label[data-v-25fbecd0]{width:60px;padding-right:20px;font-size:14px}.edit-list-item-content input[data-v-25fbecd0]{flex:1;border-radius:2px;padding:6px 10px;font-size:14px}.edit-list-item-content span[data-v-25fbecd0]{flex:1;width:0;padding:6px 10px;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edit-list-item-content .gender-list[data-v-25fbecd0]{display:flex;align-items:center}.edit-list-item-content .gender-list-item[data-v-25fbecd0]{display:flex;align-items:center;padding-right:24px}.edit-list-item-content .gender-list-item[data-v-25fbecd0]:last-child{padding:0}.edit-list-item-content .gender-list-item .gender[data-v-25fbecd0]{box-sizing:border-box;width:16px;height:16px;border-radius:45px}.edit-list-item-content .gender-list-item .name[data-v-25fbecd0]{padding-left:8px}.edit-footer[data-v-25fbecd0]{display:flex;justify-content:flex-end}.btn-default[data-v-25fbecd0],.btn-submit[data-v-25fbecd0]{width:82px;height:32px;border-radius:4px}.btn-submit[data-v-25fbecd0]{margin-left:12px}.edit-h5[data-v-25fbecd0]{position:fixed;width:100%;height:100%;z-index:1}.edit-h5 .edit-header[data-v-25fbecd0]{justify-content:center;align-items:center;padding:15px 18px}.edit-h5 .edit-header .icon[data-v-25fbecd0]{position:absolute;left:18px}.edit-h5 .edit-header-title[data-v-25fbecd0]{color:#000}.edit-h5 .edit-list[data-v-25fbecd0]{padding:0}.edit-h5 .edit-list-item[data-v-25fbecd0]{padding:10px 18px}.edit-h5 .edit-list-item-content label[data-v-25fbecd0]{width:auto;font-size:16px;color:#000}.edit-h5 .edit-list-item-content span[data-v-25fbecd0]{text-align:end;font-size:16px;color:rgba(0,0,0,.6)}.edit-h5 .edit-list-item-content span img[data-v-25fbecd0]{width:60px;height:60px}.edit-h5 .edit-list .space-top[data-v-25fbecd0]{margin-top:12px}.edit-h5-header[data-v-25fbecd0]{display:flex;justify-content:space-between}.edit-h5-header h1[data-v-25fbecd0]{font-size:20px;line-height:28px}.edit-h5-header .close[data-v-25fbecd0]{font-size:18px;line-height:27px}.edit-h5-main[data-v-25fbecd0]{padding:23px 0}.edit-h5-main .list[data-v-25fbecd0]{display:flex;align-items:center}.edit-h5-main .list-item[data-v-25fbecd0]{padding-right:20px}.edit-h5-main .list-item[data-v-25fbecd0]:last-child{padding:0}.edit-h5-main .list-item img[data-v-25fbecd0]{width:36px;height:36px}.edit-h5-main .list-item span[data-v-25fbecd0]{border-radius:9.4px;padding:5px 45px;font-size:16px;text-align:center;line-height:25px}.edit-h5-main .input[data-v-25fbecd0]{display:flex;padding-bottom:10px}.edit-h5-main .input input[data-v-25fbecd0],.edit-h5-main .input textarea[data-v-25fbecd0]{flex:1;padding:10px 18px;border:none;font-size:16px;line-height:27px}.edit-h5-main .input .datePicker[data-v-25fbecd0]{flex:1}.edit-h5-main .input textarea[data-v-25fbecd0]{resize:none}.edit-h5-main sub[data-v-25fbecd0]{font-size:15px;line-height:23px}.edit-h5-footer[data-v-25fbecd0]{display:flex}.edit-h5-footer .btn[data-v-25fbecd0]{height:auto;flex:1;margin:0;font-size:20px;line-height:27px;padding:13px 0}.mask[data-v-25fbecd0]{position:fixed;width:100%;height:100%;display:flex;align-items:flex-end}.mask-main[data-v-25fbecd0]{flex:1;padding:23px;border-radius:12px 12px 0 0}.TUI-profile[data-v-bc4a483e]{background:#fff}.TUI-profile .profile-header[data-v-bc4a483e]{border-bottom:1px solid #ddd}.TUI-profile .profile-main-item span[data-v-bc4a483e]{font-family:PingFangSC-Regular;font-weight:400;color:#000;letter-spacing:0}.TUI-profile .profile-main-name[data-v-bc4a483e]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUI-profile .profile-main-label[data-v-bc4a483e]{font-family:PingFangSC-Regular;font-weight:400;color:#999;letter-spacing:0}.TUI-profile-h5 .profile-main span[data-v-bc4a483e]{color:#999}.TUI-profile .profile[data-v-bc4a483e]{display:flex;flex-direction:column}.TUI-profile .profile-header[data-v-bc4a483e]{flex:1;display:flex}.TUI-profile .profile-header .profile-main[data-v-bc4a483e]{padding-top:0;padding-left:8px;padding-bottom:8px}.TUI-profile .profile-header .profile-main-item[data-v-bc4a483e]{padding-top:0}.TUI-profile .profile-header .profile-main-item[data-v-bc4a483e]:first-child{justify-content:space-between}.TUI-profile .profile-avatar .avatar[data-v-bc4a483e]{width:36px;height:36px;border-radius:5px}.TUI-profile .profile-main[data-v-bc4a483e]{flex:1;display:flex;flex-direction:column;padding-top:6px}.TUI-profile .profile-main-item[data-v-bc4a483e]{display:flex;align-items:center;padding:6px 0}.TUI-profile .profile-main-item span[data-v-bc4a483e]{padding:0 4px}.TUI-profile .profile-main-item span[data-v-bc4a483e],.TUI-profile .profile-main-name[data-v-bc4a483e]{font-size:14px;flex:1;width:0;word-break:keep-all;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.TUI-profile .profile-main-label[data-v-bc4a483e]{font-size:14px;word-break:keep-all}.TUI-profile-h5 .profile[data-v-bc4a483e]{padding:14px 18px;flex-direction:row;align-items:center}.TUI-profile-h5 .profile-header[data-v-bc4a483e]{border:none}.TUI-profile-h5 .profile-avatar .avatar[data-v-bc4a483e]{width:78px;height:78px;border-radius:8px}.TUI-profile-h5 .profile-main[data-v-bc4a483e]{padding-left:16px!important}.TUI-group[data-v-f2d329c8]{position:relative;width:100%;height:100%;background:#fff;box-sizing:border-box;font-weight:400;display:flex}.list li[data-v-4cbbc4fe]{font-weight:400;color:#000;letter-spacing:0}.icon-warn[data-v-4cbbc4fe]{background:coral;color:#fff;font-style:normal}.btn[data-v-4cbbc4fe]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-4cbbc4fe]{border:1px solid #ddd;color:#666}.btn-default[data-v-4cbbc4fe]{background:#006eff;border:1px solid #006eff}.btn[data-v-4cbbc4fe]:disabled{opacity:.3}.message-system[data-v-4cbbc4fe]{flex:1}.list[data-v-4cbbc4fe]{flex:1;height:100%;overflow-y:auto;min-width:600px}.list li[data-v-4cbbc4fe]{display:flex;align-items:center;position:relative;padding:10px 20px;font-size:14px}.list li .icon[data-v-4cbbc4fe]{margin-right:10px;border-radius:100%}.list li .message-label[data-v-4cbbc4fe]{max-width:50px}.list li .btn-box[data-v-4cbbc4fe]{padding:0 12px}.icon[data-v-4cbbc4fe]{display:inline-block;width:16px;height:16px}.icon-warn[data-v-4cbbc4fe]{border-radius:50%;display:flex;justify-content:center;align-items:center}.btn[data-v-4cbbc4fe]{padding:2px 10px;margin-right:12px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}.btn[data-v-4cbbc4fe]:last-child{margin-right:0}.message-system-h5 .list[data-v-4cbbc4fe]{width:100%;min-width:0}.message-system-h5 .list li span[data-v-4cbbc4fe]{flex:1;width:0;word-break:break-all}.message-system-h5 .list .btn-box[data-v-4cbbc4fe]{padding-right:0}.TUI-contact[data-v-5f069d6a]{background:#fff;font-weight:400}.TUI-contact-left[data-v-5f069d6a]{border-right:1px solid #f4f5f9}.TUI-contact-left-header[data-v-5f069d6a]{background:#fff;border-bottom:1px solid #f4f5f9}.TUI-contact-column-item .num[data-v-5f069d6a]{background:#ff584c;font-weight:400;color:#fff}.TUI-contact-column-item header main[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-main-info-header[data-v-5f069d6a]{border-bottom:1px solid #ddd}.TUI-contact-main-info-header .list h1[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-main-info-header .list li[data-v-5f069d6a]{font-weight:400;color:#999}.TUI-contact-main-info-main label[data-v-5f069d6a]{font-family:PingFangSC-Regular;font-weight:400;color:#666}.TUI-contact-main-info-main textarea[data-v-5f069d6a]{background:#fff;border:1px solid #ddd;font-family:PingFangSC-Regular;font-weight:400;color:#999;letter-spacing:0}.TUI-contact-main-info-footer p[data-v-5f069d6a]{opacity:.3}.TUI-contact-system-header h1[data-v-5f069d6a]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.TUI-contact-list-item[data-v-5f069d6a]:hover{background:#edf0f5}.TUI-contact-list-item .left .num[data-v-5f069d6a]{background:red;color:#fff}.TUI-contact-list-item .content ul li[data-v-5f069d6a]{font-weight:400;color:#000}.TUI-contact-list-item .content .type[data-v-5f069d6a]{font-weight:400;color:rgba(0,0,0,.3);border:1px solid rgba(0,0,0,.3)}.selected[data-v-5f069d6a]{background:#edf0f5}.reduce[data-v-5f069d6a]{border:1px solid #ddd}.reduce[data-v-5f069d6a]:before{background:#ddd}.btn[data-v-5f069d6a]{font-weight:400;color:#fff;letter-spacing:0}.btn-cancel[data-v-5f069d6a]{border:1px solid #ddd;color:#666}.btn-default[data-v-5f069d6a]{background:#006eff;border:1px solid #006eff}.btn[data-v-5f069d6a]:disabled{opacity:.3}input[data-v-5f069d6a]{border:1px solid #ddd}input[data-v-5f069d6a]:focus{border:1px solid #006eff}.search-box .search-cancel[data-v-5f069d6a],.search-box h1[data-v-5f069d6a]{font-weight:400;color:#000;letter-spacing:0}.TUI-contact[data-v-5f069d6a]{position:relative;width:100%;height:100%;box-sizing:border-box;display:flex;padding:12px 0}.TUI-contact-left[data-v-5f069d6a]{position:relative;flex:1;min-width:285px;flex:0 0 24%;overflow-y:auto}.TUI-contact-left-header[data-v-5f069d6a]{position:sticky;top:0;z-index:1;padding:0 12px 12px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-left-header input[data-v-5f069d6a]{flex:1;margin-right:20px}.TUI-contact-column[data-v-5f069d6a]{flex:1;display:flex;flex-direction:column;position:absolute;width:100%}.TUI-contact-column-item .num[data-v-5f069d6a]{width:14px;height:14px;border-radius:100%;font-size:12px;display:flex;justify-content:center;align-items:center}.TUI-contact-column-item header[data-v-5f069d6a]{display:flex;align-items:center;padding:10px 15px}.TUI-contact-column-item header main[data-v-5f069d6a]{flex:1;padding-left:6px;display:flex;justify-content:space-between;font-size:14px;line-height:14px}.TUI-contact-main[data-v-5f069d6a]{flex:1;display:flex;position:relative;width:100%;height:100%}.TUI-contact-main-info[data-v-5f069d6a]{flex:1;padding:2rem 3rem;display:flex;flex-direction:column}.TUI-contact-main-info-header[data-v-5f069d6a]{display:flex;justify-content:space-between;padding-bottom:15px}.TUI-contact-main-info-header .list h1[data-v-5f069d6a]{font-size:24px;padding-bottom:10px}.TUI-contact-main-info-header .list li[data-v-5f069d6a]{font-size:16px;padding:6px 0}.TUI-contact-main-info-header .avatar[data-v-5f069d6a]{width:5rem;height:5rem}.TUI-contact-main-info-main[data-v-5f069d6a]{padding-top:1.25rem;display:flex;flex-direction:column}.TUI-contact-main-info-main label[data-v-5f069d6a]{font-size:.88rem;line-height:1.25rem;padding-bottom:.63rem}.TUI-contact-main-info-main textarea[data-v-5f069d6a]{resize:none;width:100%;box-sizing:border-box;height:5rem;padding:.69rem .88rem;font-size:.88rem;line-height:1.25rem}.TUI-contact-main-info-footer[data-v-5f069d6a]{padding-top:1.25rem;display:flex;justify-content:center}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]{margin:0 20px}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]:first-child{margin-left:0}.TUI-contact-main-info-footer .btn[data-v-5f069d6a]:last-child{margin-right:0}.TUI-contact-main-created li[data-v-5f069d6a]{display:flex;align-items:center}.TUI-contact-main-created li input[data-v-5f069d6a]{margin-right:20px}.TUI-contact-system[data-v-5f069d6a]{display:flex;flex-direction:column;width:100%;height:100%;position:absolute;overflow-y:auto}.TUI-contact-system-header[data-v-5f069d6a]{padding:20px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-system-header h1[data-v-5f069d6a]{font-size:16px;line-height:24px}.TUI-contact-list[data-v-5f069d6a]{flex:1;width:100%;list-style:none}.TUI-contact-list-item[data-v-5f069d6a]{padding:12px 15px;position:relative;display:flex;align-items:center}.TUI-contact-list-item label[data-v-5f069d6a]{font-size:14px}.TUI-contact-list-item:hover .icon-close[data-v-5f069d6a]{display:inline-block}.TUI-contact-list-item .left[data-v-5f069d6a]{position:relative;width:36px;height:36px}.TUI-contact-list-item .left .num[data-v-5f069d6a]{position:absolute;display:inline-block;right:-8px;top:-8px;width:20px;height:20px;font-size:10px;text-align:center;line-height:20px;border-radius:50%}.TUI-contact-list-item .left .avatar[data-v-5f069d6a]{width:100%;border-radius:5px}.TUI-contact-list-item .left .online-status[data-v-5f069d6a]{box-sizing:border-box;position:absolute;width:11px;height:11px;left:30px;top:27px;border:2px solid #fff;box-shadow:0 0 4px rgba(0,0,0,.102606);border-radius:50%}.TUI-contact-list-item .left .online-status-online[data-v-5f069d6a]{background:#29cc85}.TUI-contact-list-item .left .online-status-offline[data-v-5f069d6a]{background:#a4a4a4}.TUI-contact-list-item .content[data-v-5f069d6a]{flex:1;padding-left:8px;display:flex;justify-content:space-between;align-items:center}.TUI-contact-list-item .content ul[data-v-5f069d6a]{flex:1;display:flex;flex-direction:column}.TUI-contact-list-item .content ul li[data-v-5f069d6a]{flex:1;display:flex;align-items:center;font-size:14px;line-height:16px}.TUI-contact-list-item .content ul li span[data-v-5f069d6a]{flex:1;width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.TUI-contact-list-item .content ul .name[data-v-5f069d6a]{padding-bottom:2px}.TUI-contact-list-item .content .type[data-v-5f069d6a]{padding:0 4px;line-height:14px;font-size:12px;border-radius:1px}.TUI-contact-list .not-aside[data-v-5f069d6a]{padding-left:40px;display:flex;justify-content:space-between}.reduce[data-v-5f069d6a]{position:relative;display:inline-block;width:36px;height:36px}.reduce[data-v-5f069d6a]:before{position:absolute;content:"";width:50%;height:1px;top:0;bottom:0;left:0;right:0;margin:auto}.center[data-v-5f069d6a]{display:flex;justify-content:center}.btn[data-v-5f069d6a]{padding:8px 20px;border-radius:4px;border:none;font-size:14px;text-align:center;line-height:20px}input[data-v-5f069d6a]{box-sizing:border-box;border-radius:5px;padding:10px}.search[data-v-5f069d6a]{flex:1;display:flex}.search-box[data-v-5f069d6a]{flex:1;display:flex;align-items:center}.search-box h1[data-v-5f069d6a]{padding:2px 8px;font-size:14px}.search-box .input-box[data-v-5f069d6a]{display:flex;position:relative;flex:1}.search-box .input-box input[data-v-5f069d6a]{flex:1;margin-right:0}.search-box .input-box .icon[data-v-5f069d6a]{position:absolute;right:10px;top:0;bottom:0;margin:auto 0}.search-box .search-cancel[data-v-5f069d6a]{padding-left:10px;font-size:12px;line-height:18px}.TUI-contact-H5[data-v-5f069d6a]{height:100%;overflow-y:auto}.TUI-contact-H5 .TUI-contact-left[data-v-5f069d6a]{min-width:0;width:100%;height:100%;flex:1;position:static}.TUI-contact-H5 .TUI-contact-main[data-v-5f069d6a]{position:fixed;top:0;left:0;z-index:2;flex-direction:column;background:#efefef}.TUI-contact-H5 .TUI-contact-main-h5-title[data-v-5f069d6a]{display:flex;align-items:center;padding:12px 16px;background:#fff;justify-content:center;position:relative}.TUI-contact-H5 .TUI-contact-main-h5-title .icon[data-v-5f069d6a]{position:absolute;left:16px}.TUI-contact-H5 .TUI-contact-main-h5-title h1[data-v-5f069d6a]{flex:1;width:0;word-break:keep-all;overflow:hidden;text-overflow:ellipsis;padding:0 30px;font-weight:500;font-size:16px;text-align:center}.TUI-contact-H5 .TUI-contact-main-info[data-v-5f069d6a]{padding:12px 0}.TUI-contact-H5 .TUI-contact-main-info-header[data-v-5f069d6a]{background:#fff;padding:12px 16px;flex-direction:row-reverse;justify-content:flex-end;align-items:center}.TUI-contact-H5 .TUI-contact-main-info-header .list[data-v-5f069d6a]{padding-left:12px}.TUI-contact-H5 .TUI-contact-main-info-main[data-v-5f069d6a]{background:#fff;padding:12px 16px}.TUI-contact-H5 .TUI-contact-main-info-main textarea[data-v-5f069d6a]{background:#efefef}.TUI-contact-H5 .TUI-contact-main-info-footer[data-v-5f069d6a]{padding-top:12px;flex-direction:column}.TUI-contact-H5 .TUI-contact-main-info-footer p[data-v-5f069d6a]{text-align:center;background:#fff;padding:10px 0;opacity:1}.TUI-contact-H5 .TUI-contact-main-info-footer .btn[data-v-5f069d6a]{flex:1;background:#fff;border-bottom:1px solid #eee;margin:0;padding:15px 0}.TUI-contact-H5 .TUI-contact-system[data-v-5f069d6a]{flex:1;position:static}.TUI-contact-H5 .TUI-contact-list[data-v-5f069d6a]{position:static;overflow-y:scroll}.TUI-contact-H5 .btn-cancel[data-v-5f069d6a]{color:#ff584c}.TUI-contact-H5 .btn-default[data-v-5f069d6a]{color:#006eff}.TUI-contact-H5 .btn[data-v-5f069d6a]:disabled{opacity:.3}.group-list-item[data-v-279f8f91],.group[data-v-279f8f91]{background:#fff}.group-list-item label[data-v-279f8f91]{font-family:PingFangSC-Regular;font-weight:400;color:#333}.group-list input[data-v-279f8f91]{border:1px solid rgba(131,137,153,.4);font-weight:400;color:#333}.group-list .select a[data-v-279f8f91]{color:#006eff}.group-list .select-item[data-v-279f8f91]{border:1px solid rgba(131,137,153,.4)}.group-list .select-item-header .left[data-v-279f8f91]{font-weight:500;color:#333}.group-list .select-item-detail[data-v-279f8f91]{color:#4f4f4f}.group-list .select .selected[data-v-279f8f91]{border:1px solid #006eff}.group-list-edit[data-v-279f8f91],.group-profile-footer[data-v-279f8f91]{background:#fff}.group-h5[data-v-279f8f91]{background:#f7f8fa}.group-h5-list-item-introduction[data-v-279f8f91]{font-family:PingFangSC-Regular;font-weight:400;color:#888}.group-h5-list-item-introduction a[data-v-279f8f91]{color:#006eff}header[data-v-279f8f91]{background:#fff}header h1[data-v-279f8f91]{font-family:PingFangSC-Medium;font-weight:500;color:#000;letter-spacing:0}.btn-default[data-v-279f8f91]{background:#fff;border:1px solid #ddd;font-family:PingFangSC-Medium;font-weight:500;color:#828282}.btn-submit[data-v-279f8f91]{background:#3370ff;border:0 solid #2f80ed;font-family:PingFangSC-Regular;font-weight:400;color:#fff;letter-spacing:0}.btn-submit[data-v-279f8f91]:disabled{background:#e8e8e9;border:1px solid #ddd;color:#fff}.group[data-v-279f8f91]{padding:30px;box-sizing:border-box;width:750px;max-height:calc(100vh - 100px);overflow-y:auto;border-radius:10px}.group-list-item[data-v-279f8f91]{display:flex;padding:10px 0}.group-list-item label[data-v-279f8f91]{width:84px;height:20px;font-size:14px}.group-list input[data-v-279f8f91]{box-sizing:border-box;flex:1;padding:6px 10px;border-radius:2px;font-size:14px;line-height:20px}.group-list .select[data-v-279f8f91]{flex:1}.group-list .select-item[data-v-279f8f91]{padding:12px 20px;border-radius:2px;margin-bottom:20px}.group-list .select-item-header[data-v-279f8f91]{display:flex;justify-content:space-between}.group-list .select-item-header .left[data-v-279f8f91]{display:flex;align-items:center;font-size:14px}.group-list .select-item-header .left .icon[data-v-279f8f91]{margin-right:12px}.group-list .select-item-header .icon-selected[data-v-279f8f91]{position:relative;left:12px;top:-4px}.group-list .select-item-detail[data-v-279f8f91]{padding-top:6px;font-size:14px}header[data-v-279f8f91]{display:flex;justify-content:space-between;align-items:center}header h1[data-v-279f8f91]{padding-bottom:20px;font-size:18px;line-height:30px}header .icon icon-close[data-v-279f8f91]{left:10px;top:-10px}.group-profile-footer[data-v-279f8f91]{padding-top:10px;display:flex;justify-content:flex-end}.btn-default[data-v-279f8f91],.btn-submit[data-v-279f8f91]{width:82px;height:32px;border-radius:4px;font-size:14px}.btn-submit[data-v-279f8f91]{margin-left:10px}.group-h5[data-v-279f8f91]{width:auto;max-height:none;height:100%;border-radius:0;padding:0}.group-h5 .group-box[data-v-279f8f91]{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.group-h5 .group-box header[data-v-279f8f91]{flex-direction:row-reverse;align-items:center;justify-content:center;position:relative;padding:16px 18px}.group-h5 .group-box header h1[data-v-279f8f91]{padding-bottom:0}.group-h5 .group-box header .icon[data-v-279f8f91]{position:absolute;left:18px}.group-h5 .group-box .group-list[data-v-279f8f91]{flex:1;overflow-y:auto;display:flex;flex-direction:column-reverse;justify-content:flex-end;margin-top:12px}.group-h5 .group-box .group-list-item[data-v-279f8f91]{padding:14px 18px;border-bottom:1px solid #e5e5e5}.group-h5 .group-box .group-list-edit[data-v-279f8f91]{display:flex;align-items:flex-start;padding:12px 18px}.group-h5 .group-box .group-list-edit input[data-v-279f8f91]{width:100%;flex:0}.group-h5 .group-box .group-profile-footer[data-v-279f8f91]{box-shadow:inset 0 1px 0 0 #eee;padding:12px 18px}.group-h5-list-item-content[data-v-279f8f91]{flex:1;display:flex;align-items:center;overflow:hidden}.group-h5-list-item-content .content[data-v-279f8f91]{width:0;flex:1;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:end}.group-h5-list-item-introduction[data-v-279f8f91]{padding:12px 18px;font-size:14px;line-height:20px}.TUI-search header h1[data-v-3733d0d4]{font-weight:400;color:#000}.TUI-search header .more[data-v-3733d0d4]{background:#f3f3f3}input[data-v-3733d0d4]{border:1px solid #ddd}.TUI-search-H5 header ul[data-v-3733d0d4]{background:#fff;border:2px solid #e0e0e0;box-shadow:0 3px 7px 0 rgba(0,0,0,.06)}.TUI-search-H5 header ul h1[data-v-3733d0d4]{font-family:PingFangSC-Regular;font-weight:400;color:#444;letter-spacing:0}.TUI-search header[data-v-3733d0d4]{display:flex;align-items:center}.TUI-search header h1[data-v-3733d0d4]{padding:0 8px;font-size:14px}.TUI-search header .more[data-v-3733d0d4]{display:inline-block;width:28px;height:28px;border-radius:4px}.TUI-search header ul[data-v-3733d0d4],.TUI-search header ul li[data-v-3733d0d4]{display:flex;align-items:center}input[data-v-3733d0d4]{box-sizing:border-box;width:100%;height:24px;border-radius:5px;padding:0 10px}.TUI-search-H5 header[data-v-3733d0d4]{display:flex;align-items:center;position:relative}.TUI-search-H5 header h1[data-v-3733d0d4]{font-size:16px}.TUI-search-H5 header ul[data-v-3733d0d4]{flex-direction:column;top:100%;z-index:3;position:absolute;padding:7px 9px}.TUI-search-H5 header ul h1[data-v-3733d0d4]{padding:7px;text-align:center;word-break:keep-all}.TUI-search-H5 header ul .icon-group[data-v-3733d0d4]{margin-left:0} \ No newline at end of file diff --git a/public/static/im-web/index.html b/public/static/im-web/index.html index 2eb3460..8dca058 100644 --- a/public/static/im-web/index.html +++ b/public/static/im-web/index.html @@ -1,4 +1,4 @@ -即时通信
\ No newline at end of file + }; \ No newline at end of file diff --git a/public/static/im-web/js/app.5521fbd6.js b/public/static/im-web/js/app.5521fbd6.js deleted file mode 100644 index cc711f1..0000000 --- a/public/static/im-web/js/app.5521fbd6.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){function t(t){for(var o,a,r=t[0],l=t[1],c=t[2],d=0,u=[];d=3600?(o=S()(""+t/3600,10)<10?"0"+S()(""+t/3600,10):S()(""+t/3600,10),a=S()(""+t%60/60,10)<10?"0"+S()(""+t%60/60,10):S()(""+t%60/60,10),i=t%3600<10?"0"+t%3600:t%3600,i>60&&(a=S()(""+i/60,10)<10?"0"+S()(""+i/60,10):S()(""+i/60,10),i=i%60<10?"0"+i%60:i%60),n=`${o}:${a}:${i}`):t>=60&&t<3600?(a=S()(""+t/60,10)<10?"0"+S()(""+t/60,10):S()(""+t/60,10),i=t%60<10?"0"+t%60:t%60,n=`00:${a}:${i}`):t<60&&(i=t<10?"0"+t:t,n="00:00:"+i),n}var D=n("b05a"),N=n("c959"),U=n("2e20");function B(e){var t,n,o,a,i,s;let r="";switch(e.type){case N["a"].TYPES.CONV_C2C:r=Q(null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.avatar)?null===e||void 0===e||null===(n=e.userProfile)||void 0===n?void 0:n.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png";break;case N["a"].TYPES.CONV_GROUP:r=Q(null===e||void 0===e||null===(o=e.groupProfile)||void 0===o?void 0:o.avatar)?null===e||void 0===e||null===(a=e.groupProfile)||void 0===a?void 0:a.avatar:"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg";break;case N["a"].TYPES.CONV_SYSTEM:r=Q(null===e||void 0===e||null===(i=e.groupProfile)||void 0===i?void 0:i.avatar)?null===e||void 0===e||null===(s=e.groupProfile)||void 0===s?void 0:s.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png";break}return r}function M(e){var t,n;const{t:o}=window.TUIKitTUICore.config.i18n.useI18n();let a="";switch(e.type){case N["a"].TYPES.CONV_C2C:a=(null===e||void 0===e?void 0:e.userProfile.nick)||(null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID)||"";break;case N["a"].TYPES.CONV_GROUP:a=e.groupProfile.name||(null===e||void 0===e||null===(n=e.groupProfile)||void 0===n?void 0:n.groupID)||"";break;case N["a"].TYPES.CONV_SYSTEM:a=o("系统通知");break}return a}function x(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=[`[${t("TUIConversation.有人@我")}]`,`[${t("TUIConversation.@所有人")}]`,`[${t("TUIConversation.@所有人")}][${t("TUIConversation.有人@我")}]`];let o="";for(let a=0;a0&&(o=n[e.groupAtInfoList[a].atTypeArray[0]-1]);return o}function V(e){var t;const n={referenceMessageForShow:"",referenceMessageType:0};if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type)return n;switch(e.type){case N["a"].TYPES.MSG_TEXT:n.referenceMessageForShow=null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.text,n.referenceMessageType=1;break;case N["a"].TYPES.MSG_CUSTOM:n.referenceMessageForShow="[自定义消息]",n.referenceMessageType=2;break;case N["a"].TYPES.MSG_IMAGE:n.referenceMessageForShow="[图片]",n.referenceMessageType=3;break;case N["a"].TYPES.MSG_AUDIO:n.referenceMessageForShow="[语音]",n.referenceMessageType=4;break;case N["a"].TYPES.MSG_VIDEO:n.referenceMessageForShow="[视频]",n.referenceMessageType=5;break;case N["a"].TYPES.MSG_FILE:n.referenceMessageForShow="[文件]",n.referenceMessageType=6;break;case N["a"].TYPES.MSG_FACE:n.referenceMessageForShow="[表情]",n.referenceMessageType=8;break}return n}function L(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),{lastMessage:n}=e,o=e;let a="",i="";const s=o.unreadCount>0&&o.messageRemindType===N["a"].TYPES.MSG_REMIND_ACPT_NOT_NOTE?`[${o.unreadCount>99?"99+":o.unreadCount}${t("TUIConversation.条")}] `:"";if(o.type===N["a"].TYPES.CONV_GROUP&&(a=n.fromAccount===o.groupProfile.selfInfo.userID?t("TUIConversation.我"):n.nameCard||n.nick||n.fromAccount),n.type===N["a"].TYPES.MSG_TEXT)i=n.payload.text;else if(n.type===N["a"].TYPES.MSG_CUSTOM){var r;const e=te(null===n||void 0===n||null===(r=n.payload)||void 0===r?void 0:r.data);if(1===(null===e||void 0===e?void 0:e.businessID))return i=W(n),i;i=n.messageForShow}else i=n.messageForShow;return n.isRevoked&&(i=t("TUIChat.撤回了一条消息")),o.type===N["a"].TYPES.CONV_GROUP&&n.type===N["a"].TYPES.MSG_GRP_TIP?i:`${s}${a?a+":":""}${i}`}function R(e){var t,n,o,i;const{t:r}=window.TUIKitTUICore.config.i18n.useI18n(),l={message:e,text:""};let c=(null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e||null===(t=e.payload)||void 0===t||null===(t=t.userIDList)||void 0===t?void 0:t.join(","));var d,u;(null===e||void 0===e||null===(n=e.payload)||void 0===n||null===(n=n.memberList)||void 0===n?void 0:n.length)>0&&(c="",null===e||void 0===e||null===(d=e.payload)||void 0===d||null===(d=d.memberList)||void 0===d||a()(d).call(d,e=>{c+=((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID))+","}),c=null===(u=c)||void 0===u?void 0:s()(u).call(u,0,-1));if((null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(o=N["a"].TYPES)||void 0===o?void 0:o.MSG_GRP_TIP))switch(e.payload.operationType){case N["a"].TYPES.GRP_TIP_MBR_JOIN:l.text=`${c} ${r("message.tip.加入群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_QUIT:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.退出群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_KICKED_OUT:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.被")}${e.payload.operatorID}${r("message.tip.踢出群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_SET_ADMIN:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.成为管理员")}`;break;case N["a"].TYPES.GRP_TIP_MBR_CANCELED_ADMIN:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.被撤销管理员")}`;break;case N["a"].TYPES.GRP_TIP_GRP_PROFILE_UPDATED:l.text=P(e);break;case N["a"].TYPES.GRP_TIP_MBR_PROFILE_UPDATED:for(const t of e.payload.memberList)t.muteTime>0?l.text=`${r("message.tip.群成员")}:${t.userID}${r("message.tip.被禁言")}`:l.text=`${r("message.tip.群成员")}:${t.userID}${r("message.tip.被取消禁言")}`;break;default:l.text=`[${r("message.tip.群提示消息")}]`;break}else if("group_create"===(null===e||void 0===e||null===(i=e.payload)||void 0===i?void 0:i.data)){var p;l.text=null===e||void 0===e||null===(p=e.payload)||void 0===p?void 0:p.extension}else l.text=W(e);return l}function P(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),{payload:n}=e,{newGroupProfile:o}=n,{operatorID:a}=n;let i="";const s=l()(o)[0];switch(s){case"muteAllMembers":i=o[s]?`${t("message.tip.管理员")} ${a} ${t("message.tip.开启全员禁言")}`:`${t("message.tip.管理员")} ${a} ${t("message.tip.取消全员禁言")}`;break;case"ownerID":i=`${o[s]} ${t("message.tip.成为新的群主")}`;break;case"groupName":i=`${a} ${t("message.tip.修改群名为")} ${o[s]}`;break;case"notification":i=`${a} ${t("message.tip.发布新公告")}`;break;default:break}return i}function A(e){const t={text:Object(D["a"])(e.payload)};return t}function G(e){var t;const n={message:e,name:"",url:""};return n.name=e.payload.data,d()(t=e.payload.data).call(t,"@2x")<0&&(n.name=n.name+"@2x"),n.url=`https://web.sdk.qcloud.com/im/assets/face-elem/${n.name}.png`,n}function H(e){const t={lon:"",lat:"",href:"",url:"",description:"",message:e};return t.lon=e.payload.longitude.toFixed(6),t.lat=e.payload.latitude.toFixed(6),t.href=`https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx=${t.lon}&pointy=${t.lat}&name=${e.payload.description}`,t.url=`https://apis.map.qq.com/ws/staticmap/v2/?center=${t.lat},${t.lon}&zoom=10&size=300*150&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|${t.lat},${t.lon}&key=UBNBZ-PTP3P-TE7DB-LHRTI-Y4YLE-VWBBD`,t.description=e.payload.description,t}function z(e){return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.imageInfoArray[0].url,width:e.payload.imageInfoArray[0].width,height:e.payload.imageInfoArray[0].height,message:e}}function F(e){var t,n,o,a;return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&(null===e||void 0===e?void 0:e.progress),url:null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.videoUrl,snapshotUrl:null===e||void 0===e||null===(n=e.payload)||void 0===n?void 0:n.snapshotUrl,snapshotWidth:null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.snapshotWidth,snapshotHeight:null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.snapshotHeight,message:e}}function $(e){return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.url,message:e,second:e.payload.second}}function Y(e){let t="";return t=e.payload.fileSize>=1048576?(e.payload.fileSize/1048576).toFixed(2)+" Mb":e.payload.fileSize>=1024?(e.payload.fileSize/1024).toFixed(2)+" Kb":e.payload.fileSize.toFixed(2)+"B",{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.fileUrl,message:e,name:e.payload.fileName,size:t}}function K(e){return{message:e,...e.payload}}function W(e){var t,n;const{t:o}=window.TUIKitTUICore.config.i18n.useI18n();let a={},i={};try{var s;a=te(null===e||void 0===e||null===(s=e.payload)||void 0===s?void 0:s.data)}catch(c){a={}}if(1!==a.businessID)return"";try{i=te(a.data)}catch(c){i={}}let r="";null===(t=a)||void 0===t||null===(t=t.inviteeList)||void 0===t||p()(t).call(t,(e,t)=>{var n;t<(null===(n=a)||void 0===n||null===(n=n.inviteeList)||void 0===n?void 0:n.length)-1?r+=`"${e}"、`:r+=`"${e}" `});const l=`"${null===(n=a)||void 0===n?void 0:n.inviter}" `;switch(a.actionType){case 1:return i.call_end>=0&&!a.groupID?`${o("message.custom.通话时长")}:${_(i.call_end)}`:a.groupID&&a.timeout>0?`${l}${o("message.custom.发起通话")}`:a.groupID?""+o("message.custom.结束群聊"):i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):""+o("message.custom.发起通话");case 2:return`${a.groupID?l:""}${o("message.custom.取消通话")}`;case 3:return i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):`${a.groupID?r:""}${o("message.custom.已接听")}`;case 4:return`${a.groupID?r:""}${o("message.custom.拒绝通话")}`;case 5:return i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):`${a.groupID?r:""}${o("message.custom.无应答")}`;default:return""}}function q(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n();return{message:e,custom:W(e)||`[${t("message.custom.自定义消息")}]`}}function Z(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=e.payload.groupProfile.name||e.payload.groupProfile.groupID;switch(e.payload.operationType){case 1:return`${e.payload.operatorID} ${t("message.tip.申请加入群组")}:${n}`;case 2:return`${t("message.tip.成功加入群组")}:${n}`;case 3:return`${t("message.tip.申请加入群组")}:${n} ${t("message.tip.被拒绝")}`;case 4:return`${t("message.tip.你被管理员")}${e.payload.operatorID} ${t("message.tip.踢出群组")}:${n}`;case 5:return`${t("message.tip.群")}:${n} ${t("message.tip.被")} ${e.payload.operatorID} ${t("message.tip.解散")}`;case 6:return`${e.payload.operatorID} ${t("message.tip.创建群")}:${n}`;case 7:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 8:return`${t("message.tip.你退出群组")}:${n}`;case 9:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.设置为群")}:${n} ${t("message.tip.的管理员")}`;case 10:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.撤销群")}:${n} ${t("message.tip.的管理员身份")}`;case 12:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 13:return`${e.payload.operatorID} ${t("message.tip.同意加群")}:${n}`;case 14:return`${e.payload.operatorID} ${t("message.tip.拒接加群")}:${n}`;case 255:return`${t("message.tip.自定义群系统通知")}: ${e.payload.userDefinedField}`}}function J(e,t,n){var o;const i=(null===e||void 0===e?void 0:e.querySelectorAll("."+t))||[],r=a()(o=s()(Array.prototype).call(i)).call(o,e=>new h.a((t,n)=>{e.onload=()=>{t(e)},e.onloadeddata=()=>{t(e)},e.onprogress=()=>{t(e)},e.complete&&t(e)}));return h.a.all(r).then(()=>{n&&n()}).catch(e=>{console.error("网络异常",e)})}function Q(e){return/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(e)}function X(e,t,n){return{businessID:e,version:t,...n}}function ee(e){if("string"===typeof e)try{const t=JSON.parse(e);return!!t}catch(t){return!1}return!1}function te(e){return e&&ee(e)?JSON.parse(e):e}function ne(e){if(!e)return!1;try{var t;const{businessID:n}=te(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);if(n===U["a"].typeUserTyping)return!0}catch{return!1}return!1}function oe(e,t=new f.a){if("object"!==typeof e||null===e)throw new TypeError("传入参数不是对象");if(t.has(e))return t.get(e);const n=b()(y()(e)),o=l()(e);return p()(o).call(o,o=>{const a=e[o];"object"!==typeof a||null===a?n[o]=a:k()(a)?n[o]=[...a]:a instanceof w.a?n[o]=new w.a([...a]):a instanceof C.a?n[o]=new C.a([...a]):(t.set(e,e),n[o]=oe(a,t))}),n}const ae=e=>{var t,n,o,a,i,s;return!!((null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(t=N["a"].TYPES)||void 0===t?void 0:t.MSG_GRP_TIP)||(null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(n=N["a"].TYPES)||void 0===n?void 0:n.MSG_CUSTOM)&&(null===e||void 0===e?void 0:e.conversationType)===(null===N["a"]||void 0===N["a"]||null===(o=N["a"].TYPES)||void 0===o?void 0:o.CONV_GROUP)&&null!==U["a"]&&void 0!==U["a"]&&U["a"].TYPE_CALL_MESSAGE||(null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(a=N["a"].TYPES)||void 0===a?void 0:a.MSG_CUSTOM)&&(null===e||void 0===e?void 0:e.conversationType)===(null===N["a"]||void 0===N["a"]||null===(i=N["a"].TYPES)||void 0===i?void 0:i.CONV_GROUP)&&"group_create"===(null===e||void 0===e||null===(s=e.payload)||void 0===s?void 0:s.data))},ie=(e,t,n,o)=>{const a=e/t,i=n/o;return e<=n&&t<=o?{width:e,height:t}:e<=n&&t>o||e>n&&t>o&&a<=i?{width:e*(o/t),height:o}:{width:n,height:t*(n/e)}}},2857:function(e,t,n){"use strict";n("5c55")},2929:function(e,t,n){"use strict";n("34be")},"292f":function(e){e.exports=JSON.parse('{"发起单聊":"New one-to-one chat","发起群聊":"New group chat","请输入userID":"Enter a user ID","删除会话":"Delete conversation","系统通知":"System notification","置顶会话":"Top conversation","取消置顶":"cancel top conversation","消息免打扰":"Message not disturb","取消免打扰":"cancel not disturb","有人@我":"Someone {\'@\'} me","@所有人":"{\'@\'}Everyone","条":"strip","我":"me","网络异常,请您检查网络设置":"Network exception, please check the network settings"}')},"29ef":function(e,t,n){"use strict";n("ad38")},"2b91":function(e,t,n){"use strict";n("3105")},"2e20":function(e,t,n){"use strict";const o={typeC2C:"isC2C",typeGroup:"isGroup",cancel:"cancel",group:"GROUP",handleMessage:{revoke:"revoke",copy:"copy",delete:"delete",forward:"forward",reply:"reply",reference:"reference"},at:"@",all:"所有人",typeText:1,typeCustom:2,typeImage:3,typeAudio:4,typeVideo:5,typeFile:6,typeFace:8,typeForward:"forward",typeMute:"mute",typeOrder:"order",typeService:"consultion",typeReply:"quick_reply",typeEvaluate:"evaluation",typeTextLink:"text_link",typeAndroid:"android",typeIphone:"iphone",typeMini:"miniprogram",typeSystem:"system",typeBusinessCard:"business_card",typeArchives:"archives",typeMedicalExaminationReport:"medical_examination_report",typeUserTyping:"user_typing_status",typeInputStatusIng:"EIMAMSG_InputStatus_Ing",typeInputStatusEnd:"EIMAMSG_InputStatus_End",scrollType:{toBottom:"bottom",toTarget:"target"},inViewType:{page:"page",scroll:"scroll"},TYPE_CALL_MESSAGE:1,CALL_ACTION_TYPE:{INVITE:1,CANCEL_INVITE:2,ACCEPT_INVITE:3,REJECT_INVITE:4,INVITE_TIMEOUT:5}};t["a"]=o},3105:function(e,t,n){},"336d":function(e){e.exports=JSON.parse('{"群聊通知":"Group Chat Notifications","系统通知":"System Notifications","我的群聊":"My Group Chats","输入群ID,按回车搜索":"Enter a group ID","群名称":"Group name","群ID":"Group ID","加入群聊":"Join group chat","解散群聊":"Disband group chat","退出群聊":"Quit group chat","进入群聊":"Enter group chat","群类型":"Group type","请填写验证信息":"Enter the verification info","申请加入":"Request to join","已申请":"Requested","接受":"Accept","拒绝":"Refuse","已处理":"Handled","添加群聊":"add group chat","已加入":"joined","该群组不存在":"The group does not exist","加群":"join","我的好友":"Friend","发送消息":"Send Message","个性签名":"Signature"}')},"34bb":function(e,t,n){e.exports=n.p+"img/doctor-img.fa4faaf8.webp"},"34be":function(e,t,n){},3588:function(e,t,n){},"37a4":function(e){e.exports=JSON.parse('{"撤回":"Recall message","删除":"Delete message","复制":"Copy","重新发送":"Resend","转发":"Forward","引用":"Reference","回复":"Reply","回复详情":"Replies","条回复":"replies","打开":"Open","已读":"Read","全部已读":"All read","人已读":" read","人未读":" unread","人关闭阅读状态":" read status closed","消息详情":"Message Detail","关闭阅读状态":"Read status closed","该消息不存在":"The message does not exist","无法定位到原消息":"Unable to navigate to the original message","未读":"Unread","您":"You","撤回了一条消息":"recalled a message","重新编辑":"Re-edit","我":"I","查看更多":"View more","转发给":"Forward to","请输入消息":"Enter a message","描述":"Description","经度":"Longitude","纬度":"Latitude","自定义消息":"Custom message","图片":"[photo]","语音":"[audio]","视频":"[video]","表情":"[face]","文件":"[file]","自定义":"[custom message]","管理员开启全员禁言":"The admin enables Mute All","您已被管理员禁言":"You have been muted by the admin","按Enter发送,Ctrl+Enter换行":"Press Enter to send a message and Ctrl+Enter to start a new line","单击下载":"Click download","确认重发该消息?":"Confirm to resend the message?","取消":"Cancel","确定":"Submit","对方正在输入":"Typing...","回到最新位置":"Back to the latest location","条新消息":" new messages","安全提示":"【Security Tips】This APP is only used to experience the functions of Tencent Cloud Instant Messaging products, and cannot be used for business negotiation and expansion. Don\'t trust money-related information such as remittances and lottery wins, don\'t make unfamiliar phone calls easily, and beware of being deceived.","点此投诉":"Complain","语音通话":"Voice Call","视频通话":"Video Call","发起群语音":"Make group voice call","发起群视频":"Make group video call","已接听":"Answered","拒绝通话":"Decline Call","无应答":"No Answer","取消通话":"Cancel Call","发起通话":"Start Call","结束群聊":"Edit Group Call","通话时长":"Duration","欢迎使用TUICallKit":"Welcome to TUICallKit","检测到您暂未集成TUICallKit,无法体验音视频通话功能":"It is detected that you have not integrated TUI CallKit yet, so you cannot experience the audio and video call. ","请点击":"Please click","集成TUICallKit":" Integrate TUICallKit ","开通腾讯实时音视频服务":"Integration Tencent Real-Time Communication","进行体验":"to experience.","您当前购买使用的套餐包暂未开通此功能":"The package you purchased does not support this ability.","选择提醒的人":"Select Contact","manage":{"群公告":"Group notice","群成员":"Group member","群管理":"Manage group","好友工作群":"Work","陌生人社交群":"Public","临时会议群":"Meeting","直播群":"AVChatRom","自由加入":"Join freely","需要验证":"Require approval","禁止加群":"Disallow group joining","人":"","群ID":"Group ID","群头像":"Group profile photo","群类型":"Group type","加群方式":"Group joining mode","转让群组":"Transfer ownership","解散群聊":"Disband group","退出群组":"Quit group","群管理员":"Group admin","全员禁言":"Mute All","全员禁言开启后,只允许群主和管理员发言。":"If Mute All is enabled, only the group owner and admin can speak.","单独禁言人员":"Mute a member","删除成员":"Remove member","确定从群聊中删除该成员?":"Are you sure you want to remove this member from the group chat?","确定从群聊中删除所选成员?":"Are you sure you want to remove selected member(s) from the group chat?","暂无公告":"No notice","发布":"Post","编辑":"Edit","群名称":"Group name","查看更多":"View more","管理员":"Admin","群主":"Group owner","我":"me","添加成员":"Add member","新增管理员":"Add admin","移除管理员":"Revoke admin","新增禁言用户":"Add muted member","移除禁言用户":"Remove muted member","修改群聊名称":"Edit group name","修改群聊名称后,将在群内通知其他成员":"After modifying the group chat name, other members will be notified in the group","仅限中文、字母、数字和下划线,2-20个字":"Chinese, letters, numbers and underscores only, 2-20 words","请先注册 TUIGroup 模块":"Please register the TUIGroup module first","该用户不存在":"The user does not exist","该用户不在群组内":"The user is not in the group"}}')},3910:function(e,t,n){"use strict";n("f271")},"3a39c":function(e,t,n){"use strict";n("dbc1")},"3b1e":function(e,t,n){"use strict";n("8903")},"3e72":function(e,t,n){"use strict";n("1928")},"403c":function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"请对本次服务进行评价","提交评价":"提交评价","服务评价工具":"服务评价工具","使用":"使用","自定义消息":"自定义消息","搭建":"搭建","星":"星"}')},"408a":function(e,t,n){},"409e":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAABcBJREFUeF7tnYuN1TAQRb2dQCdQCVAJUAlQCVAJUAm8u3rWywbP1+NkIk2kFdJu7Dj3zM+OE55aHakUeEo1mhpMKyDJjKCAFJBkCiQbTnlIAUmmQLLhlIcUkGQKJBtOeUgBSaZAsuGUhxSQZAokG055SAFJpkCy4ZSHFJBkCiQbTnmID8ib1hp+frTWft9/fD3tWl0VCMR411p71Vr7efv3a6QogrJfbtd6vzkHUD5EXf+KQD611j7uRAsVhQECA/g1+Pvn2+8wrunjakC+30PF6MZfR1kpo+rIGPrpIVCuAgSWiVCBUEUdCBsIXSsPhCqMgzqmjeIKQAABniEdIRYqXeQesmAgowMJ/u2Mp2YHwoWIvSBHAQEMGMgSKJmBcPliZJ1HAcG1JUNxjyUjEE2+OBuIBoorp2UDos0XGYBgDCiBQ0NXJiBSGOgQkDhHIrjDhCKRU6dI+cTsJVmAaPMFKhhMCkfl7xlAAIqDYq66zgaizRe4MVgbZuQUvLOASPnENK4zgWjzBSDAM/qREUiYl5wFRJsvRtYVCQQzb4gZsTgZsqxyBhBLvoB37I8IIKNQaQotg3GFeMmRQDz5YlTdRAChrBmhcWQE2kKM8xJVxaUFQtXa2oEiX3CLcr2ffb5YBYSaP5irosEAqb419ya+sKON9Vow3HnakBHhIVzYnH22wmkmrgZzHqKtgiJgWEJFBJDusZTna41jdO+cbmLY4oDsH1VGCL/vYzu/0PYfAUSaO+DvojUzA6bCFqo5QCEPDoi2GtIKuT9PFVMXVVm9W24tasZLKGOGAQJ0OiAzNxvlIRBFWovyegkXttg+z/AQS75YVWVt+w2Z0BmqLdYYPUDQ4cyza7jtzBHpIZrQ5fUSKmyxodoLJGTLi5PKCiBTpSpxH9yGCFL3AvJQk0rw3nznyiMF5AHEFWIYL6c21bEldQF5KMqFGG8e+UsAIwubAvJSMbOAQh6kwiA5Yy8gLxU1C1hA1j7CjQZirgjLQ16auFlAwUOoQoFc0yogLxU1C+gEQk4OC8haINSEs4AoVwUqZCmF2p4WLdq27+jZunmsFbLOmYeQyzEF5AGEW+rwPjIwTzQLyAMIt+Kr3Z2zj8AFxJGTehMq3ouPXYlr1uLiTRjvcxpOvBXL7/U8RPCcFQ+oqD5Zj/PkEExqvjlDQ/8UhbP5czNzKSlcjPMOb7jixhkOZEbMiK2a0UBWbHJwh0CPh8wA6W3FHXzMRSKBrPIOdwg8Cwj07rtXrLtQIoFwmwG9yRz35sofaHj2VlLPxuYoIByMmdwBXan5hwiZAyLt6osIXejDmlcigEi7+mdC6tSMX5qBYisL3nqdfT9E014rwiwQaVe/d89xN1B3uJJCVpQH9JjaPzjG9avJK7NAuF39s6HKXV11USQPiYQivZPRryXllVVArKFzpM10CX0kENyANi9x4swCWfV+YUgJfTSQblXal4FGeWUWyCiEepfXt17C3ZNYXZ0RsvYuDkv15JUIIH0ssGrrPGgUqkK848ikTuUiT16JBBKVI7k5jbZ6fB7LWSFrK4Q1r1DfXlSHhSgK9364MtpctWUAYs0r2T7PNPpsbL8nc27KBMQyXxkZ+RkeIr3vvv1ojsoxswHBoLV5ZX+DRwOR3lJ2vcKQEYhlvrKFciQQaS3MPZasQKx5Bee7RVDFksdJS9fCsgOx5JUjgHDzDYzVXFXtjeEKQLR55Qgg0sLk1Fets8xDtBFDmq+YS0zthTfnUQ+ecErI9a/iIVvtRlY6HSqUcKI3Y/932SsC6SGsfy5W/MKOUmzNadT/XWKeb1AXuyoQjXirzsHr01gUhVf+uV3Eu1tyOL4Csgqbs98C4hRuVbMCskpZZ78FxCncqmYFZJWyzn4LiFO4Vc0KyCplnf0WEKdwq5oVkFXKOvstIE7hVjUrIKuUdfZbQJzCrWpWQFYp6+y3gDiFW9WsgKxS1tnvP5Az1XQJBKYyAAAAAElFTkSuQmCC"},4176:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"e",(function(){return V})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return P}));var o=n("9474"),a=n.n(o),i=n("65b8"),s=n.n(i),r=(n("14d9"),n("fc56")),l=n.n(r),c=n("4573"),d=n.n(c),u=n("4c43"),p=n.n(u),m=n("3393"),h=n.n(m),v=n("c192"),f=n.n(v),g=n("7a23");const b={key:0},O={key:1};function y(e,t,n,o,a,i){return Object(g["openBlock"])(),Object(g["createBlock"])(g["Transition"],{name:"fade",onBeforeLeave:e.onClose,onAfterLeave:t[0]||(t[0]=t=>e.$emit("destroy"))},{default:Object(g["withCtx"])(()=>[Object(g["withDirectives"])(Object(g["createElementVNode"])("div",{class:Object(g["normalizeClass"])(["message",[e.handleStyle(e.type),e.isH5&&"message-h5"]]),style:Object(g["normalizeStyle"])(e.customStyle)},[e.isH5?Object(g["createCommentVNode"])("",!0):(Object(g["openBlock"])(),Object(g["createElementBlock"])("p",b,Object(g["toDisplayString"])(e.message),1)),e.isH5?(Object(g["openBlock"])(),Object(g["createElementBlock"])("span",O,Object(g["toDisplayString"])(e.message),1)):Object(g["createCommentVNode"])("",!0)],6),[[g["vShow"],e.visible]])]),_:1},8,["onBeforeLeave"])}var j=n("34ae"),k=Object(g["defineComponent"])({name:"TUIMessage",props:{message:{type:String,default:""},duration:{type:Number,default:3e3},repeatNum:{type:Number,default:1},id:{type:String,default:""},onClose:{type:Function,required:!1},offset:{type:Number,default:20},zIndex:{type:Number,default:0},isH5:{type:Boolean,default:!1},type:{type:String,default:""}},setup(e){const t=Object(g["ref"])(!1);let n=void 0;function o(){e.duration>0&&({stop:n}=Object(j["useTimeoutFn"])(()=>{t.value&&i()},e.duration))}function a(){var e;null===(e=n)||void 0===e||e()}function i(){t.value=!1}Object(g["watch"])(()=>e.repeatNum,()=>{a(),o()});const s=Object(g["computed"])(()=>({top:e.offset+"px",zIndex:e.zIndex}));Object(g["onMounted"])(()=>{o(),t.value=!0});const r=e=>!e||"error"!==e&&"success"!==e&&"warning"!==e?"normal":e;return{visible:t,customStyle:s,handleStyle:r}}}),I=(n("d0f1"),n("6b0d")),w=n.n(I);const E=w()(k,[["render",y],["__scopeId","data-v-3852e376"]]);var C=E;const T=[];let S=1;const _=document.body,D=function(e){const t=l()(T).call(T,t=>{var n,o,a;return""+(null!==(n=null===(o=t.vm.props)||void 0===o?void 0:o.message)&&void 0!==n?n:"")===""+(null!==(a=e.message)&&void 0!==a?a:"")});if(t)return t.vm.component.props.repeatNum+=1,{close:()=>s.component.proxy.visible=!1};let n=e.offset||20;d()(T).call(T,({vm:e})=>{var t;n+=((null===(t=e.el)||void 0===t?void 0:t.offsetHeight)||0)+20}),n+=20;const o="message_"+(S+=1),a=e.onClose,i={zIndex:20+S,offset:n,id:o,...e,onClose:()=>{N(o,a)}},s=Object(g["createVNode"])(C,i),r=document.createElement("div");return s.props.onDestroy=()=>{Object(g["render"])(null,r)},Object(g["render"])(s,r),T.push({vm:s}),_.appendChild(r.firstElementChild),{close:()=>s.component.proxy.visible=!1}};function N(e,t){const n=p()(T).call(T,({vm:t})=>e===t.component.props.id);if(-1===n)return;const{vm:o}=T[n];if(!o)return;null===t||void 0===t||t(o);const a=o.el.offsetHeight;h()(T).call(T,n,1);const i=T.length;if(!(i<1))for(let s=n;s8KB)"};var M=B;function x(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=6e4,o=60*n,i=24*o,s=7*i,r=(new Date).getTime(),l=r-e;let c="";if(l<0)return;const d=l/n,u=l/o,p=l/i,m=l/s;if(m>=1&&m<=4)c=` ${a()(""+m,10)} ${t("time.周")}${t("time.前")}`;else if(p>=1&&p<=6)c=` ${a()(""+p,10)} ${t("time.天")}${t("time.前")}`;else if(u>=1&&u<=23)c=` ${a()(""+u,10)} ${t("time.小时")}${t("time.前")}`;else if(d>=1&&d<=59)c=` ${a()(""+d,10)} ${t("time.分钟")}${t("time.前")}`;else if(l>=0&&l<=n)c=""+t("time.刚刚");else{const t=new Date;t.setTime(e);const n=t.getFullYear(),o=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate();c=`${n}-${o}-${a}`}return c}function V(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=e.payload.groupProfile.name||e.payload.groupProfile.groupID;switch(e.payload.operationType){case 1:return`${e.payload.operatorID} ${t("message.tip.申请加入群组")}:${n}`;case 2:return`${t("message.tip.成功加入群组")}:${n}`;case 3:return`${t("message.tip.申请加入群组")}:${n} ${t("message.tip.被拒绝")}`;case 4:return`${t("message.tip.你被管理员")}${e.payload.operatorID} ${t("message.tip.踢出群组")}:${n}`;case 5:return`${t("message.tip.群")}:${n} ${t("message.tip.被")} ${e.payload.operatorID} ${t("message.tip.解散")}`;case 6:return`${e.payload.operatorID} ${t("message.tip.创建群")}:${n}`;case 7:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 8:return`${t("message.tip.你退出群组")}:${n}`;case 9:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.设置为群")}:${n} ${t("message.tip.的管理员")}`;case 10:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.撤销群")}:${n} ${t("message.tip.的管理员身份")}`;case 12:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 13:return`${e.payload.operatorID} ${t("message.tip.同意加群")}:${n}`;case 14:return`${e.payload.operatorID} ${t("message.tip.拒接加群")}:${n}`;case 255:return`${t("message.tip.自定义群系统通知")}: ${e.payload.userDefinedField}`}}function L(e,t){null!==e&&void 0!==e&&e.type&&null!==e&&void 0!==e&&e.message?U({message:`${e.type} : ${e.message}`||e,isH5:!(null===t||void 0===t||!t.isH5),type:"error"}):U({message:M[e.code]||e,isH5:!(null===t||void 0===t||!t.isH5),type:"error"})}function R(e,t){U({message:e,isH5:!(null===t||void 0===t||!t.isH5),type:"success"})}function P(e,t){if(e.length!==t.length)return!1;for(let n=0;n>":"查看详情>>"}}')},"668f":function(e,t,n){"use strict";n("020d")},"6a25":function(e,t,n){"use strict";n("f1ac")},"6b4c":function(e,t,n){},"6ba3":function(e,t,n){"use strict";const o=function(){const e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,o=/(?:Android)/.test(e),a=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||o&&!/(?:Mobile)/.test(e)||a&&/(?:Tablet)/.test(e),s=/(?:iPhone)/.test(e)&&!i,r=!s&&!o&&!n;return{isTablet:i,isPhone:s,isAndroid:o,isPC:r,isH5:s||o||i}};t["a"]=o},"6d25":function(e,t,n){},"6e04":function(e,t,n){"use strict";n("20f7")},"6f92":function(e,t,n){},"703d":function(e,t,n){e.exports=n.p+"img/at.f3555aa3.svg"},"72af":function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"Please rate this service","提交评价":"Feedback","常用语-快捷回复工具":"Common Expressions - Quick Reply Tool","使用":"Build with","自定义消息":"Custom message","搭建":"","在吗?在吗?在吗?重要的话说三遍。":"Are you there? ","好久没聊天了,快来和我说说话~":"It’s been a long time. How about you?","好的,就这么说定了。":"Okay. It\'s a deal.","感恩的心,感谢有你。":"So grateful! ","糟糕!是心动的感觉!":"Oh, no. Flipped.","心疼地抱抱自己,我太难了!":"Give myself a warm hug. ","没关系,别在意,事情过去就过去了。":"Take it easy.","早上好,今天也是让人期待的一天呢!":"Good morning. Have a wonderful day.","熬夜有什么用,又没人陪你聊天,早点休息吧。":"It\'s better to go to bed early."}')},"736b":function(e,t,n){"use strict";n("76de")},7507:function(e,t,n){},"76de":function(e,t,n){},"77d5":function(e,t,n){"use strict";n("e537")},"77ea":function(e,t,n){"use strict";n("0d53")},"7a54":function(e,t,n){"use strict";n("3588")},"7aa9":function(e,t,n){},"7af0":function(e,t,n){"use strict";n("6b4c")},"7b94":function(e,t,n){"use strict";n("7aa9")},"7c02":function(e,t,n){"use strict";n("4c00")},"7c77":function(e,t,n){},"7d94":function(e,t,n){"use strict";n("577b")},"7f52":function(e,t,n){},8617:function(e,t,n){"use strict";n("599e")},8893:function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"Please rate this service","提交评价":"Feedback","服务评价工具":"Service rate tool","使用":"Build with","自定义消息":"Custom message","搭建":"","星":"Star"}')},8903:function(e,t,n){},"8a56":function(e,t,n){},"8f32":function(e,t,n){"use strict";n("49b8")},"8fe9":function(e){e.exports=JSON.parse('{"输入groupID搜索":"Enter groupId search","群名称":"Group name","群ID":"Group ID","加入群聊":"Join","解散群聊":"Dissolution","退出群聊":"Quit","群类型":"Group type","请填写验证信息":"Please fill in the verification information","申请加入":"Apply Join","已申请":"Applied"}')},"92c8":function(e){e.exports=JSON.parse('{"取消":"取消","完成":"完成","已选中":"已选中","人":"人","保存":"保存","请输入userID":"请输入userID","确定":"确定","全选":"全选","已在群聊中":"已在群聊中"}')},"944d":function(e,t,n){"use strict";n("4481")},9687:function(e,t,n){},9785:function(e,t,n){"use strict";n("c039")},"999c":function(e){e.exports=JSON.parse('{"周":"week(s) ","天":"day(s)","小时":"hour(s) ","分钟":"minute(s)","刚刚":"Just now","前":" ago","昨天":"Yesterday","星期一":"Monday","星期二":"Tuesday","星期三":"Wednesday","星期四":"Thursday","星期五":"Friday","星期六":"Saturday","星期日":"Sunday"}')},"9a2f":function(e,t,n){"use strict";n("1431")},"9c10":function(e){e.exports=JSON.parse('{"tip":{"群成员":"group members","加入群组":"joined the group","退出群组":"left the group","被":"by","踢出群组":"was kicked out of the group","成为管理员":"was set as an admin","被撤销管理员":"was revoked","被禁言":" was unmuted","被取消禁言":"cancel the prohibition","群提示消息":"group prompt message","管理员":"The admin","开启全员禁言":"enabled Mute All","取消全员禁言":"disabled Mute All","成为新的群主":"became the new group owner","修改群名为":"changed the group name to","发布新公告":"posted a new notice","申请加入群组":"requested to join the group","成功加入群组":"Successfully joined the group","被拒绝":"The request to join the group was refused","你被管理员":"You","群":"group","解散":"disbanded","创建群":"created the group","邀请你加群":"invite you to join the group","你退出群组":"You left the group","你被":"You were","设置为群":"set as group","的管理员":"as an admin","撤销群":"revoked","的管理员身份":"admin role of the group","同意加群":"agreed to join the group","拒接加群":"refused to join the group","自定义群系统通知":"Custom group system notification"},"custom":{"自定义消息":"Custom message","通话时长":"Call duration","结束群聊":"End","切换语音通话":"Switch voice call","切换视频通话":"Switch video call","发起通话":"Start a call","取消通话":"Cancel","已接听":"Answered","拒绝通话":"Decline","无应答":"No answer","对本次服务评价":"Rate this service","查看详情>>":"View details >>"}}')},a185:function(e,t,n){},a1ae:function(e,t,n){},a46a:function(e){e.exports=JSON.parse('{"输入groupID搜索":"输入groupID搜索","群名称":"群名称","群ID":"群ID","加入群聊":"加入群聊","解散群聊":"解散群聊","退出群聊":"退出群聊","群类型":"群类型","请填写验证信息":"请填写验证信息","申请加入":"申请加入","已申请":"已申请"}')},a53a:function(e,t,n){},a6a0:function(e,t,n){"use strict";n("9687")},a7be:function(e,t,n){},a94d:function(e,t,n){"use strict";n("8a56")},a9cb:function(e,t,n){},aa66:function(e,t,n){"use strict";n("486b")},ad38:function(e,t,n){},ae10:function(e,t,n){"use strict";n("f7e2")},ae69:function(e,t,n){"use strict";n("41f3")},aeac:function(e,t,n){"use strict";n("dce1")},aee3:function(e,t,n){},afbc:function(e,t,n){"use strict";var o=n("6605"),a=n("fcd0");const i=[{path:"/",name:"Home",component:()=>n.e("about").then(n.bind(null,"bb51"))}],s=Object(o["a"])({history:Object(o["b"])(""),routes:i});s.beforeEach((e,t,n)=>{"Login"===e.name||a["b"].isLogin?n():n({name:"Login"})}),t["a"]=s},b05a:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("14d9");var o=n("65b8"),a=n.n(o),i=n("52da"),s=n.n(i),r=n("17da");function l(e){const t=[];let n=e.text,o=-1,i=-1;while(""!==n)switch(o=a()(n).call(n,"["),i=a()(n).call(n,"]"),o){case 0:if(-1===i)t.push({name:"text",text:n}),n="";else{const e=s()(n).call(n,0,i+1);r["b"][e]?(t.push({name:"img",src:r["d"]+r["b"][e]}),n=n.substring(i+1)):(t.push({name:"text",text:"["}),n=s()(n).call(n,1))}break;case-1:t.push({name:"text",text:n}),n="";break;default:t.push({name:"text",text:s()(n).call(n,0,o)}),n=n.substring(o);break}return t}},b0af:function(e){e.exports=JSON.parse('{"发起会话":"发起会话","发起单聊":"发起单聊","发起群聊":"发起群聊","该用户不存在":"该用户不存在","创建群聊,请注册 TUIGroup 模块":"创建群聊,请注册 TUIGroup 模块","创建成功":"创建成功","发起多人会话(群聊)":"发起多人会话(群聊)","群头像":"群头像","群名称":"群名称","群ID":"群ID","群类型":"群类型","选填":"选填","取消":"取消","创建":"创建","类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见":"类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见","类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见":"类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见","创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见":"创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见","创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见":"创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见","产品文档":"产品文档","设置群名称":"设置群名称","请输入群名称":"请输入群名称","设置群ID":"设置群ID","请输入群ID":"请输入群ID","选择群类型":"选择群类型"}')},b15c:function(e){e.exports=JSON.parse('{"周":"周","天":"天","小时":"小时","分钟":"分钟","刚刚":"刚刚","前":"前","昨天":"昨天","星期一":"星期一","星期二":"星期二","星期三":"星期三","星期四":"星期四","星期五":"星期五","星期六":"星期六","星期日":"星期日"}')},b23d:function(e,t,n){"use strict";n("c96d")},b4c9:function(e,t,n){},b617:function(e,t,n){"use strict";n("b4c9")},b77c:function(e,t,n){"use strict";n("0066")},ba1b:function(e,t,n){},bbb6:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var o=n("e311");const a=604800;function i(e){const{SDKAppID:t,secretKey:n,userID:i}=e,s=new o["a"](t,n,a),r=s.genTestUserSig(i);return{SDKAppID:t,userSig:r}}},bc82:function(e){e.exports=JSON.parse('{"资料设置":"Edit profile","头像":"Profile photo","昵称":"Name","账号":"Account","个性签名":"Status","性别":"Gender","男":"Male","女":"Female","不显示":"Rather not say","出生年月":"Birthday","取消":"Cancel","保存":"Save","请选择出生日期":"Select the date of birthday","选择头像":"Select Avatar","设置昵称":"Setting Name","仅限中文、字母、数字和下划线,2-20个字":"Chinese, letters, numbers and underscores only, 2-20 words","请输入昵称":"Enter Name","性别选择":"Select gender","请输入内容":"Enter content","用户ID":"userID","暂未设置":"Not set yet"}')},bd25:function(e,t,n){},be7e:function(e,t,n){"use strict";n("12c0")},c039:function(e,t,n){},c193:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return l["a"]})),n.d(t,"b",(function(){return c["a"]})),n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return w}));const o={theme:"dark"};function a(e){e.setCommonStore(o)}function i(e){console.log("app",e)}const s={name:"TUITheme",plugin:a,install:i};var r=s,l=n("c7e2"),c=n("6ba3"),d=n("2b0b"),u=n.n(d),p=n("14b1"),m=n.n(p);const h=[{name:"TUILongPress",callback:(e,t,n)=>{if("function"!==typeof t.value){const e=n.context.name;let o=`[longpress:] provided expression '${t.expression}' is not afunction, but has to be `;e&&(o+=`Found in component '${e}' `),console.warn(o)}let o=null;const a=e=>{"click"===e.type&&0!==e.button||null===o&&(o=u()(()=>{s(e)},1e3))},i=e=>{null!==o&&(clearTimeout(o),o=null)},s=e=>{t.value(e)};e.addEventListener("mousedown",a,!1),e.addEventListener("touchstart",a,!1),e.addEventListener("click",i),e.addEventListener("mouseout",i),e.addEventListener("touchend",i),e.addEventListener("touchcancel",i)}}],v=e=>{m()(h).call(h,t=>{e.directive(t.name,{beforeMount:t.callback})})};var f=v,g=n("2fa7"),b=n("3818"),O=n.n(b),y=n("259d"),j=n("ea1b"),k=n.n(j);class I{constructor(e){Object(g["a"])(this,"allowNotifications",!0),Object(g["a"])(this,"showPreviews",!0),Object(g["a"])(this,"notificationTitle","腾讯云 IM "),Object(g["a"])(this,"notificationIcon","https://web.sdk.qcloud.com/im/demo/latest/faviconnew.png"),e&&(void 0!==(null===e||void 0===e?void 0:e.allowNotifications)&&(this.allowNotifications=e.allowNotifications),void 0!==(null===e||void 0===e?void 0:e.showPreviews)&&(this.showPreviews=e.showPreviews),void 0!==(null===e||void 0===e?void 0:e.notificationTitle)&&(this.notificationTitle=e.notificationTitle),void 0!==(null===e||void 0===e?void 0:e.notificationIcon)&&(this.notificationIcon=e.notificationIcon))}static getInstance(e){return I.instance||(I.instance=new I(e)),I.instance}static plugin(e,t){e.config.notification=this.getInstance(t),this.TUICore=e}static install(e){e.use(this.getInstance())}setNotificationConfiguration(e){e&&(void 0!==(null===e||void 0===e?void 0:e.allowNotifications)&&(this.allowNotifications=e.allowNotifications),void 0!==(null===e||void 0===e?void 0:e.showPreviews)&&(this.showPreviews=e.showPreviews),void 0!==(null===e||void 0===e?void 0:e.notificationTitle)&&(this.notificationTitle=e.notificationTitle),void 0!==(null===e||void 0===e?void 0:e.notificationIcon)&&(this.notificationIcon=e.notificationIcon))}async notify(e){this.allowNotifications&&this.checkNotificationAbility()&&await this.requestNotificationPermission()&&await this.handleNotification(e)}checkNotificationAbility(){return"Notification"in window&&"denied"!==window.Notification.permission}requestNotificationPermission(){return new O.a((e,t)=>{var n;null!==(n=window)&&void 0!==n&&n.Notification||t(!1),"granted"===window.Notification.permission&&e(!0),window.Notification.requestPermission().then(t=>{"granted"===t&&e(!0)}).catch(()=>{t(!1)})})}async handleNotification(e){var t;if(!this._isMessageNeedNotification(e))return;const n=this._handleNotificationType(e);let o,a={badge:this.notificationIcon,icon:this.notificationIcon,body:"",requireInteraction:!1};switch(n){case"call":if(o=this._handleCallNotificationContent(e),null===(t=o)||void 0===t||!t.content)return;a.body=o.content,a.requireInteraction=!o.callEnd;break;case"chat":a.body=await this._handleChatNotificationContent(e),a.requireInteraction=!1;break}const i=new Notification(this.notificationTitle,a);i.onclick=()=>{var t;if(window.focus(),!e||null===e||void 0===e||!e.conversationID)return;const n=null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t?void 0:t.TUIConversation;(null===e||void 0===e?void 0:e.conversationType)!==k.a.TYPES.CONV_C2C&&(null===e||void 0===e?void 0:e.conversationType)!==k.a.TYPES.CONV_GROUP||null===n||void 0===n||n.getConversationProfile(null===e||void 0===e?void 0:e.conversationID).then(e=>{var t,o;(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.conversation)&&n.handleCurrentConversation(null===e||void 0===e||null===(o=e.data)||void 0===o?void 0:o.conversation)}),i.close()}}_isMessageNeedNotification(e){var t;if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type||null!==e&&void 0!==e&&e.isRevoked||null!==e&&void 0!==e&&e.isDeleted||y["v"]&&Object(y["v"])(e))return!1;if((null===e||void 0===e?void 0:e.type)===k.a.TYPES.MSG_GRP_TIP||(null===e||void 0===e?void 0:e.type)===k.a.TYPES.MSG_GRP_SYS_NOTICE)return!1;const n=null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||null===(t=t.TUIConversation)||void 0===t||null===(t=t.currentStore)||void 0===t?void 0:t.currentConversationID;return!this.checkPageFocus()||(null===e||void 0===e?void 0:e.conversationID)!==n}_handleNotificationType(e){if(e.type===k.a.TYPES.MSG_CUSTOM){var t;const n=Object(y["a"])(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);if(1===(null===n||void 0===n?void 0:n.businessID)||"av_call"===(null===n||void 0===n?void 0:n.businessID))return"call"}return"chat"}async _handleChatNotificationContent(e){var t;let n="";if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type)return n;switch(this.showPreviews){case!0:n=await this._handleChatNotificationContentTitle(e),n+=this._handleChatNotificationContentText(e);break;case!1:n="您有"+await(null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.tim)||void 0===t?void 0:t.getTotalUnreadMessageCount())+"条新消息";break;default:break}return n}async _handleChatNotificationContentTitle(e){var t;let n="";switch(null===e||void 0===e?void 0:e.conversationType){case k.a.TYPES.CONV_C2C:n=((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.from))+": ";break;case k.a.TYPES.CONV_GROUP:n=(null===e||void 0===e?void 0:e.conversationID)+": ",await(null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.tim)||void 0===t||null===(t=t.getConversationProfile(null===e||void 0===e?void 0:e.conversationID))||void 0===t?void 0:t.then(t=>{var o;n=((null===t||void 0===t||null===(o=t.data)||void 0===o||null===(o=o.conversation)||void 0===o||null===(o=o.groupProfile)||void 0===o?void 0:o.name)||(null===e||void 0===e?void 0:e.conversationID))+": "}).catch(()=>{n=(null===e||void 0===e?void 0:e.conversationID)+": "}));break;case k.a.TYPES.CONV_SYSTEM:n="系统消息: ";break;default:break}return n}_handleChatNotificationContentText(e){var t;let n="";switch(e.type){case k.a.TYPES.MSG_TEXT:n+=null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.text;break;case k.a.TYPES.MSG_CUSTOM:n+="[自定义消息]";break;case k.a.TYPES.MSG_IMAGE:n+="[图片]";break;case k.a.TYPES.MSG_AUDIO:n+="[语音]";break;case k.a.TYPES.MSG_VIDEO:n+="[视频]";break;case k.a.TYPES.MSG_FILE:n+="[文件]";break;case k.a.TYPES.MSG_FACE:n+="[表情]";break;case k.a.TYPES.MSG_MERGER:n+="[聊天记录]";break;case k.a.TYPES.MSG_LOCATION:n+="[位置]";break;default:break}return n}_handleCallNotificationContent(e){let t="",n=!1;try{if(e.type===k.a.TYPES.MSG_CUSTOM){var o;const a=Object(y["a"])(null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.data),i=Object(y["a"])(a.data);1===(null===a||void 0===a?void 0:a.businessID)&&(1===a.actionType&&(a.groupID&&a.timeout>0||!a.call_end&&0!==a.call_end&&!a.groupID&&(null===i||void 0===i||!i.data||"switchToAudio"!==(null===i||void 0===i?void 0:i.data.cmd)&&"switchToVideo"!==(null===i||void 0===i?void 0:i.data.cmd)))?(t=this.showPreviews?a.inviter+" 发起通话":"您有一个通话请求",n=!1):2===a.actionType&&(t=this.showPreviews?a.inviter+" 取消通话":"通话取消",n=!0))}}catch(a){console.warn(a)}return{content:t,callEnd:n}}checkPageFocus(){return document.hasFocus()}}Object(g["a"])(I,"TUICore",void 0),Object(g["a"])(I,"instance",void 0);var w=I},c548:function(e,t,n){"use strict";n("6314")},c7e2:function(e,t,n){"use strict";n.d(t,"b",(function(){return M}));var o=n("2fa7"),a=n("9ca6"),i=n("37a4"),s=n("292f"),r=n("8fe9"),l=n("bc82"),c=n("336d"),d=n("e32f"),u=n("9c10"),p=n("f017"),m=n("999c"),h=n("72af"),v=n("8893");const f={en:{"取消":"Cancel","发送":"Send","系统通知":"System notification","关闭":"Close","确定":"Save",TUIChat:i,TUIConversation:s,TUIGroup:r,TUIProfile:l,TUIContact:c,message:u,component:p,time:m,Evaluate:v,Words:h,TUISearch:d}};var g=f,b=n("45e3"),O=n("4189"),y=n("a46a"),j=n("5ce0"),k=n("d39e"),I=n("b0af"),w=n("6609"),E=n("92c8"),C=n("b15c"),T=n("524e"),S=n("403c");const _={zh_cn:{"取消":"取消","发送":"发送","系统通知":"系统通知","关闭":"关闭","确定":"确定",TUIChat:b,TUIConversation:O,TUIGroup:y,TUIProfile:j,TUIContact:k,message:w,component:E,time:C,Evaluate:S,Words:T,TUISearch:I}};var D=_;const N={...g,...D};var U=N;class B{constructor(e){Object(o["a"])(this,"messages",{en:{},zh_cn:{}}),Object(o["a"])(this,"i18n",void 0),this.messages=e}static getInstance(){return B.instance||(B.instance=new B(U)),B.instance}provideMessage(e){return this.messages.en={...this.messages.en,...e.en},this.messages.zh_cn={...this.messages.zh_cn,...e.zh_cn},this.messages}useI18n(){return Object(a["b"])()}static install(e){const t=B.getInstance(),n="zh";t.i18n=Object(a["a"])({legacy:!1,globalInjection:!0,global:!0,locale:"zh"===n?"zh_cn":n,fallbackLocale:"zh_cn",messages:t.messages}),e.use(t.i18n)}static plugin(e){e.config.i18n=B.getInstance()}}function M(){return B.getInstance().i18n.global.locale}Object(o["a"])(B,"instance",void 0);t["a"]=B},c959:function(e,t,n){"use strict";var o=n("ea1b"),a=n.n(o);t["a"]=a.a},c96d:function(e,t,n){},c985:function(e,t,n){},cb8a:function(e,t,n){"use strict";n("a53a")},cd49:function(e,t,n){"use strict";n.r(t),n.d(t,"sdkAppId",(function(){return R})),n.d(t,"urlF",(function(){return V})),n.d(t,"tokenF",(function(){return L}));n("14d9");var o=n("5b1a"),a=n.n(o),i=n("7a23");const s={class:"app"};function r(e,t){const n=Object(i["resolveComponent"])("router-view");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",s,[Object(i["createVNode"])(n)])}n("ce48");var l=n("6b0d"),c=n.n(l);const d={},u=c()(d,[["render",r]]);var p=u,m=n("afbc"),h=n("0613"),v=n("3ef4"),f=n("c3a1");n("7437");const g=n("0149"),b=n("f712"),O={en:{"当前语言":"English","即时通信":"IM","即时通信IM":"IM","社交娱乐":"Entertaining & Socializing","腾讯云":"Tencent Cloud","使用指引":"User Guide",Login:g,Home:b}};var y=O;const j=n("e68c"),k=n("54ba"),I={zh_cn:{"当前语言":"简体中文","即时通信":"即时通信","即时通信IM":"即时通信IM","社交娱乐":"社交娱乐","腾讯云":"腾讯云","使用指引":"使用指引",Login:j,Home:k}};var w=I;const E={...y,...w};var C=E,T=n("fcd0"),S=n("2016"),_=n("c193"),D=n("bbb6"),N=n("1344"),U=n("48d5");const{userId:B,sdkAppId:M,userSig:x,urlF:V,tokenF:L}=U["a"];sessionStorage.setItem("tokenF",L+"");const R=1*M,P=T["b"].init({SDKAppID:R}),A={userID:B,userSig:x},G=e=>{P.login(e).then(t=>{const n={...e,expire:(new Date).getTime()+D["a"]};h["a"].commit("setUserInfo",n),window.parent.postMessage(a()({code:"closeLoading"}),"*"),m["a"].push({name:"Home"})}).catch(e=>{console.log("该关了"),window.parent.postMessage(a()({code:"closeLoading"}),"*"),Object(v["a"])({message:e,grouping:!0,type:"error"})})};G(A),P.config.i18n.provideMessage(C),P.use(T["a"]),P.use(S["a"]),P.use(_["c"]);const H=Object(i["createApp"])(p),z=Object(N["a"])(),F={};F.$on=z.on,F.$off=z.off,F.$emit=z.emit,H.config.globalProperties.$bus=F,H.use(h["a"]).use(m["a"]).use(P).use(F).use(f["a"]).mount("#app")},ce48:function(e,t,n){"use strict";n("a7be")},d0f1:function(e,t,n){"use strict";n("6d25")},d307:function(e,t,n){},d35b:function(e,t,n){e.exports=n.p+"img/mute.4ee858f2.svg"},d39e:function(e){e.exports=JSON.parse('{"群聊通知":"群聊通知","系统通知":"系统通知","我的群聊":"我的群聊","输入群ID,按回车搜索":"输入群ID,按回车搜索","群名称":"群名称","群ID":"群ID","加入群聊":"加入群聊","解散群聊":"解散群聊","退出群聊":"退出群聊","进入群聊":"进入群聊","群类型":"群类型","请填写验证信息":"请填写验证信息","申请加入":"申请加入","已申请":"已申请","接受":"接受","拒绝":"拒绝","已处理":"已处理","添加群聊":"添加群聊","已加入":"已加入","该群组不存在":"该群组不存在","加群":"加群","我的好友":"我的好友","发送消息":"发送消息","个性签名":"个性签名"}')},d45a:function(e,t,n){"use strict";n("53f8")},d4db:function(e,t,n){"use strict";n("1294")},dbc1:function(e,t,n){},dc3f:function(e,t,n){"use strict";n("031b")},dce0:function(e,t,n){"use strict";n("a9cb")},dce1:function(e,t,n){},dd44:function(e,t,n){e.exports=n.p+"img/default_avatar.b5538259.png"},e157:function(e,t,n){"use strict";n("aee3")},e311:function(e,t,n){"use strict";(function(e){var o,a,i=n("e946"),s=n.n(i),r=n("52da"),l=n.n(r),c=n("65b8"),d=n.n(c),u=n("05f2"),p=n.n(u),m=n("9474"),h=n.n(m),v=n("b0bc"),f=n.n(v),g=n("44a4"),b=n.n(g),O=n("2e10"),y=n.n(O),j=n("acf5"),k=n.n(j),I=n("a3e3"),w=n.n(I),E=n("3393"),C=n.n(E),T=n("2b0b"),S=n.n(T),_=n("cca4"),D=n.n(_),N=n("fa81"),U=n.n(N),B=n("2b58"),M=n.n(B),x=n("5b1a"),V=n.n(x),L=n("4573"),R=n.n(L),P=n("ec69"),A=n.n(P),G=n("14b1"),H=n.n(G),z=n("298b"),F=n.n(z),$=n("7c78"),Y=n.n($),K=n("2d80"),W=n.n(K),q=n("78b2"),Z=n.n(q),J=n("b6ce"),Q=n.n(J),X=n("f72b"),ee=n.n(X),te=n("3002"),ne=n.n(te),oe=(n("d9e2"),n("14d9"),n("2c66"),n("249d"),n("40e9"),n("e9f5"),n("db9ba"),n("5377"),n("907a"),n("986a"),n("1d02"),n("3c5d"),n("6ce5"),n("2834"),n("4ea1"),n("c73d"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}),ae=[],ie=[],se="undefined"!=typeof Uint8Array?Uint8Array:Array,re=!1;function le(){re=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+ae[a>>12&63]+ae[a>>6&63]+ae[63&a]);return i.join("")}function de(e){var t;re||le();for(var n=e.length,o=n%3,a="",i=[],s=0,r=n-o;sr?r:s+16383));return 1===o?(t=e[n-1],a+=ae[t>>2],a+=ae[t<<4&63],a+="=="):2===o&&(t=(e[n-2]<<8)+e[n-1],a+=ae[t>>10],a+=ae[t>>4&63],a+=ae[t<<2&63],a+="="),i.push(a),i.join("")}function ue(e,t,n,o,a){var i,s,r=8*a-o-1,l=(1<>1,d=-7,u=n?a-1:0,p=n?-1:1,m=e[t+u];for(u+=p,i=m&(1<<-d)-1,m>>=-d,d+=r;d>0;i=256*i+e[t+u],u+=p,d-=8);for(s=i&(1<<-d)-1,i>>=-d,d+=o;d>0;s=256*s+e[t+u],u+=p,d-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,o),i-=c}return(m?-1:1)*s*Math.pow(2,i-o)}function pe(e,t,n,o,a,i){var s,r,l,c=8*i-a-1,d=(1<>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:i-1,h=o?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(r=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+u>=1?p/l:p*Math.pow(2,1-u))*l>=2&&(s++,l/=2),s+u>=d?(r=0,s=d):s+u>=1?(r=(t*l-1)*Math.pow(2,a),s+=u):(r=t*Math.pow(2,u-1)*Math.pow(2,a),s=0));a>=8;e[n+m]=255&r,m+=h,r/=256,a-=8);for(s=s<0;e[n+m]=255&s,m+=h,s/=256,c-=8);e[n+m-h]|=128*v}var me={}.toString,he=s.a||function(e){return"[object Array]"==me.call(e)};function ve(){return ge.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fe(e,t){if(ve()=ve())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ve().toString(16)+" bytes");return 0|e}function Ie(e){return!(null==e||!e._isBuffer)}function we(e,t){if(Ie(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Je(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Qe(e).length;default:if(o)return Je(e).length;t=(""+t).toLowerCase(),o=!0}}function Ee(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ae(this,t,n);case"utf8":case"utf-8":return Ve(this,t,n);case"ascii":return Re(this,t,n);case"latin1":case"binary":return Pe(this,t,n);case"base64":return xe(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function Ce(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function Te(e,t,n,o,a){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=ge.from(t,o)),Ie(t))return 0===t.length?-1:Se(e,t,n,o,a);if("number"==typeof t)return t&=255,ge.TYPED_ARRAY_SUPPORT&&"function"==typeof d()(Uint8Array.prototype)?a?d()(Uint8Array.prototype).call(e,t,n):p()(Uint8Array.prototype).call(e,t,n):Se(e,[t],n,o,a);throw new TypeError("val must be string, number or Buffer")}function Se(e,t,n,o,a){var i,s=1,r=e.length,l=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;s=2,r/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(a){var d=-1;for(i=n;ir&&(n=r-l),i=n;i>=0;i--){for(var u=!0,p=0;pa&&(o=a):o=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var s=0;s>8,a=n%256,i.push(a),i.push(o);return i}(t,e.length-n),e,n,o)}function xe(e,t,n){return 0===t&&n===e.length?de(e):de(l()(e).call(e,t,n))}function Ve(e,t,n){n=Math.min(e.length,n);for(var o=[],a=t;a239?4:d>223?3:d>191?2:1;if(a+p<=n)switch(p){case 1:d<128&&(u=d);break;case 2:128==(192&(i=e[a+1]))&&(c=(31&d)<<6|63&i)>127&&(u=c);break;case 3:i=e[a+1],s=e[a+2],128==(192&i)&&128==(192&s)&&(c=(15&d)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[a+1],s=e[a+2],r=e[a+3],128==(192&i)&&128==(192&s)&&128==(192&r)&&(c=(15&d)<<18|(63&i)<<12|(63&s)<<6|63&r)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,o.push(u>>>10&1023|55296),u=56320|1023&u),o.push(u),a+=p}return function(e){var t=e.length;if(t<=Le)return String.fromCharCode.apply(String,e);for(var n="",o=0;o0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},ge.prototype.compare=function(e,t,n,o,a){if(!Ie(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),t<0||n>e.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&t>=n)return 0;if(o>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(o>>>=0),s=(n>>>=0)-(t>>>=0),r=Math.min(i,s),c=l()(p=this).call(p,o,a),d=l()(e).call(e,t,n),u=0;ua)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return _e(this,e,t,n);case"utf8":case"utf-8":return De(this,e,t,n);case"ascii":return Ne(this,e,t,n);case"latin1":case"binary":return Ue(this,e,t,n);case"base64":return Be(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Me(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},ge.prototype.toJSON=function(){return{type:"Buffer",data:l()(Array.prototype).call(this._arr||this,0)}};var Le=4096;function Re(e,t,n){var o="";n=Math.min(e.length,n);for(var a=t;ao)&&(n=o);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function ze(e,t,n,o,a,i){if(!Ie(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function Fe(e,t,n,o){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(o?a:1-a)}function $e(e,t,n,o){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(o?a:3-a)&255}function Ye(e,t,n,o,a,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ke(e,t,n,o,a){return a||Ye(e,0,n,4),pe(e,t,n,o,23,4),n+4}function We(e,t,n,o,a){return a||Ye(e,0,n,8),pe(e,t,n,o,52,8),n+8}ge.prototype.slice=function(e,t){var n,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t0&&(a*=256);)o+=this[e+--t]*a;return o},ge.prototype.readUInt8=function(e,t){return t||He(e,1,this.length),this[e]},ge.prototype.readUInt16LE=function(e,t){return t||He(e,2,this.length),this[e]|this[e+1]<<8},ge.prototype.readUInt16BE=function(e,t){return t||He(e,2,this.length),this[e]<<8|this[e+1]},ge.prototype.readUInt32LE=function(e,t){return t||He(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ge.prototype.readUInt32BE=function(e,t){return t||He(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ge.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||He(e,t,this.length);for(var o=this[e],a=1,i=0;++i=(a*=128)&&(o-=Math.pow(2,8*t)),o},ge.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||He(e,t,this.length);for(var o=t,a=1,i=this[e+--o];o>0&&(a*=256);)i+=this[e+--o]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},ge.prototype.readInt8=function(e,t){return t||He(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ge.prototype.readInt16LE=function(e,t){t||He(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ge.prototype.readInt16BE=function(e,t){t||He(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ge.prototype.readInt32LE=function(e,t){return t||He(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ge.prototype.readInt32BE=function(e,t){return t||He(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ge.prototype.readFloatLE=function(e,t){return t||He(e,4,this.length),ue(this,e,!0,23,4)},ge.prototype.readFloatBE=function(e,t){return t||He(e,4,this.length),ue(this,e,!1,23,4)},ge.prototype.readDoubleLE=function(e,t){return t||He(e,8,this.length),ue(this,e,!0,52,8)},ge.prototype.readDoubleBE=function(e,t){return t||He(e,8,this.length),ue(this,e,!1,52,8)},ge.prototype.writeUIntLE=function(e,t,n,o){e=+e,t|=0,n|=0,o||ze(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},ge.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,1,255,0),ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ge.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fe(this,e,t,!0),t+2},ge.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fe(this,e,t,!1),t+2},ge.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):$e(this,e,t,!0),t+4},ge.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$e(this,e,t,!1),t+4},ge.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var a=Math.pow(2,8*n-1);ze(this,e,t,n,a-1,-a)}var i=0,s=1,r=0;for(this[t]=255&e;++i>0)-r&255;return t+n},ge.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var a=Math.pow(2,8*n-1);ze(this,e,t,n,a-1,-a)}var i=n-1,s=1,r=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===r&&0!==this[t+i+1]&&(r=1),this[t+i]=(e/s>>0)-r&255;return t+n},ge.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,1,127,-128),ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ge.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fe(this,e,t,!0),t+2},ge.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fe(this,e,t,!1),t+2},ge.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,2147483647,-2147483648),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):$e(this,e,t,!0),t+4},ge.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$e(this,e,t,!1),t+4},ge.prototype.writeFloatLE=function(e,t,n){return Ke(this,e,t,!0,n)},ge.prototype.writeFloatBE=function(e,t,n){return Ke(this,e,t,!1,n)},ge.prototype.writeDoubleLE=function(e,t,n){return We(this,e,t,!0,n)},ge.prototype.writeDoubleBE=function(e,t,n){return We(this,e,t,!1,n)},ge.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!ge.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===o){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Qe(e){return function(e){var t,n,o,a,i,s;re||le();var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[r-2]?2:"="===e[r-1]?1:0,s=new se(3*r/4-i),o=i>0?r-4:r;var l=0;for(t=0,n=0;t>16&255,s[l++]=a>>8&255,s[l++]=255&a;return 2===i?(a=ie[e.charCodeAt(t)]<<2|ie[e.charCodeAt(t+1)]>>4,s[l++]=255&a):1===i&&(a=ie[e.charCodeAt(t)]<<10|ie[e.charCodeAt(t+1)]<<4|ie[e.charCodeAt(t+2)]>>2,s[l++]=a>>8&255,s[l++]=255&a),s}(function(e){if((e=function(e){return b()(e)?b()(e).call(e):e.replace(/^\s+|\s+$/g,"")}(e).replace(qe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Xe(e,t,n,o){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function et(e){return null!=e&&(!!e._isBuffer||tt(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof l()(e)&&tt(l()(e).call(e,0,0))}(e))}function tt(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function nt(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof y.a?y.a:"undefined"!=typeof window?window:"undefined"!=typeof e||"undefined"!=typeof self&&self;var ot=nt((function(e,t){var n;e.exports=(n=n||function(e,t){var n=k.a||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},a=o.lib={},i=a.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=a.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,a=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[o+i>>>2]|=s<<24-(o+i)%4*8}else for(i=0;i>>2]=n[i>>>2];return this.sigBytes+=a,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e,t=i.clone.call(this);return t.words=l()(e=this.words).call(e,0),t},random:function(t){for(var n,o=[],a=function(t){t=t;var n=987654321,o=4294967295;return function(){var a=((n=36969*(65535&n)+(n>>16)&o)<<16)+(t=18e3*(65535&t)+(t>>16)&o)&o;return a/=4294967296,(a+=.5)*(e.random()>.5?1:-1)}},i=0;i>>2]>>>24-a%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>3]|=h()(e.substr(o,2),16)<<24-o%8*4;return new s.init(n,t/2)}},d=r.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],a=0;a>>2]>>>24-a%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new s.init(n,t)}},u=r.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){var t;"string"==typeof e&&(e=u.parse(e)),w()(t=this._data).call(t,e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,o=n.words,a=n.sigBytes,i=this.blockSize,r=4*i,l=a/r,c=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*i,d=e.min(4*c,a);if(c){for(var u=0;u>>2]|=e[a]<<24-a%4*8;t.call(this,o,n)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.WordArray,o=e.enc;function a(e){return e<<8&4278255360|e>>>8&16711935}o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],a=0;a>>2]>>>16-a%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var n=e.length,o=[],a=0;a>>1]|=e.charCodeAt(a)<<16-a%2*16;return t.create(o,2*n)}},o.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i>>2]>>>16-i%4*8&65535);o.push(String.fromCharCode(s))}return o.join("")},parse:function(e){for(var n=e.length,o=[],i=0;i>>1]|=a(e.charCodeAt(i)<<16-i%2*16);return t.create(o,2*n)}}}(),n.enc.Utf16)})),nt((function(e,t){var n,o,a;e.exports=(a=(o=n=ot).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,o=this._map;e.clamp();for(var a=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,r=0;r<4&&i+.75*r>>6*(3-r)&63));var l=o.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-s%4*2;o[i>>>2]|=(r|l)<<24-i%4*8,i++}return a.create(o,i)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=[];!function(){for(var t=0;t<64;t++)r[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=s.MD5=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,a=e[o];e[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var i=this._hash.words,s=e[t+0],l=e[t+1],m=e[t+2],h=e[t+3],v=e[t+4],f=e[t+5],g=e[t+6],b=e[t+7],O=e[t+8],y=e[t+9],j=e[t+10],k=e[t+11],I=e[t+12],w=e[t+13],E=e[t+14],C=e[t+15],T=i[0],S=i[1],_=i[2],D=i[3];T=c(T,S,_,D,s,7,r[0]),D=c(D,T,S,_,l,12,r[1]),_=c(_,D,T,S,m,17,r[2]),S=c(S,_,D,T,h,22,r[3]),T=c(T,S,_,D,v,7,r[4]),D=c(D,T,S,_,f,12,r[5]),_=c(_,D,T,S,g,17,r[6]),S=c(S,_,D,T,b,22,r[7]),T=c(T,S,_,D,O,7,r[8]),D=c(D,T,S,_,y,12,r[9]),_=c(_,D,T,S,j,17,r[10]),S=c(S,_,D,T,k,22,r[11]),T=c(T,S,_,D,I,7,r[12]),D=c(D,T,S,_,w,12,r[13]),_=c(_,D,T,S,E,17,r[14]),T=d(T,S=c(S,_,D,T,C,22,r[15]),_,D,l,5,r[16]),D=d(D,T,S,_,g,9,r[17]),_=d(_,D,T,S,k,14,r[18]),S=d(S,_,D,T,s,20,r[19]),T=d(T,S,_,D,f,5,r[20]),D=d(D,T,S,_,j,9,r[21]),_=d(_,D,T,S,C,14,r[22]),S=d(S,_,D,T,v,20,r[23]),T=d(T,S,_,D,y,5,r[24]),D=d(D,T,S,_,E,9,r[25]),_=d(_,D,T,S,h,14,r[26]),S=d(S,_,D,T,O,20,r[27]),T=d(T,S,_,D,w,5,r[28]),D=d(D,T,S,_,m,9,r[29]),_=d(_,D,T,S,b,14,r[30]),T=u(T,S=d(S,_,D,T,I,20,r[31]),_,D,f,4,r[32]),D=u(D,T,S,_,O,11,r[33]),_=u(_,D,T,S,k,16,r[34]),S=u(S,_,D,T,E,23,r[35]),T=u(T,S,_,D,l,4,r[36]),D=u(D,T,S,_,v,11,r[37]),_=u(_,D,T,S,b,16,r[38]),S=u(S,_,D,T,j,23,r[39]),T=u(T,S,_,D,w,4,r[40]),D=u(D,T,S,_,s,11,r[41]),_=u(_,D,T,S,h,16,r[42]),S=u(S,_,D,T,g,23,r[43]),T=u(T,S,_,D,y,4,r[44]),D=u(D,T,S,_,I,11,r[45]),_=u(_,D,T,S,C,16,r[46]),T=p(T,S=u(S,_,D,T,m,23,r[47]),_,D,s,6,r[48]),D=p(D,T,S,_,b,10,r[49]),_=p(_,D,T,S,E,15,r[50]),S=p(S,_,D,T,f,21,r[51]),T=p(T,S,_,D,I,6,r[52]),D=p(D,T,S,_,h,10,r[53]),_=p(_,D,T,S,j,15,r[54]),S=p(S,_,D,T,l,21,r[55]),T=p(T,S,_,D,O,6,r[56]),D=p(D,T,S,_,C,10,r[57]),_=p(_,D,T,S,g,15,r[58]),S=p(S,_,D,T,w,21,r[59]),T=p(T,S,_,D,v,6,r[60]),D=p(D,T,S,_,k,10,r[61]),_=p(_,D,T,S,m,15,r[62]),S=p(S,_,D,T,y,21,r[63]),i[0]=i[0]+T|0,i[1]=i[1]+S|0,i[2]=i[2]+_|0,i[3]=i[3]+D|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,a=8*t.sigBytes;n[a>>>5]|=128<<24-a%32;var i=e.floor(o/4294967296),s=o;n[15+(a+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(a+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var r=this._hash,l=r.words,c=0;c<4;c++){var d=l[c];l[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return r},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,o,a,i,s){var r=e+(t&n|~t&o)+a+s;return(r<>>32-i)+t}function d(e,t,n,o,a,i,s){var r=e+(t&o|n&~o)+a+s;return(r<>>32-i)+t}function u(e,t,n,o,a,i,s){var r=e+(t^n^o)+a+s;return(r<>>32-i)+t}function p(e,t,n,o,a,i,s){var r=e+(n^(t|~o))+a+s;return(r<>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),n.MD5)})),nt((function(e,t){var n,o,a,i,s,r,l,c;e.exports=(a=(o=n=ot).lib,i=a.WordArray,s=a.Hasher,r=o.algo,l=[],c=r.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var d=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=d<<1|d>>>31}var u=(o<<5|o>>>27)+r+l[c];u+=c<20?1518500249+(a&i|~a&s):c<40?1859775393+(a^i^s):c<60?(a&i|a&s|i&s)-1894007588:(a^i^s)-899497514,r=s,s=i,i=a<<30|a>>>2,a=o,o=u}n[0]=n[0]+o|0,n[1]=n[1]+a|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+r|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(o+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),o.SHA1=s._createHelper(c),o.HmacSHA1=s._createHmacHelper(c),n.SHA1)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),o=2;o<=n;o++)if(!(t%o))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var o=2,a=0;a<64;)t(o)&&(a<8&&(r[a]=n(e.pow(o,.5))),c[a]=n(e.pow(o,1/3)),a++),o++}();var d=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new a.init(l()(r).call(r,0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],l=n[5],u=n[6],p=n[7],m=0;m<64;m++){if(m<16)d[m]=0|e[t+m];else{var h=d[m-15],v=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,f=d[m-2],g=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;d[m]=v+d[m-7]+g+d[m-16]}var b=o&a^o&i^a&i,O=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),y=p+((r<<26|r>>>6)^(r<<21|r>>>11)^(r<<7|r>>>25))+(r&l^~r&u)+c[m]+d[m];p=u,u=l,l=r,r=s+y|0,s=i,i=a,a=o,o=y+(O+b)|0}n[0]=n[0]+o|0,n[1]=n[1]+a|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+r|0,n[5]=n[5]+l|0,n[6]=n[6]+u|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,a=8*t.sigBytes;return n[a>>>5]|=128<<24-a%32,n[14+(a+64>>>9<<4)]=e.floor(o/4294967296),n[15+(a+64>>>9<<4)]=o,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),n.SHA256)})),nt((function(e,t){var n,o,a,i,s,r;e.exports=(a=(o=n=ot).lib.WordArray,i=o.algo,s=i.SHA256,r=i.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),o.SHA224=s._createHelper(r),o.HmacSHA224=s._createHmacHelper(r),n.SHA224)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.Hasher,o=e.x64,a=o.Word,i=o.WordArray,s=e.algo;function r(){return a.create.apply(a,arguments)}var l=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=r()}();var d=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],d=n[5],u=n[6],p=n[7],m=o.high,h=o.low,v=a.high,f=a.low,g=i.high,b=i.low,O=s.high,y=s.low,j=r.high,k=r.low,I=d.high,w=d.low,E=u.high,C=u.low,T=p.high,S=p.low,_=m,D=h,N=v,U=f,B=g,M=b,x=O,V=y,L=j,R=k,P=I,A=w,G=E,H=C,z=T,F=S,$=0;$<80;$++){var Y=c[$];if($<16)var K=Y.high=0|e[t+2*$],W=Y.low=0|e[t+2*$+1];else{var q=c[$-15],Z=q.high,J=q.low,Q=(Z>>>1|J<<31)^(Z>>>8|J<<24)^Z>>>7,X=(J>>>1|Z<<31)^(J>>>8|Z<<24)^(J>>>7|Z<<25),ee=c[$-2],te=ee.high,ne=ee.low,oe=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ae=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=c[$-7],se=ie.high,re=ie.low,le=c[$-16],ce=le.high,de=le.low;K=(K=(K=Q+se+((W=X+re)>>>0>>0?1:0))+oe+((W+=ae)>>>0>>0?1:0))+ce+((W+=de)>>>0>>0?1:0),Y.high=K,Y.low=W}var ue,pe=L&P^~L&G,me=R&A^~R&H,he=_&N^_&B^N&B,ve=D&U^D&M^U&M,fe=(_>>>28|D<<4)^(_<<30|D>>>2)^(_<<25|D>>>7),ge=(D>>>28|_<<4)^(D<<30|_>>>2)^(D<<25|_>>>7),be=(L>>>14|R<<18)^(L>>>18|R<<14)^(L<<23|R>>>9),Oe=(R>>>14|L<<18)^(R>>>18|L<<14)^(R<<23|L>>>9),ye=l[$],je=ye.high,ke=ye.low,Ie=z+be+((ue=F+Oe)>>>0>>0?1:0),we=ge+ve;z=G,F=H,G=P,H=A,P=L,A=R,L=x+(Ie=(Ie=(Ie=Ie+pe+((ue+=me)>>>0>>0?1:0))+je+((ue+=ke)>>>0>>0?1:0))+K+((ue+=W)>>>0>>0?1:0))+((R=V+ue|0)>>>0>>0?1:0)|0,x=B,V=M,B=N,M=U,N=_,U=D,_=Ie+(fe+he+(we>>>0>>0?1:0))+((D=ue+we|0)>>>0>>0?1:0)|0}h=o.low=h+D,o.high=m+_+(h>>>0>>0?1:0),f=a.low=f+U,a.high=v+N+(f>>>0>>0?1:0),b=i.low=b+M,i.high=g+B+(b>>>0>>0?1:0),y=s.low=y+V,s.high=O+x+(y>>>0>>0?1:0),k=r.low=k+R,r.high=j+L+(k>>>0>>0?1:0),w=d.low=w+A,d.high=I+P+(w>>>0>>0?1:0),C=u.low=C+H,u.high=E+G+(C>>>0>>0?1:0),S=p.low=S+F,p.high=T+z+(S>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[30+(o+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(o+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(d),e.HmacSHA512=t._createHmacHelper(d)}(),n.SHA512)})),nt((function(e,t){var n,o,a,i,s,r,l,c;e.exports=(a=(o=n=ot).x64,i=a.Word,s=a.WordArray,r=o.algo,l=r.SHA512,c=r.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),o.SHA384=l._createHelper(c),o.HmacSHA384=l._createHmacHelper(c),n.SHA384)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.x64.Word,r=t.algo,c=[],d=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var o=(2*e+3*t)%5;e=t%5,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)d[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,i=0;i<24;i++){for(var r=0,l=0,p=0;p<7;p++){if(1&a){var m=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(S=n[a]).high^=s,S.low^=i}for(var r=0;r<24;r++){for(var l=0;l<5;l++){for(var m=0,h=0,v=0;v<5;v++)m^=(S=n[l+5*v]).high,h^=S.low;var f=p[l];f.high=m,f.low=h}for(l=0;l<5;l++){var g=p[(l+4)%5],b=p[(l+1)%5],O=b.high,y=b.low;for(m=g.high^(O<<1|y>>>31),h=g.low^(y<<1|O>>>31),v=0;v<5;v++)(S=n[l+5*v]).high^=m,S.low^=h}for(var j=1;j<25;j++){var k=(S=n[j]).high,I=S.low,w=c[j];w<32?(m=k<>>32-w,h=I<>>32-w):(m=I<>>64-w,h=k<>>64-w);var E=p[d[j]];E.high=m,E.low=h}var C=p[0],T=n[0];for(C.high=T.high,C.low=T.low,l=0;l<5;l++)for(v=0;v<5;v++){var S=n[j=l+5*v],_=p[j],D=p[(l+1)%5+5*v],N=p[(l+2)%5+5*v];S.high=_.high^~D.high&N.high,S.low=_.low^~D.low&N.low}S=n[0];var U=u[r];S.high^=U.high,S.low^=U.low}},_doFinalize:function(){var t=this._data,n=t.words,o=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;n[o>>>5]|=1<<24-o%32,n[(e.ceil((o+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,r=this.cfg.outputLength/8,l=r/8,c=[],d=0;d>>24)|4278255360&(p<<24|p>>>8),m=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),c.push(m),c.push(p)}return new a.init(c,r)},clone:function(){for(var e=i.clone.call(this),t=e._state=l()(o=this._state).call(o,0),n=0;n<25;n++){var o;t[n]=t[n].clone()}return e}});t.SHA3=i._createHelper(m),t.HmacSHA3=i._createHmacHelper(m)}(Math),n.SHA3)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),m=s.RIPEMD160=i.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,a=e[o];e[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var i,s,m,y,j,k,I,w,E,C,T,S=this._hash.words,_=u.words,D=p.words,N=r.words,U=l.words,B=c.words,M=d.words;for(k=i=S[0],I=s=S[1],w=m=S[2],E=y=S[3],C=j=S[4],n=0;n<80;n+=1)T=i+e[t+N[n]]|0,T+=n<16?h(s,m,y)+_[0]:n<32?v(s,m,y)+_[1]:n<48?f(s,m,y)+_[2]:n<64?g(s,m,y)+_[3]:b(s,m,y)+_[4],T=(T=O(T|=0,B[n]))+j|0,i=j,j=y,y=O(m,10),m=s,s=T,T=k+e[t+U[n]]|0,T+=n<16?b(I,w,E)+D[0]:n<32?g(I,w,E)+D[1]:n<48?f(I,w,E)+D[2]:n<64?v(I,w,E)+D[3]:h(I,w,E)+D[4],T=(T=O(T|=0,M[n]))+C|0,k=C,C=E,E=O(w,10),w=I,I=T;T=S[1]+m+E|0,S[1]=S[2]+y+C|0,S[2]=S[3]+j+k|0,S[3]=S[4]+i+I|0,S[4]=S[0]+s+w|0,S[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,i=a.words,s=0;s<5;s++){var r=i[s];i[s]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function v(e,t,n){return e&t|~e&n}function f(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function b(e,t,n){return e^(t|~n)}function O(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(m),t.HmacRIPEMD160=i._createHmacHelper(m)}(),n.RIPEMD160)})),nt((function(e,t){var n,o,a,i,s,r;e.exports=(o=(n=ot).lib,a=o.Base,i=n.enc,s=i.Utf8,r=n.algo,void(r.HMAC=a.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),i=this._iKey=t.clone(),r=a.words,l=i.words,c=0;c>>2];e.sigBytes-=t}},i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:g,padding:O}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var o=n.createEncryptor;else{o=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==o?this._mode.init(this,t&&t.words):(this._mode=o.call(n,this,t&&t.words),this._mode.__creator=o)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{t=this._process(!0);e.unpad(t)}return t},blockSize:4}),y=i.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),j=a.format={},k=j.OpenSSL={stringify:function(e){var t,n,o=e.ciphertext,a=e.salt;if(a)var i=w()(t=w()(n=r.create([1398893684,1701076831])).call(n,a)).call(t,o);else i=o;return i.toString(u)},parse:function(e){var t=u.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var o=r.create(l()(n).call(n,2,4));C()(n).call(n,0,4),t.sigBytes-=16}return y.create({ciphertext:t,salt:o})}},I=i.SerializableCipher=s.extend({cfg:s.extend({format:k}),encrypt:function(e,t,n,o){o=this.cfg.extend(o);var a=e.createEncryptor(n,o),i=a.finalize(t),s=a.cfg;return y.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:o.format})},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var a=e.createDecryptor(n,o).finalize(t.ciphertext);return a},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),E=a.kdf={},T=E.OpenSSL={execute:function(e,t,n,o){var a;o||(o=r.random(8));var i=m.create({keySize:t+n}).compute(e,o),s=r.create(l()(a=i.words).call(a,t),4*n);return i.sigBytes=4*t,y.create({key:i,iv:s,salt:o})}},S=i.PasswordBasedCipher=I.extend({cfg:I.cfg.extend({kdf:T}),encrypt:function(e,t,n,o){var a=(o=this.cfg.extend(o)).kdf.execute(n,e.keySize,e.ivSize);o.iv=a.iv;var i=I.encrypt.call(this,e,t,a.key,o);return i.mixIn(a),i},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var a=o.kdf.execute(n,e.keySize,e.ivSize,t.salt);o.iv=a.iv;var i=I.decrypt.call(this,e,t,a.key,o);return i}})))})),nt((function(e,t){var n;e.exports=((n=ot).mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,n,o){var a=this._iv;if(a){var i=l()(a).call(a,0);this._iv=void 0}else i=this._prevBlock;o.encryptBlock(i,0);for(var s=0;s>24&255)){var t=e>>16&255,n=e>>8&255,o=255&e;255===t?(t=0,255===n?(n=0,255===o?o=0:++o):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=o}else e+=1<<24;return e}var o=e.Encryptor=e.extend({processBlock:function(e,n){var o=this._cipher,a=o.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=l()(i).call(i,0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var r=l()(s).call(s,0);o.encryptBlock(r,0);for(var c=0;c>>2]|=a<<24-i%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)})),nt((function(e,t){var n;e.exports=((n=ot).pad.Iso10126={pad:function(e,t){var o,a=4*t,i=a-e.sigBytes%a;w()(o=w()(e).call(e,n.lib.WordArray.random(i-1))).call(o,n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)})),nt((function(e,t){var n;e.exports=((n=ot).pad.Iso97971={pad:function(e,t){w()(e).call(e,n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)})),nt((function(e,t){var n;e.exports=((n=ot).pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},n.pad.ZeroPadding)})),nt((function(e,t){var n;e.exports=((n=ot).pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)})),nt((function(e,t){var n,o,a,i;e.exports=(a=(o=n=ot).lib.CipherParams,i=o.enc.Hex,o.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return a.create({ciphertext:t})}},n.format.Hex)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.BlockCipher,o=e.algo,a=[],i=[],s=[],r=[],l=[],c=[],d=[],u=[],p=[],m=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,o=0;for(t=0;t<256;t++){var h=o^o<<1^o<<2^o<<3^o<<4;h=h>>>8^255&h^99,a[n]=h,i[h]=n;var v=e[n],f=e[v],g=e[f],b=257*e[h]^16843008*h;s[n]=b<<24|b>>>8,r[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=16843009*g^65537*f^257*v^16843008*n,d[h]=b<<24|b>>>8,u[h]=b<<16|b>>>16,p[h]=b<<8|b>>>24,m[h]=b,n?(n=v^e[e[e[g^v]]],o^=e[e[o]]):n=o=1}}();var h=[0,1,2,4,8,16,32,64,128,27,54],v=o.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,o=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],s=0;s6&&s%n==4&&(r=a[r>>>24]<<24|a[r>>>16&255]<<16|a[r>>>8&255]<<8|a[255&r]):(r=a[(r=r<<8|r>>>24)>>>24]<<24|a[r>>>16&255]<<16|a[r>>>8&255]<<8|a[255&r],r^=h[s/n|0]<<24),i[s]=i[s-n]^r}for(var l=this._invKeySchedule=[],c=0;c>>24]]^u[a[r>>>16&255]]^p[a[r>>>8&255]]^m[a[255&r]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,r,l,c,a)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,d,u,p,m,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,o,a,i,s,r){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],u=e[t+2]^n[2],p=e[t+3]^n[3],m=4,h=1;h>>24]^a[d>>>16&255]^i[u>>>8&255]^s[255&p]^n[m++],f=o[d>>>24]^a[u>>>16&255]^i[p>>>8&255]^s[255&c]^n[m++],g=o[u>>>24]^a[p>>>16&255]^i[c>>>8&255]^s[255&d]^n[m++],b=o[p>>>24]^a[c>>>16&255]^i[d>>>8&255]^s[255&u]^n[m++];c=v,d=f,u=g,p=b}v=(r[c>>>24]<<24|r[d>>>16&255]<<16|r[u>>>8&255]<<8|r[255&p])^n[m++],f=(r[d>>>24]<<24|r[u>>>16&255]<<16|r[p>>>8&255]<<8|r[255&c])^n[m++],g=(r[u>>>24]<<24|r[p>>>16&255]<<16|r[c>>>8&255]<<8|r[255&d])^n[m++],b=(r[p>>>24]<<24|r[c>>>16&255]<<16|r[d>>>8&255]<<8|r[255&u])^n[m++],e[t]=v,e[t+1]=f,e[t+2]=g,e[t+3]=b},keySize:8});e.AES=t._createHelper(v)}(),n.AES)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib,o=t.WordArray,a=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],r=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=i.DES=a.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var o=s[n]-1;t[n]=e[o>>>5]>>>31-o%32&1}for(var a=this._subKeys=[],i=0;i<16;i++){var l=a[i]=[],d=c[i];for(n=0;n<24;n++)l[n/6|0]|=t[(r[n]-1+d)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(r[n+24]-1+d)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(n=0;n<16;n++)u[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],m.call(this,4,252645135),m.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),m.call(this,1,1431655765);for(var o=0;o<16;o++){for(var a=n[o],i=this._lBlock,s=this._rBlock,r=0,l=0;l<8;l++)r|=d[l][((s^a[l])&u[l])>>>0];this._lBlock=s,this._rBlock=i^r}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,m.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function m(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<>>2]>>>24-s%4*8&255;i=(i+o[a]+r)%256;var l=o[a];o[a]=o[i],o[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,o=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,o|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,o}e.RC4=t._createHelper(a);var s=o.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),n.RC4)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.StreamCipher,o=e.algo,a=[],i=[],s=[],r=o.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var o=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)a[n]^=o[n+4&7];if(t){var i=t.words,s=i[0],r=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(a[0]^=c,a[1]^=u,a[2]^=d,a[3]^=p,a[4]^=c,a[5]^=u,a[6]^=d,a[7]^=p,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],a=65535&o,r=o>>>16,l=((a*a>>>17)+a*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(r)}(),n.Rabbit)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.StreamCipher,o=e.algo,a=[],i=[],s=[],r=o.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var a=0;a<4;a++)l.call(this);for(a=0;a<8;a++)o[a]^=n[a+4&7];if(t){var i=t.words,s=i[0],r=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(o[0]^=c,o[1]^=u,o[2]^=d,o[3]^=p,o[4]^=c,o[5]^=u,o[6]^=d,o[7]^=p,a=0;a<4;a++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],a=65535&o,r=o>>>16,l=((a*a>>>17)+a*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(r)}(),n.RabbitLegacy)})),nt((function(e,t){e.exports=ot})));function it(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}var rt=it,lt=st;function ct(e){if(rt===S.a)return S()(e,0);if((rt===it||!rt)&&S.a)return rt=S.a,S()(e,0);try{return rt(e,0)}catch(ae){try{return rt.call(null,e,0)}catch(ae){return rt.call(this,e,0)}}}"function"==typeof oe.setTimeout&&(rt=S.a),"function"==typeof oe.clearTimeout&&(lt=clearTimeout);var dt,ut=[],pt=!1,mt=-1;function ht(){pt&&dt&&(pt=!1,dt.length?ut=w()(dt).call(dt,ut):mt=-1,ut.length&&vt())}function vt(){if(!pt){var e=ct(ht);pt=!0;for(var t=ut.length;t;){for(dt=ut,ut=[];++mt1)for(var n=1;n0&&s.length>a){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,r=l,"function"==typeof console.warn?console.warn(r):console.log(r)}}else s=i[t]=n,++e._eventsCount;return e}function St(e,t,n){var o=!1;function a(){e.removeListener(t,a),o||(o=!0,n.apply(e,arguments))}return a.listener=n,a}function _t(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function Dt(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}bt.now||bt.mozNow||bt.msNow||bt.oNow||bt.webkitNow,Ot.prototype=k()(null),yt.EventEmitter=yt,yt.usingDomains=!1,yt.prototype.domain=void 0,yt.prototype._events=void 0,yt.prototype._maxListeners=void 0,yt.defaultMaxListeners=10,yt.init=function(){this.domain=null,yt.usingDomains&&(void 0).active&&(void 0).Domain,this._events&&this._events!==D()(this)._events||(this._events=new Ot,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},yt.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},yt.prototype.getMaxListeners=function(){return jt(this)},yt.prototype.emit=function(e){var t,n,o,a,i,s,r,l="error"===e;if(s=this._events)l=l&&null==s.error;else if(!l)return!1;if(r=this.domain,l){if(t=arguments[1],!r){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1}if(!(n=s[e]))return!1;var d="function"==typeof n;switch(o=arguments.length){case 1:kt(n,d,this);break;case 2:It(n,d,this,arguments[1]);break;case 3:wt(n,d,this,arguments[1],arguments[2]);break;case 4:Et(n,d,this,arguments[1],arguments[2],arguments[3]);break;default:for(a=new Array(o-1),i=1;i0;)if(n[i]===t||n[i].listener&&n[i].listener===t){s=n[i].listener,a=i;break}if(a<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new Ot,this;delete o[e]}else!function(e,t){for(var n=t,o=n+1,a=e.length;o0?M()(this._events):[]};var Nt="function"==typeof k.a?function(e,t){e.super_=t,e.prototype=k()(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Ut=/%[sdj%]/g;function Bt(e){if(!$t(e)){for(var t=[],n=0;n=a)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return V()(o[n++])}catch(e){return"[Circular]"}default:return e}})),s=o[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),zt(t)?n.showHidden=t:t&&function(e,t){if(!t||!Wt(t))return e;for(var n=U()(t),o=n.length;o--;)e[n[o]]=t[n[o]]}(n,t),Yt(n.showHidden)&&(n.showHidden=!1),Yt(n.depth)&&(n.depth=2),Yt(n.colors)&&(n.colors=!1),Yt(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Rt),At(n,e,n.depth)}function Rt(e,t){var n=Lt.styles[t];return n?"["+Lt.colors[n][0]+"m"+e+"["+Lt.colors[n][1]+"m":e}function Pt(e,t){return e}function At(e,t,n){if(e.customInspect&&t&&Jt(t.inspect)&&t.inspect!==Lt&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return $t(o)||(o=At(e,o,n)),o}var a=function(e,t){if(Yt(t))return e.stylize("undefined","undefined");if($t(t)){var n="'"+V()(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return o=t,"number"==typeof o?e.stylize(""+t,"number"):zt(t)?e.stylize(""+t,"boolean"):Ft(t)?e.stylize("null","null"):void 0;var o}(e,t);if(a)return a;var i=U()(t),r=function(e){var t={};return R()(e).call(e,(function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=A()(t)),Zt(t)&&(d()(i).call(i,"message")>=0||d()(i).call(i,"description")>=0))return Gt(t);if(0===i.length){if(Jt(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(Kt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(qt(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Zt(t))return Gt(t)}var c,u,p="",m=!1,h=["{","}"];return c=t,s()(c)&&(m=!0,h=["[","]"]),Jt(t)&&(p=" [Function"+(t.name?": "+t.name:"")+"]"),Kt(t)&&(p=" "+RegExp.prototype.toString.call(t)),qt(t)&&(p=" "+Date.prototype.toUTCString.call(t)),Zt(t)&&(p=" "+Gt(t)),0!==i.length||m&&0!=t.length?n<0?Kt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=m?function(e,t,n,o,a){for(var i=[],s=0,r=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(u,p,h)):h[0]+p+h[1]}function Gt(e){return"["+Error.prototype.toString.call(e)+"]"}function Ht(e,t,n,o,a,i){var s,r,l,c,u,p,m;if((m=Y()(t,a)||{value:t[a]}).get?p=m.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):m.set&&(p=e.stylize("[Setter]","special")),Xt(o,a)||(u="["+a+"]"),p||(d()(s=e.seen).call(s,m.value)<0?d()(r=p=Ft(n)?At(e,m.value,null):At(e,m.value,n-1)).call(r,"\n")>-1&&(p=i?H()(l=p.split("\n")).call(l,(function(e){return" "+e})).join("\n").substr(2):"\n"+H()(c=p.split("\n")).call(c,(function(e){return" "+e})).join("\n")):p=e.stylize("[Circular]","special")),Yt(u)){if(i&&a.match(/^\d+$/))return p;(u=V()(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+p}function zt(e){return"boolean"==typeof e}function Ft(e){return null===e}function $t(e){return"string"==typeof e}function Yt(e){return void 0===e}function Kt(e){return Wt(e)&&"[object RegExp]"===Qt(e)}function Wt(e){return"object"==typeof e&&null!==e}function qt(e){return Wt(e)&&"[object Date]"===Qt(e)}function Zt(e){return Wt(e)&&("[object Error]"===Qt(e)||e instanceof Error)}function Jt(e){return"function"==typeof e}function Qt(e){return Object.prototype.toString.call(e)}function Xt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function en(){this.head=null,this.tail=null,this.length=0}Lt.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Lt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},en.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},en.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},en.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},en.prototype.clear=function(){this.head=this.tail=null,this.length=0},en.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},en.prototype.concat=function(e){if(0===this.length)return ge.alloc(0);if(1===this.length)return this.head.data;for(var t=ge.allocUnsafe(e>>>0),n=this.head,o=0;n;)n.data.copy(t,o),o+=n.data.length,n=n.next;return t};var tn=ge.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nn(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!tn(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=an;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=sn;break;default:return void(this.write=on)}this.charBuffer=new ge(6),this.charReceived=0,this.charLength=0}function on(e){return e.toString(this.encoding)}function an(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function sn(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}nn.prototype.write=function(e){for(var t="";this.charLength;){var n,o=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,o),this.charReceived+=o,this.charReceived=55296&&a<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var a,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),i=(t+=e.toString(this.encoding,0,i)).length-1,(a=t.charCodeAt(i))>=55296&&a<=56319){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),e.copy(this.charBuffer,0,0,s),t.substring(0,i)}return t},nn.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},nn.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,o=this.charBuffer,a=this.encoding;t+=l()(o).call(o,0,n).toString(a)}return t},cn.ReadableState=ln;var rn=function(e){return Yt(xt)&&(xt=""),e=e.toUpperCase(),Vt[e]||(new RegExp("\\b"+e+"\\b","i").test(xt)?Vt[e]=function(){var t=Bt.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:Vt[e]=function(){}),Vt[e]}("stream");function ln(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Ln&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new en,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new nn(e.encoding),this.encoding=e.encoding)}function cn(e){if(!(this instanceof cn))return new cn(e);this._readableState=new ln(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),yt.call(this)}function dn(e,t,n,o,a){var i=function(e,t){var n=null;return et(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,mn(e)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!a){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&a){var r=new Error("stream.unshift() after end event");e.emit("error",r)}else{var l;!t.decoder||a||o||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),a||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,a?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&mn(e))),function(e,t){t.readingMore||(t.readingMore=!0,ft(vn,e,t))}(e,t)}else a||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=un?e=un:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function mn(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(rn("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ft(hn,e):hn(e))}function hn(e){rn("emit readable"),e.emit("readable"),bn(e)}function vn(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(o=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:w()(n=t.buffer).call(n,t.length),t.buffer.clear()):o=function(e,t,n,o,a){var i;return ei.length?i.length:e;if(s===i.length?a+=i:a+=l()(i).call(i,0,e),0===(e-=s)){s===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=l()(i).call(i,s));break}++o}return t.length-=o,a}(e,t):function(e,t){var n=ge.allocUnsafe(e),o=t.head,a=1;for(o.data.copy(n),e-=o.data.length;o=o.next;){var i=o.data,s=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,s),0===(e-=s)){s===i.length?(++a,o.next?t.head=o.next:t.head=t.tail=null):(t.head=o,o.data=l()(i).call(i,s));break}++a}return t.length-=a,n}(e,t),i}(e,t.buffer,t.decoder),o)}function yn(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ft(jn,t,e))}function jn(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function kn(e,t){for(var n=0,o=e.length;n=t.highWaterMark||t.ended))return rn("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?yn(this):mn(this),null;if(0===(e=pn(e,t))&&t.ended)return 0===t.length&&yn(this),null;var o,a=t.needReadable;return rn("need readable",a),(0===t.length||t.length-e0?On(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&yn(this)),null!==o&&this.emit("data",o),o},cn.prototype._read=function(e){this.emit("error",new Error("not implemented"))},cn.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,rn("pipe count=%d opts=%j",o.pipesCount,t);var a=t&&!1===t.end?d:r;function i(e){rn("onunpipe"),e===n&&d()}function r(){rn("onend"),e.end()}o.endEmitted?ft(a):n.once("end",a),e.on("unpipe",i);var l=function(e){return function(){var t=e._readableState;rn("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,bn(e))}}(n);e.on("drain",l);var c=!1;function d(){rn("cleanup"),e.removeListener("close",h),e.removeListener("finish",v),e.removeListener("drain",l),e.removeListener("error",m),e.removeListener("unpipe",i),n.removeListener("end",r),n.removeListener("end",d),n.removeListener("data",p),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}var u=!1;function p(t){rn("ondata"),u=!1,!1!==e.write(t)||u||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==kn(o.pipes,e))&&!c&&(rn("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function m(t){var n;rn("onerror",t),f(),e.removeListener("error",m),0===(n="error",e.listeners(n).length)&&e.emit("error",t)}function h(){e.removeListener("finish",v),f()}function v(){rn("onfinish"),e.removeListener("close",h),f()}function f(){rn("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s()(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",h),e.once("finish",v),e.emit("pipe",n),o.flowing||(rn("pipe resume"),n.resume()),e},cn.prototype.unpipe=function(e){var t,n=this._readableState;if(0===n.pipesCount)return this;if(1===n.pipesCount)return e&&e!==n.pipes||(e||(e=n.pipes),n.pipes=null,n.pipesCount=0,n.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var o=n.pipes,a=n.pipesCount;n.pipes=null,n.pipesCount=0,n.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Cn.prototype._write=function(e,t,n){n(new Error("not implemented"))},Cn.prototype._writev=null,Cn.prototype.end=function(e,t,n){var o=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(e,t,n){t.ending=!0,Un(e,t),n&&(t.finished?ft(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,o,n)},Nt(Ln,cn);for(var Mn=U()(Cn.prototype),xn=0;xn=0;)e[t]=0}var no=0,oo=1,ao=2,io=29,so=256,ro=so+1+io,lo=30,co=19,uo=2*ro+1,po=15,mo=16,ho=7,vo=256,fo=16,go=17,bo=18,Oo=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],yo=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],jo=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ko=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Io=new Array(2*(ro+2));to(Io);var wo=new Array(2*lo);to(wo);var Eo=new Array(512);to(Eo);var Co=new Array(256);to(Co);var To=new Array(io);to(To);var So,_o,Do,No=new Array(lo);function Uo(e,t,n,o,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=o,this.max_length=a,this.has_stree=e&&e.length}function Bo(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Mo(e){return e<256?Eo[e]:Eo[256+(e>>>7)]}function xo(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Vo(e,t,n){e.bi_valid>mo-n?(e.bi_buf|=t<>mo-e.bi_valid,e.bi_valid+=n-mo):(e.bi_buf|=t<>>=1,n<<=1}while(--t>0);return n>>>1}function Po(e,t,n){var o,a,i=new Array(po+1),s=0;for(o=1;o<=po;o++)i[o]=s=s+n[o-1]<<1;for(a=0;a<=t;a++){var r=e[2*a+1];0!==r&&(e[2*a]=Ro(i[r]++,r))}}function Ao(e){var t;for(t=0;t8?xo(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Ho(e,t,n,o){var a=2*t,i=2*n;return e[a]>1;n>=1;n--)zo(e,i,n);a=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],zo(e,i,1),o=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=o,i[2*a]=i[2*n]+i[2*o],e.depth[a]=(e.depth[n]>=e.depth[o]?e.depth[n]:e.depth[o])+1,i[2*n+1]=i[2*o+1]=a,e.heap[1]=a++,zo(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,o,a,i,s,r,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,h=t.stat_desc.max_length,v=0;for(i=0;i<=po;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;nh&&(i=h,v++),l[2*o+1]=i,o>c||(e.bl_count[i]++,s=0,o>=m&&(s=p[o-m]),r=l[2*o],e.opt_len+=r*(i+s),u&&(e.static_len+=r*(d[2*o+1]+s)));if(0!==v){do{for(i=h-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[h]--,v-=2}while(v>0);for(i=h;0!==i;i--)for(o=e.bl_count[i];0!==o;)(a=e.heap[--n])>c||(l[2*a+1]!==i&&(e.opt_len+=(i-l[2*a+1])*l[2*a],l[2*a+1]=i),o--)}}(e,t),Po(i,c,e.bl_count)}function Yo(e,t,n){var o,a,i=-1,s=t[1],r=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,o=0;o<=n;o++)a=s,s=t[2*(o+1)+1],++r>=7;o=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}function Qo(e,t,n,o){var a,i,s=0;e.level>0?(e.strm.data_type===eo&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return Qn;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Xn;for(t=32;t=3&&0===e.bl_tree[2*ko[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=a&&(a=i)):a=i=n+5,n+4<=a&&-1!==t?Zo(e,t,n,o):e.strategy===Jn||i===a?(Vo(e,(oo<<1)+(o?1:0),3),Fo(e,Io,wo)):(Vo(e,(ao<<1)+(o?1:0),3),function(e,t,n,o){var a;for(Vo(e,t-257,5),Vo(e,n-1,5),Vo(e,o-4,4),a=0;a>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Co[n]+so+1)]++,e.dyn_dtree[2*Mo(t)]++),e.last_lit===e.lit_bufsize-1}function ea(e,t,n,o){for(var a=65535&e|0,i=e>>>16&65535|0,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{i=i+(a=a+t[o++]|0)|0}while(--s);a%=65521,i%=65521}return a|i<<16|0}var ta=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();function na(e,t,n,o){var a=ta,i=o+n;e^=-1;for(var s=o;s>>8^a[255&(e^t[s])];return-1^e}var oa,aa=0,ia=1,sa=3,ra=4,la=5,ca=0,da=1,ua=-2,pa=-3,ma=-5,ha=-1,va=1,fa=2,ga=3,ba=4,Oa=2,ya=8,ja=9,ka=286,Ia=30,wa=19,Ea=2*ka+1,Ca=15,Ta=3,Sa=258,_a=Sa+Ta+1,Da=32,Na=42,Ua=69,Ba=73,Ma=91,xa=103,Va=113,La=666,Ra=1,Pa=2,Aa=3,Ga=4,Ha=3;function za(e,t){return e.msg=$n[t],t}function Fa(e){return(e<<1)-(e>4?9:0)}function $a(e){for(var t=e.length;--t>=0;)e[t]=0}function Ya(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Kn(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Ka(e,t){Qo(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ya(e.strm)}function Wa(e,t){e.pending_buf[e.pending++]=t}function qa(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Za(e,t){var n,o,a=e.max_chain_length,i=e.strstart,s=e.prev_length,r=e.nice_match,l=e.strstart>e.w_size-_a?e.strstart-(e.w_size-_a):0,c=e.window,d=e.w_mask,u=e.prev,p=e.strstart+Sa,m=c[i+s-1],h=c[i+s];e.prev_length>=e.good_match&&(a>>=2),r>e.lookahead&&(r=e.lookahead);do{if(c[(n=t)+s]===h&&c[n+s-1]===m&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&is){if(e.match_start=t,s=o,o>=r)break;m=c[i+s-1],h=c[i+s]}}}while((t=u[t&d])>l&&0!=--a);return s<=e.lookahead?s:e.lookahead}function Ja(e){var t,n,o,a,i,s,r,l,c,d,u=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-_a)){Kn(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=n=e.hash_size;do{o=e.head[--t],e.head[t]=o>=u?o-u:0}while(--n);t=n=u;do{o=e.prev[--t],e.prev[t]=o>=u?o-u:0}while(--n);a+=u}if(0===e.strm.avail_in)break;if(s=e.strm,r=e.window,l=e.strstart+e.lookahead,c=a,d=void 0,(d=s.avail_in)>c&&(d=c),n=0===d?0:(s.avail_in-=d,Kn(r,s.input,s.next_in,d,l),1===s.state.wrap?s.adler=ea(s.adler,r,d,l):2===s.state.wrap&&(s.adler=na(s.adler,r,d,l)),s.next_in+=d,s.total_in+=d,d),e.lookahead+=n,e.lookahead+e.insert>=Ta)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=Ta&&(e.ins_h=(e.ins_h<=Ta)if(o=Xo(e,e.strstart-e.match_start,e.match_length-Ta),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ta){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=Ta&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=Ta-1)),e.prev_length>=Ta&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-Ta,o=Xo(e,e.strstart-1-e.prev_match,e.prev_length-Ta),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<la||t<0)return e?za(e,ua):ua;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||o.status===La&&t!==ra)return za(e,0===e.avail_out?ma:ua);if(o.strm=e,n=o.last_flush,o.last_flush=t,o.status===Na)if(2===o.wrap)e.adler=0,Wa(o,31),Wa(o,139),Wa(o,8),o.gzhead?(Wa(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),Wa(o,255&o.gzhead.time),Wa(o,o.gzhead.time>>8&255),Wa(o,o.gzhead.time>>16&255),Wa(o,o.gzhead.time>>24&255),Wa(o,9===o.level?2:o.strategy>=fa||o.level<2?4:0),Wa(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(Wa(o,255&o.gzhead.extra.length),Wa(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=na(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=Ua):(Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,9===o.level?2:o.strategy>=fa||o.level<2?4:0),Wa(o,Ha),o.status=Va);else{var s=ya+(o.w_bits-8<<4)<<8;s|=(o.strategy>=fa||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(s|=Da),s+=31-s%31,o.status=Va,qa(o,s),0!==o.strstart&&(qa(o,e.adler>>>16),qa(o,65535&e.adler)),e.adler=1}if(o.status===Ua)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending!==o.pending_buf_size));)Wa(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=Ba)}else o.status=Ba;if(o.status===Ba)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending===o.pending_buf_size)){i=1;break}i=o.gzindexa&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),0===i&&(o.gzindex=0,o.status=Ma)}else o.status=Ma;if(o.status===Ma)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending===o.pending_buf_size)){i=1;break}i=o.gzindexa&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),0===i&&(o.status=xa)}else o.status=xa;if(o.status===xa&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Ya(e),o.pending+2<=o.pending_buf_size&&(Wa(o,255&e.adler),Wa(o,e.adler>>8&255),e.adler=0,o.status=Va)):o.status=Va),0!==o.pending){if(Ya(e),0===e.avail_out)return o.last_flush=-1,ca}else if(0===e.avail_in&&Fa(t)<=Fa(n)&&t!==ra)return za(e,ma);if(o.status===La&&0!==e.avail_in)return za(e,ma);if(0!==e.avail_in||0!==o.lookahead||t!==aa&&o.status!==La){var r=o.strategy===fa?function(e,t){for(var n;;){if(0===e.lookahead&&(Ja(e),0===e.lookahead)){if(t===aa)return Ra;break}if(e.match_length=0,n=Xo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):e.last_lit&&(Ka(e,!1),0===e.strm.avail_out)?Ra:Pa}(o,t):o.strategy===ga?function(e,t){for(var n,o,a,i,s=e.window;;){if(e.lookahead<=Sa){if(Ja(e),e.lookahead<=Sa&&t===aa)return Ra;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=Ta&&e.strstart>0&&(o=s[a=e.strstart-1])===s[++a]&&o===s[++a]&&o===s[++a]){i=e.strstart+Sa;do{}while(o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ta?(n=Xo(e,1,e.match_length-Ta),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Xo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):e.last_lit&&(Ka(e,!1),0===e.strm.avail_out)?Ra:Pa}(o,t):oa[o.level].func(o,t);if(r!==Aa&&r!==Ga||(o.status=La),r===Ra||r===Aa)return 0===e.avail_out&&(o.last_flush=-1),ca;if(r===Pa&&(t===ia?Jo(o):t!==la&&(Zo(o,0,0,!1),t===sa&&($a(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),Ya(e),0===e.avail_out))return o.last_flush=-1,ca}return t!==ra?ca:o.wrap<=0?da:(2===o.wrap?(Wa(o,255&e.adler),Wa(o,e.adler>>8&255),Wa(o,e.adler>>16&255),Wa(o,e.adler>>24&255),Wa(o,255&e.total_in),Wa(o,e.total_in>>8&255),Wa(o,e.total_in>>16&255),Wa(o,e.total_in>>24&255)):(qa(o,e.adler>>>16),qa(o,65535&e.adler)),Ya(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?ca:da)}oa=[new ei(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ja(e),0===e.lookahead&&t===aa)return Ra;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var o=e.block_start+n;if((0===e.strstart||e.strstart>=o)&&(e.lookahead=e.strstart-o,e.strstart=o,Ka(e,!1),0===e.strm.avail_out))return Ra;if(e.strstart-e.block_start>=e.w_size-_a&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):(e.strstart>e.block_start&&(Ka(e,!1),e.strm.avail_out),Ra)})),new ei(4,4,8,4,Qa),new ei(4,5,16,8,Qa),new ei(4,6,32,32,Qa),new ei(4,4,16,16,Xa),new ei(8,16,32,32,Xa),new ei(8,16,128,128,Xa),new ei(8,32,128,256,Xa),new ei(32,128,258,1024,Xa),new ei(32,258,258,4096,Xa)];var ai=30,ii=12;function si(e,t){var n,o,a,i,s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C;n=e.state,o=e.next_in,E=e.input,a=o+(e.avail_in-5),i=e.next_out,C=e.output,s=i-(t-e.avail_out),r=i+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,u=n.wnext,p=n.window,m=n.hold,h=n.bits,v=n.lencode,f=n.distcode,g=(1<>>=y=O>>>24,h-=y,0===(y=O>>>16&255))C[i++]=65535&O;else{if(!(16&y)){if(0==(64&y)){O=v[(65535&O)+(m&(1<>>=y,h-=y),h<15&&(m+=E[o++]<>>=y=O>>>24,h-=y,!(16&(y=O>>>16&255))){if(0==(64&y)){O=f[(65535&O)+(m&(1<l){e.msg="invalid distance too far back",n.mode=ai;break e}if(m>>>=y,h-=y,k>(y=i-s)){if((y=k-y)>d&&n.sane){e.msg="invalid distance too far back",n.mode=ai;break e}if(I=0,w=p,0===u){if(I+=c-y,y2;)C[i++]=w[I++],C[i++]=w[I++],C[i++]=w[I++],j-=3;j&&(C[i++]=w[I++],j>1&&(C[i++]=w[I++]))}else{I=i-k;do{C[i++]=C[I++],C[i++]=C[I++],C[i++]=C[I++],j-=3}while(j>2);j&&(C[i++]=C[I++],j>1&&(C[i++]=C[I++]))}break}}break}}while(o>3,m&=(1<<(h-=j<<3))-1,e.next_in=o,e.next_out=i,e.avail_in=o=1&&0===D[j];j--);if(k>j&&(k=j),0===j)return a[i++]=20971520,a[i++]=20971520,r.bits=1,0;for(y=1;y0&&(e===di||1!==j))return-1;for(N[1]=0,b=1;bli||e===pi&&C>ci)return 1;for(;;){h=b-w,s[O]m?(v=U[B+s[O]],f=S[_+s[O]]):(v=96,f=0),l=1<>w)+(c-=l)]=h<<24|v<<16|f|0}while(0!==c);for(l=1<>=1;if(0!==l?(T&=l-1,T+=l):T=0,O++,0==--D[b]){if(b===j)break;b=t[n+s[O]]}if(b>k&&(T&u)!==d){for(0===w&&(w=k),p+=y,E=1<<(I=b-w);I+wli||e===pi&&C>ci)return 1;a[d=T&u]=k<<24|I<<16|p-i|0}}return 0!==T&&(a[p+T]=b-w<<24|64<<16|0),r.bits=k,0}var bi=0,Oi=1,yi=2,ji=4,ki=5,Ii=6,wi=0,Ei=1,Ci=2,Ti=-2,Si=-3,_i=-4,Di=-5,Ni=8,Ui=1,Bi=2,Mi=3,xi=4,Vi=5,Li=6,Ri=7,Pi=8,Ai=9,Gi=10,Hi=11,zi=12,Fi=13,$i=14,Yi=15,Ki=16,Wi=17,qi=18,Zi=19,Ji=20,Qi=21,Xi=22,es=23,ts=24,ns=25,os=26,as=27,is=28,ss=29,rs=30,ls=31,cs=32,ds=852,us=592;function ps(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ms(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qn(320),this.work=new qn(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function hs(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Ui,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Zn(ds),t.distcode=t.distdyn=new Zn(us),t.sane=1,t.back=-1,wi):Ti}(e)):Ti}function vs(e,t){var n,o;return e?(o=new ms,e.state=o,o.window=null,(n=function(e,t){var n,o;return e&&e.state?(o=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Ti:(null!==o.window&&o.wbits!==t&&(o.window=null),o.wrap=n,o.wbits=t,hs(e))):Ti}(e,t))!==wi&&(e.state=null),n):Ti}var fs,gs,bs=!0;function Os(e){if(bs){var t;for(fs=new Zn(512),gs=new Zn(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(gi(Oi,e.lens,0,288,fs,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;gi(yi,e.lens,0,32,gs,0,e.work,{bits:5}),bs=!1}e.lencode=fs,e.lenbits=9,e.distcode=gs,e.distbits=5}function ys(e,t){var n,o,a,i,s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C=0,T=new Wn(4),S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Ti;(n=e.state).mode===zi&&(n.mode=Fi),s=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,o=e.input,r=e.avail_in,c=n.hold,d=n.bits,u=r,p=l,I=wi;e:for(;;)switch(n.mode){case Ui:if(0===n.wrap){n.mode=Fi;break}for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>>8&255,n.check=na(n.check,T,2,0),c=0,d=0,n.mode=Bi;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=rs;break}if((15&c)!==Ni){e.msg="unknown compression method",n.mode=rs;break}if(d-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=rs;break}n.dmax=1<>8&1),512&Q()(n)&&(T[0]=255&c,T[1]=c>>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0,n.mode=Mi;case Mi:for(;d<32;){if(0===r)break e;r--,c+=o[i++]<>>8&255,T[2]=c>>>16&255,T[3]=c>>>24&255,n.check=na(n.check,T,4,0)),c=0,d=0,n.mode=xi;case xi:for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>8),512&Q()(n)&&(T[0]=255&c,T[1]=c>>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0,n.mode=Vi;case Vi:if(1024&Q()(n)){for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0}else n.head&&(n.head.extra=null);n.mode=Li;case Li:if(1024&Q()(n)&&((m=n.length)>r&&(m=r),m&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Kn(n.head.extra,o,i,m,k)),512&Q()(n)&&(n.check=na(n.check,o,m,i)),r-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=Ri;case Ri:if(2048&Q()(n)){if(0===r)break e;m=0;do{k=o[i+m++],n.head&&k&&n.length<65536&&(n.head.name+=String.fromCharCode(k))}while(k&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=zi;break;case Gi:for(;d<32;){if(0===r)break e;r--,c+=o[i++]<>>=7&d,d-=7&d,n.mode=as;break}for(;d<3;){if(0===r)break e;r--,c+=o[i++]<>>=1)){case 0:n.mode=$i;break;case 1:if(Os(n),n.mode=Ji,t===Ii){c>>>=2,d-=2;break e}break;case 2:n.mode=Wi;break;case 3:e.msg="invalid block type",n.mode=rs}c>>>=2,d-=2;break;case $i:for(c>>>=7&d,d-=7&d;d<32;){if(0===r)break e;r--,c+=o[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=rs;break}if(n.length=65535&c,c=0,d=0,n.mode=Yi,t===Ii)break e;case Yi:n.mode=Ki;case Ki:if(m=n.length){if(m>r&&(m=r),m>l&&(m=l),0===m)break e;Kn(a,o,i,m,s),r-=m,i+=m,l-=m,s+=m,n.length-=m;break}n.mode=zi;break;case Wi:for(;d<14;){if(0===r)break e;r--,c+=o[i++]<>>=5,d-=5,n.ndist=1+(31&c),c>>>=5,d-=5,n.ncode=4+(15&c),c>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=rs;break}n.have=0,n.mode=qi;case qi:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[S[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},I=gi(bi,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,I){e.msg="invalid code lengths set",n.mode=rs;break}n.have=0,n.mode=Zi;case Zi:for(;n.have>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=f,d-=f,n.lens[n.have++]=b;else{if(16===b){for(E=f+2;d>>=f,d-=f,0===n.have){e.msg="invalid bit length repeat",n.mode=rs;break}k=n.lens[n.have-1],m=3+(3&c),c>>>=2,d-=2}else if(17===b){for(E=f+3;d>>=f)),c>>>=3,d-=3}else{for(E=f+7;d>>=f)),c>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=rs;break}for(;m--;)n.lens[n.have++]=k}}if(n.mode===rs)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=rs;break}if(n.lenbits=9,w={bits:n.lenbits},I=gi(Oi,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,I){e.msg="invalid literal/lengths set",n.mode=rs;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},I=gi(yi,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,I){e.msg="invalid distances set",n.mode=rs;break}if(n.mode=Ji,t===Ii)break e;case Ji:n.mode=Qi;case Qi:if(r>=6&&l>=258){e.next_out=s,e.avail_out=l,e.next_in=i,e.avail_in=r,n.hold=c,n.bits=d,si(e,p),s=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,o=e.input,r=e.avail_in,c=n.hold,d=n.bits,n.mode===zi&&(n.back=-1);break}for(n.back=0;g=(C=n.lencode[c&(1<>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>O)])>>>16&255,b=65535&C,!(O+(f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=O,d-=O,n.back+=O}if(c>>>=f,d-=f,n.back+=f,n.length=b,0===g){n.mode=os;break}if(32&g){n.back=-1,n.mode=zi;break}if(64&g){e.msg="invalid literal/length code",n.mode=rs;break}n.extra=15&g,n.mode=Xi;case Xi:if(n.extra){for(E=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=es;case es:for(;g=(C=n.distcode[c&(1<>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>O)])>>>16&255,b=65535&C,!(O+(f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=O,d-=O,n.back+=O}if(c>>>=f,d-=f,n.back+=f,64&g){e.msg="invalid distance code",n.mode=rs;break}n.offset=b,n.extra=15&g,n.mode=ts;case ts:if(n.extra){for(E=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=rs;break}n.mode=ns;case ns:if(0===l)break e;if(m=p-l,n.offset>m){if((m=n.offset-m)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=rs;break}m>n.wnext?(m-=n.wnext,h=n.wsize-m):h=n.wnext-m,m>n.length&&(m=n.length),v=n.window}else v=a,h=s-n.offset,m=n.length;m>l&&(m=l),l-=m,n.length-=m;do{a[s++]=v[h++]}while(--m);0===n.length&&(n.mode=Qi);break;case os:if(0===l)break e;a[s++]=n.length,l--,n.mode=Qi;break;case as:if(n.wrap){for(;d<32;){if(0===r)break e;r--,c|=o[i++]<=i.wsize?(Kn(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((a=i.wsize-i.wnext)>o&&(a=o),Kn(i.window,t,n-o,a,i.wnext),(o-=a)?(Kn(i.window,t,n-o,o,0),i.wnext=o,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whaveIs)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function Es(e,t){for(var n=0;n15&&(s=2,o-=16),a<1||a>ja||n!==ya||o<8||o>15||t<0||t>9||i<0||i>ba)return za(e,ua);8===o&&(o=9);var r=new ti;return e.state=r,r.strm=e,r.wrap=s,r.gzhead=null,r.w_bits=o,r.w_size=1<Ts.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsTs.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelTs.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelTs.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=Ts.Z_FILTERED&&e.strategy!=Ts.Z_HUFFMAN_ONLY&&e.strategy!=Ts.Z_RLE&&e.strategy!=Ts.Z_FIXED&&e.strategy!=Ts.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!et(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new Ts.Zlib(t);var n=this;this._hadError=!1,this._binding.onerror=function(e,t){n._binding=null,n._hadError=!0;var o=new Error(e);o.errno=t,o.code=Ts.codes[t],n.emit("error",o)};var o=Ts.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(o=e.level);var a=Ts.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||Ts.Z_DEFAULT_WINDOWBITS,o,e.memLevel||Ts.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new ge(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=a,this.once("end",this.close)}R()(a=U()(Ss)).call(a,(function(e){Ss[Ss[e]]=e})),Nt(Rs,Gn),Rs.prototype.params=function(e,t,n){if(eTs.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=Ts.Z_FILTERED&&t!=Ts.Z_HUFFMAN_ONLY&&t!=Ts.Z_RLE&&t!=Ts.Z_FIXED&&t!=Ts.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var o=this;this.flush(Ts.Z_SYNC_FLUSH,(function(){o._binding.params(e,t),o._hadError||(o._level=e,o._strategy=t,n&&n())}))}else ft(n)},Rs.prototype.reset=function(){return this._binding.reset()},Rs.prototype._flush=function(e){this._transform(new ge(0),"",e)},Rs.prototype.flush=function(e,t){var n=this._writableState;if(("function"==typeof e||void 0===e&&!t)&&(t=e,e=Ts.Z_FULL_FLUSH),n.ended)t&&ft(t);else if(n.ending)t&&this.once("end",t);else if(n.needDrain){var o=this;this.once("drain",(function(){o.flush(t)}))}else this._flushFlag=e,this.write(new ge(0),"",t)},Rs.prototype.close=function(e){if(e&&ft(e),!this._closed){this._closed=!0,this._binding.close();var t=this;ft((function(){t.emit("close")}))}},Rs.prototype._transform=function(e,t,n){var o,a=this._writableState,i=(a.ending||a.ended)&&(!e||a.length===e.length);if(null===!e&&!et(e))return n(new Error("invalid input"));i?o=Ts.Z_FINISH:(o=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||Ts.Z_NO_FLUSH)),this._processChunk(e,o,n)},Rs.prototype._processChunk=function(e,t,n){var o=e&&e.length,a=this._chunkSize-this._offset,i=0,s=this,r="function"==typeof n;if(!r){var c,d=[],u=0;this.on("error",(function(e){c=e}));do{var p=this._binding.writeSync(t,e,i,o,this._buffer,this._offset,a)}while(!this._hadError&&v(p[0],p[1]));if(this._hadError)throw c;var m=w()(ge).call(ge,d,u);return this.close(),m}var h=this._binding.write(t,e,i,o,this._buffer,this._offset,a);function v(c,p){if(!s._hadError){var m=a-p;if(function(e,t){if(!e)throw new Error(t)}(m>=0,"have should not go down"),m>0){var h,f=l()(h=s._buffer).call(h,s._offset,s._offset+m);s._offset+=m,r?s.push(f):(d.push(f),u+=f.length)}if((0===p||s._offset>=s._chunkSize)&&(a=s._chunkSize,s._offset=0,s._buffer=new ge(s._chunkSize)),0===p){if(i+=o-c,o=c,!r)return!0;var g=s._binding.write(t,e,i,o,s._buffer,s._offset,s._chunkSize);return g.callback=v,void(g.buffer=e)}if(!r)return!1;n()}}h.buffer=e,h.callback=v},Nt(Ns,Rs),Nt(Us,Rs),Nt(Bs,Rs),Nt(Ms,Rs),Nt(xs,Rs),Nt(Vs,Rs),Nt(Ls,Rs);var Ps={codes:Ss,createDeflate:function(e){return new Ns(e)},createInflate:function(e){return new Us(e)},createDeflateRaw:function(e){return new xs(e)},createInflateRaw:function(e){return new Vs(e)},createGzip:function(e){return new Bs(e)},createGunzip:function(e){return new Ms(e)},createUnzip:function(e){return new Ls(e)},deflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ns(t),e,n)},deflateSync:function(e,t){return Ds(new Ns(t),e)},gzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Bs(t),e,n)},gzipSync:function(e,t){return Ds(new Bs(t),e)},deflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new xs(t),e,n)},deflateRawSync:function(e,t){return Ds(new xs(t),e)},unzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ls(t),e,n)},unzipSync:function(e,t){return Ds(new Ls(t),e)},inflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Us(t),e,n)},inflateSync:function(e,t){return Ds(new Us(t),e)},gunzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ms(t),e,n)},gunzipSync:function(e,t){return Ds(new Ms(t),e)},inflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Vs(t),e,n)},inflateRawSync:function(e,t){return Ds(new Vs(t),e)},Deflate:Ns,Inflate:Us,Gzip:Bs,Gunzip:Ms,DeflateRaw:xs,InflateRaw:Vs,Unzip:Ls,Zlib:Rs};t["a"]=class{constructor(e,t,n){this.SDKAPPID=e,this.EXPIRETIME=n,this.PRIVATEKEY=t}genTestUserSig(e){return this._isNumber(this.SDKAPPID)?this._isString(this.PRIVATEKEY)?this._isString(e)?this._isNumber(this.EXPIRETIME)?(console.log("sdkAppID="+this.SDKAPPID+" key="+this.PRIVATEKEY+" userID="+e+" expire="+this.EXPIRETIME),this.genSigWithUserbuf(e,this.EXPIRETIME,null)):(console.error("expireTime must be a number"),""):(console.error("userID must be a string"),""):(console.error("privateKey must be a string"),""):(console.error("sdkAppID must be a number"),"")}newBuffer(e,t){return ge.from?ge.from(e,t):new ge(e,t)}unescape(e){return e.replace(/_/g,"=").replace(/\-/g,"/").replace(/\*/g,"+")}escape(e){return e.replace(/\+/g,"*").replace(/\//g,"-").replace(/=/g,"_")}encode(e){return this.escape(this.newBuffer(e).toString("base64"))}decode(e){return this.newBuffer(this.unescape(e),"base64")}base64encode(e){return this.newBuffer(e).toString("base64")}base64decode(e){return this.newBuffer(e,"base64").toString()}_hmacsha256(e,t,n,o){let a="TLS.identifier:"+e+"\n";a+="TLS.sdkappid:"+this.SDKAPPID+"\n",a+="TLS.time:"+t+"\n",a+="TLS.expire:"+n+"\n",null!=o&&(a+="TLS.userbuf:"+o+"\n");let i=at.HmacSHA256(a,this.PRIVATEKEY);return at.enc.Base64.stringify(i)}_utc(){return Math.round(ne()()/1e3)}_isNumber(e){return null!==e&&("number"==typeof e&&!isNaN(e-0)||"object"==typeof e&&e.constructor===Number)}_isString(e){return"string"==typeof e}genSigWithUserbuf(e,t,n){let o=this._utc(),a={"TLS.ver":"2.0","TLS.identifier":e,"TLS.sdkappid":this.SDKAPPID,"TLS.time":o,"TLS.expire":t},i="";if(null!=n){let s=this.base64encode(n);a["TLS.userbuf"]=s,i=this._hmacsha256(e,o,t,s)}else i=this._hmacsha256(e,o,t,null);a["TLS.sig"]=i;let s=V()(a),r=Ps.deflateSync(this.newBuffer(s)).toString("base64"),l=this.escape(r);return console.log("ret="+l),l}validate(e){let t=this.decode(e),n=Ps.inflateSync(t);console.log("validate ret="+n)}}}).call(this,n("c8ba"))},e32f:function(e){e.exports=JSON.parse('{"发起会话":"Start chat","发起单聊":"New one-to-one chat","发起群聊":"New group chat","该用户不存在":"The user does not exist","创建群聊,请注册 TUIGroup 模块":"To create a group chat, please register the TUIGroup module","创建成功":"Creation successful","发起多人会话(群聊)":"New group chat","群头像":"Group profile photo","群名称":"Group name","群ID":"Group ID","群类型":"Group type","选填":"Optional","取消":"Cancel","创建":"Create","类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见":"Similar to a WeChat group. Users can join the group only via invitation by existing members. The invitation does not need to be agreed by the invitee or approved by the group owner. See the documentation for details.","类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见":"Similar to a QQ group. After a public group is created, the group owner can designate group admins. To join the group, a user needs to search the group ID and send a request, which needs to be approved by the group owner or an admin before the user can join the group. See the documentation for details. ","创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见":"After the group is created, a user can join and quit the group freely and can view the messages sent before joining the group. It is suitable for scenarios that integrate Tencent Real-Time Communication (TRTC), such as audio and video conferences and online education. See the documentation for details.","创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见":"After a group is created, a user can join and quit the group freely. The group can have an unlimited number of members, but it does not store message history. It can be combined with Live Video Broadcasting (LVB) to support on-screen comment scenarios. See the documentation for details. ","产品文档":"product documentation","设置群名称":"Group name","请输入群名称":"Enter the group name","设置群ID":"Group ID","请输入群ID":"Enter the group ID","选择群类型":"Group type"}')},e435:function(e,t,n){e.exports=n.p+"img/downaload-image.ac16e1ec.png"},e537:function(e,t,n){},e5cf:function(e,t,n){"use strict";n("5cd6")},e5da:function(e,t,n){},e68c:function(e){e.exports=JSON.parse('{"登录":"登录","登录当前账号":"登录当前账号","切换其他账号":"切换其他账号","我已阅读并同意":"我已阅读并同意","和":"和","隐私条例":"隐私条例","用户协议":"用户协议","免费体验":"免费体验","体验更多Demo":"体验更多Demo","访问官网":"访问官网","超10亿用户的信赖":"超10亿用户的信赖","一分钟":"一分钟","改2行代码,1分钟跑通demo":"改2行代码,1分钟跑通demo","每月服务客户数超过10000家":"每月服务客户数超过10000家","消息收发成功率":"消息收发成功率,服务可靠性高于99.99%","10亿":"10亿","每月活跃用户数超过10亿":"每月活跃用户数超过10亿","请输入手机号":"请输入手机号","请输入userID":"请输入userID","请输入正确的手机号":"请输入正确的手机号","请先勾选用户协议":"请先勾选用户协议","请输入验证码":"请输入验证码","获取验证码":"获取验证码","登录失败":"登录失败","验证码发送成功":"验证码发送成功","发送验证码失败":"验证码发送失败","Android":"Android","iOS":"iOS","小程序":"小程序","Windows":"Windows","Mac OS":"Mac OS","扫描二维码下载":"扫描二维码下载","微信扫码进入":"微信扫码进入","点击直接下载":"点击直接下载","更多客户端体验":"更多客户端体验","微信扫一扫,免费体验腾讯云 IM 小程序":"微信扫一扫,免费体验腾讯云 IM 小程序","或者截图至相册,切换微信扫一扫识别体验":"或者截图至相册,切换微信扫一扫识别体验"}')},e6ce:function(e,t,n){},ec3a:function(e,t,n){"use strict";n("7507")},ed40:function(e,t,n){"use strict";n("463a")},ee8f:function(e,t,n){"use strict";n("eedf")},eedf:function(e,t,n){},f017:function(e){e.exports=JSON.parse('{"取消":"Cancel","完成":"Done","已选中":"Selected","人":"","保存":"Save","请输入userID":"Enter a user ID","确定":"submit","全选":"All","已在群聊中":"exists"}')},f1ac:function(e,t,n){},f271:function(e,t,n){},f419:function(e,t,n){},f712:function(e){e.exports=JSON.parse('{"欢迎使用":"Welcome","建议体验功能":"Recommended Demo Features","用UI组件快速集成":"Quick Integration with UI Components","创建项目":"Create a project","下载TUIKit组件":"Download the TUIKit component","引入TUIKit组件":"Import the TUIKit component","获取SDKAppID":"Obtain the SDKAppID, key, and userID","调用TUIKit组件":"Call the TUIKit component","启动项目":"Launch the project","发送您的第一条消息":"Send your first mess","首购低至1折":"Up to 90% off for first purchase","IM首购9percent折":"Up to 91% off for first purchase","续费9折起":"Up to 10% off for re-purchase","复购75%起":"Up to 25% off for re-purchase","立即选购":"Purchase now","体验更多Demo":"More demos","立即前往":"Try now","已完成":"Completed","待体验":"To try out","发送一条消息":"Send a message","撤回一条消息":"Recall a message","切换一次使用语言":"Change the language","发起一个多人会话":"Create a group chat","发起一个群聊":"New a group chat","开启一次群禁言":"Mute group members","解散一个群聊":"Disband a group","解散一个多人会话":"Disband a group","发起一次通话":"Make a call","修改一次我的昵称":"Edit a nick","我们为您默认提供了一位“示例好友”和一个“示例客服群”您不用额外添加好友和群聊就可完整体验腾讯云 IM 单聊、群聊的所有功能。":"We provide a Sample Friend and a Sample Customer Service Group by default, so that you can fully try out all the features of one-to-one chat and group chat of Tencent Cloud IM without adding additional friends or groups.","随时随地":"You can log in and try out anytime and anywhere.","男":"Male","女":"Female","用户ID":"user ID","个性签名":"Status","暂未设置":"Not set","出生年月":"Birthday","编辑资料":"Edit profile","关于腾讯云IM":"About Tencent Cloud IM","退出登录":"Log out","隐私条例":"Privacy Policy","用户协议":"User Agreement","免责声明":"Disclaimers","联系我们":"Contact us","注销账户":"Cancel account","SDK版本":"SDK version","注销后,您将无法使用当前账号,相关数据也将删除无法找回。 当前账号":"Instant Messaging (IM) is a test product provided by Tencent Cloud, and Tencent Cloud enjoys its copyright and ownership. It is for trying out features, but not for commercial use. To follow regulatory requirements of the authority, audio and video-based interactions performed via IM will be recorded and archived throughout the whole process. It is strictly prohibited to disseminate via IM any pornographic, abusive, violent, political and other noncompliant content.","IM-免责声明":"Im - Disclaimer","IM(“本产品”)是由腾讯云提供的一款测试产品,腾讯云享有本产品的著作权和所有权。本产品仅用于功能体验,不得用于任何商业用途。依据相关部门监管要求,严禁在使用中有任何色情、辱骂、暴恐、涉政等违法内容传播。":"Instant Messaging (IM) is a demo product provided by Tencent Cloud, and Tencent Cloud retains its copyright and ownership. This product is for trying out features, but not for commercial use. To follow regulatory requirements of the authority, audio and video-based interactions performed via IM will be recorded and archived throughout the whole process. It is strictly prohibited to disseminate any pornographic, abusive, violent, sensitive and other noncompliant content.","同意":"Agree","取消":"Cancel","注销":"Cancel","关闭":"close","开启":"open","关于腾讯云·通信":"About Tencent Cloud IM","消息":"message","通讯录":"contact","个人中心":"Profile","已读回执":"Read receipt","消息阅读状态":"Message read status","关闭阅读状态":"If disabled, the message read status is hidden for all your messages and for all the messages sent by memebers in a chat.","开启阅读状态":"If enabled, the message read status is displayed for all your messages and for all the messages sent by memebers in a chat.","显示在线状态":"Display online status","开启在线状态":"If enabled, the users\' online status will displayed in your session and contact list.","关闭在线状态":"If disabled, the users\' online status will not displayed in your session and contact list.","消息通知":"Message Notification"}')},f7e2:function(e,t,n){},fcd0:function(e,t,n){"use strict";n.d(t,"b",(function(){return rf})),n.d(t,"a",(function(){return Wv}));var o=n("4573"),a=n.n(o),i=n("fa81"),s=n.n(i),r=n("14b1"),l=n.n(r),c=n("2fa7"),d=(n("14d9"),n("78b2")),u=n.n(d),p=n("e76e"),m=n.n(p),h=n("5b1a"),v=n.n(h),f=n("3818"),g=n.n(f),b=n("2b0b"),O=n.n(b),y=n("e4f0"),j=n.n(y),k=n("fc56"),I=n.n(k),w=n("4c43"),E=n.n(w),C=n("3393"),T=n.n(C),S=n("65b8"),_=n.n(S),D=n("c193");class N{destroyed(){}updateStore(e,t){}}var U=n("259d");class B extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIChat",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){m()(this.currentStore,e),e.conversation.conversationID?e.conversation.conversationID&&e.conversation.conversationID!==t.conversation.conversationID&&this.render(e.conversation):this.currentStore.messageList=[]}render(e){const t=15;if(this.currentStore.isFirstRender=!0,this.currentStore.messageList=[],this.currentStore.readSet.clear(),this.getMessageList({conversationID:e.conversationID,count:t}),e.type===this.TUICore.TIM.TYPES.CONV_GROUP){var n;this.currentStore.userInfo.isGroup=!0;const t={groupID:e.groupProfile.groupID,userIDList:[e.groupProfile.selfInfo.userID]};this.getGroupProfile({groupID:e.groupProfile.groupID}),this.getGroupMemberProfile(t).then(e=>{const{memberList:t}=e.data,[n]=t;this.currentStore.selfInfo=n}),null===this||void 0===this||null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIGroup)||void 0===n||n.getGroupMemberList({groupID:e.groupProfile.groupID,count:100,offset:0}).then(e=>{var t;this.currentStore.allMemberList=null===(t=e.data)||void 0===t?void 0:t.memberList})}else this.currentStore.userInfo.isGroup=!1,this.currentStore.userInfo.list=[null===e||void 0===e?void 0:e.userProfile]}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_RECEIVED,this.handleMessageReceived,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_MODIFIED,this.handleMessageModified,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_REVOKED,this.handleMessageRevoked,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_READ_BY_PEER,this.handleMessageReadByPeer,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_READ_RECEIPT_RECEIVED,this.handleMessageReadReceiptReceived,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_RECEIVED,this.handleMessageReceived),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_MODIFIED,this.handleMessageModified),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_REVOKED,this.handleMessageRevoked),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_READ_BY_PEER,this.handleMessageReadByPeer),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_READ_RECEIPT_RECEIVED,this.handleMessageReadReceiptReceived)}handleMessageReceived(e){var t;null===e||void 0===e||null===(t=e.data)||void 0===t||a()(t).call(t,e=>{var t;(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t?void 0:t.conversationID)&&(this.currentStore.messageList=[...this.currentStore.messageList,e]),D["c"].getInstance().notify(e)})}handleMessageModified(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageRevoked(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageReadByPeer(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleGroupListUpdated(e){var t;null===e||void 0===e||l()(t=e.data).call(t,e=>{var t;return(null===e||void 0===e?void 0:e.groupID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.groupID)&&(this.store.conversation.groupProfile=e,this.currentStore.conversation={},this.currentStore.conversation=this.store.conversation),e})}handleMessageReadReceiptReceived(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageOptions(e,t,n,o){var a,i,s,r;const l={to:"",conversationType:(null===o||void 0===o?void 0:o.type)||this.store.conversation.type,payload:e,needReadReceipt:this.currentStore.needReadReceipt};switch(this.currentStore.needTyping&&(l.cloudCustomData={messageFeature:{needTyping:1,version:1}},l.cloudCustomData=v()(l.cloudCustomData)),"file"===t&&n&&(l.onProgress=n),l.conversationType){case this.TUICore.TIM.TYPES.CONV_C2C:l.to=(null===o||void 0===o||null===(a=o.userProfile)||void 0===a?void 0:a.userID)||(null===(i=this.store.conversation)||void 0===i||null===(i=i.userProfile)||void 0===i?void 0:i.userID)||"";break;case this.TUICore.TIM.TYPES.CONV_GROUP:l.to=(null===o||void 0===o||null===(s=o.groupProfile)||void 0===s?void 0:s.groupID)||(null===(r=this.store.conversation)||void 0===r||null===(r=r.groupProfile)||void 0===r?void 0:r.groupID)||"";break;default:break}return l}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIChat",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}handlePromiseCallbackRetry(e,t=[],n=function(){return!1}){return new g.a((o,a)=>{let i=0;function s(){i++,e().then(o).catch(e=>{i>t.length||n&&n(e)?a(e):O()(s,t[i-1])})}s()})}handleUploadProgress(e,t){var n;l()(n=this.currentStore.messageList).call(n,n=>(n.ID===t.ID&&(n.progress=e),n))}sendFaceMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"face"),a=this.TUICore.tim.createFaceMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendImageMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createImageMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendVideoMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createVideoMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendFileMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createFileMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendCustomMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;e.data=v()(e.data);const n=this.handleMessageOptions(e,"custom"),a=this.TUICore.tim.createCustomMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendLocationMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=this.handleMessageOptions(e,"location"),o=this.TUICore.tim.createLocationMessage(n);this.currentStore.messageList.push(o);const a=await this.TUICore.tim.sendMessage(o);t(a)}catch(o){n(o);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}forwardMessage(e,t){return this.handlePromiseCallback(async(n,o)=>{try{const o=this.handleMessageOptions(e,"forward",{},t),a=this.TUICore.tim.createForwardMessage(o),i=await this.TUICore.tim.sendMessage(a);this.store.conversation.conversationID===i.data.message.conversationID&&this.currentStore.messageList.push(i.data.message),n(i)}catch(a){o(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}async sendMessageReadReceipt(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.sendMessageReadReceipt(e);t(n)}catch(o){n(o)}})}async getMessageReadReceiptList(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getMessageReadReceiptList(e);t(n)}catch(o){n(o)}})}async getMessageList(e,t){return this.handlePromiseCallback(async(n,o)=>{try{const o=await this.TUICore.tim.getMessageList(e);o.data.messageList.length&&await this.getMessageReadReceiptList(o.data.messageList),this.currentStore.messageList=t?[...o.data.messageList,...this.currentStore.messageList]:o.data.messageList,this.currentStore.nextReqMessageID=o.data.nextReqMessageID,this.currentStore.isCompleted=o.data.isCompleted,n(o)}catch(a){o(a)}})}async getHistoryMessageList(){const e={conversationID:this.currentStore.conversation.conversationID,nextReqMessageID:this.currentStore.nextReqMessageID,count:15};this.currentStore.isCompleted||this.getMessageList(e,!0)}sendTextMessage(e,t){return this.handlePromiseCallback(async(n,o)=>{try{var a;const o=this.handleMessageOptions({text:e},"text");let i={};if(o.cloudCustomData)try{i=Object(U["a"])(o.cloudCustomData)}catch{i={}}const s=v()(t),r=m()(o,{cloudCustomData:s,...i}),c=this.TUICore.tim.createTextMessage(r);this.currentStore.messageList.push(c);const d=await this.TUICore.tim.sendMessage(c);this.currentStore.messageList=l()(a=this.currentStore.messageList).call(a,e=>e.ID===d.data.message.ID?d.data.message:e),n(d)}catch(i){o(i);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendTypingMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{e.data=v()(e.data);const n=this.handleMessageOptions(e,"custom"),o=this.TUICore.tim.createCustomMessage(n),a=await this.TUICore.tim.sendMessage(o,{onlineUserOnly:!0});t(a)}catch(o){n(o);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendTextAtMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"text"),a=this.TUICore.tim.createTextAtMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendMergerMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"merger"),a=this.TUICore.tim.createMergerMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}revokeMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=await this.TUICore.tim.revokeMessage(e),a=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData);null!==a&&void 0!==a&&null!==(o=a.messageReply)&&void 0!==o&&o.messageRootID&&await this.revokeReplyMessage(e),t(n)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}resendMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=await this.TUICore.tim.resendMessage(e);this.currentStore.messageList=j()(o=this.currentStore.messageList).call(o,t=>t.ID!==e.ID),this.currentStore.messageList.push(n.data.message),t(n)}catch(a){n(a)}})}deleteMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteMessage(e);t(n);const o=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=o}catch(o){n(o)}})}modifyMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.modifyMessage(e);t(n)}catch(o){const e=null===o||void 0===o?void 0:o.code,t=null===o||void 0===o?void 0:o.data;2480===e?console.warn("MODIFY_MESSAGE_ERROR","修改消息发生冲突,data.message 是最新的消息","data.message:",null===t||void 0===t?void 0:t.message):2481===e?console.warn("MODIFY_MESSAGE_ERROR","不支持修改直播群消息"):20026===e&&console.warn("MODIFY_MESSAGE_ERROR","消息不存在"),n(o)}})}replyMessage(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s,r;const o={messageAbstract:null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.text,messageSender:null===e||void 0===e?void 0:e.from,messageID:null===e||void 0===e?void 0:e.ID,messageType:null===e||void 0===e?void 0:e.type,messageTime:null===e||void 0===e?void 0:e.time,messageSequence:null===e||void 0===e?void 0:e.sequence,version:1};if(!t){var l,c;const n=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData),o=null===n||void 0===n||null===(l=n.messageReply)||void 0===l?void 0:l.messageRootID;t=await(null===this||void 0===this||null===(c=this.currentStore)||void 0===c||null===(c=c.messageList)||void 0===c?void 0:I()(c).call(c,e=>(null===e||void 0===e?void 0:e.ID)===o))||this.findMessage(o)}const u=null!==(i=t)&&void 0!==i&&i.cloudCustomData?Object(U["a"])(null===(s=t)||void 0===s?void 0:s.cloudCustomData):{messageReplies:{}};var d;if(null!==u&&void 0!==u&&null!==(r=u.messageReplies)&&void 0!==r&&r.replies)u.messageReplies.replies=[...null===u||void 0===u||null===(d=u.messageReplies)||void 0===d?void 0:d.replies,o];else u.messageReplies={replies:[o],version:1};t.cloudCustomData=v()(u);const p=this.modifyMessage(t);n(p)}catch(u){o(u)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}revokeReplyMessage(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s;if(!t){var r,l;const n=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData),o=null===n||void 0===n||null===(r=n.messageReply)||void 0===r?void 0:r.messageRootID;t=await(null===this||void 0===this||null===(l=this.currentStore)||void 0===l||null===(l=l.messageList)||void 0===l?void 0:I()(l).call(l,e=>(null===e||void 0===e?void 0:e.ID)===o))||this.findMessage(o)}const o=null!==(a=t)&&void 0!==a&&a.cloudCustomData?Object(U["a"])(null===(i=t)||void 0===i?void 0:i.cloudCustomData):{messageReplies:{}};if(null!==o&&void 0!==o&&null!==(s=o.messageReplies)&&void 0!==s&&s.replies){var c,d;const t=E()(c=o.messageReplies.replies).call(c,t=>(null===t||void 0===t?void 0:t.messageID)===(null===e||void 0===e?void 0:e.ID));null===o||void 0===o||null===(d=o.messageReplies)||void 0===d||null===(d=d.replies)||void 0===d||T()(d).call(d,t,1)}t.cloudCustomData=v()(o);const u=this.modifyMessage(t);n(u)}catch(u){o(u)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}emojiReact(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s,r,l,c,d;e&&null!==(a=e)&&void 0!==a&&a.ID&&t||o();const b=null===(i=this.TUICore)||void 0===i||null===(i=i.TUIServer)||void 0===i||null===(i=i.TUIProfile)||void 0===i||null===(i=i.store)||void 0===i||null===(i=i.profile)||void 0===i?void 0:i.userID;e=await(null===this||void 0===this||null===(s=this.currentStore)||void 0===s||null===(s=s.messageList)||void 0===s?void 0:I()(s).call(s,t=>{var n;return(null===t||void 0===t?void 0:t.ID)===(null===(n=e)||void 0===n?void 0:n.ID)}))||this.findMessage(null===(r=e)||void 0===r?void 0:r.ID);const O=null!==(l=e)&&void 0!==l&&l.cloudCustomData?Object(U["a"])(null===(c=e)||void 0===c?void 0:c.cloudCustomData):{messageReact:{}};var u;if(null!==O&&void 0!==O&&null!==(d=O.messageReact)&&void 0!==d&&d.reacts)if(null!==O&&void 0!==O&&null!==(u=O.messageReact)&&void 0!==u&&u.reacts[t]){var p;const e=null===O||void 0===O||null===(p=O.messageReact)||void 0===p||null===(p=p.reacts[t])||void 0===p?void 0:_()(p).call(p,b);var m,h,f,g;if(-1===e)null===O||void 0===O||null===(m=O.messageReact)||void 0===m||null===(m=m.reacts[t])||void 0===m||m.push(b);else if(null===O||void 0===O||null===(h=O.messageReact)||void 0===h||null===(h=h.reacts[t])||void 0===h||T()(h).call(h,e,1),0===(null===O||void 0===O||null===(f=O.messageReact)||void 0===f||null===(f=f.reacts[t])||void 0===f?void 0:f.length))null===O||void 0===O||null===(g=O.messageReact)||void 0===g||delete g.reacts[t]}else O.messageReact.reacts[t]=[b];else O.messageReact={reacts:{},version:1},O.messageReact.reacts[t]=[b];e.cloudCustomData=v()(O);const y=this.modifyMessage(e);n(y)}catch(b){o(b)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}findMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.findMessage(e);t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.currentStore.conversation.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}getGroupMemberProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberProfile(e);t(n)}catch(o){n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getFriendList();e(t)}catch(n){t(n)}})}async checkFriend(e,t){return this.handlePromiseCallback(async(n,o)=>{try{var a;const o=await this.TUICore.tim.checkFriend({userIDList:[e],type:t}),i=null===o||void 0===o||null===(a=o.data)||void 0===a||null===(a=a.successUserIDList[0])||void 0===a?void 0:a.relation;n(i)}catch(i){o(i)}})}async getGroupReadMemberList(e,t="",n=15){return this.handlePromiseCallback(async(o,a)=>{try{const a=await this.TUICore.tim.getGroupMessageReadMemberList({message:e,filter:0,cursor:t,count:n});o(a)}catch(i){a(i)}})}async getGroupUnreadMemberList(e,t="",n=15){return this.handlePromiseCallback(async(o,a)=>{try{const a=await this.TUICore.tim.getGroupMessageReadMemberList({message:e,filter:1,cursor:t,count:n});o(a)}catch(i){a(i)}})}async handleMessageSentByMeToView(e){var t;(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t?void 0:t.conversationID)&&this.currentStore.messageList.push(e)}bind(e){return this.currentStore=e}}var M=n("7a23");const x={class:"TUIChat-main",style:{"border-top":"1px solid #f2f2f2"}},V={key:0,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center"}},L={style:{padding:"0 0 5px 5px","font-size":"14px","text-align":"left"}},R={style:{color:"#333333","font-weight":"bold"}},P={style:{"margin-left":"10px",color:"#333333"}},A={style:{display:"flex"}},G={style:{padding:"8px","background-color":"#f2f2f2","border-radius":"10px"}},H=["id"],z={class:"to-bottom-tip-cont"},F={key:1,class:"dialog dialog-conversation"},$=["src"],Y={class:"name"},K=["src"],W={key:0,class:"name"},q={class:"dialog dialog-conversation"},Z={class:"func",id:"func"},J={class:"func-main",style:{display:"flex",position:"relative"}},Q={key:0,style:{"z-index":"100",position:"absolute",width:"100%",height:"100%",left:"0",top:"0",opacity:"0"}},X={style:{display:"flex","align-items":"center"}},ee={class:"mask-main"},te={key:1,class:"TUIChat"},ne={class:"TUIChat-header"};function oe(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("TypingHeader"),d=Object(M["resolveComponent"])("MessageText"),u=Object(M["resolveComponent"])("MessageImage"),p=Object(M["resolveComponent"])("MessageVideo"),m=Object(M["resolveComponent"])("MessageAudio"),h=Object(M["resolveComponent"])("MessageFile"),v=Object(M["resolveComponent"])("MessageFace"),f=Object(M["resolveComponent"])("MessageLocation"),g=Object(M["resolveComponent"])("MessageCustom"),b=Object(M["resolveComponent"])("MessageMerger"),O=Object(M["resolveComponent"])("MessageTimestamp"),y=Object(M["resolveComponent"])("MessageItem"),j=Object(M["resolveComponent"])("ReadReceiptDialog"),k=Object(M["resolveComponent"])("imagePreviewer"),I=Object(M["resolveComponent"])("MessageInput"),w=Object(M["resolveComponent"])("MessageSystem");return"chat"===e.conversationType||"0"==e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["TUIChat",[e.env.isH5?"TUIChat-H5":""]])},["0"!=e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",{key:0,class:Object(M["normalizeClass"])(["TUIChat-header",[e.env.isH5?"h5-header":""]])},[Object(M["createElementVNode"])("div",null,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.back&&e.back(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createVNode"])(c,{upTabIndex:e.upTabIndex,needTyping:e.needTyping,conversation:e.conversation,messageList:e.messageList,isDisabled:e.getDisabled(e.conversation),ref:"typingRef"},null,8,["upTabIndex","needTyping","conversation","messageList","isDisabled"]),Object(M["createElementVNode"])("aside",{class:Object(M["normalizeClass"])(["setting",[e.env.isH5?"h5-setting":""]])},["expert"!==e.hrefParams.isSpecialized||!e.getDisabled(e.conversation)||null!==(s=e.conversation)&&void 0!==s&&s.isEnd?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,style:{color:"#147aff",cursor:"pointer","font-size":"15px","margin-right":"5px"},class:Object(M["normalizeClass"])([e.env.isH5?"h5-span":""]),onClick:t[1]||(t[1]=t=>e.endConsult(e.conversation))}," 结束咨询 ",2))],2)],2)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",x,[Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("ul",{class:"TUI-message-list",onClick:t[5]||(t[5]=t=>e.dialogID=""),ref:"messageEle",id:"messageEle"},[e.isCompleted||"0"==e.hrefParams.getMessageList?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:0,class:"message-more",onClick:t[3]||(t[3]=(...t)=>e.getHistoryMessageList&&e.getHistoryMessageList(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.查看更多")),1)),"0"==e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:1},[0===e.messagesNew.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",V,Object(M["toDisplayString"])(e.messagesIsNull),1)):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messagesNew,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n},[Object(M["createElementVNode"])("div",L,[Object(M["createElementVNode"])("span",R,Object(M["toDisplayString"])(t.fromAccountName),1),Object(M["createElementVNode"])("span",P,Object(M["toDisplayString"])(t.sendtime),1)]),Object(M["createElementVNode"])("div",A,[Object(M["createElementVNode"])("div",G,[t.contenttype===e.types.MSG_TEXT?(Object(M["openBlock"])(),Object(M["createBlock"])(d,{key:0,data:e.handleTextMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createBlock"])(u,{key:1,isH5:e.env.isH5,data:e.handleImageMessageShowContext(t),onUploading:e.handleUploadingImageOrVideo,onPreviewImage:e.previewImage},null,8,["isH5","data","onUploading","onPreviewImage"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createBlock"])(p,{key:2,isH5:e.env.isH5,data:e.handleVideoMessageShowContext(t),onUploading:e.uploading},null,8,["isH5","data","onUploading"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createBlock"])(m,{key:3,data:e.handleAudioMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_FILE?(Object(M["openBlock"])(),Object(M["createBlock"])(h,{key:4,data:e.handleFileMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_FACE?(Object(M["openBlock"])(),Object(M["createBlock"])(v,{key:5,data:e.handleFaceMessageShowContext(t),isH5:e.env.isH5},null,8,["data","isH5"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_LOCATION?(Object(M["openBlock"])(),Object(M["createBlock"])(f,{key:6,data:e.handleLocationMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(g,{key:7,data:e.handleCustomMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_MERGER?(Object(M["openBlock"])(),Object(M["createBlock"])(b,{key:8,data:e.handleMergerMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0)])])]))),128))],64)):(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],{key:2},Object(M["renderList"])(e.messages,(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n,id:null===t||void 0===t?void 0:t.ID,ref_for:!0,ref:"messageAimID"},[Object(M["createVNode"])(O,{currTime:null===t||void 0===t?void 0:t.time,prevTime:n>0?null===(o=e.messages[n-1])||void 0===o?void 0:o.time:0},null,8,["currTime","prevTime"]),Object(M["createVNode"])(y,{message:e.getSrc(t),env:e.env,types:e.types,displayGroupMessageReadReceipt:e.needGroupReceipt,displayEmojiReactions:e.isNeedEmojiReact,messageList:e.messages,onHandleEditor:e.handleEditor,onShowDialog:e.showDialog,onUploading:e.handleUploadingImageOrVideo,onJumpID:e.jumpID,onResendMessage:e.resendMessage},null,8,["message","env","types","displayGroupMessageReadReceipt","displayEmojiReactions","messageList","onHandleEditor","onShowDialog","onUploading","onJumpID","onResendMessage"])],8,H)}),128)),e.needToBottom?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:3,class:"to-bottom-tip",onClick:t[4]||(t[4]=t=>e.scrollToTarget("bottom"))},[t[12]||(t[12]=Object(M["createElementVNode"])("i",{class:"icon icon-bottom-double"},null,-1)),Object(M["createElementVNode"])("div",z,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.toBottomTipCont),1)])])):Object(M["createCommentVNode"])("",!0)],512),e.forwardStatus&&e.messageComponents.Forward?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",F,[(Object(M["openBlock"])(),Object(M["createBlock"])(Object(M["resolveDynamicComponent"])("Forward"),{list:e.conversationData.list,message:e.currentMessage,show:e.forwardStatus,isH5:e.env.isH5,"onUpdate:show":t[6]||(t[6]=t=>e.forwardStatus=t)},{left:Object(M["withCtx"])(({data:t})=>[Object(M["createElementVNode"])("img",{class:"avatar",src:e.conversationData.handleAvatar(t),alt:""},null,8,$),Object(M["createElementVNode"])("label",Y,Object(M["toDisplayString"])(e.conversationData.handleName(t)),1)]),right:Object(M["withCtx"])(({data:t})=>[Object(M["createElementVNode"])("img",{class:"avatar",src:e.conversationData.handleAvatar(t),alt:""},null,8,K),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",W,Object(M["toDisplayString"])(e.conversationData.handleName(t)),1))]),_:1},40,["list","message","show","isH5"]))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",q,[Object(M["createVNode"])(j,{message:e.currentMessage,conversation:e.conversation,show:e.receiptDialogStatus,isH5:e.env.isH5,onCloseDialog:e.closeDialog,ref:"readReceiptDialog"},null,8,["message","conversation","show","isH5","onCloseDialog"])]),e.showImagePreview?(Object(M["openBlock"])(),Object(M["createBlock"])(k,{key:2,currentImage:e.currentImagePreview,imageList:"0"==e.hrefParams.getMessageList?e.imageListNew:e.imageList,onClose:t[7]||(t[7]=t=>e.showImagePreview=!1)},null,8,["currentImage","imageList"])):Object(M["createCommentVNode"])("",!0)]),("expert"!==e.hrefParams.isSpecialized&&e.getDisabled(e.conversation)||"expert"===e.hrefParams.isSpecialized&&e.getDisabled(e.conversation)&&(null===(r=e.conversation)||void 0===r||!r.isEnd))&&"0"!=e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:Object(M["normalizeClass"])(["TUIChat-footer",[e.isMute&&"disabled",e.env.isH5&&"TUIChat-H5-footer"]])},[Object(M["createElementVNode"])("div",Z,[Object(M["createElementVNode"])("main",J,[e.getDisabled(e.conversation)?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Q)),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.pluginComponentList,(t,n)=>(Object(M["openBlock"])(),Object(M["createBlock"])(Object(M["resolveDynamicComponent"])(t),{key:n,isMute:e.isMute,isH5:e.env.isH5,conversation:e.conversation,parentID:"func",onSend:e.handleSend},null,40,["isMute","isH5","conversation","onSend"]))),128)),Object(M["createElementVNode"])("div",X,["false"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,onClick:t[8]||(t[8]=t=>e.forHelpDetail(e.conversation)),style:{margin:"4px 0 0 10px",cursor:"pointer",color:"#0093fe","z-index":"100"}}," 应急详情 ")):Object(M["createCommentVNode"])("",!0)])])]),Object(M["createVNode"])(I,{ref:"messageInput",isDisabled:e.getDisabled(e.conversation),conversation:e.conversation,memberList:e.allMemberList,env:e.env,isGroup:null===(l=e.userInfo)||void 0===l?void 0:l.isGroup,replyOrReference:e.reference,isMute:!1,muteText:e.muteText,placeholder:e.$t("TUIChat.请输入消息"),onSendMessage:e.reportMessageSend,onResetReplyOrReference:e.resetReplyOrReference,onOnTyping:e.handleTyping},null,8,["isDisabled","conversation","memberList","env","isGroup","replyOrReference","muteText","placeholder","onSendMessage","onResetReplyOrReference","onOnTyping"])],2)):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"mask",onClick:t[11]||(t[11]=t=>e.showResend=!1)},[Object(M["createElementVNode"])("div",ee,[Object(M["createElementVNode"])("header",null,Object(M["toDisplayString"])(e.$t("TUIChat.确认重发该消息?")),1),Object(M["createElementVNode"])("footer",null,[Object(M["createElementVNode"])("p",{onClick:t[9]||(t[9]=t=>e.showResend=!1)},Object(M["toDisplayString"])(e.$t("TUIChat.取消")),1),t[13]||(t[13]=Object(M["createElementVNode"])("i",null,null,-1)),Object(M["createElementVNode"])("p",{onClick:t[10]||(t[10]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.确定")),1)])])],512),[[M["vShow"],e.showResend]])],2)):"system"===e.conversationType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",te,[Object(M["createElementVNode"])("header",ne,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.conversationName),1)]),Object(M["createVNode"])(w,{data:e.messages,types:e.types,onApplication:e.handleApplication},null,8,["data","types","onApplication"])])):e.slotDefault?Object(M["renderSlot"])(e.$slots,"default",{key:2},void 0,!0):Object(M["createCommentVNode"])("",!0)}var ae=n("045d"),ie=n.n(ae),se=n("9a73"),re=n.n(se);const le={key:0,class:"text-box"},ce=["src"];function de(e,t,n,o,a,i){return Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.data.text,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:t},["text"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",le,Object(M["toDisplayString"])(e.text),1)):"img"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"text-img",src:e.src},null,8,ce)):Object(M["createCommentVNode"])("",!0)],64))),128)}var ue=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}}),pe=(n("05da"),n("6b0d")),me=n.n(pe);const he=me()(ue,[["render",de],["__scopeId","data-v-06e49808"]]);var ve=he,fe=n("622e"),ge=n.n(fe),be=n("e435"),Oe=n.n(be);const ye=["src","width","height"],je={key:0,class:"progress"},ke=["value"],Ie={key:0},we=["src"],Ee={key:0,class:"dialog-box-h5-footer"};function Ce(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"message-image",onClick:t[6]||(t[6]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"])),ref:"skeleton"},[Object(M["createElementVNode"])("img",{class:"message-img",src:-1===_()(s=e.data.url).call(s,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,width:e.data.width,height:e.data.height,style:Object(M["normalizeStyle"])(e.isH5?{maxWidth:e.data.width?e.data.width+"px":"calc(100vw - 180px)",maxHeight:e.data.height?e.data.height+"px":"calc(100vw - 180px)"}:{}),alt:""},null,12,ye),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",je,[Object(M["createElementVNode"])("progress",{value:e.data.progress,max:"1"},null,8,ke)])):Object(M["createCommentVNode"])("",!0),e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"dialog",onClick:t[5]||(t[5]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Ie,[Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))})])),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog-box",[e.isH5?"dialog-box-h5":""]]),onClick:t[4]||(t[4]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("img",{class:Object(M["normalizeClass"])([e.isWidth?"isWidth":"isHeight"]),src:e.data.message.payload.imageInfoArray[0].url,onClick:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},null,10,we),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ee,[Object(M["createElementVNode"])("p",{onClick:t[2]||(t[2]=(...t)=>e.toggleShow&&e.toggleShow(...t))},t[7]||(t[7]=[Object(M["createElementVNode"])("img",{src:ge.a},null,-1)])),Object(M["createElementVNode"])("p",{onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.downloadImage(e.data.message),["stop"]))},t[8]||(t[8]=[Object(M["createElementVNode"])("img",{src:Oe.a},null,-1)]))])):Object(M["createCommentVNode"])("",!0)],2)])):Object(M["createCommentVNode"])("",!0)],512)}var Te=n("05f2"),Se=n.n(Te),_e=n("48d5"),De=Object(M["defineComponent"])({methods:{},props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},emits:["uploading","previewImage"],setup(e,t){const n=Object(M["reactive"])({data:{progress:0},show:!1}),o=Object(M["ref"])(),a=Object(M["computed"])(()=>{var e;const{width:t=0,height:o=0}=null===(e=n.data)||void 0===e||null===(e=e.message)||void 0===e||null===(e=e.payload)||void 0===e?void 0:e.imageInfoArray[0];return t>=o});Object(M["watchEffect"])(()=>{n.data=e.data,n.data&&Object(M["nextTick"])(()=>{if(n.data.progress)t.emit("uploading");else{var a,i,s;const{width:t=0,height:r=0}=n.data;if(0===t||0===r)return;const l=(null===(a=document.getElementById("app"))||void 0===a?void 0:a.clientWidth)||0,c=e.isH5?Math.min(l-180,300):300,d=Object(U["q"])(t,r,c,c);(null===o||void 0===o||null===(i=o.value)||void 0===i?void 0:i.style)&&(o.value.style.width=d.width+"px"),(null===o||void 0===o||null===(s=o.value)||void 0===s?void 0:s.style)&&(o.value.style.height=d.height+"px")}})});const i=()=>{n.data.progress||t.emit("previewImage",n.data.message)},s=e=>{const t=document.createElement("a"),n=e.payload.imageInfoArray[0].instanceID;t.setAttribute("download",n);const o=new Image;o.src=e.payload.imageInfoArray[0].url,o.setAttribute("crossOrigin","Anonymous"),o.onload=()=>{t.href=r(o),t.click()}},r=e=>{var t;const n=document.createElement("canvas");n.width=e.width,n.height=e.height;const o=n.getContext("2d");null===o||void 0===o||o.drawImage(e,0,0,e.width,e.height);const a=e.src.substring(Se()(t=e.src).call(t,".")+1).toLowerCase();return n.toDataURL("image/"+a,1)};return{...Object(M["toRefs"])(n),toggleShow:i,skeleton:o,isWidth:a,downloadImage:s,hrefParams:_e["a"]}}});n("aa66");const Ne=me()(De,[["render",Ce],["__scopeId","data-v-24e80348"]]);var Ue=Ne;const Be={class:"message-video"},Me=["src"],xe=["src","poster"],Ve=["src","poster"],Le={key:3,class:"progress"},Re=["value"],Pe=["src"];function Ae(e,t,n,o,a,i){var s,r,l;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Be,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["message-video-box",[!e.data.progress&&"success"===e.data.message.status&&e.isH5&&"message-video-cover"]]),onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t)),ref:"skeleton"},[e.data.progress&&e.poster||e.isH5&&e.poster?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:Object(M["normalizeClass"])(["message-img",[e.isWidth?"isWidth":"isHeight"]]),src:e.poster},null,10,Me)):e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("video",{key:1,class:"message-img video-h5-uploading",src:-1===_()(s=e.data.url).call(s,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url+"#t=0.1",poster:-1===_()(r=e.data.url).call(r,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,preload:"auto",muted:"",ref:"video"},null,8,xe)):e.data.progress||e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("video",{key:2,class:"message-img video-web",src:-1===_()(l=e.data.url).call(l,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,controls:"",preload:"metadata",poster:e.poster,ref:"video"},null,8,Ve)),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Le,[Object(M["createElementVNode"])("progress",{value:e.data.progress,max:"1"},null,8,Re)])):Object(M["createCommentVNode"])("",!0)],2),e.show&&e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"dialog-video",onClick:t[3]||(t[3]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))})]),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog-video-box",[e.isH5?"dialog-video-h5":""]]),onClick:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("video",{class:Object(M["normalizeClass"])([e.isWidth?"isWidth":"isHeight"]),src:e.data.url,controls:"",autoplay:""},null,10,Pe)],2)])):Object(M["createCommentVNode"])("",!0)])}var Ge=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({data:{},show:!1,poster:"",posterWidth:0,posterHeight:0}),o=Object(M["ref"])(),a=Object(M["ref"])(),i=Object(M["computed"])(()=>{var e;const{snapshotWidth:t=0,snapshotHeight:o=0}=null===(e=n.data)||void 0===e||null===(e=e.message)||void 0===e?void 0:e.payload;return t>=o}),s="https://web.sdk.qcloud.com/im/assets/images/transparent.png",r=()=>{n.data.progress||(n.show=!n.show)},l=e=>new g.a((function(t,o){let a="",i=document.createElement("video");i.setAttribute("crossOrigin","anonymous"),i.setAttribute("src",e),i.setAttribute("preload","auto"),i.addEventListener("loadeddata",(function(){let e=document.createElement("canvas"),o=i.videoWidth,s=i.videoHeight;e.width=o,e.height=s,e.getContext("2d").drawImage(i,0,0,o,s),a=e.toDataURL("image/jpeg"),n.posterWidth=o,n.posterHeight=s,t(a)}),{once:!0})})),c=async e=>{return e?e.progress?await l(e.url):e.snapshotUrl!==s&&e.snapshotUrl||(null===e||void 0===e||null===(t=e.message)||void 0===t||null===(t=t.payload)||void 0===t?void 0:t.snapshotUrl)!==s&&(null===e||void 0===e||null===(n=e.message)||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.snapshotUrl)||(null===e||void 0===e||null===(o=e.message)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.thumbUrl)!==s&&(null===e||void 0===e||null===(a=e.message)||void 0===a||null===(a=a.payload)||void 0===a?void 0:a.thumbUrl)||await l(e.url):"";var t,n,o,a};return Object(M["watchEffect"])(async()=>{n.data=e.data,n.data&&(n.poster=await c(n.data),Object(M["nextTick"])(async()=>{var i;const r=(null===(i=document.getElementById("messageEle"))||void 0===i?void 0:i.clientWidth)||0,l=e.isH5?Math.min(r-172,300):300;let c;if(n.data.progress)t.emit("uploading");else{var d,u;let{snapshotWidth:t=0,snapshotHeight:i=0,snapshotUrl:r}=n.data;if(0===t||0===i)return;var p,m;if(r===s&&(t=n.posterWidth,i=n.posterHeight),c=Object(U["q"])(t,i,l,l),(null===o||void 0===o||null===(d=o.value)||void 0===d?void 0:d.style)&&(o.value.style.width=c.width+"px"),(null===o||void 0===o||null===(u=o.value)||void 0===u?void 0:u.style)&&(o.value.style.height=c.height+"px"),!e.isH5)(null===a||void 0===a||null===(p=a.value)||void 0===p?void 0:p.style)&&(a.value.style.width=c.width+"px"),(null===a||void 0===a||null===(m=a.value)||void 0===m?void 0:m.style)&&(a.value.style.height=c.height+"px")}}))}),Object(M["watch"])(()=>{var e;return null===(e=n.data)||void 0===e?void 0:e.progress},(e,n)=>{!e&&n&&t.emit("uploading")}),{...Object(M["toRefs"])(n),toggleShow:r,isWidth:i,getVideoBase64:l,handlePosterUrl:c,skeleton:o,video:a,hrefParams:_e["a"]}}});n("2929");const He=me()(Ge,[["render",Ae],["__scopeId","data-v-71441a3b"]]);var ze=He;const Fe=["src"];function $e(e,t,n,o,a,i){var s,r;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-audio",["out"===e.data.message.flow&&"reserve"]]),onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.play&&e.play(...t),["stop"])),style:Object(M["normalizeStyle"])(`width: ${10*(null===(s=e.data)||void 0===s?void 0:s.second)+40}px`)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-voice",["out"===e.data.message.flow&&"icon-reserve"]])},null,2),Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.data.second)+"s",1),Object(M["createElementVNode"])("audio",{ref:"audio",src:-1===_()(r=e.data.url).call(r,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url},null,8,Fe)],6)}var Ye=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{},show:!1}),o=Object(M["ref"])(null);Object(M["watch"])(()=>e.data,()=>{n.data=e.data},{deep:!0,immediate:!0});const a=()=>{const e=document.getElementsByTagName("audio");for(const n of e)n.paused||(n.pause(),n.load());const t=o.value;t.paused?(t.play(),n.show=!0):(t.pause(),t.load(),n.show=!1)};return{...Object(M["toRefs"])(n),audio:o,play:a,hrefParams:_e["a"]}}});n("736b");const Ke=me()(Ye,[["render",$e],["__scopeId","data-v-3b58416c"]]);var We=Ke;const qe={class:"message-file"},Ze=["title"],Je={class:"message-file-content"},Qe=["value"];function Xe(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",qe,[Object(M["createElementVNode"])("div",{class:"box",onClick:t[0]||(t[0]=(...t)=>e.download&&e.download(...t)),title:e.$t("TUIChat.单击下载")},[t[1]||(t[1]=Object(M["createElementVNode"])("i",{class:"icon icon-files"},null,-1)),Object(M["createElementVNode"])("div",Je,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.data.name),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.data.size),1)])],8,Ze),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("progress",{key:0,value:e.data.progress,max:"1"},null,8,Qe)):Object(M["createCommentVNode"])("",!0)])}var et=n("47c7"),tt=n.n(et),nt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});Object(M["watchEffect"])(()=>{n.data=e.data});const o=()=>{const e=n.data,t={mode:"cors",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"})};if(window.fetch)fetch(e.url,t).then(e=>e.blob()).then(t=>{const n=document.createElement("a"),o=tt.a.createObjectURL(t);n.href=o,n.download=e.name,n.click()});else{const t=document.createElement("a");t.href=e.url,t.target="_blank",t.download=e.name,t.click()}};return{...Object(M["toRefs"])(n),download:o}}});n("7c02");const ot=me()(nt,[["render",Xe],["__scopeId","data-v-3f9a76df"]]);var at=ot;const it={class:"message-image",ref:"skeleton"},st=["src"];function rt(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",it,[Object(M["createElementVNode"])("img",{class:"message-img",src:e.data.url,style:Object(M["normalizeStyle"])(e.isH5?{maxWidth:e.data.width?e.data.width+"px":"calc(100vw - 180px)",maxHeight:e.data.height?e.data.height+"px":"calc(100vw - 180px)"}:{})},null,12,st)],512)}var lt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({data:{}}),o=Object(M["ref"])();return Object(M["watchEffect"])(()=>{n.data=e.data,n.data&&Object(M["nextTick"])(()=>{var t,n,a;const i=(null===(t=document.getElementById("messageEle"))||void 0===t?void 0:t.clientWidth)||0,s=e.isH5?Math.min(i-172,300):300,r=Object(U["q"])(240,240,s,s);(null===o||void 0===o||null===(n=o.value)||void 0===n?void 0:n.style)&&(o.value.style.width=r.width+"px"),(null===o||void 0===o||null===(a=o.value)||void 0===a?void 0:a.style)&&(o.value.style.height=r.height+"px")})}),{...Object(M["toRefs"])(n),skeleton:o}}});n("e5cf");const ct=me()(lt,[["render",rt],["__scopeId","data-v-ec7124a2"]]);var dt=ct;const ut=["href"],pt={class:"el-icon-location-outline"},mt=["src"];function ht(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{class:"message-location",href:e.data.href,target:"_blank",title:"点击查看详情"},[Object(M["createElementVNode"])("span",pt,Object(M["toDisplayString"])(e.data.description),1),Object(M["createElementVNode"])("img",{src:e.data.url},null,8,mt)],8,ut)}var vt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}});n("e157");const ft=me()(vt,[["render",ht],["__scopeId","data-v-2ee98c02"]]);var gt=ft;const bt={class:"message-merger"},Ot=["data-value"],yt={class:"merger-title"};function jt(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",bt,[Object(M["createElementVNode"])("div",{class:"merger-box","data-value":e.data.message},[Object(M["createElementVNode"])("p",yt,Object(M["toDisplayString"])(e.data.title),1),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.data.abstractList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{class:"merger-text",key:t},Object(M["toDisplayString"])(e),1))),128))],8,Ot),t[0]||(t[0]=Object(M["createElementVNode"])("span",{class:"merger-label"}," 聊天记录",-1))])}var kt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}});n("1182");const It=me()(kt,[["render",jt],["__scopeId","data-v-a9c3fbce"]]);var wt=It,Et=n("34bb"),Ct=n.n(Et);const Tt={class:"custom"},St={key:0},_t=["href"],Dt={key:0},Nt=["href"],Ut={key:1},Bt={key:1,class:"evaluate"},Mt=["src"],xt={key:3,class:"textLink"},Vt=["href"],Lt={key:5,style:{display:"flex"}},Rt={style:{height:"25px","line-height":"25px"}},Pt={style:{color:"#7d7d7dff","font-size":"12px","margin-bottom":"5px"}},At={style:{display:"flex","flex-wrap":"wrap"}},Gt=["src"],Ht={key:6,class:"business-type",style:{cursor:"pointer"}},zt={style:{"padding-left":"10px",height:"25px","line-height":"25px"}},Ft={style:{"padding-left":"10px",height:"25px",color:"#7d7d7dff","font-size":"12px"}},$t={key:7,class:"business-type",style:{cursor:"pointer"}},Yt={style:{"padding-left":"10px",height:"25px","line-height":"25px"}},Kt=["src"],Wt={style:{"padding-left":"10px",height:"25px",color:"#7d7d7dff","font-size":"12px"}},qt={key:8,style:{cursor:"pointer","min-width":"180px"}},Zt={class:"business-type"},Jt={style:{"padding-left":"10px",height:"30px","line-height":"35px"}},Qt={style:{color:"#7d7d7dff","font-size":"14px"}},Xt={style:{"padding-left":"10px",height:"30px",color:"#7d7d7dff","font-size":"12px"}},en=["innerHTML"];function tn(e,t,n,o,a,i){var r,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C,T,S,D,N,U,B,x;const V=Object(M["resolveComponent"])("el-image"),L=Object(M["resolveComponent"])("el-input"),R=Object(M["resolveComponent"])("el-form-item"),P=Object(M["resolveComponent"])("el-form"),A=Object(M["resolveComponent"])("el-dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Tt,[e.isCustom===e.constant.typeService?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",St,[Object(M["createElementVNode"])("h1",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.extension.title),1),e.extension.hyperlinks_text?(Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{key:0,href:e.extension.hyperlinks_text.value,target:"view_window"},Object(M["toDisplayString"])(e.extension.hyperlinks_text.key),9,_t)):Object(M["createCommentVNode"])("",!0)]),e.extension.item&&e.extension.item.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Dt,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.extension.item,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n},[e.isUrl(t.value)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{key:0,href:t.value,target:"view_window"},Object(M["toDisplayString"])(t.key),9,Nt)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",Ut,Object(M["toDisplayString"])(t.key),1))]))),128))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.extension.description),1)])):e.isCustom.businessID===e.constant.typeEvaluate?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Bt,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("message.custom.对本次服务评价")),1),Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(~~e.isCustom.score,(e,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"evaluate-list-item",key:n},t[10]||(t[10]=[Object(M["createElementVNode"])("i",{class:"icon icon-star-light"},null,-1)])))),128))]),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.isCustom.comment),1)])):e.isCustom.businessID===e.constant.typeOrder?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:2,class:"order",onClick:t[0]||(t[0]=t=>e.openLink(e.isCustom.link))},[Object(M["createElementVNode"])("img",{src:e.isCustom.imageUrl,alt:""},null,8,Mt),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.isCustom.title),1),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.isCustom.description),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.isCustom.price),1)])])):e.isCustom.businessID===e.constant.typeTextLink?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",xt,[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.isCustom.text),1),Object(M["createElementVNode"])("a",{href:e.isCustom.link,target:"view_window"},Object(M["toDisplayString"])(e.$t("message.custom.查看详情>>")),9,Vt)])):e.isCustom.businessID===e.constant.TYPE_CALL_MESSAGE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:4,class:Object(M["normalizeClass"])(["call","call-"+(null===(r=e.data)||void 0===r||null===(r=r.message)||void 0===r?void 0:r.conversationType)]),onClick:t[1]||(t[1]=(...t)=>e.handleCallAgain&&e.handleCallAgain(...t))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",e.handleCallMessageIcon()])},null,2),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.data.custom.substring(0,_()(c=e.data.custom).call(c,'"'))+e.data.custom.substring(Se()(d=e.data.custom).call(d,'"')+1,e.data.custom.length)),1)],2)):e.isCustom.businessID===e.constant.typeArchives?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Lt,[Object(M["createElementVNode"])("div",{class:"img-list",style:{cursor:"pointer"},onClick:t[2]||(t[2]=(...t)=>e.showDialog&&e.showDialog(...t))},[Object(M["createElementVNode"])("div",Rt,Object(M["toDisplayString"])((null===(u=e.isCustom)||void 0===u?void 0:u.name)+" "+(null===(p=e.isCustom)||void 0===p?void 0:p.gender)+" 丨 "+(null===(m=e.isCustom)||void 0===m?void 0:m.age)),1),Object(M["createElementVNode"])("div",Pt,Object(M["toDisplayString"])("病症描述:"+(null===(h=e.isCustom)||void 0===h?void 0:h.symptomDescription)),1),Object(M["createElementVNode"])("div",At,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(v=e.isCustom)||void 0===v?void 0:v.imageList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{padding:"0 5px 5px"},key:"imageList"+t},[Object(M["createElementVNode"])("img",{src:e.bigImageUrl,alt:""},null,8,Gt)]))),128))])])])):e.isCustom.businessID===e.constant.typeMedicalExaminationReport?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ht,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",zt,Object(M["toDisplayString"])((null===(f=e.isCustom)||void 0===f?void 0:f.name)+"-"+((null===(g=e.isCustom)||void 0===g?void 0:g.gender)||(null===(b=e.isCustom)||void 0===b?void 0:b.sex))+"-"+(null===(O=e.isCustom)||void 0===O?void 0:O.age)),1),Object(M["createElementVNode"])("div",Ft,Object(M["toDisplayString"])((null===(y=e.isCustom)||void 0===y?void 0:y.hospital)+"-"+(null===(j=e.isCustom)||void 0===j?void 0:j.createTime)),1)])])):e.isCustom.businessID===e.constant.typeSystem?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",$t,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",Yt,Object(M["toDisplayString"])(null===(k=e.isCustom)||void 0===k?void 0:k.title),1),null!==(I=e.isCustom)&&void 0!==I&&I.messageImageUrl?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,src:null===(w=e.isCustom)||void 0===w?void 0:w.messageImageUrl,alt:"",style:{margin:"5px 10px"}},null,8,Kt)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",Wt,Object(M["toDisplayString"])(null===(E=e.isCustom)||void 0===E?void 0:E.content),1)])])):e.isCustom.businessID===e.constant.typeBusinessCard?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",qt,[Object(M["createElementVNode"])("div",Zt,[Object(M["createElementVNode"])("div",null,[Object(M["createVNode"])(V,{style:{width:"60px",height:"60px","border-radius":"10px"},src:null===(C=e.isCustom)||void 0===C?void 0:C.doctorHeadImg},{error:Object(M["withCtx"])(()=>t[11]||(t[11]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{style:{width:"60px",height:"60px","border-radius":"10px"},src:Ct.a,alt:""})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",Jt,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(""+(null===(T=e.isCustom)||void 0===T?void 0:T.doctorName))+" ( ",1),Object(M["createElementVNode"])("span",Qt,Object(M["toDisplayString"])(""+(null===(S=e.isCustom)||void 0===S?void 0:S.doctorTitle)),1),t[12]||(t[12]=Object(M["createTextVNode"])(" ) "))]),Object(M["createElementVNode"])("div",Xt,Object(M["toDisplayString"])(`${null!==(D=e.isCustom)&&void 0!==D&&D.organization?null===(N=e.isCustom)||void 0===N?void 0:N.organization:""}-${null!==(U=e.isCustom)&&void 0!==U&&U.departmentName?null===(B=e.isCustom)||void 0===B?void 0:B.departmentName:""}`),1)])]),t[13]||(t[13]=Object(M["createElementVNode"])("div",{style:{color:"#7d7d7dff","font-size":"12px","margin-top":"5px","border-top":"1px solid #7d7d7dff","padding-top":"1px"}}," 个人名片 ",-1))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:9,innerHTML:e.data.custom},null,8,en)),Object(M["createVNode"])(A,{modelValue:e.visible,"onUpdate:modelValue":t[9]||(t[9]=t=>e.visible=t),title:(null===(x=e.isCustom)||void 0===x?void 0:x.name)+"档案",width:"60%",onOpen:e.openDialog},{default:Object(M["withCtx"])(()=>[t[14]||(t[14]=Object(M["createElementVNode"])("span",{style:{"font-size":"18px","font-weight":"bold",color:"#000000","margin-bottom":"10px"}},"咨询档案",-1)),Object(M["createVNode"])(P,{modelValue:e.archives,"onUpdate:modelValue":t[8]||(t[8]=t=>e.archives=t),"label-width":"100px"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(R,{label:"档案名称:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.recordsName,"onUpdate:modelValue":t[3]||(t[3]=t=>e.archives.recordsName=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"患病时长:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.haveTime_dictText,"onUpdate:modelValue":t[4]||(t[4]=t=>e.archives.haveTime_dictText=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"问题描述:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.medicalDescribe,"onUpdate:modelValue":t[5]||(t[5]=t=>e.archives.medicalDescribe=t),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"就诊医院:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.lookOffice,"onUpdate:modelValue":t[6]||(t[6]=t=>e.archives.lookOffice=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"病情资料:"},{default:Object(M["withCtx"])(()=>{var t;return[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(t=e.archives)||void 0===t?void 0:t.imageList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{padding:"0 5px 5px",width:"100px",height:"100px"},key:"imageList"+n},[Object(M["createVNode"])(V,{style:{width:"100px",height:"100px"},src:`${e.hrefParams.urlF.replace("lol","://")}/file/show/${t}`,"zoom-rate":1.2,"preview-src-list":[`${e.hrefParams.urlF.replace("lol","://")}file/show/${t}`],"initial-index":0,"hide-on-click-modal":!0,fit:"cover"},null,8,["src","preview-src-list"])]))),128))]}),_:1}),Object(M["createVNode"])(R,{label:"期望帮助:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.desire,"onUpdate:modelValue":t[7]||(t[7]=t=>e.archives.desire=t),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"]),t[15]||(t[15]=Object(M["createElementVNode"])("span",{style:{"font-size":"18px","font-weight":"bold",color:"#000000",margin:"10px 0"}},"健康信息",-1)),Object(M["createVNode"])(P,{"label-width":"100px",inline:!0},{default:Object(M["withCtx"])(()=>[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(s()(l()(e.archives)),(t,n)=>(Object(M["openBlock"])(),Object(M["createBlock"])(R,{key:"item"+n,label:t+":"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{modelValue:l()(e.archives)[t],"onUpdate:modelValue":n=>l()(e.archives)[t]=n,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1,__:[14,15]},8,["modelValue","title","onOpen"])])}var nn=n("2e20");class on{constructor(e){Object(c["a"])(this,"aegis",void 0),Object(c["a"])(this,"options",{}),Object(c["a"])(this,"aegisOptions",[]),e?this.aegis=e:this.init(()=>{var e;(this.aegis=new window.Aegis({id:"iHWefAYqTgxNuvtAjr",uin:"",reportApiSpeed:!0,reportAssetSpeed:!0,spa:!0}),this.aegisOptions.length>0)&&(l()(e=this.aegisOptions).call(e,e=>(this.reportEvent(e),e)),this.aegisOptions=[])})}install(e){e.config.globalProperties.$TUIAegis=on.getInstance()}static getInstance(){return on.instance||(on.instance=new on(window.$Aegis)),on.instance}setAegisOptions(e){this.options=e}reportEvent(e){if(this.aegis){var t;if((null===e||void 0===e||!e.ext3)&&(null===(t=this.options)||void 0===t||!t.ext3))return;this.aegis.reportEvent({...e,...this.options})}else this.aegisOptions=[...this.aegisOptions,e]}init(e){if(!on.instance){const t=document.createElement("script");t.type="text/javascript",t.src="https://tam.cdn-go.cn/aegis-sdk/latest/aegis.min.js",document.getElementsByTagName("head")[0].appendChild(t),t.onload=e}}}Object(c["a"])(on,"instance",void 0);var an=on,sn=n("5502"),rn=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){var n;const o=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},a=Object(M["reactive"])({data:{},extension:{},isCustom:"",constant:nn["a"],visible:!1,archives:{recordsName:"",medicalDescribe:"",image:"",imageList:[],haveTime_dictText:"",desire:"",lookOffice:"",map:{}}});Object(M["watchEffect"])(()=>{a.data=e.data;const{message:{payload:t}}=e.data;a.isCustom=t.data||" ",a.isCustom=Object(U["a"])(t.data),t.data===nn["a"].typeService&&(a.extension=Object(U["a"])(t.extension))});const i=e=>{window.open(e)},s=()=>{var e,t,n;const o=null===(e=JSON.parse(null===(t=JSON.parse(null===a||void 0===a||null===(n=a.data)||void 0===n||null===(n=n.message)||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.data))||void 0===t?void 0:t.data))||void 0===e?void 0:e.call_type;let i="";switch(o){case 1:i="icon-call-voice";break;case 2:i="icon-call-video";break;default:break}return i},r=async()=>{var t,n,i,s,r,l;const c=null===(t=JSON.parse(null===(n=JSON.parse(null===e||void 0===e||null===(i=e.data)||void 0===i||null===(i=i.message)||void 0===i||null===(i=i.payload)||void 0===i?void 0:i.data))||void 0===n?void 0:n.data))||void 0===t?void 0:t.call_type;switch(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall"}),null===a||void 0===a||null===(s=a.data)||void 0===s||null===(s=s.message)||void 0===s?void 0:s.conversationType){case window.TUIKitTUICore.TIM.TYPES.CONV_C2C:const{flow:e,to:t,from:n}=null===a||void 0===a||null===(r=a.data)||void 0===r?void 0:r.message;if(t===n)break;try{var d,u;await(null===(d=window)||void 0===d||null===(d=d.TUIKitTUICore)||void 0===d||null===(d=d.TUIServer)||void 0===d||null===(d=d.TUICallKit)||void 0===d?void 0:d.call({userID:"out"===e?t:n,type:c})),(null===(u=window)||void 0===u||null===(u=u.TUIKitTUICore)||void 0===u?void 0:u.isOfficial)&&(null===o||void 0===o?void 0:o.commit)&&(null===o||void 0===o||o.commit("handleTask",6))}catch(p){console.warn(p)}null!==(l=window)&&void 0!==l&&null!==(l=l.TUIKitTUICore)&&void 0!==l&&null!==(l=l.TUIServer)&&void 0!==l&&l.TUICallKit&&(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall-success"}),an.getInstance().reportEvent({name:"callOptions",ext1:"call-c2c"}));break;case window.TUIKitTUICore.TIM.TYPES.CONV_GROUP:break;default:break}},l=()=>{var e,t;window.parent.postMessage(v()({code:"showConsultation",archivesId:null===(e=a.isCustom)||void 0===e?void 0:e.archivesId,archivesName:null===(t=a.isCustom)||void 0===t?void 0:t.name}),"*")},c=async()=>{var e,t;window.parent.postMessage(v()({code:"showConsultation",archivesId:null===(e=a.isCustom)||void 0===e?void 0:e.archivesId,archivesName:null===(t=a.isCustom)||void 0===t?void 0:t.name}),"*")};return{showDialog:l,openDialog:c,...Object(M["toRefs"])(a),isUrl:U["w"],openLink:i,handleCallMessageIcon:s,handleCallAgain:r,hrefParams:_e["a"]}}});n("2259");const ln=me()(rn,[["render",tn],["__scopeId","data-v-776d0787"]]);var cn=ln;const dn={class:"message-tip"};function un(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",dn,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(s=e.message)||void 0===s?void 0:s.text),1)])}var pn=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({message:{}});return Object(M["watchEffect"])(()=>{n.message=e.data}),{...Object(M["toRefs"])(n)}}});n("a6a0");const mn=me()(pn,[["render",un],["__scopeId","data-v-54b2b3c4"]]);var hn=mn,vn=n("dd44"),fn=n.n(vn);const gn=["src"],bn={key:1,class:"avatar",src:fn.a,alt:""},On={class:"message-area"},yn={key:0,class:"name"},jn={key:1,ref:"dropdownRef",class:"dropdown-inner"};function kn(e,t,n,o,a,i){var s,r,l,c,d,u,p;const m=Object(M["resolveComponent"])("MessageReference"),h=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["message-bubble",["in"===e.message.flow?"":"reverse"]]),ref:"htmlRefHook"},[e.getSrc(e.message)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:"avatar",src:e.getSrc(e.message),alt:""},null,8,gn)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",bn)),Object(M["createElementVNode"])("main",On,["in"===e.message.flow&&"GROUP"===e.message.conversationType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",yn,Object(M["toDisplayString"])(e.message.nameCard||e.message.nick||e.message.from),1)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(e.handleImageOrVideoBubbleStyle(e.message)),onContextmenu:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleDialog&&e.toggleDialog(...t),["prevent","right"]))},[null!==(s=e.message)&&void 0!==s&&s.cloudCustomData&&e.referenceMessage&&null!==(r=e.referenceMessage)&&void 0!==r&&r.messageRootID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-replie-area",["in"===(null===(l=e.message)||void 0===l?void 0:l.flow)?"":"message-replies-area-reverse"]]),onClick:t[0]||(t[0]=t=>e.showRepliesDialog(e.message,!1))},[Object(M["createVNode"])(m,{message:e.message,referenceMessage:e.referenceMessage,referenceForShow:e.referenceForShow,url:e.url,face:e.face,allMessageID:e.allMessageID,type:"reply"},null,8,["message","referenceMessage","referenceForShow","url","face","allMessageID"])],2)):Object(M["createCommentVNode"])("",!0),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0),e.dropdown?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",jn,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog",["in"===e.message.flow?"":"dialog-right"]]),onClick:t[1]||(t[1]=t=>e.dropdown=!1)},[Object(M["renderSlot"])(e.$slots,"dialog",{},void 0,!0)],2)],512)):Object(M["createCommentVNode"])("",!0),e.needEmojiReact&&e.isEmojiReactionInMessage(e.message)?(Object(M["openBlock"])(),Object(M["createBlock"])(h,{key:2,message:e.message,type:"content"},null,8,["message"])):Object(M["createCommentVNode"])("",!0)],34)]),"fail"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",{key:2,class:"message-label fail",onClick:t[3]||(t[3]=t=>e.resendMessage(e.message))},"!")):Object(M["createCommentVNode"])("",!0)],2),null===(c=e.message)||void 0===c||!c.cloudCustomData||!e.referenceMessage||null!==(d=e.referenceMessage)&&void 0!==d&&d.messageRootID?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-reference-area",["in"===e.message.flow?"":"message-reference-area-reverse"]]),onClick:t[4]||(t[4]=t=>e.jumpToAim(e.referenceMessage))},[Object(M["createVNode"])(m,{message:e.message,referenceMessage:e.referenceMessage,referenceForShow:e.referenceForShow,url:e.url,face:e.face,allMessageID:e.allMessageID,type:"reference"},null,8,["message","referenceMessage","referenceForShow","url","face","allMessageID"])],2)),null!==(u=e.replies)&&void 0!==u&&u.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",{key:1,class:Object(M["normalizeClass"])(["message-replies",["in"===e.message.flow?"":"message-replies-reverse"]]),onClick:t[5]||(t[5]=t=>e.showRepliesDialog(e.message,!0))},[t[6]||(t[6]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-replies"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])((null===(p=e.replies)||void 0===p?void 0:p.length)+e.$t("TUIChat.条回复")),1)],2)):Object(M["createCommentVNode"])("",!0)],64)}var In=n("b05a"),wn=n("2c28"),En=n("4176");const Cn={class:"message-reference-user"},Tn={class:"nick"},Sn={class:"colon"},_n={key:0,class:"face-box"},Dn={key:0,class:"text-box"},Nn=["src"],Un={key:1},Bn=["src"],Mn={key:3,class:"message-video-cover"},xn=["src"],Vn=["src"],Ln={key:5};function Rn(e,t,n,o,a,i){var s,r,l,c,d,u,p;return null!==(s=e.referenceMessage)&&void 0!==s&&s.messageID&&-1!==_()(r=e.allMessageID).call(r,e.referenceMessage.messageID)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(`${e.type} ${"in"===e.message.flow&&e.type+"-reverse"}`)},[Object(M["createElementVNode"])("p",Cn,[Object(M["createElementVNode"])("span",Tn,Object(M["toDisplayString"])(e.referenceForShow.nick||e.referenceForShow.from),1),Object(M["createElementVNode"])("span",Sn,Object(M["toDisplayString"])("reference"===e.type?":":""),1)]),e.referenceMessage.messageType===e.constant.typeText?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",_n,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.face,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:t},["text"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Dn,Object(M["toDisplayString"])(e.text),1)):"img"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"text-img",src:e.src},null,8,Nn)):Object(M["createCommentVNode"])("",!0)]))),128))])):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeCustom?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Un,Object(M["toDisplayString"])(e.referenceMessage.messageAbstract),1)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeImage?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:2,class:"message-img",src:e.referenceForShow.payload.imageInfoArray[1].url},null,8,Bn)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeVideo?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Mn,[Object(M["createElementVNode"])("img",{class:"message-videoimg",src:(null===(l=e.referenceForShow)||void 0===l||null===(l=l.payload)||void 0===l?void 0:l.snapshotUrl)||(null===(c=e.referenceForShow)||void 0===c||null===(c=c.payload)||void 0===c?void 0:c.thumbUrl)},null,8,xn)])):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeFace?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:4,class:"message-img",src:e.url},null,8,Vn)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeFile||e.referenceMessage.messageType===e.constant.typeAudio?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ln,Object(M["toDisplayString"])(null===(d=e.referenceMessage)||void 0===d?void 0:d.messageAbstract),1)):Object(M["createCommentVNode"])("",!0)],2)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:Object(M["normalizeClass"])(`${e.type} ${"in"===e.message.flow&&e.type+"-reverse"}`)},[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(null===(u=e.referenceMessage)||void 0===u?void 0:u.messageSender),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(p=e.referenceMessage)||void 0===p?void 0:p.messageAbstract),1)],2))}const Pn=Object(M["defineComponent"])({props:{message:{type:Object,default:{}},referenceMessage:{type:Object,default:()=>({})},referenceForShow:{type:Object,default:()=>({})},face:{type:Array,default:()=>[]},url:{type:String,default:""},allMessageID:{type:String,default:""},type:{type:String,deafault:""}},setup(e,t){const n=Object(M["reactive"])({message:{},referenceMessage:{},referenceForShow:{},allMessageID:"",face:[],url:"",type:""});return Object(M["watchEffect"])(()=>{n.message=e.message,n.referenceMessage=e.referenceMessage,n.referenceForShow=e.referenceForShow,n.face=e.face,n.url=e.url,n.allMessageID=e.allMessageID,n.type=e.type}),Object(M["watch"])(()=>e.referenceForShow,()=>{n.referenceForShow=e.referenceForShow},{deep:!0}),{...Object(M["toRefs"])(n),constant:nn["a"]}}});var An=Pn;n("3b1e");const Gn=me()(An,[["render",Rn],["__scopeId","data-v-06f7d624"]]);var Hn=Gn;const zn={class:"face-list collapse"},Fn={class:"face-list-collapse"},$n=["onClick"],Yn=["src"],Kn={class:"face-list face-list-expand"},Wn=["onClick"],qn=["src"],Zn={key:1,class:"emoji-content"},Jn={class:"emoji-react",ref:"container"},Qn=["onClick"],Xn=["src"],eo={class:"emoji-react-item-content"};function to(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,["dropdown"===e.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["dialog-emoji",null!==(s=e.env)&&void 0!==s&&s.isH5?"dialog-emoji-h5":""])},[Object(M["createElementVNode"])("div",zn,[Object(M["createElementVNode"])("ul",Fn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.emojiCollapseList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:n,onClick:Object(M["withModifiers"])(n=>e.select(t),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[t]},null,8,Yn)],8,$n))),128))]),Object(M["createElementVNode"])("div",{class:"face-list-button",onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.isCollapse=!e.isCollapse,["stop"]))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.isCollapse?"icon-expand":"icon-collapse"]])},null,2)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",Kn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.emojiExpandList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:n,onClick:Object(M["withModifiers"])(n=>e.select(t),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[t]},null,8,qn)],8,Wn))),128))],512),[[M["vShow"],!e.isCollapse]])],2)):Object(M["createCommentVNode"])("",!0),"content"===e.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Zn,[Object(M["createElementVNode"])("ul",Jn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.handleEmojiReact(e.message),(t,n)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"emoji-react-item",key:n,onClick:Object(M["withModifiers"])(t=>e.select(n),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[n]},null,8,Xn),Object(M["createElementVNode"])("div",eo,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.handleEmojiReactItem(t)),1)])],8,Qn)),[[M["vShow"],t&&(null===t||void 0===t?void 0:t.length)]])),128))],512)])):Object(M["createCommentVNode"])("",!0)],64)}var no=n("52da"),oo=n.n(no),ao=n("c959"),io=n("17da"),so=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},emojiList:{type:Array,default:()=>[]},type:{type:String,default:""}},emits:["handleCollapse"],setup(e,t){const{TUIServer:n}=br,o=Object(M["reactive"])({message:{},emojiUrl:io["d"],emojiMap:io["b"],emojiName:io["c"],isCollapse:!0,types:ao["a"].TYPES,env:n.TUICore.TUIEnv,type:e.type,emojiReacts:{},allMemberList:[]}),i=Object(M["ref"])({}),s=Object(M["computed"])(()=>{var e;return oo()(e=o.emojiName).call(e,0,6)}),r=Object(M["computed"])(()=>{var e;return oo()(e=o.emojiName).call(e,6)}),l=e=>{n.emojiReact(o.message,e)},c=e=>{try{var t;if(null===e||void 0===e||!e.cloudCustomData)return;const n=null===(t=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData))||void 0===t||null===(t=t.messageReact)||void 0===t?void 0:t.reacts;if(!n)return;return o.emojiReacts=n,n}catch(n){console.warn(n)}},d=e=>{let t="";return null===e||void 0===e||a()(e).call(e,(e,n)=>{var a;const i=null===(a=o.allMemberList)||void 0===a?void 0:I()(a).call(a,t=>t.userID===e);t=t+(i?null===i||void 0===i?void 0:i.nick:e)+", "}),t.length&&(t=t.substring(0,Se()(t).call(t,","))),t},u=e=>{var t,a,i,s,r;const l=null===n||void 0===n?void 0:n.currentStore;switch(null===e||void 0===e?void 0:e.conversationType){case ao["a"].TYPES.CONV_C2C:o.allMemberList=[{userID:null===l||void 0===l||null===(t=l.conversation)||void 0===t||null===(t=t.userProfile)||void 0===t?void 0:t.userID,nick:null===l||void 0===l||null===(a=l.conversation)||void 0===a||null===(a=a.userProfile)||void 0===a?void 0:a.nick},{userID:null===l||void 0===l||null===(i=l.selfInfo)||void 0===i?void 0:i.userID,nick:null===l||void 0===l||null===(s=l.selfInfo)||void 0===s?void 0:s.nick}];break;case ao["a"].TYPES.CONV_GROUP:o.allMemberList=null===l||void 0===l||null===(r=l.allMemberList)||void 0===r?void 0:r.memberList;break;default:break}};return Object(M["watch"])(()=>e.message,(t,n)=>{o.message=e.message,(null===t||void 0===t?void 0:t.conversationID)!==(null===n||void 0===n?void 0:n.conversationID)&&u(t)},{deep:!0,immediate:!0}),Object(M["watch"])(()=>o.isCollapse,(e,n)=>{var a;e!==n&&null!==o&&void 0!==o&&null!==(a=o.env)&&void 0!==a&&a.isH5&&t.emit("handleCollapse",e)}),{...Object(M["toRefs"])(o),emojiCollapseList:s,emojiExpandList:r,select:l,handleEmojiReact:c,handleEmojiReactItem:d,container:i}}});n("7af0");const ro=me()(so,[["render",to],["__scopeId","data-v-3266b21c"]]);var lo=ro;const co=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},messagesList:{type:Array,default:()=>[]},isH5:{type:Boolean,default:!1},needGroupReceipt:{type:Boolean,default:!1},needReplies:{type:Boolean,default:!0},flow:{type:String,default:""},needEmojiReact:{type:Boolean,default:!1}},emits:["jumpID","resendMessage","showReadReceiptDialog","showRepliesDialog","dropDownOpen"],components:{MessageReference:Hn,MessageEmojiReact:lo},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),{TUIServer:o}=br,a=Object(M["reactive"])({env:Object(D["b"])(),message:{},messagesList:[],show:!1,type:{},referenceMessage:{},referenceForShow:{},allMessageID:"",needGroupReceipt:!1,needReplies:!0,replies:[],face:[],url:"",needEmojiReact:!1});Object(M["watchEffect"])(()=>{var t;if(a.type=nn["a"],a.messagesList=e.messagesList,a.needEmojiReact=e.needEmojiReact,a.message=Object(U["b"])((null===(t=a.messagesList)||void 0===t?void 0:I()(t).call(t,t=>{var n;return(null===t||void 0===t?void 0:t.ID)===(null===(n=e.message)||void 0===n?void 0:n.ID)}))||e.data),a.needGroupReceipt=e.needGroupReceipt,a.needReplies=e.needReplies,a.message.cloudCustomData){var n;const e=[],t=Object(U["a"])(a.message.cloudCustomData);a.replies=(null===t||void 0===t||null===(n=t.messageReplies)||void 0===n?void 0:n.replies)||[],a.referenceMessage=t.messageReply?t.messageReply:"";for(let n=0;n{r.value=!r.value,r.value&&(t.emit("dropDownOpen",l),Object(M["nextTick"])(()=>{var t,n,o,i,s,r,c,d,u,p,m;const h=null===l||void 0===l||null===(t=l.value)||void 0===t?void 0:t.children[0],v=document.getElementsByClassName("dialog-item")[0],f=null===l||void 0===l||null===(n=l.value)||void 0===n?void 0:n.offsetParent,g=Object(wn["useElementBounding"])(f),b=document.getElementById("messageEle"),O=Object(wn["useElementBounding"])(b),y=null===O||void 0===O||null===(o=O.left)||void 0===o?void 0:o.value,j=(null===O||void 0===O||null===(i=O.left)||void 0===i?void 0:i.value)+b.clientWidth-h.clientWidth+76,k=null===O||void 0===O||null===(s=O.top)||void 0===s?void 0:s.value,I=(null===O||void 0===O||null===(r=O.top)||void 0===r?void 0:r.value)+b.clientHeight-h.clientHeight,{clientX:w,clientY:E}=e;if(null!==a&&void 0!==a&&null!==(c=a.env)&&void 0!==c&&c.isH5){var C,T,S,_;(null===g||void 0===g||null===(C=g.top)||void 0===C?void 0:C.value)<=(null===v||void 0===v?void 0:v.clientHeight)?h.style.bottom=`-${null===v||void 0===v?void 0:v.clientHeight}px`:"in"===(null===a||void 0===a||null===(_=a.message)||void 0===_?void 0:_.flow)?h.style.top=`-${(null===v||void 0===v?void 0:v.clientHeight)-20}px`:h.style.top=`-${null===v||void 0===v?void 0:v.clientHeight}px`;const e=(null===g||void 0===g||null===(T=g.left)||void 0===T?void 0:T.value)+(null===g||void 0===g||null===(S=g.width)||void 0===S?void 0:S.value)/2;e>v.clientWidth/2&&e<(null===b||void 0===b?void 0:b.clientWidth)-v.clientWidth/2?h.style.left="calc(50% - 135px)":e<=v.clientWidth/2?h.style.left="-20px":h.style.left=`-${v.clientWidth/2+10}px`}else{switch(!0){case w>y&&w=j:h.style.right=Math.max((null===g||void 0===g||null===(u=g.left)||void 0===u?void 0:u.value)+(null===f||void 0===f?void 0:f.clientWidth)-e.clientX-256,-10)+"px";break}switch(!0){case E>k&&E=I:h.style.bottom=(null===g||void 0===g||null===(m=g.top)||void 0===m?void 0:m.value)+(null===f||void 0===f?void 0:f.clientHeight)-e.clientY+"px",h.style.cssText+="align-items:end;";break}}}))},d=o=>{var i,s,r;if(null!==(i=a.referenceMessage)&&void 0!==i&&i.messageID&&re()(s=a.allMessageID).call(s,null===(r=a.referenceMessage)||void 0===r?void 0:r.messageID))t.emit("jumpID",a.referenceMessage.messageID);else{const t=n("TUIChat.无法定位到原消息");Object(En["b"])(t,e)}};Object(wn["onClickOutside"])(l,()=>{r.value=!1});const u=e=>{var t;null!==a&&void 0!==a&&null!==(t=a.env)&&void 0!==t&&t.isH5&&c(e)};Object(wn["onLongPress"])(i,u);const p=e=>{t.emit("resendMessage",e)},m=e=>!("out"!==e.flow||"success"!==e.status||!e.needReadReceipt||"GROUP"===e.conversationType),h=e=>{var t,n,o;return null!==e&&void 0!==e&&null!==(t=e.readReceiptInfo)&&void 0!==t&&t.isPeerRead||void 0===(null===e||void 0===e||null===(n=e.readReceiptInfo)||void 0===n?void 0:n.isPeerRead)&&null!==e&&void 0!==e&&e.isPeerRead||0===(null===e||void 0===e||null===(o=e.readReceiptInfo)||void 0===o?void 0:o.unreadCount)?"":"unRead"},f=e=>{var t,a;switch(console.log(e.conversationType),e.conversationType){case o.TUICore.TIM.TYPES.CONV_C2C:return null!==e&&void 0!==e&&null!==(t=e.readReceiptInfo)&&void 0!==t&&t.isPeerRead||void 0===(null===e||void 0===e||null===(a=e.readReceiptInfo)||void 0===a?void 0:a.isPeerRead)&&null!==e&&void 0!==e&&e.isPeerRead?n("TUIChat.已读"):n("TUIChat.未读");case o.TUICore.TIM.TYPES.CONV_GROUP:return 0===e.readReceiptInfo.unreadCount?n("TUIChat.全部已读"):0===e.readReceiptInfo.readCount||void 0===e.readReceiptInfo.unreadCount&&void 0===e.readReceiptInfo.readCount?n("TUIChat.未读"):""+(e.readReceiptInfo.readCount+n("TUIChat.人已读"));default:return""}},g=e=>{t.emit("showReadReceiptDialog",e,"receipt")},b=(o,i)=>{var s;if(i)t.emit("showRepliesDialog",o,"replies");else if(null!==(s=a.referenceMessage)&&void 0!==s&&s.messageRootID){var r;const o=null===(r=a.messagesList)||void 0===r?void 0:I()(r).call(r,e=>{var t;return e.ID===(null===(t=a.referenceMessage)||void 0===t?void 0:t.messageRootID)});if(o)return void t.emit("showRepliesDialog",o,"replies");{const t=n("TUIChat.无法定位到原消息");Object(En["b"])(t,e)}}},O=e=>{const t=["content"];return e?(t.push("content-"+a.message.flow),a.message.type!==ao["a"].TYPES.MSG_IMAGE||y(e)||t.push("content-image"),a.message.type!==ao["a"].TYPES.MSG_VIDEO||y(e)||t.push("content-video"),t):t},y=e=>{try{var t;if(null===e||void 0===e||!e.cloudCustomData)return;const n=null===(t=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData))||void 0===t||null===(t=t.messageReact)||void 0===t?void 0:t.reacts;return!(!n||0===s()(n).length)}catch(n){return console.warn(n),!1}},j=e=>{let t=null===e||void 0===e?void 0:e.avatar.split("/");return null!==e&&void 0!==e&&e.avatar&&t[t.length-1]?null===e||void 0===e?void 0:e.avatar:""};return{getSrc:j,...Object(M["toRefs"])(a),toggleDialog:c,htmlRefHook:i,jumpToAim:d,dropdown:r,dropdownRef:l,resendMessage:p,showReadReceiptTag:m,readReceiptStyle:h,readReceiptCont:f,showReadReceiptDialog:g,showRepliesDialog:b,handleImageOrVideoBubbleStyle:O,isEmojiReactionInMessage:y,TIM:ao["a"]}}});var uo=co;n("668f");const po=me()(uo,[["render",kn],["__scopeId","data-v-721af588"]]);var mo=po;const ho={class:"revoke"},vo={key:0},fo={key:1};function go(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ho,["in"===e.message.flow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",vo,Object(M["toDisplayString"])(e.message.nick||e.message.from),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",fo,Object(M["toDisplayString"])(e.$t("TUIChat.您")),1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.撤回了一条消息")),1),"out"===e.message.flow&&e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:2,class:"edit",onClick:t[0]||(t[0]=(...t)=>e.edit&&e.edit(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.重新编辑")),1)):Object(M["createCommentVNode"])("",!0)])}var bo=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isEdit:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({message:{},isEdit:!1});Object(M["watchEffect"])(()=>{n.message=e.data,n.isEdit=e.isEdit});const o=()=>{t.emit("edit",n.message)};return{...Object(M["toRefs"])(n),edit:o}}});n("29ef");const Oo=me()(bo,[["render",go],["__scopeId","data-v-dedd5890"]]);var yo=Oo;const jo={class:"message-system"},ko={class:"list"},Io={key:0,class:"btn-box"},wo=["onClick"],Eo=["onClick"];function Co(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",jo,[Object(M["createElementVNode"])("ul",ko,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messageList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:o},[n.type===e.types.MSG_GRP_TIP||n.type===e.types.MSG_GRP_SYS_NOTICE?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-system"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.translateGroupSystemNotice(n)),1),1===(null===n||void 0===n||null===(a=n.payload)||void 0===a?void 0:a.operationType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Io,[Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t=>e.handleApplication("Agree",n)},"接受",8,wo),Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t=>e.handleApplication("Reject",n)},"拒绝",8,Eo)])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)])}),128))])])}var To=Object(M["defineComponent"])({props:{data:{type:Array,default:()=>[]},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({messageList:[],types:{}});Object(M["watchEffect"])(()=>{n.messageList=e.data,n.types=e.types});const o=(e,n)=>{const o={handleAction:e,message:n};t.emit("application",o)};return{...Object(M["toRefs"])(n),translateGroupSystemNotice:U["x"],handleApplication:o}}});n("181e");const So=me()(To,[["render",Co],["__scopeId","data-v-55c508aa"]]);var _o=So;function Do(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["dialog-item",null!==(s=e.env)&&void 0!==s&&s.isH5?"dialog-item-h5":"dialog-item-web"])},[null!==(r=e.env)&&void 0!==r&&r.isH5&&e.needEmojiReact?(Object(M["openBlock"])(),Object(M["createBlock"])(c,{key:0,message:e.message,type:"dropdown",onHandleCollapse:e.handleCollapse},null,8,["message","onHandleCollapse"])):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",{class:Object(M["normalizeClass"])(["dialog-item-list",null!==(l=e.env)&&void 0!==l&&l.isH5?"dialog-item-list-h5":"dialog-item-list-web"])},[e.message.type!==e.types.MSG_FILE&&e.message.type!==e.types.MSG_VIDEO&&e.message.type!==e.types.MSG_IMAGE||e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[0]||(t[0]=t=>e.openMessage(e.message))},[t[7]||(t[7]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.打开")),1)])),e.message.type===e.types.MSG_TEXT?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:1,onClick:t[1]||(t[1]=t=>e.handleMessage(e.message,e.constant.handleMessage.copy))},[t[8]||(t[8]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.复制")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:2,onClick:t[2]||(t[2]=t=>e.handleMessage(e.message,e.constant.handleMessage.forward))},[t[9]||(t[9]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-forward"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.转发")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:3,onClick:t[3]||(t[3]=t=>e.handleMessage(e.message,e.constant.handleMessage.reference))},[t[10]||(t[10]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-quote"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.引用")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:4,onClick:t[4]||(t[4]=t=>e.handleMessage(e.message,e.constant.handleMessage.reply))},[t[11]||(t[11]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-reply"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.回复")),1)])):Object(M["createCommentVNode"])("",!0),"out"===e.message.flow&&"success"===e.message.status&&e.message.type!==e.types.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:5,onClick:t[5]||(t[5]=t=>e.handleMessage(e.message,e.constant.handleMessage.revoke))},[t[12]||(t[12]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-revoke"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.撤回")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:6,onClick:t[6]||(t[6]=t=>e.handleMessage(e.message,e.constant.handleMessage.delete))},[t[13]||(t[13]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-del"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.删除")),1)])):Object(M["createCommentVNode"])("",!0)],2),[[M["vShow"],e.showToolList]])],2)}var No=n("a019"),Uo=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},needEmojiReact:{type:Boolean,default:!1}},components:{MessageEmojiReact:lo},setup(e,t){var n,o;const a=null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n?void 0:n.TUIChat,i=(null===(o=window)||void 0===o||null===(o=o.TUIKitTUICore)||void 0===o?void 0:o.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},s=Object(M["reactive"])({message:{},show:!1,types:ao["a"].TYPES,env:a.TUICore.TUIEnv,showToolList:!0,needEmojiReact:!1});Object(M["watchEffect"])(()=>{s.needEmojiReact=e.needEmojiReact}),Object(M["watch"])(()=>e.message,()=>{s.message=e.message},{deep:!0,immediate:!0});const r=e=>{let t="";switch(e.type){case s.types.MSG_FILE:t=e.payload.fileUrl;break;case s.types.MSG_VIDEO:t=e.payload.remoteVideoUrl;break;case s.types.MSG_IMAGE:t=e.payload.imageInfoArray[0].url;break}window.open(t,"_blank")},l=async(e,n)=>{switch(n){case nn["a"].handleMessage.revoke:try{var o;await a.revokeMessage(e),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageRevoke"}),(null===(o=window)||void 0===o||null===(o=o.TUIKitTUICore)||void 0===o?void 0:o.isOfficial)&&(null===i||void 0===i?void 0:i.commit)&&(null===i||void 0===i||i.commit("handleTask",1))}catch(c){Object(En["b"])(c,s.env)}break;case nn["a"].handleMessage.copy:try{var r;if((null===e||void 0===e?void 0:e.type)===s.types.MSG_TEXT&&null!==e&&void 0!==e&&null!==(r=e.payload)&&void 0!==r&&r.text){var l;const{toClipboard:t}=Object(No["a"])();await t(null===e||void 0===e||null===(l=e.payload)||void 0===l?void 0:l.text)}}catch(c){Object(En["b"])(c,s.env)}break;case nn["a"].handleMessage.delete:await a.deleteMessage([e]),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageDelete"});break;case nn["a"].handleMessage.forward:an.getInstance().reportEvent({name:"messageOptions",ext1:"messageForward"}),t.emit("handleMessage",e,nn["a"].handleMessage.forward);break;case nn["a"].handleMessage.reference:t.emit("handleMessage",e,nn["a"].handleMessage.reference);break;case nn["a"].handleMessage.reply:t.emit("handleMessage",e,nn["a"].handleMessage.reply);break}},c=e=>{var t;null!==s&&void 0!==s&&null!==(t=s.env)&&void 0!==t&&t.isH5&&(s.showToolList=e)};return{...Object(M["toRefs"])(s),openMessage:r,handleMessage:l,constant:nn["a"],handleCollapse:c}}});n("be7e");const Bo=me()(Uo,[["render",Do],["__scopeId","data-v-60d6f26f"]]);var Mo=Bo;const xo={class:"message-item"};var Vo=Object(M["defineComponent"])({__name:"index",props:{message:{type:Object,default:()=>({})},beforeMessage:{type:Object,default:()=>({})},types:{type:Object,default:()=>({})},env:{type:Object,default:()=>({})},messageList:{type:Array,default:()=>[]},displayGroupMessageReadReceipt:{type:Boolean,default:!0},displayEmojiReactions:{type:Boolean,default:!0}},emits:["handleEditor","showDialog","uploading","jumpID","resendMessage"],setup(e,{emit:t}){const n=e,o=t,{message:a,types:i,env:s,messageList:r,displayGroupMessageReadReceipt:l,displayEmojiReactions:c}=Object(M["toRefs"])(n),d=e=>{o("handleEditor",e,"reedit")},u=(e,t)=>{if(e&&t)switch(t){case nn["a"].handleMessage.forward:o("showDialog",e,nn["a"].handleMessage.forward);break;case nn["a"].handleMessage.reference:o("handleEditor",e,nn["a"].handleMessage.reference);break;case nn["a"].handleMessage.reply:o("handleEditor",e,nn["a"].handleMessage.reply);break;default:break}},p=e=>{e&&o("showDialog",e,"previewImage")},m=e=>{e&&o("showDialog",e,"receipt")},h=e=>{e&&o("showDialog",e,"replies")},v=()=>{o("uploading")},f=e=>{e&&o("resendMessage",e)};return(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",xo,[Object(M["unref"])(U["u"])(Object(M["unref"])(a))&&Object(M["unref"])(a).type!==Object(M["unref"])(i).MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(hn,{key:0,data:Object(M["unref"])(U["s"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["unref"])(a).isRevoked?(Object(M["openBlock"])(),Object(M["createBlock"])(yo,{key:2,isEdit:Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_TEXT,data:Object(M["unref"])(a),onEdit:t[0]||(t[0]=e=>d(Object(M["unref"])(a)))},null,8,["isEdit","data"])):(Object(M["openBlock"])(),Object(M["createBlock"])(mo,{key:1,style:{background:"#f5f5f5 !important"},data:Object(M["unref"])(a),isH5:Object(M["unref"])(s).isH5,types:Object(M["unref"])(i),messagesList:Object(M["unref"])(r),needGroupReceipt:Object(M["unref"])(l),needReplies:!0,needEmojiReact:Object(M["unref"])(c),onResendMessage:f,onShowReadReceiptDialog:m,onShowRepliesDialog:h},{dialog:Object(M["withCtx"])(()=>{var e;return[Object(M["createVNode"])(Mo,{message:Object(M["unref"])(a),needEmojiReact:Object(M["unref"])(c),onHandleMessage:u},null,8,["message","needEmojiReact"]),null!==(e=Object(M["unref"])(s))&&void 0!==e&&e.isH5||!Object(M["unref"])(c)?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(lo,{key:0,message:Object(M["unref"])(a),type:"dropdown"},null,8,["message"]))]}),default:Object(M["withCtx"])(()=>[Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_TEXT?(Object(M["openBlock"])(),Object(M["createBlock"])(ve,{key:0,data:Object(M["unref"])(U["r"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createBlock"])(Ue,{key:1,isH5:Object(M["unref"])(s).isH5,data:Object(M["unref"])(U["j"])(Object(M["unref"])(a)),onUploading:v,onPreviewImage:p},null,8,["isH5","data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createBlock"])(ze,{key:2,isH5:Object(M["unref"])(s).isH5,data:Object(M["unref"])(U["t"])(Object(M["unref"])(a)),onUploading:v},null,8,["isH5","data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createBlock"])(We,{key:3,data:Object(M["unref"])(U["e"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_FILE?(Object(M["openBlock"])(),Object(M["createBlock"])(at,{key:4,data:Object(M["unref"])(U["i"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_FACE?(Object(M["openBlock"])(),Object(M["createBlock"])(dt,{key:5,data:Object(M["unref"])(U["h"])(Object(M["unref"])(a)),isH5:Object(M["unref"])(s).isH5},null,8,["data","isH5"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_LOCATION?(Object(M["openBlock"])(),Object(M["createBlock"])(gt,{key:6,data:Object(M["unref"])(U["k"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(cn,{key:7,data:Object(M["unref"])(U["g"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_MERGER?(Object(M["openBlock"])(),Object(M["createBlock"])(wt,{key:8,data:Object(M["unref"])(U["l"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0)]),_:1},8,["data","isH5","types","messagesList","needGroupReceipt","needEmojiReact"]))]))}});n("5e50");const Lo=me()(Vo,[["__scopeId","data-v-1f1c862e"]]);var Ro=Lo,Po=Object(M["defineComponent"])({__name:"message-timestamp",props:{currTime:{type:Number,default:0},prevTime:{type:Number,default:0}},setup(e){var t;const n=e,{t:o}=null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.i18n)||void 0===t?void 0:t.useI18n(),{currTime:a,prevTime:i}=Object(M["toRefs"])(n),s=Object(M["ref"])(!1),r=Object(M["ref"])(""),l=(e,t)=>{if(s.value=!1,e<=0)return"";if(!t||t<=0)return s.value=!0,c(1e3*e);{const n=600,o=e-t;if(o>=n)return s.value=!0,c(1e3*e)}return""};function c(e){const t=(new Date).setHours(0,0,0,0),n=new Date((new Date).getFullYear(),0,1,0,0,0,0).getTime(),a=new Date(e),i=864e5,s=7*i,r=t-a.getTime();function l(e){return e<10?"0"+e:e.toString()}if(r<=0)return`${l(a.getHours())}:${l(a.getMinutes())}`;if(r<=i)return`${o("time.昨天")} ${l(a.getHours())}:${l(a.getMinutes())}`;if(r<=s-i){const e=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],t=e[a.getDay()];return`${o("time."+t)} ${l(a.getHours())}:${l(a.getMinutes())}`}return a.getTime()>=n?`${a.getMonth()+1}/${a.getDate()} ${l(a.getHours())}:${l(a.getMinutes())}`:`${a.getFullYear()}/${a.getMonth()+1}/${a.getDate()} ${l(a.getHours())}:${l(a.getMinutes())}`}return Object(M["watch"])(()=>[a.value,i.value],(e,t)=>{(null===e||void 0===e?void 0:e.toString())!==(null===t||void 0===t?void 0:t.toString())&&(r.value=l(a.value,i.value))},{immediate:!0}),(e,t)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"message-timestamp"},Object(M["toDisplayString"])(r.value),513)),[[M["vShow"],s.value]])}});n("944d");const Ao=me()(Po,[["__scopeId","data-v-673faa2b"]]);var Go=Ao;const Ho={class:"manage-header"},zo={class:"manage-header-left"},Fo={key:0,class:"main"},$o={class:"userInfo space-top"},Yo=["onClick"],Ko=["src"],Wo={key:0},qo={key:1},Zo={class:"groupID"},Jo=["title"],Qo=["src"],Xo={class:"footer space-top"},ea={key:4,class:"admin"},ta={key:0,class:"admin-list"},na=["src"],oa={key:1,class:"admin-content space-top"},aa={key:2,class:"admin-list last"},ia=["src"],sa={key:0,class:"delDialog-title"},ra={key:1,class:"delDialog-title"};function la(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("ManageName"),d=Object(M["resolveComponent"])("ManageMember"),u=Object(M["resolveComponent"])("MemeberProfile"),p=Object(M["resolveComponent"])("ManageNotification"),m=Object(M["resolveComponent"])("Slider"),h=Object(M["resolveComponent"])("Transfer"),v=Object(M["resolveComponent"])("Mask"),f=Object(M["resolveComponent"])("Dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",null,[Object(M["createElementVNode"])("i",{class:"icon icon-chat-setting",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["manage",[e.isH5?"manage-h5":""]]),ref:"dialog"},[Object(M["createElementVNode"])("header",Ho,[e.isH5&&!e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("aside",zo,[e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[2]||(t[2]=t=>e.setTab(""))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.TabName)),1)])]),Object(M["createElementVNode"])("span",null,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[3]||(t[3]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),e.currentTab?"member"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(d,{key:1,self:e.conversation.groupProfile.selfInfo,list:e.userInfo.list,total:~~e.conversation.groupProfile.memberCount,isShowDel:"Owner"===e.conversation.groupProfile.selfInfo.role,onMore:t[14]||(t[14]=t=>e.getMember("more")),onDel:e.submit,onHandleMemberProfileShow:e.handleMemberProfileShow},null,8,["self","list","total","isShowDel","onDel","onHandleMemberProfileShow"])):"profile"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(u,{key:2,userInfo:e.currentMember},null,8,["userInfo"])):"notification"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(p,{key:3,isAuth:e.isAuth,data:e.conversation.groupProfile,onUpdate:e.updateProfile},null,8,["isAuth","data","onUpdate"])):"admin"===e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ea,[e.isAdmin?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ta,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群管理员")),1),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.member.admin,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:t},[Object(M["createElementVNode"])("dt",null,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,na)]),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128)),Object(M["createElementVNode"])("dl",null,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[15]||(t[15]=t=>e.toggleMask("addAdmin"))},"+")]),Object(M["createElementVNode"])("dl",null,[e.member.admin.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dt",{key:0,class:"avatar",onClick:t[16]||(t[16]=t=>e.toggleMask("removeAdmin"))},"-")):Object(M["createCommentVNode"])("",!0)])])])):Object(M["createCommentVNode"])("",!0),e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",oa,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.全员禁言")),1),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.全员禁言开启后,只允许群主和管理员发言。")),1)]),Object(M["createVNode"])(m,{open:e.conversation.groupProfile.muteAllMembers,onChange:e.setAllMuteTime},null,8,["open","onChange"])])):Object(M["createCommentVNode"])("",!0),e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",aa,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.单独禁言人员")),1),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.member.muteMember,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:t},[Object(M["createElementVNode"])("dt",null,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,ia)]),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128)),Object(M["createElementVNode"])("dl",null,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[17]||(t[17]=t=>e.toggleMask("addMute"))},"+")]),Object(M["createElementVNode"])("dl",null,[e.member.muteMember.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dt",{key:0,class:"avatar",onClick:t[18]||(t[18]=t=>e.toggleMask("removeMute"))},"-")):Object(M["createCommentVNode"])("",!0)])])])):Object(M["createCommentVNode"])("",!0)])):Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",Fo,[Object(M["createVNode"])(c,{class:"space-top",isAuth:e.isAuth,isH5:e.isH5,data:e.conversation.groupProfile,onUpdate:e.updateProfile},null,8,["isAuth","isH5","data","onUpdate"]),Object(M["createElementVNode"])("div",$o,[Object(M["createElementVNode"])("header",{class:"userInfo-header",onClick:t[4]||(t[4]=t=>e.setTab("member"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群成员")),1),Object(M["createElementVNode"])("p",null,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.conversation.groupProfile.memberCount)+Object(M["toDisplayString"])(e.$t("TUIChat.manage.人")),1),t[22]||(t[22]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])]),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(s=e.userInfo)||void 0===s||null===(s=s.list)||void 0===s?void 0:oo()(s).call(s,0,e.showUserNum),(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:n},[Object(M["createElementVNode"])("dt",{onClick:n=>e.handleMemberProfileShow(t)},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Ko)],8,Yo),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1)]))),128)),e.isShowAddMember?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",Wo,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[5]||(t[5]=t=>e.toggleMask("add"))},"+")])):Object(M["createCommentVNode"])("",!0),"Owner"===e.conversation.groupProfile.selfInfo.role?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",qo,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[6]||(t[6]=t=>e.toggleMask("remove"))},"-")])):Object(M["createCommentVNode"])("",!0)])]),Object(M["createElementVNode"])("ul",{class:"content space-top",onClick:t[10]||(t[10]=t=>e.editLableName="")},[Object(M["createElementVNode"])("li",{onClick:t[7]||(t[7]=Object(M["withModifiers"])(t=>e.setTab("notification"),["stop"]))},[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群公告")),1),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.conversation.groupProfile.notification),1)]),t[23]||(t[23]=Object(M["createElementVNode"])("i",{class:"icon icon-right end"},null,-1))]),e.isAdmin&&e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[8]||(t[8]=Object(M["withModifiers"])(t=>e.setTab("admin"),["stop"]))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群管理")),1),t[24]||(t[24]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群ID")),1),Object(M["createElementVNode"])("div",Zo,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.conversation.groupProfile.groupID),1),Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy",onClick:t[9]||(t[9]=(...t)=>e.handleGroupIDCopy&&e.handleGroupIDCopy(...t)),title:e.$t("TUIChat.复制")},null,8,Jo)])]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群头像")),1),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(r=e.conversation)||void 0===r||null===(r=r.groupProfile)||void 0===r?void 0:r.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Qo)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群类型")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.typeName[e.conversation.groupProfile.type])),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.加群方式")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.typeName[e.conversation.groupProfile.joinOption])),1)])]),Object(M["createElementVNode"])("ul",Xo,["Owner"===e.conversation.groupProfile.selfInfo.role&&(null===(l=e.userInfo)||void 0===l?void 0:l.list.length)>1?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[11]||(t[11]=Object(M["withModifiers"])(t=>e.toggleMask("changeOwner"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.转让群组")),1)):Object(M["createCommentVNode"])("",!0),e.isDismissGroupAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:1,onClick:t[12]||(t[12]=Object(M["withModifiers"])(t=>e.dismiss(e.conversation.groupProfile),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.解散群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:2,onClick:t[13]||(t[13]=Object(M["withModifiers"])(t=>e.quit(e.conversation.groupProfile),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.退出群组")),1))])])),Object(M["createVNode"])(v,{show:e.mask,"onUpdate:show":t[19]||(t[19]=t=>e.mask=t)},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(h,{title:e.$t("TUIChat.manage."+e.transferTitle),list:e.transferList,isSearch:e.isSearch,isRadio:e.isRadio,selectedList:e.selectedList,onSubmit:e.submit,onCancel:e.cancel,onSearch:e.handleSearchMember,isH5:e.isH5},null,8,["title","list","isSearch","isRadio","selectedList","onSubmit","onCancel","onSearch","isH5"])]),_:1},8,["show"]),Object(M["createVNode"])(f,{title:e.$t("TUIChat.manage.删除成员"),show:e.delDialogShow,isH5:e.isH5,center:!0,isHeaderShow:!e.isH5,onSubmit:t[20]||(t[20]=t=>e.handleManage(e.userList,"remove")),"onUpdate:show":t[21]||(t[21]=t=>e.delDialogShow=t)},{default:Object(M["withCtx"])(()=>[1===e.userList.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",sa,Object(M["toDisplayString"])(e.$t("TUIChat.manage.确定从群聊中删除该成员?")),1)):Object(M["createCommentVNode"])("",!0),e.userList.length>1?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ra,Object(M["toDisplayString"])(e.$t("TUIChat.manage.确定从群聊中删除所选成员?")),1)):Object(M["createCommentVNode"])("",!0)]),_:1},8,["title","show","isH5","isHeaderShow"])],2)):Object(M["createCommentVNode"])("",!0)])}var ca=n("c52e"),da=n.n(ca);function ua(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"mask",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleView&&e.toggleView(...t),["self"]))},[Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])):Object(M["createCommentVNode"])("",!0)}var pa=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({show:!1});Object(M["watchEffect"])(()=>{n.show=e.show});const o=()=>{n.show=!n.show,t.emit("update:show",n.show)};return{...Object(M["toRefs"])(n),toggleView:o}}});n("1848");const ma=me()(pa,[["render",ua],["__scopeId","data-v-5acb611d"]]);var ha=ma;const va={key:0,class:"transfer-h5-header"},fa={class:"title"},ga={class:"main"},ba={class:"left"},Oa={key:0},ya=["placeholder"],ja={class:"list"},ka={class:"all"},Ia=["onClick"],wa=["src"],Ea={class:"name"},Ca={key:0},Ta={class:"right"},Sa={key:0},_a={class:"list"},Da={key:0},Na=["src"],Ua={key:0},Ba=["onClick"];function Ma(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["transfer",[e.isH5?"transfer-h5":""]])},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",va,[Object(M["createElementVNode"])("i",{class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))}),Object(M["createElementVNode"])("span",fa,Object(M["toDisplayString"])(e.title),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",ga,[Object(M["createElementVNode"])("div",ba,[e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Oa,[Object(M["createElementVNode"])("input",{type:"text",onKeyup:t[1]||(t[1]=Object(M["withKeys"])((...t)=>e.handleInput&&e.handleInput(...t),["enter"])),placeholder:e.$t("component.请输入userID"),enterkeyhint:"search"},null,40,ya)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("ul",ja,[e.optional.length>1&&!e.isRadio?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,class:"list-item",onClick:t[2]||(t[2]=(...t)=>e.selectedAll&&e.selectedAll(...t))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.selectedList.length===e.optional.length?"icon-selected":"icon-unselected"]])},null,2),Object(M["createElementVNode"])("span",ka,Object(M["toDisplayString"])(e.$t("component.全选")),1)])):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n,onClick:n=>e.selected(t)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[(null===t||void 0===t?void 0:t.isDisabled)&&"disabled",_()(o=e.selectedList).call(o,t)>-1?"icon-selected":"icon-unselected"]])},null,2),e.isCustomItem?Object(M["renderSlot"])(e.$slots,"left",{key:1,data:t},void 0,!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,wa),Object(M["createElementVNode"])("span",Ea,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1),null!==t&&void 0!==t&&t.isDisabled?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ca,"("+Object(M["toDisplayString"])(e.$t("component.已在群聊中"))+")",1)):Object(M["createCommentVNode"])("",!0)],64))],8,Ia)}),128))])])]),Object(M["createElementVNode"])("div",Ta,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Sa,Object(M["toDisplayString"])(e.title),1)),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",_a,[e.selectedList.length>0&&!e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",Da,Object(M["toDisplayString"])(e.$t("component.已选中"))+Object(M["toDisplayString"])(e.selectedList.length)+Object(M["toDisplayString"])(e.$t("component.人")),1)):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.selectedList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item space-between",key:n},[Object(M["createElementVNode"])("aside",null,[e.isCustomItem?Object(M["renderSlot"])(e.$slots,"right",{key:1,data:t},void 0,!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Na),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ua,Object(M["toDisplayString"])(t.nick||t.userID),1))],64))]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-cancel",onClick:n=>e.selected(t)},null,8,Ba))]))),128))],512),[[M["vShow"],e.resultShow]]),Object(M["createElementVNode"])("footer",null,[Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t[3]||(t[3]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("component.取消")),1),e.selectedList.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn",onClick:t[4]||(t[4]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.完成")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn btn-no",onClick:t[5]||(t[5]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.完成")),1))])])])],2)}var xa=Object(M["defineComponent"])({props:{list:{type:Array,default:()=>[]},selectedList:{type:Array,default:()=>[]},isSearch:{type:Boolean,default:()=>!0},isRadio:{type:Boolean,default:()=>!1},isCustomItem:{type:Boolean,default:()=>!1},title:{type:String,default:()=>""},type:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},resultShow:{type:Boolean,default:()=>!0}},setup(e,t){const n=Object(M["reactive"])({type:"",list:[],selectedList:[],isSearch:!0,isCustomItem:!1,title:""});Object(M["watchEffect"])(()=>{if(e.isCustomItem)for(let a=0;a-1)T()(o=e.list).call(o,a,1);n.list=e.list}else n.list=e.list;n.selectedList=e.selectedList,n.isSearch=e.isSearch,n.isCustomItem=e.isCustomItem,n.title=e.title,n.type=e.type});const o=Object(M["computed"])(()=>{var e;return j()(e=n.list).call(e,e=>!e.isDisabled)}),a=e=>{t.emit("search",e.target.value)},i=t=>{if(t.isDisabled)return;let o=n.selectedList;const a=_()(o).call(o,t);var i;if(a>-1)return T()(i=n.selectedList).call(i,a,1);e.isRadio&&(o=[]),o.push(t),n.selectedList=o},s=()=>{n.selectedList.length===o.value.length?n.selectedList=[]:n.selectedList=[...o.value]},r=()=>{t.emit("submit",n.selectedList)},l=()=>{t.emit("cancel")};return{...Object(M["toRefs"])(n),optional:o,handleInput:a,selected:i,selectedAll:s,submit:r,cancel:l}}});n("dc3f");const Va=me()(xa,[["render",Ma],["__scopeId","data-v-88c982be"]]);var La=Va;function Ra(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["slider-box",[e.open&&"slider-open"]]),onClick:t[0]||(t[0]=(...t)=>e.toggle&&e.toggle(...t))},t[1]||(t[1]=[Object(M["createElementVNode"])("span",{class:"slider-block"},null,-1)]),2)}var Pa=Object(M["defineComponent"])({props:{open:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({open:!1});Object(M["watchEffect"])(()=>{n.open=e.open});const o=()=>{n.open=!n.open,t.emit("change",n.open)};return{...Object(M["toRefs"])(n),toggle:o}}});n("2b91");const Aa=me()(Pa,[["render",Ra],["__scopeId","data-v-759db46f"]]);var Ga=Aa;const Ha={class:"name"},za={key:0,class:"edit-h5-header"},Fa={class:"left"},$a={class:"input-box"},Ya={key:1},Ka={key:1,class:"edit-h5-footer"},Wa=["disabled"],qa={key:0,class:"icon icon-edit"};function Za(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ha,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群名称")),1),e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])([e.isH5?"edit-h5":""]),ref:"dialog"},[Object(M["createElementVNode"])("main",null,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",za,[Object(M["createElementVNode"])("aside",Fa,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.修改群聊名称")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.修改群聊名称后,将在群内通知其他成员")),1)]),Object(M["createElementVNode"])("span",{class:"close",onClick:t[0]||(t[0]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},Object(M["toDisplayString"])(e.$t("关闭")),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",$a,[e.isEdit?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,class:"input","onUpdate:modelValue":t[1]||(t[1]=t=>e.input=t),type:"text",onKeyup:t[2]||(t[2]=Object(M["withKeys"])((...t)=>e.updateProfile&&e.updateProfile(...t),["enter"]))},null,544)),[[M["vModelText"],e.input]]):Object(M["createCommentVNode"])("",!0),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ya,Object(M["toDisplayString"])(e.$t("TUIChat.manage.仅限中文、字母、数字和下划线,2-20个字")),1)):Object(M["createCommentVNode"])("",!0)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Ka,[Object(M["createElementVNode"])("button",{class:"btn",disabled:!e.input,onClick:t[3]||(t[3]=(...t)=>e.updateProfile&&e.updateProfile(...t))},Object(M["toDisplayString"])(e.$t("确认")),9,Wa)])):Object(M["createCommentVNode"])("",!0)])],2)):Object(M["createCommentVNode"])("",!0),!e.isEdit||e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:1,onClick:t[4]||(t[4]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.groupProfile.name),1),e.isAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",qa)):Object(M["createCommentVNode"])("",!0)])):Object(M["createCommentVNode"])("",!0)])}const Ja=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isAuth:{type:Boolean,default:!1},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({groupProfile:{},input:"",isEdit:!1});Object(M["watchEffect"])(()=>{n.groupProfile=e.data});const o=Object(M["ref"])();Object(wn["onClickOutside"])(o,()=>{n.isEdit=!1});const a=async()=>{n.input&&n.input!==n.groupProfile.name&&(t.emit("update",{key:"name",value:n.input}),n.groupProfile.name=n.input,n.input=""),i()},i=async()=>{e.isAuth&&(n.isEdit=!n.isEdit),n.isEdit&&(n.input=n.groupProfile.name)};return{...Object(M["toRefs"])(n),updateProfile:a,toggleEdit:i,dialog:o}}});var Qa=Ja;n("ae10");const Xa=me()(Qa,[["render",Za],["__scopeId","data-v-33cc130c"]]);var ei=Xa;const ti={class:"notification"},ni={key:1},oi={key:0},ai={key:1},ii={key:2};function si(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ti,[e.isEdit?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("textarea",{key:0,"onUpdate:modelValue":t[0]||(t[0]=t=>e.input=t),onKeyup:t[1]||(t[1]=Object(M["withKeys"])((...t)=>e.updateProfile&&e.updateProfile(...t),["enter"]))},null,544)),[[M["vModelText"],e.input]]):(Object(M["openBlock"])(),Object(M["createElementBlock"])("section",ni,[e.groupProfile.notification?(Object(M["openBlock"])(),Object(M["createElementBlock"])("article",ai,Object(M["toDisplayString"])(e.groupProfile.notification),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",oi,Object(M["toDisplayString"])(e.$t("TUIChat.manage.暂无公告")),1))])),e.isAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",ii,[e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn",onClick:t[2]||(t[2]=(...t)=>e.updateProfile&&e.updateProfile(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.发布")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn",onClick:t[3]||(t[3]=t=>e.isEdit=!e.isEdit)},Object(M["toDisplayString"])(e.$t("TUIChat.manage.编辑")),1))])):Object(M["createCommentVNode"])("",!0)])}const ri=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isAuth:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({groupProfile:{},input:"",isEdit:!1});Object(M["watchEffect"])(()=>{n.groupProfile=e.data,n.input=n.groupProfile.notification});const o=async()=>{n.input&&n.input!==n.groupProfile.notification&&(t.emit("update",{key:"notification",value:n.input}),n.groupProfile.notification=n.input,n.input=""),n.isEdit=!n.isEdit};return{...Object(M["toRefs"])(n),updateProfile:o}}});var li=ri;n("c548");const ci=me()(li,[["render",si],["__scopeId","data-v-30b370b1"]]);var di=ci;const ui={class:"member"},pi={class:"list"},mi=["onClick"],hi=["src"],vi={class:"name"},fi=["onClick"];function gi(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ui,[Object(M["createElementVNode"])("ul",pi,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n},[Object(M["createElementVNode"])("aside",{onClick:n=>e.handleMemberProfileShow(t)},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,hi),Object(M["createElementVNode"])("span",vi,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.handleRoleName(t)),1)],8,mi),"Owner"!==t.role&&e.isShowDel?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-del",onClick:n=>e.submit(t)},null,8,fi)):Object(M["createCommentVNode"])("",!0)]))),128)),e.list.lengthe.getMore&&e.getMore(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.查看更多")),1)):Object(M["createCommentVNode"])("",!0)])])}var bi=n("e23e"),Oi=n.n(bi);const yi=Object(M["defineComponent"])({components:{},props:{list:{type:Array,default:()=>[]},total:{type:Number,default:()=>0},isShowDel:{type:Boolean,default:()=>!1},self:{type:Object,default:()=>({})}},setup(e,t){const n=Oi.a.TYPES,o=Object(M["reactive"])({total:0,list:[],isShowDel:!1,self:{}});Object(M["watchEffect"])(()=>{o.total=e.total,o.isShowDel=e.isShowDel,o.list=e.list,o.self=e.self});const a=e=>{const{t:t}=window.TUIKitTUICore.config.i18n.useI18n();let a="";switch(null===e||void 0===e?void 0:e.role){case n.GRP_MBR_ROLE_ADMIN:a=t("TUIChat.manage.管理员");break;case n.GRP_MBR_ROLE_OWNER:a=t("TUIChat.manage.群主");break}return a&&(a=`(${a})`),e.userID===o.self.userID&&(a+=` (${t("TUIChat.manage.我")})`),a},i=()=>{t.emit("more")},s=e=>{t.emit("del",[e])},r=e=>{t.emit("handleMemberProfileShow",e)};return{...Object(M["toRefs"])(o),getMore:i,submit:s,handleRoleName:a,handleMemberProfileShow:r}}});var ji=yi;n("cb8a");const ki=me()(ji,[["render",gi],["__scopeId","data-v-806f1058"]]);var Ii=ki;const wi={class:"memeber-profile"},Ei={class:"memeber-profile-main"},Ci=["src"],Ti={class:"list"},Si={class:"memeber-profile-footer"};function _i(e,t,n,o,a,i){var s,r,l,c,d;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",wi,[Object(M["createElementVNode"])("div",Ei,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(s=e.userInfo)||void 0===s?void 0:s.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Ci),Object(M["createElementVNode"])("ul",Ti,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(r=e.userInfo)||void 0===r?void 0:r.nick)||(null===(l=e.userInfo)||void 0===l?void 0:l.userID)),1),Object(M["createElementVNode"])("li",null,[t[1]||(t[1]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(c=e.userInfo)||void 0===c?void 0:c.userID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(d=e.userInfo)||void 0===d?void 0:d.selfSignature),1)])])]),Object(M["createElementVNode"])("div",Si,[e.showEnter()?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"button",onClick:t[0]||(t[0]=t=>{var n;return e.enter(null===(n=e.userInfo)||void 0===n?void 0:n.userID,"C2C")})},Object(M["toDisplayString"])(e.$t("TUIContact.发送消息")),1)):Object(M["createCommentVNode"])("",!0)])])}const Di=Object(M["defineComponent"])({props:{userInfo:{type:Object,default:()=>({})}},setup(e,t){const n=null===Fi||void 0===Fi?void 0:Fi.TUIServer,o=Object(M["reactive"])({isFriendShip:!1,userInfo:{},self:{}});Object(M["watchEffect"])(()=>{o.self=e.self}),Object(M["watch"])(()=>e.userInfo,async(t,a)=>{var s;if(t===a)return;const r=await n.getUserProfile([null===e||void 0===e||null===(s=e.userInfo)||void 0===s?void 0:s.userID]);o.userInfo=null===r||void 0===r?void 0:r.data[0],i()},{deep:!0,immediate:!0});const a=async(e,t)=>{const o=`${t}${e}`;n.TUICore.TUIServer.TUIConversation.getConversationProfile(o).then(e=>{n.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation)})},i=async()=>{if(!o.userInfo.userID)return;const e=await n.checkFriend(o.userInfo.userID,ao["a"].TYPES.SNS_CHECK_TYPE_BOTH);o.isFriendShip=e===ao["a"].TYPES.SNS_TYPE_BOTH_WAY},s=()=>{var e;return o.isFriendShip||!(null!==n&&void 0!==n&&null!==(e=n.TUICore)&&void 0!==e&&e.isOfficial)};return{...Object(M["toRefs"])(o),enter:a,showEnter:s}}});var Ni=Di;n("fe1e");const Ui=me()(Ni,[["render",_i],["__scopeId","data-v-29f6ea36"]]);var Bi=Ui;const Mi={key:0},xi={class:"dialog-main-content"},Vi={key:1};function Li(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["dialog",[e.isH5?"dialog-h5":"",e.center?"center":""]]),onClick:t[3]||(t[3]=Object(M["withModifiers"])((...t)=>e.toggleView&&e.toggleView(...t),["self"]))},[Object(M["createElementVNode"])("main",{class:"dialog-main",style:Object(M["normalizeStyle"])(!e.background&&{background:"none"})},[e.isHeaderShow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Mi,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.title),1),Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[0]||(t[0]=(...t)=>e.toggleView&&e.toggleView(...t))})])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",xi,[Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)]),e.isFooterShow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Vi,[Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t[1]||(t[1]=(...t)=>e.toggleView&&e.toggleView(...t))},Object(M["toDisplayString"])(e.$t("component.取消")),1),Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t[2]||(t[2]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.确定")),1)])):Object(M["createCommentVNode"])("",!0)],4)],2)):Object(M["createCommentVNode"])("",!0)}var Ri=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isHeaderShow:{type:Boolean,default:()=>!0},isFooterShow:{type:Boolean,default:()=>!0},background:{type:Boolean,default:()=>!0},title:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},center:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({show:!1,isHeaderShow:!0,isFooterShow:!0,background:!0,title:""});Object(M["watchEffect"])(()=>{n.show=e.show,n.title=e.title,n.isHeaderShow=e.isHeaderShow,n.isFooterShow=e.isFooterShow,n.background=e.background});const o=()=>{n.show=!n.show,t.emit("update:show",n.show)},a=()=>{t.emit("submit"),o()};return{...Object(M["toRefs"])(n),toggleView:o,submit:a}}});n("606b");const Pi=me()(Ri,[["render",Li],["__scopeId","data-v-087d9968"]]);var Ai=Pi;const Gi=Object(M["defineComponent"])({components:{Mask:ha,Transfer:La,Slider:Ga,ManageName:ei,ManageNotification:di,ManageMember:Ii,MemeberProfile:Bi,Dialog:Ai},props:{userInfo:{type:Object,default:()=>({isGroup:!1,list:[]})},conversation:{type:Object,default:()=>({})},show:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){var n;const o=Gi.TUIServer.TUICore.TIM.TYPES,{GroupServer:a}=Gi,{t:i}=Gi.TUIServer.TUICore.config.i18n.useI18n(),s=Object(M["reactive"])({conversation:{},userInfo:{isGroup:!1,list:[]},isShowMuteTimeInput:!1,editLableName:"",mask:!1,currentTab:"",transferType:"",isSearch:!1,isRadio:!1,transferList:[],selectedList:[],isMuteTime:!1,show:!1,typeName:{[o.GRP_WORK]:"好友工作群",[o.GRP_PUBLIC]:"陌生人社交群",[o.GRP_MEETING]:"临时会议群",[o.GRP_AVCHATROOM]:"直播群",[o.JOIN_OPTIONS_FREE_ACCESS]:"自由加入",[o.JOIN_OPTIONS_NEED_PERMISSION]:"需要验证",[o.JOIN_OPTIONS_DISABLE_APPLY]:"禁止加群"},delDialogShow:!1,userList:[],transferTitle:"",member:{admin:[],member:[],muteMember:[]},currentMember:{}}),r=Object(M["ref"])();Object(M["watchEffect"])(()=>{s.conversation=e.conversation,s.userInfo=e.userInfo,s.show=e.show});const c=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===sn["b"]||void 0===sn["b"]?void 0:sn["b"].useStore())||{},d=Object(M["computed"])(()=>{let e="";switch(s.currentTab){case"notification":e="群公告";break;case"member":e="群成员";break;case"profile":e="群成员";break;default:e="群管理";break}return e});Object(M["watch"])(()=>s.userInfo.list,(e,t)=>{s.member={admin:[],member:[],muteMember:[]},l()(e).call(e,e=>{switch(null===e||void 0===e?void 0:e.role){case o.GRP_MBR_ROLE_ADMIN:s.member.admin.push(e);break;case o.GRP_MBR_ROLE_MEMBER:s.member.member.push(e);break;default:break}return e});const n=(new Date).getTime();s.member.muteMember=j()(e).call(e,e=>1e3*(null===e||void 0===e?void 0:e.muteUntil)-n>0)},{deep:!0});const u=Object(M["computed"])(()=>{var e,t;const{conversation:n}=s,a=null===n||void 0===n||null===(e=n.groupProfile)||void 0===e?void 0:e.selfInfo.role,i=null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.type,r=a===o.GRP_MBR_ROLE_OWNER,l=i===o.GRP_WORK;return r&&!l}),p=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.type,a=n===o.GRP_WORK;return!!a}),m=Object(M["computed"])(()=>{let e=3;return p.value||(e+=1),"Owner"!==s.conversation.groupProfile.selfInfo.role&&(e+=1),e}),h=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.selfInfo.role,a=n===o.GRP_MBR_ROLE_OWNER,i=n===o.GRP_MBR_ROLE_ADMIN;return a||i}),v=Object(M["computed"])(()=>{var e,t;const{conversation:n}=s,a=null===n||void 0===n||null===(e=n.groupProfile)||void 0===e?void 0:e.type,i=null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.selfInfo.role,r=i===o.GRP_MBR_ROLE_OWNER,l=a===o.GRP_WORK,c=a===o.GRP_AVCHATROOM;return!(l||c||!r)}),f=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.type,a=n===o.GRP_WORK;return!(a||!h.value)}),g=e=>{var t;const{conversation:n}=s,o={groupID:null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.groupID,count:100,offset:e&&"more"===e?s.userInfo.list.length:0};a.getGroupMemberList(o).then(t=>{s.userInfo.list=e&&"more"===e?[...s.userInfo.list,...t.data.memberList]:t.data.memberList})},b=async e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:e};await a.addGroupMember(n),g("More")},O=e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:[e.userID]};a.deleteGroupMember(n)},y=async e=>{const t={groupID:s.conversation.groupProfile.groupID,newOwnerID:e},n=await a.changeGroupOwner(t);s.conversation.groupProfile={},s.conversation.groupProfile=n.data.group},k=async e=>{await a.quitGroup(e.groupID),Gi.TUIServer.store.conversation={}},I=async e=>{var t;await a.dismissGroup(e.groupID),Gi.TUIServer.store.conversation={},(null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t?void 0:t.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",5))},w=async e=>{const{conversation:t}=s;let n="";switch(e.role){case o.GRP_MBR_ROLE_ADMIN:n=o.GRP_MBR_ROLE_MEMBER;break;case o.GRP_MBR_ROLE_MEMBER:n=o.GRP_MBR_ROLE_ADMIN;break}const i={groupID:t.groupProfile.groupID,userID:e.userID,role:n};await a.setGroupMemberRole(i),g()},E=async(e,t)=>{const{conversation:n}=s,o={groupID:n.groupProfile.groupID,userID:e,muteTime:"add"===t?2592e3:0};var i;(await a.setGroupMemberMuteTime(o),"add"===t)&&((null===(i=window)||void 0===i||null===(i=i.TUIKitTUICore)||void 0===i?void 0:i.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",4)));g()},C=async e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:e,reason:""};await a.deleteGroupMember(n),g()},T=e=>{s.editLableName=e},S=async e=>{const{key:t,value:n}=e,o={groupID:s.conversation.groupProfile.groupID,[t]:n},i=await a.updateGroupProfile(o),{conversation:r}=Gi.TUIServer.store;r.groupProfile=i.data.group,Gi.TUIServer.store.conversation={},Gi.TUIServer.store.conversation=r,s.editLableName=""},_=e=>{s.currentTab=e,s.editLableName="","member"===s.currentTab&&(s.transferType="remove"),s.currentTab||(s.transferType="")},D=async t=>{let n={},o={};const r={groupID:s.conversation.groupProfile.groupID,userIDList:[t]};switch(s.transferType){case"add":try{var c,d,u;if(o=await a.getGroupMemberProfile(r),s.transferList=j()(c=s.transferList).call(c,e=>{var t;return e.userID!==(null===(t=n.data[0])||void 0===t?void 0:t.userID)}),s.transferList=[...s.transferList,...n.data],(null===(d=o)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.memberList.length)>0)s.transferList=l()(u=s.transferList).call(u,e=>{var t;return e.userID===(null===(t=o)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.memberList[0].userID)&&(e.isDisabled=!0),e})}catch(h){const t=i("TUIChat.manage.该用户不存在");Object(En["b"])(t,e)}break;case"remove":try{var p,m;if(n=await a.getGroupMemberProfile(r),0===n.data.memberList.length){const t=i("TUIChat.manage.该用户不在群组内");return Object(En["b"])(t,e)}s.transferList=j()(p=s.transferList).call(p,e=>{var t;return e.userID!==(null===(t=n)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.memberList[0])||void 0===t?void 0:t.userID)}),s.transferList=[...s.transferList,...null===(m=n)||void 0===m||null===(m=m.data)||void 0===m?void 0:m.memberList]}catch(h){const t=i("TUIChat.manage.该用户不存在");Object(En["b"])(t,e)}break;default:break}},N=e=>{"remove"===s.transferType?(s.userList=e,s.delDialogShow=!s.delDialogShow):R(e,s.transferType),s.mask=!1},U=async()=>{var e;const t=await Gi.TUIServer.getFriendList(),n=l()(e=t.data).call(e,e=>null===e||void 0===e?void 0:e.profile);return j()(n).call(n,e=>{var t;return!da()(t=s.userInfo.list).call(t,t=>t.userID===e.userID)})},B=()=>{x()},x=async e=>{var t;switch(s.selectedList=[],e){case"add":s.isRadio=!1,s.transferList=await U(),s.transferTitle="添加成员";break;case"remove":s.isRadio=!1,s.transferList=j()(t=s.userInfo.list).call(t,e=>{var t;return e.userID!==(null===(t=s.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.selfInfo.userID)}),s.transferTitle="删除成员";break;case"addAdmin":s.isRadio=!0,s.transferList=s.member.member,s.transferTitle="新增管理员";break;case"removeAdmin":s.isRadio=!0,s.transferList=s.member.admin,s.transferTitle="移除管理员";break;case"changeOwner":s.isRadio=!0,s.transferList=[...s.member.admin,...s.member.member],s.transferTitle="转让群组";break;case"addMute":s.isRadio=!0,s.transferList=s.member.member,"Owner"===s.conversation.groupProfile.selfInfo.role&&(s.transferList=[...s.member.admin,...s.member.member]),s.transferTitle="新增禁言用户";break;case"removeMute":s.isRadio=!0,s.transferList=s.member.muteMember,s.transferTitle="移除禁言用户";break;default:break}s.transferType=e,s.mask=!s.mask};Object(wn["onClickOutside"])(r,()=>{s.show=!1});const V=()=>{if(!a){const t=i("TUIChat.manage.请先注册 TUIGroup 模块");return Object(En["b"])(t,e)}s.show=!s.show,s.show||(s.currentTab=""),s.show&&(g(),an.getInstance().reportEvent({name:"showGroupManage",ext1:"showGroupManage"}))},L=e=>{var t;S({key:"muteAllMembers",value:e}),(null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t?void 0:t.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",4))},R=(e,t)=>{const n=[];switch(l()(e).call(e,e=>(n.push(e.userID),e)),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupOptions"}),t){case"add":b(n),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddMember"});break;case"remove":C(n),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveMember"});break;case"addAdmin":w(e[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddAdmin"});break;case"removeAdmin":w(e[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveAdmin"});break;case"changeOwner":y(n[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupChangeOwner"});break;case"addMute":E(n[0],"add"),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddMute"});break;case"removeMute":E(n[0],"remove"),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveMute"});break;default:break}},P=async()=>{try{var e;const{toClipboard:t}=Object(No["a"])();await t(null===s||void 0===s||null===(e=s.conversation)||void 0===e||null===(e=e.groupProfile)||void 0===e?void 0:e.groupID)}catch(t){Object(En["b"])(t,s.env)}},A=e=>{s.currentMember=e,_("profile")};return{...Object(M["toRefs"])(s),isDismissGroupAuth:u,isShowAddMember:p,isSetMuteTime:f,isAdmin:v,isAuth:h,addMember:b,deleteMember:O,changeOwner:y,quit:k,dismiss:I,handleAdmin:w,setMemberMuteTime:E,kickedOut:C,edit:T,updateProfile:S,setTab:_,TabName:d,getMember:g,handleSearchMember:D,submit:N,cancel:B,toggleMask:x,toggleShow:V,setAllMuteTime:L,handleManage:R,showUserNum:m,dialog:r,handleGroupIDCopy:P,handleMemberProfileShow:A}}});var Hi=Gi;n("5392");const zi=me()(Hi,[["render",la],["__scopeId","data-v-f731557c"]]);var Fi=zi,$i=n("0613");const Yi={product:{label:"产品文档",url:"https://cloud.tencent.com/document/product/269/1499#.E7.BE.A4.E7.BB.84.E5.8A.9F.E8.83.BD"},customMessage:{label:"自定义消息",url:"https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#createCustomMessage"},complaint:{label:"点此投诉",url:"https://cloud.tencent.com/apply/p/xc3oaubi98g"},implement:{label:"集成TUICallKit",url:"https://cloud.tencent.com/document/product/269/79861"},purchase:{label:"开通腾讯实时音视频服务",url:"https://cloud.tencent.com/document/product/1640/79968"}};var Ki=Yi,Wi=n("505e"),qi=n.n(Wi),Zi=n("a4fc"),Ji=n.n(Zi),Qi=n("5202"),Xi=n("41b5"),es=n("ec4e"),ts=n("600a"),ns=n("2c34"),os=n("cfd7"),as=n("36f7"),is=n("1ad4"),ss=as["a"].extend({name:"custom-image",addAttributes(){return{...as["a"].config.addAttributes(),class:{default:"image",rendered:!1}}},addCommands(){return{setImage:e=>({tr:t,commands:n})=>{var o;return"custom-image"==(null===(o=t.selection)||void 0===o||null===(o=o.node)||void 0===o||null===(o=o.type)||void 0===o?void 0:o.name)?n.updateAttributes("custom-image",e):n.insertContent({type:this.name,attrs:e})}}},renderHTML({node:e,HTMLAttributes:t}){return t.class="custom-image-"+e.attrs.class,["img",Object(is["k"])(this.options.HTMLAttributes,t)]}});const rs={class:"memberList",ref:"dialog"},ls={key:0,class:"memberList-title"},cs={class:"title"},ds={class:"memberList-box"},us=["onClick"],ps=["src"];function ms(e,t,n,o,a,i){return e.showAtList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-input-at",[e.isH5&&"message-input-at-h5"]]),ref:"MessageInputAt"},[Object(M["createElementVNode"])("div",rs,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",ls,[Object(M["createElementVNode"])("span",cs,Object(M["toDisplayString"])(e.$t("TUIChat.选择提醒的人")),1),Object(M["createElementVNode"])("i",{class:"icon icon-close close",onClick:t[0]||(t[0]=(...t)=>e.closeAt&&e.closeAt(...t))})])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("ul",ds,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.showMemberList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["memberList-box-body",[n===e.selectedIndex&&"selected"]]),key:n,onClick:t=>e.selectItem(n),ref_for:!0,ref:"memberListItems"},[Object(M["createElementVNode"])("img",{src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png"},null,8,ps),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null!==t&&void 0!==t&&t.nick?null===t||void 0===t?void 0:t.nick:null===t||void 0===t?void 0:t.userID),1)],10,us))),128))])],512)],2)):Object(M["createCommentVNode"])("",!0)}var hs=n("703d"),vs=n.n(hs);const fs=Object(M["ref"])(),gs=Object(M["ref"])(!1),bs=Object(M["ref"])(),Os=Object(M["ref"])(),ys=Object(M["ref"])({left:0,top:0}),js=Object(M["ref"])(),ks=Object(M["ref"])(0),Is=Object(M["ref"])(),ws=Object(M["ref"])(!1),Es=()=>({allowedPrefixes:null,items:e=>{var t;const n=null===bs||void 0===bs||null===(t=bs.value)||void 0===t?void 0:j()(t).call(t,t=>{var n,o,a,i;return(null===t||void 0===t||null===(n=t.nick)||void 0===n||null===(n=n.toLowerCase())||void 0===n?void 0:Ji()(n).call(n,null===e||void 0===e||null===(o=e.query)||void 0===o?void 0:o.toLowerCase()))||(null===t||void 0===t||null===(a=t.userID)||void 0===a||null===(a=a.toLowerCase())||void 0===a?void 0:Ji()(a).call(a,null===e||void 0===e||null===(i=e.query)||void 0===i?void 0:i.toLowerCase()))});return Os.value=null!==n&&void 0!==n&&n.length?n:bs.value,Os.value},render:()=>({onStart:e=>{if(gs.value=!0,null===e||void 0===e||!e.clientRect)return;const t=null===e||void 0===e?void 0:e.clientRect();null!==t&&void 0!==t&&t.left&&null!==t&&void 0!==t&&t.top&&!ws.value&&(ys.value={left:null===t||void 0===t?void 0:t.left,top:null===t||void 0===t?void 0:t.top}),js.value=e.command},onUpdate(e){if(null===e||void 0===e||!e.clientRect)return;const t=null===e||void 0===e?void 0:e.clientRect();null!==t&&void 0!==t&&t.left&&null!==t&&void 0!==t&&t.top&&!ws.value&&(ys.value={left:null===t||void 0===t?void 0:t.left,top:null===t||void 0===t?void 0:t.top})},onKeyDown(e){var t,n;"Enter"===e.event.key&&(null===(t=e.event)||void 0===t||t.stopPropagation(),null===(n=e.event)||void 0===n||n.preventDefault());return"Escape"===e.event.key?(gs.value=!1,Os.value=bs.value,!0):"ArrowUp"===(null===e||void 0===e?void 0:e.event.key)?(Cs(),!0):"ArrowDown"===(null===e||void 0===e?void 0:e.event.key)?(Ts(),!0):"Enter"===(null===e||void 0===e?void 0:e.event.key)&&(Ss(),!0)},onExit(e){gs.value=!1,Os.value=bs.value,ys.value={left:0,top:0}}})}),Cs=()=>{var e,t,n,o;null!==Os&&void 0!==Os&&null!==(e=Os.value)&&void 0!==e&&e.length&&(ks.value=(ks.value+(null===Os||void 0===Os||null===(t=Os.value)||void 0===t?void 0:t.length)-1)%(null===Os||void 0===Os||null===(n=Os.value)||void 0===n?void 0:n.length),null===Is||void 0===Is||null===(o=Is.value[ks.value])||void 0===o||o.scrollIntoView(!1))},Ts=()=>{var e,t,n;null!==Os&&void 0!==Os&&null!==(e=Os.value)&&void 0!==e&&e.length&&(ks.value=(ks.value+1)%(null===Os||void 0===Os||null===(t=Os.value)||void 0===t?void 0:t.length),null===Is||void 0===Is||null===(n=Is.value[ks.value])||void 0===n||n.scrollIntoView(!1))},Ss=()=>{_s(ks.value)},_s=e=>{var t;if(null===bs||void 0===bs||null===(t=bs.value)||void 0===t||!t.length)return;const n=null===bs||void 0===bs?void 0:bs.value[e];n&&js.value&&js.value({id:null===n||void 0===n?void 0:n.userID,label:(null===n||void 0===n?void 0:n.nick)||(null===n||void 0===n?void 0:n.userID)})},Ds=Object(M["defineComponent"])({props:{memberList:{type:Array,default:()=>[]},isGroup:{type:Boolean,default:!1},selfInfo:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e){const{memberList:t,isGroup:n,selfInfo:o}=Object(M["toRefs"])(e),a={userID:ao["a"].TYPES.MSG_AT_ALL,nick:"所有人",isAll:!0,avatar:vs.a},i=Object(M["ref"])();Object(M["watchEffect"])(()=>{gs.value=gs.value&&n.value,ws.value=e.isH5}),Object(M["watch"])(()=>t.value,()=>{var e,n,i;null!==t&&void 0!==t&&null!==(e=t.value[0])&&void 0!==e&&e.isAll||(null===t||void 0===t||null===(i=t.value)||void 0===i||i.unshift(a));const s=null===t||void 0===t||null===(n=t.value)||void 0===n?void 0:j()(n).call(n,e=>{var t;return(null===e||void 0===e?void 0:e.userID)!==(null===o||void 0===o||null===(t=o.value)||void 0===t?void 0:t.userID)});bs.value=s,Os.value=s},{deep:!0,immediate:!0}),Object(M["watch"])(()=>[ys.value,null===fs||void 0===fs?void 0:fs.value],()=>{var e;!ws.value&&null!==fs&&void 0!==fs&&fs.value&&null!==fs&&void 0!==fs&&null!==(e=fs.value)&&void 0!==e&&e.style&&(fs.value.style.left=ys.value.left+"px",fs.value.style.top=ys.value.top-fs.value.clientHeight+"px")},{deep:!0,immediate:!0});const s=()=>{gs.value=!1,Os.value=bs.value,ys.value={left:0,top:0}};return Object(wn["onClickOutside"])(i,()=>{s()}),{selectedIndex:ks,selectItem:_s,showAtList:gs,closeAt:s,showMemberList:Os,allMemberList:bs,MessageInputAt:fs,memberListItems:Is,dialog:i}}});var Ns=Ds;n("4712");const Us=me()(Ns,[["render",ms],["__scopeId","data-v-29169fdf"]]);var Bs=Us,Ms=Object(M["defineComponent"])({__name:"message-input-editor",props:{placeholder:{type:String,default:"this is placeholder"},replayOrReferenceMessage:{type:Object,default:()=>({})},isMute:{type:Boolean,default:!0},muteText:{type:String,default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableDragUpload:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},isH5:{type:Boolean,default:!0},isGroup:{type:Boolean,default:!1}},emits:["sendMessage","onTyping"],setup(e,{expose:t,emit:n}){const o=e,i=n,{placeholder:s,isH5:r,enableAt:l,enableDragUpload:c,isGroup:d,enableTyping:u}=Object(M["toRefs"])(o),p=Object(M["ref"])(!0),m=Object(M["ref"])(!0),h=Object(Qi["b"])({extensions:[Xi["a"],es["a"],ns["a"],ts["a"].configure({emptyEditorClass:"is-editor-empty",placeholder:s.value}),os["a"].configure({HTMLAttributes:{class:"mention"},suggestion:l.value&&Es()}),ss.configure({inline:!0,allowBase64:!0,HTMLAttributes:{class:"custom-image"}})],autofocus:!0,editable:!0,injectCSS:!1,onUpdate({editor:e,transaction:t}){var n;u.value&&!d.value&&(m.value=!e.isFocused,(null===t||void 0===t||null===(n=t.doc)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.size)>2?p.value=!1:p.value=!0,i("onTyping",p.value,m.value))},onFocus(){var e;if(r.value&&null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style){const e=document.body.scrollHeight-window.innerHeight;document.getElementById("app").style.marginBottom=e+"px",document.getElementById("app").style.height=`calc(100% - ${e}px)`}u.value&&!d.value&&(m.value=!0,i("onTyping",p.value,m.value))},onBlur(){var e;r.value&&null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style&&(document.getElementById("app").style.marginBottom="",document.getElementById("app").style.height="100%"),u.value&&!d.value&&(m.value=!0,i("onTyping",p.value,m.value))}}),v=Object(M["ref"])(),f=e=>{var t;null!==r&&void 0!==r&&r.value||(null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),13===e.keyCode&&e.ctrlKey?null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent("

"):13===e.keyCode&&i("sendMessage"))},b=new qi.a,y=async(e,t)=>{if(e.preventDefault(),e.stopPropagation(),!r.value&&(null!==c&&void 0!==c&&c.value||"drop"!==t)&&("drop"===t&&e.dataTransfer||"paste"===t&&e.clipboardData)){var n,o;const s="drop"===t?null===e||void 0===e||null===(n=e.dataTransfer)||void 0===n?void 0:n.files:null===e||void 0===e||null===(o=e.clipboardData)||void 0===o?void 0:o.files;for(let e=0;e{var e,t;null===h||void 0===h||null===(e=h.value)||void 0===e||null===(e=e.commands)||void 0===e||e.focus("end"),null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.scrollIntoView()},10)}}},j=new qi.a,k=(e,t)=>new g.a((n,o)=>{if(j.has(t))n(j.get(t));else{let a=new Image;a.crossOrigin="anonymous",a.onload=()=>{j.set(t,a),n(a)},a.onerror=o,a.src=e}}),I=async e=>{const{name:t,type:n}=e,o=document.createElement("canvas");let a=160,i=50;o.style.width=a+"px",o.style.height=i+"px";var s=window.devicePixelRatio;o.width=Math.floor(a*s),o.height=Math.floor(i*s);const r=o.getContext("2d");if(!r)return"";r.scale(s,s);const{iconSrc:l,iconType:c}=w(n),d=await k(l,c);null===r||void 0===r||r.drawImage(d,10,10,30,30);const u=E(t);r.fillText(u,45,22);const p=o.toDataURL();return p},w=e=>{const t="https://web.sdk.qcloud.com/component/TUIKit/assets/file-",n=["image","pdf","text","ppt","presentation","sheet","zip","word","video","unknown"];let o="",i="";return a()(n).call(n,n=>{re()(e).call(e,n)&&(o=t+n+".svg",i=n)}),{iconSrc:o||t+"unknown.svg",iconType:i||"unknown"}},E=e=>{if(!e)return e;let t="",n=0;for(let o=0;o<(null===e||void 0===e?void 0:e.length);o++){if(n>16){t+="...";break}t+=e[o],/[a-z]|[0-9]|[,;.!@#-+/\\$%^*()<>?:"'{}~]/i.test(e[o])?n+=1:n+=2}return t},C=()=>T(),T=()=>{var e;const t=null===h||void 0===h||null===(e=h.value)||void 0===e?void 0:e.getJSON(),n=[],o=e=>{var t;e&&e.type&&("text"===e.type||"custom-image"===e.type||"mention"===e.type?i(e):("paragraph"===e.type&&i(e),e.content&&e.content.length&&a()(t=e.content).call(t,e=>{o(e)})))},i=e=>{var t,o,a,i;if("paragraph"===e.type)n.length>0&&n[n.length-1]&&"text"===(null===(i=n[n.length-1])||void 0===i?void 0:i.type)&&(n[n.length-1].payload.text+="\n");else if("text"===e.type||"custom-image"===e.type&&"emoji"===(null===e||void 0===e||null===(t=e.attrs)||void 0===t?void 0:t.class)){var s,r;const t="text"===e.type?null===e||void 0===e?void 0:e.text:null===e||void 0===e||null===(s=e.attrs)||void 0===s?void 0:s.alt;n.length>0&&n[n.length-1]&&"text"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?n[n.length-1].payload.text+=t:n.push({type:"text",payload:{text:t}})}else if("custom-image"===e.type&&"normal"===(null===e||void 0===e||null===(o=e.attrs)||void 0===o?void 0:o.class)){var l;n.push({type:"image",payload:{file:null===b||void 0===b?void 0:b.get(null===e||void 0===e||null===(l=e.attrs)||void 0===l?void 0:l.src)}})}else if("custom-image"===e.type&&"file"===(null===e||void 0===e||null===(a=e.attrs)||void 0===a?void 0:a.class)){var c,d;const t=null===b||void 0===b?void 0:b.get(null===e||void 0===e||null===(c=e.attrs)||void 0===c?void 0:c.src);n.push({type:null!==t&&void 0!==t&&null!==(d=t.type)&&void 0!==d&&re()(d).call(d,"video")?"video":"file",payload:{file:t}})}else if("mention"===e.type){var u,p,m;const t="@"+(null===e||void 0===e||null===(u=e.attrs)||void 0===u?void 0:u.label)+" ";var h,v,f;if(n.length>0&&n[n.length-1]&&"text"===(null===(p=n[n.length-1])||void 0===p?void 0:p.type)?n[n.length-1].payload.text+=t:n.push({type:"text",payload:{text:t}}),null!==(m=n[n.length-1])&&void 0!==m&&null!==(m=m.payload)&&void 0!==m&&m.atUserList)null===(h=n[n.length-1])||void 0===h||null===(h=h.payload)||void 0===h||null===(h=h.atUserList)||void 0===h||h.push(null===e||void 0===e||null===(v=e.attrs)||void 0===v?void 0:v.id);else n[n.length-1].payload.atUserList=[null===e||void 0===e||null===(f=e.attrs)||void 0===f?void 0:f.id]}};return o(t),n},S=e=>{var t,n,o;null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent({type:"custom-image",attrs:{src:null===e||void 0===e?void 0:e.url,alt:null===e||void 0===e?void 0:e.name,title:null===e||void 0===e?void 0:e.name,class:"emoji"}}),null===h||void 0===h||null===(n=h.value)||void 0===n||n.commands.focus("end"),null===h||void 0===h||null===(o=h.value)||void 0===o||null===(o=o.commands)||void 0===o||o.scrollIntoView()},_=()=>{var e,t;null===h||void 0===h||null===(e=h.value)||void 0===e||null===(e=e.commands)||void 0===e||e.clearContent(!0),null===b||void 0===b||b.clear(),null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.focus("end"),m.value=!0,p.value=!0},D=e=>{var t;null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent(e)};return t({getEditorContent:C,addEmoji:S,resetEditor:_,setEditorContent:D}),(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input-container",Object(M["unref"])(r)&&"message-input-container-h5"])},[Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"message-input-mute"},Object(M["toDisplayString"])(t.$t("TUIChat."+e.muteText)),513),[[M["vShow"],e.isMute]]),Object(M["withDirectives"])(Object(M["createVNode"])(Object(M["unref"])(Qi["a"]),{editor:Object(M["unref"])(h),class:"message-input-area",ref_key:"editorContainer",ref:v,onDrop:n[0]||(n[0]=e=>y(e,"drop")),onPaste:n[1]||(n[1]=e=>y(e,"paste")),onKeydown:Object(M["withKeys"])(f,["enter"])},null,8,["editor"]),[[M["vShow"],!e.isMute&&e.enableInput]])],2))}});n("3a39c"),n("7d94");const xs=me()(Ms,[["__scopeId","data-v-712924cc"]]);var Vs=xs;const Ls={class:"message-input-button-hover"};var Rs=Object(M["defineComponent"])({__name:"message-input-button",props:{enableSend:{type:Boolean,default:!0},messages:{type:Array,default:()=>[]},isH5:{type:Boolean,default:!0}},emits:["sendMessage"],setup(e,{emit:t}){const n=e,{enableSend:o}=Object(M["toRefs"])(n),a=t,i=()=>{a("sendMessage")};return(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input-button",e.isH5&&"message-input-button-h5"])},[Object(M["unref"])(o)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"message-input-button-cont","data-type":"text",onClick:i,disabled:!1},[Object(M["createElementVNode"])("p",Ls,Object(M["toDisplayString"])(t.$t("TUIChat.按Enter发送,Ctrl+Enter换行")),1),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(t.$t("发送")),1)])):Object(M["createCommentVNode"])("",!0)],2))}});n("3e72");const Ps=me()(Rs,[["__scopeId","data-v-58e1a202"]]);var As=Ps;const Gs={key:0,class:"reference"},Hs={class:"reference-box"},zs={class:"reference-box-show"},Fs={class:"reference-box-show-name"},$s={key:1,class:"reply"},Ys={class:"reply-box"},Ks={class:"reply-box-show"};var Ws=Object(M["defineComponent"])({__name:"message-input-reference-or-reply",props:{replyOrReference:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},emits:["resetReplyOrReference"],setup(e,{emit:t}){const n=e,o=t,{replyOrReference:a,isH5:i}=Object(M["toRefs"])(n),s=()=>{o("resetReplyOrReference")};return(e,t)=>{var n,o,r,l,c,d,u,p,m,h,v,f,g,b,O;return null!==(n=Object(M["unref"])(a))&&void 0!==n&&n.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["reference"===(null===(o=Object(M["unref"])(a))||void 0===o?void 0:o.show)&&"message-input-reference","reply"===(null===(r=Object(M["unref"])(a))||void 0===r?void 0:r.show)&&"message-input-reply",Object(M["unref"])(i)&&"reference"===(null===(l=Object(M["unref"])(a))||void 0===l?void 0:l.show)&&"message-input-reference-h5",Object(M["unref"])(i)&&"reply"===(null===(c=Object(M["unref"])(a))||void 0===c?void 0:c.show)&&"message-input-reply-h5"])},["reference"===(null===(d=Object(M["unref"])(a))||void 0===d?void 0:d.show)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gs,[Object(M["createElementVNode"])("div",Hs,[Object(M["createElementVNode"])("div",zs,[Object(M["createElementVNode"])("span",Fs,Object(M["toDisplayString"])(null!==(u=Object(M["unref"])(a))&&void 0!==u&&null!==(u=u.message)&&void 0!==u&&u.nick?null===(p=Object(M["unref"])(a))||void 0===p||null===(p=p.message)||void 0===p?void 0:p.nick:null===(m=Object(M["unref"])(a))||void 0===m||null===(m=m.message)||void 0===m?void 0:m.from)+": ",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(h=Object(M["unref"])(a))||void 0===h?void 0:h.content),1)]),Object(M["createElementVNode"])("label",{class:"icon icon-cancel",onClick:s})])])):"reply"===(null===(v=Object(M["unref"])(a))||void 0===v?void 0:v.show)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",$s,[Object(M["createElementVNode"])("div",Ys,[t[0]||(t[0]=Object(M["createElementVNode"])("i",null,null,-1)),Object(M["createElementVNode"])("div",Ks,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null!==(f=Object(M["unref"])(a))&&void 0!==f&&null!==(f=f.message)&&void 0!==f&&f.nick?null===(g=Object(M["unref"])(a))||void 0===g||null===(g=g.message)||void 0===g?void 0:g.nick:null===(b=Object(M["unref"])(a))||void 0===b||null===(b=b.message)||void 0===b?void 0:b.from)+Object(M["toDisplayString"])(Object(M["unref"])(i)?":":""),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(O=Object(M["unref"])(a))||void 0===O?void 0:O.content),1)]),Object(M["createElementVNode"])("label",{class:"icon icon-cancel",onClick:s})])])):Object(M["createCommentVNode"])("",!0)],2)):Object(M["createCommentVNode"])("",!0)}}});n("aeac");const qs=me()(Ws,[["__scopeId","data-v-1333615b"]]);var Zs=qs,Js=Object(M["defineComponent"])({__name:"index",props:{placeholder:{type:String,default:"this is placeholder"},conversation:{type:Object,default:()=>({})},isDisabled:{type:Boolean,default:()=>!0},replyOrReference:{type:Object,default:()=>({})},isGroup:{type:Boolean,default:!1},memberList:{type:Array,default:()=>[]},isMute:{type:Boolean,default:!0},muteText:{type:String,default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableDragUpload:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},env:{type:Object,default:()=>({})}},emits:["sendMessage","resetReplyOrReference","onTyping"],setup(e,{expose:t,emit:n}){var o;const i=e,s=n,{placeholder:r,isGroup:l,memberList:c,conversation:d,replyOrReference:u,env:p,enableTyping:m}=Object(M["toRefs"])(i),h=Object(M["ref"])(),f=Object(M["ref"])(null===i||void 0===i||null===(o=i.env)||void 0===o?void 0:o.isH5);Object(M["watch"])(()=>d.value,(e,t)=>{var n;(null===e||void 0===e?void 0:e.conversationID)!==(null===t||void 0===t?void 0:t.conversationID)&&(null===h||void 0===h||null===(n=h.value)||void 0===n||n.resetEditor())},{immediate:!0});const g=async()=>{var e,t,n;const o=null===(e=window)||void 0===e||null===(e=e.TUIKitTUICore)||void 0===e||null===(e=e.TUIServer)||void 0===e?void 0:e.TUIChat,i=null===h||void 0===h||null===(t=h.value)||void 0===t?void 0:t.getEditorContent(),r=u.value;await(null===i||void 0===i?void 0:a()(i).call(i,async e=>{var t,n,a,i;try{let p,m;switch(p=O(p),null===e||void 0===e?void 0:e.type){case"text":var l,c,d,u;if(p=y(p),null!==e&&void 0!==e&&null!==(t=e.payload)&&void 0!==t&&t.atUserList)m=await(null===o||void 0===o?void 0:o.sendTextAtMessage({text:JSON.parse(v()(null===e||void 0===e||null===(l=e.payload)||void 0===l?void 0:l.text)),atUserList:null===e||void 0===e||null===(c=e.payload)||void 0===c?void 0:c.atUserList},p));else m=await(null===o||void 0===o?void 0:o.sendTextMessage(JSON.parse(v()(null===e||void 0===e||null===(d=e.payload)||void 0===d?void 0:d.text)),p));if("reply"===(null===r||void 0===r?void 0:r.show))await o.replyMessage(null===(u=m)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.message);break;case"image":await(null===o||void 0===o?void 0:o.sendImageMessage(null===e||void 0===e||null===(n=e.payload)||void 0===n?void 0:n.file));break;case"video":await(null===o||void 0===o?void 0:o.sendVideoMessage(null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.file));break;case"file":await(null===o||void 0===o?void 0:o.sendFileMessage(null===e||void 0===e||null===(i=e.payload)||void 0===i?void 0:i.file));break;default:break}s("sendMessage")}catch(m){Object(En["b"])(m,p.value)}})),null===h||void 0===h||null===(n=h.value)||void 0===n||n.resetEditor(),I()},b=(e,t)=>{s("onTyping",e,t)},O=e=>(m.value&&(e||(e={}),e.messageFeature={needTyping:1,version:1}),e),y=e=>{var t,n,o,a,i,s,r,l;if("reply"!==(null===u||void 0===u||null===(t=u.value)||void 0===t?void 0:t.show)&&"reference"!==(null===u||void 0===u||null===(n=u.value)||void 0===n?void 0:n.show))return e;if(e||(e={}),e.messageReply={messageAbstract:null===u||void 0===u||null===(o=u.value)||void 0===o?void 0:o.content,messageSender:(null===u||void 0===u||null===(a=u.value)||void 0===a||null===(a=a.message)||void 0===a?void 0:a.nick)||(null===u||void 0===u||null===(i=u.value)||void 0===i||null===(i=i.message)||void 0===i?void 0:i.from),messageID:null===u||void 0===u||null===(s=u.value)||void 0===s||null===(s=s.message)||void 0===s?void 0:s.ID,messageType:null===u||void 0===u||null===(r=u.value)||void 0===r?void 0:r.type,version:1},"reply"===(null===u||void 0===u||null===(l=u.value)||void 0===l?void 0:l.show))try{var c,d;if(e.messageReply.messageRootID=null===u||void 0===u||null===(c=u.value)||void 0===c||null===(c=c.message)||void 0===c?void 0:c.ID,null!==u&&void 0!==u&&null!==(d=u.value)&&void 0!==d&&null!==(d=d.message)&&void 0!==d&&d.cloudCustomData){var p,m,h;const t=Object(U["a"])(null===u||void 0===u||null===(p=u.value)||void 0===p||null===(p=p.message)||void 0===p?void 0:p.cloudCustomData);e.messageReply.messageRootID=(null===t||void 0===t||null===(m=t.messageReply)||void 0===m?void 0:m.messageRootID)||(null===u||void 0===u||null===(h=u.value)||void 0===h||null===(h=h.message)||void 0===h?void 0:h.ID)}}catch(v){console.warn(v)}return e},k=e=>{var t;null===h||void 0===h||null===(t=h.value)||void 0===t||t.addEmoji(e)},I=()=>{s("resetReplyOrReference")},w=e=>{var t,n;null===h||void 0===h||null===(t=h.value)||void 0===t||t.resetEditor(),I(),null===h||void 0===h||null===(n=h.value)||void 0===n||n.setEditorContent(e)};return t({addEmoji:k,reEdit:w}),(t,n)=>{var o,a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input",f.value&&"message-input-h5"])},[e.isDisabled?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createVNode"])(Vs,{ref_key:"editor",ref:h,isH5:f.value,placeholder:Object(M["unref"])(r),isGroup:Object(M["unref"])(l),isMute:e.isMute,muteText:e.muteText,enableInput:e.enableInput,enableAt:e.enableAt,enableTyping:Object(M["unref"])(m),enableDragUpload:e.enableDragUpload,onSendMessage:g,onOnTyping:b},null,8,["isH5","placeholder","isGroup","isMute","muteText","enableInput","enableAt","enableTyping","enableDragUpload"]),e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(As,{key:0,isH5:f.value,onSendMessage:g},null,8,["isH5"])),e.enableAt?(Object(M["openBlock"])(),Object(M["createBlock"])(Bs,{key:1,memberList:j()(o=Object(M["unref"])(c)).call(o,e=>{var t;return-1===(null===e||void 0===e?void 0:_()(t=e.userID).call(t,"admin"))}),isGroup:Object(M["unref"])(l),selfInfo:null===(a=Object(M["unref"])(d))||void 0===a||null===(a=a.groupProfile)||void 0===a?void 0:a.selfInfo,isH5:f.value},null,8,["memberList","isGroup","selfInfo","isH5"])):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(Zs,{replyOrReference:Object(M["unref"])(u),isH5:f.value,onResetReplyOrReference:I},null,8,["replyOrReference","isH5"])],64)):Object(M["createCommentVNode"])("",!0)],2)}}});n("7a54");const Qs=me()(Js,[["__scopeId","data-v-030d6bb0"]]);var Xs=Qs,er=Xs,tr=n("fdc9"),nr=n("bc3a"),or=n.n(nr),ar=n("4328"),ir=n.n(ar);sessionStorage.getItem("tokenF");const{urlF:sr,tokenF:rr}=_e["a"],lr=or.a.create({timeout:4e4,baseURL:"",headers:{"Content-Type":"application/json","X-Access-Token":rr+"",...cr()}});function cr(){let e={};return"QH"==(null===_e["a"]||void 0===_e["a"]?void 0:_e["a"].vitePlatform)&&(e={"X-ClientSign":"Quarry"}),e}let dr=(sr+"").replace("lol","://");const ur=(e,t)=>new g.a((n,o)=>{lr.get(`${dr}${e}${ir.a.stringify(t)?"?"+ir.a.stringify(t):""}`,t).then(e=>{n(e.data)}).catch(e=>{o(e)})}),pr=(e,t)=>new g.a((n,o)=>{lr.post(`${dr}${e}`,t).then(e=>{n(e.data)}).catch(e=>{o(e)})});var mr=n("c9a1"),hr=n("3ef4");const vr=Object(M["defineComponent"])({name:"TUIChat",methods:{handleMergerMessageShowContext:U["l"],handleCustomMessageShowContext:U["g"],handleLocationMessageShowContext:U["k"],handleFaceMessageShowContext:U["h"],handleFileMessageShowContext:U["i"],handleAudioMessageShowContext:U["e"],handleVideoMessageShowContext:U["t"]},components:{MessageMerger:wt,MessageVideo:ze,MessageFile:at,MessageLocation:gt,MessageCustom:cn,MessageFace:dt,MessageAudio:We,MessageImage:Ue,MessageText:ve,MessageSystem:_o,MessageTimestamp:Go,Manage:Fi,MessageInput:er,MessageItem:Ro},props:{isMsgNeedReadReceipt:{type:Boolean,default:!1},isNeedTyping:{type:Boolean,default:!0},isNeedEmojiReact:{type:Boolean,default:!0}},setup(e,t){var n,o,i,r;const{TUIServer:c}=vr,d=(null===c||void 0===c||null===(n=c.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||n.TUIGroup,null===c||void 0===c||null===(o=c.TUICore)||void 0===o||null===(o=o.TUIServer)||void 0===o||o.TUIProfile,c.TUICore.isOfficial&&sn["c"]&&Object(sn["c"])()||{}),{t:p}=window.TUIKitTUICore.config.i18n.useI18n(),m=Object(M["reactive"])({messageList:[],conversation:{},text:"",atText:"",types:c.TUICore.TIM.TYPES,currentMessage:{},dialogID:"",forwardStatus:!1,receiptDialogStatus:!1,repliesDialogStatus:!1,showImagePreview:!1,currentImagePreview:{},isCompleted:!1,userInfoView:!1,userInfo:{isGroup:!1,list:[]},selfInfo:{},messageComponents:hd("message"),isShow:!1,muteText:"您已被管理员禁言",isFirstSend:!0,isFirstRender:!0,showGroupMemberList:!1,reference:{message:{},content:"",type:0,show:""},historyReference:!1,referenceID:"",allMemberList:[],env:c.TUICore.TUIEnv,showResend:!1,resendMessage:{},inputBlur:!1,inputComposition:!1,inputCompositionCont:"",needTyping:e.isNeedTyping,needReadReceipt:!1,peerNeedReceipt:!1,needToBottom:!1,toBottomTipCont:"",messageInView:[],readSet:new ie.a,isUserAction:!1,scroll:{scrollTop:0,scrollHeight:0,scrollTopMin:1/0,scrollTopMax:0},isMsgNeedReadReceipt:!1,isNeedEmojiReact:!1,dropDownRef:null,typingRef:null,upTabIndex:"0",hrefParams:{}}),h=!!Object(M["useSlots"])().default,f=async e=>{var t;e&&await(null===c||void 0===c||null===(t=c.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||null===(t=t.TUIConversation)||void 0===t?void 0:t.setMessageRead(e))},g=async e=>{var t;const n=j()(e).call(e,e=>"in"===(null===e||void 0===e?void 0:e.flow)&&(null===e||void 0===e?void 0:e.needReadReceipt)&&!m.readSet.has(null===e||void 0===e?void 0:e.ID));n.length&&await(null===c||void 0===c?void 0:c.sendMessageReadReceipt(n).then(()=>{a()(n).call(n,e=>m.readSet.add(null===e||void 0===e?void 0:e.ID))})),await f(null===m||void 0===m||null===(t=m.conversation)||void 0===t?void 0:t.conversationID)},b=[];a()(i=s()(hd("send"))).call(i,e=>{"Call"===e&&"expert"===_e["a"].isSpecialized||"Evaluate"===e||"Words"===e||b.push(e)}),Fi.TUIServer=c,Fi.GroupServer=null===c||void 0===c||null===(r=c.TUICore)||void 0===r||null===(r=r.TUIServer)||void 0===r?void 0:r.TUIGroup;const y=Object(M["ref"])(),k=Object(M["ref"])(),w=Object(M["ref"])(),E=Object(M["ref"])(),C=Object(M["ref"])();u()(c).call(c,m);const T={list:[],handleAvatar:U["f"],handleName:U["m"]},S=Object(M["ref"])();Object(wn["onClickOutside"])(S,()=>{m.showGroupMemberList=!1});const D=Object(M["computed"])(()=>{const{conversation:e}=m;return null!==e&&void 0!==e&&e.conversationID?(null===e||void 0===e?void 0:e.type)===c.TUICore.TIM.TYPES.CONV_SYSTEM?"system":"chat":""}),N=Object(M["computed"])(()=>{const{conversation:e}=m;if((null===e||void 0===e?void 0:e.type)===c.TUICore.TIM.TYPES.CONV_GROUP){var t,n,o;const a=null===e||void 0===e||null===(t=e.groupProfile)||void 0===t?void 0:t.selfInfo.role,i=a===c.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;if(i&&null!==e&&void 0!==e&&null!==(n=e.groupProfile)&&void 0!==n&&n.muteAllMembers)return!0;const s=(new Date).getTime();if(1e3*(null===(o=m.selfInfo)||void 0===o?void 0:o.muteUntil)-s>0)return!0}return!1});Object(M["watchEffect"])(()=>{m.isMsgNeedReadReceipt=e.isMsgNeedReadReceipt,m.needReadReceipt=m.isMsgNeedReadReceipt,m.needTyping=e.isNeedTyping,m.isNeedEmojiReact=e.isNeedEmojiReact}),Object(M["watch"])(()=>{var e;return null===m||void 0===m||null===(e=m.conversation)||void 0===e?void 0:e.conversationID},(e,t)=>{e!==t&&(m.scroll.scrollTop=0,m.scroll.scrollHeight=0,m.scroll.scrollTopMin=1/0,m.scroll.scrollTopMax=0,m.text="",m.atText="",m.reference={message:{},content:"",type:0,show:""})},{deep:!0}),Object(M["watch"])(N,(e,t)=>{const{conversation:n}=m;if(e&&(null===n||void 0===n?void 0:n.type)===c.TUICore.TIM.TYPES.CONV_GROUP){var o,a,i;const e=null===n||void 0===n||null===(o=n.groupProfile)||void 0===o?void 0:o.selfInfo.role,t=e===c.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;t&&null!==n&&void 0!==n&&null!==(a=n.groupProfile)&&void 0!==a&&a.muteAllMembers&&(m.muteText="管理员开启全员禁言");const s=(new Date).getTime();1e3*(null===(i=m.selfInfo)||void 0===i?void 0:i.muteUntil)-s>0&&(m.muteText="您已被管理员禁言")}});const B=Object(M["computed"])(()=>{const{conversation:e}=m;return Object(U["m"])(e)}),x=Object(M["computed"])(()=>{var e;return j()(e=m.messageList).call(e,e=>!e.isDeleted&&!Object(U["v"])(e))}),V=Object(M["computed"])(()=>{var e;return null===x||void 0===x||null===(e=x.value)||void 0===e?void 0:j()(e).call(e,e=>!e.isRevoked&&e.type===m.types.MSG_IMAGE)}),L=Object(M["ref"])([]),R=Object(M["ref"])([]),P=Object(M["ref"])("");function A(e){let t={};for(let n in e){let o=n.substring(0,1).toLowerCase()+n.substring(1);if(t[o]=e[n],"imageInfoArray"===o){for(let e=0;e{var t;200==e.code?(L.value=l()(t=e.result).call(t,e=>{var t,n;e["ID"]=e.id;let o=e.msgcontent;return"1"==_e["a"].isOvertime&&(o=v()(JSON.parse(e.msgcontent).MsgBody)),e["payload"]=o&&JSON.parse(o).length>0?A(null===(t=JSON.parse(o)[0])||void 0===t?void 0:t.MsgContent):"",e.contenttype===m.types.MSG_IMAGE&&(null===(n=R.value)||void 0===n||n.push(e)),e}),P.value=L.value.length>0?"":"暂无数据"):(L.value=[],R.value=[],P.value="暂无数据")}).catch(e=>{console.log(e),P.value="暂无数据"});const G=Object(M["computed"])(()=>{const{conversation:e,needReadReceipt:t}=m;return!((null===e||void 0===e?void 0:e.type)!==c.TUICore.TIM.TYPES.CONV_C2C&&!t)});Object(M["watch"])(x,(e,t)=>{if(Object(M["nextTick"])(()=>{var n,o;const a=(null===(n=e[e.length-1])||void 0===n?void 0:n.ID)===(null===(o=t[t.length-1])||void 0===o?void 0:o.ID);0===e.length||a||ce()}),m.currentMessage){var n;const t=null===(n=m.currentMessage)||void 0===n?void 0:n.ID,o=I()(e).call(e,e=>e.ID===t);o&&(m.currentMessage=Object(U["b"])(o))}if(m.historyReference&&x.value){for(let e=0;em.scroll.scrollTop,e=>{O()(()=>{var t;e===(null===y||void 0===y||null===(t=y.value)||void 0===t?void 0:t.scrollTop)&&(m.scroll.scrollTopMin!==1/0&&0!==m.scroll.scrollTopMax&&he("scroll"),m.scroll.scrollTopMin=1/0,m.scroll.scrollTopMax=0)},20)},{deep:!0}),Object(M["onMounted"])(()=>{Object(M["watch"])(()=>null===y||void 0===y?void 0:y.value,()=>{null!==y&&void 0!==y&&y.value&&y.value.addEventListener("scroll",pe)},{deep:!0}),m.hrefParams=Ie()});const H=e=>{var t;null===C||void 0===C||null===(t=C.value)||void 0===t||t.addEmoji(e)},z=async e=>{m.isFirstSend&&(an.getInstance().reportEvent({name:"sendMessage",ext1:"sendMessage-success"}),m.isFirstSend=!1),m.reference.show="",c.TUICore.isOfficial&&(null===d||void 0===d?void 0:d.commit)&&(null===d||void 0===d||d.commit("handleTask",0))};function F(e,t){var n,o,a;let i=null!==t&&void 0!==t&&null!==(n=t.lastMessage)&&void 0!==n&&n.payload.hasOwnProperty("data")?JSON.parse(null===t||void 0===t||null===(o=t.lastMessage)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.data):{};"system"===(null===i||void 0===i?void 0:i.businessID)&&re()(a=[1,2]).call(a,null===i||void 0===i?void 0:i.type)||c.sendCustomMessage({data:e}).then(e=>{console.log(e)})}window.onmessage=e=>{const t=null!==e&&void 0!==e&&e.data?JSON.parse(null===e||void 0===e?void 0:e.data):{},{consultType:n,consultStatus:o}=$i["a"].getters.getConsultInfo;let a=!1;"C2C"===n&&(a=1*o>=5),"GROUP"===n&&(a=1*o>=4),a||"custom"===t.code&&F(t.data,m.conversation)};const $=e=>{m.currentMessage=e,m.dialogID=e.ID},Y=e=>{m.env.isH5?(m.showResend=!0,m.resendMessage=e):(c.resendMessage(e).catch(e=>{Object(En["b"])(e,m.env)}),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageResend"}))},K=e=>{m.currentMessage=e,T.list=c.TUICore.getStore().TUIConversation.conversationList,m.forwardStatus=!0},W=(e,t)=>{let n=Object(U["o"])(e);m.reference={message:e,content:null===n||void 0===n?void 0:n.referenceMessageForShow,type:null===n||void 0===n?void 0:n.referenceMessageType,show:t}},q=()=>{c.resendMessage(m.resendMessage).then(()=>{m.showResend=!1}).catch(e=>{Object(En["b"])(e,m.env),m.showResend=!1}),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageResend"})},Z=e=>{var t,n,o;null!==e&&void 0!==e&&null!==(t=e.payload)&&void 0!==t&&t.text&&(null===C||void 0===C||null===(n=C.value)||void 0===n||n.reEdit(null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.text))},J=e=>{c.handleGroupApplication(e)},Q=e=>{e.clipboardData.files[0]&&c.sendImageMessage(e.clipboardData.files[0])},X=async()=>{await c.getHistoryMessageList().then(()=>{var e;de("target",null===y||void 0===y||null===(e=y.value)||void 0===e?void 0:e.firstElementChild)})},ee=e=>{m.referenceID=e;const t=[];if(x.value)for(let a=0;a{w.value[a].getElementsByClassName("content")[0].classList.add("reference-content")}))}-1===_()(t).call(t,e)&&c.getHistoryMessageList().then(()=>{m.historyReference=!0})},te=()=>{m.showGroupMemberList=!m.showGroupMemberList},ne=()=>{c.TUICore.TUIServer.TUIConversation.handleCurrentConversation()},oe=e=>{window.open(e.url),an.getInstance().reportEvent({name:"openLink",ext1:e.label})},ae=(e,t)=>{var n;if(e&&t)switch(t){case"reference":W(e,t);break;case"reply":W(e,t);break;case"reedit":var o,a;if(null!==e&&void 0!==e&&null!==(n=e.payload)&&void 0!==n&&n.text)null===C||void 0===C||null===(o=C.value)||void 0===o||o.reEdit(null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.text);break;default:break}},se=async(e,t)=>{var n;if(null!==e&&void 0!==e&&e.ID&&t)switch(t){case"receipt":if(e.conversationType!==c.TUICore.TIM.TYPES.CONV_GROUP||0===(null===(n=e.readReceiptInfo)||void 0===n?void 0:n.unreadCount))return;m.currentMessage=e,m.receiptDialogStatus=!0;break;case"replies":m.currentMessage=e,m.repliesDialogStatus=!0;break;case"forward":m.currentMessage=e,T.list=c.TUICore.getStore().TUIConversation.conversationList,m.forwardStatus=!0;break;case"previewImage":m.showImagePreview=!m.showImagePreview,m.currentImagePreview=e;break;default:break}},le=async e=>{if(e)switch(e){case"receipt":m.currentMessage={},m.receiptDialogStatus=!1;break;case"replies":m.currentMessage={},m.repliesDialogStatus=!1;break;default:break}},ce=()=>{if(m.isFirstRender)return m.needToBottom=!1,de("bottom"),void(m.isFirstRender=!1);if(y.value&&x.value){var e;const{scrollHeight:t,scrollTop:n,clientHeight:o}=y.value;t-(n+o)<=o||"out"===(null===(e=x.value[x.value.length-1])||void 0===e?void 0:e.flow)?de("bottom"):me(!0)}},de=(e,t)=>{var n;switch(null===y||void 0===y||null===(n=y.value)||void 0===n||n.removeEventListener("scroll",pe),m.isUserAction=!0,e){case nn["a"].scrollType.toBottom:m.needToBottom=!1,Object(M["nextTick"])(()=>{var e,t;null!==m&&void 0!==m&&null!==(e=m.env)&&void 0!==e&&e.isH5?ue():null===y||void 0===y||null===(t=y.value)||void 0===t||null===(t=t.lastElementChild)||void 0===t||t.scrollIntoView(!1);Object(U["c"])(null===y||void 0===y?void 0:y.value,"message-img",async()=>{var e,t;null!==m&&void 0!==m&&null!==(e=m.env)&&void 0!==e&&e.isH5?ue():null===y||void 0===y||null===(t=y.value)||void 0===t||null===(t=t.lastElementChild)||void 0===t||t.scrollIntoView(!1);y.value.addEventListener("scroll",pe),await he("page")})});break;case nn["a"].scrollType.toTarget:Object(M["nextTick"])(()=>{null===t||void 0===t||t.scrollIntoView(!1),Object(U["c"])(null===y||void 0===y?void 0:y.value,"message-img",async()=>{null===t||void 0===t||t.scrollIntoView(!1),y.value.addEventListener("scroll",pe),await he("page")})});break;default:break}},ue=()=>{var e;null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style&&(document.getElementById("app").style.marginBottom="",document.getElementById("app").style.height="100%"),y.value.scrollTop=y.value.scrollHeight},pe=()=>{const{scrollHeight:e,scrollTop:t,clientHeight:n}=y.value;G.value&&(m.scroll.scrollHeight=e,m.scroll.scrollTop=t,m.scroll.scrollTopMin=m.isUserAction?m.scroll.scrollTopMin:Math.min(m.scroll.scrollTopMin,m.scroll.scrollTop),m.scroll.scrollTopMax=m.isUserAction?m.scroll.scrollTopMax:Math.max(m.scroll.scrollTopMax,m.scroll.scrollTop)),me(e-(t+n)>n),m.isUserAction=!1},me=e=>{var t,n;switch(e){case!0:var o;if(m.needToBottom=!0,null!==m&&void 0!==m&&null!==(t=m.conversation)&&void 0!==t&&t.unreadCount&&(null===m||void 0===m||null===(n=m.conversation)||void 0===n?void 0:n.unreadCount)>0)m.toBottomTipCont=`${null===m||void 0===m||null===(o=m.conversation)||void 0===o?void 0:o.unreadCount} ${p("TUIChat.条新消息")}`;else m.toBottomTipCont=p("TUIChat.回到最新位置");break;case!1:m.needToBottom=!1;break;default:m.needToBottom=!1;break}},he=async e=>{var t,n,o;if(!G.value)return void f(null===m||void 0===m||null===(o=m.conversation)||void 0===o?void 0:o.conversationID);m.messageInView.length&&(m.messageInView=[]);let a=0,i=0;switch(e){case nn["a"].inViewType.page:a=m.scroll.scrollTop,i=m.scroll.scrollTop+(null===y||void 0===y||null===(t=y.value)||void 0===t?void 0:t.clientHeight);break;case nn["a"].inViewType.scroll:a=m.scroll.scrollTopMin,i=m.scroll.scrollTopMax+(null===y||void 0===y||null===(n=y.value)||void 0===n?void 0:n.clientHeight);break;default:break}if(null!==w&&void 0!==w&&w.value&&x.value)for(let r=0;r<(null===w||void 0===w||null===(s=w.value)||void 0===s?void 0:s.length);r++){var s;if(ve(e,null===w||void 0===w?void 0:w.value[r],a,i)){const e=x.value[r];m.messageInView.push(e)}}await g(m.messageInView)},ve=(e,t,n,o)=>{const a=y.value.getBoundingClientRect().top,i=y.value.getBoundingClientRect().bottom,{top:s,bottom:r}=t.getBoundingClientRect(),{offsetTop:l,clientHeight:c}=t;switch(e){case nn["a"].inViewType.page:return Math.round(s)>=Math.round(a)&&Math.round(r)<=Math.round(i);case nn["a"].inViewType.scroll:return Math.round(l)>=Math.round(n)&&Math.round(l+c)<=Math.round(o);default:return!1}},fe=e=>{m.dropDownRef&&m.dropDownRef.removeChild(m.dropDownRef.children[0]),m.dropDownRef=e},ge=()=>{de("bottom")},be=e=>{m.showImagePreview=!m.showImagePreview,m.currentImagePreview=e},Oe=()=>{m.reference={message:{},content:"",type:0,show:""}},ye=(e,t)=>{var n;null===m||void 0===m||null===(n=m.typingRef)||void 0===n||n.onTyping(e,t)},je=e=>{tr["a"].emit("forHelp",e)},ke=e=>{var t;tr["a"].emit("forHelpDetail",null===e||void 0===e||null===(t=e.children)||void 0===t?void 0:t.orderId)},Ie=()=>{var e,t,n;const o=window.location.href.substring(_()(e=window.location.href).call(e,"?")+1,_()(t=window.location.href).call(t,"#/")),i={};return a()(n=o.split("&")).call(n,e=>{const t=e.substring(0,_()(e).call(e,"=")),n=e.substring(_()(e).call(e,"=")+1);i[t]=n}),i},we=e=>{mr["a"].confirm("是否结束当前咨询","提示",{confirmButtonText:"是",cancelButtonText:"否",type:"warning"}).then(()=>{var t;ur("/health-consultation/api/consult/conSession/finishSession",{id:null===e||void 0===e||null===(t=e.children)||void 0===t?void 0:t.id}).then(t=>{200===t.code?Object(hr["a"])({message:"当前咨询已结束",type:"success"}):Object(hr["a"])({message:t.message,type:"warning"}),tr["a"].emit("endConsult",e.conversationID)}).catch(e=>{console.log(e)})}).catch(()=>{})};function Ee(e){var t,n,o;if(console.log(e),null===e||void 0===e||null===(t=e.lastMessage)||void 0===t||!t.payload)return!0;let a=null!==e&&void 0!==e&&null!==(n=e.lastMessage)&&void 0!==n&&n.payload.hasOwnProperty("data")?JSON.parse(null===e||void 0===e||null===(o=e.lastMessage)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.data):{};var i;if("expert"!==_e["a"].isSpecialized)return"system"!==(null===a||void 0===a?void 0:a.businessID)||!re()(i=[1,2]).call(i,null===a||void 0===a?void 0:a.type);{var s;if("system"===(null===a||void 0===a?void 0:a.businessID)&&re()(s=[1,2]).call(s,null===a||void 0===a?void 0:a.type))return!1;const{consultType:e,consultStatus:t}=$i["a"].getters.getConsultInfo;return"C2C"===e?!(1*t>=5):!(1*t>=4)}}function Ce(e){var t;return e.avatar&&_()(t=e.avatar).call(t,",")===e.avatar.length-1&&(e.avatar=e.avatar.substring(0,e.avatar.length-1)),e}const Te=e=>{e&&se(e,"previewImage")};return{previewImage:Te,getDisabled:Ee,forHelp:je,forHelpDetail:ke,...Object(M["toRefs"])(m),conversationType:D,messages:x,messageEle:y,inputEle:k,messageInput:C,messageAimID:w,conversationData:T,conversationName:B,constant:nn["a"],reportMessageSend:z,handleTyping:ye,handleItem:$,handleEdit:Z,handleEditor:ae,getHistoryMessageList:X,handleApplication:J,pluginComponentList:b,handleSend:H,closeDialog:le,isMute:N,pasting:Q,setMessageRead:f,sendMessageReadReceipt:g,dialog:S,jumpID:ee,back:ne,slotDefault:h,toggleshowGroupMemberList:te,resendMessage:Y,submit:q,Link:Ki,openLink:oe,readReceiptDialog:E,scrollToTarget:de,needGroupReceipt:G,handleDropDownOpen:fe,isMessageTip:U["u"],showDialog:se,forwardMessage:K,referOrReplyMessage:W,handleUploadingImageOrVideo:ge,handleImagePreview:be,imageList:V,resetReplyOrReference:Oe,endConsult:we,getSrc:Ce,messagesNew:L,imageListNew:R,messagesIsNull:P,handleAvatar:U["f"],handleName:U["m"],getImgLoad:U["c"],isTypingMessage:U["v"],deepCopy:U["b"],handleReferenceForShow:U["o"],handleTextMessageShowContext:U["r"],handleImageMessageShowContext:U["j"]}}});var fr=vr;n("9785"),n("ee8f");const gr=me()(fr,[["render",oe],["__scopeId","data-v-e5d9bc3a"]]);var br=gr;const Or={class:"face",id:"face"},yr=["onClick"],jr=["src"],kr=["src"],Ir={class:"face-tab"},wr=["onClick"],Er=["src"];function Cr(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Or,[Object(M["createElementVNode"])("i",{class:"icon icon-face",title:"表情",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",{class:Object(M["normalizeClass"])(["face-main",[e.isH5&&"face-H5-main"]]),ref:"dialog"},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",{class:"face-list",key:n},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(t,(t,o)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:o,onClick:n=>e.select(t,o)},[0===n?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,src:e.emojiUrl+e.emojiMap[t]},null,8,jr)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"face-img",src:e.faceUrl+t+"@2x.png"},null,8,kr))],8,yr))),128))])),[[M["vShow"],e.currentIndex===n]])),128)),Object(M["createElementVNode"])("ul",Ir,[Object(M["createElementVNode"])("li",{class:"face-tab-item",onClick:t[1]||(t[1]=t=>e.selectFace(0))},t[2]||(t[2]=[Object(M["createElementVNode"])("i",{class:"icon icon-face"},null,-1)])),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.bigEmojiList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-tab-item",key:n,onClick:t=>e.selectFace(n+1)},[Object(M["createElementVNode"])("img",{src:e.faceUrl+t.list[0]+"@2x.png"},null,8,Er)],8,wr))),128))])],2),[[M["vShow"],e.show]])])}const Tr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1},parentID:{type:String,default:()=>""}},setup(e,t){var n;const o=Object(M["reactive"])({emojiUrl:io["d"],emojiMap:io["b"],emojiName:io["c"],faceUrl:io["e"],bigEmojiList:(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&io["a"]||[],show:!1,currentIndex:0,isMute:!1,transDom:!1}),a=Object(M["ref"])();Object(M["watchEffect"])(()=>{o.show=e.show,o.isMute=e.isMute});const i=()=>{const e=document.getElementsByClassName("face-main")[0];o.isMute||(e.style.display="none"===e.style.display?"flex":"none"),"none"===e.style.display&&c(0),s()},s=()=>{const t=document.getElementById(e.parentID),n=document.getElementsByClassName("face-H5-main")[0];e.isH5&&(null===t||void 0===t||t.appendChild(n))};Object(wn["onClickOutside"])(a,()=>{const e=document.getElementsByClassName("face-main")[0];e&&(e.style.display="none")});const r=async(n,a)=>{const s={name:n};if(0===o.currentIndex)return s.type="emo",s.url=io["d"]+io["b"][n],s.template=``,e.isH5||i(),t.emit("send",s);try{await Tr.TUIServer.sendFaceMessage({index:o.bigEmojiList[o.currentIndex-1].icon,data:o.bigEmojiList[o.currentIndex-1].list[a]}),an.getInstance().reportEvent({name:"messageType",ext1:"typeFace"})}catch(r){Object(En["b"])(r,e)}e.isH5||i()},l=Object(M["computed"])(()=>{const e=[o.emojiName];for(let t=0;t{o.currentIndex=e};return{...Object(M["toRefs"])(o),toggleShow:i,select:r,selectFace:c,list:l,dialog:a}}});var Sr=Tr;n("77ea");const _r=me()(Sr,[["render",Cr],["__scopeId","data-v-6807ca3c"]]);var Dr=_r,Nr=Dr;const Ur={class:"upload-btn icon icon-image"};function Br(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ur,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"图片",type:"file","data-type":"image",accept:"image/*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Mr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Mr.TUIServer.sendImageMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeImage"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var xr=Mr;n("b77c");const Vr=me()(xr,[["render",Br],["__scopeId","data-v-04b8e378"]]);var Lr=Vr,Rr=Lr;const Pr={class:"upload-btn icon icon-video"};function Ar(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Pr,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"视频",type:"file","data-type":"video",accept:"video/*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Gr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Gr.TUIServer.sendVideoMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeVideo"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var Hr=Gr;n("6e04");const zr=me()(Hr,[["render",Ar],["__scopeId","data-v-0b03faf8"]]);var Fr=zr,$r=Fr;const Yr={class:"upload-btn icon icon-files"};function Kr(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Yr,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"文件",type:"file","data-type":"file",accept:"*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Wr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Wr.TUIServer.sendFileMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeFile"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var qr=Wr;n("6a25");const Zr=me()(qr,[["render",Kr],["__scopeId","data-v-3082f8e4"]]);var Jr=Zr,Qr=Jr;function Xr(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Transfer");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",null,[e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["forward",[e.isH5?"forward-h5":""]]),ref:"dialog"},[Object(M["createVNode"])(s,{title:"转发",list:e.list,isSearch:!1,isH5:e.isH5,isCustomItem:!0,resultShow:!0,onSubmit:e.handleForWordMessage,onCancel:e.toggleShow},{left:Object(M["withCtx"])(({data:t})=>[Object(M["renderSlot"])(e.$slots,"left",{data:t},void 0,!0)]),right:Object(M["withCtx"])(({data:t})=>[Object(M["renderSlot"])(e.$slots,"right",{data:t},void 0,!0)]),_:3},8,["list","isH5","onSubmit","onCancel"])],2)):Object(M["createCommentVNode"])("",!0)])}const el=Object(M["defineComponent"])({components:{Transfer:La},name:"转发",props:{list:{type:Array,default:()=>[]},message:{type:Object,default:()=>({})},show:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({list:[],show:!1,to:-1}),o=Object(M["ref"])();Object(M["watchEffect"])(()=>{n.list=e.list,n.show=e.show});const a=()=>{n.show=!n.show,n.show||(t.emit("update:show",n.show),n.to=-1)};Object(wn["onClickOutside"])(o,()=>{n.show=!1,t.emit("update:show",n.show),n.to=-1});const i=async t=>{l()(t).call(t,async t=>{try{await el.TUIServer.forwardMessage(e.message,t)}catch(n){Object(En["b"])(n,e)}}),a()};return{...Object(M["toRefs"])(n),toggleShow:a,handleForWordMessage:i,dialog:o}}});var tl=el;n("8617");const nl=me()(tl,[["render",Xr],["__scopeId","data-v-f4db8228"]]);var ol=nl,al=ol;const il={class:"words-main-content",ref:"dialog"},sl={class:"words-list"},rl=["onClick"];function ll(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["words",[e.isH5?"words-H5":""]])},[Object(M["createElementVNode"])("i",{class:"icon icon-words",title:"快速回复",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",{class:Object(M["normalizeClass"])(["words-main",[e.isH5?"words-H5-main":""]])},[Object(M["createElementVNode"])("div",il,[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("Words.常用语-快捷回复工具")),1)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))},"关闭")):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("ul",sl,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"words-list-item",key:n,onClick:n=>e.select(t)},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(t.value),1)],8,rl))),128))])],512)],2),[[M["vShow"],e.show&&!e.isMute]])],2)}var cl=n("c7e2");const dl=Object(M["defineComponent"])({type:"custom",props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),o=[{value:"在吗?在吗?在吗?重要的话说三遍。"},{value:"好久没聊天了,快来和我说说话~"},{value:"好的,就这么说定了。"},{value:"感恩的心,感谢有你。"},{value:"糟糕!是心动的感觉!"},{value:"心疼地抱抱自己,我太难了!"},{value:"没关系,别在意,事情过去就过去了。"},{value:"早上好,今天也是让人期待的一天呢!"},{value:"熬夜有什么用,又没人陪你聊天,早点休息吧。"}],a=Object(M["reactive"])({list:[],show:!1,isMute:!1,locale:Object(cl["b"])()}),i=Object(M["ref"])();Object(M["watch"])(()=>a.locale,(e,t)=>{a.list=l()(o).call(o,e=>({value:n("Words."+e.value)}))}),Object(M["watchEffect"])(()=>{a.show=e.show,a.isMute=e.isMute});const s=()=>{a.show=!a.show,a.show&&(a.list=l()(o).call(o,e=>({value:n("Words."+e.value)})))};Object(wn["onClickOutside"])(i,()=>{a.show=!1});const r=(e,t)=>{const n=e.value;s(),dl.TUIServer.sendTextMessage(n)};return{...Object(M["toRefs"])(a),toggleShow:s,select:r,dialog:i}}});var ul=dl;n("ae69");const pl=me()(ul,[["render",ll],["__scopeId","data-v-dfa99d56"]]);var ml=pl,hl=ml;const vl={key:0,class:"evaluate-main"},fl={class:"evaluate-main-content",ref:"dialog"},gl={key:0},bl={class:"evaluate-content"},Ol={class:"evaluate-list"},yl=["onClick"],jl={key:0,class:"icon icon-star-light"},kl={key:1,class:"icon icon-star"},Il={class:"evaluate-main-footer"},wl={key:0};function El(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["evaluate",[e.isH5&&"evaluate-H5"]])},[Object(M["createElementVNode"])("i",{class:"icon icon-evaluate",title:"服务评价",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))}),e.show&&!e.isMute?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",vl,[Object(M["createElementVNode"])("div",fl,[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("Evaluate.请对本次服务进行评价")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",gl,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.服务评价工具"))+"("+Object(M["toDisplayString"])(e.$t("Evaluate.使用")),1),Object(M["createElementVNode"])("a",{onClick:t[1]||(t[1]=t=>e.openLink(e.Link.customMessage))},Object(M["toDisplayString"])(e.$t("Evaluate."+e.Link.customMessage.label)),1),Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.搭建"))+") ",1)])):Object(M["createCommentVNode"])("",!0)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))},"关闭")):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",bl,[Object(M["createElementVNode"])("ul",Ol,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["evaluate-list-item",[ne.select(t,n),["stop"])},[ne.options.data.comment=t)},null,512),[[M["vModelText"],e.options.data.comment]]),Object(M["createElementVNode"])("div",Il,[Object(M["createElementVNode"])("button",{class:"btn",onClick:t[4]||(t[4]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("Evaluate.提交评价")),1)])]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",wl,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.服务评价工具"))+"("+Object(M["toDisplayString"])(e.$t("Evaluate.使用")),1),Object(M["createElementVNode"])("a",{onClick:t[5]||(t[5]=t=>e.openLink(e.Link.customMessage))},Object(M["toDisplayString"])(e.$t("Evaluate."+e.Link.customMessage.label)),1),Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.搭建"))+") ",1)]))],512)])):Object(M["createCommentVNode"])("",!0)],2)}const Cl=Object(M["defineComponent"])({type:"custom",props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({link:"https://web.sdk.qcloud.com/im/doc/zh-cn//SDK.html#createCustomMessage",list:5,show:!1,isMute:!1,options:{data:{businessID:nn["a"].typeEvaluate,version:1,score:"",comment:""},description:"对本次的服务评价",extension:"对本次的服务评价"},num:0}),o=Object(M["ref"])();Object(wn["onClickOutside"])(o,()=>{n.show=!1}),Object(M["watchEffect"])(()=>{n.show=e.show,n.isMute=e.isMute});const a=()=>{n.show=!n.show,n.show&&(n.options={data:{...Object(U["n"])(nn["a"].typeEvaluate,1,{score:"",comment:""})},description:"对本次的服务评价",extension:"对本次的服务评价"},n.num=0)},i=(e,t)=>{n.num=t+1,n.options.data.score=""+n.num},s=()=>{Cl.TUIServer.sendCustomMessage(n.options),an.getInstance().reportEvent({name:"messageType",ext1:"typeCustom"}),a()},r=e=>{window.open(e.url),an.getInstance().reportEvent({name:"openLink",ext1:e.label})};return{...Object(M["toRefs"])(n),toggleShow:a,select:i,submit:s,dialog:o,Link:Ki,openLink:r}}});var Tl=Cl;n("a94d");const Sl=me()(Tl,[["render",El],["__scopeId","data-v-5e2a1c9e"]]);var _l=Sl,Dl=_l;const Nl={style:{display:"flex"}},Ul={key:0,style:{display:"flex","justify-content":"center","padding-top":"5px"}};function Bl(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Nl,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])("对方正在输入"===e.title?e.$t("TUIChat.对方正在输入"):e.title),1),e.doctorName&&"1"==(null===(s=e.conversation)||void 0===s||null===(s=s.children)||void 0===s?void 0:s.sessionType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ul," 专家:"+Object(M["toDisplayString"])(e.doctorName),1)):Object(M["createCommentVNode"])("",!0)]),"expert"!==e.hrefParams.isSpecialized&&e.hrefParams.isSpecialized&&"0"===e.upTabIndex?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"adv",onClick:t[0]||(t[0]=(...t)=>e.forHelp&&e.forHelp(...t))}," 救助意见 ")):Object(M["createCommentVNode"])("",!0),"expert"!==e.hrefParams.isSpecialized&&e.hrefParams.isSpecialized&&"0"===e.upTabIndex?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"adv",onClick:t[1]||(t[1]=(...t)=>e.endStatus&&e.endStatus(...t))}," 结束应急 ")):Object(M["createCommentVNode"])("",!0),e.hrefParams.isSpecialized&&"1"===e.upTabIndex?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:2,class:"adv",onClick:t[2]||(t[2]=(...t)=>e.bigInformation&&e.bigInformation(...t))}," 大病就医 ")):Object(M["createCommentVNode"])("",!0)])}const Ml=Object(M["defineComponent"])({props:{needTyping:{type:Boolean,default:!1},conversation:{type:Object,default:()=>({})},messageList:{type:Array,default:()=>[]},upTabIndex:{type:String,default:()=>"0"},isDisabled:{type:Boolean,default:!0}},setup(e,t){const n=Object(M["reactive"])({hrefParams:{},messageList:[],conversation:{},title:"",timeValid:0,myTypingStatus:0,otherTypingStatus:0,needTyping:!1,lastOtherMessageTime:0,lastMyTypingTime:0,lastOtherTypingTime:0,options:{data:{businessID:nn["a"].typeUserTyping,typingStatus:0,version:1,userAction:0,actionParam:nn["a"].typeInputStatusEnd},description:"",extension:""},chooseTab:"0"}),o=()=>{var e,t,n;const o=window.location.href.substring(_()(e=window.location.href).call(e,"?")+1,_()(t=window.location.href).call(t,"#/")),i={};return a()(n=o.split("&")).call(n,e=>{const t=e.substring(0,_()(e).call(e,"=")),n=e.substring(_()(e).call(e,"=")+1);i[t]=n}),i};n.hrefParams=o();const i=()=>{tr["a"].emit("forHelpDetail")},s=()=>{tr["a"].emit("forHelp",e.isDisabled)},r=()=>{window.parent.postMessage(v()({code:"endStatus",orderInfo:n.conversation["children"]}),"*")},l=()=>{tr["a"].emit("bigInformation")};Object(M["watchEffect"])(()=>{n.messageList=e.messageList,n.conversation=e.conversation,n.needTyping=e.needTyping});const c=Object(M["computed"])(()=>{const{conversation:e}=n;return null!==e&&void 0!==e&&e.conversationID?e.conversationID:""}),d=Object(M["computed"])(()=>{const{conversation:e}=n;return Object(U["m"])(e)}),u=Object(M["computed"])(()=>{const{conversation:e}=n;return null!==e&&void 0!==e&&e.type?null===e||void 0===e?void 0:e.type:""}),p=Object(M["computed"])(()=>n.needTyping&&n.otherTypingStatus?"对方正在输入":$i["a"].getters.getTitleName),m=Object(M["computed"])(()=>n.needTyping&&n.otherTypingStatus?"":$i["a"].getters.getDoctorName),h=(e,t)=>{if(n.needTyping&&"C2C"===u.value&&((new Date).getTime()/1e3-n.lastOtherMessageTime<30&&(n.timeValid=1),n.timeValid))if(e||t)n.myTypingStatus=0,n.lastMyTypingTime=0,g(n.myTypingStatus);else{n.myTypingStatus=1;const e=(new Date).getTime();e-n.lastMyTypingTime>4e3&&(n.lastMyTypingTime=e,g(n.myTypingStatus))}};Object(M["watch"])(c,(e,t)=>{e!==t&&(n.needTyping=!1,n.timeValid=0)}),Object(M["watch"])(()=>n.needTyping,(e,t)=>{e||(n.myTypingStatus=0,n.otherTypingStatus=0,n.lastOtherMessageTime=0)}),Object(M["watch"])(()=>n.messageList,(e,t)=>{Object(M["nextTick"])(()=>{var t,o;0!==e.length&&"C2C"===u.value&&(n.lastOtherMessageTime=b(e),"in"===(null===(t=e[e.length-1])||void 0===t?void 0:t.flow)&&(Object(U["v"])(e[e.length-1])?(n.otherTypingStatus=f(e[e.length-1]),j()):(n.lastOtherMessageTime=null===(o=e[e.length-1])||void 0===o?void 0:o.time,n.otherTypingStatus=0)))})},{deep:!0});const f=e=>{try{var t;const{typingStatus:n,actionParam:o}=Object(U["a"])(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);return 1===n&&o===nn["a"].typeInputStatusIng?1:0}catch{return 0}},g=e=>{n.options={data:{businessID:nn["a"].typeUserTyping,typingStatus:e?1:0,version:1,userAction:e?14:0,actionParam:e?nn["a"].typeInputStatusIng:nn["a"].typeInputStatusEnd},description:"",extension:""},Ml.TUIServer.sendTypingMessage(n.options),an.getInstance().reportEvent({name:"messageType",ext1:"typeCustom"})},b=e=>{if(!e)return 0;for(let t=e.length-1;t>=0;t--)if(!Object(U["v"])(e[t])&&"in"===e[t].flow)return e[t].time;return 0},y=(e,t=2e3)=>{let n;return function(){n&&clearTimeout(n),n=O()(e,t)}},j=y(()=>{n.otherTypingStatus=0},5e3);return{...Object(M["toRefs"])(n),conversationID:c,conversationName:d,conversationType:u,title:p,doctorName:m,isTypingMessage:U["v"],sendTypingMessage:g,handleTypingMessageStatus:f,getLastOtherMessageTime:b,debounce:y,waitTypingEnd:j,onTyping:h,forHelpDetail:i,forHelp:s,endStatus:r,bigInformation:l}}});var xl=Ml;n("b617");const Vl=me()(xl,[["render",Bl],["__scopeId","data-v-31ac0c3c"]]);var Ll=Vl,Rl=Ll;const Pl={class:"header"},Al={class:"header-back"},Gl={class:"header-title"},Hl={class:"header-close"},zl={class:"body"},Fl={key:0,class:"body-message"},$l={class:"message"},Yl={class:"message-info"},Kl={class:"message-cont"},Wl=["src"],ql={key:1},Zl={class:"body-tab"},Jl=["onClick"],Ql={class:"tab-item-title"},Xl={class:"tab-item-count"},ec={class:"body-list"},tc=["src"],nc={class:"name"};function oc(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["read-receipt",[e.isH5?"read-receipt-H5":"",e.isMenuOpen?"read-receipt-menu-open":""]]),ref:"dialog"},[Object(M["createElementVNode"])("div",Pl,[Object(M["createElementVNode"])("div",Al,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",Gl,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.消息详情")),1)]),Object(M["createElementVNode"])("div",Hl,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),Object(M["createElementVNode"])("div",zl,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Fl,[Object(M["createElementVNode"])("div",$l,[Object(M["createElementVNode"])("div",Yl,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.message.from),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.caculateTimeago(1e3*e.message.time)),1)]),Object(M["createElementVNode"])("div",Kl,[e.messageInfo.isImg?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:"message-cont-img",src:e.messageInfo.content},null,8,Wl)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ql,Object(M["toDisplayString"])(e.messageInfo.content),1))])])])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",Zl,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.readReceiptList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,[t.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["tab-item",n===e.showListNow&&"tab-item-now"]),key:n,onClick:t=>e.showListNow=n},[Object(M["createElementVNode"])("div",Ql,Object(M["toDisplayString"])(null===t||void 0===t?void 0:t.label),1),Object(M["createElementVNode"])("div",Xl,Object(M["toDisplayString"])(null===t||void 0===t?void 0:t.count),1)],10,Jl)):Object(M["createCommentVNode"])("",!0)],64))),256))]),Object(M["createElementVNode"])("div",ec,[Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.readReceiptList[e.showListNow].userList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:t,class:"body-list-item"},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,tc),Object(M["createElementVNode"])("div",nc,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128))]),e.readReceiptList[e.showListNow].isCompleted?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"more",onClick:t[2]||(t[2]=(...t)=>e.getMoreList&&e.getMoreList(...t))},"查看更多"))])])],2)):Object(M["createCommentVNode"])("",!0)}const ac=Object(M["defineComponent"])({type:"custom",props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},show:{type:Boolean,default:()=>!1}},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),o=Object(M["reactive"])({message:{},isGroup:!1,show:!1,isH5:!1,messageInfo:{isImg:!1,content:""},readReceiptList:[{label:e.isH5?n("TUIChat.人已读"):n("TUIChat.已读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人未读"):n("TUIChat.未读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人关闭阅读状态"):n("TUIChat.关闭阅读状态"),count:0,userList:[],isCompleted:!0,cursor:"",show:!1}],showListNow:0,isMenuOpen:!0,env:Object(D["b"])()}),i=Object(M["ref"])();Object(M["watchEffect"])(()=>{o.show=e.show,o.isH5=e.isH5}),Object(M["watch"])(()=>{e.message,o.show},async()=>{var t,n;o.show&&(v(),o.message=e.message,u(),h(),o.readReceiptList[0].count=(null===(t=o.message)||void 0===t||null===(t=t.readReceiptInfo)||void 0===t?void 0:t.readCount)||o.readReceiptList[0].count,o.readReceiptList[1].count=(null===(n=o.message)||void 0===n||null===(n=n.readReceiptInfo)||void 0===n?void 0:n.unreadCount)||o.readReceiptList[1].count,l(),c())},{deep:!0});const r=()=>{o.show=!o.show,o.show||(t.emit("closeDialog","receipt"),m())};Object(wn["onClickOutside"])(i,()=>{o.show=!1,t.emit("closeDialog","receipt"),m()});const l=async(e=!1)=>{if(o.isGroup&&o.message&&0!==s()(o.message).length)try{var t,a;const n=await ac.TUIServer.getGroupReadMemberList(o.message,e?o.readReceiptList[0].cursor:"");o.readReceiptList[0].isCompleted=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.isCompleted,o.readReceiptList[0].cursor=(null===n||void 0===n||null===(a=n.data)||void 0===a?void 0:a.cursor)||"";const i=n.data.readUserIDList,s=await d(i);o.readReceiptList[0].userList=e?[...o.readReceiptList[0].userList,...s]:s}catch(i){if(i&&10062===(null===i||void 0===i?void 0:i.code)){const e=n("TUIChat.您当前购买使用的套餐包暂未开通群消息已读回执功能");Object(En["b"])(e,o.env),console.warn(e)}}},c=async(e=!1)=>{var t;if(!o.isGroup||!o.message||0===s()(o.message).length)return;const n=await ac.TUIServer.getGroupUnreadMemberList(o.message,e?o.readReceiptList[1].cursor:"");o.readReceiptList[1].isCompleted=null===n||void 0===n?void 0:n.data.isCompleted,o.readReceiptList[1].cursor=(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.cursor)||"";const a=n.data.unreadUserIDList,i=await d(a);o.readReceiptList[1].userList=e?[...o.readReceiptList[1].userList,...i]:i},d=async e=>{const t=[];if(e.length&&o.isGroup){const n=await ac.TUIServer.getUserProfile(e),o=n.data;a()(o).call(o,e=>{t.push({nick:null===e||void 0===e?void 0:e.nick,avatar:null===e||void 0===e?void 0:e.avatar,userID:null===e||void 0===e?void 0:e.userID})})}return t},u=()=>{var e;(null===(e=o.message)||void 0===e?void 0:e.conversationType)===ac.TUIServer.TUICore.TIM.TYPES.CONV_GROUP?o.isGroup=!0:o.isGroup=!1},p=()=>{switch(o.showListNow){case 0:l(!0);break;case 1:c(!0);break;default:break}},m=()=>{o.message={},o.readReceiptList=[{label:e.isH5?n("TUIChat.人已读"):n("TUIChat.已读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人未读"):n("TUIChat.未读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人关闭阅读状态"):n("TUIChat.关闭阅读状态"),count:0,userList:[],isCompleted:!0,cursor:"",show:!1}],o.showListNow=0,o.messageInfo={isImg:!1,content:""}},h=()=>{var e,t,a,i,s;if(o.message&&o.isH5)switch(o.message.type){case ac.TUIServer.TUICore.TIM.TYPES.MSG_TEXT:o.messageInfo.content=null===(e=o.message)||void 0===e||null===(e=e.payload)||void 0===e?void 0:e.text,o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_CUSTOM:o.messageInfo.content=n("TUIChat.自定义"),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_IMAGE:o.messageInfo.content=null===(t=Object(U["j"])(o.message))||void 0===t?void 0:t.url,o.messageInfo.isImg=!0;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_AUDIO:o.messageInfo.content=n("TUIChat.语音"),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_VIDEO:o.messageInfo.content=null===(a=Object(U["t"])(o.message))||void 0===a?void 0:a.snapshotUrl,o.messageInfo.isImg=!0;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_FILE:o.messageInfo.content=n("TUIChat.文件")+(null===(i=o.message)||void 0===i||null===(i=i.payload)||void 0===i?void 0:i.fileName),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_FACE:o.messageInfo.content=null===(s=Object(U["h"])(o.message))||void 0===s?void 0:s.url,o.messageInfo.isImg=!0;break}},v=()=>{var e;o.isMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)};return{...Object(M["toRefs"])(o),dialog:i,toggleShow:r,getReadList:l,getUnreadList:c,isGroup:u,handleAvatarAndName:d,close:m,getMoreList:p,showMessage:h,caculateTimeago:En["a"],handleDialogPosition:v}}});var ic=ac;n("01ce");const sc=me()(ic,[["render",oc],["__scopeId","data-v-103b5294"]]);var rc=sc,lc=rc;const cc={class:"header"},dc={class:"header-back"},uc={class:"header-title"},pc={class:"header-close"},mc={class:"body"},hc={class:"body-message"},vc={class:"body-list"};function fc(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("RepliesItem");return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["replies",[e.isH5?"replies-H5":"",e.isMenuOpen?"replies-menu-open":""]]),ref:"dialog"},[Object(M["createElementVNode"])("div",cc,[Object(M["createElementVNode"])("div",dc,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",uc,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.回复详情")),1)]),Object(M["createElementVNode"])("div",pc,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),Object(M["createElementVNode"])("div",mc,[Object(M["createElementVNode"])("div",hc,[Object(M["createVNode"])(s,{message:e.message,isH5:e.isH5,isRoot:!0},null,8,["message","isH5"])]),Object(M["createElementVNode"])("div",vc,[Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.replies,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n,class:"body-list-item"},[Object(M["createVNode"])(s,{message:t,isH5:e.isH5,isRoot:!1},null,8,["message","isH5"])]))),128))])])])],2)):Object(M["createCommentVNode"])("",!0)}const gc={class:"message-bubble",ref:"htmlRefHook"},bc=["src"],Oc={class:"message-area"},yc={class:"message-area-title"},jc={class:"name"},kc={class:"time"},Ic={class:"content content-in"},wc={key:1},Ec=["src"],Cc={key:4,class:"message-video-cover"},Tc=["src"],Sc=["src"],_c={key:6,class:"message-file"},Dc={class:"message-file-content"};function Nc(e,t,n,o,a,i){var s,r,l,c,d,u,p,m,h,v,f,g,b;const O=Object(M["resolveComponent"])("MessageText"),y=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["replies-item",e.isRoot?"":"replies-item-normal"])},[Object(M["createElementVNode"])("div",gc,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(s=e.message)||void 0===s?void 0:s.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,bc),Object(M["createElementVNode"])("main",Oc,[Object(M["createElementVNode"])("div",yc,[Object(M["createElementVNode"])("label",jc,Object(M["toDisplayString"])(e.isRoot?e.message.nameCard||e.message.nick||e.message.from:e.message.messageSender),1),Object(M["createElementVNode"])("label",kc,Object(M["toDisplayString"])(e.caculateTimeago(1e3*(e.isRoot?null===(r=e.message)||void 0===r?void 0:r.time:null===(l=e.message)||void 0===l?void 0:l.messageTime))),1)]),Object(M["createElementVNode"])("div",Ic,[e.message.messageType!==e.constant.typeText&&e.message.type!==e.TIM.TYPES.MSG_TEXT&&e.isRoot?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(O,{key:0,data:e.handleTextMessageShowContext(e.isRoot?e.message:{payload:{text:null===(c=e.message)||void 0===c?void 0:c.messageAbstract}})},null,8,["data"])),e.message.messageType===e.constant.typeCustom||e.message.type===e.TIM.TYPES.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",wc,Object(M["toDisplayString"])(null===(d=e.handleCustomMessageShowContext(e.message))||void 0===d?void 0:d.custom),1)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeImage||e.message.type===e.TIM.TYPES.MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:2,class:"message-img",src:null===(u=e.message)||void 0===u||null===(u=u.payload)||void 0===u?void 0:u.imageInfoArray[1].url},null,8,Ec)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeAudio||e.message.type===e.TIM.TYPES.MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:3,class:"message-audio",style:Object(M["normalizeStyle"])(`width: ${10*(null===(p=e.message)||void 0===p||null===(p=p.payload)||void 0===p?void 0:p.second)+40}px`)},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-voice"},null,-1)),Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(null===(m=e.message)||void 0===m||null===(m=m.payload)||void 0===m?void 0:m.second)+"s",1)],4)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeVideo||e.message.type===e.TIM.TYPES.MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Cc,[Object(M["createElementVNode"])("img",{class:"message-videoimg",src:(null===(h=e.message)||void 0===h||null===(h=h.payload)||void 0===h?void 0:h.snapshotUrl)||(null===(v=e.message)||void 0===v||null===(v=v.payload)||void 0===v?void 0:v.thumbUrl)},null,8,Tc)])):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeFace||e.message.type===e.TIM.TYPES.MSG_FACE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:5,class:"message-img",src:e.url},null,8,Sc)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeFile||e.message.type===e.TIM.TYPES.MSG_FILE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",_c,[t[1]||(t[1]=Object(M["createElementVNode"])("i",{class:"icon icon-files"},null,-1)),Object(M["createElementVNode"])("div",Dc,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(null===(f=e.message)||void 0===f||null===(f=f.payload)||void 0===f?void 0:f.fileName),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])((null===(g=e.handleFileMessageShowContext(e.message))||void 0===g?void 0:g.size)||(null===(b=e.message)||void 0===b||null===(b=b.payload)||void 0===b?void 0:b.fileSize)),1)])])):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(y,{message:e.message,type:"content"},null,8,["message"])])])],512)],2)}const Uc=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},isRoot:{type:Boolean,default:!1}},components:{MessageText:ve,MessageEmojiReact:lo},setup(e,t){const n=Object(M["reactive"])({message:{},isH5:!1,url:"",isRoot:!1,constant:nn["a"],TIM:ao["a"]});return Object(M["watchEffect"])(()=>{var t;(n.message=e.message,n.isH5=e.isH5,n.isRoot=e.isRoot,n.message.type===ao["a"].TYPES.MSG_FACE)&&(n.url=`https://web.sdk.qcloud.com/im/assets/face-elem/${null===(t=n.message)||void 0===t||null===(t=t.payload)||void 0===t?void 0:t.data}@2x.png`)}),{...Object(M["toRefs"])(n),handleTextMessageShowContext:U["r"],handleCustomMessageShowContext:U["g"],handleFileMessageShowContext:U["i"],caculateTimeago:En["a"]}}});var Bc=Uc;n("3910");const Mc=me()(Bc,[["render",Nc],["__scopeId","data-v-c1a2ea1e"]]);var xc=Mc;const Vc=Object(M["defineComponent"])({type:"custom",components:{RepliesItem:xc},props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},show:{type:Boolean,default:()=>!1},url:{type:String,default:""},messageList:{type:Array,default:()=>[]}},setup(e,t){const n=Object(M["reactive"])({message:{},isGroup:!1,show:!1,isH5:!1,url:"",showListNow:0,isMenuOpen:!0,replies:[],messageList:[],TIM:ao["a"]}),o=Object(M["ref"])();Object(M["watchEffect"])(()=>{n.message=e.message,n.show=e.show,n.isH5=e.isH5,n.url=e.url,n.messageList=e.messageList}),Object(M["watch"])(()=>{n.message,n.messageList},()=>{n.message=e.message,n.messageList=e.messageList,s(n.message)},{deep:!0});const i=()=>{n.show=!n.show,n.show||(t.emit("closeDialog","replies"),r())};Object(wn["onClickOutside"])(o,()=>{n.show=!1,t.emit("closeDialog","replies"),r()});const s=e=>{try{var t,o;const{cloudCustomData:i}=e;if(!i)return;const s=Object(U["a"])(i);n.replies=null===s||void 0===s||null===(t=s.messageReplies)||void 0===t?void 0:t.replies,null===n||void 0===n||null===(o=n.replies)||void 0===o||a()(o).call(o,e=>{var t;const{messageID:o,messageSender:a}=e,i=I()(t=n.messageList).call(t,e=>e.ID===o||e.from===a);e.avatar=i?null===i||void 0===i?void 0:i.avatar:""})}catch(i){console.log(i)}},r=()=>{n.message={}},l=()=>{var e;n.isMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)};return{...Object(M["toRefs"])(n),dialog:o,toggleShow:i,close:r,caculateTimeago:En["a"],handleDialogPosition:l}}});var Lc=Vc;n("d45a");const Rc=me()(Lc,[["render",fc],["__scopeId","data-v-43000c27"]]);var Pc=Rc,Ac=Pc;const Gc={key:0,class:"call",id:"call"},Hc={class:"call-main-content",ref:"dialog"},zc={key:0,class:"icon icon-call-voice"},Fc={key:0,class:"icon icon-call-video"},$c={class:"uncall-dialog-body"};function Yc(e,t,n,o,a,i){const r=Object(M["resolveComponent"])("Transfer"),l=Object(M["resolveComponent"])("Dialog");return e.handleShowCallIcon(e.conversation,e.isH5)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gc,[Object(M["createElementVNode"])("div",{class:"call-icon",onClick:t[0]||(t[0]=(...t)=>e.toggleShowSelectDialog&&e.toggleShowSelectDialog(...t))},t[7]||(t[7]=[Object(M["createElementVNode"])("i",{class:"icon icon-call",title:"通话"},null,-1),Object(M["createElementVNode"])("i",{class:"icon icon-down-arrow",title:"通话"},null,-1)])),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["call-main",[e.isH5&&"call-main-h5"]])},[Object(M["createElementVNode"])("div",Hc,[Object(M["createElementVNode"])("div",{class:"call-main-voice",onClick:t[1]||(t[1]=t=>e.onClickCall(1))},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",zc)):Object(M["createCommentVNode"])("",!0),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.语音通话")),1)]),Object(M["createElementVNode"])("div",{class:"call-main-video",onClick:t[2]||(t[2]=t=>e.onClickCall(2))},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Fc)):Object(M["createCommentVNode"])("",!0),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.视频通话")),1)]),Object(M["createElementVNode"])("footer",null,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.showSelectDialog=!1,["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.取消")),1)):Object(M["createCommentVNode"])("",!0)])],512)],2),[[M["vShow"],e.showSelectDialog]]),Object(M["createVNode"])(l,{show:e.showGroupUserDialog,isH5:e.isH5,isHeaderShow:!1,isFooterShow:!1,background:!1,"onUpdate:show":t[4]||(t[4]=t=>e.showGroupUserDialog=t)},{default:Object(M["withCtx"])(()=>{var t;return[Object(M["createVNode"])(r,{isSearch:!0,title:e.showTitle,list:e.searchUserList,isH5:e.isH5,isRadio:"isC2C"===(null===(t=e.conversation)||void 0===t?void 0:t.type),onSearch:e.handleSearch,onSubmit:e.submit,onCancel:e.cancle},null,8,["title","list","isH5","isRadio","onSearch","onSubmit","onCancel"])]}),_:1},8,["show","isH5"]),Object(M["createVNode"])(l,{show:e.showUnsupportDialog,isH5:e.isH5,isHeaderShow:!0,isFooterShow:!0,background:!0,title:e.$t("TUIChat.欢迎使用TUICallKit"),"onUpdate:show":t[6]||(t[6]=t=>e.showUnsupportDialog=t)},{default:Object(M["withCtx"])(()=>{var n;return[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",$c,[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.errorContent),1),Object(M["withDirectives"])(Object(M["createElementVNode"])("p",null,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("TUIChat.请点击"))+" ",1),Object(M["createElementVNode"])("a",{onClick:t[5]||(t[5]=t=>{var n;return e.openLink(null===(n=e.errorLink)||void 0===n?void 0:n.url)})},Object(M["toDisplayString"])(e.$t("TUIChat."+(null===(n=e.errorLink)||void 0===n?void 0:n.label))),1),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.进行体验")),1)],512),[[M["vShow"],s()(e.errorLink).length>0]])])])]}),_:1},8,["show","isH5","title"])])):Object(M["createCommentVNode"])("",!0)}var Kc=Ai,Wc=La;const qc=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1},conversation:{type:Object,default:()=>({})}},components:{Dialog:Kc,Transfer:Wc},setup(e,t){var n;const{t:o}=qc.TUIServer.TUICore.config.i18n.useI18n(),a=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},i=Object(M["reactive"])({showSelectDialog:!1,showCall:!1,showGroupUserDialog:!1,isH5:!1,isMute:!1,isHomeMenuOpen:!1,conversation:{},showTitle:"",searchUserList:[],memberList:[],mediaType:0,showUnsupportDialog:!1,errorContent:"",errorLink:{}}),s=Object(M["ref"])();Object(M["watchEffect"])(()=>{i.showSelectDialog=e.show,i.isMute=e.isMute,i.isH5=e.isH5,i.conversation=e.conversation}),Object(M["watch"])(()=>i.showCall,(e,t)=>{e!==t&&i.showCall&&c()});const r=()=>{i.isMute||(i.showSelectDialog=!0)};Object(wn["onClickOutside"])(s,()=>{i.showSelectDialog=!1});const c=()=>{var e;i.isHomeMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)},d=e=>{var t,n,o;if(i.showSelectDialog=!1,i.mediaType=e,null===qc||void 0===qc||null===(t=qc.TUIServer)||void 0===t||null===(t=t.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||!t.TUICallKit)return b(),void an.getInstance().reportEvent({name:"callOptions",ext1:"call-uninstall"});switch(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall-success"}),(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===a||void 0===a?void 0:a.commit)&&(null===a||void 0===a||a.commit("handleTask",6)),null===(o=i.conversation)||void 0===o?void 0:o.type){case qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C:u(i.conversation,e),an.getInstance().reportEvent({name:"callOptions",ext1:"call-c2c"});break;case qc.TUIServer.TUICore.TIM.TYPES.CONV_GROUP:m(e),an.getInstance().reportEvent({name:"callOptions",ext1:"call-group"});break;default:break}},u=async(e,t,n=[])=>{const o=e.type;switch(o){case qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C:try{var a;await qc.TUIServer.TUICore.TUIServer.TUICallKit.call({userID:null===e||void 0===e||null===(a=e.userProfile)||void 0===a?void 0:a.userID,type:t})}catch(s){b(s)}break;case qc.TUIServer.TUICore.TIM.TYPES.CONV_GROUP:try{var i;await qc.TUIServer.TUICore.TUIServer.TUICallKit.groupCall({userIDList:n,groupID:null===e||void 0===e||null===(i=e.groupProfile)||void 0===i?void 0:i.groupID,type:t})}catch(s){b(s)}break;default:break}},p=(e,t)=>{var n,o;return(e.type!==qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C||(null===e||void 0===e||null===(n=e.userProfile)||void 0===n?void 0:n.userID)!==(null===qc||void 0===qc||null===(o=qc.TUIServer)||void 0===o||null===(o=o.TUICore)||void 0===o||null===(o=o.TUIServer)||void 0===o||null===(o=o.TUIProfile)||void 0===o||null===(o=o.currentStore)||void 0===o||null===(o=o.profile)||void 0===o?void 0:o.userID))&&(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall"}),!0)},m=e=>{var t,n;i.showGroupUserDialog=!0,i.showTitle=o(1===e?"TUIChat.发起群语音":"TUIChat.发起群视频");const a={groupID:null===i||void 0===i||null===(t=i.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.groupID,count:100,offset:0};null===qc||void 0===qc||null===(n=qc.TUIServer)||void 0===n||null===(n=n.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIGroup)||void 0===n||null===(n=n.getGroupMemberList(a))||void 0===n||n.then(e=>{var t,n,o;const a=null===(t=i.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t||null===(t=t.selfInfo)||void 0===t?void 0:t.userID;let s=[];if(null!==i&&void 0!==i&&null!==(n=i.conversation)&&void 0!==n&&null!==(n=n.groupProfile)&&void 0!==n&&n.muteAllMembers)s=[];else{var r;const t=(new Date).getTime();s=j()(r=e.data.memberList).call(r,e=>(null===e||void 0===e?void 0:e.userID)!==a&&(!(1e3*(null===e||void 0===e?void 0:e.muteUntil)-t>0)&&e))}null!==i&&void 0!==i&&null!==(o=i.conversation)&&void 0!==o&&null!==(o=o.groupProfile)&&void 0!==o&&o.muteAllMembers&&(s=[]),i.memberList=s,i.searchUserList=s})},h=async e=>{var t;const n=null===(t=i.memberList)||void 0===t?void 0:j()(t).call(t,t=>(null===t||void 0===t?void 0:t.userID)===e);i.searchUserList=null!==n&&void 0!==n&&n.length?n:i.memberList},v=e=>{i.searchUserList=i.memberList,i.showGroupUserDialog=!1;const t=null===e||void 0===e?void 0:l()(e).call(e,e=>null===e||void 0===e?void 0:e.userID);u(i.conversation,i.mediaType,t)},f=()=>{i.showGroupUserDialog=!1,i.mediaType=0},g=e=>{e&&(window.open(e),an.getInstance().reportEvent({name:"openLink",ext1:"callkit-doc"}))},b=e=>{var t;e?(null===e||void 0===e||null===(t=e.message)||void 0===t?void 0:_()(t).call(t,"The package you purchased does not support this ability."))>=0?(i.showUnsupportDialog=!0,i.errorContent=o("TUIChat.您当前购买使用的套餐包暂未开通此功能"),i.errorLink=Ki.purchase):(i.errorContent=(null===e||void 0===e?void 0:e.message)||e,i.showUnsupportDialog=!1,i.errorLink={}):(i.showUnsupportDialog=!0,i.errorContent=o("TUIChat.检测到您暂未集成TUICallKit,无法体验音视频通话功能"),i.errorLink=Ki.implement)};return{...Object(M["toRefs"])(i),toggleShowSelectDialog:r,dialog:s,onClickCall:d,handleCallDialogPosition:c,handleCall:u,handleGroupDialog:m,handleSearch:h,submit:v,cancle:f,handleShowCallIcon:p,openLink:g,handleUnsupportDialog:b}}});var Zc=qc;n("ec3a");const Jc=me()(Zc,[["render",Yc],["__scopeId","data-v-0003a24f"]]);var Qc=Jc,Xc=Qc,ed=n("1eaf"),td=n.n(ed),nd=n("6ba3"),od=n("34ae");const ad=["src"],id={class:"actions-bar"},sd={class:"image-counter"};var rd=Object(M["defineComponent"])({__name:"imagePreviewer",props:{imageList:{type:Array,default:()=>[]},currentImage:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){const n=e,o=t,a=Object(M["ref"])(1),i=Object(M["ref"])(0),s=Object(M["ref"])(.1),r=Object(M["ref"])(0),l=Object(M["ref"])(),c=Object(M["ref"])(),{isH5:d}=Object(nd["a"])();let u=0,p={},m=!1,h=!1,v=null;Object(M["watchEffect"])(()=>{var e;r.value=E()(e=n.imageList).call(e,e=>e.ID===n.currentImage.ID)});const f=e=>{e.preventDefault(),k(e),I(e)},g=e=>{e.preventDefault(),m=!0,e.touches&&2===e.touches.length&&(h=!0,w(e))},b=e=>{var t;e.preventDefault();let n=0,o=0;if(h)v||(h=!1,delete p.pageX2,delete p.pageY2,v=O()(()=>{v=null},200));else if(null===v){switch(m){case!0:n=null===e||void 0===e||null===(t=e.changedTouches[0])||void 0===t?void 0:t.pageX,o=n-u,o>100?x():o<-100&&B();break;case!1:D();break}v=O()(()=>{v=null},200)}},y=e=>{h=!1,delete p.pageX1,delete p.pageY1},j=e=>{if(e.preventDefault(),0!==Math.abs(e.deltaX)&&0!==Math.abs(e.deltaY))return;let t=a.value;t+=e.deltaY*(e.ctrlKey?-.01:.002),t=Math.min(Math.max(.125,t),4),a.value=t},k=e=>{var t;u=null===e||void 0===e||null===(t=e.changedTouches[0])||void 0===t?void 0:t.pageX,m=!1},I=e=>{let t=null===e||void 0===e?void 0:e.touches[0],n=null===e||void 0===e?void 0:e.touches[1];p.pageX1=null===t||void 0===t?void 0:t.pageX,p.pageY1=null===t||void 0===t?void 0:t.pageY,n&&(p.pageX2=null===n||void 0===n?void 0:n.pageX,p.pageY2=null===n||void 0===n?void 0:n.pageY)},w=e=>{let t=null===e||void 0===e?void 0:e.touches[0],n=null===e||void 0===e?void 0:e.touches[1];n&&(Object(od["isNumber"])(p.pageX2)||(p.pageX2=n.pageX),Object(od["isNumber"])(p.pageY2)||(p.pageY2=n.pageY));const o=(e,t,n,o)=>td()(n-e,o-t);if(!Object(od["isNumber"])(p.pageX1)||!Object(od["isNumber"])(p.pageY1)||!Object(od["isNumber"])(p.pageX2)||!Object(od["isNumber"])(p.pageY2))return;let i=o(t.pageX,t.pageY,n.pageX,n.pageY)/o(p.pageX1,p.pageY1,p.pageX2,p.pageY2);a.value=Math.min(Math.max(.5,a.value*i),4)};Object(M["onMounted"])(()=>{var e,t,n,o,a,i;null===l||void 0===l||null===(e=l.value)||void 0===e||e.addEventListener("touchstart",f),null===l||void 0===l||null===(t=l.value)||void 0===t||t.addEventListener("touchmove",g),null===l||void 0===l||null===(n=l.value)||void 0===n||n.addEventListener("touchend",b),null===l||void 0===l||null===(o=l.value)||void 0===o||o.addEventListener("touchcancel;",y),null===l||void 0===l||null===(a=l.value)||void 0===a||a.addEventListener("wheel",j),null===(i=document)||void 0===i||i.addEventListener("keydown",C)});const C=e=>{e.preventDefault(),27===(null===e||void 0===e?void 0:e.keyCode)&&D()},T=()=>{a.value+=.1},S=()=>{a.value=a.value-.1>s.value?a.value-.1:s.value},D=()=>{o("close")},N=()=>{i.value-=90},U=()=>{i.value+=90},B=()=>{c.value.style.transition="0.5s",r.value{c.value.style.transition="0.5s",r.value>0&&r.value--,V()},V=()=>{a.value=1,i.value=0};return Object(M["onUnmounted"])(()=>{var e,t,n,o,a,i;null===l||void 0===l||null===(e=l.value)||void 0===e||e.removeEventListener("touchstart",f),null===l||void 0===l||null===(t=l.value)||void 0===t||t.removeEventListener("touchmove",g),null===l||void 0===l||null===(n=l.value)||void 0===n||n.removeEventListener("touchend",b),null===l||void 0===l||null===(o=l.value)||void 0===o||o.removeEventListener("touchcancel;",y),null===l||void 0===l||null===(a=l.value)||void 0===a||a.removeEventListener("wheel",j),null===(i=document)||void 0===i||i.removeEventListener("keydown",C)}),(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["image-previewer",[Object(M["unref"])(d)&&"image-previewer-h5"]])},[Object(M["createElementVNode"])("div",{class:"image-wrapper",ref_key:"image",ref:l},[Object(M["createElementVNode"])("ul",{class:"image-list",style:Object(M["normalizeStyle"])({width:100*e.imageList.length+"%",transform:`translateX(-${100*r.value/e.imageList.length}%)`}),ref_key:"ul",ref:c},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.imageList,(e,t)=>{var n,o,s,r;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"image-item",key:t},[Object(M["createElementVNode"])("img",{class:"image-preview",style:Object(M["normalizeStyle"])({transform:`scale(${a.value}) rotate(${i.value}deg)`}),src:-1===(null===e||void 0===e||null===(n=e.payload)||void 0===n||null===(n=n.imageInfoArray[0])||void 0===n?void 0:_()(o=n.url).call(o,"http"))?`${Object(M["unref"])(_e["a"]).urlF.replace("lol","://")}/file/show/${null===e||void 0===e||null===(s=e.payload)||void 0===s||null===(s=s.imageInfoArray[0])||void 0===s?void 0:s.url}`:null===e||void 0===e||null===(r=e.payload)||void 0===r||null===(r=r.imageInfoArray[0])||void 0===r?void 0:r.url,alt:""},null,12,ad)])}),128))],4)],512),Object(M["withDirectives"])(Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:D},null,512),[[M["vShow"],!Object(M["unref"])(d)]]),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"image-button image-button-left",onClick:x},n[0]||(n[0]=[Object(M["createElementVNode"])("i",{class:"icon icon-left-arrow"},null,-1)]),512),[[M["vShow"],!Object(M["unref"])(d)&&r.value>0]]),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"image-button image-button-right",onClick:B},n[1]||(n[1]=[Object(M["createElementVNode"])("i",{class:"icon icon-right-arrow"},null,-1)]),512),[[M["vShow"],!Object(M["unref"])(d)&&r.value<(null===(o=e.imageList)||void 0===o?void 0:o.length)-1]]),Object(M["createElementVNode"])("div",id,[Object(M["createElementVNode"])("i",{class:"icon icon-zoom-in",onClick:T}),Object(M["createElementVNode"])("i",{class:"icon icon-zoom-out",onClick:S}),Object(M["createElementVNode"])("i",{class:"icon icon-refresh-left",onClick:N}),Object(M["createElementVNode"])("i",{class:"icon icon-refresh-right",onClick:U}),Object(M["createElementVNode"])("span",sd,Object(M["toDisplayString"])(r.value+1)+" / "+Object(M["toDisplayString"])(e.imageList.length),1)])],2)}}});n("8f32");const ld=me()(rd,[["__scopeId","data-v-1e64c546"]]);var cd=ld,dd=cd;let ud={Face:Nr,Image:Rr,Video:$r,File:Qr,Evaluate:Dl,Words:hl,Call:Xc};const pd={Forward:al},md={TypingHeader:Rl,ReadReceiptDialog:lc,Replies:Ac,ImagePreviewer:dd,MessageInput:er};function hd(e){let t={};switch(e){case"send":t=ud;break;case"message":t=pd;break;case"other":t=md;break;default:break}return t}const vd=e=>{var t;const n={...ud,...pd,...md};a()(t=s()(n)).call(t,e=>{n[e].TUIServer=Od.server}),br.TUIServer=Od.server,br.components={...br.components,...n},e.component(Od.name,br)},fd=e=>(Od.server=new B(e),e.component(Od.name,Od),Od),gd=e=>{ud={...ud,...e}},bd=e=>{l()(e).call(e,e=>(delete ud[e],e))},Od={name:"TUIChat",component:br,server:B,sendComponents:ud,messageComponents:pd,otherComponents:md,install:vd,plugin:fd,setPluginComponents:gd,removePluginComponents:bd};var yd=Od;class jd extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIConversation",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){var n,o,a;null!==this&&void 0!==this&&null!==(n=this.currentStore)&&void 0!==n&&n.conversationData&&(this.currentStore.conversationData.list=e.conversationList,this.currentStore.userIDList=null===(o=this.currentStore.conversationData.list)||void 0===o?void 0:l()(a=j()(o).call(o,e=>{var t;return null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID})).call(a,e=>{var t;return null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID}))}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIConversation",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.NET_STATE_CHANGE,this.handleNetStateChange,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate),this.TUICore.tim.off(this.TUICore.TIM.EVENT.NET_STATE_CHANGE,this.handleNetStateChange)}handleConversationListUpdate(e){this.listUpdate(e.data.length),this.handleFilterSystem(e.data)}listUpdate(e){this.currentStore.listLength=e}handleNetStateChange(e){var t;this.currentStore.netWork=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.state)||""}handleFilterSystem(e){console.log(e);const t={allConversationList:e,conversationList:[]},n=j()(e).call(e,e=>{var t;return(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.currentStore)||void 0===t?void 0:t.currentConversationID)});return 0===n.length&&this.handleCurrentConversation({}),t.conversationList=j()(e).call(e,e=>e.type!==this.TUICore.TIM.TYPES.CONV_SYSTEM),this.store.allConversationList=t.allConversationList,this.store.conversationList=t.conversationList,t}async setMessageRead(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setMessageRead({conversationID:e});t(n)}catch(o){n(o)}})}async deleteConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteConversation(e);t(n)}catch(o){n(o)}})}async pinConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.pinConversation(e);t(n)}catch(o){n(o)}})}async muteConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setMessageRemindType(e);t(n)}catch(o){n(o)}})}async getConversationProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getConversationProfile(e);t(n)}catch(o){n(o)}})}async getConversationList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getConversationList();console.log("imResponse============================"),console.log(t),this.handleFilterSystem(t.data.conversationList),e(await this.getGroupList())}catch(n){t(n)}})}async getGroupList(){return this.handlePromiseCallback(async(e,t)=>{try{var n;const t=await this.TUICore.tim.getGroupList();a()(n=t.data.groupList).call(n,e=>{e["conversationID"]="GROUP"+e["groupID"]}),console.log("imResponseGroup============================"),console.log(t),e(t)}catch(o){t(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,await this.getConversationList(),this.currentStore}handleCurrentConversation(e){this.TUICore.getStore().TUIChat.conversation=e||{},null!==e&&void 0!==e&&e.conversationID?(this.currentStore.currentConversationID===(null===e||void 0===e?void 0:e.conversationID)&&(this.currentStore.currentConversationID=""),this.currentStore.currentConversationID&&this.setMessageRead(this.currentStore.currentConversationID),this.currentStore.currentConversationID=null===e||void 0===e?void 0:e.conversationID,this.setMessageRead(e.conversationID)):this.currentStore.currentConversationID=""}}const kd={class:"TUI-conversation",style:{background:"#f2f2f2"}},Id={key:0,class:"network"},wd={class:"TUI-conversation-list",style:{height:"100%",width:"100%",overflow:"hidden"}},Ed={style:{background:"#ffffff",height:"80px","margin-bottom":"8px"}},Cd={style:{height:"35px","line-height":"35px","padding-left":"20px","font-size":"20px","font-weight":"bold",display:"flex","justify-content":"space-between"}},Td={style:{display:"flex"}},Sd=["src"],_d=["src"],Dd={key:0,style:{display:"flex"}},Nd={key:1};function Ud(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("el-input"),d=Object(M["resolveComponent"])("el-checkbox"),u=Object(M["resolveComponent"])("TUIConversationList");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",kd,[e.isNetwork?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Id,[t[6]||(t[6]=Object(M["createElementVNode"])("i",{class:"icon icon-error"},"!",-1)),Object(M["createElementVNode"])("p",null,"️"+Object(M["toDisplayString"])(e.$t("TUIConversation.网络异常,请您检查网络设置")),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",wd,[Object(M["createElementVNode"])("div",Ed,[Object(M["createElementVNode"])("div",Cd,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.title)+" ",1),Object(M["createElementVNode"])("div",Td,[e.playStatus?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,onClick:t[1]||(t[1]=(...t)=>e.changePlayStatus&&e.changePlayStatus(...t))},[Object(M["createElementVNode"])("img",{class:"play-or-mute-img",src:e.muteImage,alt:""},null,8,_d)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,onClick:t[0]||(t[0]=(...t)=>e.changePlayStatus&&e.changePlayStatus(...t))},[Object(M["createElementVNode"])("img",{class:"play-or-mute-img",src:e.playImage,alt:""},null,8,Sd)]))])]),Object(M["createVNode"])(c,{modelValue:e.searchInfo,"onUpdate:modelValue":t[2]||(t[2]=t=>e.searchInfo=t),style:{width:"calc(100% - 40px)","margin-left":"20px"},placeholder:"输入姓名搜索当前咨询用户"},null,8,["modelValue"])]),"expert"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,style:Object(M["normalizeStyle"])([{height:""+(e.checkedExpert?"50px":"QH"!==(null===(s=e.hrefParams)||void 0===s?void 0:s.vitePlatform)?"73px":"33px")},{padding:"0 10px"}])},["QH"!==(null===(r=e.hrefParams)||void 0===r?void 0:r.vitePlatform)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Dd,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["checkedPro",[e.checkedExpert?"":"expert"]]),onClick:t[3]||(t[3]=t=>e.clickExpert(!1))}," 员工咨询 ",2),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["checkedPro",[e.checkedExpert?"expert":""]]),onClick:t[4]||(t[4]=t=>e.clickExpert(!0)),style:{"margin-left":"10px"}}," 专家咨询 ",2)])):Object(M["createCommentVNode"])("",!0),e.checkedExpert?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Nd,[Object(M["createVNode"])(d,{modelValue:e.tfReply,"onUpdate:modelValue":t[5]||(t[5]=t=>e.tfReply=t)},{default:Object(M["withCtx"])(()=>t[7]||(t[7]=[Object(M["createTextVNode"])("专家待回复")])),_:1,__:[7]},8,["modelValue"])]))],4)):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(u,{style:Object(M["normalizeStyle"])({height:"expert"===e.hrefParams.isSpecialized&&"QH"!==(null===(l=e.hrefParams)||void 0===l?void 0:l.vitePlatform)?`calc(100% - ${e.checkedExpert?"148px":"171px"})`:`calc(100% - ${e.checkedExpert?"98px":"131px"})`}),currentID:e.currentConversationID,data:e.conversationData,onHandleItem:e.handleCurrentConversation,isH5:e.env.isH5,displayOnlineStatus:e.displayOnlineStatus,userStatusList:e.userStatusList,checkedExpert:e.checkedExpert,tfReply:e.tfReply,searchInfo:e.searchInfo},null,8,["style","currentID","data","onHandleItem","isH5","displayOnlineStatus","userStatusList","checkedExpert","tfReply","searchInfo"])])])}var Bd=n("82ec"),Md=n.n(Bd);function xd(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("LiteItem");return Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",{class:Object(M["normalizeClass"])(["TUI-conversation-list",[e.isH5?"list-h5":""]]),ref:"list",onMousewheel:t[0]||(t[0]=(...t)=>e.scrollChange&&e.scrollChange(...t)),onScroll:t[1]||(t[1]=(...t)=>e.scrollChange&&e.scrollChange(...t)),style:{padding:"10px 10px 0",width:"calc(100% - 20px)",height:"calc(100% - 100px)",overflow:"auto"}},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.listData,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:"liteItem"+n},[null!==t&&void 0!==t&&t.children?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t.flag===e.checkedExpert&&(e.tfReply&&0==t.children.tfReply&&"1"==t.children.sessionType||!e.tfReply)&&"expert"===e.hrefParams.isSpecialized&&!1===(null===t||void 0===t?void 0:t.isEnd)||"expert"!==e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:0,isH5:e.isH5,currentID:e.currentID,conversation:t,toggleID:e.toggleID,handleConversation:{avator:e.data.handleItemAvator,name:e.data.handleItemName,showAt:e.data.handleShowAt,showMessage:e.data.handleShowMessage,time:e.data.handleItemTime,userID:e.data.handleItemUserID},displayOnlineStatus:e.displayOnlineStatus,userStatusList:e.userStatusList,onToggle:e.handleToggleListItem,onOpen:e.handleListItem,onHandle:e.handleItem,types:e.types},null,8,["isH5","currentID","conversation","toggleID","handleConversation","displayOnlineStatus","userStatusList","onToggle","onOpen","onHandle","types"])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)],64))),128))],34)}var Vd=n("5066"),Ld=n.n(Vd);const Rd={key:0,src:Ld.a,alt:"",style:{position:"absolute",top:"0",left:"0"}},Pd={style:{width:"60px",display:"flex","align-items":"center","justify-content":"center"}},Ad={style:{"font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},Gd={style:{width:"100px"}},Hd={style:{"text-align":"center",transform:"scale(0.8)","margin-top":"10px"}},zd={key:0,class:"num_n"},Fd={style:{width:"60px",display:"flex","align-items":"center","justify-content":"center"}},$d={style:{"font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},Yd={style:{width:"100px"}},Kd={style:{"text-align":"center",transform:"scale(0.8)","margin-top":"10px"}},Wd={key:0,class:"num_n"};function qd(e,t,n,o,a,i){var s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j;const k=Object(M["resolveComponent"])("el-image");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{display:"flex",width:"100%","margin-bottom":"10px",padding:"10px 0","border-radius":"10px",cursor:"pointer",position:"relative"},class:Object(M["normalizeClass"])([e.currentID===e.conversation.conversationID?"bg_o":"bg_t"]),onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.handleListItem(e.conversation),["prevent","stop"]))},["1"===(null===(s=e.conversation)||void 0===s?void 0:s.children.sessionType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",Rd)):Object(M["createCommentVNode"])("",!0),"expert"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:1},[Object(M["createElementVNode"])("div",Pd,[Object(M["createVNode"])(k,{style:{width:"36px",height:"36px"},src:e.getSrc(null===(r=e.conversation)||void 0===r?void 0:r.children.toAccountHead)},{error:Object(M["withCtx"])(()=>t[1]||(t[1]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{src:fn.a,alt:"",style:{width:"36px",height:"36px"}})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{width:"calc(100% - 160px)"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#000000"}])},[Object(M["createElementVNode"])("div",Ad,Object(M["toDisplayString"])(e.preG(`${e.conversation.children.toAccountName||""}-${e.conversation.children.memberSex||""}-${e.conversation.children.memberAge||""}`)),1),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{color:"#666666","font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#666666"}])},Object(M["toDisplayString"])(null===(l=e.handleConversation)||void 0===l?void 0:l.showMessage(e.conversation).substring((null===(c=e.handleConversation)||void 0===c?void 0:_()(d=c.showMessage(e.conversation)).call(d,":"))+1)),5)],4),Object(M["createElementVNode"])("div",Gd,[Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{"text-align":"center",color:"#999999"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#999999"}])},Object(M["toDisplayString"])(null===(u=e.handleConversation)||void 0===u?void 0:u.time(null===(p=e.conversation)||void 0===p||null===(p=p.lastMessage)||void 0===p?void 0:p.lastTime)),5),Object(M["createElementVNode"])("div",Hd,[e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",zd,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])],64)):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:2},[Object(M["createElementVNode"])("div",Fd,[Object(M["createVNode"])(k,{style:{width:"36px",height:"36px"},src:e.getSrc(null===(m=e.conversation)||void 0===m||null===(m=m.children)||void 0===m?void 0:m.avatar)},{error:Object(M["withCtx"])(()=>t[2]||(t[2]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{src:fn.a,alt:"",style:{width:"36px",height:"36px"}})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{width:"calc(100% - 160px)"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#000000"}])},[Object(M["createElementVNode"])("div",$d,Object(M["toDisplayString"])(`${(null===(h=e.conversation)||void 0===h||null===(h=h.children)||void 0===h?void 0:h.userName)||""}-${(null===(v=e.conversation)||void 0===v||null===(v=v.children)||void 0===v?void 0:v.sex_dictText)||""}-${(null===(f=e.conversation)||void 0===f||null===(f=f.children)||void 0===f?void 0:f.age)||""}`),1),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{color:"#666666","font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#666666"}])},Object(M["toDisplayString"])(null===(g=e.handleConversation)||void 0===g?void 0:g.showMessage(e.conversation).substring((null===(b=e.handleConversation)||void 0===b?void 0:_()(O=b.showMessage(e.conversation)).call(O,":"))+1)),5)],4),Object(M["createElementVNode"])("div",Yd,[Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{"text-align":"center",color:"#999999"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#999999"}])},Object(M["toDisplayString"])(null===(y=e.handleConversation)||void 0===y?void 0:y.time(null===(j=e.conversation)||void 0===j||null===(j=j.lastMessage)||void 0===j?void 0:j.lastTime)),5),Object(M["createElementVNode"])("div",Kd,[e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Wd,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])],64))],2)}var Zd=n("c1df"),Jd=n.n(Zd);const Qd=Object(M["defineComponent"])({props:{conversation:{type:Object,default:()=>({})},handleConversation:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},toggleID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({conversation:{},currentID:"",currentConversation:{},toggle:!1,currentuserID:"",conversationType:"",loop:0,displayOnlineStatus:!1,userStatusList:new qi.a});function o(e){e&&_()(e).call(e,",")===e.length-1&&(e=e.substring(0,e.length-1));const t=_e["a"].urlF;return e?`${t.replace("lol","://")}/file/show/${e}`:""}_e["a"].hasOwnProperty("sessionId")&&Object(M["nextTick"])(()=>{n.currentID="GROUP"+_e["a"].sessionId});const a=Object(M["ref"])(),i=Object(M["ref"])();Object(wn["onClickOutside"])(i,()=>{!0===n.toggle&&t.emit("toggle","")}),Object(M["watchEffect"])(()=>{n.conversation=e.conversation,n.currentID=e.currentID,console.log(n.currentID),n.toggle=!1,n.displayOnlineStatus=e.displayOnlineStatus,n.userStatusList=e.userStatusList,e.toggleID===e.conversation.conversationID&&(n.toggle=!0)}),Object(M["watch"])(()=>n.toggle,e=>{e&&Object(M["nextTick"])(()=>{var e;const t=Object(wn["useElementBounding"])(a),n=null===i||void 0===i||null===(e=i.value)||void 0===e?void 0:e.offsetParent,o=Object(wn["useElementBounding"])(n);t.top.value-o.top.value-t.height.value-30>0&&(a.value.style.top="auto",a.value.style.bottom="30px")})});const s=e=>Jd()(e).format("HH:mm"),r=e=>{t.emit("open",e),t.emit("toggle","")},l=e=>{var o;null!==e&&void 0!==e&&null!==(o=e.target)&&void 0!==o&&o.oncontextmenu&&(e.target.oncontextmenu=function(){return!1}),t.emit("toggle",n.conversation.conversationID)},c=e=>{t.emit("handle",{name:e,conversation:n.conversation}),t.emit("toggle","")},d=()=>{var t;return!(!n.displayOnlineStatus||(null===(t=n.conversation)||void 0===t?void 0:t.type)!==e.types.CONV_C2C)};function u(e){return e=e.replace(/--/g,"-"),0===_()(e).call(e,"-")&&(e=e.substring(1)),-1!==Se()(e).call(e,"-")&&(e=e.substring(0,Se()(e).call(e,"-"))),e}return{preG:u,...Object(M["toRefs"])(n),handleListItem:r,handleItem:c,dialog:a,content:i,toggleDialog:l,showUserOnlineStatus:d,getTime:s,hrefParams:_e["a"],getSrc:o}}});var Xd=Qd;n("ed40");const eu=me()(Xd,[["render",qd],["__scopeId","data-v-79ffaaa2"]]);var tu=eu;const nu=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},checkedExpert:{type:Boolean,default:()=>!1},tfReply:{type:Boolean,default:()=>!1},searchInfo:{type:String,default:()=>""}},components:{LiteItem:tu},setup(e,t){const n=null===nu||void 0===nu?void 0:nu.TUIServer,o=Object(M["reactive"])({data:{},currentID:"",toggleID:"",displayOnlineStatus:!1,userStatusList:new qi.a,types:n.TUICore.TIM.TYPES,listData:[]});Object(M["watchEffect"])(()=>{var t,n,a;(o.data=e.data,console.log(e.data),o.listData=j()(t=e.data.list).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e.searchInfo)||!e.searchInfo}),"expert"===_e["a"].isSpecialized)?o.listData=j()(n=e.data.list).call(n,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e.searchInfo)||!e.searchInfo}):o.listData=j()(a=e.data.list).call(a,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.userName)&&-1!==_()(o=t.children.userName).call(o,e.searchInfo)||!e.searchInfo});o.currentID=e.currentID,o.displayOnlineStatus=e.displayOnlineStatus,o.userStatusList=e.userStatusList}),Object(M["watch"])(()=>e.userStatusList,()=>{o.userStatusList=e.userStatusList},{deep:!0}),Object(M["watch"])(()=>e.searchInfo,e=>{if("expert"===_e["a"].isSpecialized){let t=JSON.parse(v()(o.data.list));o.listData=j()(t).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e)||!e})}else{let t=JSON.parse(v()(o.data.list));o.listData=j()(t).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.userName)&&-1!==_()(o=t.children.userName).call(o,e)||!e})}});const a=e=>{var n;$i["a"].commit("setConsultInfo",{consultType:e.type,consultStatus:null===e||void 0===e||null===(n=e.children)||void 0===n?void 0:n.contentStatus});const o=e.children;"expert"===_e["a"].isSpecialized?$i["a"].commit("setTitleName",i(`${(null===o||void 0===o?void 0:o.toAccountName)||""}-${(null===o||void 0===o?void 0:o.memberSex)||""}-${(null===o||void 0===o?void 0:o.memberAge)||""}-${(null===o||void 0===o?void 0:o.orgCode)||""}`)):$i["a"].commit("setTitleName",i(`${(null===o||void 0===o?void 0:o.userName)||""}-${(null===o||void 0===o?void 0:o.sex_dictText)||""}-${(null===o||void 0===o?void 0:o.age)||""}-${(null===o||void 0===o?void 0:o.depart)||""}`));const a=(null===o||void 0===o?void 0:o.doctorInfo)||{};$i["a"].commit("setDoctorName",null!==o&&void 0!==o&&o.doctorInfo?i(`${(null===a||void 0===a?void 0:a.doctorName)||""}-${(null===a||void 0===a?void 0:a.doctorTitle_dictText)||""}-${(null===a||void 0===a?void 0:a.departmentName)||""}-${(null===a||void 0===a?void 0:a.resourceName)||""}`):""),t.emit("handleItem",e)};function i(e){return e=e.replace(/--/g,"-"),0===_()(e).call(e,"-")&&(e=e.substring(1)),"-"===e.substring(e.length-1)&&(e=e.substring(0,e.length-1)),e}const s=e=>{const{name:t,conversation:n}=e;switch(an.getInstance().reportEvent({name:"conversationOptions",ext1:"conversationOptions"}),t){case"delete":r(n);break;case"ispinned":l(t,n);break;case"dispinned":l(t,n);break;case"mute":c(t,n);break;case"notMute":c(t,n);break}},r=e=>{n.deleteConversation(e.conversationID).then(e=>{an.getInstance().reportEvent({name:"conversationOptions",ext1:"conversationDelete"});const{conversationID:t}=e.data,{conversation:o}=n.TUICore.getStore().TUIChat;o.conversationID===t&&(n.TUICore.getStore().TUIChat.conversation={conversationID:""})})},l=(e,t)=>{const o={conversationID:t.conversationID,isPinned:!0};"dispinned"===e&&(o.isPinned=!1),console.log("dispinned",o),n.pinConversation(o)},c=(e,t)=>{const o={messageRemindType:n.TUICore.TIM.TYPES.MSG_REMIND_ACPT_NOT_NOTE};t.type===n.TUICore.TIM.TYPES.CONV_C2C?o.userIDList=[t.userProfile.userID]:t.type===n.TUICore.TIM.TYPES.CONV_GROUP&&(o.groupID=t.groupProfile.groupID),"notMute"===e&&(o.messageRemindType=n.TUICore.TIM.TYPES.MSG_REMIND_ACPT_AND_NOTE),n.muteConversation(o)},d=e=>{o.toggleID=e},u=()=>{o.toggleID&&(o.toggleID="")};return{...Object(M["toRefs"])(o),handleListItem:a,handleItem:s,handleToggleListItem:d,scrollChange:u,hrefParams:_e["a"]}}});var ou=nu;n("4853");const au=me()(ou,[["render",xd],["__scopeId","data-v-06ab06e3"]]);var iu=au,su=iu,ru=n("d35b"),lu=n.n(ru);const cu=["id"],du={class:"left"},uu=["src"],pu={key:1,class:"num"},mu={key:2,class:"num-notify"},hu={class:"content"},vu={class:"content-header"},fu={class:"name"},gu={class:"middle-box"},bu={key:0,class:"middle-box-at"},Ou={class:"content-footer"},yu={class:"time"},ju={key:0,class:"mute-icon",src:lu.a},ku={key:0,class:"dialog dialog-item",ref:"dialog"};function Iu(e,t,n,o,a,i){var s,r,l,c,d,u,p;const m=Object(M["resolveDirective"])("TUILongPress");return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{ref:"content",class:Object(M["normalizeClass"])(["TUI-conversation-content",[e.currentID===e.conversation.conversationID&&"selected",e.conversation.isPinned&&"pinned",e.isH5?"list-item-h5":""]]),id:e.conversation.conversationID},[Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"TUI-conversation-item",onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.handleListItem(e.conversation),["prevent","stop"])),onContextmenu:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleDialog&&e.toggleDialog(...t),["prevent","right"]))},[Object(M["createElementVNode"])("aside",du,[Object(M["createElementVNode"])("img",{class:"avatar",src:null===(s=e.handleConversation)||void 0===s?void 0:s.avator(e.conversation)},null,8,uu),e.showUserOnlineStatus()?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["online-status",1===(null===(r=e.userStatusList)||void 0===r||null===(r=r.get(null===(l=e.conversation)||void 0===l||null===(l=l.userProfile)||void 0===l?void 0:l.userID))||void 0===r?void 0:r.statusType)?"online-status-online":"online-status-offline"])},null,2)):Object(M["createCommentVNode"])("",!0),e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",pu,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0),e.conversation.unreadCount>0&&"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",mu)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",hu,[Object(M["createElementVNode"])("div",vu,[Object(M["createElementVNode"])("label",null,[Object(M["createElementVNode"])("p",fu,Object(M["toDisplayString"])(null===(c=e.handleConversation)||void 0===c?void 0:c.name(e.conversation)),1)]),Object(M["createElementVNode"])("div",gu,["GROUP"===e.conversation.type&&e.conversation.groupAtInfoList.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",bu,Object(M["toDisplayString"])(null===(d=e.handleConversation)||void 0===d?void 0:d.showAt(e.conversation)),1)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(null===(u=e.handleConversation)||void 0===u?void 0:u.showMessage(e.conversation)),1)])]),Object(M["createElementVNode"])("div",Ou,[Object(M["createElementVNode"])("span",yu,Object(M["toDisplayString"])(null===(p=e.handleConversation)||void 0===p?void 0:p.time(e.conversation.lastMessage.lastTime)),1),"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",ju)):Object(M["createCommentVNode"])("",!0),t[7]||(t[7]=Object(M["createElementVNode"])("i",null,null,-1))])])],32)),[[m,e.toggleDialog,void 0,{self:!0}]]),e.toggle?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ku,[Object(M["createElementVNode"])("p",{class:"conversation-options",onClick:t[2]||(t[2]=Object(M["withModifiers"])(t=>e.handleItem("delete"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.删除会话")),1),e.conversation.isPinned?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:0,class:"conversation-options",onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.handleItem("ispinned"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.置顶会话")),1)),e.conversation.isPinned?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:1,class:"conversation-options",onClick:t[4]||(t[4]=Object(M["withModifiers"])(t=>e.handleItem("dispinned"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.取消置顶")),1)):Object(M["createCommentVNode"])("",!0),""===e.conversation.messageRemindType||"AcceptAndNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:2,class:"conversation-options",onClick:t[5]||(t[5]=Object(M["withModifiers"])(t=>e.handleItem("mute"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.消息免打扰")),1)):Object(M["createCommentVNode"])("",!0),"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:3,class:"conversation-options",onClick:t[6]||(t[6]=Object(M["withModifiers"])(t=>e.handleItem("notMute"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.取消免打扰")),1)):Object(M["createCommentVNode"])("",!0)],512)):Object(M["createCommentVNode"])("",!0)],10,cu)}const wu=Object(M["defineComponent"])({props:{conversation:{type:Object,default:()=>({})},handleConversation:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},toggleID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({conversation:{},currentID:"",currentConversation:{},toggle:!1,currentuserID:"",conversationType:"",loop:0,displayOnlineStatus:!1,userStatusList:new qi.a});_e["a"].hasOwnProperty("sessionId")&&Object(M["nextTick"])(()=>{n.currentID="GROUP"+_e["a"].sessionId});const o=Object(M["ref"])(),a=Object(M["ref"])();Object(wn["onClickOutside"])(a,()=>{!0===n.toggle&&t.emit("toggle","")}),Object(M["watchEffect"])(()=>{n.conversation=e.conversation,n.currentID=e.currentID,n.toggle=!1,n.displayOnlineStatus=e.displayOnlineStatus,n.userStatusList=e.userStatusList,e.toggleID===e.conversation.conversationID&&(n.toggle=!0)}),Object(M["watch"])(()=>n.toggle,e=>{e&&Object(M["nextTick"])(()=>{var e;const t=Object(wn["useElementBounding"])(o),n=null===a||void 0===a||null===(e=a.value)||void 0===e?void 0:e.offsetParent,i=Object(wn["useElementBounding"])(n);t.top.value-i.top.value-t.height.value-30>0&&(o.value.style.top="auto",o.value.style.bottom="30px")})});const i=e=>{t.emit("open",e),t.emit("toggle","")},s=e=>{var o;null!==e&&void 0!==e&&null!==(o=e.target)&&void 0!==o&&o.oncontextmenu&&(e.target.oncontextmenu=function(){return!1}),t.emit("toggle",n.conversation.conversationID)},r=e=>{t.emit("handle",{name:e,conversation:n.conversation}),t.emit("toggle","")},l=()=>{var t;return!(!n.displayOnlineStatus||(null===(t=n.conversation)||void 0===t?void 0:t.type)!==e.types.CONV_C2C)};return{...Object(M["toRefs"])(n),handleListItem:i,handleItem:r,dialog:o,content:a,toggleDialog:s,showUserOnlineStatus:l}}});var Eu=wu;n("77d5");const Cu=me()(Eu,[["render",Iu],["__scopeId","data-v-102ec99c"]]);var Tu=Cu,Su=Tu,_u=n("409e"),Du=n.n(_u),Nu=n("14ed"),Uu=n.n(Nu);const Bu=Object(M["defineComponent"])({name:"TUIConversation",components:{LiteItem:Su,TUIConversationList:su},props:{displayOnlineStatus:{type:Boolean,default:!1}},setup(e,t){const n=null===Bu||void 0===Bu?void 0:Bu.TUIServer,o=Object(M["reactive"])({currentConversationID:"",conversationData:{list:[],expertListDataO:[],expertListDataT:[],listData:[],handleItemAvator:e=>Object(U["f"])(e),handleItemName:e=>Object(U["m"])(e),handleShowAt:e=>Object(U["d"])(e),handleShowMessage:e=>Object(U["p"])(e),handleItemTime:e=>e&&e>0?Object(En["a"])(1e3*e):""},listLength:0,initLength:0,userIDList:[],netWork:"",env:n.TUICore.TUIEnv,displayOnlineStatus:!1,userStatusList:new qi.a,title:"expert"!==_e["a"].isSpecialized?"正在应急":"正在咨询",searchInfo:"",initListData:[],checkedExpert:!1,tfReply:!1,playStatus:!0});function i(){console.log("body"),s(!0),o.playStatus=!1,document.body.removeEventListener("click",i)}function s(e){const t=new Audio("13203.wav");t.muted=e,t.play()}async function r(){"expert"===_e["a"].isSpecialized?await m():await d()}u()(n).call(n,o),Object(M["watch"])(()=>o.listLength,async e=>{e!==o.initLength&&("expert"===_e["a"].isSpecialized?await m():await d()),o.initLength=e},{immediate:!0}),su.TUIServer=n,n.TUICore.tim.on(n.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,r),document.body.addEventListener("click",i),n.TUICore.tim.on(n.TUICore.TIM.EVENT.MESSAGE_RECEIVED,()=>{window.parent.postMessage(v()({code:"newMessage"}),"*"),s(o.playStatus)}),Object(M["watch"])(()=>o.currentConversationID,e=>{t.emit("current",e),_e["a"].hasOwnProperty("sessionId")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].sessionId&&Object(M["nextTick"])(()=>{for(const e of o.conversationData.list)if(e["conversationID"]===e["type"]+_e["a"].sessionId)return c(e)})},{deep:!0}),Object(M["watch"])(()=>e.displayOnlineStatus,async(e,t)=>{e!==t&&(o.displayOnlineStatus=e,n.TUICore.TUIServer.TUIContact.handleUserStatus(o.displayOnlineStatus,[...o.userIDList]))},{immediate:!0}),Object(M["watch"])(()=>[...o.userIDList],async(e,t)=>{Object(En["d"])(e,t)||n.TUICore.TUIServer.TUIContact.handleUserStatus(o.displayOnlineStatus,[...o.userIDList])},{deep:!0});const l=Object(M["computed"])(()=>{const e=o.netWork===n.TUICore.TIM.TYPES.NET_STATE_DISCONNECTED,t=o.netWork===n.TUICore.TIM.TYPES.NET_STATE_CONNECTING;return e||t}),c=e=>{n.handleCurrentConversation(e)};async function d(){var e;let t=[];a()(e=o.conversationData.list).call(e,e=>{t.push(null===e||void 0===e?void 0:e.conversationID.replace("GROUP","").toString())}),await pr("/health-emergency/api/emergency/order/listSession",{sessions:t,type:"false"===_e["a"].isSpecialized?"0":"1"}).then(e=>{200===e.code?o.conversationData.listData=e.result:t.length>0&&Object(hr["a"])({message:e.message,type:"warning"})}).catch(e=>{console.log(e)}),p()}function p(){var e,t;o.conversationData.list=Md()(e=o.conversationData.list).call(e,(e,t)=>{var n,o;return new Date(1e3*(null===(n=t.lastMessage)||void 0===n?void 0:n.lastTime)).getTime()-new Date(1e3*(null===(o=e.lastMessage)||void 0===o?void 0:o.lastTime)).getTime()}),o.conversationData.list.length>0&&a()(t=o.conversationData.list).call(t,e=>{var t;o.conversationData.listData.length>0&&a()(t=o.conversationData.listData).call(t,t=>{e.conversationID.replace("C2C","").replace("GROUP","")===t.sessionId&&(e["children"]=t)})})}async function m(){var e;let t=[];a()(e=o.conversationData.list).call(e,e=>{var n;-1!==(null===e||void 0===e?void 0:_()(n=e.conversationID).call(n,"GROUP"))&&t.push(null===e||void 0===e?void 0:e.conversationID.replace("GROUP",""))}),await pr("/health-consultation/consultation/conSession/companySessionList",{imIds:t}).then(e=>{200===e.code&&(o.conversationData.expertListDataO=e.result)}).catch(e=>{console.log(e)}),await pr("/health-consultation/consultation/conSession/professorSessionList",{imIds:t}).then(e=>{200===e.code&&(o.conversationData.expertListDataT=e.result)}).catch(e=>{console.log(e)}),h()}function h(){var e;o.conversationData.list.length>0&&a()(e=o.conversationData.list).call(e,e=>{var t,n;o.conversationData.expertListDataO.length>0&&a()(t=o.conversationData.expertListDataO).call(t,t=>{t.imId?e.conversationID.replace("C2C","").replace("GROUP","")===t.imId&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!1):e.conversationID.replace("C2C","").replace("GROUP","")===t.fromAccount&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!1)}),o.conversationData.expertListDataT.length>0&&a()(n=o.conversationData.expertListDataT).call(n,t=>{t.imId?e.conversationID.replace("C2C","").replace("GROUP","")===t.imId&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!0):e.conversationID.replace("C2C","").replace("GROUP","")===t.fromAccount&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!0)})})}_e["a"].hasOwnProperty("sessionId")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].sessionId&&Object(M["nextTick"])(()=>{for(const e of o.conversationData.list)if(e["conversationID"]===e["type"]+_e["a"].sessionId)return c(e)}),_e["a"].hasOwnProperty("checkedExpert")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].checkedExpert&&Object(M["nextTick"])(()=>{o.checkedExpert="0"===(null===_e["a"]||void 0===_e["a"]?void 0:_e["a"].checkedExpert)}),tr["a"].on("endConsult",e=>{var t;o.conversationData.list.length>0&&a()(t=o.conversationData.list).call(t,t=>{if(e===t["conversationID"])return t["isEnd"]=!0,void(t["conversationID"]="")})});const f=e=>{e!==o.checkedExpert&&(o.checkedExpert=e,t.emit("checkedExpert",o.checkedExpert))},g=()=>{t.emit("changeReply",o.tfReply)};function b(){console.log("change"),s(!0),o.playStatus=!o.playStatus}return{...Object(M["toRefs"])(o),handleCurrentConversation:c,isNetwork:l,clickExpert:f,changeReply:g,hrefParams:_e["a"],playImage:Du.a,muteImage:Uu.a,changePlayStatus:b}}});var Mu=Bu;n("2857"),n("dce0");const xu=me()(Mu,[["render",Ud],["__scopeId","data-v-c6fe208e"]]);var Vu=xu;const Lu=e=>{Vu.TUIServer=Pu.server,e.component(Pu.name,Vu)},Ru=e=>(Pu.server=new jd(e),e.component(Pu.name,Pu),Pu),Pu={name:"TUIConversation",component:Vu,server:jd,install:Lu,plugin:Ru};var Au=Pu;const Gu={profile:{}};class Hu extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIProfile",Gu,u()(t=this.updateStore).call(t,this)),this.getMyProfile()}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.profile=JSON.parse(v()(e.profile))}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated)}handleProfileUpdated(e){var t;l()(t=e.data).call(t,e=>(e.userID===this.store.profile.userID&&(this.store.profile={},this.store.profile=e),e))}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIProfile",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}async getMyProfile(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getMyProfile();this.store.profile=t.data,this.currentStore.profile=JSON.parse(v()(this.store.profile)),e(t)}catch(n){t(n)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async updateMyProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateMyProfile(e);this.store.profile=n.data,t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,this.getMyProfile(),this.currentStore}setEdit(e){return this.currentStore.isEdit=e,this.currentStore.isEdit}}const zu={class:"profile-header"},Fu={class:"profile-avatar"},$u=["src"],Yu={class:"profile-main"},Ku={class:"profile-main-item"},Wu={class:"profile-main-name"},qu={key:0,class:"gender"},Zu={class:"profile-main-item"},Ju={class:"profile-main-label"},Qu={key:0,class:"profile-main-item"},Xu={class:"profile-main-label"},ep={key:0,class:"profile-main"},tp={class:"profile-main-item"},np={class:"profile-main-label"},op={class:"profile-main-item"},ap={class:"profile-main-label"},ip={key:1,class:"icon icon-right"};function sp(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("TUIProfileEdit");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["TUI-profile",[e.env.isH5?"TUI-profile-h5":""]])},[e.isEdit?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,userInfo:e.profile,isH5:e.env.isH5,onSubmit:e.submit,onCancel:e.cancel},null,8,["userInfo","isH5","onSubmit","onCancel"])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"profile",onClick:t[0]||(t[0]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},[Object(M["createElementVNode"])("header",zu,[Object(M["createElementVNode"])("aside",Fu,[Object(M["createElementVNode"])("img",{class:"avatar",src:e.profile.avatar?e.profile.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,$u)]),Object(M["createElementVNode"])("ul",Yu,[Object(M["createElementVNode"])("li",Ku,[Object(M["createElementVNode"])("h1",Wu,Object(M["toDisplayString"])(e.profile.nick||"-"),1),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",qu,Object(M["toDisplayString"])(e.profile.gender?e.$t("TUIProfile."+e.genderLabel[e.profile.gender]):""),1))]),Object(M["createElementVNode"])("li",Zu,[Object(M["createElementVNode"])("label",Ju,Object(M["toDisplayString"])(e.$t("TUIProfile.用户ID"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.userID),1)]),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",Qu,[Object(M["createElementVNode"])("label",Xu,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.selfSignature||e.$t("TUIProfile.暂未设置")),1)])):Object(M["createCommentVNode"])("",!0)])]),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",ep,[Object(M["createElementVNode"])("li",tp,[Object(M["createElementVNode"])("label",np,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.selfSignature||e.$t("TUIProfile.暂未设置")),1)]),Object(M["createElementVNode"])("li",op,[Object(M["createElementVNode"])("label",ap,Object(M["toDisplayString"])(e.$t("TUIProfile.出生年月")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.birthday?e.profile.birthday:e.$t("TUIProfile.暂未设置")),1)])])),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",ip)):Object(M["createCommentVNode"])("",!0)]))],2)}const rp={class:"edit-header"},lp={class:"edit-header-title"},cp={class:"edit-list"},dp={class:"edit-list-item space-top"},up={key:0},pp=["src"],mp={key:1,class:"avatar-list"},hp=["onClick"],vp=["src"],fp={key:0,class:"icon icon-right"},gp={class:"edit-list-item space-top"},bp={key:0},Op={key:0,class:"icon icon-right"},yp={class:"edit-list-item"},jp={class:"edit-list-item-content"},kp={class:"edit-list-item space-top"},Ip={key:0},wp={key:0,class:"icon icon-right"},Ep={class:"edit-list-item"},Cp={key:0},Tp={key:1,class:"gender-list"},Sp=["onClick"],_p={class:"name"},Dp={key:0,class:"icon icon-right"},Np={class:"edit-list-item"},Up={key:0},Bp={key:0,class:"icon icon-right"},Mp={key:0,class:"edit-footer"},xp={class:"mask-main"},Vp={class:"edit-h5-header"},Lp={class:"edit-h5-main"},Rp={key:0,class:"list"},Pp=["onClick"],Ap=["src"],Gp={key:1,class:"input"},Hp=["placeholder"],zp=["type","placeholder"],Fp={key:2},$p={class:"edit-h5-footer"},Yp=["disabled"];function Kp(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Datepicker");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["edit",[e.isH5?"edit-h5":""]])},[Object(M["createElementVNode"])("header",rp,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("h1",lp,Object(M["toDisplayString"])(e.$t("TUIProfile.资料设置")),1)]),Object(M["createElementVNode"])("ul",cp,[Object(M["createElementVNode"])("li",dp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[1]||(t[1]=t=>e.setProfile("avatar"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.头像")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",up,[Object(M["createElementVNode"])("img",{src:e.profile.avatar?e.profile.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,pp)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",mp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.avatarList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"avatar-list-item",key:n,onClick:n=>e.chooseAvatar(t)},[Object(M["createElementVNode"])("img",{class:Object(M["normalizeClass"])([e.profile.avatar===t.avatar&&"selected"]),src:t.avatar},null,10,vp)],8,hp))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",fp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",gp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[3]||(t[3]=t=>e.setProfile("nick"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.昵称")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",bp,Object(M["toDisplayString"])(e.profile.nick),1)):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:1,type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.profile.nick=t)},null,512)),[[M["vModelText"],e.profile.nick]])]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Op)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",yp,[Object(M["createElementVNode"])("main",jp,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.账号")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.userID),1)])]),Object(M["createElementVNode"])("li",kp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[5]||(t[5]=t=>e.setProfile("selfSignature"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ip,Object(M["toDisplayString"])(e.profile.selfSignature),1)):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:1,type:"text","onUpdate:modelValue":t[4]||(t[4]=t=>e.profile.selfSignature=t)},null,512)),[[M["vModelText"],e.profile.selfSignature]])]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",wp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Ep,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[6]||(t[6]=t=>e.setProfile("gender"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.性别")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Cp,Object(M["toDisplayString"])(e.profile.gender?e.$t("TUIProfile."+e.genderLabel[e.profile.gender]):""),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Tp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"gender-list-item",key:n,onClick:n=>e.showChooseGender(t)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["gender",[e.profile.gender===t.type&&"gender-selected"]])},null,2),Object(M["createElementVNode"])("p",_p,Object(M["toDisplayString"])(e.$t("TUIProfile."+t.label)),1)],8,Sp))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Dp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Np,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[7]||(t[7]=t=>e.setProfile("birthday"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.出生年月")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Up,Object(M["toDisplayString"])(e.profile.birthday),1)):(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,placeholder:e.$t("TUIProfile.请选择出生日期"),enableTimePicker:!1,format:e.format,previewFormat:e.format,modelValue:e.birthday,"onUpdate:modelValue":e.showBirthday},null,8,["placeholder","format","previewFormat","modelValue","onUpdate:modelValue"]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Bp)):Object(M["createCommentVNode"])("",!0)])]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Mp,[Object(M["createElementVNode"])("button",{class:"btn-default",onClick:t[8]||(t[8]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("TUIProfile.取消")),1),Object(M["createElementVNode"])("button",{class:"btn-submit",onClick:t[9]||(t[9]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("TUIProfile.保存")),1)])),e.setName&&e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"mask",onClick:t[14]||(t[14]=Object(M["withModifiers"])((...t)=>e.closeMask&&e.closeMask(...t),["self"]))},[Object(M["createElementVNode"])("div",xp,[Object(M["createElementVNode"])("header",Vp,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIProfile."+e.editConfig.title)),1),Object(M["createElementVNode"])("span",{class:"close",onClick:t[10]||(t[10]=(...t)=>e.closeMask&&e.closeMask(...t))},Object(M["toDisplayString"])(e.$t("关闭")),1)]),Object(M["createElementVNode"])("main",Lp,["select"===e.editConfig.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Rp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.editConfig.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n,onClick:n=>e.choose(t)},[null!==t&&void 0!==t&&t.avatar?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:Object(M["normalizeClass"])([e.editConfig.value===t.avatar&&"selected"]),src:t.avatar},null,10,Ap)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:Object(M["normalizeClass"])([e.editConfig.value===t.type&&"selected"])},Object(M["toDisplayString"])(e.$t("TUIProfile."+t.label)),3))],8,Pp))),128))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gp,["textarea"===e.editConfig.type?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("textarea",{key:0,placeholder:e.editConfig.placeholder,"onUpdate:modelValue":t[11]||(t[11]=t=>e.editConfig.value=t)},null,8,Hp)),[[M["vModelText"],e.editConfig.value]]):"date"===e.editConfig.type?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,class:"datePicker",placeholder:e.$t("TUIProfile.请选择出生日期"),enableTimePicker:!1,format:e.format,previewFormat:e.format,modelValue:e.birthday,"onUpdate:modelValue":e.showBirthday},null,8,["placeholder","format","previewFormat","modelValue","onUpdate:modelValue"])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:2,type:e.editConfig.type,placeholder:e.$t("TUIProfile."+e.editConfig.placeholder),"onUpdate:modelValue":t[12]||(t[12]=t=>e.editConfig.value=t)},null,8,zp)),[[M["vModelDynamic"],e.editConfig.value]])])),e.editConfig.subText?(Object(M["openBlock"])(),Object(M["createElementBlock"])("sub",Fp,Object(M["toDisplayString"])(e.$t("TUIProfile."+e.editConfig.subText)),1)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("footer",$p,[Object(M["createElementVNode"])("button",{class:"btn btn-submit",disabled:!e.editConfig.value,onClick:t[13]||(t[13]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("确定")),9,Yp)])])])):Object(M["createCommentVNode"])("",!0)],2)}var Wp=n("5141");n("1465");const qp=Object(M["defineComponent"])({props:{userInfo:{type:Object,default:()=>({})},isH5:{type:Boolean,default:()=>!1}},components:{Datepicker:Wp["a"]},setup(e,t){const n=null===qp||void 0===qp?void 0:qp.TUIServer,o=Object(M["reactive"])({profile:{},isEdit:!1,avatarList:[{name:"avatar_01",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_1.png"},{name:"avatar_02",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_2.png"},{name:"avatar_03",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_3.png"},{name:"avatar_04",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_4.png"},{name:"avatar_05",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_5.png"},{name:"avatar_06",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_6.png"}],type:[{label:"男",type:n.TUICore.TIM.TYPES.GENDER_MALE},{label:"女",type:n.TUICore.TIM.TYPES.GENDER_FEMALE}],genderLabel:{[n.TUICore.TIM.TYPES.GENDER_MALE]:"男",[n.TUICore.TIM.TYPES.GENDER_FEMALE]:"女",[n.TUICore.TIM.TYPES.GENDER_UNKNOWN]:"不显示"},setName:"",editConfig:{title:"",list:[],type:"",subText:"",placeholder:"",value:""}}),a=e=>{const t=e.getDate()>9?e.getDate():"0"+e.getDate(),n=e.getMonth()>8?e.getMonth()+1:"0"+(e.getMonth()+1),o=e.getFullYear();return`${o}${n}${t}`};Object(M["watchEffect"])(()=>{o.profile=JSON.parse(v()(e.userInfo))});const i=Object(M["computed"])(()=>{let t=o.profile.birthday;return"birthday"===o.setName&&e.isH5&&(t=o.editConfig.value),s(t)}),s=e=>{const t=""+e;if(8===t.length){const e=oo()(t).call(t,0,4),n=oo()(t).call(t,4,6),o=oo()(t).call(t,-2);return`${e}-${n}-${o}`}return""},r=e=>{o.profile.gender=e.type},l=e=>{o.profile.avatar=e.avatar},c=t=>{e.isH5?o.editConfig.value=t?Number(a(t)):0:o.profile.birthday=t?Number(a(t)):0},d=()=>{e.isH5&&(o.profile[o.setName]=o.editConfig.value,h()),t.emit("submit",o.profile)},u=()=>{t.emit("cancel",o.profile)},p=e=>{switch(o.editConfig.value=""+o.profile[e],o.setName=e,e){case"avatar":o.editConfig.title="选择头像",o.editConfig.list=o.avatarList,o.editConfig.type="select";break;case"nick":o.editConfig.title="设置昵称",o.editConfig.subText="仅限中文、字母、数字和下划线,2-20个字",o.editConfig.placeholder="请输入昵称",o.editConfig.type="text";break;case"gender":o.editConfig.title="性别选择",o.editConfig.list=o.type,o.editConfig.type="select";break;case"selfSignature":o.editConfig.title="个性签名",o.editConfig.type="textarea",o.editConfig.placeholder="请输入内容";break;case"birthday":o.editConfig.title="出生年月",o.editConfig.type="date",o.editConfig.placeholder="请选择出生日期";break;default:break}},m=e=>{o.editConfig.value=(null===e||void 0===e?void 0:e.avatar)||(null===e||void 0===e?void 0:e.type)},h=()=>{o.setName="",o.editConfig={title:"",list:[],type:"",subText:"",placeholder:"",value:""}};return{...Object(M["toRefs"])(o),showChooseGender:r,chooseAvatar:l,showBirthday:c,birthday:i,submit:d,cancel:u,setProfile:p,choose:m,closeMask:h,format:a}}});var Zp=qp;n("d4db");const Jp=me()(Zp,[["render",Kp],["__scopeId","data-v-25fbecd0"]]);var Qp=Jp,Xp=Qp;const em=Object(M["defineComponent"])({name:"TUIProfile",components:{TUIProfileEdit:Xp},setup(e,t){var n;const o=null===em||void 0===em?void 0:em.TUIServer,a=Object(M["reactive"])({profile:{},isEdit:!1,genderLabel:{[o.TUICore.TIM.TYPES.GENDER_MALE]:"男",[o.TUICore.TIM.TYPES.GENDER_FEMALE]:"女",[o.TUICore.TIM.TYPES.GENDER_UNKNOWN]:"不显示"},env:o.TUICore.TUIEnv});Xp.TUIServer=o,u()(o).call(o,a);const i=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},s=async e=>{const t={nick:e.nick,avatar:e.avatar,gender:e.gender||o.TUICore.TIM.TYPES.GENDER_UNKNOWN,selfSignature:e.selfSignature,birthday:e.birthday};var n;o.TUICore.getStore().TUIProfile.profile.nick!==e.nick&&((null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===i||void 0===i?void 0:i.commit)&&(null===i||void 0===i||i.commit("handleTask",2)));try{await o.updateMyProfile(t),an.getInstance().reportEvent({name:"changeProfile",ext1:"changeProfile"})}catch(s){console.log(s)}a.env.isH5||r()},r=()=>{a.env.isH5?a.isEdit=!1:l()},l=()=>{t.emit("changeStatus")},c=()=>{a.env.isH5&&(a.isEdit=!0)};return{...Object(M["toRefs"])(a),submit:s,cancel:r,changeStatus:l,toggleEdit:c}}});var tm=em;n("9a2f");const nm=me()(tm,[["render",sp],["__scopeId","data-v-bc4a483e"]]);var om=nm;const am=e=>{om.TUIServer=sm.server,e.component(sm.name,om)},im=e=>(sm.server=new Hu(e),e.component(sm.name,sm),sm),sm={name:"TUIProfile",component:om,server:Hu,install:am,plugin:im};var rm=sm;const lm={};class cm extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIGroup",lm,u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.groupList=e.groupList,this.currentStore.searchGroup=e.searchGroup}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated)}handleGroupListUpdated(e){this.store.groupList=e.data}handleGroupAttributesUpdated(e){const{groupID:t,groupAttributes:n}=e.data;console.log(t,n)}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIGroup",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}async getGroupList(e){return this.handlePromiseCallback(async(t,n)=>{try{let n={};n=e?await this.TUICore.tim.getGroupList(e):await this.TUICore.tim.getGroupList(),this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}createGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.createGroup(e);t(n)}catch(o){n(o)}})}dismissGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.dismissGroup(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}updateGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateGroupProfile(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}joinGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.joinGroup(e);t(n)}catch(o){n(o)}})}quitGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.quitGroup(e);t(n)}catch(o){n(o)}})}searchGroupByID(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.searchGroupByID(e);this.store.searchGroup=n.data.group,t(n)}catch(o){n(o)}})}getGroupOnlineMemberCount(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupOnlineMemberCount(e);t(n)}catch(o){n(o)}})}changeGroupOwner(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.changeGroupOwner(e);t(n)}catch(o){n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}initGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.initGroupAttributes(e);t(n)}catch(o){n(o)}})}setGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupAttributes(e);t(n)}catch(o){n(o)}})}deleteGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteGroupAttributes(e);t(n)}catch(o){n(o)}})}getGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupAttributes(e);t(n)}catch(o){n(o)}})}getGroupMemberList(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberList(e);t(n)}catch(o){n(o)}})}addGroupMember(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.addGroupMember(e);t(n)}catch(o){n(o)}})}deleteGroupMember(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteGroupMember(e);t(n)}catch(o){n(o)}})}setGroupMemberMuteTime(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberMuteTime(e);t(n)}catch(o){n(o)}})}setGroupMemberRole(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberRole(e);t(n)}catch(o){n(o)}})}setGroupMemberNameCard(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberNameCard(e);t(n)}catch(o){n(o)}})}getGroupMemberProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberProfile(e);t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,await this.getGroupList(),this.currentStore}}const dm={class:"TUI-group"};function um(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",dm,"TUIGroup")}const pm=Object(M["defineComponent"])({name:"TUIGroup",components:{},setup(e){const t=pm.TUIServer,n=Object(M["reactive"])({groupList:[],searchGroup:[],searchID:"",currentGroup:null});return u()(t).call(t,n),{...Object(M["toRefs"])(n)}}});var mm=pm;n("b23d");const hm=me()(mm,[["render",um],["__scopeId","data-v-f2d329c8"]]);var vm=hm;const fm=e=>{vm.TUIServer=bm.server,e.component(bm.name,vm)},gm=e=>(bm.server=new cm(e),e.component(bm.name,bm),bm),bm={name:"TUIGroup",component:vm,server:cm,install:fm,plugin:gm};var Om=bm;const ym={};class jm extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIContact",ym,u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.groupList=e.groupList,this.currentStore.searchGroup=e.searchGroup,this.currentStore.systemConversation=e.systemConversation,this.currentStore.systemMessageList=e.systemMessageList}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.USER_STATUS_UPDATED,this.handleUserStatusUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate),this.TUICore.tim.off(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.USER_STATUS_UPDATED,this.handleUserStatusUpdated)}handleGroupListUpdated(e){this.store.groupList=e.data}handleGroupAttributesUpdated(e){const{groupID:t,groupAttributes:n}=e.data}handleConversationListUpdate(e){this.handleFilterSystem(e.data)}handleFriendListUpdated(e){var t;this.currentStore.friendList=e.data,this.currentStore.userIDList=l()(t=this.currentStore.friendList).call(t,e=>e.userID)}handleUserStatusUpdated(e){const t=e.data;a()(t).call(t,e=>{var t,n;const{userID:o,statusType:a,customStatus:i}=e;null===(t=this.currentStore)||void 0===t||null===(t=t.userStatusList)||void 0===t||t.set(o,{statusType:a,customStatus:i}),null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIConversation)||void 0===n||null===(n=n.currentStore)||void 0===n||null===(n=n.userStatusList)||void 0===n||n.set(o,{statusType:a,customStatus:i})})}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIContact",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}handleFilterSystem(e){const t={allConversationList:e,systemConversationList:[]};t.systemConversationList=j()(e).call(e,e=>e.type===this.TUICore.TIM.TYPES.CONV_SYSTEM),this.store.allConversationList=t.allConversationList,this.store.systemConversationList=t.systemConversationList;const[n]=t.systemConversationList;return this.store.systemConversation=n,t}async getConversationList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getConversationList();this.handleFilterSystem(t.data.conversationList),e(t)}catch(n){t(n)}})}async getSystemMessageList(){const e={conversationID:this.store.systemConversation.conversationID,count:15};return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getMessageList(e);this.store.systemMessageList=n.data.messageList,t(n)}catch(o){n(o)}})}async setMessageRead(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.setMessageRead({conversationID:this.store.systemConversation.conversationID});e(t)}catch(n){t(n)}})}async getGroupList(e){return this.handlePromiseCallback(async(t,n)=>{try{let n={};n=e?await this.TUICore.tim.getGroupList(e):await this.TUICore.tim.getGroupList(),this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}dismissGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.dismissGroup(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}updateGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateGroupProfile(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}joinGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.joinGroup(e);t(n)}catch(o){n(o)}})}quitGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.quitGroup(e);t(n)}catch(o){n(o)}})}searchGroupByID(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.searchGroupByID(e);this.store.searchGroup=n.data.group,t(n)}catch(o){this.store.searchGroup={},n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{var n;const t=await this.TUICore.tim.getFriendList();this.currentStore.friendList=t.data,this.currentStore.userIDList=l()(n=this.currentStore.friendList).call(n,e=>e.userID)||[],e(t)}catch(o){t(o)}})}async getUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;if(!e.length)return;const n=await this.TUICore.tim.getUserStatus({userIDList:e});null===n||void 0===n||null===(o=n.data)||void 0===o||null===(o=o.successUserList)||void 0===o||a()(o).call(o,e=>{var t,n;e&&null!==e&&void 0!==e&&e.userID&&(null===(t=this.currentStore)||void 0===t||null===(t=t.userStatusList)||void 0===t||t.set(null===e||void 0===e?void 0:e.userID,{statusType:null===e||void 0===e?void 0:e.statusType,customStatus:null===e||void 0===e?void 0:e.customStatus}),null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIConversation)||void 0===n||null===(n=n.currentStore)||void 0===n||null===(n=n.userStatusList)||void 0===n||n.set(null===e||void 0===e?void 0:e.userID,{statusType:null===e||void 0===e?void 0:e.statusType,customStatus:null===e||void 0===e?void 0:e.customStatus}))}),t(n)}catch(i){n(i)}})}async subscribeUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{if(!e.length)return;const n=await this.TUICore.tim.subscribeUserStatus({userIDList:e});t(n)}catch(o){n(o)}})}async unsubscribeUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;if(e&&!e.length)return;const n=await this.TUICore.tim.unsubscribeUserStatus({userIDList:e});null===(o=this.currentStore)||void 0===o||null===(o=o.userStatusList)||void 0===o||o.clear(),t(n)}catch(a){n(a)}})}async handleUserStatus(e,t){return this.handlePromiseCallback(async(n,o)=>{try{O()(async()=>{e?(await this.subscribeUserStatus(t),await this.getUserStatus(t)):await this.unsubscribeUserStatus(t)},1e3)}catch(a){o(a)}})}async bind(e){return this.currentStore=e,await this.getGroupList(),await this.getConversationList(),await this.getFriendList(),this.currentStore}}const km={class:"TUI-contact-left"},Im={class:"TUI-contact-left-header"},wm={class:"search"},Em={key:1,class:"search-box"},Cm={class:"input-box"},Tm=["placeholder"],Sm={key:0,class:"TUI-contact-column"},_m={class:"TUI-contact-column-item"},Dm={key:0,class:"num"},Nm={key:0,class:"TUI-contact-list"},Um={class:"TUI-contact-list-item selected not-aside"},Bm={key:0,class:"num"},Mm={class:"TUI-contact-column-item"},xm={class:"TUI-contact-list"},Vm=["onClick"],Lm={class:"left"},Rm=["src"],Pm={class:"content"},Am={class:"name"},Gm={class:"ID"},Hm={class:"type"},zm={class:"TUI-contact-column-item"},Fm={class:"TUI-contact-list"},$m=["onClick"],Ym={class:"left"},Km=["src"],Wm={class:"content"},qm={class:"name"},Zm={key:1,class:"TUI-contact-list"},Jm={class:"left"},Qm=["src"],Xm={class:"content"},eh={class:"name"},th={class:"ID"},nh={class:"type"},oh={class:"TUI-contact-main"},ah={key:0,class:"TUI-contact-main-h5-title"},ih={key:1,class:"TUI-contact-main-info"},sh={class:"TUI-contact-main-info-header"},rh={class:"list"},lh=["src"],ch={key:0,class:"TUI-contact-main-info-main"},dh=["disabled"],uh={class:"TUI-contact-main-info-footer"},ph={key:0},mh={key:1},hh={key:2,class:"TUI-contact-main-info"},vh={class:"TUI-contact-main-info-header"},fh={class:"list"},gh=["src"],bh={class:"TUI-contact-main-info-footer"},Oh={key:3,class:"TUI-contact-system"},yh={key:0,class:"TUI-contact-system-header"};function jh(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("MessageSystem");return Object(M["openBlock"])(),Object(M["createBlock"])(M["Transition"],{onBeforeLeave:e.init},{default:Object(M["withCtx"])(()=>{var n,o,a,i,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I;return[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["TUI-contact",[e.env.isH5?"TUI-contact-H5":""]])},[Object(M["createElementVNode"])("aside",km,[Object(M["createElementVNode"])("header",Im,[Object(M["createElementVNode"])("div",wm,[e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Em,[Object(M["createElementVNode"])("div",Cm,[Object(M["withDirectives"])(Object(M["createElementVNode"])("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.searchID=t),placeholder:e.$t("TUIContact.输入群ID,按回车搜索"),onKeyup:t[2]||(t[2]=Object(M["withKeys"])((...t)=>e.handleSearchGroup&&e.handleSearchGroup(...t),["enter"])),enterkeyhint:"search"},null,40,Tm),[[M["vModelText"],e.searchID]]),e.searchID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-cancel",onClick:t[3]||(t[3]=t=>e.searchID="")})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",{class:"search-cancel",onClick:t[4]||(t[4]=(...t)=>e.toggleSearch&&e.toggleSearch(...t))},Object(M["toDisplayString"])(e.$t("取消")),1)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"search-box",onClick:t[0]||(t[0]=(...t)=>e.toggleSearch&&e.toggleSearch(...t))},[t[17]||(t[17]=Object(M["createElementVNode"])("i",{class:"plus"},null,-1)),Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIContact.添加群聊")),1)]))])]),e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Zm,[null!==(n=e.searchGroup)&&void 0!==n&&n.groupID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(o=e.currentGroup)||void 0===o?void 0:o.groupID)===(null===(a=e.searchGroup)||void 0===a?void 0:a.groupID)&&"selected"]]),onClick:t[8]||(t[8]=t=>e.handleListItem(e.searchGroup))},[Object(M["createElementVNode"])("aside",Jm,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(i=e.searchGroup)||void 0===i?void 0:i.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Qm)]),Object(M["createElementVNode"])("main",Xm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",eh,Object(M["toDisplayString"])(null===(r=e.searchGroup)||void 0===r?void 0:r.name),1),Object(M["createElementVNode"])("li",th,[t[19]||(t[19]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(l=e.searchGroup)||void 0===l?void 0:l.groupID),1)])]),Object(M["createElementVNode"])("span",nh,Object(M["toDisplayString"])(null===(c=e.searchGroup)||void 0===c?void 0:c.type),1)])],2)):Object(M["createCommentVNode"])("",!0)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Sm,[Object(M["createElementVNode"])("li",_m,[Object(M["createElementVNode"])("header",{onClick:t[5]||(t[5]=t=>e.select("system"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["system"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群聊通知")),1),e.systemConversation&&e.systemConversation.unreadCount>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Dm,Object(M["toDisplayString"])(e.systemConversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])]),"system"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Nm,[Object(M["createElementVNode"])("li",Um,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.系统通知")),1),e.systemConversation&&e.systemConversation.unreadCount>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Bm,Object(M["toDisplayString"])(e.systemConversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Mm,[Object(M["createElementVNode"])("header",{onClick:t[6]||(t[6]=t=>e.select("group"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["group"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.我的群聊")),1)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",xm,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.groupList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(a=e.currentGroup)||void 0===a?void 0:a.groupID)===(null===n||void 0===n?void 0:n.groupID)&&"selected"]]),key:o,onClick:t=>e.handleListItem(n)},[Object(M["createElementVNode"])("aside",Lm,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===n||void 0===n?void 0:n.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Rm)]),Object(M["createElementVNode"])("main",Pm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",Am,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.name),1),Object(M["createElementVNode"])("li",Gm,[t[18]||(t[18]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.groupID),1)])]),Object(M["createElementVNode"])("span",Hm,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.type),1)])],10,Vm)}),128))],512),[[M["vShow"],"group"===e.columnName]])]),Object(M["createElementVNode"])("li",zm,[Object(M["createElementVNode"])("header",{onClick:t[7]||(t[7]=t=>e.select("friend"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["friend"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.我的好友")),1)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",Fm,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.friendList,(t,n)=>{var o,a,i,s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(o=e.currentFriend)||void 0===o?void 0:o.userID)===(null===t||void 0===t?void 0:t.userID)&&"selected"]]),key:n,onClick:n=>e.handleListItem(t)},[Object(M["createElementVNode"])("aside",Ym,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t||null===(a=t.profile)||void 0===a?void 0:a.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Km),e.displayOnlineStatus?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["online-status",1===(null===(i=e.userStatusList.get(null===t||void 0===t?void 0:t.userID))||void 0===i?void 0:i.statusType)?"online-status-online":"online-status-offline"])},null,2)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("main",Wm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",qm,Object(M["toDisplayString"])((null===t||void 0===t||null===(s=t.profile)||void 0===s?void 0:s.nick)||(null===t||void 0===t?void 0:t.userID)),1)])])],10,$m)}),128))],512),[[M["vShow"],"friend"===e.columnName]])])]))]),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",oh,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",ah,[Object(M["createElementVNode"])("i",{class:"icon icon-back",onClick:t[9]||(t[9]=(...t)=>e.back&&e.back(...t))}),Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(d=e.currentGroup)||void 0===d?void 0:d.name)||e.$t("TUIContact.系统通知")),1)])):Object(M["createCommentVNode"])("",!0),null!==(u=e.currentGroup)&&void 0!==u&&u.groupID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ih,[Object(M["createElementVNode"])("header",sh,[Object(M["createElementVNode"])("ul",rh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(null===(p=e.currentGroup)||void 0===p?void 0:p.name),1),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群ID"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(m=e.currentGroup)||void 0===m?void 0:m.groupID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群类型"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(h=e.currentGroup)||void 0===h?void 0:h.type),1)])]),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(v=e.currentGroup)||void 0===v?void 0:v.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,lh)]),e.isNeedPermission?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ch,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.请填写验证信息")),1),Object(M["withDirectives"])(Object(M["createElementVNode"])("textarea",{"onUpdate:modelValue":t[10]||(t[10]=t=>e.currentGroup.applyMessage=t),disabled:e.currentGroup.apply},null,8,dh),[[M["vModelText"],e.currentGroup.applyMessage]])])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("footer",uh,[e.currentGroup.apply&&"AVChatRoom"===e.currentGroup.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ph,Object(M["toDisplayString"])(e.$t("TUIContact.已加入")),1)):e.currentGroup.apply?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",mh,Object(M["toDisplayString"])(e.$t("TUIContact.已申请")),1)):e.isNeedPermission?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:2,class:"btn btn-default",onClick:t[11]||(t[11]=t=>e.join(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.申请加入")),1)):e.currentGroup.selfInfo.userID?e.currentGroup.selfInfo.userID&&"Owner"===e.currentGroup.selfInfo.role&&"Private"!==e.currentGroup.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:4,class:"btn btn-cancel",onClick:t[13]||(t[13]=t=>e.dismiss(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.解散群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:5,class:"btn btn-cancel",onClick:t[14]||(t[14]=t=>e.quit(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.退出群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:3,class:"btn btn-default",onClick:t[12]||(t[12]=t=>e.join(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.加入群聊")),1)),e.currentGroup.selfInfo.userID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:6,class:"btn btn-default",onClick:t[15]||(t[15]=t=>e.enter(e.currentGroup.groupID,"GROUP"))},Object(M["toDisplayString"])(e.$t("TUIContact.进入群聊")),1)):Object(M["createCommentVNode"])("",!0)])])):null!==(f=e.currentFriend)&&void 0!==f&&f.userID&&"friend"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",hh,[Object(M["createElementVNode"])("header",vh,[Object(M["createElementVNode"])("ul",fh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(g=e.currentFriend)||void 0===g||null===(g=g.profile)||void 0===g?void 0:g.nick)||(null===(b=e.currentFriend)||void 0===b?void 0:b.userID)),1),Object(M["createElementVNode"])("li",null,[t[20]||(t[20]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(O=e.currentFriend)||void 0===O||null===(O=O.profile)||void 0===O?void 0:O.userID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(y=e.currentFriend)||void 0===y||null===(y=y.profile)||void 0===y?void 0:y.selfSignature),1)])]),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(j=e.currentFriend)||void 0===j||null===(j=j.profile)||void 0===j?void 0:j.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,gh)]),Object(M["createElementVNode"])("footer",bh,[Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t[16]||(t[16]=t=>e.enter(e.currentFriend.userID,"C2C"))},Object(M["toDisplayString"])(e.$t("TUIContact.发送消息")),1)])])):"system"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Oh,[e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",yh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIContact.系统通知")),1)])),Object(M["createVNode"])(s,{isH5:e.env.isH5,data:e.systemMessageList,types:e.types,onApplication:e.handleGroupApplication},null,8,["isH5","data","types","onApplication"])])):Object(M["renderSlot"])(e.$slots,"default",{key:4},void 0,!0)],512),[[M["vShow"],!(null===(k=e.currentGroup)||void 0===k||!k.groupID)||!(null===(I=e.currentFriend)||void 0===I||!I.userID)||"system"===e.columnName]])],2)]}),_:3},8,["onBeforeLeave"])}var kh=n("44a4"),Ih=n.n(kh);const wh={class:"list"},Eh={key:0,class:"btn-box"},Ch=["onClick"],Th=["onClick"],Sh={key:2};function _h(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-system",[e.isH5?"message-system-h5":""]])},[Object(M["createElementVNode"])("ul",wh,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messageList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:o},[n.type===e.types.MSG_GRP_TIP||n.type===e.types.MSG_GRP_SYS_NOTICE?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-system"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.translateGroupSystemNotice(n)),1),1===(null===n||void 0===n||null===(a=n.payload)||void 0===a?void 0:a.operationType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Eh,[n.isHandle?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn btn-default",onClick:t=>e.handleApplication("Agree",n)},Object(M["toDisplayString"])(e.$t("TUIContact.接受")),9,Ch)),n.isHandle?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Sh,Object(M["toDisplayString"])(e.$t("TUIContact.已处理")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn btn-cancel",onClick:t=>e.handleApplication("Reject",n)},Object(M["toDisplayString"])(e.$t("TUIContact.拒绝")),9,Th))])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)])}),128))])],2)}var Dh=Object(M["defineComponent"])({props:{data:{type:Array,default:()=>[]},types:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({messageList:[],types:{},isHandle:!1});Object(M["watchEffect"])(()=>{n.messageList=e.data,n.types=e.types});const o=(e,n)=>{const o={handleAction:e,message:n};t.emit("application",o),n.isHandle=!0};return{...Object(M["toRefs"])(n),translateGroupSystemNotice:En["e"],handleApplication:o}}});n("10d3");const Nh=me()(Dh,[["render",_h],["__scopeId","data-v-4cbbc4fe"]]);var Uh=Nh;const Bh=Object(M["defineComponent"])({name:"TUIContact",components:{MessageSystem:Uh},props:{displayOnlineStatus:{type:Boolean,default:!1}},setup(e,t){const n=Bh.TUIServer,{t:o}=n.TUICore.config.i18n.useI18n(),a=Object(M["reactive"])({groupList:[],searchGroup:{},searchID:"",currentGroup:null,systemConversation:{unreadCount:0},systemMessageList:[],columnName:"",types:n.TUICore.TIM.TYPES,isSearch:!1,env:n.TUICore.TUIEnv,friendList:[],userIDList:[],currentFriend:{},displayOnlineStatus:!1,onlineStatus:!1,userStatusList:new qi.a});u()(n).call(n,a),Object(M["watch"])(()=>e.displayOnlineStatus,async(e,t)=>{e!==t&&(a.displayOnlineStatus=e,n.handleUserStatus(a.displayOnlineStatus,a.userIDList))},{immediate:!0}),Object(M["watch"])(()=>a.userIDList,(e,t)=>{Object(En["d"])(e,t)||n.handleUserStatus(a.displayOnlineStatus,a.userIDList)});const i=Object(M["computed"])(()=>{const e=a.currentGroup.selfInfo.userID,t=a.currentGroup.joinOption===n.TUICore.TIM.TYPES.JOIN_OPTIONS_NEED_PERMISSION;return!e&&t}),s=async e=>{switch(a.columnName){case"group":a.currentGroup=e;break;case"friend":a.currentFriend=e;break}a.isSearch&&(a.currentGroup=e)},r=async e=>{var t;if(a.currentGroup=null,Ih()(t=a.searchID).call(t))try{var i;await n.searchGroupByID(Ih()(i=a.searchID).call(i))}catch(s){const e=o("TUIContact.该群组不存在");Object(En["b"])(e,a.env)}},l=async e=>{const t={groupID:e.groupID,applyMessage:e.applyMessage||o("TUIContact.加群"),type:null===e||void 0===e?void 0:e.type};await n.joinGroup(t),a.currentGroup.apply=!0},c=async e=>{await n.quitGroup(e.groupID),a.currentGroup=null},d=async(e,t)=>{const o=`${t}${e}`;n.TUICore.TUIServer.TUIConversation.getConversationProfile(o).then(e=>{n.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation),g()})},p=e=>{n.dismissGroup(e.groupID),a.currentGroup=null},m=async e=>{var t;"system"!==a.columnName&&"system"===e&&null!==(t=a.systemConversation)&&void 0!==t&&t.conversationID&&(await n.getSystemMessageList(),await n.setMessageRead()),a.currentGroup={},"group"===a.columnName||"group"!==e||a.env.isH5?a.currentGroup={}:a.currentGroup=a.groupList[0],a.searchID="",a.columnName=a.columnName===e?"":e},h=()=>{a.isSearch=!a.isSearch,a.columnName="",a.searchID="",a.searchGroup={},a.currentGroup={}},v=()=>{a.isSearch=!1,a.columnName="",a.searchID="",a.searchGroup={},a.currentGroup={}},f=e=>{n.handleGroupApplication(e)},g=()=>{a.currentGroup={},a.currentFriend={},a.columnName=""},b=e=>{n.TUICore.getUserStatusList(e)};return{...Object(M["toRefs"])(a),handleListItem:s,handleSearchGroup:r,join:l,quit:c,dismiss:p,isNeedPermission:i,select:m,handleGroupApplication:f,toggleSearch:h,init:v,back:g,enter:d,getUserStatusList:b}}});var Mh=Bh;n("7b94");const xh=me()(Mh,[["render",jh],["__scopeId","data-v-5f069d6a"]]);var Vh=xh;const Lh=e=>{Vh.TUIServer=Ph.server,e.component(Ph.name,Vh)},Rh=e=>(Ph.server=new jm(e),e.component(Ph.name,Ph),Ph),Ph={name:"TUIContact",component:Vh,server:jm,install:Lh,plugin:Rh};var Ah=Ph;class Gh extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUISearch",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){var n;null!==this&&void 0!==this&&null!==(n=this.currentStore)&&void 0!==n&&null!==(n=n.conversationData)&&void 0!==n&&n.list&&(this.currentStore.conversationData.list=e.conversationList)}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUISearch",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated)}handleFriendListUpdated(e){var t,n;this.currentStore.searchUserList=l()(t=e.data).call(t,e=>null===e||void 0===e?void 0:e.profile),this.currentStore.allUserList=l()(n=e.data).call(n,e=>null===e||void 0===e?void 0:e.profile)}async getConversationProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getConversationProfile(e);t(n)}catch(o){n(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{var n,o;const t=await this.TUICore.tim.getFriendList();this.currentStore.searchUserList=l()(n=t.data).call(n,e=>null===e||void 0===e?void 0:e.profile),this.currentStore.allUserList=l()(o=t.data).call(o,e=>null===e||void 0===e?void 0:e.profile),e(t)}catch(a){t(a)}})}async bind(e){return this.currentStore=e,await this.getFriendList(),this.currentStore}}const Hh={key:0},zh={key:0,class:"icon icon-c2c"};function Fh(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Transfer"),r=Object(M["resolveComponent"])("CreateGroup"),l=Object(M["resolveComponent"])("Dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["TUI-search",[e.env.isH5?"TUI-search-H5":""]]),ref:"dialog"},[Object(M["createElementVNode"])("header",{onClick:t[2]||(t[2]=(...t)=>e.toggleOptionalShow&&e.toggleOptionalShow(...t))},[t[5]||(t[5]=Object(M["createElementVNode"])("i",{class:"plus"},null,-1)),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Hh,Object(M["toDisplayString"])(e.$t("TUISearch.发起会话")),1)):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",null,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",zh)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("h1",{onClick:t[0]||(t[0]=t=>e.showOpen("isC2C"))},Object(M["toDisplayString"])(e.$t("TUISearch.发起单聊")),1)]),Object(M["createElementVNode"])("li",null,[t[4]||(t[4]=Object(M["createElementVNode"])("i",{class:"icon icon-group"},null,-1)),Object(M["createElementVNode"])("h1",{onClick:t[1]||(t[1]=t=>e.showOpen("isGroup"))},Object(M["toDisplayString"])(e.$t("TUISearch.发起群聊")),1)])],512),[[M["vShow"],e.optionalShow]])]),Object(M["createVNode"])(l,{show:e.open,isH5:e.env.isH5,isHeaderShow:!1,isFooterShow:!1,background:!1,"onUpdate:show":t[3]||(t[3]=t=>e.open=t)},{default:Object(M["withCtx"])(()=>[1===e.step?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:0,isSearch:e.needSearch,title:e.showTitle,list:e.searchUserList,isH5:e.env.isH5,isRadio:"isC2C"===e.createConversationType,onSearch:e.handleSearch,onSubmit:e.submit,onCancel:e.toggleOpen},null,8,["isSearch","title","list","isH5","isRadio","onSearch","onSubmit","onCancel"])):(Object(M["openBlock"])(),Object(M["createBlock"])(r,{key:1,onSubmit:e.create,onCancel:e.toggleOpen,isH5:e.env.isH5},null,8,["onSubmit","onCancel","isH5"]))]),_:1},8,["show","isH5"])],2)}const $h={class:"group-box"},Yh={key:0},Kh={key:1},Wh={key:0,class:"group-list"},qh={class:"group-list-item"},Zh=["src"],Jh={class:"group-list-item"},Qh={class:"content"},Xh={class:"group-list-item"},ev={class:"content"},tv={class:"group-list-introduction"},nv={class:"group-list-item"},ov={key:0,class:"select"},av=["onClick"],iv={class:"select-item-header"},sv={class:"left"},rv=["src"],lv={class:"select-item-label"},cv={key:0,class:"icon icon-selected"},dv={class:"select-item-detail"},uv=["href"],pv={class:"content"},mv={key:0,class:"group-h5-list-item-introduction"},hv={class:"introduction-name"},vv={class:"introduction-detail"},fv=["href"],gv={key:1,class:"group-list group-list-edit"},bv=["placeholder"],Ov={key:1,class:"select"},yv=["onClick"],jv={class:"select-item-header"},kv={class:"left"},Iv=["src"],wv={class:"select-item-label"},Ev={key:0,class:"icon icon-selected"},Cv={class:"select-item-detail"},Tv=["href"],Sv={class:"group-profile-footer"},_v=["disabled"];function Dv(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["group",[e.isH5?"group-h5":""]])},[Object(M["createElementVNode"])("div",$h,[Object(M["createElementVNode"])("header",null,[e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Kh,Object(M["toDisplayString"])(e.$t("TUISearch."+e.editConfig.title)),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Yh,Object(M["toDisplayString"])(e.$t("TUISearch.发起群聊")),1)),Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.isH5?"icon-back":"icon-close"]]),onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))},null,2)]),e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",gv,["input"===e.editConfig.type?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>e.editConfig.value=t),placeholder:e.$t("TUISearch."+e.editConfig.placeholder)},null,8,bv)),[[M["vModelText"],e.editConfig.value]]):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Ov,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["select-item",[e.editConfig.value===t.type&&"selected"]]),key:n,onClick:n=>e.selectedEdit(t)},[Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("div",jv,[Object(M["createElementVNode"])("aside",kv,[Object(M["createElementVNode"])("img",{class:"icon",src:t.icon},null,8,Iv),Object(M["createElementVNode"])("span",wv,Object(M["toDisplayString"])(t.label),1)]),e.editConfig.value===t.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Ev)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",Cv,Object(M["toDisplayString"])(e.$t("TUISearch."+t.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+t.src)),9,Tv)])],10,yv))),128))]))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Wh,[Object(M["createElementVNode"])("li",qh,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群头像")),1),Object(M["createElementVNode"])("img",{class:"icon",src:e.profile.avatar},null,8,Zh)]),Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",Jh,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群名称")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[2]||(t[2]=t=>e.edit("name"))},[Object(M["createElementVNode"])("p",Qh,Object(M["toDisplayString"])(e.profile.name),1),t[9]||(t[9]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.profile.name=t),placeholder:"请输入群名称"},null,512)),[[M["vModelText"],e.profile.name]])]),Object(M["createElementVNode"])("li",Xh,[Object(M["createElementVNode"])("label",null,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("TUISearch.群ID")),1),Object(M["createElementVNode"])("text",null,"("+Object(M["toDisplayString"])(e.$t("TUISearch.选填"))+")",1)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[4]||(t[4]=t=>e.edit("groupID"))},[Object(M["createElementVNode"])("p",ev,Object(M["toDisplayString"])(e.profile.groupID),1),t[10]||(t[10]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.profile.groupID=t)},null,512)),[[M["vModelText"],e.profile.groupID]])]),Object(M["createElementVNode"])("li",tv,[Object(M["createElementVNode"])("div",nv,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群类型")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[5]||(t[5]=t=>e.edit("type"))},[Object(M["createElementVNode"])("p",pv,Object(M["toDisplayString"])(e.groupTypeDetail.label),1),t[11]||(t[11]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",ov,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["select-item",[e.profile.type===t.type&&"selected"]]),key:n,onClick:n=>e.selected(t)},[Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("div",iv,[Object(M["createElementVNode"])("aside",sv,[Object(M["createElementVNode"])("img",{class:"icon",src:t.icon},null,8,rv),Object(M["createElementVNode"])("span",lv,Object(M["toDisplayString"])(t.label),1)]),e.profile.type===t.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",cv)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",dv,Object(M["toDisplayString"])(e.$t("TUISearch."+t.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+t.src)),9,uv)])],10,av))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("article",mv,[Object(M["createElementVNode"])("label",hv,Object(M["toDisplayString"])(e.groupTypeDetail.label)+":",1),Object(M["createElementVNode"])("span",vv,Object(M["toDisplayString"])(e.$t("TUISearch."+e.groupTypeDetail.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+e.groupTypeDetail.src)),9,fv)])):Object(M["createCommentVNode"])("",!0)])])])),Object(M["createElementVNode"])("footer",Sv,[e.isEdit||e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn-default",onClick:t[7]||(t[7]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("TUISearch.取消")),1)),Object(M["createElementVNode"])("button",{class:"btn-submit",onClick:t[8]||(t[8]=t=>e.submit(e.profile)),disabled:""===e.profile.name&&!e.isEdit},Object(M["toDisplayString"])(e.$t("TUISearch.创建")),9,_v)])])],2)}const Nv=Object(M["defineComponent"])({name:"group",props:{isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({profile:{groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:""},editConfig:{title:"",value:"",key:"",type:"",placeholder:""},isEdit:!1,type:[{icon:"https://web.sdk.qcloud.com/im/assets/images/Public.svg",label:"陌生人社交群(Public)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_PUBLIC,detail:"类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/Meeting.svg",label:"临时会议群(Meeting)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_MEETING,detail:"创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/Work.svg",label:"好友工作群(Work)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_WORK,detail:"类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/AVChatroom.svg",label:"直播群(AVChatroom)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_AVCHATROOM,detail:"创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见",src:"产品文档"}]});n.profile.type=n.type[0].type,n.profile.avatar=n.type[0].icon;const o=Object(M["computed"])(()=>{var e;return j()(e=n.type).call(e,e=>e.type===n.profile.type)[0]}),a=e=>{n.profile.type!==e.type&&(n.profile.type=e.type,n.profile.avatar=e.icon)},i=e=>{if(n.isEdit)return n.profile[n.editConfig.key]=n.editConfig.value,n.isEdit=!n.isEdit;const o={name:e.name,type:e.type,groupID:e.groupID,avatar:e.avatar};t.emit("submit",o)},s=()=>{if(n.isEdit)return n.isEdit=!n.isEdit;t.emit("cancel")},r=e=>{switch(n.isEdit=!n.isEdit,n.editConfig.key=e,n.editConfig.value=n.profile[e],e){case"name":n.editConfig.title="设置群名称",n.editConfig.placeholder="请输入群名称",n.editConfig.type="input";break;case"groupID":n.editConfig.title="设置群ID",n.editConfig.placeholder="请输入群ID",n.editConfig.type="input";break;case"type":n.editConfig.title="选择群类型",n.editConfig.type="select";break}},l=e=>{n.editConfig.value!==e.type&&(n.editConfig.value=e.type)};return{...Object(M["toRefs"])(n),selected:a,submit:i,cancel:s,Link:Ki,edit:r,selectedEdit:l,groupTypeDetail:o}}});var Uv=Nv;n("18c1");const Bv=me()(Uv,[["render",Dv],["__scopeId","data-v-279f8f91"]]);var Mv=Bv,xv=Mv;const Vv=Object(M["defineComponent"])({name:"TUISearch",components:{Transfer:La,Dialog:Ai,CreateGroup:xv},setup(e){var t,n;const o=null===Vv||void 0===Vv?void 0:Vv.TUIServer,{t:a}=o.TUICore.config.i18n.useI18n(),i=Object(M["reactive"])({open:!1,searchUserID:"",selectedList:[],allUserList:[],searchUserList:[],step:1,group:{groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:"",memberList:[{userID:""}]},showTitle:"",createConversationType:"",env:o.TUICore.TUIEnv,optionalShow:!o.TUICore.TUIEnv.isH5,needSearch:!o.TUICore.isOfficial});u()(o).call(o,i);const s=null===o||void 0===o||null===(t=o.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t?void 0:t.TUIGroup;xv.TUIServer=o;const r=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},c=Object(M["ref"])();Object(wn["onClickOutside"])(c,()=>{i.env.isH5&&(i.optionalShow=!1,i.searchUserList=[...i.allUserList])});const d=()=>{i.group={groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:"",memberList:[{userID:""}]}},p=()=>{i.open=!i.open,i.open||(i.searchUserID="",i.step=1,d())},m=e=>{if(i.createConversationType===nn["a"].typeC2C){const{userID:t}=e[0];v(t,"C2C"),p()}else{if(!xv.TUIServer){const e=a("TUISearch.创建群聊,请注册 TUIGroup 模块");Object(En["b"])(e,i.env)}d(),i.group.memberList=l()(e).call(e,e=>({userID:e.userID})),i.step=2}i.searchUserList=[...i.allUserList]},h=async e=>{e.type===o.TUICore.TIM.TYPES.GRP_PUBLIC&&(i.group.joinOption=o.TUICore.TIM.TYPES.JOIN_OPTIONS_NEED_PERMISSION);const t={...i.group,...e};e.type===o.TUICore.TIM.TYPES.GRP_AVCHATROOM&&(delete t.memberList,delete t.joinOption);try{var n;const l=await s.createGroup(t),c=a("TUISearch.创建成功");Object(En["c"])(c,i.env),(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===r||void 0===r?void 0:r.commit)&&(null===r||void 0===r||r.commit("handleTask",3)),p(),e.type===o.TUICore.TIM.TYPES.GRP_AVCHATROOM&&s.joinGroup({groupID:l.data.group.groupID,applyMessage:"",type:l.data.group.type}),v(l.data.group.groupID,"GROUP")}catch(l){Object(En["b"])(l,i.env)}},v=(e,t)=>{const n=`${t}${e}`;o.getConversationProfile(n).then(e=>{o.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation),an.getInstance().reportEvent({name:"conversationType",ext1:"C2C"===t?"TypeC2C-success":"TypeGroup-success"})})},f=e=>{switch(i.open=!0,an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation"}),i.searchUserList=[...i.allUserList],e){case"isC2C":return i.createConversationType=nn["a"].typeC2C,i.showTitle=a("TUISearch.发起单聊"),an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation-c2c"}),i.showTitle;case"isGroup":return i.createConversationType=nn["a"].typeGroup,i.showTitle=a("TUISearch.发起群聊"),an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation-group"}),i.showTitle}},g=()=>{i.env.isH5&&(i.optionalShow=!i.optionalShow)},b=async e=>{try{var t;const n=await o.getUserProfile([e]);if(!n.data.length)return Object(En["b"])(a("TUISearch.该用户不存在"),i.env),void(i.searchUserList=[...i.allUserList]);i.searchUserList=n.data;const s=j()(t=i.allUserList).call(t,e=>e.userID===n.data[0].userID);i.allUserList=s.length?i.allUserList:[...i.allUserList,...i.searchUserList]}catch(n){return Object(En["b"])(a("TUISearch.该用户不存在"),i.env),void(i.searchUserList=[...i.allUserList])}};return{...Object(M["toRefs"])(i),toggleOpen:p,handleSearch:b,submit:m,create:h,showOpen:f,toggleOptionalShow:g,dialog:c}}});var Lv=Vv;n("2068");const Rv=me()(Lv,[["render",Fh],["__scopeId","data-v-3733d0d4"]]);var Pv=Rv;const Av=e=>{Pv.TUIServer=Hv.server,e.component(Hv.name,Pv)},Gv=e=>(Hv.server=new Gh(e),e.component(Hv.name,Hv),Hv),Hv={name:"TUISearch",component:Pv,server:Gh,install:Av,plugin:Gv};var zv=Hv;const Fv=[yd,Au,rm,Om,Ah,zv],$v=e=>{a()(Fv).call(Fv,t=>{t.install(e)})},Yv=e=>{a()(Fv).call(Fv,t=>{t.plugin(e)})},Kv={name:"TUIComponents",version:"1.0.0",TUIChat:yd,TUIConversation:Au,TUIProfile:rm,TUIGroup:Om,TUIContact:Ah,TUISearch:zv,install:$v,plugin:Yv};var Wv=Kv,qv=n("3581"),Zv=n.n(qv),Jv=n("de21"),Qv=n.n(Jv);class Xv{static init(e){}install(e){}getInstance(){}login(e){return new g.a((e,t)=>{})}destroyed(){}component(e,t){}use(e,t){}setAwaitFunc(e,t){}setCommonStore(e){}setComponentStore(e,t,n){}getStore(){}storeCommonListener(e,t){}}n("d9e2");var ef=n("c651"),tf=n.n(ef);class nf{setCommonStore(e){}setComponentStore(e,t,n){}storeCommonListener(e,t){}}class of extends nf{constructor(){super(),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"storeListener",void 0),this.storeListener={keys:[],callback:()=>{}},this.store={};const e={};this.store.common=new Proxy(e,{get:(e,t)=>e[t],set:(e,t,n)=>{var o;const a={};return m()(a,e),e[t]=n,e[t]!==a[t]&&_()(o=tf()(this.storeListener)).call(o,t)>=0&&this.storeListener.callback(e[t],a[t]),e[t]}})}setCommonStore(e){var t;return a()(t=s()(e)).call(t,t=>{if(t in this.store.common)return new Error(t+" 在公共数据已存在,请重新设置");this.store.common[t]=e[t]}),this.store}setComponentStore(e,t,n){return e in this.store?new Error(e+" 该数据模块已存在,请重新设置"):this.store[e]=new Proxy(t,{get:(e,t)=>e[t],set:(e,t,o)=>{const a={};return m()(a,e),e[t]=o,e[t]!==a[t]&&n&&n(e,a),e}})}storeCommonListener(e,t){this.storeListener={keys:e,callback:t}}}Object.prototype.toString;const{isArray:af}=Array,sf=e=>"function"===typeof e;class rf extends Xv{constructor(e){super(),Object(c["a"])(this,"isOfficial",!1),Object(c["a"])(this,"isIntl",!1),Object(c["a"])(this,"tim",void 0),Object(c["a"])(this,"TIM",void 0),Object(c["a"])(this,"isSDKReady",!1),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"TUIEnv",void 0),Object(c["a"])(this,"SDKAppID",void 0),Object(c["a"])(this,"installedPlugins",new ie.a),Object(c["a"])(this,"config",{}),Object(c["a"])(this,"TUIServer",void 0),Object(c["a"])(this,"TUIComponents",new ie.a),Object(c["a"])(this,"loginResolveRejectCache",void 0),this.loginResolveRejectCache=[],this.SDKAppID=e.SDKAppID,this.TUIServer={},this.store=new of,this.TIM=ao["a"],window.TIM=ao["a"],e.tim?window.TUIKit=e.tim:window.TUIKit=ao["a"].create({SDKAppID:this.SDKAppID}),this.tim=window.TUIKit,this.tim.registerPlugin({"tim-upload-plugin":Zv.a}),this.tim.registerPlugin({"tim-profanity-filter-plugin":Qv.a}),this.bindTIMEvent(),this.TUIEnv=Object(D["b"])(),this.isOfficial=1400187352===this.SDKAppID||1400188366===this.SDKAppID}static init(e){const t=an.getInstance();rf.instance||(rf.instance=new rf(e));const{isH5:n}=Object(D["b"])();return t.reportEvent({name:"SDKAppID",ext1:n?"IMTUIKitH5External":"IMTUIKitWebExternal",ext2:n?"IMTUIKitH5External":"IMTUIKitWebExternal",ext3:e.SDKAppID}),t.reportEvent({name:"time",ext1:"firstRunTime"}),window.TUIKitTUICore=rf.instance,rf.instance.use(D["d"]),rf.instance.use(D["e"]),rf.instance}install(e){var t,n;e.config.globalProperties.$TUIKit=this.getInstance();let o=!0;a()(t=this.installedPlugins).call(t,t=>{e.use(t),"TUIComponents"===t.name&&(o=!1)}),o&&a()(n=this.TUIComponents).call(n,t=>{e.component(t.name,t.component)}),Object(D["a"])(e)}getInstance(){return rf.instance}login(e){return new g.a((t,n)=>{this.tim.login(e).then(()=>{var o,a;return this.loginResolveRejectCache.push({resolve:t,reject:n}),rf.isLogin=!0,window._isTIMCallKit=!0,null===rf||void 0===rf||null===(o=rf.instance)||void 0===o||null===(o=o.TUIServer)||void 0===o||null===(o=o.TUICallKit)||void 0===o||o.init({SDKAppID:this.SDKAppID,userID:e.userID,userSig:e.userSig,tim:this.tim}),null!==rf&&void 0!==rf&&null!==(a=rf.instance)&&void 0!==a&&null!==(a=a.TUIServer)&&void 0!==a&&a.TUICallKit&&an.getInstance().reportEvent({name:"SDKAppID",ext1:"IMTUIKitWebExternal-call",ext2:"IMTUIKitWebExternal-call",ext3:this.SDKAppID}),null}).catch(e=>{n(e)})})}logout(){return new g.a((e,t)=>{this.tim.logout().then(t=>{this.isSDKReady=!1,rf.isLogin=!1,e(t)}).catch(e=>{t(e)})})}bindTIMEvent(){this.tim.on(ao["a"].EVENT.SDK_READY,this.handleSDKReady,this)}unbindTIMEvent(){this.tim.off(ao["a"].EVENT.SDK_READY,this.handleSDKReady)}handleSDKReady(){var e;this.isSDKReady=!0,this.handelAwaitFunc(rf.TUIServerFunMap),a()(e=this.loginResolveRejectCache).call(e,({resolve:e})=>{e({msg:"登录成功,且SDK Ready"})})}handelAwaitFunc(e){const t=s()(this.TUIServer);for(let n=0;n0&&l()(o).call(o,e=>e()),null===e||void 0===e||e.delete(t[n])}return e}destroyed(){this.unbindTIMEvent(),this.isSDKReady=!1}component(e,t){const n=this.getInstance();return this.TUIServer||(this.TUIServer={}),this.TUIServer[e]=t.server,this.TUIComponents.has(t)?console.warn(e+" component has already been applied to target TUICore."):this.TUIComponents.add(t),n}use(e,t){const n=this.getInstance();return this.installedPlugins.has(e)?console.warn("Plugin has already been applied to target TUICore."):e&&sf(null===e||void 0===e?void 0:e.plugin)?(this.installedPlugins.add(e),null===e||void 0===e||e.plugin(n,t)):sf(e)?(this.installedPlugins.add(e),e(n,t)):console.warn('A plugin must either be a function or an object with an "plugin" function.'),n}usePlugin(e){var t;let n={};return a()(t=this.installedPlugins).call(t,t=>{t.name===e&&(n=t)}),n}setAwaitFunc(e,t){if(this.isSDKReady)t();else{rf.TUIServerFunMap||(rf.TUIServerFunMap=new qi.a);const n=rf.TUIServerFunMap.get(e)||[];n.push(t),rf.TUIServerFunMap.set(e,n)}}setCommonStore(e){return this.store.setCommonStore(e)}setComponentStore(e,t,n){return this.store.setComponentStore(e,t,n)}getStore(){return this.store.store}storeCommonListener(e,t){return this.store.storeCommonListener(e,t)}}Object(c["a"])(rf,"instance",void 0),Object(c["a"])(rf,"isLogin",!1),Object(c["a"])(rf,"TUIServerFunMap",void 0);var lf=n("bbb6");lf["b"]},fdc9:function(e,t,n){"use strict";var o=n("1344");const a=Object(o["a"])();t["a"]=a},fe1e:function(e,t,n){"use strict";n("0504")}}); \ No newline at end of file diff --git a/public/static/im-web/js/app.fdb8059d.js b/public/static/im-web/js/app.fdb8059d.js new file mode 100644 index 0000000..2785d47 --- /dev/null +++ b/public/static/im-web/js/app.fdb8059d.js @@ -0,0 +1 @@ +(function(e){function t(t){for(var o,a,r=t[0],l=t[1],c=t[2],d=0,u=[];d=3600?(o=S()(""+t/3600,10)<10?"0"+S()(""+t/3600,10):S()(""+t/3600,10),a=S()(""+t%60/60,10)<10?"0"+S()(""+t%60/60,10):S()(""+t%60/60,10),i=t%3600<10?"0"+t%3600:t%3600,i>60&&(a=S()(""+i/60,10)<10?"0"+S()(""+i/60,10):S()(""+i/60,10),i=i%60<10?"0"+i%60:i%60),n=`${o}:${a}:${i}`):t>=60&&t<3600?(a=S()(""+t/60,10)<10?"0"+S()(""+t/60,10):S()(""+t/60,10),i=t%60<10?"0"+t%60:t%60,n=`00:${a}:${i}`):t<60&&(i=t<10?"0"+t:t,n="00:00:"+i),n}var D=n("b05a"),N=n("c959"),U=n("2e20");function B(e){var t,n,o,a,i,s;let r="";switch(e.type){case N["a"].TYPES.CONV_C2C:r=Q(null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.avatar)?null===e||void 0===e||null===(n=e.userProfile)||void 0===n?void 0:n.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png";break;case N["a"].TYPES.CONV_GROUP:r=Q(null===e||void 0===e||null===(o=e.groupProfile)||void 0===o?void 0:o.avatar)?null===e||void 0===e||null===(a=e.groupProfile)||void 0===a?void 0:a.avatar:"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg";break;case N["a"].TYPES.CONV_SYSTEM:r=Q(null===e||void 0===e||null===(i=e.groupProfile)||void 0===i?void 0:i.avatar)?null===e||void 0===e||null===(s=e.groupProfile)||void 0===s?void 0:s.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png";break}return r}function M(e){var t,n;const{t:o}=window.TUIKitTUICore.config.i18n.useI18n();let a="";switch(e.type){case N["a"].TYPES.CONV_C2C:a=(null===e||void 0===e?void 0:e.userProfile.nick)||(null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID)||"";break;case N["a"].TYPES.CONV_GROUP:a=e.groupProfile.name||(null===e||void 0===e||null===(n=e.groupProfile)||void 0===n?void 0:n.groupID)||"";break;case N["a"].TYPES.CONV_SYSTEM:a=o("系统通知");break}return a}function x(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=[`[${t("TUIConversation.有人@我")}]`,`[${t("TUIConversation.@所有人")}]`,`[${t("TUIConversation.@所有人")}][${t("TUIConversation.有人@我")}]`];let o="";for(let a=0;a0&&(o=n[e.groupAtInfoList[a].atTypeArray[0]-1]);return o}function V(e){var t;const n={referenceMessageForShow:"",referenceMessageType:0};if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type)return n;switch(e.type){case N["a"].TYPES.MSG_TEXT:n.referenceMessageForShow=null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.text,n.referenceMessageType=1;break;case N["a"].TYPES.MSG_CUSTOM:n.referenceMessageForShow="[自定义消息]",n.referenceMessageType=2;break;case N["a"].TYPES.MSG_IMAGE:n.referenceMessageForShow="[图片]",n.referenceMessageType=3;break;case N["a"].TYPES.MSG_AUDIO:n.referenceMessageForShow="[语音]",n.referenceMessageType=4;break;case N["a"].TYPES.MSG_VIDEO:n.referenceMessageForShow="[视频]",n.referenceMessageType=5;break;case N["a"].TYPES.MSG_FILE:n.referenceMessageForShow="[文件]",n.referenceMessageType=6;break;case N["a"].TYPES.MSG_FACE:n.referenceMessageForShow="[表情]",n.referenceMessageType=8;break}return n}function L(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),{lastMessage:n}=e,o=e;let a="",i="";const s=o.unreadCount>0&&o.messageRemindType===N["a"].TYPES.MSG_REMIND_ACPT_NOT_NOTE?`[${o.unreadCount>99?"99+":o.unreadCount}${t("TUIConversation.条")}] `:"";if(o.type===N["a"].TYPES.CONV_GROUP&&(a=n.fromAccount===o.groupProfile.selfInfo.userID?t("TUIConversation.我"):n.nameCard||n.nick||n.fromAccount),n.type===N["a"].TYPES.MSG_TEXT)i=n.payload.text;else if(n.type===N["a"].TYPES.MSG_CUSTOM){var r;const e=te(null===n||void 0===n||null===(r=n.payload)||void 0===r?void 0:r.data);if(1===(null===e||void 0===e?void 0:e.businessID))return i=W(n),i;i=n.messageForShow}else i=n.messageForShow;return n.isRevoked&&(i=t("TUIChat.撤回了一条消息")),o.type===N["a"].TYPES.CONV_GROUP&&n.type===N["a"].TYPES.MSG_GRP_TIP?i:`${s}${a?a+":":""}${i}`}function R(e){var t,n,o,i;const{t:r}=window.TUIKitTUICore.config.i18n.useI18n(),l={message:e,text:""};let c=(null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e||null===(t=e.payload)||void 0===t||null===(t=t.userIDList)||void 0===t?void 0:t.join(","));var d,u;(null===e||void 0===e||null===(n=e.payload)||void 0===n||null===(n=n.memberList)||void 0===n?void 0:n.length)>0&&(c="",null===e||void 0===e||null===(d=e.payload)||void 0===d||null===(d=d.memberList)||void 0===d||a()(d).call(d,e=>{c+=((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID))+","}),c=null===(u=c)||void 0===u?void 0:s()(u).call(u,0,-1));if((null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(o=N["a"].TYPES)||void 0===o?void 0:o.MSG_GRP_TIP))switch(e.payload.operationType){case N["a"].TYPES.GRP_TIP_MBR_JOIN:l.text=`${c} ${r("message.tip.加入群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_QUIT:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.退出群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_KICKED_OUT:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.被")}${e.payload.operatorID}${r("message.tip.踢出群组")}`;break;case N["a"].TYPES.GRP_TIP_MBR_SET_ADMIN:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.成为管理员")}`;break;case N["a"].TYPES.GRP_TIP_MBR_CANCELED_ADMIN:l.text=`${r("message.tip.群成员")}:${c} ${r("message.tip.被撤销管理员")}`;break;case N["a"].TYPES.GRP_TIP_GRP_PROFILE_UPDATED:l.text=P(e);break;case N["a"].TYPES.GRP_TIP_MBR_PROFILE_UPDATED:for(const t of e.payload.memberList)t.muteTime>0?l.text=`${r("message.tip.群成员")}:${t.userID}${r("message.tip.被禁言")}`:l.text=`${r("message.tip.群成员")}:${t.userID}${r("message.tip.被取消禁言")}`;break;default:l.text=`[${r("message.tip.群提示消息")}]`;break}else if("group_create"===(null===e||void 0===e||null===(i=e.payload)||void 0===i?void 0:i.data)){var p;l.text=null===e||void 0===e||null===(p=e.payload)||void 0===p?void 0:p.extension}else l.text=W(e);return l}function P(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),{payload:n}=e,{newGroupProfile:o}=n,{operatorID:a}=n;let i="";const s=l()(o)[0];switch(s){case"muteAllMembers":i=o[s]?`${t("message.tip.管理员")} ${a} ${t("message.tip.开启全员禁言")}`:`${t("message.tip.管理员")} ${a} ${t("message.tip.取消全员禁言")}`;break;case"ownerID":i=`${o[s]} ${t("message.tip.成为新的群主")}`;break;case"groupName":i=`${a} ${t("message.tip.修改群名为")} ${o[s]}`;break;case"notification":i=`${a} ${t("message.tip.发布新公告")}`;break;default:break}return i}function A(e){const t={text:Object(D["a"])(e.payload)};return t}function G(e){var t;const n={message:e,name:"",url:""};return n.name=e.payload.data,d()(t=e.payload.data).call(t,"@2x")<0&&(n.name=n.name+"@2x"),n.url=`https://web.sdk.qcloud.com/im/assets/face-elem/${n.name}.png`,n}function H(e){const t={lon:"",lat:"",href:"",url:"",description:"",message:e};return t.lon=e.payload.longitude.toFixed(6),t.lat=e.payload.latitude.toFixed(6),t.href=`https://map.qq.com/?type=marker&isopeninfowin=1&markertype=1&pointx=${t.lon}&pointy=${t.lat}&name=${e.payload.description}`,t.url=`https://apis.map.qq.com/ws/staticmap/v2/?center=${t.lat},${t.lon}&zoom=10&size=300*150&maptype=roadmap&markers=size:large|color:0xFFCCFF|label:k|${t.lat},${t.lon}&key=UBNBZ-PTP3P-TE7DB-LHRTI-Y4YLE-VWBBD`,t.description=e.payload.description,t}function z(e){return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.imageInfoArray[0].url,width:e.payload.imageInfoArray[0].width,height:e.payload.imageInfoArray[0].height,message:e}}function F(e){var t,n,o,a;return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&(null===e||void 0===e?void 0:e.progress),url:null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.videoUrl,snapshotUrl:null===e||void 0===e||null===(n=e.payload)||void 0===n?void 0:n.snapshotUrl,snapshotWidth:null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.snapshotWidth,snapshotHeight:null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.snapshotHeight,message:e}}function $(e){return{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.url,message:e,second:e.payload.second}}function Y(e){let t="";return t=e.payload.fileSize>=1048576?(e.payload.fileSize/1048576).toFixed(2)+" Mb":e.payload.fileSize>=1024?(e.payload.fileSize/1024).toFixed(2)+" Kb":e.payload.fileSize.toFixed(2)+"B",{progress:"unSend"===(null===e||void 0===e?void 0:e.status)&&e.progress,url:e.payload.fileUrl,message:e,name:e.payload.fileName,size:t}}function K(e){return{message:e,...e.payload}}function W(e){var t,n;const{t:o}=window.TUIKitTUICore.config.i18n.useI18n();let a={},i={};try{var s;a=te(null===e||void 0===e||null===(s=e.payload)||void 0===s?void 0:s.data)}catch(c){a={}}if(1!==a.businessID)return"";try{i=te(a.data)}catch(c){i={}}let r="";null===(t=a)||void 0===t||null===(t=t.inviteeList)||void 0===t||p()(t).call(t,(e,t)=>{var n;t<(null===(n=a)||void 0===n||null===(n=n.inviteeList)||void 0===n?void 0:n.length)-1?r+=`"${e}"、`:r+=`"${e}" `});const l=`"${null===(n=a)||void 0===n?void 0:n.inviter}" `;switch(a.actionType){case 1:return i.call_end>=0&&!a.groupID?`${o("message.custom.通话时长")}:${_(i.call_end)}`:a.groupID&&a.timeout>0?`${l}${o("message.custom.发起通话")}`:a.groupID?""+o("message.custom.结束群聊"):i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):""+o("message.custom.发起通话");case 2:return`${a.groupID?l:""}${o("message.custom.取消通话")}`;case 3:return i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):`${a.groupID?r:""}${o("message.custom.已接听")}`;case 4:return`${a.groupID?r:""}${o("message.custom.拒绝通话")}`;case 5:return i.data&&"switchToAudio"===i.data.cmd?""+o("message.custom.切换语音通话"):i.data&&"switchToVideo"===i.data.cmd?""+o("message.custom.切换视频通话"):`${a.groupID?r:""}${o("message.custom.无应答")}`;default:return""}}function q(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n();return{message:e,custom:W(e)||`[${t("message.custom.自定义消息")}]`}}function Z(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=e.payload.groupProfile.name||e.payload.groupProfile.groupID;switch(e.payload.operationType){case 1:return`${e.payload.operatorID} ${t("message.tip.申请加入群组")}:${n}`;case 2:return`${t("message.tip.成功加入群组")}:${n}`;case 3:return`${t("message.tip.申请加入群组")}:${n} ${t("message.tip.被拒绝")}`;case 4:return`${t("message.tip.你被管理员")}${e.payload.operatorID} ${t("message.tip.踢出群组")}:${n}`;case 5:return`${t("message.tip.群")}:${n} ${t("message.tip.被")} ${e.payload.operatorID} ${t("message.tip.解散")}`;case 6:return`${e.payload.operatorID} ${t("message.tip.创建群")}:${n}`;case 7:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 8:return`${t("message.tip.你退出群组")}:${n}`;case 9:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.设置为群")}:${n} ${t("message.tip.的管理员")}`;case 10:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.撤销群")}:${n} ${t("message.tip.的管理员身份")}`;case 12:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 13:return`${e.payload.operatorID} ${t("message.tip.同意加群")}:${n}`;case 14:return`${e.payload.operatorID} ${t("message.tip.拒接加群")}:${n}`;case 255:return`${t("message.tip.自定义群系统通知")}: ${e.payload.userDefinedField}`}}function J(e,t,n){var o;const i=(null===e||void 0===e?void 0:e.querySelectorAll("."+t))||[],r=a()(o=s()(Array.prototype).call(i)).call(o,e=>new h.a((t,n)=>{e.onload=()=>{t(e)},e.onloadeddata=()=>{t(e)},e.onprogress=()=>{t(e)},e.complete&&t(e)}));return h.a.all(r).then(()=>{n&&n()}).catch(e=>{console.error("网络异常",e)})}function Q(e){return/^(https?:\/\/(([a-zA-Z0-9]+-?)+[a-zA-Z0-9]+\.)+[a-zA-Z]+)(:\d+)?(\/.*)?(\?.*)?(#.*)?$/.test(e)}function X(e,t,n){return{businessID:e,version:t,...n}}function ee(e){if("string"===typeof e)try{const t=JSON.parse(e);return!!t}catch(t){return!1}return!1}function te(e){return e&&ee(e)?JSON.parse(e):e}function ne(e){if(!e)return!1;try{var t;const{businessID:n}=te(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);if(n===U["a"].typeUserTyping)return!0}catch{return!1}return!1}function oe(e,t=new f.a){if("object"!==typeof e||null===e)throw new TypeError("传入参数不是对象");if(t.has(e))return t.get(e);const n=b()(y()(e)),o=l()(e);return p()(o).call(o,o=>{const a=e[o];"object"!==typeof a||null===a?n[o]=a:k()(a)?n[o]=[...a]:a instanceof w.a?n[o]=new w.a([...a]):a instanceof C.a?n[o]=new C.a([...a]):(t.set(e,e),n[o]=oe(a,t))}),n}const ae=e=>{var t,n,o,a,i,s;return!!((null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(t=N["a"].TYPES)||void 0===t?void 0:t.MSG_GRP_TIP)||(null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(n=N["a"].TYPES)||void 0===n?void 0:n.MSG_CUSTOM)&&(null===e||void 0===e?void 0:e.conversationType)===(null===N["a"]||void 0===N["a"]||null===(o=N["a"].TYPES)||void 0===o?void 0:o.CONV_GROUP)&&null!==U["a"]&&void 0!==U["a"]&&U["a"].TYPE_CALL_MESSAGE||(null===e||void 0===e?void 0:e.type)===(null===N["a"]||void 0===N["a"]||null===(a=N["a"].TYPES)||void 0===a?void 0:a.MSG_CUSTOM)&&(null===e||void 0===e?void 0:e.conversationType)===(null===N["a"]||void 0===N["a"]||null===(i=N["a"].TYPES)||void 0===i?void 0:i.CONV_GROUP)&&"group_create"===(null===e||void 0===e||null===(s=e.payload)||void 0===s?void 0:s.data))},ie=(e,t,n,o)=>{const a=e/t,i=n/o;return e<=n&&t<=o?{width:e,height:t}:e<=n&&t>o||e>n&&t>o&&a<=i?{width:e*(o/t),height:o}:{width:n,height:t*(n/e)}}},2857:function(e,t,n){"use strict";n("5c55")},2929:function(e,t,n){"use strict";n("34be")},"292f":function(e){e.exports=JSON.parse('{"发起单聊":"New one-to-one chat","发起群聊":"New group chat","请输入userID":"Enter a user ID","删除会话":"Delete conversation","系统通知":"System notification","置顶会话":"Top conversation","取消置顶":"cancel top conversation","消息免打扰":"Message not disturb","取消免打扰":"cancel not disturb","有人@我":"Someone {\'@\'} me","@所有人":"{\'@\'}Everyone","条":"strip","我":"me","网络异常,请您检查网络设置":"Network exception, please check the network settings"}')},"29ef":function(e,t,n){"use strict";n("ad38")},"2b91":function(e,t,n){"use strict";n("3105")},"2e20":function(e,t,n){"use strict";const o={typeC2C:"isC2C",typeGroup:"isGroup",cancel:"cancel",group:"GROUP",handleMessage:{revoke:"revoke",copy:"copy",delete:"delete",forward:"forward",reply:"reply",reference:"reference"},at:"@",all:"所有人",typeText:1,typeCustom:2,typeImage:3,typeAudio:4,typeVideo:5,typeFile:6,typeFace:8,typeForward:"forward",typeMute:"mute",typeOrder:"order",typeService:"consultion",typeReply:"quick_reply",typeEvaluate:"evaluation",typeTextLink:"text_link",typeAndroid:"android",typeIphone:"iphone",typeMini:"miniprogram",typeSystem:"system",typeBusinessCard:"business_card",typeArchives:"archives",typeMedicalExaminationReport:"medical_examination_report",typeUserTyping:"user_typing_status",typeInputStatusIng:"EIMAMSG_InputStatus_Ing",typeInputStatusEnd:"EIMAMSG_InputStatus_End",scrollType:{toBottom:"bottom",toTarget:"target"},inViewType:{page:"page",scroll:"scroll"},TYPE_CALL_MESSAGE:1,CALL_ACTION_TYPE:{INVITE:1,CANCEL_INVITE:2,ACCEPT_INVITE:3,REJECT_INVITE:4,INVITE_TIMEOUT:5}};t["a"]=o},3105:function(e,t,n){},"336d":function(e){e.exports=JSON.parse('{"群聊通知":"Group Chat Notifications","系统通知":"System Notifications","我的群聊":"My Group Chats","输入群ID,按回车搜索":"Enter a group ID","群名称":"Group name","群ID":"Group ID","加入群聊":"Join group chat","解散群聊":"Disband group chat","退出群聊":"Quit group chat","进入群聊":"Enter group chat","群类型":"Group type","请填写验证信息":"Enter the verification info","申请加入":"Request to join","已申请":"Requested","接受":"Accept","拒绝":"Refuse","已处理":"Handled","添加群聊":"add group chat","已加入":"joined","该群组不存在":"The group does not exist","加群":"join","我的好友":"Friend","发送消息":"Send Message","个性签名":"Signature"}')},"34bb":function(e,t,n){e.exports=n.p+"img/doctor-img.fa4faaf8.webp"},"34be":function(e,t,n){},3588:function(e,t,n){},"37a4":function(e){e.exports=JSON.parse('{"撤回":"Recall message","删除":"Delete message","复制":"Copy","重新发送":"Resend","转发":"Forward","引用":"Reference","回复":"Reply","回复详情":"Replies","条回复":"replies","打开":"Open","已读":"Read","全部已读":"All read","人已读":" read","人未读":" unread","人关闭阅读状态":" read status closed","消息详情":"Message Detail","关闭阅读状态":"Read status closed","该消息不存在":"The message does not exist","无法定位到原消息":"Unable to navigate to the original message","未读":"Unread","您":"You","撤回了一条消息":"recalled a message","重新编辑":"Re-edit","我":"I","查看更多":"View more","转发给":"Forward to","请输入消息":"Enter a message","描述":"Description","经度":"Longitude","纬度":"Latitude","自定义消息":"Custom message","图片":"[photo]","语音":"[audio]","视频":"[video]","表情":"[face]","文件":"[file]","自定义":"[custom message]","管理员开启全员禁言":"The admin enables Mute All","您已被管理员禁言":"You have been muted by the admin","按Enter发送,Ctrl+Enter换行":"Press Enter to send a message and Ctrl+Enter to start a new line","单击下载":"Click download","确认重发该消息?":"Confirm to resend the message?","取消":"Cancel","确定":"Submit","对方正在输入":"Typing...","回到最新位置":"Back to the latest location","条新消息":" new messages","安全提示":"【Security Tips】This APP is only used to experience the functions of Tencent Cloud Instant Messaging products, and cannot be used for business negotiation and expansion. Don\'t trust money-related information such as remittances and lottery wins, don\'t make unfamiliar phone calls easily, and beware of being deceived.","点此投诉":"Complain","语音通话":"Voice Call","视频通话":"Video Call","发起群语音":"Make group voice call","发起群视频":"Make group video call","已接听":"Answered","拒绝通话":"Decline Call","无应答":"No Answer","取消通话":"Cancel Call","发起通话":"Start Call","结束群聊":"Edit Group Call","通话时长":"Duration","欢迎使用TUICallKit":"Welcome to TUICallKit","检测到您暂未集成TUICallKit,无法体验音视频通话功能":"It is detected that you have not integrated TUI CallKit yet, so you cannot experience the audio and video call. ","请点击":"Please click","集成TUICallKit":" Integrate TUICallKit ","开通腾讯实时音视频服务":"Integration Tencent Real-Time Communication","进行体验":"to experience.","您当前购买使用的套餐包暂未开通此功能":"The package you purchased does not support this ability.","选择提醒的人":"Select Contact","manage":{"群公告":"Group notice","群成员":"Group member","群管理":"Manage group","好友工作群":"Work","陌生人社交群":"Public","临时会议群":"Meeting","直播群":"AVChatRom","自由加入":"Join freely","需要验证":"Require approval","禁止加群":"Disallow group joining","人":"","群ID":"Group ID","群头像":"Group profile photo","群类型":"Group type","加群方式":"Group joining mode","转让群组":"Transfer ownership","解散群聊":"Disband group","退出群组":"Quit group","群管理员":"Group admin","全员禁言":"Mute All","全员禁言开启后,只允许群主和管理员发言。":"If Mute All is enabled, only the group owner and admin can speak.","单独禁言人员":"Mute a member","删除成员":"Remove member","确定从群聊中删除该成员?":"Are you sure you want to remove this member from the group chat?","确定从群聊中删除所选成员?":"Are you sure you want to remove selected member(s) from the group chat?","暂无公告":"No notice","发布":"Post","编辑":"Edit","群名称":"Group name","查看更多":"View more","管理员":"Admin","群主":"Group owner","我":"me","添加成员":"Add member","新增管理员":"Add admin","移除管理员":"Revoke admin","新增禁言用户":"Add muted member","移除禁言用户":"Remove muted member","修改群聊名称":"Edit group name","修改群聊名称后,将在群内通知其他成员":"After modifying the group chat name, other members will be notified in the group","仅限中文、字母、数字和下划线,2-20个字":"Chinese, letters, numbers and underscores only, 2-20 words","请先注册 TUIGroup 模块":"Please register the TUIGroup module first","该用户不存在":"The user does not exist","该用户不在群组内":"The user is not in the group"}}')},3910:function(e,t,n){"use strict";n("f271")},"3a39c":function(e,t,n){"use strict";n("dbc1")},"3b1e":function(e,t,n){"use strict";n("8903")},"3e72":function(e,t,n){"use strict";n("1928")},"403c":function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"请对本次服务进行评价","提交评价":"提交评价","服务评价工具":"服务评价工具","使用":"使用","自定义消息":"自定义消息","搭建":"搭建","星":"星"}')},"408a":function(e,t,n){},"409e":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAAAAXNSR0IArs4c6QAABcBJREFUeF7tnYuN1TAQRb2dQCdQCVAJUAlQCVAJUAm8u3rWywbP1+NkIk2kFdJu7Dj3zM+OE55aHakUeEo1mhpMKyDJjKCAFJBkCiQbTnlIAUmmQLLhlIcUkGQKJBtOeUgBSaZAsuGUhxSQZAokG055SAFJpkCy4ZSHFJBkCiQbTnmID8ib1hp+frTWft9/fD3tWl0VCMR411p71Vr7efv3a6QogrJfbtd6vzkHUD5EXf+KQD611j7uRAsVhQECA/g1+Pvn2+8wrunjakC+30PF6MZfR1kpo+rIGPrpIVCuAgSWiVCBUEUdCBsIXSsPhCqMgzqmjeIKQAABniEdIRYqXeQesmAgowMJ/u2Mp2YHwoWIvSBHAQEMGMgSKJmBcPliZJ1HAcG1JUNxjyUjEE2+OBuIBoorp2UDos0XGYBgDCiBQ0NXJiBSGOgQkDhHIrjDhCKRU6dI+cTsJVmAaPMFKhhMCkfl7xlAAIqDYq66zgaizRe4MVgbZuQUvLOASPnENK4zgWjzBSDAM/qREUiYl5wFRJsvRtYVCQQzb4gZsTgZsqxyBhBLvoB37I8IIKNQaQotg3GFeMmRQDz5YlTdRAChrBmhcWQE2kKM8xJVxaUFQtXa2oEiX3CLcr2ffb5YBYSaP5irosEAqb419ya+sKON9Vow3HnakBHhIVzYnH22wmkmrgZzHqKtgiJgWEJFBJDusZTna41jdO+cbmLY4oDsH1VGCL/vYzu/0PYfAUSaO+DvojUzA6bCFqo5QCEPDoi2GtIKuT9PFVMXVVm9W24tasZLKGOGAQJ0OiAzNxvlIRBFWovyegkXttg+z/AQS75YVWVt+w2Z0BmqLdYYPUDQ4cyza7jtzBHpIZrQ5fUSKmyxodoLJGTLi5PKCiBTpSpxH9yGCFL3AvJQk0rw3nznyiMF5AHEFWIYL6c21bEldQF5KMqFGG8e+UsAIwubAvJSMbOAQh6kwiA5Yy8gLxU1C1hA1j7CjQZirgjLQ16auFlAwUOoQoFc0yogLxU1C+gEQk4OC8haINSEs4AoVwUqZCmF2p4WLdq27+jZunmsFbLOmYeQyzEF5AGEW+rwPjIwTzQLyAMIt+Kr3Z2zj8AFxJGTehMq3ouPXYlr1uLiTRjvcxpOvBXL7/U8RPCcFQ+oqD5Zj/PkEExqvjlDQ/8UhbP5czNzKSlcjPMOb7jixhkOZEbMiK2a0UBWbHJwh0CPh8wA6W3FHXzMRSKBrPIOdwg8Cwj07rtXrLtQIoFwmwG9yRz35sofaHj2VlLPxuYoIByMmdwBXan5hwiZAyLt6osIXejDmlcigEi7+mdC6tSMX5qBYisL3nqdfT9E014rwiwQaVe/d89xN1B3uJJCVpQH9JjaPzjG9avJK7NAuF39s6HKXV11USQPiYQivZPRryXllVVArKFzpM10CX0kENyANi9x4swCWfV+YUgJfTSQblXal4FGeWUWyCiEepfXt17C3ZNYXZ0RsvYuDkv15JUIIH0ssGrrPGgUqkK848ikTuUiT16JBBKVI7k5jbZ6fB7LWSFrK4Q1r1DfXlSHhSgK9364MtpctWUAYs0r2T7PNPpsbL8nc27KBMQyXxkZ+RkeIr3vvv1ojsoxswHBoLV5ZX+DRwOR3lJ2vcKQEYhlvrKFciQQaS3MPZasQKx5Bee7RVDFksdJS9fCsgOx5JUjgHDzDYzVXFXtjeEKQLR55Qgg0sLk1Fets8xDtBFDmq+YS0zthTfnUQ+ecErI9a/iIVvtRlY6HSqUcKI3Y/932SsC6SGsfy5W/MKOUmzNadT/XWKeb1AXuyoQjXirzsHr01gUhVf+uV3Eu1tyOL4Csgqbs98C4hRuVbMCskpZZ78FxCncqmYFZJWyzn4LiFO4Vc0KyCplnf0WEKdwq5oVkFXKOvstIE7hVjUrIKuUdfZbQJzCrWpWQFYp6+y3gDiFW9WsgKxS1tnvP5Az1XQJBKYyAAAAAElFTkSuQmCC"},4176:function(e,t,n){"use strict";n.d(t,"a",(function(){return x})),n.d(t,"e",(function(){return V})),n.d(t,"b",(function(){return L})),n.d(t,"c",(function(){return R})),n.d(t,"d",(function(){return P}));var o=n("9474"),a=n.n(o),i=n("65b8"),s=n.n(i),r=(n("14d9"),n("fc56")),l=n.n(r),c=n("4573"),d=n.n(c),u=n("4c43"),p=n.n(u),m=n("3393"),h=n.n(m),v=n("c192"),f=n.n(v),g=n("7a23");const b={key:0},O={key:1};function y(e,t,n,o,a,i){return Object(g["openBlock"])(),Object(g["createBlock"])(g["Transition"],{name:"fade",onBeforeLeave:e.onClose,onAfterLeave:t[0]||(t[0]=t=>e.$emit("destroy"))},{default:Object(g["withCtx"])(()=>[Object(g["withDirectives"])(Object(g["createElementVNode"])("div",{class:Object(g["normalizeClass"])(["message",[e.handleStyle(e.type),e.isH5&&"message-h5"]]),style:Object(g["normalizeStyle"])(e.customStyle)},[e.isH5?Object(g["createCommentVNode"])("",!0):(Object(g["openBlock"])(),Object(g["createElementBlock"])("p",b,Object(g["toDisplayString"])(e.message),1)),e.isH5?(Object(g["openBlock"])(),Object(g["createElementBlock"])("span",O,Object(g["toDisplayString"])(e.message),1)):Object(g["createCommentVNode"])("",!0)],6),[[g["vShow"],e.visible]])]),_:1},8,["onBeforeLeave"])}var j=n("34ae"),k=Object(g["defineComponent"])({name:"TUIMessage",props:{message:{type:String,default:""},duration:{type:Number,default:3e3},repeatNum:{type:Number,default:1},id:{type:String,default:""},onClose:{type:Function,required:!1},offset:{type:Number,default:20},zIndex:{type:Number,default:0},isH5:{type:Boolean,default:!1},type:{type:String,default:""}},setup(e){const t=Object(g["ref"])(!1);let n=void 0;function o(){e.duration>0&&({stop:n}=Object(j["useTimeoutFn"])(()=>{t.value&&i()},e.duration))}function a(){var e;null===(e=n)||void 0===e||e()}function i(){t.value=!1}Object(g["watch"])(()=>e.repeatNum,()=>{a(),o()});const s=Object(g["computed"])(()=>({top:e.offset+"px",zIndex:e.zIndex}));Object(g["onMounted"])(()=>{o(),t.value=!0});const r=e=>!e||"error"!==e&&"success"!==e&&"warning"!==e?"normal":e;return{visible:t,customStyle:s,handleStyle:r}}}),I=(n("d0f1"),n("6b0d")),w=n.n(I);const E=w()(k,[["render",y],["__scopeId","data-v-3852e376"]]);var C=E;const T=[];let S=1;const _=document.body,D=function(e){const t=l()(T).call(T,t=>{var n,o,a;return""+(null!==(n=null===(o=t.vm.props)||void 0===o?void 0:o.message)&&void 0!==n?n:"")===""+(null!==(a=e.message)&&void 0!==a?a:"")});if(t)return t.vm.component.props.repeatNum+=1,{close:()=>s.component.proxy.visible=!1};let n=e.offset||20;d()(T).call(T,({vm:e})=>{var t;n+=((null===(t=e.el)||void 0===t?void 0:t.offsetHeight)||0)+20}),n+=20;const o="message_"+(S+=1),a=e.onClose,i={zIndex:20+S,offset:n,id:o,...e,onClose:()=>{N(o,a)}},s=Object(g["createVNode"])(C,i),r=document.createElement("div");return s.props.onDestroy=()=>{Object(g["render"])(null,r)},Object(g["render"])(s,r),T.push({vm:s}),_.appendChild(r.firstElementChild),{close:()=>s.component.proxy.visible=!1}};function N(e,t){const n=p()(T).call(T,({vm:t})=>e===t.component.props.id);if(-1===n)return;const{vm:o}=T[n];if(!o)return;null===t||void 0===t||t(o);const a=o.el.offsetHeight;h()(T).call(T,n,1);const i=T.length;if(!(i<1))for(let s=n;s8KB)"};var M=B;function x(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=6e4,o=60*n,i=24*o,s=7*i,r=(new Date).getTime(),l=r-e;let c="";if(l<0)return;const d=l/n,u=l/o,p=l/i,m=l/s;if(m>=1&&m<=4)c=` ${a()(""+m,10)} ${t("time.周")}${t("time.前")}`;else if(p>=1&&p<=6)c=` ${a()(""+p,10)} ${t("time.天")}${t("time.前")}`;else if(u>=1&&u<=23)c=` ${a()(""+u,10)} ${t("time.小时")}${t("time.前")}`;else if(d>=1&&d<=59)c=` ${a()(""+d,10)} ${t("time.分钟")}${t("time.前")}`;else if(l>=0&&l<=n)c=""+t("time.刚刚");else{const t=new Date;t.setTime(e);const n=t.getFullYear(),o=t.getMonth()+1<10?"0"+(t.getMonth()+1):t.getMonth()+1,a=t.getDate()<10?"0"+t.getDate():t.getDate();c=`${n}-${o}-${a}`}return c}function V(e){const{t:t}=window.TUIKitTUICore.config.i18n.useI18n(),n=e.payload.groupProfile.name||e.payload.groupProfile.groupID;switch(e.payload.operationType){case 1:return`${e.payload.operatorID} ${t("message.tip.申请加入群组")}:${n}`;case 2:return`${t("message.tip.成功加入群组")}:${n}`;case 3:return`${t("message.tip.申请加入群组")}:${n} ${t("message.tip.被拒绝")}`;case 4:return`${t("message.tip.你被管理员")}${e.payload.operatorID} ${t("message.tip.踢出群组")}:${n}`;case 5:return`${t("message.tip.群")}:${n} ${t("message.tip.被")} ${e.payload.operatorID} ${t("message.tip.解散")}`;case 6:return`${e.payload.operatorID} ${t("message.tip.创建群")}:${n}`;case 7:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 8:return`${t("message.tip.你退出群组")}:${n}`;case 9:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.设置为群")}:${n} ${t("message.tip.的管理员")}`;case 10:return`${t("message.tip.你被")}${e.payload.operatorID} ${t("message.tip.撤销群")}:${n} ${t("message.tip.的管理员身份")}`;case 12:return`${e.payload.operatorID} ${t("message.tip.邀请你加群")}:${n}`;case 13:return`${e.payload.operatorID} ${t("message.tip.同意加群")}:${n}`;case 14:return`${e.payload.operatorID} ${t("message.tip.拒接加群")}:${n}`;case 255:return`${t("message.tip.自定义群系统通知")}: ${e.payload.userDefinedField}`}}function L(e,t){null!==e&&void 0!==e&&e.type&&null!==e&&void 0!==e&&e.message?U({message:`${e.type} : ${e.message}`||e,isH5:!(null===t||void 0===t||!t.isH5),type:"error"}):U({message:M[e.code]||e,isH5:!(null===t||void 0===t||!t.isH5),type:"error"})}function R(e,t){U({message:e,isH5:!(null===t||void 0===t||!t.isH5),type:"success"})}function P(e,t){if(e.length!==t.length)return!1;for(let n=0;n>":"查看详情>>"}}')},"668f":function(e,t,n){"use strict";n("020d")},"6a25":function(e,t,n){"use strict";n("f1ac")},"6b4c":function(e,t,n){},"6ba3":function(e,t,n){"use strict";const o=function(){const e=navigator.userAgent,t=/(?:Windows Phone)/.test(e),n=/(?:SymbianOS)/.test(e)||t,o=/(?:Android)/.test(e),a=/(?:Firefox)/.test(e),i=/(?:iPad|PlayBook)/.test(e)||o&&!/(?:Mobile)/.test(e)||a&&/(?:Tablet)/.test(e),s=/(?:iPhone)/.test(e)&&!i,r=!s&&!o&&!n;return{isTablet:i,isPhone:s,isAndroid:o,isPC:r,isH5:s||o||i}};t["a"]=o},"6d25":function(e,t,n){},"6e04":function(e,t,n){"use strict";n("20f7")},"6f92":function(e,t,n){},"703d":function(e,t,n){e.exports=n.p+"img/at.f3555aa3.svg"},"72af":function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"Please rate this service","提交评价":"Feedback","常用语-快捷回复工具":"Common Expressions - Quick Reply Tool","使用":"Build with","自定义消息":"Custom message","搭建":"","在吗?在吗?在吗?重要的话说三遍。":"Are you there? ","好久没聊天了,快来和我说说话~":"It’s been a long time. How about you?","好的,就这么说定了。":"Okay. It\'s a deal.","感恩的心,感谢有你。":"So grateful! ","糟糕!是心动的感觉!":"Oh, no. Flipped.","心疼地抱抱自己,我太难了!":"Give myself a warm hug. ","没关系,别在意,事情过去就过去了。":"Take it easy.","早上好,今天也是让人期待的一天呢!":"Good morning. Have a wonderful day.","熬夜有什么用,又没人陪你聊天,早点休息吧。":"It\'s better to go to bed early."}')},"736b":function(e,t,n){"use strict";n("76de")},7507:function(e,t,n){},"76de":function(e,t,n){},"77d5":function(e,t,n){"use strict";n("e537")},"77ea":function(e,t,n){"use strict";n("0d53")},"7a54":function(e,t,n){"use strict";n("3588")},"7aa9":function(e,t,n){},"7af0":function(e,t,n){"use strict";n("6b4c")},"7b94":function(e,t,n){"use strict";n("7aa9")},"7c02":function(e,t,n){"use strict";n("4c00")},"7c77":function(e,t,n){},"7d94":function(e,t,n){"use strict";n("577b")},"7f52":function(e,t,n){},8617:function(e,t,n){"use strict";n("599e")},8893:function(e){e.exports=JSON.parse('{"请对本次服务进行评价":"Please rate this service","提交评价":"Feedback","服务评价工具":"Service rate tool","使用":"Build with","自定义消息":"Custom message","搭建":"","星":"Star"}')},8903:function(e,t,n){},"8a56":function(e,t,n){},"8ddc":function(e,t,n){"use strict";n("b480")},"8f32":function(e,t,n){"use strict";n("49b8")},"8fe9":function(e){e.exports=JSON.parse('{"输入groupID搜索":"Enter groupId search","群名称":"Group name","群ID":"Group ID","加入群聊":"Join","解散群聊":"Dissolution","退出群聊":"Quit","群类型":"Group type","请填写验证信息":"Please fill in the verification information","申请加入":"Apply Join","已申请":"Applied"}')},"92c8":function(e){e.exports=JSON.parse('{"取消":"取消","完成":"完成","已选中":"已选中","人":"人","保存":"保存","请输入userID":"请输入userID","确定":"确定","全选":"全选","已在群聊中":"已在群聊中"}')},"944d":function(e,t,n){"use strict";n("4481")},9687:function(e,t,n){},9785:function(e,t,n){"use strict";n("c039")},"999c":function(e){e.exports=JSON.parse('{"周":"week(s) ","天":"day(s)","小时":"hour(s) ","分钟":"minute(s)","刚刚":"Just now","前":" ago","昨天":"Yesterday","星期一":"Monday","星期二":"Tuesday","星期三":"Wednesday","星期四":"Thursday","星期五":"Friday","星期六":"Saturday","星期日":"Sunday"}')},"9a2f":function(e,t,n){"use strict";n("1431")},"9c10":function(e){e.exports=JSON.parse('{"tip":{"群成员":"group members","加入群组":"joined the group","退出群组":"left the group","被":"by","踢出群组":"was kicked out of the group","成为管理员":"was set as an admin","被撤销管理员":"was revoked","被禁言":" was unmuted","被取消禁言":"cancel the prohibition","群提示消息":"group prompt message","管理员":"The admin","开启全员禁言":"enabled Mute All","取消全员禁言":"disabled Mute All","成为新的群主":"became the new group owner","修改群名为":"changed the group name to","发布新公告":"posted a new notice","申请加入群组":"requested to join the group","成功加入群组":"Successfully joined the group","被拒绝":"The request to join the group was refused","你被管理员":"You","群":"group","解散":"disbanded","创建群":"created the group","邀请你加群":"invite you to join the group","你退出群组":"You left the group","你被":"You were","设置为群":"set as group","的管理员":"as an admin","撤销群":"revoked","的管理员身份":"admin role of the group","同意加群":"agreed to join the group","拒接加群":"refused to join the group","自定义群系统通知":"Custom group system notification"},"custom":{"自定义消息":"Custom message","通话时长":"Call duration","结束群聊":"End","切换语音通话":"Switch voice call","切换视频通话":"Switch video call","发起通话":"Start a call","取消通话":"Cancel","已接听":"Answered","拒绝通话":"Decline","无应答":"No answer","对本次服务评价":"Rate this service","查看详情>>":"View details >>"}}')},a185:function(e,t,n){},a1ae:function(e,t,n){},a46a:function(e){e.exports=JSON.parse('{"输入groupID搜索":"输入groupID搜索","群名称":"群名称","群ID":"群ID","加入群聊":"加入群聊","解散群聊":"解散群聊","退出群聊":"退出群聊","群类型":"群类型","请填写验证信息":"请填写验证信息","申请加入":"申请加入","已申请":"已申请"}')},a53a:function(e,t,n){},a6a0:function(e,t,n){"use strict";n("9687")},a7be:function(e,t,n){},a94d:function(e,t,n){"use strict";n("8a56")},a9cb:function(e,t,n){},aa66:function(e,t,n){"use strict";n("486b")},ad38:function(e,t,n){},ae10:function(e,t,n){"use strict";n("f7e2")},ae69:function(e,t,n){"use strict";n("41f3")},aeac:function(e,t,n){"use strict";n("dce1")},aee3:function(e,t,n){},afbc:function(e,t,n){"use strict";var o=n("6605"),a=n("fcd0");const i=[{path:"/",name:"Home",component:()=>n.e("about").then(n.bind(null,"bb51"))}],s=Object(o["a"])({history:Object(o["b"])(""),routes:i});s.beforeEach((e,t,n)=>{"Login"===e.name||a["b"].isLogin?n():n({name:"Login"})}),t["a"]=s},b05a:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("14d9");var o=n("65b8"),a=n.n(o),i=n("52da"),s=n.n(i),r=n("17da");function l(e){const t=[];let n=e.text,o=-1,i=-1;while(""!==n)switch(o=a()(n).call(n,"["),i=a()(n).call(n,"]"),o){case 0:if(-1===i)t.push({name:"text",text:n}),n="";else{const e=s()(n).call(n,0,i+1);r["b"][e]?(t.push({name:"img",src:r["d"]+r["b"][e]}),n=n.substring(i+1)):(t.push({name:"text",text:"["}),n=s()(n).call(n,1))}break;case-1:t.push({name:"text",text:n}),n="";break;default:t.push({name:"text",text:s()(n).call(n,0,o)}),n=n.substring(o);break}return t}},b0af:function(e){e.exports=JSON.parse('{"发起会话":"发起会话","发起单聊":"发起单聊","发起群聊":"发起群聊","该用户不存在":"该用户不存在","创建群聊,请注册 TUIGroup 模块":"创建群聊,请注册 TUIGroup 模块","创建成功":"创建成功","发起多人会话(群聊)":"发起多人会话(群聊)","群头像":"群头像","群名称":"群名称","群ID":"群ID","群类型":"群类型","选填":"选填","取消":"取消","创建":"创建","类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见":"类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见","类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见":"类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见","创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见":"创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见","创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见":"创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见","产品文档":"产品文档","设置群名称":"设置群名称","请输入群名称":"请输入群名称","设置群ID":"设置群ID","请输入群ID":"请输入群ID","选择群类型":"选择群类型"}')},b15c:function(e){e.exports=JSON.parse('{"周":"周","天":"天","小时":"小时","分钟":"分钟","刚刚":"刚刚","前":"前","昨天":"昨天","星期一":"星期一","星期二":"星期二","星期三":"星期三","星期四":"星期四","星期五":"星期五","星期六":"星期六","星期日":"星期日"}')},b23d:function(e,t,n){"use strict";n("c96d")},b480:function(e,t,n){},b77c:function(e,t,n){"use strict";n("0066")},ba1b:function(e,t,n){},bbb6:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a}));var o=n("e311");const a=604800;function i(e){const{SDKAppID:t,secretKey:n,userID:i}=e,s=new o["a"](t,n,a),r=s.genTestUserSig(i);return{SDKAppID:t,userSig:r}}},bc82:function(e){e.exports=JSON.parse('{"资料设置":"Edit profile","头像":"Profile photo","昵称":"Name","账号":"Account","个性签名":"Status","性别":"Gender","男":"Male","女":"Female","不显示":"Rather not say","出生年月":"Birthday","取消":"Cancel","保存":"Save","请选择出生日期":"Select the date of birthday","选择头像":"Select Avatar","设置昵称":"Setting Name","仅限中文、字母、数字和下划线,2-20个字":"Chinese, letters, numbers and underscores only, 2-20 words","请输入昵称":"Enter Name","性别选择":"Select gender","请输入内容":"Enter content","用户ID":"userID","暂未设置":"Not set yet"}')},bd25:function(e,t,n){},be7e:function(e,t,n){"use strict";n("12c0")},c039:function(e,t,n){},c193:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return l["a"]})),n.d(t,"b",(function(){return c["a"]})),n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return w}));const o={theme:"dark"};function a(e){e.setCommonStore(o)}function i(e){console.log("app",e)}const s={name:"TUITheme",plugin:a,install:i};var r=s,l=n("c7e2"),c=n("6ba3"),d=n("2b0b"),u=n.n(d),p=n("14b1"),m=n.n(p);const h=[{name:"TUILongPress",callback:(e,t,n)=>{if("function"!==typeof t.value){const e=n.context.name;let o=`[longpress:] provided expression '${t.expression}' is not afunction, but has to be `;e&&(o+=`Found in component '${e}' `),console.warn(o)}let o=null;const a=e=>{"click"===e.type&&0!==e.button||null===o&&(o=u()(()=>{s(e)},1e3))},i=e=>{null!==o&&(clearTimeout(o),o=null)},s=e=>{t.value(e)};e.addEventListener("mousedown",a,!1),e.addEventListener("touchstart",a,!1),e.addEventListener("click",i),e.addEventListener("mouseout",i),e.addEventListener("touchend",i),e.addEventListener("touchcancel",i)}}],v=e=>{m()(h).call(h,t=>{e.directive(t.name,{beforeMount:t.callback})})};var f=v,g=n("2fa7"),b=n("3818"),O=n.n(b),y=n("259d"),j=n("ea1b"),k=n.n(j);class I{constructor(e){Object(g["a"])(this,"allowNotifications",!0),Object(g["a"])(this,"showPreviews",!0),Object(g["a"])(this,"notificationTitle","腾讯云 IM "),Object(g["a"])(this,"notificationIcon","https://web.sdk.qcloud.com/im/demo/latest/faviconnew.png"),e&&(void 0!==(null===e||void 0===e?void 0:e.allowNotifications)&&(this.allowNotifications=e.allowNotifications),void 0!==(null===e||void 0===e?void 0:e.showPreviews)&&(this.showPreviews=e.showPreviews),void 0!==(null===e||void 0===e?void 0:e.notificationTitle)&&(this.notificationTitle=e.notificationTitle),void 0!==(null===e||void 0===e?void 0:e.notificationIcon)&&(this.notificationIcon=e.notificationIcon))}static getInstance(e){return I.instance||(I.instance=new I(e)),I.instance}static plugin(e,t){e.config.notification=this.getInstance(t),this.TUICore=e}static install(e){e.use(this.getInstance())}setNotificationConfiguration(e){e&&(void 0!==(null===e||void 0===e?void 0:e.allowNotifications)&&(this.allowNotifications=e.allowNotifications),void 0!==(null===e||void 0===e?void 0:e.showPreviews)&&(this.showPreviews=e.showPreviews),void 0!==(null===e||void 0===e?void 0:e.notificationTitle)&&(this.notificationTitle=e.notificationTitle),void 0!==(null===e||void 0===e?void 0:e.notificationIcon)&&(this.notificationIcon=e.notificationIcon))}async notify(e){this.allowNotifications&&this.checkNotificationAbility()&&await this.requestNotificationPermission()&&await this.handleNotification(e)}checkNotificationAbility(){return"Notification"in window&&"denied"!==window.Notification.permission}requestNotificationPermission(){return new O.a((e,t)=>{var n;null!==(n=window)&&void 0!==n&&n.Notification||t(!1),"granted"===window.Notification.permission&&e(!0),window.Notification.requestPermission().then(t=>{"granted"===t&&e(!0)}).catch(()=>{t(!1)})})}async handleNotification(e){var t;if(!this._isMessageNeedNotification(e))return;const n=this._handleNotificationType(e);let o,a={badge:this.notificationIcon,icon:this.notificationIcon,body:"",requireInteraction:!1};switch(n){case"call":if(o=this._handleCallNotificationContent(e),null===(t=o)||void 0===t||!t.content)return;a.body=o.content,a.requireInteraction=!o.callEnd;break;case"chat":a.body=await this._handleChatNotificationContent(e),a.requireInteraction=!1;break}const i=new Notification(this.notificationTitle,a);i.onclick=()=>{var t;if(window.focus(),!e||null===e||void 0===e||!e.conversationID)return;const n=null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t?void 0:t.TUIConversation;(null===e||void 0===e?void 0:e.conversationType)!==k.a.TYPES.CONV_C2C&&(null===e||void 0===e?void 0:e.conversationType)!==k.a.TYPES.CONV_GROUP||null===n||void 0===n||n.getConversationProfile(null===e||void 0===e?void 0:e.conversationID).then(e=>{var t,o;(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.conversation)&&n.handleCurrentConversation(null===e||void 0===e||null===(o=e.data)||void 0===o?void 0:o.conversation)}),i.close()}}_isMessageNeedNotification(e){var t;if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type||null!==e&&void 0!==e&&e.isRevoked||null!==e&&void 0!==e&&e.isDeleted||y["v"]&&Object(y["v"])(e))return!1;if((null===e||void 0===e?void 0:e.type)===k.a.TYPES.MSG_GRP_TIP||(null===e||void 0===e?void 0:e.type)===k.a.TYPES.MSG_GRP_SYS_NOTICE)return!1;const n=null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||null===(t=t.TUIConversation)||void 0===t||null===(t=t.currentStore)||void 0===t?void 0:t.currentConversationID;return!this.checkPageFocus()||(null===e||void 0===e?void 0:e.conversationID)!==n}_handleNotificationType(e){if(e.type===k.a.TYPES.MSG_CUSTOM){var t;const n=Object(y["a"])(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);if(1===(null===n||void 0===n?void 0:n.businessID)||"av_call"===(null===n||void 0===n?void 0:n.businessID))return"call"}return"chat"}async _handleChatNotificationContent(e){var t;let n="";if(!e||null===e||void 0===e||!e.ID||null===e||void 0===e||!e.type)return n;switch(this.showPreviews){case!0:n=await this._handleChatNotificationContentTitle(e),n+=this._handleChatNotificationContentText(e);break;case!1:n="您有"+await(null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.tim)||void 0===t?void 0:t.getTotalUnreadMessageCount())+"条新消息";break;default:break}return n}async _handleChatNotificationContentTitle(e){var t;let n="";switch(null===e||void 0===e?void 0:e.conversationType){case k.a.TYPES.CONV_C2C:n=((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.from))+": ";break;case k.a.TYPES.CONV_GROUP:n=(null===e||void 0===e?void 0:e.conversationID)+": ",await(null===I||void 0===I||null===(t=I.TUICore)||void 0===t||null===(t=t.tim)||void 0===t||null===(t=t.getConversationProfile(null===e||void 0===e?void 0:e.conversationID))||void 0===t?void 0:t.then(t=>{var o;n=((null===t||void 0===t||null===(o=t.data)||void 0===o||null===(o=o.conversation)||void 0===o||null===(o=o.groupProfile)||void 0===o?void 0:o.name)||(null===e||void 0===e?void 0:e.conversationID))+": "}).catch(()=>{n=(null===e||void 0===e?void 0:e.conversationID)+": "}));break;case k.a.TYPES.CONV_SYSTEM:n="系统消息: ";break;default:break}return n}_handleChatNotificationContentText(e){var t;let n="";switch(e.type){case k.a.TYPES.MSG_TEXT:n+=null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.text;break;case k.a.TYPES.MSG_CUSTOM:n+="[自定义消息]";break;case k.a.TYPES.MSG_IMAGE:n+="[图片]";break;case k.a.TYPES.MSG_AUDIO:n+="[语音]";break;case k.a.TYPES.MSG_VIDEO:n+="[视频]";break;case k.a.TYPES.MSG_FILE:n+="[文件]";break;case k.a.TYPES.MSG_FACE:n+="[表情]";break;case k.a.TYPES.MSG_MERGER:n+="[聊天记录]";break;case k.a.TYPES.MSG_LOCATION:n+="[位置]";break;default:break}return n}_handleCallNotificationContent(e){let t="",n=!1;try{if(e.type===k.a.TYPES.MSG_CUSTOM){var o;const a=Object(y["a"])(null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.data),i=Object(y["a"])(a.data);1===(null===a||void 0===a?void 0:a.businessID)&&(1===a.actionType&&(a.groupID&&a.timeout>0||!a.call_end&&0!==a.call_end&&!a.groupID&&(null===i||void 0===i||!i.data||"switchToAudio"!==(null===i||void 0===i?void 0:i.data.cmd)&&"switchToVideo"!==(null===i||void 0===i?void 0:i.data.cmd)))?(t=this.showPreviews?a.inviter+" 发起通话":"您有一个通话请求",n=!1):2===a.actionType&&(t=this.showPreviews?a.inviter+" 取消通话":"通话取消",n=!0))}}catch(a){console.warn(a)}return{content:t,callEnd:n}}checkPageFocus(){return document.hasFocus()}}Object(g["a"])(I,"TUICore",void 0),Object(g["a"])(I,"instance",void 0);var w=I},c548:function(e,t,n){"use strict";n("6314")},c7e2:function(e,t,n){"use strict";n.d(t,"b",(function(){return M}));var o=n("2fa7"),a=n("9ca6"),i=n("37a4"),s=n("292f"),r=n("8fe9"),l=n("bc82"),c=n("336d"),d=n("e32f"),u=n("9c10"),p=n("f017"),m=n("999c"),h=n("72af"),v=n("8893");const f={en:{"取消":"Cancel","发送":"Send","系统通知":"System notification","关闭":"Close","确定":"Save",TUIChat:i,TUIConversation:s,TUIGroup:r,TUIProfile:l,TUIContact:c,message:u,component:p,time:m,Evaluate:v,Words:h,TUISearch:d}};var g=f,b=n("45e3"),O=n("4189"),y=n("a46a"),j=n("5ce0"),k=n("d39e"),I=n("b0af"),w=n("6609"),E=n("92c8"),C=n("b15c"),T=n("524e"),S=n("403c");const _={zh_cn:{"取消":"取消","发送":"发送","系统通知":"系统通知","关闭":"关闭","确定":"确定",TUIChat:b,TUIConversation:O,TUIGroup:y,TUIProfile:j,TUIContact:k,message:w,component:E,time:C,Evaluate:S,Words:T,TUISearch:I}};var D=_;const N={...g,...D};var U=N;class B{constructor(e){Object(o["a"])(this,"messages",{en:{},zh_cn:{}}),Object(o["a"])(this,"i18n",void 0),this.messages=e}static getInstance(){return B.instance||(B.instance=new B(U)),B.instance}provideMessage(e){return this.messages.en={...this.messages.en,...e.en},this.messages.zh_cn={...this.messages.zh_cn,...e.zh_cn},this.messages}useI18n(){return Object(a["b"])()}static install(e){const t=B.getInstance(),n="zh";t.i18n=Object(a["a"])({legacy:!1,globalInjection:!0,global:!0,locale:"zh"===n?"zh_cn":n,fallbackLocale:"zh_cn",messages:t.messages}),e.use(t.i18n)}static plugin(e){e.config.i18n=B.getInstance()}}function M(){return B.getInstance().i18n.global.locale}Object(o["a"])(B,"instance",void 0);t["a"]=B},c959:function(e,t,n){"use strict";var o=n("ea1b"),a=n.n(o);t["a"]=a.a},c96d:function(e,t,n){},c985:function(e,t,n){},cb8a:function(e,t,n){"use strict";n("a53a")},cd49:function(e,t,n){"use strict";n.r(t),n.d(t,"sdkAppId",(function(){return R})),n.d(t,"urlF",(function(){return V})),n.d(t,"tokenF",(function(){return L}));n("14d9");var o=n("5b1a"),a=n.n(o),i=n("7a23");const s={class:"app"};function r(e,t){const n=Object(i["resolveComponent"])("router-view");return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",s,[Object(i["createVNode"])(n)])}n("ce48");var l=n("6b0d"),c=n.n(l);const d={},u=c()(d,[["render",r]]);var p=u,m=n("afbc"),h=n("0613"),v=n("3ef4"),f=n("c3a1");n("7437");const g=n("0149"),b=n("f712"),O={en:{"当前语言":"English","即时通信":"IM","即时通信IM":"IM","社交娱乐":"Entertaining & Socializing","腾讯云":"Tencent Cloud","使用指引":"User Guide",Login:g,Home:b}};var y=O;const j=n("e68c"),k=n("54ba"),I={zh_cn:{"当前语言":"简体中文","即时通信":"即时通信","即时通信IM":"即时通信IM","社交娱乐":"社交娱乐","腾讯云":"腾讯云","使用指引":"使用指引",Login:j,Home:k}};var w=I;const E={...y,...w};var C=E,T=n("fcd0"),S=n("2016"),_=n("c193"),D=n("bbb6"),N=n("1344"),U=n("48d5");const{userId:B,sdkAppId:M,userSig:x,urlF:V,tokenF:L}=U["a"];sessionStorage.setItem("tokenF",L+"");const R=1*M,P=T["b"].init({SDKAppID:R}),A={userID:B,userSig:x},G=e=>{P.login(e).then(t=>{const n={...e,expire:(new Date).getTime()+D["a"]};h["a"].commit("setUserInfo",n),window.parent.postMessage(a()({code:"closeLoading"}),"*"),m["a"].push({name:"Home"})}).catch(e=>{console.log("该关了"),window.parent.postMessage(a()({code:"closeLoading"}),"*"),Object(v["a"])({message:e,grouping:!0,type:"error"})})};G(A),P.config.i18n.provideMessage(C),P.use(T["a"]),P.use(S["a"]),P.use(_["c"]);const H=Object(i["createApp"])(p),z=Object(N["a"])(),F={};F.$on=z.on,F.$off=z.off,F.$emit=z.emit,H.config.globalProperties.$bus=F,H.use(h["a"]).use(m["a"]).use(P).use(F).use(f["a"]).mount("#app")},ce48:function(e,t,n){"use strict";n("a7be")},d0f1:function(e,t,n){"use strict";n("6d25")},d307:function(e,t,n){},d35b:function(e,t,n){e.exports=n.p+"img/mute.4ee858f2.svg"},d39e:function(e){e.exports=JSON.parse('{"群聊通知":"群聊通知","系统通知":"系统通知","我的群聊":"我的群聊","输入群ID,按回车搜索":"输入群ID,按回车搜索","群名称":"群名称","群ID":"群ID","加入群聊":"加入群聊","解散群聊":"解散群聊","退出群聊":"退出群聊","进入群聊":"进入群聊","群类型":"群类型","请填写验证信息":"请填写验证信息","申请加入":"申请加入","已申请":"已申请","接受":"接受","拒绝":"拒绝","已处理":"已处理","添加群聊":"添加群聊","已加入":"已加入","该群组不存在":"该群组不存在","加群":"加群","我的好友":"我的好友","发送消息":"发送消息","个性签名":"个性签名"}')},d45a:function(e,t,n){"use strict";n("53f8")},d4db:function(e,t,n){"use strict";n("1294")},dbc1:function(e,t,n){},dc3f:function(e,t,n){"use strict";n("031b")},dce0:function(e,t,n){"use strict";n("a9cb")},dce1:function(e,t,n){},dd44:function(e,t,n){e.exports=n.p+"img/default_avatar.b5538259.png"},e157:function(e,t,n){"use strict";n("aee3")},e311:function(e,t,n){"use strict";(function(e){var o,a,i=n("e946"),s=n.n(i),r=n("52da"),l=n.n(r),c=n("65b8"),d=n.n(c),u=n("05f2"),p=n.n(u),m=n("9474"),h=n.n(m),v=n("b0bc"),f=n.n(v),g=n("44a4"),b=n.n(g),O=n("2e10"),y=n.n(O),j=n("acf5"),k=n.n(j),I=n("a3e3"),w=n.n(I),E=n("3393"),C=n.n(E),T=n("2b0b"),S=n.n(T),_=n("cca4"),D=n.n(_),N=n("fa81"),U=n.n(N),B=n("2b58"),M=n.n(B),x=n("5b1a"),V=n.n(x),L=n("4573"),R=n.n(L),P=n("ec69"),A=n.n(P),G=n("14b1"),H=n.n(G),z=n("298b"),F=n.n(z),$=n("7c78"),Y=n.n($),K=n("2d80"),W=n.n(K),q=n("78b2"),Z=n.n(q),J=n("b6ce"),Q=n.n(J),X=n("f72b"),ee=n.n(X),te=n("3002"),ne=n.n(te),oe=(n("d9e2"),n("14d9"),n("2c66"),n("249d"),n("40e9"),n("e9f5"),n("db9ba"),n("5377"),n("907a"),n("986a"),n("1d02"),n("3c5d"),n("6ce5"),n("2834"),n("4ea1"),n("c73d"),"undefined"!=typeof e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{}),ae=[],ie=[],se="undefined"!=typeof Uint8Array?Uint8Array:Array,re=!1;function le(){re=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,n=e.length;t>18&63]+ae[a>>12&63]+ae[a>>6&63]+ae[63&a]);return i.join("")}function de(e){var t;re||le();for(var n=e.length,o=n%3,a="",i=[],s=0,r=n-o;sr?r:s+16383));return 1===o?(t=e[n-1],a+=ae[t>>2],a+=ae[t<<4&63],a+="=="):2===o&&(t=(e[n-2]<<8)+e[n-1],a+=ae[t>>10],a+=ae[t>>4&63],a+=ae[t<<2&63],a+="="),i.push(a),i.join("")}function ue(e,t,n,o,a){var i,s,r=8*a-o-1,l=(1<>1,d=-7,u=n?a-1:0,p=n?-1:1,m=e[t+u];for(u+=p,i=m&(1<<-d)-1,m>>=-d,d+=r;d>0;i=256*i+e[t+u],u+=p,d-=8);for(s=i&(1<<-d)-1,i>>=-d,d+=o;d>0;s=256*s+e[t+u],u+=p,d-=8);if(0===i)i=1-c;else{if(i===l)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,o),i-=c}return(m?-1:1)*s*Math.pow(2,i-o)}function pe(e,t,n,o,a,i){var s,r,l,c=8*i-a-1,d=(1<>1,p=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,m=o?0:i-1,h=o?1:-1,v=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(r=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+u>=1?p/l:p*Math.pow(2,1-u))*l>=2&&(s++,l/=2),s+u>=d?(r=0,s=d):s+u>=1?(r=(t*l-1)*Math.pow(2,a),s+=u):(r=t*Math.pow(2,u-1)*Math.pow(2,a),s=0));a>=8;e[n+m]=255&r,m+=h,r/=256,a-=8);for(s=s<0;e[n+m]=255&s,m+=h,s/=256,c-=8);e[n+m-h]|=128*v}var me={}.toString,he=s.a||function(e){return"[object Array]"==me.call(e)};function ve(){return ge.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function fe(e,t){if(ve()=ve())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+ve().toString(16)+" bytes");return 0|e}function Ie(e){return!(null==e||!e._isBuffer)}function we(e,t){if(Ie(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Je(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return Qe(e).length;default:if(o)return Je(e).length;t=(""+t).toLowerCase(),o=!0}}function Ee(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return Ae(this,t,n);case"utf8":case"utf-8":return Ve(this,t,n);case"ascii":return Re(this,t,n);case"latin1":case"binary":return Pe(this,t,n);case"base64":return xe(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function Ce(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function Te(e,t,n,o,a){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=a?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(a)return-1;n=e.length-1}else if(n<0){if(!a)return-1;n=0}if("string"==typeof t&&(t=ge.from(t,o)),Ie(t))return 0===t.length?-1:Se(e,t,n,o,a);if("number"==typeof t)return t&=255,ge.TYPED_ARRAY_SUPPORT&&"function"==typeof d()(Uint8Array.prototype)?a?d()(Uint8Array.prototype).call(e,t,n):p()(Uint8Array.prototype).call(e,t,n):Se(e,[t],n,o,a);throw new TypeError("val must be string, number or Buffer")}function Se(e,t,n,o,a){var i,s=1,r=e.length,l=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;s=2,r/=2,l/=2,n/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(a){var d=-1;for(i=n;ir&&(n=r-l),i=n;i>=0;i--){for(var u=!0,p=0;pa&&(o=a):o=a;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var s=0;s>8,a=n%256,i.push(a),i.push(o);return i}(t,e.length-n),e,n,o)}function xe(e,t,n){return 0===t&&n===e.length?de(e):de(l()(e).call(e,t,n))}function Ve(e,t,n){n=Math.min(e.length,n);for(var o=[],a=t;a239?4:d>223?3:d>191?2:1;if(a+p<=n)switch(p){case 1:d<128&&(u=d);break;case 2:128==(192&(i=e[a+1]))&&(c=(31&d)<<6|63&i)>127&&(u=c);break;case 3:i=e[a+1],s=e[a+2],128==(192&i)&&128==(192&s)&&(c=(15&d)<<12|(63&i)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[a+1],s=e[a+2],r=e[a+3],128==(192&i)&&128==(192&s)&&128==(192&r)&&(c=(15&d)<<18|(63&i)<<12|(63&s)<<6|63&r)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,o.push(u>>>10&1023|55296),u=56320|1023&u),o.push(u),a+=p}return function(e){var t=e.length;if(t<=Le)return String.fromCharCode.apply(String,e);for(var n="",o=0;o0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),""},ge.prototype.compare=function(e,t,n,o,a){if(!Ie(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===a&&(a=this.length),t<0||n>e.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&t>=n)return 0;if(o>=a)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(a>>>=0)-(o>>>=0),s=(n>>>=0)-(t>>>=0),r=Math.min(i,s),c=l()(p=this).call(p,o,a),d=l()(e).call(e,t,n),u=0;ua)&&(n=a),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return _e(this,e,t,n);case"utf8":case"utf-8":return De(this,e,t,n);case"ascii":return Ne(this,e,t,n);case"latin1":case"binary":return Ue(this,e,t,n);case"base64":return Be(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Me(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},ge.prototype.toJSON=function(){return{type:"Buffer",data:l()(Array.prototype).call(this._arr||this,0)}};var Le=4096;function Re(e,t,n){var o="";n=Math.min(e.length,n);for(var a=t;ao)&&(n=o);for(var a="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function ze(e,t,n,o,a,i){if(!Ie(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>a||te.length)throw new RangeError("Index out of range")}function Fe(e,t,n,o){t<0&&(t=65535+t+1);for(var a=0,i=Math.min(e.length-n,2);a>>8*(o?a:1-a)}function $e(e,t,n,o){t<0&&(t=4294967295+t+1);for(var a=0,i=Math.min(e.length-n,4);a>>8*(o?a:3-a)&255}function Ye(e,t,n,o,a,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function Ke(e,t,n,o,a){return a||Ye(e,0,n,4),pe(e,t,n,o,23,4),n+4}function We(e,t,n,o,a){return a||Ye(e,0,n,8),pe(e,t,n,o,52,8),n+8}ge.prototype.slice=function(e,t){var n,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t0&&(a*=256);)o+=this[e+--t]*a;return o},ge.prototype.readUInt8=function(e,t){return t||He(e,1,this.length),this[e]},ge.prototype.readUInt16LE=function(e,t){return t||He(e,2,this.length),this[e]|this[e+1]<<8},ge.prototype.readUInt16BE=function(e,t){return t||He(e,2,this.length),this[e]<<8|this[e+1]},ge.prototype.readUInt32LE=function(e,t){return t||He(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},ge.prototype.readUInt32BE=function(e,t){return t||He(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},ge.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||He(e,t,this.length);for(var o=this[e],a=1,i=0;++i=(a*=128)&&(o-=Math.pow(2,8*t)),o},ge.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||He(e,t,this.length);for(var o=t,a=1,i=this[e+--o];o>0&&(a*=256);)i+=this[e+--o]*a;return i>=(a*=128)&&(i-=Math.pow(2,8*t)),i},ge.prototype.readInt8=function(e,t){return t||He(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},ge.prototype.readInt16LE=function(e,t){t||He(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},ge.prototype.readInt16BE=function(e,t){t||He(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},ge.prototype.readInt32LE=function(e,t){return t||He(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},ge.prototype.readInt32BE=function(e,t){return t||He(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},ge.prototype.readFloatLE=function(e,t){return t||He(e,4,this.length),ue(this,e,!0,23,4)},ge.prototype.readFloatBE=function(e,t){return t||He(e,4,this.length),ue(this,e,!1,23,4)},ge.prototype.readDoubleLE=function(e,t){return t||He(e,8,this.length),ue(this,e,!0,52,8)},ge.prototype.readDoubleBE=function(e,t){return t||He(e,8,this.length),ue(this,e,!1,52,8)},ge.prototype.writeUIntLE=function(e,t,n,o){e=+e,t|=0,n|=0,o||ze(this,e,t,n,Math.pow(2,8*n)-1,0);var a=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+a]=e/i&255;return t+n},ge.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,1,255,0),ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},ge.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fe(this,e,t,!0),t+2},ge.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,65535,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fe(this,e,t,!1),t+2},ge.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):$e(this,e,t,!0),t+4},ge.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,4294967295,0),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$e(this,e,t,!1),t+4},ge.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var a=Math.pow(2,8*n-1);ze(this,e,t,n,a-1,-a)}var i=0,s=1,r=0;for(this[t]=255&e;++i>0)-r&255;return t+n},ge.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t|=0,!o){var a=Math.pow(2,8*n-1);ze(this,e,t,n,a-1,-a)}var i=n-1,s=1,r=0;for(this[t+i]=255&e;--i>=0&&(s*=256);)e<0&&0===r&&0!==this[t+i+1]&&(r=1),this[t+i]=(e/s>>0)-r&255;return t+n},ge.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,1,127,-128),ge.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},ge.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):Fe(this,e,t,!0),t+2},ge.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,2,32767,-32768),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):Fe(this,e,t,!1),t+2},ge.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,2147483647,-2147483648),ge.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):$e(this,e,t,!0),t+4},ge.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||ze(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),ge.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):$e(this,e,t,!1),t+4},ge.prototype.writeFloatLE=function(e,t,n){return Ke(this,e,t,!0,n)},ge.prototype.writeFloatBE=function(e,t,n){return Ke(this,e,t,!1,n)},ge.prototype.writeDoubleLE=function(e,t,n){return We(this,e,t,!0,n)},ge.prototype.writeDoubleBE=function(e,t,n){return We(this,e,t,!1,n)},ge.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--a)e[a+t]=this[a+n];else if(i<1e3||!ge.TYPED_ARRAY_SUPPORT)for(a=0;a>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!a){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===o){(t-=3)>-1&&i.push(239,191,189);continue}a=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),a=n;continue}n=65536+(a-55296<<10|n-56320)}else a&&(t-=3)>-1&&i.push(239,191,189);if(a=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function Qe(e){return function(e){var t,n,o,a,i,s;re||le();var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i="="===e[r-2]?2:"="===e[r-1]?1:0,s=new se(3*r/4-i),o=i>0?r-4:r;var l=0;for(t=0,n=0;t>16&255,s[l++]=a>>8&255,s[l++]=255&a;return 2===i?(a=ie[e.charCodeAt(t)]<<2|ie[e.charCodeAt(t+1)]>>4,s[l++]=255&a):1===i&&(a=ie[e.charCodeAt(t)]<<10|ie[e.charCodeAt(t+1)]<<4|ie[e.charCodeAt(t+2)]>>2,s[l++]=a>>8&255,s[l++]=255&a),s}(function(e){if((e=function(e){return b()(e)?b()(e).call(e):e.replace(/^\s+|\s+$/g,"")}(e).replace(qe,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function Xe(e,t,n,o){for(var a=0;a=t.length||a>=e.length);++a)t[a+n]=e[a];return a}function et(e){return null!=e&&(!!e._isBuffer||tt(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof l()(e)&&tt(l()(e).call(e,0,0))}(e))}function tt(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function nt(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!=typeof y.a?y.a:"undefined"!=typeof window?window:"undefined"!=typeof e||"undefined"!=typeof self&&self;var ot=nt((function(e,t){var n;e.exports=(n=n||function(e,t){var n=k.a||function(){function e(){}return function(t){var n;return e.prototype=t,n=new e,e.prototype=null,n}}(),o={},a=o.lib={},i=a.Base={extend:function(e){var t=n(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},s=a.WordArray=i.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||c).stringify(this)},concat:function(e){var t=this.words,n=e.words,o=this.sigBytes,a=e.sigBytes;if(this.clamp(),o%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[o+i>>>2]|=s<<24-(o+i)%4*8}else for(i=0;i>>2]=n[i>>>2];return this.sigBytes+=a,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e,t=i.clone.call(this);return t.words=l()(e=this.words).call(e,0),t},random:function(t){for(var n,o=[],a=function(t){t=t;var n=987654321,o=4294967295;return function(){var a=((n=36969*(65535&n)+(n>>16)&o)<<16)+(t=18e3*(65535&t)+(t>>16)&o)&o;return a/=4294967296,(a+=.5)*(e.random()>.5?1:-1)}},i=0;i>>2]>>>24-a%4*8&255;o.push((i>>>4).toString(16)),o.push((15&i).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>3]|=h()(e.substr(o,2),16)<<24-o%8*4;return new s.init(n,t/2)}},d=r.Latin1={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],a=0;a>>2]>>>24-a%4*8&255;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var t=e.length,n=[],o=0;o>>2]|=(255&e.charCodeAt(o))<<24-o%4*8;return new s.init(n,t)}},u=r.Utf8={stringify:function(e){try{return decodeURIComponent(escape(d.stringify(e)))}catch(e){throw new Error("Malformed UTF-8 data")}},parse:function(e){return d.parse(unescape(encodeURIComponent(e)))}},p=a.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(e){var t;"string"==typeof e&&(e=u.parse(e)),w()(t=this._data).call(t,e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=this._data,o=n.words,a=n.sigBytes,i=this.blockSize,r=4*i,l=a/r,c=(l=t?e.ceil(l):e.max((0|l)-this._minBufferSize,0))*i,d=e.min(4*c,a);if(c){for(var u=0;u>>2]|=e[a]<<24-a%4*8;t.call(this,o,n)}else t.apply(this,arguments)}).prototype=e}}(),n.lib.WordArray)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.WordArray,o=e.enc;function a(e){return e<<8&4278255360|e>>>8&16711935}o.Utf16=o.Utf16BE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],a=0;a>>2]>>>16-a%4*8&65535;o.push(String.fromCharCode(i))}return o.join("")},parse:function(e){for(var n=e.length,o=[],a=0;a>>1]|=e.charCodeAt(a)<<16-a%2*16;return t.create(o,2*n)}},o.Utf16LE={stringify:function(e){for(var t=e.words,n=e.sigBytes,o=[],i=0;i>>2]>>>16-i%4*8&65535);o.push(String.fromCharCode(s))}return o.join("")},parse:function(e){for(var n=e.length,o=[],i=0;i>>1]|=a(e.charCodeAt(i)<<16-i%2*16);return t.create(o,2*n)}}}(),n.enc.Utf16)})),nt((function(e,t){var n,o,a;e.exports=(a=(o=n=ot).lib.WordArray,o.enc.Base64={stringify:function(e){var t=e.words,n=e.sigBytes,o=this._map;e.clamp();for(var a=[],i=0;i>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,r=0;r<4&&i+.75*r>>6*(3-r)&63));var l=o.charAt(64);if(l)for(;a.length%4;)a.push(l);return a.join("")},parse:function(e){var t=e.length,n=this._map,o=this._reverseMap;if(!o){o=this._reverseMap=[];for(var i=0;i>>6-s%4*2;o[i>>>2]|=(r|l)<<24-i%4*8,i++}return a.create(o,i)}(e,t,o)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},n.enc.Base64)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=[];!function(){for(var t=0;t<64;t++)r[t]=4294967296*e.abs(e.sin(t+1))|0}();var l=s.MD5=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,a=e[o];e[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var i=this._hash.words,s=e[t+0],l=e[t+1],m=e[t+2],h=e[t+3],v=e[t+4],f=e[t+5],g=e[t+6],b=e[t+7],O=e[t+8],y=e[t+9],j=e[t+10],k=e[t+11],I=e[t+12],w=e[t+13],E=e[t+14],C=e[t+15],T=i[0],S=i[1],_=i[2],D=i[3];T=c(T,S,_,D,s,7,r[0]),D=c(D,T,S,_,l,12,r[1]),_=c(_,D,T,S,m,17,r[2]),S=c(S,_,D,T,h,22,r[3]),T=c(T,S,_,D,v,7,r[4]),D=c(D,T,S,_,f,12,r[5]),_=c(_,D,T,S,g,17,r[6]),S=c(S,_,D,T,b,22,r[7]),T=c(T,S,_,D,O,7,r[8]),D=c(D,T,S,_,y,12,r[9]),_=c(_,D,T,S,j,17,r[10]),S=c(S,_,D,T,k,22,r[11]),T=c(T,S,_,D,I,7,r[12]),D=c(D,T,S,_,w,12,r[13]),_=c(_,D,T,S,E,17,r[14]),T=d(T,S=c(S,_,D,T,C,22,r[15]),_,D,l,5,r[16]),D=d(D,T,S,_,g,9,r[17]),_=d(_,D,T,S,k,14,r[18]),S=d(S,_,D,T,s,20,r[19]),T=d(T,S,_,D,f,5,r[20]),D=d(D,T,S,_,j,9,r[21]),_=d(_,D,T,S,C,14,r[22]),S=d(S,_,D,T,v,20,r[23]),T=d(T,S,_,D,y,5,r[24]),D=d(D,T,S,_,E,9,r[25]),_=d(_,D,T,S,h,14,r[26]),S=d(S,_,D,T,O,20,r[27]),T=d(T,S,_,D,w,5,r[28]),D=d(D,T,S,_,m,9,r[29]),_=d(_,D,T,S,b,14,r[30]),T=u(T,S=d(S,_,D,T,I,20,r[31]),_,D,f,4,r[32]),D=u(D,T,S,_,O,11,r[33]),_=u(_,D,T,S,k,16,r[34]),S=u(S,_,D,T,E,23,r[35]),T=u(T,S,_,D,l,4,r[36]),D=u(D,T,S,_,v,11,r[37]),_=u(_,D,T,S,b,16,r[38]),S=u(S,_,D,T,j,23,r[39]),T=u(T,S,_,D,w,4,r[40]),D=u(D,T,S,_,s,11,r[41]),_=u(_,D,T,S,h,16,r[42]),S=u(S,_,D,T,g,23,r[43]),T=u(T,S,_,D,y,4,r[44]),D=u(D,T,S,_,I,11,r[45]),_=u(_,D,T,S,C,16,r[46]),T=p(T,S=u(S,_,D,T,m,23,r[47]),_,D,s,6,r[48]),D=p(D,T,S,_,b,10,r[49]),_=p(_,D,T,S,E,15,r[50]),S=p(S,_,D,T,f,21,r[51]),T=p(T,S,_,D,I,6,r[52]),D=p(D,T,S,_,h,10,r[53]),_=p(_,D,T,S,j,15,r[54]),S=p(S,_,D,T,l,21,r[55]),T=p(T,S,_,D,O,6,r[56]),D=p(D,T,S,_,C,10,r[57]),_=p(_,D,T,S,g,15,r[58]),S=p(S,_,D,T,w,21,r[59]),T=p(T,S,_,D,v,6,r[60]),D=p(D,T,S,_,k,10,r[61]),_=p(_,D,T,S,m,15,r[62]),S=p(S,_,D,T,y,21,r[63]),i[0]=i[0]+T|0,i[1]=i[1]+S|0,i[2]=i[2]+_|0,i[3]=i[3]+D|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,a=8*t.sigBytes;n[a>>>5]|=128<<24-a%32;var i=e.floor(o/4294967296),s=o;n[15+(a+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),n[14+(a+64>>>9<<4)]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),t.sigBytes=4*(n.length+1),this._process();for(var r=this._hash,l=r.words,c=0;c<4;c++){var d=l[c];l[c]=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8)}return r},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,n,o,a,i,s){var r=e+(t&n|~t&o)+a+s;return(r<>>32-i)+t}function d(e,t,n,o,a,i,s){var r=e+(t&o|n&~o)+a+s;return(r<>>32-i)+t}function u(e,t,n,o,a,i,s){var r=e+(t^n^o)+a+s;return(r<>>32-i)+t}function p(e,t,n,o,a,i,s){var r=e+(n^(t|~o))+a+s;return(r<>>32-i)+t}t.MD5=i._createHelper(l),t.HmacMD5=i._createHmacHelper(l)}(Math),n.MD5)})),nt((function(e,t){var n,o,a,i,s,r,l,c;e.exports=(a=(o=n=ot).lib,i=a.WordArray,s=a.Hasher,r=o.algo,l=[],c=r.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],c=0;c<80;c++){if(c<16)l[c]=0|e[t+c];else{var d=l[c-3]^l[c-8]^l[c-14]^l[c-16];l[c]=d<<1|d>>>31}var u=(o<<5|o>>>27)+r+l[c];u+=c<20?1518500249+(a&i|~a&s):c<40?1859775393+(a^i^s):c<60?(a&i|a&s|i&s)-1894007588:(a^i^s)-899497514,r=s,s=i,i=a<<30|a>>>2,a=o,o=u}n[0]=n[0]+o|0,n[1]=n[1]+a|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+r|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(o+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=s.clone.call(this);return e._hash=this._hash.clone(),e}}),o.SHA1=s._createHelper(c),o.HmacSHA1=s._createHmacHelper(c),n.SHA1)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=[],c=[];!function(){function t(t){for(var n=e.sqrt(t),o=2;o<=n;o++)if(!(t%o))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}for(var o=2,a=0;a<64;)t(o)&&(a<8&&(r[a]=n(e.pow(o,.5))),c[a]=n(e.pow(o,1/3)),a++),o++}();var d=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new a.init(l()(r).call(r,0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],l=n[5],u=n[6],p=n[7],m=0;m<64;m++){if(m<16)d[m]=0|e[t+m];else{var h=d[m-15],v=(h<<25|h>>>7)^(h<<14|h>>>18)^h>>>3,f=d[m-2],g=(f<<15|f>>>17)^(f<<13|f>>>19)^f>>>10;d[m]=v+d[m-7]+g+d[m-16]}var b=o&a^o&i^a&i,O=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),y=p+((r<<26|r>>>6)^(r<<21|r>>>11)^(r<<7|r>>>25))+(r&l^~r&u)+c[m]+d[m];p=u,u=l,l=r,r=s+y|0,s=i,i=a,a=o,o=y+(O+b)|0}n[0]=n[0]+o|0,n[1]=n[1]+a|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+r|0,n[5]=n[5]+l|0,n[6]=n[6]+u|0,n[7]=n[7]+p|0},_doFinalize:function(){var t=this._data,n=t.words,o=8*this._nDataBytes,a=8*t.sigBytes;return n[a>>>5]|=128<<24-a%32,n[14+(a+64>>>9<<4)]=e.floor(o/4294967296),n[15+(a+64>>>9<<4)]=o,t.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA256=i._createHelper(u),t.HmacSHA256=i._createHmacHelper(u)}(Math),n.SHA256)})),nt((function(e,t){var n,o,a,i,s,r;e.exports=(a=(o=n=ot).lib.WordArray,i=o.algo,s=i.SHA256,r=i.SHA224=s.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=4,e}}),o.SHA224=s._createHelper(r),o.HmacSHA224=s._createHmacHelper(r),n.SHA224)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.Hasher,o=e.x64,a=o.Word,i=o.WordArray,s=e.algo;function r(){return a.create.apply(a,arguments)}var l=[r(1116352408,3609767458),r(1899447441,602891725),r(3049323471,3964484399),r(3921009573,2173295548),r(961987163,4081628472),r(1508970993,3053834265),r(2453635748,2937671579),r(2870763221,3664609560),r(3624381080,2734883394),r(310598401,1164996542),r(607225278,1323610764),r(1426881987,3590304994),r(1925078388,4068182383),r(2162078206,991336113),r(2614888103,633803317),r(3248222580,3479774868),r(3835390401,2666613458),r(4022224774,944711139),r(264347078,2341262773),r(604807628,2007800933),r(770255983,1495990901),r(1249150122,1856431235),r(1555081692,3175218132),r(1996064986,2198950837),r(2554220882,3999719339),r(2821834349,766784016),r(2952996808,2566594879),r(3210313671,3203337956),r(3336571891,1034457026),r(3584528711,2466948901),r(113926993,3758326383),r(338241895,168717936),r(666307205,1188179964),r(773529912,1546045734),r(1294757372,1522805485),r(1396182291,2643833823),r(1695183700,2343527390),r(1986661051,1014477480),r(2177026350,1206759142),r(2456956037,344077627),r(2730485921,1290863460),r(2820302411,3158454273),r(3259730800,3505952657),r(3345764771,106217008),r(3516065817,3606008344),r(3600352804,1432725776),r(4094571909,1467031594),r(275423344,851169720),r(430227734,3100823752),r(506948616,1363258195),r(659060556,3750685593),r(883997877,3785050280),r(958139571,3318307427),r(1322822218,3812723403),r(1537002063,2003034995),r(1747873779,3602036899),r(1955562222,1575990012),r(2024104815,1125592928),r(2227730452,2716904306),r(2361852424,442776044),r(2428436474,593698344),r(2756734187,3733110249),r(3204031479,2999351573),r(3329325298,3815920427),r(3391569614,3928383900),r(3515267271,566280711),r(3940187606,3454069534),r(4118630271,4000239992),r(116418474,1914138554),r(174292421,2731055270),r(289380356,3203993006),r(460393269,320620315),r(685471733,587496836),r(852142971,1086792851),r(1017036298,365543100),r(1126000580,2618297676),r(1288033470,3409855158),r(1501505948,4234509866),r(1607167915,987167468),r(1816402316,1246189591)],c=[];!function(){for(var e=0;e<80;e++)c[e]=r()}();var d=s.SHA512=t.extend({_doReset:function(){this._hash=new i.init([new a.init(1779033703,4089235720),new a.init(3144134277,2227873595),new a.init(1013904242,4271175723),new a.init(2773480762,1595750129),new a.init(1359893119,2917565137),new a.init(2600822924,725511199),new a.init(528734635,4215389547),new a.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,o=n[0],a=n[1],i=n[2],s=n[3],r=n[4],d=n[5],u=n[6],p=n[7],m=o.high,h=o.low,v=a.high,f=a.low,g=i.high,b=i.low,O=s.high,y=s.low,j=r.high,k=r.low,I=d.high,w=d.low,E=u.high,C=u.low,T=p.high,S=p.low,_=m,D=h,N=v,U=f,B=g,M=b,x=O,V=y,L=j,R=k,P=I,A=w,G=E,H=C,z=T,F=S,$=0;$<80;$++){var Y=c[$];if($<16)var K=Y.high=0|e[t+2*$],W=Y.low=0|e[t+2*$+1];else{var q=c[$-15],Z=q.high,J=q.low,Q=(Z>>>1|J<<31)^(Z>>>8|J<<24)^Z>>>7,X=(J>>>1|Z<<31)^(J>>>8|Z<<24)^(J>>>7|Z<<25),ee=c[$-2],te=ee.high,ne=ee.low,oe=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,ae=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=c[$-7],se=ie.high,re=ie.low,le=c[$-16],ce=le.high,de=le.low;K=(K=(K=Q+se+((W=X+re)>>>0>>0?1:0))+oe+((W+=ae)>>>0>>0?1:0))+ce+((W+=de)>>>0>>0?1:0),Y.high=K,Y.low=W}var ue,pe=L&P^~L&G,me=R&A^~R&H,he=_&N^_&B^N&B,ve=D&U^D&M^U&M,fe=(_>>>28|D<<4)^(_<<30|D>>>2)^(_<<25|D>>>7),ge=(D>>>28|_<<4)^(D<<30|_>>>2)^(D<<25|_>>>7),be=(L>>>14|R<<18)^(L>>>18|R<<14)^(L<<23|R>>>9),Oe=(R>>>14|L<<18)^(R>>>18|L<<14)^(R<<23|L>>>9),ye=l[$],je=ye.high,ke=ye.low,Ie=z+be+((ue=F+Oe)>>>0>>0?1:0),we=ge+ve;z=G,F=H,G=P,H=A,P=L,A=R,L=x+(Ie=(Ie=(Ie=Ie+pe+((ue+=me)>>>0>>0?1:0))+je+((ue+=ke)>>>0>>0?1:0))+K+((ue+=W)>>>0>>0?1:0))+((R=V+ue|0)>>>0>>0?1:0)|0,x=B,V=M,B=N,M=U,N=_,U=D,_=Ie+(fe+he+(we>>>0>>0?1:0))+((D=ue+we|0)>>>0>>0?1:0)|0}h=o.low=h+D,o.high=m+_+(h>>>0>>0?1:0),f=a.low=f+U,a.high=v+N+(f>>>0>>0?1:0),b=i.low=b+M,i.high=g+B+(b>>>0>>0?1:0),y=s.low=y+V,s.high=O+x+(y>>>0>>0?1:0),k=r.low=k+R,r.high=j+L+(k>>>0>>0?1:0),w=d.low=w+A,d.high=I+P+(w>>>0
>>0?1:0),C=u.low=C+H,u.high=E+G+(C>>>0>>0?1:0),S=p.low=S+F,p.high=T+z+(S>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;return t[o>>>5]|=128<<24-o%32,t[30+(o+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(o+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});e.SHA512=t._createHelper(d),e.HmacSHA512=t._createHmacHelper(d)}(),n.SHA512)})),nt((function(e,t){var n,o,a,i,s,r,l,c;e.exports=(a=(o=n=ot).x64,i=a.Word,s=a.WordArray,r=o.algo,l=r.SHA512,c=r.SHA384=l.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var e=l._doFinalize.call(this);return e.sigBytes-=16,e}}),o.SHA384=l._createHelper(c),o.HmacSHA384=l._createHmacHelper(c),n.SHA384)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.x64.Word,r=t.algo,c=[],d=[],u=[];!function(){for(var e=1,t=0,n=0;n<24;n++){c[e+5*t]=(n+1)*(n+2)/2%64;var o=(2*e+3*t)%5;e=t%5,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)d[e+5*t]=t+(2*e+3*t)%5*5;for(var a=1,i=0;i<24;i++){for(var r=0,l=0,p=0;p<7;p++){if(1&a){var m=(1<>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),(S=n[a]).high^=s,S.low^=i}for(var r=0;r<24;r++){for(var l=0;l<5;l++){for(var m=0,h=0,v=0;v<5;v++)m^=(S=n[l+5*v]).high,h^=S.low;var f=p[l];f.high=m,f.low=h}for(l=0;l<5;l++){var g=p[(l+4)%5],b=p[(l+1)%5],O=b.high,y=b.low;for(m=g.high^(O<<1|y>>>31),h=g.low^(y<<1|O>>>31),v=0;v<5;v++)(S=n[l+5*v]).high^=m,S.low^=h}for(var j=1;j<25;j++){var k=(S=n[j]).high,I=S.low,w=c[j];w<32?(m=k<>>32-w,h=I<>>32-w):(m=I<>>64-w,h=k<>>64-w);var E=p[d[j]];E.high=m,E.low=h}var C=p[0],T=n[0];for(C.high=T.high,C.low=T.low,l=0;l<5;l++)for(v=0;v<5;v++){var S=n[j=l+5*v],_=p[j],D=p[(l+1)%5+5*v],N=p[(l+2)%5+5*v];S.high=_.high^~D.high&N.high,S.low=_.low^~D.low&N.low}S=n[0];var U=u[r];S.high^=U.high,S.low^=U.low}},_doFinalize:function(){var t=this._data,n=t.words,o=(this._nDataBytes,8*t.sigBytes),i=32*this.blockSize;n[o>>>5]|=1<<24-o%32,n[(e.ceil((o+1)/i)*i>>>5)-1]|=128,t.sigBytes=4*n.length,this._process();for(var s=this._state,r=this.cfg.outputLength/8,l=r/8,c=[],d=0;d>>24)|4278255360&(p<<24|p>>>8),m=16711935&(m<<8|m>>>24)|4278255360&(m<<24|m>>>8),c.push(m),c.push(p)}return new a.init(c,r)},clone:function(){for(var e=i.clone.call(this),t=e._state=l()(o=this._state).call(o,0),n=0;n<25;n++){var o;t[n]=t[n].clone()}return e}});t.SHA3=i._createHelper(m),t.HmacSHA3=i._createHmacHelper(m)}(Math),n.SHA3)})),nt((function(e,t){var n;e.exports=(n=ot,function(e){var t=n,o=t.lib,a=o.WordArray,i=o.Hasher,s=t.algo,r=a.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=a.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=a.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),d=a.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=a.create([0,1518500249,1859775393,2400959708,2840853838]),p=a.create([1352829926,1548603684,1836072691,2053994217,0]),m=s.RIPEMD160=i.extend({_doReset:function(){this._hash=a.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var o=t+n,a=e[o];e[o]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}var i,s,m,y,j,k,I,w,E,C,T,S=this._hash.words,_=u.words,D=p.words,N=r.words,U=l.words,B=c.words,M=d.words;for(k=i=S[0],I=s=S[1],w=m=S[2],E=y=S[3],C=j=S[4],n=0;n<80;n+=1)T=i+e[t+N[n]]|0,T+=n<16?h(s,m,y)+_[0]:n<32?v(s,m,y)+_[1]:n<48?f(s,m,y)+_[2]:n<64?g(s,m,y)+_[3]:b(s,m,y)+_[4],T=(T=O(T|=0,B[n]))+j|0,i=j,j=y,y=O(m,10),m=s,s=T,T=k+e[t+U[n]]|0,T+=n<16?b(I,w,E)+D[0]:n<32?g(I,w,E)+D[1]:n<48?f(I,w,E)+D[2]:n<64?v(I,w,E)+D[3]:h(I,w,E)+D[4],T=(T=O(T|=0,M[n]))+C|0,k=C,C=E,E=O(w,10),w=I,I=T;T=S[1]+m+E|0,S[1]=S[2]+y+C|0,S[2]=S[3]+j+k|0,S[3]=S[4]+i+I|0,S[4]=S[0]+s+w|0,S[0]=T},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var a=this._hash,i=a.words,s=0;s<5;s++){var r=i[s];i[s]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}return a},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function h(e,t,n){return e^t^n}function v(e,t,n){return e&t|~e&n}function f(e,t,n){return(e|~t)^n}function g(e,t,n){return e&n|t&~n}function b(e,t,n){return e^(t|~n)}function O(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(m),t.HmacRIPEMD160=i._createHmacHelper(m)}(),n.RIPEMD160)})),nt((function(e,t){var n,o,a,i,s,r;e.exports=(o=(n=ot).lib,a=o.Base,i=n.enc,s=i.Utf8,r=n.algo,void(r.HMAC=a.extend({init:function(e,t){e=this._hasher=new e.init,"string"==typeof t&&(t=s.parse(t));var n=e.blockSize,o=4*n;t.sigBytes>o&&(t=e.finalize(t)),t.clamp();for(var a=this._oKey=t.clone(),i=this._iKey=t.clone(),r=a.words,l=i.words,c=0;c>>2];e.sigBytes-=t}},i.BlockCipher=h.extend({cfg:h.cfg.extend({mode:g,padding:O}),reset:function(){h.reset.call(this);var e=this.cfg,t=e.iv,n=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var o=n.createEncryptor;else{o=n.createDecryptor;this._minBufferSize=1}this._mode&&this._mode.__creator==o?this._mode.init(this,t&&t.words):(this._mode=o.call(n,this,t&&t.words),this._mode.__creator=o)},_doProcessBlock:function(e,t){this._mode.processBlock(e,t)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var t=this._process(!0)}else{t=this._process(!0);e.unpad(t)}return t},blockSize:4}),y=i.CipherParams=s.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),j=a.format={},k=j.OpenSSL={stringify:function(e){var t,n,o=e.ciphertext,a=e.salt;if(a)var i=w()(t=w()(n=r.create([1398893684,1701076831])).call(n,a)).call(t,o);else i=o;return i.toString(u)},parse:function(e){var t=u.parse(e),n=t.words;if(1398893684==n[0]&&1701076831==n[1]){var o=r.create(l()(n).call(n,2,4));C()(n).call(n,0,4),t.sigBytes-=16}return y.create({ciphertext:t,salt:o})}},I=i.SerializableCipher=s.extend({cfg:s.extend({format:k}),encrypt:function(e,t,n,o){o=this.cfg.extend(o);var a=e.createEncryptor(n,o),i=a.finalize(t),s=a.cfg;return y.create({ciphertext:i,key:n,iv:s.iv,algorithm:e,mode:s.mode,padding:s.padding,blockSize:e.blockSize,formatter:o.format})},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var a=e.createDecryptor(n,o).finalize(t.ciphertext);return a},_parse:function(e,t){return"string"==typeof e?t.parse(e,this):e}}),E=a.kdf={},T=E.OpenSSL={execute:function(e,t,n,o){var a;o||(o=r.random(8));var i=m.create({keySize:t+n}).compute(e,o),s=r.create(l()(a=i.words).call(a,t),4*n);return i.sigBytes=4*t,y.create({key:i,iv:s,salt:o})}},S=i.PasswordBasedCipher=I.extend({cfg:I.cfg.extend({kdf:T}),encrypt:function(e,t,n,o){var a=(o=this.cfg.extend(o)).kdf.execute(n,e.keySize,e.ivSize);o.iv=a.iv;var i=I.encrypt.call(this,e,t,a.key,o);return i.mixIn(a),i},decrypt:function(e,t,n,o){o=this.cfg.extend(o),t=this._parse(t,o.format);var a=o.kdf.execute(n,e.keySize,e.ivSize,t.salt);o.iv=a.iv;var i=I.decrypt.call(this,e,t,a.key,o);return i}})))})),nt((function(e,t){var n;e.exports=((n=ot).mode.CFB=function(){var e=n.lib.BlockCipherMode.extend();function t(e,t,n,o){var a=this._iv;if(a){var i=l()(a).call(a,0);this._iv=void 0}else i=this._prevBlock;o.encryptBlock(i,0);for(var s=0;s>24&255)){var t=e>>16&255,n=e>>8&255,o=255&e;255===t?(t=0,255===n?(n=0,255===o?o=0:++o):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=o}else e+=1<<24;return e}var o=e.Encryptor=e.extend({processBlock:function(e,n){var o=this._cipher,a=o.blockSize,i=this._iv,s=this._counter;i&&(s=this._counter=l()(i).call(i,0),this._iv=void 0),function(e){0===(e[0]=t(e[0]))&&(e[1]=t(e[1]))}(s);var r=l()(s).call(s,0);o.encryptBlock(r,0);for(var c=0;c>>2]|=a<<24-i%4*8,e.sigBytes+=a},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Ansix923)})),nt((function(e,t){var n;e.exports=((n=ot).pad.Iso10126={pad:function(e,t){var o,a=4*t,i=a-e.sigBytes%a;w()(o=w()(e).call(e,n.lib.WordArray.random(i-1))).call(o,n.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},n.pad.Iso10126)})),nt((function(e,t){var n;e.exports=((n=ot).pad.Iso97971={pad:function(e,t){w()(e).call(e,n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(e,t)},unpad:function(e){n.pad.ZeroPadding.unpad(e),e.sigBytes--}},n.pad.Iso97971)})),nt((function(e,t){var n;e.exports=((n=ot).pad.ZeroPadding={pad:function(e,t){var n=4*t;e.clamp(),e.sigBytes+=n-(e.sigBytes%n||n)},unpad:function(e){for(var t=e.words,n=e.sigBytes-1;!(t[n>>>2]>>>24-n%4*8&255);)n--;e.sigBytes=n+1}},n.pad.ZeroPadding)})),nt((function(e,t){var n;e.exports=((n=ot).pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding)})),nt((function(e,t){var n,o,a,i;e.exports=(a=(o=n=ot).lib.CipherParams,i=o.enc.Hex,o.format.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var t=i.parse(e);return a.create({ciphertext:t})}},n.format.Hex)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.BlockCipher,o=e.algo,a=[],i=[],s=[],r=[],l=[],c=[],d=[],u=[],p=[],m=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var n=0,o=0;for(t=0;t<256;t++){var h=o^o<<1^o<<2^o<<3^o<<4;h=h>>>8^255&h^99,a[n]=h,i[h]=n;var v=e[n],f=e[v],g=e[f],b=257*e[h]^16843008*h;s[n]=b<<24|b>>>8,r[n]=b<<16|b>>>16,l[n]=b<<8|b>>>24,c[n]=b,b=16843009*g^65537*f^257*v^16843008*n,d[h]=b<<24|b>>>8,u[h]=b<<16|b>>>16,p[h]=b<<8|b>>>24,m[h]=b,n?(n=v^e[e[e[g^v]]],o^=e[e[o]]):n=o=1}}();var h=[0,1,2,4,8,16,32,64,128,27,54],v=o.AES=t.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,n=e.sigBytes/4,o=4*((this._nRounds=n+6)+1),i=this._keySchedule=[],s=0;s6&&s%n==4&&(r=a[r>>>24]<<24|a[r>>>16&255]<<16|a[r>>>8&255]<<8|a[255&r]):(r=a[(r=r<<8|r>>>24)>>>24]<<24|a[r>>>16&255]<<16|a[r>>>8&255]<<8|a[255&r],r^=h[s/n|0]<<24),i[s]=i[s-n]^r}for(var l=this._invKeySchedule=[],c=0;c>>24]]^u[a[r>>>16&255]]^p[a[r>>>8&255]]^m[a[255&r]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,s,r,l,c,a)},decryptBlock:function(e,t){var n=e[t+1];e[t+1]=e[t+3],e[t+3]=n,this._doCryptBlock(e,t,this._invKeySchedule,d,u,p,m,i),n=e[t+1],e[t+1]=e[t+3],e[t+3]=n},_doCryptBlock:function(e,t,n,o,a,i,s,r){for(var l=this._nRounds,c=e[t]^n[0],d=e[t+1]^n[1],u=e[t+2]^n[2],p=e[t+3]^n[3],m=4,h=1;h>>24]^a[d>>>16&255]^i[u>>>8&255]^s[255&p]^n[m++],f=o[d>>>24]^a[u>>>16&255]^i[p>>>8&255]^s[255&c]^n[m++],g=o[u>>>24]^a[p>>>16&255]^i[c>>>8&255]^s[255&d]^n[m++],b=o[p>>>24]^a[c>>>16&255]^i[d>>>8&255]^s[255&u]^n[m++];c=v,d=f,u=g,p=b}v=(r[c>>>24]<<24|r[d>>>16&255]<<16|r[u>>>8&255]<<8|r[255&p])^n[m++],f=(r[d>>>24]<<24|r[u>>>16&255]<<16|r[p>>>8&255]<<8|r[255&c])^n[m++],g=(r[u>>>24]<<24|r[p>>>16&255]<<16|r[c>>>8&255]<<8|r[255&d])^n[m++],b=(r[p>>>24]<<24|r[c>>>16&255]<<16|r[d>>>8&255]<<8|r[255&u])^n[m++],e[t]=v,e[t+1]=f,e[t+2]=g,e[t+3]=b},keySize:8});e.AES=t._createHelper(v)}(),n.AES)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib,o=t.WordArray,a=t.BlockCipher,i=e.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],r=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],p=i.DES=a.extend({_doReset:function(){for(var e=this._key.words,t=[],n=0;n<56;n++){var o=s[n]-1;t[n]=e[o>>>5]>>>31-o%32&1}for(var a=this._subKeys=[],i=0;i<16;i++){var l=a[i]=[],d=c[i];for(n=0;n<24;n++)l[n/6|0]|=t[(r[n]-1+d)%28]<<31-n%6,l[4+(n/6|0)]|=t[28+(r[n+24]-1+d)%28]<<31-n%6;for(l[0]=l[0]<<1|l[0]>>>31,n=1;n<7;n++)l[n]=l[n]>>>4*(n-1)+3;l[7]=l[7]<<5|l[7]>>>27}var u=this._invSubKeys=[];for(n=0;n<16;n++)u[n]=a[15-n]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],m.call(this,4,252645135),m.call(this,16,65535),h.call(this,2,858993459),h.call(this,8,16711935),m.call(this,1,1431655765);for(var o=0;o<16;o++){for(var a=n[o],i=this._lBlock,s=this._rBlock,r=0,l=0;l<8;l++)r|=d[l][((s^a[l])&u[l])>>>0];this._lBlock=s,this._rBlock=i^r}var c=this._lBlock;this._lBlock=this._rBlock,this._rBlock=c,m.call(this,1,1431655765),h.call(this,8,16711935),h.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function m(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<>>2]>>>24-s%4*8&255;i=(i+o[a]+r)%256;var l=o[a];o[a]=o[i],o[i]=l}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=i.call(this)},keySize:8,ivSize:0});function i(){for(var e=this._S,t=this._i,n=this._j,o=0,a=0;a<4;a++){n=(n+e[t=(t+1)%256])%256;var i=e[t];e[t]=e[n],e[n]=i,o|=e[(e[t]+e[n])%256]<<24-8*a}return this._i=t,this._j=n,o}e.RC4=t._createHelper(a);var s=o.RC4Drop=a.extend({cfg:a.cfg.extend({drop:192}),_doReset:function(){a._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});e.RC4Drop=t._createHelper(s)}(),n.RC4)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.StreamCipher,o=e.algo,a=[],i=[],s=[],r=o.Rabbit=t.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,n=0;n<4;n++)e[n]=16711935&(e[n]<<8|e[n]>>>24)|4278255360&(e[n]<<24|e[n]>>>8);var o=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],a=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,n=0;n<4;n++)l.call(this);for(n=0;n<8;n++)a[n]^=o[n+4&7];if(t){var i=t.words,s=i[0],r=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(a[0]^=c,a[1]^=u,a[2]^=d,a[3]^=p,a[4]^=c,a[5]^=u,a[6]^=d,a[7]^=p,n=0;n<4;n++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],a=65535&o,r=o>>>16,l=((a*a>>>17)+a*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.Rabbit=t._createHelper(r)}(),n.Rabbit)})),nt((function(e,t){var n;e.exports=(n=ot,function(){var e=n,t=e.lib.StreamCipher,o=e.algo,a=[],i=[],s=[],r=o.RabbitLegacy=t.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,n=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var a=0;a<4;a++)l.call(this);for(a=0;a<8;a++)o[a]^=n[a+4&7];if(t){var i=t.words,s=i[0],r=i[1],c=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8),d=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),u=c>>>16|4294901760&d,p=d<<16|65535&c;for(o[0]^=c,o[1]^=u,o[2]^=d,o[3]^=p,o[4]^=c,o[5]^=u,o[6]^=d,o[7]^=p,a=0;a<4;a++)l.call(this)}},_doProcessBlock:function(e,t){var n=this._X;l.call(this),a[0]=n[0]^n[5]>>>16^n[3]<<16,a[1]=n[2]^n[7]>>>16^n[5]<<16,a[2]=n[4]^n[1]>>>16^n[7]<<16,a[3]=n[6]^n[3]>>>16^n[1]<<16;for(var o=0;o<4;o++)a[o]=16711935&(a[o]<<8|a[o]>>>24)|4278255360&(a[o]<<24|a[o]>>>8),e[t+o]^=a[o]},blockSize:4,ivSize:2});function l(){for(var e=this._X,t=this._C,n=0;n<8;n++)i[n]=t[n];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,n=0;n<8;n++){var o=e[n]+t[n],a=65535&o,r=o>>>16,l=((a*a>>>17)+a*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);s[n]=l^c}e[0]=s[0]+(s[7]<<16|s[7]>>>16)+(s[6]<<16|s[6]>>>16)|0,e[1]=s[1]+(s[0]<<8|s[0]>>>24)+s[7]|0,e[2]=s[2]+(s[1]<<16|s[1]>>>16)+(s[0]<<16|s[0]>>>16)|0,e[3]=s[3]+(s[2]<<8|s[2]>>>24)+s[1]|0,e[4]=s[4]+(s[3]<<16|s[3]>>>16)+(s[2]<<16|s[2]>>>16)|0,e[5]=s[5]+(s[4]<<8|s[4]>>>24)+s[3]|0,e[6]=s[6]+(s[5]<<16|s[5]>>>16)+(s[4]<<16|s[4]>>>16)|0,e[7]=s[7]+(s[6]<<8|s[6]>>>24)+s[5]|0}e.RabbitLegacy=t._createHelper(r)}(),n.RabbitLegacy)})),nt((function(e,t){e.exports=ot})));function it(){throw new Error("setTimeout has not been defined")}function st(){throw new Error("clearTimeout has not been defined")}var rt=it,lt=st;function ct(e){if(rt===S.a)return S()(e,0);if((rt===it||!rt)&&S.a)return rt=S.a,S()(e,0);try{return rt(e,0)}catch(ae){try{return rt.call(null,e,0)}catch(ae){return rt.call(this,e,0)}}}"function"==typeof oe.setTimeout&&(rt=S.a),"function"==typeof oe.clearTimeout&&(lt=clearTimeout);var dt,ut=[],pt=!1,mt=-1;function ht(){pt&&dt&&(pt=!1,dt.length?ut=w()(dt).call(dt,ut):mt=-1,ut.length&&vt())}function vt(){if(!pt){var e=ct(ht);pt=!0;for(var t=ut.length;t;){for(dt=ut,ut=[];++mt1)for(var n=1;n0&&s.length>a){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+t+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=s.length,r=l,"function"==typeof console.warn?console.warn(r):console.log(r)}}else s=i[t]=n,++e._eventsCount;return e}function St(e,t,n){var o=!1;function a(){e.removeListener(t,a),o||(o=!0,n.apply(e,arguments))}return a.listener=n,a}function _t(e){var t=this._events;if(t){var n=t[e];if("function"==typeof n)return 1;if(n)return n.length}return 0}function Dt(e,t){for(var n=new Array(t);t--;)n[t]=e[t];return n}bt.now||bt.mozNow||bt.msNow||bt.oNow||bt.webkitNow,Ot.prototype=k()(null),yt.EventEmitter=yt,yt.usingDomains=!1,yt.prototype.domain=void 0,yt.prototype._events=void 0,yt.prototype._maxListeners=void 0,yt.defaultMaxListeners=10,yt.init=function(){this.domain=null,yt.usingDomains&&(void 0).active&&(void 0).Domain,this._events&&this._events!==D()(this)._events||(this._events=new Ot,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},yt.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this},yt.prototype.getMaxListeners=function(){return jt(this)},yt.prototype.emit=function(e){var t,n,o,a,i,s,r,l="error"===e;if(s=this._events)l=l&&null==s.error;else if(!l)return!1;if(r=this.domain,l){if(t=arguments[1],!r){if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=r,t.domainThrown=!1,r.emit("error",t),!1}if(!(n=s[e]))return!1;var d="function"==typeof n;switch(o=arguments.length){case 1:kt(n,d,this);break;case 2:It(n,d,this,arguments[1]);break;case 3:wt(n,d,this,arguments[1],arguments[2]);break;case 4:Et(n,d,this,arguments[1],arguments[2],arguments[3]);break;default:for(a=new Array(o-1),i=1;i0;)if(n[i]===t||n[i].listener&&n[i].listener===t){s=n[i].listener,a=i;break}if(a<0)return this;if(1===n.length){if(n[0]=void 0,0==--this._eventsCount)return this._events=new Ot,this;delete o[e]}else!function(e,t){for(var n=t,o=n+1,a=e.length;o0?M()(this._events):[]};var Nt="function"==typeof k.a?function(e,t){e.super_=t,e.prototype=k()(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e},Ut=/%[sdj%]/g;function Bt(e){if(!$t(e)){for(var t=[],n=0;n=a)return e;switch(e){case"%s":return String(o[n++]);case"%d":return Number(o[n++]);case"%j":try{return V()(o[n++])}catch(e){return"[Circular]"}default:return e}})),s=o[n];n=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),zt(t)?n.showHidden=t:t&&function(e,t){if(!t||!Wt(t))return e;for(var n=U()(t),o=n.length;o--;)e[n[o]]=t[n[o]]}(n,t),Yt(n.showHidden)&&(n.showHidden=!1),Yt(n.depth)&&(n.depth=2),Yt(n.colors)&&(n.colors=!1),Yt(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=Rt),At(n,e,n.depth)}function Rt(e,t){var n=Lt.styles[t];return n?"["+Lt.colors[n][0]+"m"+e+"["+Lt.colors[n][1]+"m":e}function Pt(e,t){return e}function At(e,t,n){if(e.customInspect&&t&&Jt(t.inspect)&&t.inspect!==Lt&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return $t(o)||(o=At(e,o,n)),o}var a=function(e,t){if(Yt(t))return e.stylize("undefined","undefined");if($t(t)){var n="'"+V()(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return o=t,"number"==typeof o?e.stylize(""+t,"number"):zt(t)?e.stylize(""+t,"boolean"):Ft(t)?e.stylize("null","null"):void 0;var o}(e,t);if(a)return a;var i=U()(t),r=function(e){var t={};return R()(e).call(e,(function(e,n){t[e]=!0})),t}(i);if(e.showHidden&&(i=A()(t)),Zt(t)&&(d()(i).call(i,"message")>=0||d()(i).call(i,"description")>=0))return Gt(t);if(0===i.length){if(Jt(t)){var l=t.name?": "+t.name:"";return e.stylize("[Function"+l+"]","special")}if(Kt(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(qt(t))return e.stylize(Date.prototype.toString.call(t),"date");if(Zt(t))return Gt(t)}var c,u,p="",m=!1,h=["{","}"];return c=t,s()(c)&&(m=!0,h=["[","]"]),Jt(t)&&(p=" [Function"+(t.name?": "+t.name:"")+"]"),Kt(t)&&(p=" "+RegExp.prototype.toString.call(t)),qt(t)&&(p=" "+Date.prototype.toUTCString.call(t)),Zt(t)&&(p=" "+Gt(t)),0!==i.length||m&&0!=t.length?n<0?Kt(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),u=m?function(e,t,n,o,a){for(var i=[],s=0,r=t.length;s60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(u,p,h)):h[0]+p+h[1]}function Gt(e){return"["+Error.prototype.toString.call(e)+"]"}function Ht(e,t,n,o,a,i){var s,r,l,c,u,p,m;if((m=Y()(t,a)||{value:t[a]}).get?p=m.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):m.set&&(p=e.stylize("[Setter]","special")),Xt(o,a)||(u="["+a+"]"),p||(d()(s=e.seen).call(s,m.value)<0?d()(r=p=Ft(n)?At(e,m.value,null):At(e,m.value,n-1)).call(r,"\n")>-1&&(p=i?H()(l=p.split("\n")).call(l,(function(e){return" "+e})).join("\n").substr(2):"\n"+H()(c=p.split("\n")).call(c,(function(e){return" "+e})).join("\n")):p=e.stylize("[Circular]","special")),Yt(u)){if(i&&a.match(/^\d+$/))return p;(u=V()(""+a)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(u=u.substr(1,u.length-2),u=e.stylize(u,"name")):(u=u.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),u=e.stylize(u,"string"))}return u+": "+p}function zt(e){return"boolean"==typeof e}function Ft(e){return null===e}function $t(e){return"string"==typeof e}function Yt(e){return void 0===e}function Kt(e){return Wt(e)&&"[object RegExp]"===Qt(e)}function Wt(e){return"object"==typeof e&&null!==e}function qt(e){return Wt(e)&&"[object Date]"===Qt(e)}function Zt(e){return Wt(e)&&("[object Error]"===Qt(e)||e instanceof Error)}function Jt(e){return"function"==typeof e}function Qt(e){return Object.prototype.toString.call(e)}function Xt(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function en(){this.head=null,this.tail=null,this.length=0}Lt.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Lt.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},en.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},en.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},en.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},en.prototype.clear=function(){this.head=this.tail=null,this.length=0},en.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},en.prototype.concat=function(e){if(0===this.length)return ge.alloc(0);if(1===this.length)return this.head.data;for(var t=ge.allocUnsafe(e>>>0),n=this.head,o=0;n;)n.data.copy(t,o),o+=n.data.length,n=n.next;return t};var tn=ge.isEncoding||function(e){switch(e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function nn(e){switch(this.encoding=(e||"utf8").toLowerCase().replace(/[-_]/,""),function(e){if(e&&!tn(e))throw new Error("Unknown encoding: "+e)}(e),this.encoding){case"utf8":this.surrogateSize=3;break;case"ucs2":case"utf16le":this.surrogateSize=2,this.detectIncompleteChar=an;break;case"base64":this.surrogateSize=3,this.detectIncompleteChar=sn;break;default:return void(this.write=on)}this.charBuffer=new ge(6),this.charReceived=0,this.charLength=0}function on(e){return e.toString(this.encoding)}function an(e){this.charReceived=e.length%2,this.charLength=this.charReceived?2:0}function sn(e){this.charReceived=e.length%3,this.charLength=this.charReceived?3:0}nn.prototype.write=function(e){for(var t="";this.charLength;){var n,o=e.length>=this.charLength-this.charReceived?this.charLength-this.charReceived:e.length;if(e.copy(this.charBuffer,this.charReceived,0,o),this.charReceived+=o,this.charReceived=55296&&a<=56319)){if(this.charReceived=this.charLength=0,0===e.length)return t;break}this.charLength+=this.surrogateSize,t=""}this.detectIncompleteChar(e);var a,i=e.length;if(this.charLength&&(e.copy(this.charBuffer,0,e.length-this.charReceived,i),i-=this.charReceived),i=(t+=e.toString(this.encoding,0,i)).length-1,(a=t.charCodeAt(i))>=55296&&a<=56319){var s=this.surrogateSize;return this.charLength+=s,this.charReceived+=s,this.charBuffer.copy(this.charBuffer,s,0,s),e.copy(this.charBuffer,0,0,s),t.substring(0,i)}return t},nn.prototype.detectIncompleteChar=function(e){for(var t=e.length>=3?3:e.length;t>0;t--){var n=e[e.length-t];if(1==t&&n>>5==6){this.charLength=2;break}if(t<=2&&n>>4==14){this.charLength=3;break}if(t<=3&&n>>3==30){this.charLength=4;break}}this.charReceived=t},nn.prototype.end=function(e){var t="";if(e&&e.length&&(t=this.write(e)),this.charReceived){var n=this.charReceived,o=this.charBuffer,a=this.encoding;t+=l()(o).call(o,0,n).toString(a)}return t},cn.ReadableState=ln;var rn=function(e){return Yt(xt)&&(xt=""),e=e.toUpperCase(),Vt[e]||(new RegExp("\\b"+e+"\\b","i").test(xt)?Vt[e]=function(){var t=Bt.apply(null,arguments);console.error("%s %d: %s",e,0,t)}:Vt[e]=function(){}),Vt[e]}("stream");function ln(e,t){e=e||{},this.objectMode=!!e.objectMode,t instanceof Ln&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var n=e.highWaterMark,o=this.objectMode?16:16384;this.highWaterMark=n||0===n?n:o,this.highWaterMark=~~this.highWaterMark,this.buffer=new en,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(this.decoder=new nn(e.encoding),this.encoding=e.encoding)}function cn(e){if(!(this instanceof cn))return new cn(e);this._readableState=new ln(e,this),this.readable=!0,e&&"function"==typeof e.read&&(this._read=e.read),yt.call(this)}function dn(e,t,n,o,a){var i=function(e,t){var n=null;return et(t)||"string"==typeof t||null==t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk")),n}(t,n);if(i)e.emit("error",i);else if(null===n)t.reading=!1,function(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,mn(e)}}(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!a){var s=new Error("stream.push() after EOF");e.emit("error",s)}else if(t.endEmitted&&a){var r=new Error("stream.unshift() after end event");e.emit("error",r)}else{var l;!t.decoder||a||o||(n=t.decoder.write(n),l=!t.objectMode&&0===n.length),a||(t.reading=!1),l||(t.flowing&&0===t.length&&!t.sync?(e.emit("data",n),e.read(0)):(t.length+=t.objectMode?1:n.length,a?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&mn(e))),function(e,t){t.readingMore||(t.readingMore=!0,ft(vn,e,t))}(e,t)}else a||(t.reading=!1);return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=un?e=un:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function mn(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(rn("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?ft(hn,e):hn(e))}function hn(e){rn("emit readable"),e.emit("readable"),bn(e)}function vn(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(o=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:w()(n=t.buffer).call(n,t.length),t.buffer.clear()):o=function(e,t,n,o,a){var i;return ei.length?i.length:e;if(s===i.length?a+=i:a+=l()(i).call(i,0,e),0===(e-=s)){s===i.length?(++o,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=l()(i).call(i,s));break}++o}return t.length-=o,a}(e,t):function(e,t){var n=ge.allocUnsafe(e),o=t.head,a=1;for(o.data.copy(n),e-=o.data.length;o=o.next;){var i=o.data,s=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,s),0===(e-=s)){s===i.length?(++a,o.next?t.head=o.next:t.head=t.tail=null):(t.head=o,o.data=l()(i).call(i,s));break}++a}return t.length-=a,n}(e,t),i}(e,t.buffer,t.decoder),o)}function yn(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,ft(jn,t,e))}function jn(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function kn(e,t){for(var n=0,o=e.length;n=t.highWaterMark||t.ended))return rn("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?yn(this):mn(this),null;if(0===(e=pn(e,t))&&t.ended)return 0===t.length&&yn(this),null;var o,a=t.needReadable;return rn("need readable",a),(0===t.length||t.length-e0?On(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&yn(this)),null!==o&&this.emit("data",o),o},cn.prototype._read=function(e){this.emit("error",new Error("not implemented"))},cn.prototype.pipe=function(e,t){var n=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,rn("pipe count=%d opts=%j",o.pipesCount,t);var a=t&&!1===t.end?d:r;function i(e){rn("onunpipe"),e===n&&d()}function r(){rn("onend"),e.end()}o.endEmitted?ft(a):n.once("end",a),e.on("unpipe",i);var l=function(e){return function(){var t=e._readableState;rn("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&e.listeners("data").length&&(t.flowing=!0,bn(e))}}(n);e.on("drain",l);var c=!1;function d(){rn("cleanup"),e.removeListener("close",h),e.removeListener("finish",v),e.removeListener("drain",l),e.removeListener("error",m),e.removeListener("unpipe",i),n.removeListener("end",r),n.removeListener("end",d),n.removeListener("data",p),c=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||l()}var u=!1;function p(t){rn("ondata"),u=!1,!1!==e.write(t)||u||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==kn(o.pipes,e))&&!c&&(rn("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,u=!0),n.pause())}function m(t){var n;rn("onerror",t),f(),e.removeListener("error",m),0===(n="error",e.listeners(n).length)&&e.emit("error",t)}function h(){e.removeListener("finish",v),f()}function v(){rn("onfinish"),e.removeListener("close",h),f()}function f(){rn("unpipe"),n.unpipe(e)}return n.on("data",p),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?s()(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",h),e.once("finish",v),e.emit("pipe",n),o.flowing||(rn("pipe resume"),n.resume()),e},cn.prototype.unpipe=function(e){var t,n=this._readableState;if(0===n.pipesCount)return this;if(1===n.pipesCount)return e&&e!==n.pipes||(e||(e=n.pipes),n.pipes=null,n.pipesCount=0,n.flowing=!1,e&&e.emit("unpipe",this)),this;if(!e){var o=n.pipes,a=n.pipesCount;n.pipes=null,n.pipesCount=0,n.flowing=!1;for(var i=0;i-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Cn.prototype._write=function(e,t,n){n(new Error("not implemented"))},Cn.prototype._writev=null,Cn.prototype.end=function(e,t,n){var o=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),o.corked&&(o.corked=1,this.uncork()),o.ending||o.finished||function(e,t,n){t.ending=!0,Un(e,t),n&&(t.finished?ft(n):e.once("finish",n)),t.ended=!0,e.writable=!1}(this,o,n)},Nt(Ln,cn);for(var Mn=U()(Cn.prototype),xn=0;xn=0;)e[t]=0}var no=0,oo=1,ao=2,io=29,so=256,ro=so+1+io,lo=30,co=19,uo=2*ro+1,po=15,mo=16,ho=7,vo=256,fo=16,go=17,bo=18,Oo=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],yo=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],jo=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ko=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Io=new Array(2*(ro+2));to(Io);var wo=new Array(2*lo);to(wo);var Eo=new Array(512);to(Eo);var Co=new Array(256);to(Co);var To=new Array(io);to(To);var So,_o,Do,No=new Array(lo);function Uo(e,t,n,o,a){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=o,this.max_length=a,this.has_stree=e&&e.length}function Bo(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function Mo(e){return e<256?Eo[e]:Eo[256+(e>>>7)]}function xo(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function Vo(e,t,n){e.bi_valid>mo-n?(e.bi_buf|=t<>mo-e.bi_valid,e.bi_valid+=n-mo):(e.bi_buf|=t<>>=1,n<<=1}while(--t>0);return n>>>1}function Po(e,t,n){var o,a,i=new Array(po+1),s=0;for(o=1;o<=po;o++)i[o]=s=s+n[o-1]<<1;for(a=0;a<=t;a++){var r=e[2*a+1];0!==r&&(e[2*a]=Ro(i[r]++,r))}}function Ao(e){var t;for(t=0;t8?xo(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function Ho(e,t,n,o){var a=2*t,i=2*n;return e[a]>1;n>=1;n--)zo(e,i,n);a=l;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],zo(e,i,1),o=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=o,i[2*a]=i[2*n]+i[2*o],e.depth[a]=(e.depth[n]>=e.depth[o]?e.depth[n]:e.depth[o])+1,i[2*n+1]=i[2*o+1]=a,e.heap[1]=a++,zo(e,i,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],function(e,t){var n,o,a,i,s,r,l=t.dyn_tree,c=t.max_code,d=t.stat_desc.static_tree,u=t.stat_desc.has_stree,p=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,h=t.stat_desc.max_length,v=0;for(i=0;i<=po;i++)e.bl_count[i]=0;for(l[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;nh&&(i=h,v++),l[2*o+1]=i,o>c||(e.bl_count[i]++,s=0,o>=m&&(s=p[o-m]),r=l[2*o],e.opt_len+=r*(i+s),u&&(e.static_len+=r*(d[2*o+1]+s)));if(0!==v){do{for(i=h-1;0===e.bl_count[i];)i--;e.bl_count[i]--,e.bl_count[i+1]+=2,e.bl_count[h]--,v-=2}while(v>0);for(i=h;0!==i;i--)for(o=e.bl_count[i];0!==o;)(a=e.heap[--n])>c||(l[2*a+1]!==i&&(e.opt_len+=(i-l[2*a+1])*l[2*a],l[2*a+1]=i),o--)}}(e,t),Po(i,c,e.bl_count)}function Yo(e,t,n){var o,a,i=-1,s=t[1],r=0,l=7,c=4;for(0===s&&(l=138,c=3),t[2*(n+1)+1]=65535,o=0;o<=n;o++)a=s,s=t[2*(o+1)+1],++r>=7;o=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}function Qo(e,t,n,o){var a,i,s=0;e.level>0?(e.strm.data_type===eo&&(e.strm.data_type=function(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return Qn;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return Xn;for(t=32;t=3&&0===e.bl_tree[2*ko[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),a=e.opt_len+3+7>>>3,(i=e.static_len+3+7>>>3)<=a&&(a=i)):a=i=n+5,n+4<=a&&-1!==t?Zo(e,t,n,o):e.strategy===Jn||i===a?(Vo(e,(oo<<1)+(o?1:0),3),Fo(e,Io,wo)):(Vo(e,(ao<<1)+(o?1:0),3),function(e,t,n,o){var a;for(Vo(e,t-257,5),Vo(e,n-1,5),Vo(e,o-4,4),a=0;a>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(Co[n]+so+1)]++,e.dyn_dtree[2*Mo(t)]++),e.last_lit===e.lit_bufsize-1}function ea(e,t,n,o){for(var a=65535&e|0,i=e>>>16&65535|0,s=0;0!==n;){n-=s=n>2e3?2e3:n;do{i=i+(a=a+t[o++]|0)|0}while(--s);a%=65521,i%=65521}return a|i<<16|0}var ta=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var o=0;o<8;o++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();function na(e,t,n,o){var a=ta,i=o+n;e^=-1;for(var s=o;s>>8^a[255&(e^t[s])];return-1^e}var oa,aa=0,ia=1,sa=3,ra=4,la=5,ca=0,da=1,ua=-2,pa=-3,ma=-5,ha=-1,va=1,fa=2,ga=3,ba=4,Oa=2,ya=8,ja=9,ka=286,Ia=30,wa=19,Ea=2*ka+1,Ca=15,Ta=3,Sa=258,_a=Sa+Ta+1,Da=32,Na=42,Ua=69,Ba=73,Ma=91,xa=103,Va=113,La=666,Ra=1,Pa=2,Aa=3,Ga=4,Ha=3;function za(e,t){return e.msg=$n[t],t}function Fa(e){return(e<<1)-(e>4?9:0)}function $a(e){for(var t=e.length;--t>=0;)e[t]=0}function Ya(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(Kn(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function Ka(e,t){Qo(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,Ya(e.strm)}function Wa(e,t){e.pending_buf[e.pending++]=t}function qa(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function Za(e,t){var n,o,a=e.max_chain_length,i=e.strstart,s=e.prev_length,r=e.nice_match,l=e.strstart>e.w_size-_a?e.strstart-(e.w_size-_a):0,c=e.window,d=e.w_mask,u=e.prev,p=e.strstart+Sa,m=c[i+s-1],h=c[i+s];e.prev_length>=e.good_match&&(a>>=2),r>e.lookahead&&(r=e.lookahead);do{if(c[(n=t)+s]===h&&c[n+s-1]===m&&c[n]===c[i]&&c[++n]===c[i+1]){i+=2,n++;do{}while(c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&c[++i]===c[++n]&&is){if(e.match_start=t,s=o,o>=r)break;m=c[i+s-1],h=c[i+s]}}}while((t=u[t&d])>l&&0!=--a);return s<=e.lookahead?s:e.lookahead}function Ja(e){var t,n,o,a,i,s,r,l,c,d,u=e.w_size;do{if(a=e.window_size-e.lookahead-e.strstart,e.strstart>=u+(u-_a)){Kn(e.window,e.window,u,u,0),e.match_start-=u,e.strstart-=u,e.block_start-=u,t=n=e.hash_size;do{o=e.head[--t],e.head[t]=o>=u?o-u:0}while(--n);t=n=u;do{o=e.prev[--t],e.prev[t]=o>=u?o-u:0}while(--n);a+=u}if(0===e.strm.avail_in)break;if(s=e.strm,r=e.window,l=e.strstart+e.lookahead,c=a,d=void 0,(d=s.avail_in)>c&&(d=c),n=0===d?0:(s.avail_in-=d,Kn(r,s.input,s.next_in,d,l),1===s.state.wrap?s.adler=ea(s.adler,r,d,l):2===s.state.wrap&&(s.adler=na(s.adler,r,d,l)),s.next_in+=d,s.total_in+=d,d),e.lookahead+=n,e.lookahead+e.insert>=Ta)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=(e.ins_h<=Ta&&(e.ins_h=(e.ins_h<=Ta)if(o=Xo(e,e.strstart-e.match_start,e.match_length-Ta),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ta){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<=Ta&&(e.ins_h=(e.ins_h<4096)&&(e.match_length=Ta-1)),e.prev_length>=Ta&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-Ta,o=Xo(e,e.strstart-1-e.prev_match,e.prev_length-Ta),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=a&&(e.ins_h=(e.ins_h<la||t<0)return e?za(e,ua):ua;if(o=e.state,!e.output||!e.input&&0!==e.avail_in||o.status===La&&t!==ra)return za(e,0===e.avail_out?ma:ua);if(o.strm=e,n=o.last_flush,o.last_flush=t,o.status===Na)if(2===o.wrap)e.adler=0,Wa(o,31),Wa(o,139),Wa(o,8),o.gzhead?(Wa(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),Wa(o,255&o.gzhead.time),Wa(o,o.gzhead.time>>8&255),Wa(o,o.gzhead.time>>16&255),Wa(o,o.gzhead.time>>24&255),Wa(o,9===o.level?2:o.strategy>=fa||o.level<2?4:0),Wa(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(Wa(o,255&o.gzhead.extra.length),Wa(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=na(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=Ua):(Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,0),Wa(o,9===o.level?2:o.strategy>=fa||o.level<2?4:0),Wa(o,Ha),o.status=Va);else{var s=ya+(o.w_bits-8<<4)<<8;s|=(o.strategy>=fa||o.level<2?0:o.level<6?1:6===o.level?2:3)<<6,0!==o.strstart&&(s|=Da),s+=31-s%31,o.status=Va,qa(o,s),0!==o.strstart&&(qa(o,e.adler>>>16),qa(o,65535&e.adler)),e.adler=1}if(o.status===Ua)if(o.gzhead.extra){for(a=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending!==o.pending_buf_size));)Wa(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=Ba)}else o.status=Ba;if(o.status===Ba)if(o.gzhead.name){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending===o.pending_buf_size)){i=1;break}i=o.gzindexa&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),0===i&&(o.gzindex=0,o.status=Ma)}else o.status=Ma;if(o.status===Ma)if(o.gzhead.comment){a=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>a&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),Ya(e),a=o.pending,o.pending===o.pending_buf_size)){i=1;break}i=o.gzindexa&&(e.adler=na(e.adler,o.pending_buf,o.pending-a,a)),0===i&&(o.status=xa)}else o.status=xa;if(o.status===xa&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&Ya(e),o.pending+2<=o.pending_buf_size&&(Wa(o,255&e.adler),Wa(o,e.adler>>8&255),e.adler=0,o.status=Va)):o.status=Va),0!==o.pending){if(Ya(e),0===e.avail_out)return o.last_flush=-1,ca}else if(0===e.avail_in&&Fa(t)<=Fa(n)&&t!==ra)return za(e,ma);if(o.status===La&&0!==e.avail_in)return za(e,ma);if(0!==e.avail_in||0!==o.lookahead||t!==aa&&o.status!==La){var r=o.strategy===fa?function(e,t){for(var n;;){if(0===e.lookahead&&(Ja(e),0===e.lookahead)){if(t===aa)return Ra;break}if(e.match_length=0,n=Xo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):e.last_lit&&(Ka(e,!1),0===e.strm.avail_out)?Ra:Pa}(o,t):o.strategy===ga?function(e,t){for(var n,o,a,i,s=e.window;;){if(e.lookahead<=Sa){if(Ja(e),e.lookahead<=Sa&&t===aa)return Ra;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=Ta&&e.strstart>0&&(o=s[a=e.strstart-1])===s[++a]&&o===s[++a]&&o===s[++a]){i=e.strstart+Sa;do{}while(o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&o===s[++a]&&ae.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ta?(n=Xo(e,1,e.match_length-Ta),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=Xo(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):e.last_lit&&(Ka(e,!1),0===e.strm.avail_out)?Ra:Pa}(o,t):oa[o.level].func(o,t);if(r!==Aa&&r!==Ga||(o.status=La),r===Ra||r===Aa)return 0===e.avail_out&&(o.last_flush=-1),ca;if(r===Pa&&(t===ia?Jo(o):t!==la&&(Zo(o,0,0,!1),t===sa&&($a(o.head),0===o.lookahead&&(o.strstart=0,o.block_start=0,o.insert=0))),Ya(e),0===e.avail_out))return o.last_flush=-1,ca}return t!==ra?ca:o.wrap<=0?da:(2===o.wrap?(Wa(o,255&e.adler),Wa(o,e.adler>>8&255),Wa(o,e.adler>>16&255),Wa(o,e.adler>>24&255),Wa(o,255&e.total_in),Wa(o,e.total_in>>8&255),Wa(o,e.total_in>>16&255),Wa(o,e.total_in>>24&255)):(qa(o,e.adler>>>16),qa(o,65535&e.adler)),Ya(e),o.wrap>0&&(o.wrap=-o.wrap),0!==o.pending?ca:da)}oa=[new ei(0,0,0,0,(function(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(Ja(e),0===e.lookahead&&t===aa)return Ra;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var o=e.block_start+n;if((0===e.strstart||e.strstart>=o)&&(e.lookahead=e.strstart-o,e.strstart=o,Ka(e,!1),0===e.strm.avail_out))return Ra;if(e.strstart-e.block_start>=e.w_size-_a&&(Ka(e,!1),0===e.strm.avail_out))return Ra}return e.insert=0,t===ra?(Ka(e,!0),0===e.strm.avail_out?Aa:Ga):(e.strstart>e.block_start&&(Ka(e,!1),e.strm.avail_out),Ra)})),new ei(4,4,8,4,Qa),new ei(4,5,16,8,Qa),new ei(4,6,32,32,Qa),new ei(4,4,16,16,Xa),new ei(8,16,32,32,Xa),new ei(8,16,128,128,Xa),new ei(8,32,128,256,Xa),new ei(32,128,258,1024,Xa),new ei(32,258,258,4096,Xa)];var ai=30,ii=12;function si(e,t){var n,o,a,i,s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C;n=e.state,o=e.next_in,E=e.input,a=o+(e.avail_in-5),i=e.next_out,C=e.output,s=i-(t-e.avail_out),r=i+(e.avail_out-257),l=n.dmax,c=n.wsize,d=n.whave,u=n.wnext,p=n.window,m=n.hold,h=n.bits,v=n.lencode,f=n.distcode,g=(1<>>=y=O>>>24,h-=y,0===(y=O>>>16&255))C[i++]=65535&O;else{if(!(16&y)){if(0==(64&y)){O=v[(65535&O)+(m&(1<>>=y,h-=y),h<15&&(m+=E[o++]<>>=y=O>>>24,h-=y,!(16&(y=O>>>16&255))){if(0==(64&y)){O=f[(65535&O)+(m&(1<l){e.msg="invalid distance too far back",n.mode=ai;break e}if(m>>>=y,h-=y,k>(y=i-s)){if((y=k-y)>d&&n.sane){e.msg="invalid distance too far back",n.mode=ai;break e}if(I=0,w=p,0===u){if(I+=c-y,y2;)C[i++]=w[I++],C[i++]=w[I++],C[i++]=w[I++],j-=3;j&&(C[i++]=w[I++],j>1&&(C[i++]=w[I++]))}else{I=i-k;do{C[i++]=C[I++],C[i++]=C[I++],C[i++]=C[I++],j-=3}while(j>2);j&&(C[i++]=C[I++],j>1&&(C[i++]=C[I++]))}break}}break}}while(o>3,m&=(1<<(h-=j<<3))-1,e.next_in=o,e.next_out=i,e.avail_in=o=1&&0===D[j];j--);if(k>j&&(k=j),0===j)return a[i++]=20971520,a[i++]=20971520,r.bits=1,0;for(y=1;y0&&(e===di||1!==j))return-1;for(N[1]=0,b=1;bli||e===pi&&C>ci)return 1;for(;;){h=b-w,s[O]m?(v=U[B+s[O]],f=S[_+s[O]]):(v=96,f=0),l=1<>w)+(c-=l)]=h<<24|v<<16|f|0}while(0!==c);for(l=1<>=1;if(0!==l?(T&=l-1,T+=l):T=0,O++,0==--D[b]){if(b===j)break;b=t[n+s[O]]}if(b>k&&(T&u)!==d){for(0===w&&(w=k),p+=y,E=1<<(I=b-w);I+wli||e===pi&&C>ci)return 1;a[d=T&u]=k<<24|I<<16|p-i|0}}return 0!==T&&(a[p+T]=b-w<<24|64<<16|0),r.bits=k,0}var bi=0,Oi=1,yi=2,ji=4,ki=5,Ii=6,wi=0,Ei=1,Ci=2,Ti=-2,Si=-3,_i=-4,Di=-5,Ni=8,Ui=1,Bi=2,Mi=3,xi=4,Vi=5,Li=6,Ri=7,Pi=8,Ai=9,Gi=10,Hi=11,zi=12,Fi=13,$i=14,Yi=15,Ki=16,Wi=17,qi=18,Zi=19,Ji=20,Qi=21,Xi=22,es=23,ts=24,ns=25,os=26,as=27,is=28,ss=29,rs=30,ls=31,cs=32,ds=852,us=592;function ps(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function ms(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new qn(320),this.work=new qn(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function hs(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,function(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=Ui,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Zn(ds),t.distcode=t.distdyn=new Zn(us),t.sane=1,t.back=-1,wi):Ti}(e)):Ti}function vs(e,t){var n,o;return e?(o=new ms,e.state=o,o.window=null,(n=function(e,t){var n,o;return e&&e.state?(o=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?Ti:(null!==o.window&&o.wbits!==t&&(o.window=null),o.wrap=n,o.wbits=t,hs(e))):Ti}(e,t))!==wi&&(e.state=null),n):Ti}var fs,gs,bs=!0;function Os(e){if(bs){var t;for(fs=new Zn(512),gs=new Zn(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(gi(Oi,e.lens,0,288,fs,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;gi(yi,e.lens,0,32,gs,0,e.work,{bits:5}),bs=!1}e.lencode=fs,e.lenbits=9,e.distcode=gs,e.distbits=5}function ys(e,t){var n,o,a,i,s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C=0,T=new Wn(4),S=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return Ti;(n=e.state).mode===zi&&(n.mode=Fi),s=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,o=e.input,r=e.avail_in,c=n.hold,d=n.bits,u=r,p=l,I=wi;e:for(;;)switch(n.mode){case Ui:if(0===n.wrap){n.mode=Fi;break}for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>>8&255,n.check=na(n.check,T,2,0),c=0,d=0,n.mode=Bi;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&c)<<8)+(c>>8))%31){e.msg="incorrect header check",n.mode=rs;break}if((15&c)!==Ni){e.msg="unknown compression method",n.mode=rs;break}if(d-=4,k=8+(15&(c>>>=4)),0===n.wbits)n.wbits=k;else if(k>n.wbits){e.msg="invalid window size",n.mode=rs;break}n.dmax=1<>8&1),512&Q()(n)&&(T[0]=255&c,T[1]=c>>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0,n.mode=Mi;case Mi:for(;d<32;){if(0===r)break e;r--,c+=o[i++]<>>8&255,T[2]=c>>>16&255,T[3]=c>>>24&255,n.check=na(n.check,T,4,0)),c=0,d=0,n.mode=xi;case xi:for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>8),512&Q()(n)&&(T[0]=255&c,T[1]=c>>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0,n.mode=Vi;case Vi:if(1024&Q()(n)){for(;d<16;){if(0===r)break e;r--,c+=o[i++]<>>8&255,n.check=na(n.check,T,2,0)),c=0,d=0}else n.head&&(n.head.extra=null);n.mode=Li;case Li:if(1024&Q()(n)&&((m=n.length)>r&&(m=r),m&&(n.head&&(k=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),Kn(n.head.extra,o,i,m,k)),512&Q()(n)&&(n.check=na(n.check,o,m,i)),r-=m,i+=m,n.length-=m),n.length))break e;n.length=0,n.mode=Ri;case Ri:if(2048&Q()(n)){if(0===r)break e;m=0;do{k=o[i+m++],n.head&&k&&n.length<65536&&(n.head.name+=String.fromCharCode(k))}while(k&&m>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=zi;break;case Gi:for(;d<32;){if(0===r)break e;r--,c+=o[i++]<>>=7&d,d-=7&d,n.mode=as;break}for(;d<3;){if(0===r)break e;r--,c+=o[i++]<>>=1)){case 0:n.mode=$i;break;case 1:if(Os(n),n.mode=Ji,t===Ii){c>>>=2,d-=2;break e}break;case 2:n.mode=Wi;break;case 3:e.msg="invalid block type",n.mode=rs}c>>>=2,d-=2;break;case $i:for(c>>>=7&d,d-=7&d;d<32;){if(0===r)break e;r--,c+=o[i++]<>>16^65535)){e.msg="invalid stored block lengths",n.mode=rs;break}if(n.length=65535&c,c=0,d=0,n.mode=Yi,t===Ii)break e;case Yi:n.mode=Ki;case Ki:if(m=n.length){if(m>r&&(m=r),m>l&&(m=l),0===m)break e;Kn(a,o,i,m,s),r-=m,i+=m,l-=m,s+=m,n.length-=m;break}n.mode=zi;break;case Wi:for(;d<14;){if(0===r)break e;r--,c+=o[i++]<>>=5,d-=5,n.ndist=1+(31&c),c>>>=5,d-=5,n.ncode=4+(15&c),c>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg="too many length or distance symbols",n.mode=rs;break}n.have=0,n.mode=qi;case qi:for(;n.have>>=3,d-=3}for(;n.have<19;)n.lens[S[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,w={bits:n.lenbits},I=gi(bi,n.lens,0,19,n.lencode,0,n.work,w),n.lenbits=w.bits,I){e.msg="invalid code lengths set",n.mode=rs;break}n.have=0,n.mode=Zi;case Zi:for(;n.have>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=f,d-=f,n.lens[n.have++]=b;else{if(16===b){for(E=f+2;d>>=f,d-=f,0===n.have){e.msg="invalid bit length repeat",n.mode=rs;break}k=n.lens[n.have-1],m=3+(3&c),c>>>=2,d-=2}else if(17===b){for(E=f+3;d>>=f)),c>>>=3,d-=3}else{for(E=f+7;d>>=f)),c>>>=7,d-=7}if(n.have+m>n.nlen+n.ndist){e.msg="invalid bit length repeat",n.mode=rs;break}for(;m--;)n.lens[n.have++]=k}}if(n.mode===rs)break;if(0===n.lens[256]){e.msg="invalid code -- missing end-of-block",n.mode=rs;break}if(n.lenbits=9,w={bits:n.lenbits},I=gi(Oi,n.lens,0,n.nlen,n.lencode,0,n.work,w),n.lenbits=w.bits,I){e.msg="invalid literal/lengths set",n.mode=rs;break}if(n.distbits=6,n.distcode=n.distdyn,w={bits:n.distbits},I=gi(yi,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,w),n.distbits=w.bits,I){e.msg="invalid distances set",n.mode=rs;break}if(n.mode=Ji,t===Ii)break e;case Ji:n.mode=Qi;case Qi:if(r>=6&&l>=258){e.next_out=s,e.avail_out=l,e.next_in=i,e.avail_in=r,n.hold=c,n.bits=d,si(e,p),s=e.next_out,a=e.output,l=e.avail_out,i=e.next_in,o=e.input,r=e.avail_in,c=n.hold,d=n.bits,n.mode===zi&&(n.back=-1);break}for(n.back=0;g=(C=n.lencode[c&(1<>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>O)])>>>16&255,b=65535&C,!(O+(f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=O,d-=O,n.back+=O}if(c>>>=f,d-=f,n.back+=f,n.length=b,0===g){n.mode=os;break}if(32&g){n.back=-1,n.mode=zi;break}if(64&g){e.msg="invalid literal/length code",n.mode=rs;break}n.extra=15&g,n.mode=Xi;case Xi:if(n.extra){for(E=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=es;case es:for(;g=(C=n.distcode[c&(1<>>16&255,b=65535&C,!((f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>O)])>>>16&255,b=65535&C,!(O+(f=C>>>24)<=d);){if(0===r)break e;r--,c+=o[i++]<>>=O,d-=O,n.back+=O}if(c>>>=f,d-=f,n.back+=f,64&g){e.msg="invalid distance code",n.mode=rs;break}n.offset=b,n.extra=15&g,n.mode=ts;case ts:if(n.extra){for(E=n.extra;d>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg="invalid distance too far back",n.mode=rs;break}n.mode=ns;case ns:if(0===l)break e;if(m=p-l,n.offset>m){if((m=n.offset-m)>n.whave&&n.sane){e.msg="invalid distance too far back",n.mode=rs;break}m>n.wnext?(m-=n.wnext,h=n.wsize-m):h=n.wnext-m,m>n.length&&(m=n.length),v=n.window}else v=a,h=s-n.offset,m=n.length;m>l&&(m=l),l-=m,n.length-=m;do{a[s++]=v[h++]}while(--m);0===n.length&&(n.mode=Qi);break;case os:if(0===l)break e;a[s++]=n.length,l--,n.mode=Qi;break;case as:if(n.wrap){for(;d<32;){if(0===r)break e;r--,c|=o[i++]<=i.wsize?(Kn(i.window,t,n-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):((a=i.wsize-i.wnext)>o&&(a=o),Kn(i.window,t,n-o,a,i.wnext),(o-=a)?(Kn(i.window,t,n-o,o,0),i.wnext=o,i.whave=i.wsize):(i.wnext+=a,i.wnext===i.wsize&&(i.wnext=0),i.whaveIs)throw new TypeError("Bad argument");this.mode=e,this.init_done=!1,this.write_in_progress=!1,this.pending_close=!1,this.windowBits=0,this.level=0,this.memLevel=0,this.strategy=0,this.dictionary=null}function Es(e,t){for(var n=0;n15&&(s=2,o-=16),a<1||a>ja||n!==ya||o<8||o>15||t<0||t>9||i<0||i>ba)return za(e,ua);8===o&&(o=9);var r=new ti;return e.state=r,r.strm=e,r.wrap=s,r.gzhead=null,r.w_bits=o,r.w_size=1<Ts.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+e.chunkSize);if(e.windowBits&&(e.windowBitsTs.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+e.windowBits);if(e.level&&(e.levelTs.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+e.level);if(e.memLevel&&(e.memLevelTs.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+e.memLevel);if(e.strategy&&e.strategy!=Ts.Z_FILTERED&&e.strategy!=Ts.Z_HUFFMAN_ONLY&&e.strategy!=Ts.Z_RLE&&e.strategy!=Ts.Z_FIXED&&e.strategy!=Ts.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+e.strategy);if(e.dictionary&&!et(e.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._binding=new Ts.Zlib(t);var n=this;this._hadError=!1,this._binding.onerror=function(e,t){n._binding=null,n._hadError=!0;var o=new Error(e);o.errno=t,o.code=Ts.codes[t],n.emit("error",o)};var o=Ts.Z_DEFAULT_COMPRESSION;"number"==typeof e.level&&(o=e.level);var a=Ts.Z_DEFAULT_STRATEGY;"number"==typeof e.strategy&&(a=e.strategy),this._binding.init(e.windowBits||Ts.Z_DEFAULT_WINDOWBITS,o,e.memLevel||Ts.Z_DEFAULT_MEMLEVEL,a,e.dictionary),this._buffer=new ge(this._chunkSize),this._offset=0,this._closed=!1,this._level=o,this._strategy=a,this.once("end",this.close)}R()(a=U()(Ss)).call(a,(function(e){Ss[Ss[e]]=e})),Nt(Rs,Gn),Rs.prototype.params=function(e,t,n){if(eTs.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+e);if(t!=Ts.Z_FILTERED&&t!=Ts.Z_HUFFMAN_ONLY&&t!=Ts.Z_RLE&&t!=Ts.Z_FIXED&&t!=Ts.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+t);if(this._level!==e||this._strategy!==t){var o=this;this.flush(Ts.Z_SYNC_FLUSH,(function(){o._binding.params(e,t),o._hadError||(o._level=e,o._strategy=t,n&&n())}))}else ft(n)},Rs.prototype.reset=function(){return this._binding.reset()},Rs.prototype._flush=function(e){this._transform(new ge(0),"",e)},Rs.prototype.flush=function(e,t){var n=this._writableState;if(("function"==typeof e||void 0===e&&!t)&&(t=e,e=Ts.Z_FULL_FLUSH),n.ended)t&&ft(t);else if(n.ending)t&&this.once("end",t);else if(n.needDrain){var o=this;this.once("drain",(function(){o.flush(t)}))}else this._flushFlag=e,this.write(new ge(0),"",t)},Rs.prototype.close=function(e){if(e&&ft(e),!this._closed){this._closed=!0,this._binding.close();var t=this;ft((function(){t.emit("close")}))}},Rs.prototype._transform=function(e,t,n){var o,a=this._writableState,i=(a.ending||a.ended)&&(!e||a.length===e.length);if(null===!e&&!et(e))return n(new Error("invalid input"));i?o=Ts.Z_FINISH:(o=this._flushFlag,e.length>=a.length&&(this._flushFlag=this._opts.flush||Ts.Z_NO_FLUSH)),this._processChunk(e,o,n)},Rs.prototype._processChunk=function(e,t,n){var o=e&&e.length,a=this._chunkSize-this._offset,i=0,s=this,r="function"==typeof n;if(!r){var c,d=[],u=0;this.on("error",(function(e){c=e}));do{var p=this._binding.writeSync(t,e,i,o,this._buffer,this._offset,a)}while(!this._hadError&&v(p[0],p[1]));if(this._hadError)throw c;var m=w()(ge).call(ge,d,u);return this.close(),m}var h=this._binding.write(t,e,i,o,this._buffer,this._offset,a);function v(c,p){if(!s._hadError){var m=a-p;if(function(e,t){if(!e)throw new Error(t)}(m>=0,"have should not go down"),m>0){var h,f=l()(h=s._buffer).call(h,s._offset,s._offset+m);s._offset+=m,r?s.push(f):(d.push(f),u+=f.length)}if((0===p||s._offset>=s._chunkSize)&&(a=s._chunkSize,s._offset=0,s._buffer=new ge(s._chunkSize)),0===p){if(i+=o-c,o=c,!r)return!0;var g=s._binding.write(t,e,i,o,s._buffer,s._offset,s._chunkSize);return g.callback=v,void(g.buffer=e)}if(!r)return!1;n()}}h.buffer=e,h.callback=v},Nt(Ns,Rs),Nt(Us,Rs),Nt(Bs,Rs),Nt(Ms,Rs),Nt(xs,Rs),Nt(Vs,Rs),Nt(Ls,Rs);var Ps={codes:Ss,createDeflate:function(e){return new Ns(e)},createInflate:function(e){return new Us(e)},createDeflateRaw:function(e){return new xs(e)},createInflateRaw:function(e){return new Vs(e)},createGzip:function(e){return new Bs(e)},createGunzip:function(e){return new Ms(e)},createUnzip:function(e){return new Ls(e)},deflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ns(t),e,n)},deflateSync:function(e,t){return Ds(new Ns(t),e)},gzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Bs(t),e,n)},gzipSync:function(e,t){return Ds(new Bs(t),e)},deflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new xs(t),e,n)},deflateRawSync:function(e,t){return Ds(new xs(t),e)},unzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ls(t),e,n)},unzipSync:function(e,t){return Ds(new Ls(t),e)},inflate:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Us(t),e,n)},inflateSync:function(e,t){return Ds(new Us(t),e)},gunzip:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Ms(t),e,n)},gunzipSync:function(e,t){return Ds(new Ms(t),e)},inflateRaw:function(e,t,n){return"function"==typeof t&&(n=t,t={}),_s(new Vs(t),e,n)},inflateRawSync:function(e,t){return Ds(new Vs(t),e)},Deflate:Ns,Inflate:Us,Gzip:Bs,Gunzip:Ms,DeflateRaw:xs,InflateRaw:Vs,Unzip:Ls,Zlib:Rs};t["a"]=class{constructor(e,t,n){this.SDKAPPID=e,this.EXPIRETIME=n,this.PRIVATEKEY=t}genTestUserSig(e){return this._isNumber(this.SDKAPPID)?this._isString(this.PRIVATEKEY)?this._isString(e)?this._isNumber(this.EXPIRETIME)?(console.log("sdkAppID="+this.SDKAPPID+" key="+this.PRIVATEKEY+" userID="+e+" expire="+this.EXPIRETIME),this.genSigWithUserbuf(e,this.EXPIRETIME,null)):(console.error("expireTime must be a number"),""):(console.error("userID must be a string"),""):(console.error("privateKey must be a string"),""):(console.error("sdkAppID must be a number"),"")}newBuffer(e,t){return ge.from?ge.from(e,t):new ge(e,t)}unescape(e){return e.replace(/_/g,"=").replace(/\-/g,"/").replace(/\*/g,"+")}escape(e){return e.replace(/\+/g,"*").replace(/\//g,"-").replace(/=/g,"_")}encode(e){return this.escape(this.newBuffer(e).toString("base64"))}decode(e){return this.newBuffer(this.unescape(e),"base64")}base64encode(e){return this.newBuffer(e).toString("base64")}base64decode(e){return this.newBuffer(e,"base64").toString()}_hmacsha256(e,t,n,o){let a="TLS.identifier:"+e+"\n";a+="TLS.sdkappid:"+this.SDKAPPID+"\n",a+="TLS.time:"+t+"\n",a+="TLS.expire:"+n+"\n",null!=o&&(a+="TLS.userbuf:"+o+"\n");let i=at.HmacSHA256(a,this.PRIVATEKEY);return at.enc.Base64.stringify(i)}_utc(){return Math.round(ne()()/1e3)}_isNumber(e){return null!==e&&("number"==typeof e&&!isNaN(e-0)||"object"==typeof e&&e.constructor===Number)}_isString(e){return"string"==typeof e}genSigWithUserbuf(e,t,n){let o=this._utc(),a={"TLS.ver":"2.0","TLS.identifier":e,"TLS.sdkappid":this.SDKAPPID,"TLS.time":o,"TLS.expire":t},i="";if(null!=n){let s=this.base64encode(n);a["TLS.userbuf"]=s,i=this._hmacsha256(e,o,t,s)}else i=this._hmacsha256(e,o,t,null);a["TLS.sig"]=i;let s=V()(a),r=Ps.deflateSync(this.newBuffer(s)).toString("base64"),l=this.escape(r);return console.log("ret="+l),l}validate(e){let t=this.decode(e),n=Ps.inflateSync(t);console.log("validate ret="+n)}}}).call(this,n("c8ba"))},e32f:function(e){e.exports=JSON.parse('{"发起会话":"Start chat","发起单聊":"New one-to-one chat","发起群聊":"New group chat","该用户不存在":"The user does not exist","创建群聊,请注册 TUIGroup 模块":"To create a group chat, please register the TUIGroup module","创建成功":"Creation successful","发起多人会话(群聊)":"New group chat","群头像":"Group profile photo","群名称":"Group name","群ID":"Group ID","群类型":"Group type","选填":"Optional","取消":"Cancel","创建":"Create","类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见":"Similar to a WeChat group. Users can join the group only via invitation by existing members. The invitation does not need to be agreed by the invitee or approved by the group owner. See the documentation for details.","类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见":"Similar to a QQ group. After a public group is created, the group owner can designate group admins. To join the group, a user needs to search the group ID and send a request, which needs to be approved by the group owner or an admin before the user can join the group. See the documentation for details. ","创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见":"After the group is created, a user can join and quit the group freely and can view the messages sent before joining the group. It is suitable for scenarios that integrate Tencent Real-Time Communication (TRTC), such as audio and video conferences and online education. See the documentation for details.","创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见":"After a group is created, a user can join and quit the group freely. The group can have an unlimited number of members, but it does not store message history. It can be combined with Live Video Broadcasting (LVB) to support on-screen comment scenarios. See the documentation for details. ","产品文档":"product documentation","设置群名称":"Group name","请输入群名称":"Enter the group name","设置群ID":"Group ID","请输入群ID":"Enter the group ID","选择群类型":"Group type"}')},e435:function(e,t,n){e.exports=n.p+"img/downaload-image.ac16e1ec.png"},e537:function(e,t,n){},e5cf:function(e,t,n){"use strict";n("5cd6")},e5da:function(e,t,n){},e68c:function(e){e.exports=JSON.parse('{"登录":"登录","登录当前账号":"登录当前账号","切换其他账号":"切换其他账号","我已阅读并同意":"我已阅读并同意","和":"和","隐私条例":"隐私条例","用户协议":"用户协议","免费体验":"免费体验","体验更多Demo":"体验更多Demo","访问官网":"访问官网","超10亿用户的信赖":"超10亿用户的信赖","一分钟":"一分钟","改2行代码,1分钟跑通demo":"改2行代码,1分钟跑通demo","每月服务客户数超过10000家":"每月服务客户数超过10000家","消息收发成功率":"消息收发成功率,服务可靠性高于99.99%","10亿":"10亿","每月活跃用户数超过10亿":"每月活跃用户数超过10亿","请输入手机号":"请输入手机号","请输入userID":"请输入userID","请输入正确的手机号":"请输入正确的手机号","请先勾选用户协议":"请先勾选用户协议","请输入验证码":"请输入验证码","获取验证码":"获取验证码","登录失败":"登录失败","验证码发送成功":"验证码发送成功","发送验证码失败":"验证码发送失败","Android":"Android","iOS":"iOS","小程序":"小程序","Windows":"Windows","Mac OS":"Mac OS","扫描二维码下载":"扫描二维码下载","微信扫码进入":"微信扫码进入","点击直接下载":"点击直接下载","更多客户端体验":"更多客户端体验","微信扫一扫,免费体验腾讯云 IM 小程序":"微信扫一扫,免费体验腾讯云 IM 小程序","或者截图至相册,切换微信扫一扫识别体验":"或者截图至相册,切换微信扫一扫识别体验"}')},e6ce:function(e,t,n){},ec3a:function(e,t,n){"use strict";n("7507")},ed40:function(e,t,n){"use strict";n("463a")},ee8f:function(e,t,n){"use strict";n("eedf")},eedf:function(e,t,n){},f017:function(e){e.exports=JSON.parse('{"取消":"Cancel","完成":"Done","已选中":"Selected","人":"","保存":"Save","请输入userID":"Enter a user ID","确定":"submit","全选":"All","已在群聊中":"exists"}')},f1ac:function(e,t,n){},f271:function(e,t,n){},f419:function(e,t,n){},f712:function(e){e.exports=JSON.parse('{"欢迎使用":"Welcome","建议体验功能":"Recommended Demo Features","用UI组件快速集成":"Quick Integration with UI Components","创建项目":"Create a project","下载TUIKit组件":"Download the TUIKit component","引入TUIKit组件":"Import the TUIKit component","获取SDKAppID":"Obtain the SDKAppID, key, and userID","调用TUIKit组件":"Call the TUIKit component","启动项目":"Launch the project","发送您的第一条消息":"Send your first mess","首购低至1折":"Up to 90% off for first purchase","IM首购9percent折":"Up to 91% off for first purchase","续费9折起":"Up to 10% off for re-purchase","复购75%起":"Up to 25% off for re-purchase","立即选购":"Purchase now","体验更多Demo":"More demos","立即前往":"Try now","已完成":"Completed","待体验":"To try out","发送一条消息":"Send a message","撤回一条消息":"Recall a message","切换一次使用语言":"Change the language","发起一个多人会话":"Create a group chat","发起一个群聊":"New a group chat","开启一次群禁言":"Mute group members","解散一个群聊":"Disband a group","解散一个多人会话":"Disband a group","发起一次通话":"Make a call","修改一次我的昵称":"Edit a nick","我们为您默认提供了一位“示例好友”和一个“示例客服群”您不用额外添加好友和群聊就可完整体验腾讯云 IM 单聊、群聊的所有功能。":"We provide a Sample Friend and a Sample Customer Service Group by default, so that you can fully try out all the features of one-to-one chat and group chat of Tencent Cloud IM without adding additional friends or groups.","随时随地":"You can log in and try out anytime and anywhere.","男":"Male","女":"Female","用户ID":"user ID","个性签名":"Status","暂未设置":"Not set","出生年月":"Birthday","编辑资料":"Edit profile","关于腾讯云IM":"About Tencent Cloud IM","退出登录":"Log out","隐私条例":"Privacy Policy","用户协议":"User Agreement","免责声明":"Disclaimers","联系我们":"Contact us","注销账户":"Cancel account","SDK版本":"SDK version","注销后,您将无法使用当前账号,相关数据也将删除无法找回。 当前账号":"Instant Messaging (IM) is a test product provided by Tencent Cloud, and Tencent Cloud enjoys its copyright and ownership. It is for trying out features, but not for commercial use. To follow regulatory requirements of the authority, audio and video-based interactions performed via IM will be recorded and archived throughout the whole process. It is strictly prohibited to disseminate via IM any pornographic, abusive, violent, political and other noncompliant content.","IM-免责声明":"Im - Disclaimer","IM(“本产品”)是由腾讯云提供的一款测试产品,腾讯云享有本产品的著作权和所有权。本产品仅用于功能体验,不得用于任何商业用途。依据相关部门监管要求,严禁在使用中有任何色情、辱骂、暴恐、涉政等违法内容传播。":"Instant Messaging (IM) is a demo product provided by Tencent Cloud, and Tencent Cloud retains its copyright and ownership. This product is for trying out features, but not for commercial use. To follow regulatory requirements of the authority, audio and video-based interactions performed via IM will be recorded and archived throughout the whole process. It is strictly prohibited to disseminate any pornographic, abusive, violent, sensitive and other noncompliant content.","同意":"Agree","取消":"Cancel","注销":"Cancel","关闭":"close","开启":"open","关于腾讯云·通信":"About Tencent Cloud IM","消息":"message","通讯录":"contact","个人中心":"Profile","已读回执":"Read receipt","消息阅读状态":"Message read status","关闭阅读状态":"If disabled, the message read status is hidden for all your messages and for all the messages sent by memebers in a chat.","开启阅读状态":"If enabled, the message read status is displayed for all your messages and for all the messages sent by memebers in a chat.","显示在线状态":"Display online status","开启在线状态":"If enabled, the users\' online status will displayed in your session and contact list.","关闭在线状态":"If disabled, the users\' online status will not displayed in your session and contact list.","消息通知":"Message Notification"}')},f7e2:function(e,t,n){},fcd0:function(e,t,n){"use strict";n.d(t,"b",(function(){return rf})),n.d(t,"a",(function(){return Wv}));var o=n("4573"),a=n.n(o),i=n("fa81"),s=n.n(i),r=n("14b1"),l=n.n(r),c=n("2fa7"),d=(n("14d9"),n("78b2")),u=n.n(d),p=n("e76e"),m=n.n(p),h=n("5b1a"),v=n.n(h),f=n("3818"),g=n.n(f),b=n("2b0b"),O=n.n(b),y=n("e4f0"),j=n.n(y),k=n("fc56"),I=n.n(k),w=n("4c43"),E=n.n(w),C=n("3393"),T=n.n(C),S=n("65b8"),_=n.n(S),D=n("c193");class N{destroyed(){}updateStore(e,t){}}var U=n("259d");class B extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIChat",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){m()(this.currentStore,e),e.conversation.conversationID?e.conversation.conversationID&&e.conversation.conversationID!==t.conversation.conversationID&&this.render(e.conversation):this.currentStore.messageList=[]}render(e){const t=15;if(this.currentStore.isFirstRender=!0,this.currentStore.messageList=[],this.currentStore.readSet.clear(),this.getMessageList({conversationID:e.conversationID,count:t}),e.type===this.TUICore.TIM.TYPES.CONV_GROUP){var n;this.currentStore.userInfo.isGroup=!0;const t={groupID:e.groupProfile.groupID,userIDList:[e.groupProfile.selfInfo.userID]};this.getGroupProfile({groupID:e.groupProfile.groupID}),this.getGroupMemberProfile(t).then(e=>{const{memberList:t}=e.data,[n]=t;this.currentStore.selfInfo=n}),null===this||void 0===this||null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIGroup)||void 0===n||n.getGroupMemberList({groupID:e.groupProfile.groupID,count:100,offset:0}).then(e=>{var t;this.currentStore.allMemberList=null===(t=e.data)||void 0===t?void 0:t.memberList})}else this.currentStore.userInfo.isGroup=!1,this.currentStore.userInfo.list=[null===e||void 0===e?void 0:e.userProfile]}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_RECEIVED,this.handleMessageReceived,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_MODIFIED,this.handleMessageModified,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_REVOKED,this.handleMessageRevoked,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_READ_BY_PEER,this.handleMessageReadByPeer,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.MESSAGE_READ_RECEIPT_RECEIVED,this.handleMessageReadReceiptReceived,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_RECEIVED,this.handleMessageReceived),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_MODIFIED,this.handleMessageModified),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_REVOKED,this.handleMessageRevoked),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_READ_BY_PEER,this.handleMessageReadByPeer),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.MESSAGE_READ_RECEIPT_RECEIVED,this.handleMessageReadReceiptReceived)}handleMessageReceived(e){var t;null===e||void 0===e||null===(t=e.data)||void 0===t||a()(t).call(t,e=>{var t;(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t?void 0:t.conversationID)&&(this.currentStore.messageList=[...this.currentStore.messageList,e]),D["c"].getInstance().notify(e)})}handleMessageModified(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageRevoked(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageReadByPeer(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleGroupListUpdated(e){var t;null===e||void 0===e||l()(t=e.data).call(t,e=>{var t;return(null===e||void 0===e?void 0:e.groupID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.groupID)&&(this.store.conversation.groupProfile=e,this.currentStore.conversation={},this.currentStore.conversation=this.store.conversation),e})}handleMessageReadReceiptReceived(e){const t=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=t}handleMessageOptions(e,t,n,o){var a,i,s,r;const l={to:"",conversationType:(null===o||void 0===o?void 0:o.type)||this.store.conversation.type,payload:e,needReadReceipt:this.currentStore.needReadReceipt};switch(this.currentStore.needTyping&&(l.cloudCustomData={messageFeature:{needTyping:1,version:1}},l.cloudCustomData=v()(l.cloudCustomData)),"file"===t&&n&&(l.onProgress=n),l.conversationType){case this.TUICore.TIM.TYPES.CONV_C2C:l.to=(null===o||void 0===o||null===(a=o.userProfile)||void 0===a?void 0:a.userID)||(null===(i=this.store.conversation)||void 0===i||null===(i=i.userProfile)||void 0===i?void 0:i.userID)||"";break;case this.TUICore.TIM.TYPES.CONV_GROUP:l.to=(null===o||void 0===o||null===(s=o.groupProfile)||void 0===s?void 0:s.groupID)||(null===(r=this.store.conversation)||void 0===r||null===(r=r.groupProfile)||void 0===r?void 0:r.groupID)||"";break;default:break}return l}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIChat",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}handlePromiseCallbackRetry(e,t=[],n=function(){return!1}){return new g.a((o,a)=>{let i=0;function s(){i++,e().then(o).catch(e=>{i>t.length||n&&n(e)?a(e):O()(s,t[i-1])})}s()})}handleUploadProgress(e,t){var n;l()(n=this.currentStore.messageList).call(n,n=>(n.ID===t.ID&&(n.progress=e),n))}sendFaceMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"face"),a=this.TUICore.tim.createFaceMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendImageMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createImageMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendVideoMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createVideoMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendFileMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions({file:e},"file",e=>{this.handleUploadProgress(e,a)}),a=this.TUICore.tim.createFileMessage(n);a.progress=.01,this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendCustomMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;e.data=v()(e.data);const n=this.handleMessageOptions(e,"custom"),a=this.TUICore.tim.createCustomMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendLocationMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=this.handleMessageOptions(e,"location"),o=this.TUICore.tim.createLocationMessage(n);this.currentStore.messageList.push(o);const a=await this.TUICore.tim.sendMessage(o);t(a)}catch(o){n(o);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}forwardMessage(e,t){return this.handlePromiseCallback(async(n,o)=>{try{const o=this.handleMessageOptions(e,"forward",{},t),a=this.TUICore.tim.createForwardMessage(o),i=await this.TUICore.tim.sendMessage(a);this.store.conversation.conversationID===i.data.message.conversationID&&this.currentStore.messageList.push(i.data.message),n(i)}catch(a){o(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}async sendMessageReadReceipt(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.sendMessageReadReceipt(e);t(n)}catch(o){n(o)}})}async getMessageReadReceiptList(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getMessageReadReceiptList(e);t(n)}catch(o){n(o)}})}async getMessageList(e,t){return this.handlePromiseCallback(async(n,o)=>{try{const o=await this.TUICore.tim.getMessageList(e);o.data.messageList.length&&await this.getMessageReadReceiptList(o.data.messageList),this.currentStore.messageList=t?[...o.data.messageList,...this.currentStore.messageList]:o.data.messageList,this.currentStore.nextReqMessageID=o.data.nextReqMessageID,this.currentStore.isCompleted=o.data.isCompleted,n(o)}catch(a){o(a)}})}async getHistoryMessageList(){const e={conversationID:this.currentStore.conversation.conversationID,nextReqMessageID:this.currentStore.nextReqMessageID,count:15};this.currentStore.isCompleted||this.getMessageList(e,!0)}sendTextMessage(e,t){return this.handlePromiseCallback(async(n,o)=>{try{var a;const o=this.handleMessageOptions({text:e},"text");let i={};if(o.cloudCustomData)try{i=Object(U["a"])(o.cloudCustomData)}catch{i={}}const s=v()(t),r=m()(o,{cloudCustomData:s,...i}),c=this.TUICore.tim.createTextMessage(r);this.currentStore.messageList.push(c);const d=await this.TUICore.tim.sendMessage(c);this.currentStore.messageList=l()(a=this.currentStore.messageList).call(a,e=>e.ID===d.data.message.ID?d.data.message:e),n(d)}catch(i){o(i);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendTypingMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{e.data=v()(e.data);const n=this.handleMessageOptions(e,"custom"),o=this.TUICore.tim.createCustomMessage(n),a=await this.TUICore.tim.sendMessage(o,{onlineUserOnly:!0});t(a)}catch(o){n(o);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendTextAtMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"text"),a=this.TUICore.tim.createTextAtMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}sendMergerMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=this.handleMessageOptions(e,"merger"),a=this.TUICore.tim.createMergerMessage(n);this.currentStore.messageList.push(a);const i=await this.TUICore.tim.sendMessage(a);this.currentStore.messageList=l()(o=this.currentStore.messageList).call(o,e=>e.ID===i.data.message.ID?i.data.message:e),t(i)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}revokeMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=await this.TUICore.tim.revokeMessage(e),a=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData);null!==a&&void 0!==a&&null!==(o=a.messageReply)&&void 0!==o&&o.messageRootID&&await this.revokeReplyMessage(e),t(n)}catch(a){n(a);const e=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=e}})}resendMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;const n=await this.TUICore.tim.resendMessage(e);this.currentStore.messageList=j()(o=this.currentStore.messageList).call(o,t=>t.ID!==e.ID),this.currentStore.messageList.push(n.data.message),t(n)}catch(a){n(a)}})}deleteMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteMessage(e);t(n);const o=this.currentStore.messageList;this.currentStore.messageList=[],this.currentStore.messageList=o}catch(o){n(o)}})}modifyMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.modifyMessage(e);t(n)}catch(o){const e=null===o||void 0===o?void 0:o.code,t=null===o||void 0===o?void 0:o.data;2480===e?console.warn("MODIFY_MESSAGE_ERROR","修改消息发生冲突,data.message 是最新的消息","data.message:",null===t||void 0===t?void 0:t.message):2481===e?console.warn("MODIFY_MESSAGE_ERROR","不支持修改直播群消息"):20026===e&&console.warn("MODIFY_MESSAGE_ERROR","消息不存在"),n(o)}})}replyMessage(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s,r;const o={messageAbstract:null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.text,messageSender:null===e||void 0===e?void 0:e.from,messageID:null===e||void 0===e?void 0:e.ID,messageType:null===e||void 0===e?void 0:e.type,messageTime:null===e||void 0===e?void 0:e.time,messageSequence:null===e||void 0===e?void 0:e.sequence,version:1};if(!t){var l,c;const n=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData),o=null===n||void 0===n||null===(l=n.messageReply)||void 0===l?void 0:l.messageRootID;t=await(null===this||void 0===this||null===(c=this.currentStore)||void 0===c||null===(c=c.messageList)||void 0===c?void 0:I()(c).call(c,e=>(null===e||void 0===e?void 0:e.ID)===o))||this.findMessage(o)}const u=null!==(i=t)&&void 0!==i&&i.cloudCustomData?Object(U["a"])(null===(s=t)||void 0===s?void 0:s.cloudCustomData):{messageReplies:{}};var d;if(null!==u&&void 0!==u&&null!==(r=u.messageReplies)&&void 0!==r&&r.replies)u.messageReplies.replies=[...null===u||void 0===u||null===(d=u.messageReplies)||void 0===d?void 0:d.replies,o];else u.messageReplies={replies:[o],version:1};t.cloudCustomData=v()(u);const p=this.modifyMessage(t);n(p)}catch(u){o(u)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}revokeReplyMessage(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s;if(!t){var r,l;const n=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData),o=null===n||void 0===n||null===(r=n.messageReply)||void 0===r?void 0:r.messageRootID;t=await(null===this||void 0===this||null===(l=this.currentStore)||void 0===l||null===(l=l.messageList)||void 0===l?void 0:I()(l).call(l,e=>(null===e||void 0===e?void 0:e.ID)===o))||this.findMessage(o)}const o=null!==(a=t)&&void 0!==a&&a.cloudCustomData?Object(U["a"])(null===(i=t)||void 0===i?void 0:i.cloudCustomData):{messageReplies:{}};if(null!==o&&void 0!==o&&null!==(s=o.messageReplies)&&void 0!==s&&s.replies){var c,d;const t=E()(c=o.messageReplies.replies).call(c,t=>(null===t||void 0===t?void 0:t.messageID)===(null===e||void 0===e?void 0:e.ID));null===o||void 0===o||null===(d=o.messageReplies)||void 0===d||null===(d=d.replies)||void 0===d||T()(d).call(d,t,1)}t.cloudCustomData=v()(o);const u=this.modifyMessage(t);n(u)}catch(u){o(u)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}emojiReact(e,t){const n=()=>this.handlePromiseCallback(async(n,o)=>{try{var a,i,s,r,l,c,d;e&&null!==(a=e)&&void 0!==a&&a.ID&&t||o();const b=null===(i=this.TUICore)||void 0===i||null===(i=i.TUIServer)||void 0===i||null===(i=i.TUIProfile)||void 0===i||null===(i=i.store)||void 0===i||null===(i=i.profile)||void 0===i?void 0:i.userID;e=await(null===this||void 0===this||null===(s=this.currentStore)||void 0===s||null===(s=s.messageList)||void 0===s?void 0:I()(s).call(s,t=>{var n;return(null===t||void 0===t?void 0:t.ID)===(null===(n=e)||void 0===n?void 0:n.ID)}))||this.findMessage(null===(r=e)||void 0===r?void 0:r.ID);const O=null!==(l=e)&&void 0!==l&&l.cloudCustomData?Object(U["a"])(null===(c=e)||void 0===c?void 0:c.cloudCustomData):{messageReact:{}};var u;if(null!==O&&void 0!==O&&null!==(d=O.messageReact)&&void 0!==d&&d.reacts)if(null!==O&&void 0!==O&&null!==(u=O.messageReact)&&void 0!==u&&u.reacts[t]){var p;const e=null===O||void 0===O||null===(p=O.messageReact)||void 0===p||null===(p=p.reacts[t])||void 0===p?void 0:_()(p).call(p,b);var m,h,f,g;if(-1===e)null===O||void 0===O||null===(m=O.messageReact)||void 0===m||null===(m=m.reacts[t])||void 0===m||m.push(b);else if(null===O||void 0===O||null===(h=O.messageReact)||void 0===h||null===(h=h.reacts[t])||void 0===h||T()(h).call(h,e,1),0===(null===O||void 0===O||null===(f=O.messageReact)||void 0===f||null===(f=f.reacts[t])||void 0===f?void 0:f.length))null===O||void 0===O||null===(g=O.messageReact)||void 0===g||delete g.reacts[t]}else O.messageReact.reacts[t]=[b];else O.messageReact={reacts:{},version:1},O.messageReact.reacts[t]=[b];e.cloudCustomData=v()(O);const y=this.modifyMessage(e);n(y)}catch(b){o(b)}}),o=function(e){return!e||2480!==(null===e||void 0===e?void 0:e.code)};return this.handlePromiseCallbackRetry(n,[500,1e3,3e3],o)}findMessage(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.findMessage(e);t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.currentStore.conversation.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}getGroupMemberProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberProfile(e);t(n)}catch(o){n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getFriendList();e(t)}catch(n){t(n)}})}async checkFriend(e,t){return this.handlePromiseCallback(async(n,o)=>{try{var a;const o=await this.TUICore.tim.checkFriend({userIDList:[e],type:t}),i=null===o||void 0===o||null===(a=o.data)||void 0===a||null===(a=a.successUserIDList[0])||void 0===a?void 0:a.relation;n(i)}catch(i){o(i)}})}async getGroupReadMemberList(e,t="",n=15){return this.handlePromiseCallback(async(o,a)=>{try{const a=await this.TUICore.tim.getGroupMessageReadMemberList({message:e,filter:0,cursor:t,count:n});o(a)}catch(i){a(i)}})}async getGroupUnreadMemberList(e,t="",n=15){return this.handlePromiseCallback(async(o,a)=>{try{const a=await this.TUICore.tim.getGroupMessageReadMemberList({message:e,filter:1,cursor:t,count:n});o(a)}catch(i){a(i)}})}async handleMessageSentByMeToView(e){var t;(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.store)||void 0===t||null===(t=t.conversation)||void 0===t?void 0:t.conversationID)&&this.currentStore.messageList.push(e)}bind(e){return this.currentStore=e}}var M=n("7a23");const x={class:"TUIChat-main",style:{"border-top":"1px solid #f2f2f2"}},V={key:0,style:{width:"100%",height:"100%",display:"flex","justify-content":"center","align-items":"center"}},L={style:{padding:"0 0 5px 5px","font-size":"14px","text-align":"left"}},R={style:{color:"#333333","font-weight":"bold"}},P={style:{"margin-left":"10px",color:"#333333"}},A={style:{display:"flex"}},G={style:{padding:"8px","background-color":"#f2f2f2","border-radius":"10px"}},H=["id"],z={class:"to-bottom-tip-cont"},F={key:1,class:"dialog dialog-conversation"},$=["src"],Y={class:"name"},K=["src"],W={key:0,class:"name"},q={class:"dialog dialog-conversation"},Z={class:"func",id:"func"},J={class:"func-main",style:{display:"flex",position:"relative"}},Q={key:0,style:{"z-index":"100",position:"absolute",width:"100%",height:"100%",left:"0",top:"0",opacity:"0"}},X={style:{display:"flex","align-items":"center"}},ee={class:"mask-main"},te={key:1,class:"TUIChat"},ne={class:"TUIChat-header"};function oe(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("TypingHeader"),d=Object(M["resolveComponent"])("MessageText"),u=Object(M["resolveComponent"])("MessageImage"),p=Object(M["resolveComponent"])("MessageVideo"),m=Object(M["resolveComponent"])("MessageAudio"),h=Object(M["resolveComponent"])("MessageFile"),v=Object(M["resolveComponent"])("MessageFace"),f=Object(M["resolveComponent"])("MessageLocation"),g=Object(M["resolveComponent"])("MessageCustom"),b=Object(M["resolveComponent"])("MessageMerger"),O=Object(M["resolveComponent"])("MessageTimestamp"),y=Object(M["resolveComponent"])("MessageItem"),j=Object(M["resolveComponent"])("ReadReceiptDialog"),k=Object(M["resolveComponent"])("imagePreviewer"),I=Object(M["resolveComponent"])("MessageInput"),w=Object(M["resolveComponent"])("MessageSystem");return"chat"===e.conversationType||"0"==e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["TUIChat",[e.env.isH5?"TUIChat-H5":""]])},["0"!=e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",{key:0,class:Object(M["normalizeClass"])(["TUIChat-header",[e.env.isH5?"h5-header":""]])},[Object(M["createElementVNode"])("div",null,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.back&&e.back(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createVNode"])(c,{upTabIndex:e.upTabIndex,needTyping:e.needTyping,conversation:e.conversation,messageList:e.messageList,isDisabled:e.getDisabled(e.conversation),ref:"typingRef"},null,8,["upTabIndex","needTyping","conversation","messageList","isDisabled"]),Object(M["createElementVNode"])("aside",{class:Object(M["normalizeClass"])(["setting",[e.env.isH5?"h5-setting":""]])},["expert"!==e.hrefParams.isSpecialized||!e.getDisabled(e.conversation)||null!==(s=e.conversation)&&void 0!==s&&s.isEnd?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,style:{color:"#147aff",cursor:"pointer","font-size":"15px","margin-right":"5px"},class:Object(M["normalizeClass"])([e.env.isH5?"h5-span":""]),onClick:t[1]||(t[1]=t=>e.endConsult(e.conversation))}," 结束咨询 ",2))],2)],2)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",x,[Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("ul",{class:"TUI-message-list",onClick:t[5]||(t[5]=t=>e.dialogID=""),ref:"messageEle",id:"messageEle"},[e.isCompleted||"0"==e.hrefParams.getMessageList?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:0,class:"message-more",onClick:t[3]||(t[3]=(...t)=>e.getHistoryMessageList&&e.getHistoryMessageList(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.查看更多")),1)),"0"==e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:1},[0===e.messagesNew.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",V,Object(M["toDisplayString"])(e.messagesIsNull),1)):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messagesNew,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n},[Object(M["createElementVNode"])("div",L,[Object(M["createElementVNode"])("span",R,Object(M["toDisplayString"])(t.fromAccountName),1),Object(M["createElementVNode"])("span",P,Object(M["toDisplayString"])(t.sendtime),1)]),Object(M["createElementVNode"])("div",A,[Object(M["createElementVNode"])("div",G,[t.contenttype===e.types.MSG_TEXT?(Object(M["openBlock"])(),Object(M["createBlock"])(d,{key:0,data:e.handleTextMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createBlock"])(u,{key:1,isH5:e.env.isH5,data:e.handleImageMessageShowContext(t),onUploading:e.handleUploadingImageOrVideo,onPreviewImage:e.previewImage},null,8,["isH5","data","onUploading","onPreviewImage"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createBlock"])(p,{key:2,isH5:e.env.isH5,data:e.handleVideoMessageShowContext(t),onUploading:e.uploading},null,8,["isH5","data","onUploading"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createBlock"])(m,{key:3,data:e.handleAudioMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_FILE?(Object(M["openBlock"])(),Object(M["createBlock"])(h,{key:4,data:e.handleFileMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_FACE?(Object(M["openBlock"])(),Object(M["createBlock"])(v,{key:5,data:e.handleFaceMessageShowContext(t),isH5:e.env.isH5},null,8,["data","isH5"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_LOCATION?(Object(M["openBlock"])(),Object(M["createBlock"])(f,{key:6,data:e.handleLocationMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(g,{key:7,data:e.handleCustomMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0),t.contenttype===e.types.MSG_MERGER?(Object(M["openBlock"])(),Object(M["createBlock"])(b,{key:8,data:e.handleMergerMessageShowContext(t)},null,8,["data"])):Object(M["createCommentVNode"])("",!0)])])]))),128))],64)):(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],{key:2},Object(M["renderList"])(e.messages,(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n,id:null===t||void 0===t?void 0:t.ID,ref_for:!0,ref:"messageAimID"},[Object(M["createVNode"])(O,{currTime:null===t||void 0===t?void 0:t.time,prevTime:n>0?null===(o=e.messages[n-1])||void 0===o?void 0:o.time:0},null,8,["currTime","prevTime"]),Object(M["createVNode"])(y,{message:e.getSrc(t),env:e.env,types:e.types,displayGroupMessageReadReceipt:e.needGroupReceipt,displayEmojiReactions:e.isNeedEmojiReact,messageList:e.messages,onHandleEditor:e.handleEditor,onShowDialog:e.showDialog,onUploading:e.handleUploadingImageOrVideo,onJumpID:e.jumpID,onResendMessage:e.resendMessage},null,8,["message","env","types","displayGroupMessageReadReceipt","displayEmojiReactions","messageList","onHandleEditor","onShowDialog","onUploading","onJumpID","onResendMessage"])],8,H)}),128)),e.needToBottom?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:3,class:"to-bottom-tip",onClick:t[4]||(t[4]=t=>e.scrollToTarget("bottom"))},[t[12]||(t[12]=Object(M["createElementVNode"])("i",{class:"icon icon-bottom-double"},null,-1)),Object(M["createElementVNode"])("div",z,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.toBottomTipCont),1)])])):Object(M["createCommentVNode"])("",!0)],512),e.forwardStatus&&e.messageComponents.Forward?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",F,[(Object(M["openBlock"])(),Object(M["createBlock"])(Object(M["resolveDynamicComponent"])("Forward"),{list:e.conversationData.list,message:e.currentMessage,show:e.forwardStatus,isH5:e.env.isH5,"onUpdate:show":t[6]||(t[6]=t=>e.forwardStatus=t)},{left:Object(M["withCtx"])(({data:t})=>[Object(M["createElementVNode"])("img",{class:"avatar",src:e.conversationData.handleAvatar(t),alt:""},null,8,$),Object(M["createElementVNode"])("label",Y,Object(M["toDisplayString"])(e.conversationData.handleName(t)),1)]),right:Object(M["withCtx"])(({data:t})=>[Object(M["createElementVNode"])("img",{class:"avatar",src:e.conversationData.handleAvatar(t),alt:""},null,8,K),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",W,Object(M["toDisplayString"])(e.conversationData.handleName(t)),1))]),_:1},40,["list","message","show","isH5"]))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",q,[Object(M["createVNode"])(j,{message:e.currentMessage,conversation:e.conversation,show:e.receiptDialogStatus,isH5:e.env.isH5,onCloseDialog:e.closeDialog,ref:"readReceiptDialog"},null,8,["message","conversation","show","isH5","onCloseDialog"])]),e.showImagePreview?(Object(M["openBlock"])(),Object(M["createBlock"])(k,{key:2,currentImage:e.currentImagePreview,imageList:"0"==e.hrefParams.getMessageList?e.imageListNew:e.imageList,onClose:t[7]||(t[7]=t=>e.showImagePreview=!1)},null,8,["currentImage","imageList"])):Object(M["createCommentVNode"])("",!0)]),("expert"!==e.hrefParams.isSpecialized&&e.getDisabled(e.conversation)||"expert"===e.hrefParams.isSpecialized&&e.getDisabled(e.conversation)&&(null===(r=e.conversation)||void 0===r||!r.isEnd))&&"0"!=e.hrefParams.getMessageList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:Object(M["normalizeClass"])(["TUIChat-footer",[e.isMute&&"disabled",e.env.isH5&&"TUIChat-H5-footer"]])},[Object(M["createElementVNode"])("div",Z,[Object(M["createElementVNode"])("main",J,[e.getDisabled(e.conversation)?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Q)),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.pluginComponentList,(t,n)=>(Object(M["openBlock"])(),Object(M["createBlock"])(Object(M["resolveDynamicComponent"])(t),{key:n,isMute:e.isMute,isH5:e.env.isH5,conversation:e.conversation,parentID:"func",onSend:e.handleSend},null,40,["isMute","isH5","conversation","onSend"]))),128)),Object(M["createElementVNode"])("div",X,["false"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,onClick:t[8]||(t[8]=t=>e.forHelpDetail(e.conversation)),style:{margin:"4px 0 0 10px",cursor:"pointer",color:"#0093fe","z-index":"100"}}," 应急详情 ")):Object(M["createCommentVNode"])("",!0)])])]),Object(M["createVNode"])(I,{ref:"messageInput",isDisabled:e.getDisabled(e.conversation),conversation:e.conversation,memberList:e.allMemberList,env:e.env,isGroup:null===(l=e.userInfo)||void 0===l?void 0:l.isGroup,replyOrReference:e.reference,isMute:!1,muteText:e.muteText,placeholder:e.$t("TUIChat.请输入消息"),onSendMessage:e.reportMessageSend,onResetReplyOrReference:e.resetReplyOrReference,onOnTyping:e.handleTyping},null,8,["isDisabled","conversation","memberList","env","isGroup","replyOrReference","muteText","placeholder","onSendMessage","onResetReplyOrReference","onOnTyping"])],2)):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"mask",onClick:t[11]||(t[11]=t=>e.showResend=!1)},[Object(M["createElementVNode"])("div",ee,[Object(M["createElementVNode"])("header",null,Object(M["toDisplayString"])(e.$t("TUIChat.确认重发该消息?")),1),Object(M["createElementVNode"])("footer",null,[Object(M["createElementVNode"])("p",{onClick:t[9]||(t[9]=t=>e.showResend=!1)},Object(M["toDisplayString"])(e.$t("TUIChat.取消")),1),t[13]||(t[13]=Object(M["createElementVNode"])("i",null,null,-1)),Object(M["createElementVNode"])("p",{onClick:t[10]||(t[10]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.确定")),1)])])],512),[[M["vShow"],e.showResend]])],2)):"system"===e.conversationType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",te,[Object(M["createElementVNode"])("header",ne,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.conversationName),1)]),Object(M["createVNode"])(w,{data:e.messages,types:e.types,onApplication:e.handleApplication},null,8,["data","types","onApplication"])])):e.slotDefault?Object(M["renderSlot"])(e.$slots,"default",{key:2},void 0,!0):Object(M["createCommentVNode"])("",!0)}var ae=n("045d"),ie=n.n(ae),se=n("9a73"),re=n.n(se);const le={key:0,class:"text-box"},ce=["src"];function de(e,t,n,o,a,i){return Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.data.text,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:t},["text"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",le,Object(M["toDisplayString"])(e.text),1)):"img"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"text-img",src:e.src},null,8,ce)):Object(M["createCommentVNode"])("",!0)],64))),128)}var ue=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}}),pe=(n("05da"),n("6b0d")),me=n.n(pe);const he=me()(ue,[["render",de],["__scopeId","data-v-06e49808"]]);var ve=he,fe=n("622e"),ge=n.n(fe),be=n("e435"),Oe=n.n(be);const ye=["src","width","height"],je={key:0,class:"progress"},ke=["value"],Ie={key:0},we=["src"],Ee={key:0,class:"dialog-box-h5-footer"};function Ce(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"message-image",onClick:t[6]||(t[6]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"])),ref:"skeleton"},[Object(M["createElementVNode"])("img",{class:"message-img",src:-1===_()(s=e.data.url).call(s,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,width:e.data.width,height:e.data.height,style:Object(M["normalizeStyle"])(e.isH5?{maxWidth:e.data.width?e.data.width+"px":"calc(100vw - 180px)",maxHeight:e.data.height?e.data.height+"px":"calc(100vw - 180px)"}:{}),alt:""},null,12,ye),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",je,[Object(M["createElementVNode"])("progress",{value:e.data.progress,max:"1"},null,8,ke)])):Object(M["createCommentVNode"])("",!0),e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"dialog",onClick:t[5]||(t[5]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Ie,[Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))})])),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog-box",[e.isH5?"dialog-box-h5":""]]),onClick:t[4]||(t[4]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("img",{class:Object(M["normalizeClass"])([e.isWidth?"isWidth":"isHeight"]),src:e.data.message.payload.imageInfoArray[0].url,onClick:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},null,10,we),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ee,[Object(M["createElementVNode"])("p",{onClick:t[2]||(t[2]=(...t)=>e.toggleShow&&e.toggleShow(...t))},t[7]||(t[7]=[Object(M["createElementVNode"])("img",{src:ge.a},null,-1)])),Object(M["createElementVNode"])("p",{onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.downloadImage(e.data.message),["stop"]))},t[8]||(t[8]=[Object(M["createElementVNode"])("img",{src:Oe.a},null,-1)]))])):Object(M["createCommentVNode"])("",!0)],2)])):Object(M["createCommentVNode"])("",!0)],512)}var Te=n("05f2"),Se=n.n(Te),_e=n("48d5"),De=Object(M["defineComponent"])({methods:{},props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},emits:["uploading","previewImage"],setup(e,t){const n=Object(M["reactive"])({data:{progress:0},show:!1}),o=Object(M["ref"])(),a=Object(M["computed"])(()=>{var e;const{width:t=0,height:o=0}=null===(e=n.data)||void 0===e||null===(e=e.message)||void 0===e||null===(e=e.payload)||void 0===e?void 0:e.imageInfoArray[0];return t>=o});Object(M["watchEffect"])(()=>{n.data=e.data,n.data&&Object(M["nextTick"])(()=>{if(n.data.progress)t.emit("uploading");else{var a,i,s;const{width:t=0,height:r=0}=n.data;if(0===t||0===r)return;const l=(null===(a=document.getElementById("app"))||void 0===a?void 0:a.clientWidth)||0,c=e.isH5?Math.min(l-180,300):300,d=Object(U["q"])(t,r,c,c);(null===o||void 0===o||null===(i=o.value)||void 0===i?void 0:i.style)&&(o.value.style.width=d.width+"px"),(null===o||void 0===o||null===(s=o.value)||void 0===s?void 0:s.style)&&(o.value.style.height=d.height+"px")}})});const i=()=>{n.data.progress||t.emit("previewImage",n.data.message)},s=e=>{const t=document.createElement("a"),n=e.payload.imageInfoArray[0].instanceID;t.setAttribute("download",n);const o=new Image;o.src=e.payload.imageInfoArray[0].url,o.setAttribute("crossOrigin","Anonymous"),o.onload=()=>{t.href=r(o),t.click()}},r=e=>{var t;const n=document.createElement("canvas");n.width=e.width,n.height=e.height;const o=n.getContext("2d");null===o||void 0===o||o.drawImage(e,0,0,e.width,e.height);const a=e.src.substring(Se()(t=e.src).call(t,".")+1).toLowerCase();return n.toDataURL("image/"+a,1)};return{...Object(M["toRefs"])(n),toggleShow:i,skeleton:o,isWidth:a,downloadImage:s,hrefParams:_e["a"]}}});n("aa66");const Ne=me()(De,[["render",Ce],["__scopeId","data-v-24e80348"]]);var Ue=Ne;const Be={class:"message-video"},Me=["src"],xe=["src","poster"],Ve=["src","poster"],Le={key:3,class:"progress"},Re=["value"],Pe=["src"];function Ae(e,t,n,o,a,i){var s,r,l;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Be,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["message-video-box",[!e.data.progress&&"success"===e.data.message.status&&e.isH5&&"message-video-cover"]]),onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t)),ref:"skeleton"},[e.data.progress&&e.poster||e.isH5&&e.poster?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:Object(M["normalizeClass"])(["message-img",[e.isWidth?"isWidth":"isHeight"]]),src:e.poster},null,10,Me)):e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("video",{key:1,class:"message-img video-h5-uploading",src:-1===_()(s=e.data.url).call(s,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url+"#t=0.1",poster:-1===_()(r=e.data.url).call(r,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,preload:"auto",muted:"",ref:"video"},null,8,xe)):e.data.progress||e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("video",{key:2,class:"message-img video-web",src:-1===_()(l=e.data.url).call(l,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url,controls:"",preload:"metadata",poster:e.poster,ref:"video"},null,8,Ve)),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Le,[Object(M["createElementVNode"])("progress",{value:e.data.progress,max:"1"},null,8,Re)])):Object(M["createCommentVNode"])("",!0)],2),e.show&&e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"dialog-video",onClick:t[3]||(t[3]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))})]),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog-video-box",[e.isH5?"dialog-video-h5":""]]),onClick:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["self"]))},[Object(M["createElementVNode"])("video",{class:Object(M["normalizeClass"])([e.isWidth?"isWidth":"isHeight"]),src:e.data.url,controls:"",autoplay:""},null,10,Pe)],2)])):Object(M["createCommentVNode"])("",!0)])}var Ge=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({data:{},show:!1,poster:"",posterWidth:0,posterHeight:0}),o=Object(M["ref"])(),a=Object(M["ref"])(),i=Object(M["computed"])(()=>{var e;const{snapshotWidth:t=0,snapshotHeight:o=0}=null===(e=n.data)||void 0===e||null===(e=e.message)||void 0===e?void 0:e.payload;return t>=o}),s="https://web.sdk.qcloud.com/im/assets/images/transparent.png",r=()=>{n.data.progress||(n.show=!n.show)},l=e=>new g.a((function(t,o){let a="",i=document.createElement("video");i.setAttribute("crossOrigin","anonymous"),i.setAttribute("src",e),i.setAttribute("preload","auto"),i.addEventListener("loadeddata",(function(){let e=document.createElement("canvas"),o=i.videoWidth,s=i.videoHeight;e.width=o,e.height=s,e.getContext("2d").drawImage(i,0,0,o,s),a=e.toDataURL("image/jpeg"),n.posterWidth=o,n.posterHeight=s,t(a)}),{once:!0})})),c=async e=>{return e?e.progress?await l(e.url):e.snapshotUrl!==s&&e.snapshotUrl||(null===e||void 0===e||null===(t=e.message)||void 0===t||null===(t=t.payload)||void 0===t?void 0:t.snapshotUrl)!==s&&(null===e||void 0===e||null===(n=e.message)||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.snapshotUrl)||(null===e||void 0===e||null===(o=e.message)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.thumbUrl)!==s&&(null===e||void 0===e||null===(a=e.message)||void 0===a||null===(a=a.payload)||void 0===a?void 0:a.thumbUrl)||await l(e.url):"";var t,n,o,a};return Object(M["watchEffect"])(async()=>{n.data=e.data,n.data&&(n.poster=await c(n.data),Object(M["nextTick"])(async()=>{var i;const r=(null===(i=document.getElementById("messageEle"))||void 0===i?void 0:i.clientWidth)||0,l=e.isH5?Math.min(r-172,300):300;let c;if(n.data.progress)t.emit("uploading");else{var d,u;let{snapshotWidth:t=0,snapshotHeight:i=0,snapshotUrl:r}=n.data;if(0===t||0===i)return;var p,m;if(r===s&&(t=n.posterWidth,i=n.posterHeight),c=Object(U["q"])(t,i,l,l),(null===o||void 0===o||null===(d=o.value)||void 0===d?void 0:d.style)&&(o.value.style.width=c.width+"px"),(null===o||void 0===o||null===(u=o.value)||void 0===u?void 0:u.style)&&(o.value.style.height=c.height+"px"),!e.isH5)(null===a||void 0===a||null===(p=a.value)||void 0===p?void 0:p.style)&&(a.value.style.width=c.width+"px"),(null===a||void 0===a||null===(m=a.value)||void 0===m?void 0:m.style)&&(a.value.style.height=c.height+"px")}}))}),Object(M["watch"])(()=>{var e;return null===(e=n.data)||void 0===e?void 0:e.progress},(e,n)=>{!e&&n&&t.emit("uploading")}),{...Object(M["toRefs"])(n),toggleShow:r,isWidth:i,getVideoBase64:l,handlePosterUrl:c,skeleton:o,video:a,hrefParams:_e["a"]}}});n("2929");const He=me()(Ge,[["render",Ae],["__scopeId","data-v-71441a3b"]]);var ze=He;const Fe=["src"];function $e(e,t,n,o,a,i){var s,r;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-audio",["out"===e.data.message.flow&&"reserve"]]),onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.play&&e.play(...t),["stop"])),style:Object(M["normalizeStyle"])(`width: ${10*(null===(s=e.data)||void 0===s?void 0:s.second)+40}px`)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-voice",["out"===e.data.message.flow&&"icon-reserve"]])},null,2),Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.data.second)+"s",1),Object(M["createElementVNode"])("audio",{ref:"audio",src:-1===_()(r=e.data.url).call(r,"http")?`${e.hrefParams.urlF.replace("lol","://")}/file/show/${e.data.url}`:e.data.url},null,8,Fe)],6)}var Ye=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{},show:!1}),o=Object(M["ref"])(null);Object(M["watch"])(()=>e.data,()=>{n.data=e.data},{deep:!0,immediate:!0});const a=()=>{const e=document.getElementsByTagName("audio");for(const n of e)n.paused||(n.pause(),n.load());const t=o.value;t.paused?(t.play(),n.show=!0):(t.pause(),t.load(),n.show=!1)};return{...Object(M["toRefs"])(n),audio:o,play:a,hrefParams:_e["a"]}}});n("736b");const Ke=me()(Ye,[["render",$e],["__scopeId","data-v-3b58416c"]]);var We=Ke;const qe={class:"message-file"},Ze=["title"],Je={class:"message-file-content"},Qe=["value"];function Xe(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",qe,[Object(M["createElementVNode"])("div",{class:"box",onClick:t[0]||(t[0]=(...t)=>e.download&&e.download(...t)),title:e.$t("TUIChat.单击下载")},[t[1]||(t[1]=Object(M["createElementVNode"])("i",{class:"icon icon-files"},null,-1)),Object(M["createElementVNode"])("div",Je,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.data.name),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.data.size),1)])],8,Ze),e.data.progress?(Object(M["openBlock"])(),Object(M["createElementBlock"])("progress",{key:0,value:e.data.progress,max:"1"},null,8,Qe)):Object(M["createCommentVNode"])("",!0)])}var et=n("47c7"),tt=n.n(et),nt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});Object(M["watchEffect"])(()=>{n.data=e.data});const o=()=>{const e=n.data,t={mode:"cors",headers:new Headers({"Content-Type":"application/x-www-form-urlencoded"})};if(window.fetch)fetch(e.url,t).then(e=>e.blob()).then(t=>{const n=document.createElement("a"),o=tt.a.createObjectURL(t);n.href=o,n.download=e.name,n.click()});else{const t=document.createElement("a");t.href=e.url,t.target="_blank",t.download=e.name,t.click()}};return{...Object(M["toRefs"])(n),download:o}}});n("7c02");const ot=me()(nt,[["render",Xe],["__scopeId","data-v-3f9a76df"]]);var at=ot;const it={class:"message-image",ref:"skeleton"},st=["src"];function rt(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",it,[Object(M["createElementVNode"])("img",{class:"message-img",src:e.data.url,style:Object(M["normalizeStyle"])(e.isH5?{maxWidth:e.data.width?e.data.width+"px":"calc(100vw - 180px)",maxHeight:e.data.height?e.data.height+"px":"calc(100vw - 180px)"}:{})},null,12,st)],512)}var lt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({data:{}}),o=Object(M["ref"])();return Object(M["watchEffect"])(()=>{n.data=e.data,n.data&&Object(M["nextTick"])(()=>{var t,n,a;const i=(null===(t=document.getElementById("messageEle"))||void 0===t?void 0:t.clientWidth)||0,s=e.isH5?Math.min(i-172,300):300,r=Object(U["q"])(240,240,s,s);(null===o||void 0===o||null===(n=o.value)||void 0===n?void 0:n.style)&&(o.value.style.width=r.width+"px"),(null===o||void 0===o||null===(a=o.value)||void 0===a?void 0:a.style)&&(o.value.style.height=r.height+"px")})}),{...Object(M["toRefs"])(n),skeleton:o}}});n("e5cf");const ct=me()(lt,[["render",rt],["__scopeId","data-v-ec7124a2"]]);var dt=ct;const ut=["href"],pt={class:"el-icon-location-outline"},mt=["src"];function ht(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{class:"message-location",href:e.data.href,target:"_blank",title:"点击查看详情"},[Object(M["createElementVNode"])("span",pt,Object(M["toDisplayString"])(e.data.description),1),Object(M["createElementVNode"])("img",{src:e.data.url},null,8,mt)],8,ut)}var vt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}});n("e157");const ft=me()(vt,[["render",ht],["__scopeId","data-v-2ee98c02"]]);var gt=ft;const bt={class:"message-merger"},Ot=["data-value"],yt={class:"merger-title"};function jt(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",bt,[Object(M["createElementVNode"])("div",{class:"merger-box","data-value":e.data.message},[Object(M["createElementVNode"])("p",yt,Object(M["toDisplayString"])(e.data.title),1),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.data.abstractList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{class:"merger-text",key:t},Object(M["toDisplayString"])(e),1))),128))],8,Ot),t[0]||(t[0]=Object(M["createElementVNode"])("span",{class:"merger-label"}," 聊天记录",-1))])}var kt=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({data:{}});return Object(M["watchEffect"])(()=>{n.data=e.data}),{...Object(M["toRefs"])(n)}}});n("1182");const It=me()(kt,[["render",jt],["__scopeId","data-v-a9c3fbce"]]);var wt=It,Et=n("34bb"),Ct=n.n(Et);const Tt={class:"custom"},St={key:0},_t=["href"],Dt={key:0},Nt=["href"],Ut={key:1},Bt={key:1,class:"evaluate"},Mt=["src"],xt={key:3,class:"textLink"},Vt=["href"],Lt={key:5,style:{display:"flex"}},Rt={style:{height:"25px","line-height":"25px"}},Pt={style:{color:"#7d7d7dff","font-size":"12px","margin-bottom":"5px"}},At={style:{display:"flex","flex-wrap":"wrap"}},Gt=["src"],Ht={key:6,class:"business-type",style:{cursor:"pointer"}},zt={style:{"padding-left":"10px",height:"25px","line-height":"25px"}},Ft={style:{"padding-left":"10px",height:"25px",color:"#7d7d7dff","font-size":"12px"}},$t={key:7,class:"business-type",style:{cursor:"pointer"}},Yt={style:{"padding-left":"10px",height:"25px","line-height":"25px"}},Kt=["src"],Wt={style:{"padding-left":"10px",height:"25px",color:"#7d7d7dff","font-size":"12px"}},qt={key:8,style:{cursor:"pointer","min-width":"180px"}},Zt={class:"business-type"},Jt={style:{"padding-left":"10px",height:"30px","line-height":"35px"}},Qt={style:{color:"#7d7d7dff","font-size":"14px"}},Xt={style:{"padding-left":"10px",height:"30px",color:"#7d7d7dff","font-size":"12px"}},en=["innerHTML"];function tn(e,t,n,o,a,i){var r,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I,w,E,C,T,S,D,N,U,B,x;const V=Object(M["resolveComponent"])("el-image"),L=Object(M["resolveComponent"])("el-input"),R=Object(M["resolveComponent"])("el-form-item"),P=Object(M["resolveComponent"])("el-form"),A=Object(M["resolveComponent"])("el-dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Tt,[e.isCustom===e.constant.typeService?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",St,[Object(M["createElementVNode"])("h1",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.extension.title),1),e.extension.hyperlinks_text?(Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{key:0,href:e.extension.hyperlinks_text.value,target:"view_window"},Object(M["toDisplayString"])(e.extension.hyperlinks_text.key),9,_t)):Object(M["createCommentVNode"])("",!0)]),e.extension.item&&e.extension.item.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Dt,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.extension.item,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n},[e.isUrl(t.value)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("a",{key:0,href:t.value,target:"view_window"},Object(M["toDisplayString"])(t.key),9,Nt)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",Ut,Object(M["toDisplayString"])(t.key),1))]))),128))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.extension.description),1)])):e.isCustom.businessID===e.constant.typeEvaluate?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Bt,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("message.custom.对本次服务评价")),1),Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(~~e.isCustom.score,(e,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"evaluate-list-item",key:n},t[10]||(t[10]=[Object(M["createElementVNode"])("i",{class:"icon icon-star-light"},null,-1)])))),128))]),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.isCustom.comment),1)])):e.isCustom.businessID===e.constant.typeOrder?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:2,class:"order",onClick:t[0]||(t[0]=t=>e.openLink(e.isCustom.link))},[Object(M["createElementVNode"])("img",{src:e.isCustom.imageUrl,alt:""},null,8,Mt),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.isCustom.title),1),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.isCustom.description),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.isCustom.price),1)])])):e.isCustom.businessID===e.constant.typeTextLink?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",xt,[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.isCustom.text),1),Object(M["createElementVNode"])("a",{href:e.isCustom.link,target:"view_window"},Object(M["toDisplayString"])(e.$t("message.custom.查看详情>>")),9,Vt)])):e.isCustom.businessID===e.constant.TYPE_CALL_MESSAGE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:4,class:Object(M["normalizeClass"])(["call","call-"+(null===(r=e.data)||void 0===r||null===(r=r.message)||void 0===r?void 0:r.conversationType)]),onClick:t[1]||(t[1]=(...t)=>e.handleCallAgain&&e.handleCallAgain(...t))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",e.handleCallMessageIcon()])},null,2),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.data.custom.substring(0,_()(c=e.data.custom).call(c,'"'))+e.data.custom.substring(Se()(d=e.data.custom).call(d,'"')+1,e.data.custom.length)),1)],2)):e.isCustom.businessID===e.constant.typeArchives?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Lt,[Object(M["createElementVNode"])("div",{class:"img-list",style:{cursor:"pointer"},onClick:t[2]||(t[2]=(...t)=>e.showDialog&&e.showDialog(...t))},[Object(M["createElementVNode"])("div",Rt,Object(M["toDisplayString"])((null===(u=e.isCustom)||void 0===u?void 0:u.name)+" "+(null===(p=e.isCustom)||void 0===p?void 0:p.gender)+" 丨 "+(null===(m=e.isCustom)||void 0===m?void 0:m.age)),1),Object(M["createElementVNode"])("div",Pt,Object(M["toDisplayString"])("病症描述:"+(null===(h=e.isCustom)||void 0===h?void 0:h.symptomDescription)),1),Object(M["createElementVNode"])("div",At,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(v=e.isCustom)||void 0===v?void 0:v.imageList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{padding:"0 5px 5px"},key:"imageList"+t},[Object(M["createElementVNode"])("img",{src:e.bigImageUrl,alt:""},null,8,Gt)]))),128))])])])):e.isCustom.businessID===e.constant.typeMedicalExaminationReport?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ht,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",zt,Object(M["toDisplayString"])((null===(f=e.isCustom)||void 0===f?void 0:f.name)+"-"+((null===(g=e.isCustom)||void 0===g?void 0:g.gender)||(null===(b=e.isCustom)||void 0===b?void 0:b.sex))+"-"+(null===(O=e.isCustom)||void 0===O?void 0:O.age)),1),Object(M["createElementVNode"])("div",Ft,Object(M["toDisplayString"])((null===(y=e.isCustom)||void 0===y?void 0:y.hospital)+"-"+(null===(j=e.isCustom)||void 0===j?void 0:j.createTime)),1)])])):e.isCustom.businessID===e.constant.typeSystem?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",$t,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",Yt,Object(M["toDisplayString"])(null===(k=e.isCustom)||void 0===k?void 0:k.title),1),null!==(I=e.isCustom)&&void 0!==I&&I.messageImageUrl?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,src:null===(w=e.isCustom)||void 0===w?void 0:w.messageImageUrl,alt:"",style:{margin:"5px 10px"}},null,8,Kt)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",Wt,Object(M["toDisplayString"])(null===(E=e.isCustom)||void 0===E?void 0:E.content),1)])])):e.isCustom.businessID===e.constant.typeBusinessCard?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",qt,[Object(M["createElementVNode"])("div",Zt,[Object(M["createElementVNode"])("div",null,[Object(M["createVNode"])(V,{style:{width:"60px",height:"60px","border-radius":"10px"},src:null===(C=e.isCustom)||void 0===C?void 0:C.doctorHeadImg},{error:Object(M["withCtx"])(()=>t[11]||(t[11]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{style:{width:"60px",height:"60px","border-radius":"10px"},src:Ct.a,alt:""})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",Jt,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(""+(null===(T=e.isCustom)||void 0===T?void 0:T.doctorName))+" ( ",1),Object(M["createElementVNode"])("span",Qt,Object(M["toDisplayString"])(""+(null===(S=e.isCustom)||void 0===S?void 0:S.doctorTitle)),1),t[12]||(t[12]=Object(M["createTextVNode"])(" ) "))]),Object(M["createElementVNode"])("div",Xt,Object(M["toDisplayString"])(`${null!==(D=e.isCustom)&&void 0!==D&&D.organization?null===(N=e.isCustom)||void 0===N?void 0:N.organization:""}-${null!==(U=e.isCustom)&&void 0!==U&&U.departmentName?null===(B=e.isCustom)||void 0===B?void 0:B.departmentName:""}`),1)])]),t[13]||(t[13]=Object(M["createElementVNode"])("div",{style:{color:"#7d7d7dff","font-size":"12px","margin-top":"5px","border-top":"1px solid #7d7d7dff","padding-top":"1px"}}," 个人名片 ",-1))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:9,innerHTML:e.data.custom},null,8,en)),Object(M["createVNode"])(A,{modelValue:e.visible,"onUpdate:modelValue":t[9]||(t[9]=t=>e.visible=t),title:(null===(x=e.isCustom)||void 0===x?void 0:x.name)+"档案",width:"60%",onOpen:e.openDialog},{default:Object(M["withCtx"])(()=>[t[14]||(t[14]=Object(M["createElementVNode"])("span",{style:{"font-size":"18px","font-weight":"bold",color:"#000000","margin-bottom":"10px"}},"咨询档案",-1)),Object(M["createVNode"])(P,{modelValue:e.archives,"onUpdate:modelValue":t[8]||(t[8]=t=>e.archives=t),"label-width":"100px"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(R,{label:"档案名称:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.recordsName,"onUpdate:modelValue":t[3]||(t[3]=t=>e.archives.recordsName=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"患病时长:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.haveTime_dictText,"onUpdate:modelValue":t[4]||(t[4]=t=>e.archives.haveTime_dictText=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"问题描述:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.medicalDescribe,"onUpdate:modelValue":t[5]||(t[5]=t=>e.archives.medicalDescribe=t),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"就诊医院:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.lookOffice,"onUpdate:modelValue":t[6]||(t[6]=t=>e.archives.lookOffice=t)},null,8,["modelValue"])]),_:1}),Object(M["createVNode"])(R,{label:"病情资料:"},{default:Object(M["withCtx"])(()=>{var t;return[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(t=e.archives)||void 0===t?void 0:t.imageList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{padding:"0 5px 5px",width:"100px",height:"100px"},key:"imageList"+n},[Object(M["createVNode"])(V,{style:{width:"100px",height:"100px"},src:`${e.hrefParams.urlF.replace("lol","://")}/file/show/${t}`,"zoom-rate":1.2,"preview-src-list":[`${e.hrefParams.urlF.replace("lol","://")}file/show/${t}`],"initial-index":0,"hide-on-click-modal":!0,fit:"cover"},null,8,["src","preview-src-list"])]))),128))]}),_:1}),Object(M["createVNode"])(R,{label:"期望帮助:"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{disabled:"",modelValue:e.archives.desire,"onUpdate:modelValue":t[7]||(t[7]=t=>e.archives.desire=t),rows:3,type:"textarea"},null,8,["modelValue"])]),_:1})]),_:1},8,["modelValue"]),t[15]||(t[15]=Object(M["createElementVNode"])("span",{style:{"font-size":"18px","font-weight":"bold",color:"#000000",margin:"10px 0"}},"健康信息",-1)),Object(M["createVNode"])(P,{"label-width":"100px",inline:!0},{default:Object(M["withCtx"])(()=>[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(s()(l()(e.archives)),(t,n)=>(Object(M["openBlock"])(),Object(M["createBlock"])(R,{key:"item"+n,label:t+":"},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(L,{modelValue:l()(e.archives)[t],"onUpdate:modelValue":n=>l()(e.archives)[t]=n,disabled:""},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["label"]))),128))]),_:1})]),_:1,__:[14,15]},8,["modelValue","title","onOpen"])])}var nn=n("2e20");class on{constructor(e){Object(c["a"])(this,"aegis",void 0),Object(c["a"])(this,"options",{}),Object(c["a"])(this,"aegisOptions",[]),e?this.aegis=e:this.init(()=>{var e;(this.aegis=new window.Aegis({id:"iHWefAYqTgxNuvtAjr",uin:"",reportApiSpeed:!0,reportAssetSpeed:!0,spa:!0}),this.aegisOptions.length>0)&&(l()(e=this.aegisOptions).call(e,e=>(this.reportEvent(e),e)),this.aegisOptions=[])})}install(e){e.config.globalProperties.$TUIAegis=on.getInstance()}static getInstance(){return on.instance||(on.instance=new on(window.$Aegis)),on.instance}setAegisOptions(e){this.options=e}reportEvent(e){if(this.aegis){var t;if((null===e||void 0===e||!e.ext3)&&(null===(t=this.options)||void 0===t||!t.ext3))return;this.aegis.reportEvent({...e,...this.options})}else this.aegisOptions=[...this.aegisOptions,e]}init(e){if(!on.instance){const t=document.createElement("script");t.type="text/javascript",t.src="https://tam.cdn-go.cn/aegis-sdk/latest/aegis.min.js",document.getElementsByTagName("head")[0].appendChild(t),t.onload=e}}}Object(c["a"])(on,"instance",void 0);var an=on,sn=n("5502"),rn=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){var n;const o=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},a=Object(M["reactive"])({data:{},extension:{},isCustom:"",constant:nn["a"],visible:!1,archives:{recordsName:"",medicalDescribe:"",image:"",imageList:[],haveTime_dictText:"",desire:"",lookOffice:"",map:{}}});Object(M["watchEffect"])(()=>{a.data=e.data;const{message:{payload:t}}=e.data;a.isCustom=t.data||" ",a.isCustom=Object(U["a"])(t.data),t.data===nn["a"].typeService&&(a.extension=Object(U["a"])(t.extension))});const i=e=>{window.open(e)},s=()=>{var e,t,n;const o=null===(e=JSON.parse(null===(t=JSON.parse(null===a||void 0===a||null===(n=a.data)||void 0===n||null===(n=n.message)||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.data))||void 0===t?void 0:t.data))||void 0===e?void 0:e.call_type;let i="";switch(o){case 1:i="icon-call-voice";break;case 2:i="icon-call-video";break;default:break}return i},r=async()=>{var t,n,i,s,r,l;const c=null===(t=JSON.parse(null===(n=JSON.parse(null===e||void 0===e||null===(i=e.data)||void 0===i||null===(i=i.message)||void 0===i||null===(i=i.payload)||void 0===i?void 0:i.data))||void 0===n?void 0:n.data))||void 0===t?void 0:t.call_type;switch(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall"}),null===a||void 0===a||null===(s=a.data)||void 0===s||null===(s=s.message)||void 0===s?void 0:s.conversationType){case window.TUIKitTUICore.TIM.TYPES.CONV_C2C:const{flow:e,to:t,from:n}=null===a||void 0===a||null===(r=a.data)||void 0===r?void 0:r.message;if(t===n)break;try{var d,u;await(null===(d=window)||void 0===d||null===(d=d.TUIKitTUICore)||void 0===d||null===(d=d.TUIServer)||void 0===d||null===(d=d.TUICallKit)||void 0===d?void 0:d.call({userID:"out"===e?t:n,type:c})),(null===(u=window)||void 0===u||null===(u=u.TUIKitTUICore)||void 0===u?void 0:u.isOfficial)&&(null===o||void 0===o?void 0:o.commit)&&(null===o||void 0===o||o.commit("handleTask",6))}catch(p){console.warn(p)}null!==(l=window)&&void 0!==l&&null!==(l=l.TUIKitTUICore)&&void 0!==l&&null!==(l=l.TUIServer)&&void 0!==l&&l.TUICallKit&&(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall-success"}),an.getInstance().reportEvent({name:"callOptions",ext1:"call-c2c"}));break;case window.TUIKitTUICore.TIM.TYPES.CONV_GROUP:break;default:break}},l=()=>{var e,t;window.parent.postMessage(v()({code:"showConsultation",archivesId:null===(e=a.isCustom)||void 0===e?void 0:e.archivesId,archivesName:null===(t=a.isCustom)||void 0===t?void 0:t.name}),"*")},c=async()=>{var e,t;window.parent.postMessage(v()({code:"showConsultation",archivesId:null===(e=a.isCustom)||void 0===e?void 0:e.archivesId,archivesName:null===(t=a.isCustom)||void 0===t?void 0:t.name}),"*")};return{showDialog:l,openDialog:c,...Object(M["toRefs"])(a),isUrl:U["w"],openLink:i,handleCallMessageIcon:s,handleCallAgain:r,hrefParams:_e["a"]}}});n("2259");const ln=me()(rn,[["render",tn],["__scopeId","data-v-776d0787"]]);var cn=ln;const dn={class:"message-tip"};function un(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",dn,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(s=e.message)||void 0===s?void 0:s.text),1)])}var pn=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({message:{}});return Object(M["watchEffect"])(()=>{n.message=e.data}),{...Object(M["toRefs"])(n)}}});n("a6a0");const mn=me()(pn,[["render",un],["__scopeId","data-v-54b2b3c4"]]);var hn=mn,vn=n("dd44"),fn=n.n(vn);const gn=["src"],bn={key:1,class:"avatar",src:fn.a,alt:""},On={class:"message-area"},yn={key:0,class:"name"},jn={key:1,ref:"dropdownRef",class:"dropdown-inner"};function kn(e,t,n,o,a,i){var s,r,l,c,d,u,p;const m=Object(M["resolveComponent"])("MessageReference"),h=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["message-bubble",["in"===e.message.flow?"":"reverse"]]),ref:"htmlRefHook"},[e.getSrc(e.message)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:"avatar",src:e.getSrc(e.message),alt:""},null,8,gn)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",bn)),Object(M["createElementVNode"])("main",On,["in"===e.message.flow&&"GROUP"===e.message.conversationType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",yn,Object(M["toDisplayString"])(e.message.nameCard||e.message.nick||e.message.from),1)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(e.handleImageOrVideoBubbleStyle(e.message)),onContextmenu:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleDialog&&e.toggleDialog(...t),["prevent","right"]))},[null!==(s=e.message)&&void 0!==s&&s.cloudCustomData&&e.referenceMessage&&null!==(r=e.referenceMessage)&&void 0!==r&&r.messageRootID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-replie-area",["in"===(null===(l=e.message)||void 0===l?void 0:l.flow)?"":"message-replies-area-reverse"]]),onClick:t[0]||(t[0]=t=>e.showRepliesDialog(e.message,!1))},[Object(M["createVNode"])(m,{message:e.message,referenceMessage:e.referenceMessage,referenceForShow:e.referenceForShow,url:e.url,face:e.face,allMessageID:e.allMessageID,type:"reply"},null,8,["message","referenceMessage","referenceForShow","url","face","allMessageID"])],2)):Object(M["createCommentVNode"])("",!0),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0),e.dropdown?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",jn,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["dialog",["in"===e.message.flow?"":"dialog-right"]]),onClick:t[1]||(t[1]=t=>e.dropdown=!1)},[Object(M["renderSlot"])(e.$slots,"dialog",{},void 0,!0)],2)],512)):Object(M["createCommentVNode"])("",!0),e.needEmojiReact&&e.isEmojiReactionInMessage(e.message)?(Object(M["openBlock"])(),Object(M["createBlock"])(h,{key:2,message:e.message,type:"content"},null,8,["message"])):Object(M["createCommentVNode"])("",!0)],34)]),"fail"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",{key:2,class:"message-label fail",onClick:t[3]||(t[3]=t=>e.resendMessage(e.message))},"!")):Object(M["createCommentVNode"])("",!0)],2),null===(c=e.message)||void 0===c||!c.cloudCustomData||!e.referenceMessage||null!==(d=e.referenceMessage)&&void 0!==d&&d.messageRootID?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-reference-area",["in"===e.message.flow?"":"message-reference-area-reverse"]]),onClick:t[4]||(t[4]=t=>e.jumpToAim(e.referenceMessage))},[Object(M["createVNode"])(m,{message:e.message,referenceMessage:e.referenceMessage,referenceForShow:e.referenceForShow,url:e.url,face:e.face,allMessageID:e.allMessageID,type:"reference"},null,8,["message","referenceMessage","referenceForShow","url","face","allMessageID"])],2)),null!==(u=e.replies)&&void 0!==u&&u.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",{key:1,class:Object(M["normalizeClass"])(["message-replies",["in"===e.message.flow?"":"message-replies-reverse"]]),onClick:t[5]||(t[5]=t=>e.showRepliesDialog(e.message,!0))},[t[6]||(t[6]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-replies"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])((null===(p=e.replies)||void 0===p?void 0:p.length)+e.$t("TUIChat.条回复")),1)],2)):Object(M["createCommentVNode"])("",!0)],64)}var In=n("b05a"),wn=n("2c28"),En=n("4176");const Cn={class:"message-reference-user"},Tn={class:"nick"},Sn={class:"colon"},_n={key:0,class:"face-box"},Dn={key:0,class:"text-box"},Nn=["src"],Un={key:1},Bn=["src"],Mn={key:3,class:"message-video-cover"},xn=["src"],Vn=["src"],Ln={key:5};function Rn(e,t,n,o,a,i){var s,r,l,c,d,u,p;return null!==(s=e.referenceMessage)&&void 0!==s&&s.messageID&&-1!==_()(r=e.allMessageID).call(r,e.referenceMessage.messageID)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(`${e.type} ${"in"===e.message.flow&&e.type+"-reverse"}`)},[Object(M["createElementVNode"])("p",Cn,[Object(M["createElementVNode"])("span",Tn,Object(M["toDisplayString"])(e.referenceForShow.nick||e.referenceForShow.from),1),Object(M["createElementVNode"])("span",Sn,Object(M["toDisplayString"])("reference"===e.type?":":""),1)]),e.referenceMessage.messageType===e.constant.typeText?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",_n,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.face,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:t},["text"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Dn,Object(M["toDisplayString"])(e.text),1)):"img"===e.name?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"text-img",src:e.src},null,8,Nn)):Object(M["createCommentVNode"])("",!0)]))),128))])):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeCustom?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Un,Object(M["toDisplayString"])(e.referenceMessage.messageAbstract),1)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeImage?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:2,class:"message-img",src:e.referenceForShow.payload.imageInfoArray[1].url},null,8,Bn)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeVideo?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Mn,[Object(M["createElementVNode"])("img",{class:"message-videoimg",src:(null===(l=e.referenceForShow)||void 0===l||null===(l=l.payload)||void 0===l?void 0:l.snapshotUrl)||(null===(c=e.referenceForShow)||void 0===c||null===(c=c.payload)||void 0===c?void 0:c.thumbUrl)},null,8,xn)])):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeFace?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:4,class:"message-img",src:e.url},null,8,Vn)):Object(M["createCommentVNode"])("",!0),e.referenceMessage.messageType===e.constant.typeFile||e.referenceMessage.messageType===e.constant.typeAudio?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ln,Object(M["toDisplayString"])(null===(d=e.referenceMessage)||void 0===d?void 0:d.messageAbstract),1)):Object(M["createCommentVNode"])("",!0)],2)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:Object(M["normalizeClass"])(`${e.type} ${"in"===e.message.flow&&e.type+"-reverse"}`)},[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(null===(u=e.referenceMessage)||void 0===u?void 0:u.messageSender),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(p=e.referenceMessage)||void 0===p?void 0:p.messageAbstract),1)],2))}const Pn=Object(M["defineComponent"])({props:{message:{type:Object,default:{}},referenceMessage:{type:Object,default:()=>({})},referenceForShow:{type:Object,default:()=>({})},face:{type:Array,default:()=>[]},url:{type:String,default:""},allMessageID:{type:String,default:""},type:{type:String,deafault:""}},setup(e,t){const n=Object(M["reactive"])({message:{},referenceMessage:{},referenceForShow:{},allMessageID:"",face:[],url:"",type:""});return Object(M["watchEffect"])(()=>{n.message=e.message,n.referenceMessage=e.referenceMessage,n.referenceForShow=e.referenceForShow,n.face=e.face,n.url=e.url,n.allMessageID=e.allMessageID,n.type=e.type}),Object(M["watch"])(()=>e.referenceForShow,()=>{n.referenceForShow=e.referenceForShow},{deep:!0}),{...Object(M["toRefs"])(n),constant:nn["a"]}}});var An=Pn;n("3b1e");const Gn=me()(An,[["render",Rn],["__scopeId","data-v-06f7d624"]]);var Hn=Gn;const zn={class:"face-list collapse"},Fn={class:"face-list-collapse"},$n=["onClick"],Yn=["src"],Kn={class:"face-list face-list-expand"},Wn=["onClick"],qn=["src"],Zn={key:1,class:"emoji-content"},Jn={class:"emoji-react",ref:"container"},Qn=["onClick"],Xn=["src"],eo={class:"emoji-react-item-content"};function to(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,["dropdown"===e.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["dialog-emoji",null!==(s=e.env)&&void 0!==s&&s.isH5?"dialog-emoji-h5":""])},[Object(M["createElementVNode"])("div",zn,[Object(M["createElementVNode"])("ul",Fn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.emojiCollapseList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:n,onClick:Object(M["withModifiers"])(n=>e.select(t),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[t]},null,8,Yn)],8,$n))),128))]),Object(M["createElementVNode"])("div",{class:"face-list-button",onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.isCollapse=!e.isCollapse,["stop"]))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.isCollapse?"icon-expand":"icon-collapse"]])},null,2)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",Kn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.emojiExpandList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:n,onClick:Object(M["withModifiers"])(n=>e.select(t),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[t]},null,8,qn)],8,Wn))),128))],512),[[M["vShow"],!e.isCollapse]])],2)):Object(M["createCommentVNode"])("",!0),"content"===e.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Zn,[Object(M["createElementVNode"])("ul",Jn,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.handleEmojiReact(e.message),(t,n)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"emoji-react-item",key:n,onClick:Object(M["withModifiers"])(t=>e.select(n),["stop"])},[Object(M["createElementVNode"])("img",{src:e.emojiUrl+e.emojiMap[n]},null,8,Xn),Object(M["createElementVNode"])("div",eo,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.handleEmojiReactItem(t)),1)])],8,Qn)),[[M["vShow"],t&&(null===t||void 0===t?void 0:t.length)]])),128))],512)])):Object(M["createCommentVNode"])("",!0)],64)}var no=n("52da"),oo=n.n(no),ao=n("c959"),io=n("17da"),so=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},emojiList:{type:Array,default:()=>[]},type:{type:String,default:""}},emits:["handleCollapse"],setup(e,t){const{TUIServer:n}=br,o=Object(M["reactive"])({message:{},emojiUrl:io["d"],emojiMap:io["b"],emojiName:io["c"],isCollapse:!0,types:ao["a"].TYPES,env:n.TUICore.TUIEnv,type:e.type,emojiReacts:{},allMemberList:[]}),i=Object(M["ref"])({}),s=Object(M["computed"])(()=>{var e;return oo()(e=o.emojiName).call(e,0,6)}),r=Object(M["computed"])(()=>{var e;return oo()(e=o.emojiName).call(e,6)}),l=e=>{n.emojiReact(o.message,e)},c=e=>{try{var t;if(null===e||void 0===e||!e.cloudCustomData)return;const n=null===(t=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData))||void 0===t||null===(t=t.messageReact)||void 0===t?void 0:t.reacts;if(!n)return;return o.emojiReacts=n,n}catch(n){console.warn(n)}},d=e=>{let t="";return null===e||void 0===e||a()(e).call(e,(e,n)=>{var a;const i=null===(a=o.allMemberList)||void 0===a?void 0:I()(a).call(a,t=>t.userID===e);t=t+(i?null===i||void 0===i?void 0:i.nick:e)+", "}),t.length&&(t=t.substring(0,Se()(t).call(t,","))),t},u=e=>{var t,a,i,s,r;const l=null===n||void 0===n?void 0:n.currentStore;switch(null===e||void 0===e?void 0:e.conversationType){case ao["a"].TYPES.CONV_C2C:o.allMemberList=[{userID:null===l||void 0===l||null===(t=l.conversation)||void 0===t||null===(t=t.userProfile)||void 0===t?void 0:t.userID,nick:null===l||void 0===l||null===(a=l.conversation)||void 0===a||null===(a=a.userProfile)||void 0===a?void 0:a.nick},{userID:null===l||void 0===l||null===(i=l.selfInfo)||void 0===i?void 0:i.userID,nick:null===l||void 0===l||null===(s=l.selfInfo)||void 0===s?void 0:s.nick}];break;case ao["a"].TYPES.CONV_GROUP:o.allMemberList=null===l||void 0===l||null===(r=l.allMemberList)||void 0===r?void 0:r.memberList;break;default:break}};return Object(M["watch"])(()=>e.message,(t,n)=>{o.message=e.message,(null===t||void 0===t?void 0:t.conversationID)!==(null===n||void 0===n?void 0:n.conversationID)&&u(t)},{deep:!0,immediate:!0}),Object(M["watch"])(()=>o.isCollapse,(e,n)=>{var a;e!==n&&null!==o&&void 0!==o&&null!==(a=o.env)&&void 0!==a&&a.isH5&&t.emit("handleCollapse",e)}),{...Object(M["toRefs"])(o),emojiCollapseList:s,emojiExpandList:r,select:l,handleEmojiReact:c,handleEmojiReactItem:d,container:i}}});n("7af0");const ro=me()(so,[["render",to],["__scopeId","data-v-3266b21c"]]);var lo=ro;const co=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},messagesList:{type:Array,default:()=>[]},isH5:{type:Boolean,default:!1},needGroupReceipt:{type:Boolean,default:!1},needReplies:{type:Boolean,default:!0},flow:{type:String,default:""},needEmojiReact:{type:Boolean,default:!1}},emits:["jumpID","resendMessage","showReadReceiptDialog","showRepliesDialog","dropDownOpen"],components:{MessageReference:Hn,MessageEmojiReact:lo},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),{TUIServer:o}=br,a=Object(M["reactive"])({env:Object(D["b"])(),message:{},messagesList:[],show:!1,type:{},referenceMessage:{},referenceForShow:{},allMessageID:"",needGroupReceipt:!1,needReplies:!0,replies:[],face:[],url:"",needEmojiReact:!1});Object(M["watchEffect"])(()=>{var t;if(a.type=nn["a"],a.messagesList=e.messagesList,a.needEmojiReact=e.needEmojiReact,a.message=Object(U["b"])((null===(t=a.messagesList)||void 0===t?void 0:I()(t).call(t,t=>{var n;return(null===t||void 0===t?void 0:t.ID)===(null===(n=e.message)||void 0===n?void 0:n.ID)}))||e.data),a.needGroupReceipt=e.needGroupReceipt,a.needReplies=e.needReplies,a.message.cloudCustomData){var n;const e=[],t=Object(U["a"])(a.message.cloudCustomData);a.replies=(null===t||void 0===t||null===(n=t.messageReplies)||void 0===n?void 0:n.replies)||[],a.referenceMessage=t.messageReply?t.messageReply:"";for(let n=0;n{r.value=!r.value,r.value&&(t.emit("dropDownOpen",l),Object(M["nextTick"])(()=>{var t,n,o,i,s,r,c,d,u,p,m;const h=null===l||void 0===l||null===(t=l.value)||void 0===t?void 0:t.children[0],v=document.getElementsByClassName("dialog-item")[0],f=null===l||void 0===l||null===(n=l.value)||void 0===n?void 0:n.offsetParent,g=Object(wn["useElementBounding"])(f),b=document.getElementById("messageEle"),O=Object(wn["useElementBounding"])(b),y=null===O||void 0===O||null===(o=O.left)||void 0===o?void 0:o.value,j=(null===O||void 0===O||null===(i=O.left)||void 0===i?void 0:i.value)+b.clientWidth-h.clientWidth+76,k=null===O||void 0===O||null===(s=O.top)||void 0===s?void 0:s.value,I=(null===O||void 0===O||null===(r=O.top)||void 0===r?void 0:r.value)+b.clientHeight-h.clientHeight,{clientX:w,clientY:E}=e;if(null!==a&&void 0!==a&&null!==(c=a.env)&&void 0!==c&&c.isH5){var C,T,S,_;(null===g||void 0===g||null===(C=g.top)||void 0===C?void 0:C.value)<=(null===v||void 0===v?void 0:v.clientHeight)?h.style.bottom=`-${null===v||void 0===v?void 0:v.clientHeight}px`:"in"===(null===a||void 0===a||null===(_=a.message)||void 0===_?void 0:_.flow)?h.style.top=`-${(null===v||void 0===v?void 0:v.clientHeight)-20}px`:h.style.top=`-${null===v||void 0===v?void 0:v.clientHeight}px`;const e=(null===g||void 0===g||null===(T=g.left)||void 0===T?void 0:T.value)+(null===g||void 0===g||null===(S=g.width)||void 0===S?void 0:S.value)/2;e>v.clientWidth/2&&e<(null===b||void 0===b?void 0:b.clientWidth)-v.clientWidth/2?h.style.left="calc(50% - 135px)":e<=v.clientWidth/2?h.style.left="-20px":h.style.left=`-${v.clientWidth/2+10}px`}else{switch(!0){case w>y&&w=j:h.style.right=Math.max((null===g||void 0===g||null===(u=g.left)||void 0===u?void 0:u.value)+(null===f||void 0===f?void 0:f.clientWidth)-e.clientX-256,-10)+"px";break}switch(!0){case E>k&&E=I:h.style.bottom=(null===g||void 0===g||null===(m=g.top)||void 0===m?void 0:m.value)+(null===f||void 0===f?void 0:f.clientHeight)-e.clientY+"px",h.style.cssText+="align-items:end;";break}}}))},d=o=>{var i,s,r;if(null!==(i=a.referenceMessage)&&void 0!==i&&i.messageID&&re()(s=a.allMessageID).call(s,null===(r=a.referenceMessage)||void 0===r?void 0:r.messageID))t.emit("jumpID",a.referenceMessage.messageID);else{const t=n("TUIChat.无法定位到原消息");Object(En["b"])(t,e)}};Object(wn["onClickOutside"])(l,()=>{r.value=!1});const u=e=>{var t;null!==a&&void 0!==a&&null!==(t=a.env)&&void 0!==t&&t.isH5&&c(e)};Object(wn["onLongPress"])(i,u);const p=e=>{t.emit("resendMessage",e)},m=e=>!("out"!==e.flow||"success"!==e.status||!e.needReadReceipt||"GROUP"===e.conversationType),h=e=>{var t,n,o;return null!==e&&void 0!==e&&null!==(t=e.readReceiptInfo)&&void 0!==t&&t.isPeerRead||void 0===(null===e||void 0===e||null===(n=e.readReceiptInfo)||void 0===n?void 0:n.isPeerRead)&&null!==e&&void 0!==e&&e.isPeerRead||0===(null===e||void 0===e||null===(o=e.readReceiptInfo)||void 0===o?void 0:o.unreadCount)?"":"unRead"},f=e=>{var t,a;switch(console.log(e.conversationType),e.conversationType){case o.TUICore.TIM.TYPES.CONV_C2C:return null!==e&&void 0!==e&&null!==(t=e.readReceiptInfo)&&void 0!==t&&t.isPeerRead||void 0===(null===e||void 0===e||null===(a=e.readReceiptInfo)||void 0===a?void 0:a.isPeerRead)&&null!==e&&void 0!==e&&e.isPeerRead?n("TUIChat.已读"):n("TUIChat.未读");case o.TUICore.TIM.TYPES.CONV_GROUP:return 0===e.readReceiptInfo.unreadCount?n("TUIChat.全部已读"):0===e.readReceiptInfo.readCount||void 0===e.readReceiptInfo.unreadCount&&void 0===e.readReceiptInfo.readCount?n("TUIChat.未读"):""+(e.readReceiptInfo.readCount+n("TUIChat.人已读"));default:return""}},g=e=>{t.emit("showReadReceiptDialog",e,"receipt")},b=(o,i)=>{var s;if(i)t.emit("showRepliesDialog",o,"replies");else if(null!==(s=a.referenceMessage)&&void 0!==s&&s.messageRootID){var r;const o=null===(r=a.messagesList)||void 0===r?void 0:I()(r).call(r,e=>{var t;return e.ID===(null===(t=a.referenceMessage)||void 0===t?void 0:t.messageRootID)});if(o)return void t.emit("showRepliesDialog",o,"replies");{const t=n("TUIChat.无法定位到原消息");Object(En["b"])(t,e)}}},O=e=>{const t=["content"];return e?(t.push("content-"+a.message.flow),a.message.type!==ao["a"].TYPES.MSG_IMAGE||y(e)||t.push("content-image"),a.message.type!==ao["a"].TYPES.MSG_VIDEO||y(e)||t.push("content-video"),t):t},y=e=>{try{var t;if(null===e||void 0===e||!e.cloudCustomData)return;const n=null===(t=Object(U["a"])(null===e||void 0===e?void 0:e.cloudCustomData))||void 0===t||null===(t=t.messageReact)||void 0===t?void 0:t.reacts;return!(!n||0===s()(n).length)}catch(n){return console.warn(n),!1}},j=e=>{let t=null===e||void 0===e?void 0:e.avatar.split("/");return null!==e&&void 0!==e&&e.avatar&&t[t.length-1]?null===e||void 0===e?void 0:e.avatar:""};return{getSrc:j,...Object(M["toRefs"])(a),toggleDialog:c,htmlRefHook:i,jumpToAim:d,dropdown:r,dropdownRef:l,resendMessage:p,showReadReceiptTag:m,readReceiptStyle:h,readReceiptCont:f,showReadReceiptDialog:g,showRepliesDialog:b,handleImageOrVideoBubbleStyle:O,isEmojiReactionInMessage:y,TIM:ao["a"]}}});var uo=co;n("668f");const po=me()(uo,[["render",kn],["__scopeId","data-v-721af588"]]);var mo=po;const ho={class:"revoke"},vo={key:0},fo={key:1};function go(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ho,["in"===e.message.flow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",vo,Object(M["toDisplayString"])(e.message.nick||e.message.from),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("label",fo,Object(M["toDisplayString"])(e.$t("TUIChat.您")),1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.撤回了一条消息")),1),"out"===e.message.flow&&e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:2,class:"edit",onClick:t[0]||(t[0]=(...t)=>e.edit&&e.edit(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.重新编辑")),1)):Object(M["createCommentVNode"])("",!0)])}var bo=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isEdit:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({message:{},isEdit:!1});Object(M["watchEffect"])(()=>{n.message=e.data,n.isEdit=e.isEdit});const o=()=>{t.emit("edit",n.message)};return{...Object(M["toRefs"])(n),edit:o}}});n("29ef");const Oo=me()(bo,[["render",go],["__scopeId","data-v-dedd5890"]]);var yo=Oo;const jo={class:"message-system"},ko={class:"list"},Io={key:0,class:"btn-box"},wo=["onClick"],Eo=["onClick"];function Co(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",jo,[Object(M["createElementVNode"])("ul",ko,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messageList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:o},[n.type===e.types.MSG_GRP_TIP||n.type===e.types.MSG_GRP_SYS_NOTICE?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-system"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.translateGroupSystemNotice(n)),1),1===(null===n||void 0===n||null===(a=n.payload)||void 0===a?void 0:a.operationType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Io,[Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t=>e.handleApplication("Agree",n)},"接受",8,wo),Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t=>e.handleApplication("Reject",n)},"拒绝",8,Eo)])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)])}),128))])])}var To=Object(M["defineComponent"])({props:{data:{type:Array,default:()=>[]},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({messageList:[],types:{}});Object(M["watchEffect"])(()=>{n.messageList=e.data,n.types=e.types});const o=(e,n)=>{const o={handleAction:e,message:n};t.emit("application",o)};return{...Object(M["toRefs"])(n),translateGroupSystemNotice:U["x"],handleApplication:o}}});n("181e");const So=me()(To,[["render",Co],["__scopeId","data-v-55c508aa"]]);var _o=So;function Do(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["dialog-item",null!==(s=e.env)&&void 0!==s&&s.isH5?"dialog-item-h5":"dialog-item-web"])},[null!==(r=e.env)&&void 0!==r&&r.isH5&&e.needEmojiReact?(Object(M["openBlock"])(),Object(M["createBlock"])(c,{key:0,message:e.message,type:"dropdown",onHandleCollapse:e.handleCollapse},null,8,["message","onHandleCollapse"])):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",{class:Object(M["normalizeClass"])(["dialog-item-list",null!==(l=e.env)&&void 0!==l&&l.isH5?"dialog-item-list-h5":"dialog-item-list-web"])},[e.message.type!==e.types.MSG_FILE&&e.message.type!==e.types.MSG_VIDEO&&e.message.type!==e.types.MSG_IMAGE||e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[0]||(t[0]=t=>e.openMessage(e.message))},[t[7]||(t[7]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.打开")),1)])),e.message.type===e.types.MSG_TEXT?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:1,onClick:t[1]||(t[1]=t=>e.handleMessage(e.message,e.constant.handleMessage.copy))},[t[8]||(t[8]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.复制")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:2,onClick:t[2]||(t[2]=t=>e.handleMessage(e.message,e.constant.handleMessage.forward))},[t[9]||(t[9]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-forward"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.转发")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:3,onClick:t[3]||(t[3]=t=>e.handleMessage(e.message,e.constant.handleMessage.reference))},[t[10]||(t[10]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-quote"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.引用")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:4,onClick:t[4]||(t[4]=t=>e.handleMessage(e.message,e.constant.handleMessage.reply))},[t[11]||(t[11]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-reply"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.回复")),1)])):Object(M["createCommentVNode"])("",!0),"out"===e.message.flow&&"success"===e.message.status&&e.message.type!==e.types.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:5,onClick:t[5]||(t[5]=t=>e.handleMessage(e.message,e.constant.handleMessage.revoke))},[t[12]||(t[12]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-revoke"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.撤回")),1)])):Object(M["createCommentVNode"])("",!0),"success"===e.message.status?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:6,onClick:t[6]||(t[6]=t=>e.handleMessage(e.message,e.constant.handleMessage.delete))},[t[13]||(t[13]=Object(M["createElementVNode"])("i",{class:"icon icon-msg-del"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.删除")),1)])):Object(M["createCommentVNode"])("",!0)],2),[[M["vShow"],e.showToolList]])],2)}var No=n("a019"),Uo=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},needEmojiReact:{type:Boolean,default:!1}},components:{MessageEmojiReact:lo},setup(e,t){var n,o;const a=null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n?void 0:n.TUIChat,i=(null===(o=window)||void 0===o||null===(o=o.TUIKitTUICore)||void 0===o?void 0:o.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},s=Object(M["reactive"])({message:{},show:!1,types:ao["a"].TYPES,env:a.TUICore.TUIEnv,showToolList:!0,needEmojiReact:!1});Object(M["watchEffect"])(()=>{s.needEmojiReact=e.needEmojiReact}),Object(M["watch"])(()=>e.message,()=>{s.message=e.message},{deep:!0,immediate:!0});const r=e=>{let t="";switch(e.type){case s.types.MSG_FILE:t=e.payload.fileUrl;break;case s.types.MSG_VIDEO:t=e.payload.remoteVideoUrl;break;case s.types.MSG_IMAGE:t=e.payload.imageInfoArray[0].url;break}window.open(t,"_blank")},l=async(e,n)=>{switch(n){case nn["a"].handleMessage.revoke:try{var o;await a.revokeMessage(e),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageRevoke"}),(null===(o=window)||void 0===o||null===(o=o.TUIKitTUICore)||void 0===o?void 0:o.isOfficial)&&(null===i||void 0===i?void 0:i.commit)&&(null===i||void 0===i||i.commit("handleTask",1))}catch(c){Object(En["b"])(c,s.env)}break;case nn["a"].handleMessage.copy:try{var r;if((null===e||void 0===e?void 0:e.type)===s.types.MSG_TEXT&&null!==e&&void 0!==e&&null!==(r=e.payload)&&void 0!==r&&r.text){var l;const{toClipboard:t}=Object(No["a"])();await t(null===e||void 0===e||null===(l=e.payload)||void 0===l?void 0:l.text)}}catch(c){Object(En["b"])(c,s.env)}break;case nn["a"].handleMessage.delete:await a.deleteMessage([e]),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageDelete"});break;case nn["a"].handleMessage.forward:an.getInstance().reportEvent({name:"messageOptions",ext1:"messageForward"}),t.emit("handleMessage",e,nn["a"].handleMessage.forward);break;case nn["a"].handleMessage.reference:t.emit("handleMessage",e,nn["a"].handleMessage.reference);break;case nn["a"].handleMessage.reply:t.emit("handleMessage",e,nn["a"].handleMessage.reply);break}},c=e=>{var t;null!==s&&void 0!==s&&null!==(t=s.env)&&void 0!==t&&t.isH5&&(s.showToolList=e)};return{...Object(M["toRefs"])(s),openMessage:r,handleMessage:l,constant:nn["a"],handleCollapse:c}}});n("be7e");const Bo=me()(Uo,[["render",Do],["__scopeId","data-v-60d6f26f"]]);var Mo=Bo;const xo={class:"message-item"};var Vo=Object(M["defineComponent"])({__name:"index",props:{message:{type:Object,default:()=>({})},beforeMessage:{type:Object,default:()=>({})},types:{type:Object,default:()=>({})},env:{type:Object,default:()=>({})},messageList:{type:Array,default:()=>[]},displayGroupMessageReadReceipt:{type:Boolean,default:!0},displayEmojiReactions:{type:Boolean,default:!0}},emits:["handleEditor","showDialog","uploading","jumpID","resendMessage"],setup(e,{emit:t}){const n=e,o=t,{message:a,types:i,env:s,messageList:r,displayGroupMessageReadReceipt:l,displayEmojiReactions:c}=Object(M["toRefs"])(n),d=e=>{o("handleEditor",e,"reedit")},u=(e,t)=>{if(e&&t)switch(t){case nn["a"].handleMessage.forward:o("showDialog",e,nn["a"].handleMessage.forward);break;case nn["a"].handleMessage.reference:o("handleEditor",e,nn["a"].handleMessage.reference);break;case nn["a"].handleMessage.reply:o("handleEditor",e,nn["a"].handleMessage.reply);break;default:break}},p=e=>{e&&o("showDialog",e,"previewImage")},m=e=>{e&&o("showDialog",e,"receipt")},h=e=>{e&&o("showDialog",e,"replies")},v=()=>{o("uploading")},f=e=>{e&&o("resendMessage",e)};return(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",xo,[Object(M["unref"])(U["u"])(Object(M["unref"])(a))&&Object(M["unref"])(a).type!==Object(M["unref"])(i).MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(hn,{key:0,data:Object(M["unref"])(U["s"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["unref"])(a).isRevoked?(Object(M["openBlock"])(),Object(M["createBlock"])(yo,{key:2,isEdit:Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_TEXT,data:Object(M["unref"])(a),onEdit:t[0]||(t[0]=e=>d(Object(M["unref"])(a)))},null,8,["isEdit","data"])):(Object(M["openBlock"])(),Object(M["createBlock"])(mo,{key:1,style:{background:"#f5f5f5 !important"},data:Object(M["unref"])(a),isH5:Object(M["unref"])(s).isH5,types:Object(M["unref"])(i),messagesList:Object(M["unref"])(r),needGroupReceipt:Object(M["unref"])(l),needReplies:!0,needEmojiReact:Object(M["unref"])(c),onResendMessage:f,onShowReadReceiptDialog:m,onShowRepliesDialog:h},{dialog:Object(M["withCtx"])(()=>{var e;return[Object(M["createVNode"])(Mo,{message:Object(M["unref"])(a),needEmojiReact:Object(M["unref"])(c),onHandleMessage:u},null,8,["message","needEmojiReact"]),null!==(e=Object(M["unref"])(s))&&void 0!==e&&e.isH5||!Object(M["unref"])(c)?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(lo,{key:0,message:Object(M["unref"])(a),type:"dropdown"},null,8,["message"]))]}),default:Object(M["withCtx"])(()=>[Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_TEXT?(Object(M["openBlock"])(),Object(M["createBlock"])(ve,{key:0,data:Object(M["unref"])(U["r"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createBlock"])(Ue,{key:1,isH5:Object(M["unref"])(s).isH5,data:Object(M["unref"])(U["j"])(Object(M["unref"])(a)),onUploading:v,onPreviewImage:p},null,8,["isH5","data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createBlock"])(ze,{key:2,isH5:Object(M["unref"])(s).isH5,data:Object(M["unref"])(U["t"])(Object(M["unref"])(a)),onUploading:v},null,8,["isH5","data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createBlock"])(We,{key:3,data:Object(M["unref"])(U["e"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_FILE?(Object(M["openBlock"])(),Object(M["createBlock"])(at,{key:4,data:Object(M["unref"])(U["i"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_FACE?(Object(M["openBlock"])(),Object(M["createBlock"])(dt,{key:5,data:Object(M["unref"])(U["h"])(Object(M["unref"])(a)),isH5:Object(M["unref"])(s).isH5},null,8,["data","isH5"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_LOCATION?(Object(M["openBlock"])(),Object(M["createBlock"])(gt,{key:6,data:Object(M["unref"])(U["k"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createBlock"])(cn,{key:7,data:Object(M["unref"])(U["g"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0),Object(M["unref"])(a).type===Object(M["unref"])(i).MSG_MERGER?(Object(M["openBlock"])(),Object(M["createBlock"])(wt,{key:8,data:Object(M["unref"])(U["l"])(Object(M["unref"])(a))},null,8,["data"])):Object(M["createCommentVNode"])("",!0)]),_:1},8,["data","isH5","types","messagesList","needGroupReceipt","needEmojiReact"]))]))}});n("5e50");const Lo=me()(Vo,[["__scopeId","data-v-1f1c862e"]]);var Ro=Lo,Po=Object(M["defineComponent"])({__name:"message-timestamp",props:{currTime:{type:Number,default:0},prevTime:{type:Number,default:0}},setup(e){var t;const n=e,{t:o}=null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t||null===(t=t.config)||void 0===t||null===(t=t.i18n)||void 0===t?void 0:t.useI18n(),{currTime:a,prevTime:i}=Object(M["toRefs"])(n),s=Object(M["ref"])(!1),r=Object(M["ref"])(""),l=(e,t)=>{if(s.value=!1,e<=0)return"";if(!t||t<=0)return s.value=!0,c(1e3*e);{const n=600,o=e-t;if(o>=n)return s.value=!0,c(1e3*e)}return""};function c(e){const t=(new Date).setHours(0,0,0,0),n=new Date((new Date).getFullYear(),0,1,0,0,0,0).getTime(),a=new Date(e),i=864e5,s=7*i,r=t-a.getTime();function l(e){return e<10?"0"+e:e.toString()}if(r<=0)return`${l(a.getHours())}:${l(a.getMinutes())}`;if(r<=i)return`${o("time.昨天")} ${l(a.getHours())}:${l(a.getMinutes())}`;if(r<=s-i){const e=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],t=e[a.getDay()];return`${o("time."+t)} ${l(a.getHours())}:${l(a.getMinutes())}`}return a.getTime()>=n?`${a.getMonth()+1}/${a.getDate()} ${l(a.getHours())}:${l(a.getMinutes())}`:`${a.getFullYear()}/${a.getMonth()+1}/${a.getDate()} ${l(a.getHours())}:${l(a.getMinutes())}`}return Object(M["watch"])(()=>[a.value,i.value],(e,t)=>{(null===e||void 0===e?void 0:e.toString())!==(null===t||void 0===t?void 0:t.toString())&&(r.value=l(a.value,i.value))},{immediate:!0}),(e,t)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"message-timestamp"},Object(M["toDisplayString"])(r.value),513)),[[M["vShow"],s.value]])}});n("944d");const Ao=me()(Po,[["__scopeId","data-v-673faa2b"]]);var Go=Ao;const Ho={class:"manage-header"},zo={class:"manage-header-left"},Fo={key:0,class:"main"},$o={class:"userInfo space-top"},Yo=["onClick"],Ko=["src"],Wo={key:0},qo={key:1},Zo={class:"groupID"},Jo=["title"],Qo=["src"],Xo={class:"footer space-top"},ea={key:4,class:"admin"},ta={key:0,class:"admin-list"},na=["src"],oa={key:1,class:"admin-content space-top"},aa={key:2,class:"admin-list last"},ia=["src"],sa={key:0,class:"delDialog-title"},ra={key:1,class:"delDialog-title"};function la(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("ManageName"),d=Object(M["resolveComponent"])("ManageMember"),u=Object(M["resolveComponent"])("MemeberProfile"),p=Object(M["resolveComponent"])("ManageNotification"),m=Object(M["resolveComponent"])("Slider"),h=Object(M["resolveComponent"])("Transfer"),v=Object(M["resolveComponent"])("Mask"),f=Object(M["resolveComponent"])("Dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",null,[Object(M["createElementVNode"])("i",{class:"icon icon-chat-setting",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["manage",[e.isH5?"manage-h5":""]]),ref:"dialog"},[Object(M["createElementVNode"])("header",Ho,[e.isH5&&!e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("aside",zo,[e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[2]||(t[2]=t=>e.setTab(""))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.TabName)),1)])]),Object(M["createElementVNode"])("span",null,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[3]||(t[3]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),e.currentTab?"member"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(d,{key:1,self:e.conversation.groupProfile.selfInfo,list:e.userInfo.list,total:~~e.conversation.groupProfile.memberCount,isShowDel:"Owner"===e.conversation.groupProfile.selfInfo.role,onMore:t[14]||(t[14]=t=>e.getMember("more")),onDel:e.submit,onHandleMemberProfileShow:e.handleMemberProfileShow},null,8,["self","list","total","isShowDel","onDel","onHandleMemberProfileShow"])):"profile"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(u,{key:2,userInfo:e.currentMember},null,8,["userInfo"])):"notification"===e.currentTab?(Object(M["openBlock"])(),Object(M["createBlock"])(p,{key:3,isAuth:e.isAuth,data:e.conversation.groupProfile,onUpdate:e.updateProfile},null,8,["isAuth","data","onUpdate"])):"admin"===e.currentTab?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ea,[e.isAdmin?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ta,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群管理员")),1),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.member.admin,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:t},[Object(M["createElementVNode"])("dt",null,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,na)]),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128)),Object(M["createElementVNode"])("dl",null,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[15]||(t[15]=t=>e.toggleMask("addAdmin"))},"+")]),Object(M["createElementVNode"])("dl",null,[e.member.admin.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dt",{key:0,class:"avatar",onClick:t[16]||(t[16]=t=>e.toggleMask("removeAdmin"))},"-")):Object(M["createCommentVNode"])("",!0)])])])):Object(M["createCommentVNode"])("",!0),e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",oa,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.全员禁言")),1),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.全员禁言开启后,只允许群主和管理员发言。")),1)]),Object(M["createVNode"])(m,{open:e.conversation.groupProfile.muteAllMembers,onChange:e.setAllMuteTime},null,8,["open","onChange"])])):Object(M["createCommentVNode"])("",!0),e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",aa,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.单独禁言人员")),1),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.member.muteMember,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:t},[Object(M["createElementVNode"])("dt",null,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,ia)]),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128)),Object(M["createElementVNode"])("dl",null,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[17]||(t[17]=t=>e.toggleMask("addMute"))},"+")]),Object(M["createElementVNode"])("dl",null,[e.member.muteMember.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dt",{key:0,class:"avatar",onClick:t[18]||(t[18]=t=>e.toggleMask("removeMute"))},"-")):Object(M["createCommentVNode"])("",!0)])])])):Object(M["createCommentVNode"])("",!0)])):Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",Fo,[Object(M["createVNode"])(c,{class:"space-top",isAuth:e.isAuth,isH5:e.isH5,data:e.conversation.groupProfile,onUpdate:e.updateProfile},null,8,["isAuth","isH5","data","onUpdate"]),Object(M["createElementVNode"])("div",$o,[Object(M["createElementVNode"])("header",{class:"userInfo-header",onClick:t[4]||(t[4]=t=>e.setTab("member"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群成员")),1),Object(M["createElementVNode"])("p",null,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.conversation.groupProfile.memberCount)+Object(M["toDisplayString"])(e.$t("TUIChat.manage.人")),1),t[22]||(t[22]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])]),Object(M["createElementVNode"])("ol",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(null===(s=e.userInfo)||void 0===s||null===(s=s.list)||void 0===s?void 0:oo()(s).call(s,0,e.showUserNum),(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",{key:n},[Object(M["createElementVNode"])("dt",{onClick:n=>e.handleMemberProfileShow(t)},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Ko)],8,Yo),Object(M["createElementVNode"])("dd",null,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1)]))),128)),e.isShowAddMember?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",Wo,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[5]||(t[5]=t=>e.toggleMask("add"))},"+")])):Object(M["createCommentVNode"])("",!0),"Owner"===e.conversation.groupProfile.selfInfo.role?(Object(M["openBlock"])(),Object(M["createElementBlock"])("dl",qo,[Object(M["createElementVNode"])("dt",{class:"avatar",onClick:t[6]||(t[6]=t=>e.toggleMask("remove"))},"-")])):Object(M["createCommentVNode"])("",!0)])]),Object(M["createElementVNode"])("ul",{class:"content space-top",onClick:t[10]||(t[10]=t=>e.editLableName="")},[Object(M["createElementVNode"])("li",{onClick:t[7]||(t[7]=Object(M["withModifiers"])(t=>e.setTab("notification"),["stop"]))},[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群公告")),1),Object(M["createElementVNode"])("article",null,Object(M["toDisplayString"])(e.conversation.groupProfile.notification),1)]),t[23]||(t[23]=Object(M["createElementVNode"])("i",{class:"icon icon-right end"},null,-1))]),e.isAdmin&&e.isSetMuteTime?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[8]||(t[8]=Object(M["withModifiers"])(t=>e.setTab("admin"),["stop"]))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群管理")),1),t[24]||(t[24]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群ID")),1),Object(M["createElementVNode"])("div",Zo,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.conversation.groupProfile.groupID),1),Object(M["createElementVNode"])("i",{class:"icon icon-msg-copy",onClick:t[9]||(t[9]=(...t)=>e.handleGroupIDCopy&&e.handleGroupIDCopy(...t)),title:e.$t("TUIChat.复制")},null,8,Jo)])]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群头像")),1),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(r=e.conversation)||void 0===r||null===(r=r.groupProfile)||void 0===r?void 0:r.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Qo)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群类型")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.typeName[e.conversation.groupProfile.type])),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.加群方式")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage."+e.typeName[e.conversation.groupProfile.joinOption])),1)])]),Object(M["createElementVNode"])("ul",Xo,["Owner"===e.conversation.groupProfile.selfInfo.role&&(null===(l=e.userInfo)||void 0===l?void 0:l.list.length)>1?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,onClick:t[11]||(t[11]=Object(M["withModifiers"])(t=>e.toggleMask("changeOwner"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.转让群组")),1)):Object(M["createCommentVNode"])("",!0),e.isDismissGroupAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:1,onClick:t[12]||(t[12]=Object(M["withModifiers"])(t=>e.dismiss(e.conversation.groupProfile),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.解散群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:2,onClick:t[13]||(t[13]=Object(M["withModifiers"])(t=>e.quit(e.conversation.groupProfile),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.退出群组")),1))])])),Object(M["createVNode"])(v,{show:e.mask,"onUpdate:show":t[19]||(t[19]=t=>e.mask=t)},{default:Object(M["withCtx"])(()=>[Object(M["createVNode"])(h,{title:e.$t("TUIChat.manage."+e.transferTitle),list:e.transferList,isSearch:e.isSearch,isRadio:e.isRadio,selectedList:e.selectedList,onSubmit:e.submit,onCancel:e.cancel,onSearch:e.handleSearchMember,isH5:e.isH5},null,8,["title","list","isSearch","isRadio","selectedList","onSubmit","onCancel","onSearch","isH5"])]),_:1},8,["show"]),Object(M["createVNode"])(f,{title:e.$t("TUIChat.manage.删除成员"),show:e.delDialogShow,isH5:e.isH5,center:!0,isHeaderShow:!e.isH5,onSubmit:t[20]||(t[20]=t=>e.handleManage(e.userList,"remove")),"onUpdate:show":t[21]||(t[21]=t=>e.delDialogShow=t)},{default:Object(M["withCtx"])(()=>[1===e.userList.length?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",sa,Object(M["toDisplayString"])(e.$t("TUIChat.manage.确定从群聊中删除该成员?")),1)):Object(M["createCommentVNode"])("",!0),e.userList.length>1?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ra,Object(M["toDisplayString"])(e.$t("TUIChat.manage.确定从群聊中删除所选成员?")),1)):Object(M["createCommentVNode"])("",!0)]),_:1},8,["title","show","isH5","isHeaderShow"])],2)):Object(M["createCommentVNode"])("",!0)])}var ca=n("c52e"),da=n.n(ca);function ua(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"mask",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleView&&e.toggleView(...t),["self"]))},[Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])):Object(M["createCommentVNode"])("",!0)}var pa=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({show:!1});Object(M["watchEffect"])(()=>{n.show=e.show});const o=()=>{n.show=!n.show,t.emit("update:show",n.show)};return{...Object(M["toRefs"])(n),toggleView:o}}});n("1848");const ma=me()(pa,[["render",ua],["__scopeId","data-v-5acb611d"]]);var ha=ma;const va={key:0,class:"transfer-h5-header"},fa={class:"title"},ga={class:"main"},ba={class:"left"},Oa={key:0},ya=["placeholder"],ja={class:"list"},ka={class:"all"},Ia=["onClick"],wa=["src"],Ea={class:"name"},Ca={key:0},Ta={class:"right"},Sa={key:0},_a={class:"list"},Da={key:0},Na=["src"],Ua={key:0},Ba=["onClick"];function Ma(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["transfer",[e.isH5?"transfer-h5":""]])},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",va,[Object(M["createElementVNode"])("i",{class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))}),Object(M["createElementVNode"])("span",fa,Object(M["toDisplayString"])(e.title),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",ga,[Object(M["createElementVNode"])("div",ba,[e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Oa,[Object(M["createElementVNode"])("input",{type:"text",onKeyup:t[1]||(t[1]=Object(M["withKeys"])((...t)=>e.handleInput&&e.handleInput(...t),["enter"])),placeholder:e.$t("component.请输入userID"),enterkeyhint:"search"},null,40,ya)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("ul",ja,[e.optional.length>1&&!e.isRadio?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,class:"list-item",onClick:t[2]||(t[2]=(...t)=>e.selectedAll&&e.selectedAll(...t))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.selectedList.length===e.optional.length?"icon-selected":"icon-unselected"]])},null,2),Object(M["createElementVNode"])("span",ka,Object(M["toDisplayString"])(e.$t("component.全选")),1)])):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n,onClick:n=>e.selected(t)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[(null===t||void 0===t?void 0:t.isDisabled)&&"disabled",_()(o=e.selectedList).call(o,t)>-1?"icon-selected":"icon-unselected"]])},null,2),e.isCustomItem?Object(M["renderSlot"])(e.$slots,"left",{key:1,data:t},void 0,!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,wa),Object(M["createElementVNode"])("span",Ea,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1),null!==t&&void 0!==t&&t.isDisabled?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ca,"("+Object(M["toDisplayString"])(e.$t("component.已在群聊中"))+")",1)):Object(M["createCommentVNode"])("",!0)],64))],8,Ia)}),128))])])]),Object(M["createElementVNode"])("div",Ta,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Sa,Object(M["toDisplayString"])(e.title),1)),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",_a,[e.selectedList.length>0&&!e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",Da,Object(M["toDisplayString"])(e.$t("component.已选中"))+Object(M["toDisplayString"])(e.selectedList.length)+Object(M["toDisplayString"])(e.$t("component.人")),1)):Object(M["createCommentVNode"])("",!0),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.selectedList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item space-between",key:n},[Object(M["createElementVNode"])("aside",null,[e.isCustomItem?Object(M["renderSlot"])(e.$slots,"right",{key:1,data:t},void 0,!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Na),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ua,Object(M["toDisplayString"])(t.nick||t.userID),1))],64))]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-cancel",onClick:n=>e.selected(t)},null,8,Ba))]))),128))],512),[[M["vShow"],e.resultShow]]),Object(M["createElementVNode"])("footer",null,[Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t[3]||(t[3]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("component.取消")),1),e.selectedList.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn",onClick:t[4]||(t[4]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.完成")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn btn-no",onClick:t[5]||(t[5]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.完成")),1))])])])],2)}var xa=Object(M["defineComponent"])({props:{list:{type:Array,default:()=>[]},selectedList:{type:Array,default:()=>[]},isSearch:{type:Boolean,default:()=>!0},isRadio:{type:Boolean,default:()=>!1},isCustomItem:{type:Boolean,default:()=>!1},title:{type:String,default:()=>""},type:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},resultShow:{type:Boolean,default:()=>!0}},setup(e,t){const n=Object(M["reactive"])({type:"",list:[],selectedList:[],isSearch:!0,isCustomItem:!1,title:""});Object(M["watchEffect"])(()=>{if(e.isCustomItem)for(let a=0;a-1)T()(o=e.list).call(o,a,1);n.list=e.list}else n.list=e.list;n.selectedList=e.selectedList,n.isSearch=e.isSearch,n.isCustomItem=e.isCustomItem,n.title=e.title,n.type=e.type});const o=Object(M["computed"])(()=>{var e;return j()(e=n.list).call(e,e=>!e.isDisabled)}),a=e=>{t.emit("search",e.target.value)},i=t=>{if(t.isDisabled)return;let o=n.selectedList;const a=_()(o).call(o,t);var i;if(a>-1)return T()(i=n.selectedList).call(i,a,1);e.isRadio&&(o=[]),o.push(t),n.selectedList=o},s=()=>{n.selectedList.length===o.value.length?n.selectedList=[]:n.selectedList=[...o.value]},r=()=>{t.emit("submit",n.selectedList)},l=()=>{t.emit("cancel")};return{...Object(M["toRefs"])(n),optional:o,handleInput:a,selected:i,selectedAll:s,submit:r,cancel:l}}});n("dc3f");const Va=me()(xa,[["render",Ma],["__scopeId","data-v-88c982be"]]);var La=Va;function Ra(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["slider-box",[e.open&&"slider-open"]]),onClick:t[0]||(t[0]=(...t)=>e.toggle&&e.toggle(...t))},t[1]||(t[1]=[Object(M["createElementVNode"])("span",{class:"slider-block"},null,-1)]),2)}var Pa=Object(M["defineComponent"])({props:{open:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({open:!1});Object(M["watchEffect"])(()=>{n.open=e.open});const o=()=>{n.open=!n.open,t.emit("change",n.open)};return{...Object(M["toRefs"])(n),toggle:o}}});n("2b91");const Aa=me()(Pa,[["render",Ra],["__scopeId","data-v-759db46f"]]);var Ga=Aa;const Ha={class:"name"},za={key:0,class:"edit-h5-header"},Fa={class:"left"},$a={class:"input-box"},Ya={key:1},Ka={key:1,class:"edit-h5-footer"},Wa=["disabled"],qa={key:0,class:"icon icon-edit"};function Za(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ha,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.群名称")),1),e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])([e.isH5?"edit-h5":""]),ref:"dialog"},[Object(M["createElementVNode"])("main",null,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",za,[Object(M["createElementVNode"])("aside",Fa,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.修改群聊名称")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.manage.修改群聊名称后,将在群内通知其他成员")),1)]),Object(M["createElementVNode"])("span",{class:"close",onClick:t[0]||(t[0]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},Object(M["toDisplayString"])(e.$t("关闭")),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",$a,[e.isEdit?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,class:"input","onUpdate:modelValue":t[1]||(t[1]=t=>e.input=t),type:"text",onKeyup:t[2]||(t[2]=Object(M["withKeys"])((...t)=>e.updateProfile&&e.updateProfile(...t),["enter"]))},null,544)),[[M["vModelText"],e.input]]):Object(M["createCommentVNode"])("",!0),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ya,Object(M["toDisplayString"])(e.$t("TUIChat.manage.仅限中文、字母、数字和下划线,2-20个字")),1)):Object(M["createCommentVNode"])("",!0)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Ka,[Object(M["createElementVNode"])("button",{class:"btn",disabled:!e.input,onClick:t[3]||(t[3]=(...t)=>e.updateProfile&&e.updateProfile(...t))},Object(M["toDisplayString"])(e.$t("确认")),9,Wa)])):Object(M["createCommentVNode"])("",!0)])],2)):Object(M["createCommentVNode"])("",!0),!e.isEdit||e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:1,onClick:t[4]||(t[4]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.groupProfile.name),1),e.isAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",qa)):Object(M["createCommentVNode"])("",!0)])):Object(M["createCommentVNode"])("",!0)])}const Ja=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isAuth:{type:Boolean,default:!1},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({groupProfile:{},input:"",isEdit:!1});Object(M["watchEffect"])(()=>{n.groupProfile=e.data});const o=Object(M["ref"])();Object(wn["onClickOutside"])(o,()=>{n.isEdit=!1});const a=async()=>{n.input&&n.input!==n.groupProfile.name&&(t.emit("update",{key:"name",value:n.input}),n.groupProfile.name=n.input,n.input=""),i()},i=async()=>{e.isAuth&&(n.isEdit=!n.isEdit),n.isEdit&&(n.input=n.groupProfile.name)};return{...Object(M["toRefs"])(n),updateProfile:a,toggleEdit:i,dialog:o}}});var Qa=Ja;n("ae10");const Xa=me()(Qa,[["render",Za],["__scopeId","data-v-33cc130c"]]);var ei=Xa;const ti={class:"notification"},ni={key:1},oi={key:0},ai={key:1},ii={key:2};function si(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ti,[e.isEdit?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("textarea",{key:0,"onUpdate:modelValue":t[0]||(t[0]=t=>e.input=t),onKeyup:t[1]||(t[1]=Object(M["withKeys"])((...t)=>e.updateProfile&&e.updateProfile(...t),["enter"]))},null,544)),[[M["vModelText"],e.input]]):(Object(M["openBlock"])(),Object(M["createElementBlock"])("section",ni,[e.groupProfile.notification?(Object(M["openBlock"])(),Object(M["createElementBlock"])("article",ai,Object(M["toDisplayString"])(e.groupProfile.notification),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",oi,Object(M["toDisplayString"])(e.$t("TUIChat.manage.暂无公告")),1))])),e.isAuth?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",ii,[e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn",onClick:t[2]||(t[2]=(...t)=>e.updateProfile&&e.updateProfile(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.发布")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn",onClick:t[3]||(t[3]=t=>e.isEdit=!e.isEdit)},Object(M["toDisplayString"])(e.$t("TUIChat.manage.编辑")),1))])):Object(M["createCommentVNode"])("",!0)])}const ri=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},isAuth:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({groupProfile:{},input:"",isEdit:!1});Object(M["watchEffect"])(()=>{n.groupProfile=e.data,n.input=n.groupProfile.notification});const o=async()=>{n.input&&n.input!==n.groupProfile.notification&&(t.emit("update",{key:"notification",value:n.input}),n.groupProfile.notification=n.input,n.input=""),n.isEdit=!n.isEdit};return{...Object(M["toRefs"])(n),updateProfile:o}}});var li=ri;n("c548");const ci=me()(li,[["render",si],["__scopeId","data-v-30b370b1"]]);var di=ci;const ui={class:"member"},pi={class:"list"},mi=["onClick"],hi=["src"],vi={class:"name"},fi=["onClick"];function gi(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ui,[Object(M["createElementVNode"])("ul",pi,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n},[Object(M["createElementVNode"])("aside",{onClick:n=>e.handleMemberProfileShow(t)},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,hi),Object(M["createElementVNode"])("span",vi,Object(M["toDisplayString"])((null===t||void 0===t?void 0:t.nick)||(null===t||void 0===t?void 0:t.userID)),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.handleRoleName(t)),1)],8,mi),"Owner"!==t.role&&e.isShowDel?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-del",onClick:n=>e.submit(t)},null,8,fi)):Object(M["createCommentVNode"])("",!0)]))),128)),e.list.lengthe.getMore&&e.getMore(...t))},Object(M["toDisplayString"])(e.$t("TUIChat.manage.查看更多")),1)):Object(M["createCommentVNode"])("",!0)])])}var bi=n("e23e"),Oi=n.n(bi);const yi=Object(M["defineComponent"])({components:{},props:{list:{type:Array,default:()=>[]},total:{type:Number,default:()=>0},isShowDel:{type:Boolean,default:()=>!1},self:{type:Object,default:()=>({})}},setup(e,t){const n=Oi.a.TYPES,o=Object(M["reactive"])({total:0,list:[],isShowDel:!1,self:{}});Object(M["watchEffect"])(()=>{o.total=e.total,o.isShowDel=e.isShowDel,o.list=e.list,o.self=e.self});const a=e=>{const{t:t}=window.TUIKitTUICore.config.i18n.useI18n();let a="";switch(null===e||void 0===e?void 0:e.role){case n.GRP_MBR_ROLE_ADMIN:a=t("TUIChat.manage.管理员");break;case n.GRP_MBR_ROLE_OWNER:a=t("TUIChat.manage.群主");break}return a&&(a=`(${a})`),e.userID===o.self.userID&&(a+=` (${t("TUIChat.manage.我")})`),a},i=()=>{t.emit("more")},s=e=>{t.emit("del",[e])},r=e=>{t.emit("handleMemberProfileShow",e)};return{...Object(M["toRefs"])(o),getMore:i,submit:s,handleRoleName:a,handleMemberProfileShow:r}}});var ji=yi;n("cb8a");const ki=me()(ji,[["render",gi],["__scopeId","data-v-806f1058"]]);var Ii=ki;const wi={class:"memeber-profile"},Ei={class:"memeber-profile-main"},Ci=["src"],Ti={class:"list"},Si={class:"memeber-profile-footer"};function _i(e,t,n,o,a,i){var s,r,l,c,d;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",wi,[Object(M["createElementVNode"])("div",Ei,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(s=e.userInfo)||void 0===s?void 0:s.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Ci),Object(M["createElementVNode"])("ul",Ti,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(r=e.userInfo)||void 0===r?void 0:r.nick)||(null===(l=e.userInfo)||void 0===l?void 0:l.userID)),1),Object(M["createElementVNode"])("li",null,[t[1]||(t[1]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(c=e.userInfo)||void 0===c?void 0:c.userID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(d=e.userInfo)||void 0===d?void 0:d.selfSignature),1)])])]),Object(M["createElementVNode"])("div",Si,[e.showEnter()?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"button",onClick:t[0]||(t[0]=t=>{var n;return e.enter(null===(n=e.userInfo)||void 0===n?void 0:n.userID,"C2C")})},Object(M["toDisplayString"])(e.$t("TUIContact.发送消息")),1)):Object(M["createCommentVNode"])("",!0)])])}const Di=Object(M["defineComponent"])({props:{userInfo:{type:Object,default:()=>({})}},setup(e,t){const n=null===Fi||void 0===Fi?void 0:Fi.TUIServer,o=Object(M["reactive"])({isFriendShip:!1,userInfo:{},self:{}});Object(M["watchEffect"])(()=>{o.self=e.self}),Object(M["watch"])(()=>e.userInfo,async(t,a)=>{var s;if(t===a)return;const r=await n.getUserProfile([null===e||void 0===e||null===(s=e.userInfo)||void 0===s?void 0:s.userID]);o.userInfo=null===r||void 0===r?void 0:r.data[0],i()},{deep:!0,immediate:!0});const a=async(e,t)=>{const o=`${t}${e}`;n.TUICore.TUIServer.TUIConversation.getConversationProfile(o).then(e=>{n.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation)})},i=async()=>{if(!o.userInfo.userID)return;const e=await n.checkFriend(o.userInfo.userID,ao["a"].TYPES.SNS_CHECK_TYPE_BOTH);o.isFriendShip=e===ao["a"].TYPES.SNS_TYPE_BOTH_WAY},s=()=>{var e;return o.isFriendShip||!(null!==n&&void 0!==n&&null!==(e=n.TUICore)&&void 0!==e&&e.isOfficial)};return{...Object(M["toRefs"])(o),enter:a,showEnter:s}}});var Ni=Di;n("fe1e");const Ui=me()(Ni,[["render",_i],["__scopeId","data-v-29f6ea36"]]);var Bi=Ui;const Mi={key:0},xi={class:"dialog-main-content"},Vi={key:1};function Li(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["dialog",[e.isH5?"dialog-h5":"",e.center?"center":""]]),onClick:t[3]||(t[3]=Object(M["withModifiers"])((...t)=>e.toggleView&&e.toggleView(...t),["self"]))},[Object(M["createElementVNode"])("main",{class:"dialog-main",style:Object(M["normalizeStyle"])(!e.background&&{background:"none"})},[e.isHeaderShow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",Mi,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.title),1),Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:t[0]||(t[0]=(...t)=>e.toggleView&&e.toggleView(...t))})])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",xi,[Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)]),e.isFooterShow?(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Vi,[Object(M["createElementVNode"])("button",{class:"btn btn-cancel",onClick:t[1]||(t[1]=(...t)=>e.toggleView&&e.toggleView(...t))},Object(M["toDisplayString"])(e.$t("component.取消")),1),Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t[2]||(t[2]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("component.确定")),1)])):Object(M["createCommentVNode"])("",!0)],4)],2)):Object(M["createCommentVNode"])("",!0)}var Ri=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isHeaderShow:{type:Boolean,default:()=>!0},isFooterShow:{type:Boolean,default:()=>!0},background:{type:Boolean,default:()=>!0},title:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},center:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({show:!1,isHeaderShow:!0,isFooterShow:!0,background:!0,title:""});Object(M["watchEffect"])(()=>{n.show=e.show,n.title=e.title,n.isHeaderShow=e.isHeaderShow,n.isFooterShow=e.isFooterShow,n.background=e.background});const o=()=>{n.show=!n.show,t.emit("update:show",n.show)},a=()=>{t.emit("submit"),o()};return{...Object(M["toRefs"])(n),toggleView:o,submit:a}}});n("606b");const Pi=me()(Ri,[["render",Li],["__scopeId","data-v-087d9968"]]);var Ai=Pi;const Gi=Object(M["defineComponent"])({components:{Mask:ha,Transfer:La,Slider:Ga,ManageName:ei,ManageNotification:di,ManageMember:Ii,MemeberProfile:Bi,Dialog:Ai},props:{userInfo:{type:Object,default:()=>({isGroup:!1,list:[]})},conversation:{type:Object,default:()=>({})},show:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){var n;const o=Gi.TUIServer.TUICore.TIM.TYPES,{GroupServer:a}=Gi,{t:i}=Gi.TUIServer.TUICore.config.i18n.useI18n(),s=Object(M["reactive"])({conversation:{},userInfo:{isGroup:!1,list:[]},isShowMuteTimeInput:!1,editLableName:"",mask:!1,currentTab:"",transferType:"",isSearch:!1,isRadio:!1,transferList:[],selectedList:[],isMuteTime:!1,show:!1,typeName:{[o.GRP_WORK]:"好友工作群",[o.GRP_PUBLIC]:"陌生人社交群",[o.GRP_MEETING]:"临时会议群",[o.GRP_AVCHATROOM]:"直播群",[o.JOIN_OPTIONS_FREE_ACCESS]:"自由加入",[o.JOIN_OPTIONS_NEED_PERMISSION]:"需要验证",[o.JOIN_OPTIONS_DISABLE_APPLY]:"禁止加群"},delDialogShow:!1,userList:[],transferTitle:"",member:{admin:[],member:[],muteMember:[]},currentMember:{}}),r=Object(M["ref"])();Object(M["watchEffect"])(()=>{s.conversation=e.conversation,s.userInfo=e.userInfo,s.show=e.show});const c=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===sn["b"]||void 0===sn["b"]?void 0:sn["b"].useStore())||{},d=Object(M["computed"])(()=>{let e="";switch(s.currentTab){case"notification":e="群公告";break;case"member":e="群成员";break;case"profile":e="群成员";break;default:e="群管理";break}return e});Object(M["watch"])(()=>s.userInfo.list,(e,t)=>{s.member={admin:[],member:[],muteMember:[]},l()(e).call(e,e=>{switch(null===e||void 0===e?void 0:e.role){case o.GRP_MBR_ROLE_ADMIN:s.member.admin.push(e);break;case o.GRP_MBR_ROLE_MEMBER:s.member.member.push(e);break;default:break}return e});const n=(new Date).getTime();s.member.muteMember=j()(e).call(e,e=>1e3*(null===e||void 0===e?void 0:e.muteUntil)-n>0)},{deep:!0});const u=Object(M["computed"])(()=>{var e,t;const{conversation:n}=s,a=null===n||void 0===n||null===(e=n.groupProfile)||void 0===e?void 0:e.selfInfo.role,i=null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.type,r=a===o.GRP_MBR_ROLE_OWNER,l=i===o.GRP_WORK;return r&&!l}),p=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.type,a=n===o.GRP_WORK;return!!a}),m=Object(M["computed"])(()=>{let e=3;return p.value||(e+=1),"Owner"!==s.conversation.groupProfile.selfInfo.role&&(e+=1),e}),h=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.selfInfo.role,a=n===o.GRP_MBR_ROLE_OWNER,i=n===o.GRP_MBR_ROLE_ADMIN;return a||i}),v=Object(M["computed"])(()=>{var e,t;const{conversation:n}=s,a=null===n||void 0===n||null===(e=n.groupProfile)||void 0===e?void 0:e.type,i=null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.selfInfo.role,r=i===o.GRP_MBR_ROLE_OWNER,l=a===o.GRP_WORK,c=a===o.GRP_AVCHATROOM;return!(l||c||!r)}),f=Object(M["computed"])(()=>{var e;const{conversation:t}=s,n=null===t||void 0===t||null===(e=t.groupProfile)||void 0===e?void 0:e.type,a=n===o.GRP_WORK;return!(a||!h.value)}),g=e=>{var t;const{conversation:n}=s,o={groupID:null===n||void 0===n||null===(t=n.groupProfile)||void 0===t?void 0:t.groupID,count:100,offset:e&&"more"===e?s.userInfo.list.length:0};a.getGroupMemberList(o).then(t=>{s.userInfo.list=e&&"more"===e?[...s.userInfo.list,...t.data.memberList]:t.data.memberList})},b=async e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:e};await a.addGroupMember(n),g("More")},O=e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:[e.userID]};a.deleteGroupMember(n)},y=async e=>{const t={groupID:s.conversation.groupProfile.groupID,newOwnerID:e},n=await a.changeGroupOwner(t);s.conversation.groupProfile={},s.conversation.groupProfile=n.data.group},k=async e=>{await a.quitGroup(e.groupID),Gi.TUIServer.store.conversation={}},I=async e=>{var t;await a.dismissGroup(e.groupID),Gi.TUIServer.store.conversation={},(null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t?void 0:t.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",5))},w=async e=>{const{conversation:t}=s;let n="";switch(e.role){case o.GRP_MBR_ROLE_ADMIN:n=o.GRP_MBR_ROLE_MEMBER;break;case o.GRP_MBR_ROLE_MEMBER:n=o.GRP_MBR_ROLE_ADMIN;break}const i={groupID:t.groupProfile.groupID,userID:e.userID,role:n};await a.setGroupMemberRole(i),g()},E=async(e,t)=>{const{conversation:n}=s,o={groupID:n.groupProfile.groupID,userID:e,muteTime:"add"===t?2592e3:0};var i;(await a.setGroupMemberMuteTime(o),"add"===t)&&((null===(i=window)||void 0===i||null===(i=i.TUIKitTUICore)||void 0===i?void 0:i.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",4)));g()},C=async e=>{const{conversation:t}=s,n={groupID:t.groupProfile.groupID,userIDList:e,reason:""};await a.deleteGroupMember(n),g()},T=e=>{s.editLableName=e},S=async e=>{const{key:t,value:n}=e,o={groupID:s.conversation.groupProfile.groupID,[t]:n},i=await a.updateGroupProfile(o),{conversation:r}=Gi.TUIServer.store;r.groupProfile=i.data.group,Gi.TUIServer.store.conversation={},Gi.TUIServer.store.conversation=r,s.editLableName=""},_=e=>{s.currentTab=e,s.editLableName="","member"===s.currentTab&&(s.transferType="remove"),s.currentTab||(s.transferType="")},D=async t=>{let n={},o={};const r={groupID:s.conversation.groupProfile.groupID,userIDList:[t]};switch(s.transferType){case"add":try{var c,d,u;if(o=await a.getGroupMemberProfile(r),s.transferList=j()(c=s.transferList).call(c,e=>{var t;return e.userID!==(null===(t=n.data[0])||void 0===t?void 0:t.userID)}),s.transferList=[...s.transferList,...n.data],(null===(d=o)||void 0===d||null===(d=d.data)||void 0===d?void 0:d.memberList.length)>0)s.transferList=l()(u=s.transferList).call(u,e=>{var t;return e.userID===(null===(t=o)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.memberList[0].userID)&&(e.isDisabled=!0),e})}catch(h){const t=i("TUIChat.manage.该用户不存在");Object(En["b"])(t,e)}break;case"remove":try{var p,m;if(n=await a.getGroupMemberProfile(r),0===n.data.memberList.length){const t=i("TUIChat.manage.该用户不在群组内");return Object(En["b"])(t,e)}s.transferList=j()(p=s.transferList).call(p,e=>{var t;return e.userID!==(null===(t=n)||void 0===t||null===(t=t.data)||void 0===t||null===(t=t.memberList[0])||void 0===t?void 0:t.userID)}),s.transferList=[...s.transferList,...null===(m=n)||void 0===m||null===(m=m.data)||void 0===m?void 0:m.memberList]}catch(h){const t=i("TUIChat.manage.该用户不存在");Object(En["b"])(t,e)}break;default:break}},N=e=>{"remove"===s.transferType?(s.userList=e,s.delDialogShow=!s.delDialogShow):R(e,s.transferType),s.mask=!1},U=async()=>{var e;const t=await Gi.TUIServer.getFriendList(),n=l()(e=t.data).call(e,e=>null===e||void 0===e?void 0:e.profile);return j()(n).call(n,e=>{var t;return!da()(t=s.userInfo.list).call(t,t=>t.userID===e.userID)})},B=()=>{x()},x=async e=>{var t;switch(s.selectedList=[],e){case"add":s.isRadio=!1,s.transferList=await U(),s.transferTitle="添加成员";break;case"remove":s.isRadio=!1,s.transferList=j()(t=s.userInfo.list).call(t,e=>{var t;return e.userID!==(null===(t=s.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.selfInfo.userID)}),s.transferTitle="删除成员";break;case"addAdmin":s.isRadio=!0,s.transferList=s.member.member,s.transferTitle="新增管理员";break;case"removeAdmin":s.isRadio=!0,s.transferList=s.member.admin,s.transferTitle="移除管理员";break;case"changeOwner":s.isRadio=!0,s.transferList=[...s.member.admin,...s.member.member],s.transferTitle="转让群组";break;case"addMute":s.isRadio=!0,s.transferList=s.member.member,"Owner"===s.conversation.groupProfile.selfInfo.role&&(s.transferList=[...s.member.admin,...s.member.member]),s.transferTitle="新增禁言用户";break;case"removeMute":s.isRadio=!0,s.transferList=s.member.muteMember,s.transferTitle="移除禁言用户";break;default:break}s.transferType=e,s.mask=!s.mask};Object(wn["onClickOutside"])(r,()=>{s.show=!1});const V=()=>{if(!a){const t=i("TUIChat.manage.请先注册 TUIGroup 模块");return Object(En["b"])(t,e)}s.show=!s.show,s.show||(s.currentTab=""),s.show&&(g(),an.getInstance().reportEvent({name:"showGroupManage",ext1:"showGroupManage"}))},L=e=>{var t;S({key:"muteAllMembers",value:e}),(null===(t=window)||void 0===t||null===(t=t.TUIKitTUICore)||void 0===t?void 0:t.isOfficial)&&(null===c||void 0===c?void 0:c.commit)&&(null===c||void 0===c||c.commit("handleTask",4))},R=(e,t)=>{const n=[];switch(l()(e).call(e,e=>(n.push(e.userID),e)),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupOptions"}),t){case"add":b(n),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddMember"});break;case"remove":C(n),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveMember"});break;case"addAdmin":w(e[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddAdmin"});break;case"removeAdmin":w(e[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveAdmin"});break;case"changeOwner":y(n[0]),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupChangeOwner"});break;case"addMute":E(n[0],"add"),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupAddMute"});break;case"removeMute":E(n[0],"remove"),an.getInstance().reportEvent({name:"groupOptions",ext1:"groupRemoveMute"});break;default:break}},P=async()=>{try{var e;const{toClipboard:t}=Object(No["a"])();await t(null===s||void 0===s||null===(e=s.conversation)||void 0===e||null===(e=e.groupProfile)||void 0===e?void 0:e.groupID)}catch(t){Object(En["b"])(t,s.env)}},A=e=>{s.currentMember=e,_("profile")};return{...Object(M["toRefs"])(s),isDismissGroupAuth:u,isShowAddMember:p,isSetMuteTime:f,isAdmin:v,isAuth:h,addMember:b,deleteMember:O,changeOwner:y,quit:k,dismiss:I,handleAdmin:w,setMemberMuteTime:E,kickedOut:C,edit:T,updateProfile:S,setTab:_,TabName:d,getMember:g,handleSearchMember:D,submit:N,cancel:B,toggleMask:x,toggleShow:V,setAllMuteTime:L,handleManage:R,showUserNum:m,dialog:r,handleGroupIDCopy:P,handleMemberProfileShow:A}}});var Hi=Gi;n("5392");const zi=me()(Hi,[["render",la],["__scopeId","data-v-f731557c"]]);var Fi=zi,$i=n("0613");const Yi={product:{label:"产品文档",url:"https://cloud.tencent.com/document/product/269/1499#.E7.BE.A4.E7.BB.84.E5.8A.9F.E8.83.BD"},customMessage:{label:"自定义消息",url:"https://web.sdk.qcloud.com/im/doc/zh-cn/SDK.html#createCustomMessage"},complaint:{label:"点此投诉",url:"https://cloud.tencent.com/apply/p/xc3oaubi98g"},implement:{label:"集成TUICallKit",url:"https://cloud.tencent.com/document/product/269/79861"},purchase:{label:"开通腾讯实时音视频服务",url:"https://cloud.tencent.com/document/product/1640/79968"}};var Ki=Yi,Wi=n("505e"),qi=n.n(Wi),Zi=n("a4fc"),Ji=n.n(Zi),Qi=n("5202"),Xi=n("41b5"),es=n("ec4e"),ts=n("600a"),ns=n("2c34"),os=n("cfd7"),as=n("36f7"),is=n("1ad4"),ss=as["a"].extend({name:"custom-image",addAttributes(){return{...as["a"].config.addAttributes(),class:{default:"image",rendered:!1}}},addCommands(){return{setImage:e=>({tr:t,commands:n})=>{var o;return"custom-image"==(null===(o=t.selection)||void 0===o||null===(o=o.node)||void 0===o||null===(o=o.type)||void 0===o?void 0:o.name)?n.updateAttributes("custom-image",e):n.insertContent({type:this.name,attrs:e})}}},renderHTML({node:e,HTMLAttributes:t}){return t.class="custom-image-"+e.attrs.class,["img",Object(is["k"])(this.options.HTMLAttributes,t)]}});const rs={class:"memberList",ref:"dialog"},ls={key:0,class:"memberList-title"},cs={class:"title"},ds={class:"memberList-box"},us=["onClick"],ps=["src"];function ms(e,t,n,o,a,i){return e.showAtList?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["message-input-at",[e.isH5&&"message-input-at-h5"]]),ref:"MessageInputAt"},[Object(M["createElementVNode"])("div",rs,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",ls,[Object(M["createElementVNode"])("span",cs,Object(M["toDisplayString"])(e.$t("TUIChat.选择提醒的人")),1),Object(M["createElementVNode"])("i",{class:"icon icon-close close",onClick:t[0]||(t[0]=(...t)=>e.closeAt&&e.closeAt(...t))})])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("ul",ds,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.showMemberList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["memberList-box-body",[n===e.selectedIndex&&"selected"]]),key:n,onClick:t=>e.selectItem(n),ref_for:!0,ref:"memberListItems"},[Object(M["createElementVNode"])("img",{src:(null===t||void 0===t?void 0:t.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png"},null,8,ps),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null!==t&&void 0!==t&&t.nick?null===t||void 0===t?void 0:t.nick:null===t||void 0===t?void 0:t.userID),1)],10,us))),128))])],512)],2)):Object(M["createCommentVNode"])("",!0)}var hs=n("703d"),vs=n.n(hs);const fs=Object(M["ref"])(),gs=Object(M["ref"])(!1),bs=Object(M["ref"])(),Os=Object(M["ref"])(),ys=Object(M["ref"])({left:0,top:0}),js=Object(M["ref"])(),ks=Object(M["ref"])(0),Is=Object(M["ref"])(),ws=Object(M["ref"])(!1),Es=()=>({allowedPrefixes:null,items:e=>{var t;const n=null===bs||void 0===bs||null===(t=bs.value)||void 0===t?void 0:j()(t).call(t,t=>{var n,o,a,i;return(null===t||void 0===t||null===(n=t.nick)||void 0===n||null===(n=n.toLowerCase())||void 0===n?void 0:Ji()(n).call(n,null===e||void 0===e||null===(o=e.query)||void 0===o?void 0:o.toLowerCase()))||(null===t||void 0===t||null===(a=t.userID)||void 0===a||null===(a=a.toLowerCase())||void 0===a?void 0:Ji()(a).call(a,null===e||void 0===e||null===(i=e.query)||void 0===i?void 0:i.toLowerCase()))});return Os.value=null!==n&&void 0!==n&&n.length?n:bs.value,Os.value},render:()=>({onStart:e=>{if(gs.value=!0,null===e||void 0===e||!e.clientRect)return;const t=null===e||void 0===e?void 0:e.clientRect();null!==t&&void 0!==t&&t.left&&null!==t&&void 0!==t&&t.top&&!ws.value&&(ys.value={left:null===t||void 0===t?void 0:t.left,top:null===t||void 0===t?void 0:t.top}),js.value=e.command},onUpdate(e){if(null===e||void 0===e||!e.clientRect)return;const t=null===e||void 0===e?void 0:e.clientRect();null!==t&&void 0!==t&&t.left&&null!==t&&void 0!==t&&t.top&&!ws.value&&(ys.value={left:null===t||void 0===t?void 0:t.left,top:null===t||void 0===t?void 0:t.top})},onKeyDown(e){var t,n;"Enter"===e.event.key&&(null===(t=e.event)||void 0===t||t.stopPropagation(),null===(n=e.event)||void 0===n||n.preventDefault());return"Escape"===e.event.key?(gs.value=!1,Os.value=bs.value,!0):"ArrowUp"===(null===e||void 0===e?void 0:e.event.key)?(Cs(),!0):"ArrowDown"===(null===e||void 0===e?void 0:e.event.key)?(Ts(),!0):"Enter"===(null===e||void 0===e?void 0:e.event.key)&&(Ss(),!0)},onExit(e){gs.value=!1,Os.value=bs.value,ys.value={left:0,top:0}}})}),Cs=()=>{var e,t,n,o;null!==Os&&void 0!==Os&&null!==(e=Os.value)&&void 0!==e&&e.length&&(ks.value=(ks.value+(null===Os||void 0===Os||null===(t=Os.value)||void 0===t?void 0:t.length)-1)%(null===Os||void 0===Os||null===(n=Os.value)||void 0===n?void 0:n.length),null===Is||void 0===Is||null===(o=Is.value[ks.value])||void 0===o||o.scrollIntoView(!1))},Ts=()=>{var e,t,n;null!==Os&&void 0!==Os&&null!==(e=Os.value)&&void 0!==e&&e.length&&(ks.value=(ks.value+1)%(null===Os||void 0===Os||null===(t=Os.value)||void 0===t?void 0:t.length),null===Is||void 0===Is||null===(n=Is.value[ks.value])||void 0===n||n.scrollIntoView(!1))},Ss=()=>{_s(ks.value)},_s=e=>{var t;if(null===bs||void 0===bs||null===(t=bs.value)||void 0===t||!t.length)return;const n=null===bs||void 0===bs?void 0:bs.value[e];n&&js.value&&js.value({id:null===n||void 0===n?void 0:n.userID,label:(null===n||void 0===n?void 0:n.nick)||(null===n||void 0===n?void 0:n.userID)})},Ds=Object(M["defineComponent"])({props:{memberList:{type:Array,default:()=>[]},isGroup:{type:Boolean,default:!1},selfInfo:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e){const{memberList:t,isGroup:n,selfInfo:o}=Object(M["toRefs"])(e),a={userID:ao["a"].TYPES.MSG_AT_ALL,nick:"所有人",isAll:!0,avatar:vs.a},i=Object(M["ref"])();Object(M["watchEffect"])(()=>{gs.value=gs.value&&n.value,ws.value=e.isH5}),Object(M["watch"])(()=>t.value,()=>{var e,n,i;null!==t&&void 0!==t&&null!==(e=t.value[0])&&void 0!==e&&e.isAll||(null===t||void 0===t||null===(i=t.value)||void 0===i||i.unshift(a));const s=null===t||void 0===t||null===(n=t.value)||void 0===n?void 0:j()(n).call(n,e=>{var t;return(null===e||void 0===e?void 0:e.userID)!==(null===o||void 0===o||null===(t=o.value)||void 0===t?void 0:t.userID)});bs.value=s,Os.value=s},{deep:!0,immediate:!0}),Object(M["watch"])(()=>[ys.value,null===fs||void 0===fs?void 0:fs.value],()=>{var e;!ws.value&&null!==fs&&void 0!==fs&&fs.value&&null!==fs&&void 0!==fs&&null!==(e=fs.value)&&void 0!==e&&e.style&&(fs.value.style.left=ys.value.left+"px",fs.value.style.top=ys.value.top-fs.value.clientHeight+"px")},{deep:!0,immediate:!0});const s=()=>{gs.value=!1,Os.value=bs.value,ys.value={left:0,top:0}};return Object(wn["onClickOutside"])(i,()=>{s()}),{selectedIndex:ks,selectItem:_s,showAtList:gs,closeAt:s,showMemberList:Os,allMemberList:bs,MessageInputAt:fs,memberListItems:Is,dialog:i}}});var Ns=Ds;n("4712");const Us=me()(Ns,[["render",ms],["__scopeId","data-v-29169fdf"]]);var Bs=Us,Ms=Object(M["defineComponent"])({__name:"message-input-editor",props:{placeholder:{type:String,default:"this is placeholder"},replayOrReferenceMessage:{type:Object,default:()=>({})},isMute:{type:Boolean,default:!0},muteText:{type:String,default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableDragUpload:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},isH5:{type:Boolean,default:!0},isGroup:{type:Boolean,default:!1}},emits:["sendMessage","onTyping"],setup(e,{expose:t,emit:n}){const o=e,i=n,{placeholder:s,isH5:r,enableAt:l,enableDragUpload:c,isGroup:d,enableTyping:u}=Object(M["toRefs"])(o),p=Object(M["ref"])(!0),m=Object(M["ref"])(!0),h=Object(Qi["b"])({extensions:[Xi["a"],es["a"],ns["a"],ts["a"].configure({emptyEditorClass:"is-editor-empty",placeholder:s.value}),os["a"].configure({HTMLAttributes:{class:"mention"},suggestion:l.value&&Es()}),ss.configure({inline:!0,allowBase64:!0,HTMLAttributes:{class:"custom-image"}})],autofocus:!0,editable:!0,injectCSS:!1,onUpdate({editor:e,transaction:t}){var n;u.value&&!d.value&&(m.value=!e.isFocused,(null===t||void 0===t||null===(n=t.doc)||void 0===n||null===(n=n.content)||void 0===n?void 0:n.size)>2?p.value=!1:p.value=!0,i("onTyping",p.value,m.value))},onFocus(){var e;if(r.value&&null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style){const e=document.body.scrollHeight-window.innerHeight;document.getElementById("app").style.marginBottom=e+"px",document.getElementById("app").style.height=`calc(100% - ${e}px)`}u.value&&!d.value&&(m.value=!0,i("onTyping",p.value,m.value))},onBlur(){var e;r.value&&null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style&&(document.getElementById("app").style.marginBottom="",document.getElementById("app").style.height="100%"),u.value&&!d.value&&(m.value=!0,i("onTyping",p.value,m.value))}}),v=Object(M["ref"])(),f=e=>{var t;null!==r&&void 0!==r&&r.value||(null===e||void 0===e||e.preventDefault(),null===e||void 0===e||e.stopPropagation(),13===e.keyCode&&e.ctrlKey?null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent("

"):13===e.keyCode&&i("sendMessage"))},b=new qi.a,y=async(e,t)=>{if(e.preventDefault(),e.stopPropagation(),!r.value&&(null!==c&&void 0!==c&&c.value||"drop"!==t)&&("drop"===t&&e.dataTransfer||"paste"===t&&e.clipboardData)){var n,o;const s="drop"===t?null===e||void 0===e||null===(n=e.dataTransfer)||void 0===n?void 0:n.files:null===e||void 0===e||null===(o=e.clipboardData)||void 0===o?void 0:o.files;for(let e=0;e{var e,t;null===h||void 0===h||null===(e=h.value)||void 0===e||null===(e=e.commands)||void 0===e||e.focus("end"),null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.scrollIntoView()},10)}}},j=new qi.a,k=(e,t)=>new g.a((n,o)=>{if(j.has(t))n(j.get(t));else{let a=new Image;a.crossOrigin="anonymous",a.onload=()=>{j.set(t,a),n(a)},a.onerror=o,a.src=e}}),I=async e=>{const{name:t,type:n}=e,o=document.createElement("canvas");let a=160,i=50;o.style.width=a+"px",o.style.height=i+"px";var s=window.devicePixelRatio;o.width=Math.floor(a*s),o.height=Math.floor(i*s);const r=o.getContext("2d");if(!r)return"";r.scale(s,s);const{iconSrc:l,iconType:c}=w(n),d=await k(l,c);null===r||void 0===r||r.drawImage(d,10,10,30,30);const u=E(t);r.fillText(u,45,22);const p=o.toDataURL();return p},w=e=>{const t="https://web.sdk.qcloud.com/component/TUIKit/assets/file-",n=["image","pdf","text","ppt","presentation","sheet","zip","word","video","unknown"];let o="",i="";return a()(n).call(n,n=>{re()(e).call(e,n)&&(o=t+n+".svg",i=n)}),{iconSrc:o||t+"unknown.svg",iconType:i||"unknown"}},E=e=>{if(!e)return e;let t="",n=0;for(let o=0;o<(null===e||void 0===e?void 0:e.length);o++){if(n>16){t+="...";break}t+=e[o],/[a-z]|[0-9]|[,;.!@#-+/\\$%^*()<>?:"'{}~]/i.test(e[o])?n+=1:n+=2}return t},C=()=>T(),T=()=>{var e;const t=null===h||void 0===h||null===(e=h.value)||void 0===e?void 0:e.getJSON(),n=[],o=e=>{var t;e&&e.type&&("text"===e.type||"custom-image"===e.type||"mention"===e.type?i(e):("paragraph"===e.type&&i(e),e.content&&e.content.length&&a()(t=e.content).call(t,e=>{o(e)})))},i=e=>{var t,o,a,i;if("paragraph"===e.type)n.length>0&&n[n.length-1]&&"text"===(null===(i=n[n.length-1])||void 0===i?void 0:i.type)&&(n[n.length-1].payload.text+="\n");else if("text"===e.type||"custom-image"===e.type&&"emoji"===(null===e||void 0===e||null===(t=e.attrs)||void 0===t?void 0:t.class)){var s,r;const t="text"===e.type?null===e||void 0===e?void 0:e.text:null===e||void 0===e||null===(s=e.attrs)||void 0===s?void 0:s.alt;n.length>0&&n[n.length-1]&&"text"===(null===(r=n[n.length-1])||void 0===r?void 0:r.type)?n[n.length-1].payload.text+=t:n.push({type:"text",payload:{text:t}})}else if("custom-image"===e.type&&"normal"===(null===e||void 0===e||null===(o=e.attrs)||void 0===o?void 0:o.class)){var l;n.push({type:"image",payload:{file:null===b||void 0===b?void 0:b.get(null===e||void 0===e||null===(l=e.attrs)||void 0===l?void 0:l.src)}})}else if("custom-image"===e.type&&"file"===(null===e||void 0===e||null===(a=e.attrs)||void 0===a?void 0:a.class)){var c,d;const t=null===b||void 0===b?void 0:b.get(null===e||void 0===e||null===(c=e.attrs)||void 0===c?void 0:c.src);n.push({type:null!==t&&void 0!==t&&null!==(d=t.type)&&void 0!==d&&re()(d).call(d,"video")?"video":"file",payload:{file:t}})}else if("mention"===e.type){var u,p,m;const t="@"+(null===e||void 0===e||null===(u=e.attrs)||void 0===u?void 0:u.label)+" ";var h,v,f;if(n.length>0&&n[n.length-1]&&"text"===(null===(p=n[n.length-1])||void 0===p?void 0:p.type)?n[n.length-1].payload.text+=t:n.push({type:"text",payload:{text:t}}),null!==(m=n[n.length-1])&&void 0!==m&&null!==(m=m.payload)&&void 0!==m&&m.atUserList)null===(h=n[n.length-1])||void 0===h||null===(h=h.payload)||void 0===h||null===(h=h.atUserList)||void 0===h||h.push(null===e||void 0===e||null===(v=e.attrs)||void 0===v?void 0:v.id);else n[n.length-1].payload.atUserList=[null===e||void 0===e||null===(f=e.attrs)||void 0===f?void 0:f.id]}};return o(t),n},S=e=>{var t,n,o;null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent({type:"custom-image",attrs:{src:null===e||void 0===e?void 0:e.url,alt:null===e||void 0===e?void 0:e.name,title:null===e||void 0===e?void 0:e.name,class:"emoji"}}),null===h||void 0===h||null===(n=h.value)||void 0===n||n.commands.focus("end"),null===h||void 0===h||null===(o=h.value)||void 0===o||null===(o=o.commands)||void 0===o||o.scrollIntoView()},_=()=>{var e,t;null===h||void 0===h||null===(e=h.value)||void 0===e||null===(e=e.commands)||void 0===e||e.clearContent(!0),null===b||void 0===b||b.clear(),null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.focus("end"),m.value=!0,p.value=!0},D=e=>{var t;null===h||void 0===h||null===(t=h.value)||void 0===t||null===(t=t.commands)||void 0===t||t.insertContent(e)};return t({getEditorContent:C,addEmoji:S,resetEditor:_,setEditorContent:D}),(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input-container",Object(M["unref"])(r)&&"message-input-container-h5"])},[Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"message-input-mute"},Object(M["toDisplayString"])(t.$t("TUIChat."+e.muteText)),513),[[M["vShow"],e.isMute]]),Object(M["withDirectives"])(Object(M["createVNode"])(Object(M["unref"])(Qi["a"]),{editor:Object(M["unref"])(h),class:"message-input-area",ref_key:"editorContainer",ref:v,onDrop:n[0]||(n[0]=e=>y(e,"drop")),onPaste:n[1]||(n[1]=e=>y(e,"paste")),onKeydown:Object(M["withKeys"])(f,["enter"])},null,8,["editor"]),[[M["vShow"],!e.isMute&&e.enableInput]])],2))}});n("3a39c"),n("7d94");const xs=me()(Ms,[["__scopeId","data-v-712924cc"]]);var Vs=xs;const Ls={class:"message-input-button-hover"};var Rs=Object(M["defineComponent"])({__name:"message-input-button",props:{enableSend:{type:Boolean,default:!0},messages:{type:Array,default:()=>[]},isH5:{type:Boolean,default:!0}},emits:["sendMessage"],setup(e,{emit:t}){const n=e,{enableSend:o}=Object(M["toRefs"])(n),a=t,i=()=>{a("sendMessage")};return(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input-button",e.isH5&&"message-input-button-h5"])},[Object(M["unref"])(o)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"message-input-button-cont","data-type":"text",onClick:i,disabled:!1},[Object(M["createElementVNode"])("p",Ls,Object(M["toDisplayString"])(t.$t("TUIChat.按Enter发送,Ctrl+Enter换行")),1),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(t.$t("发送")),1)])):Object(M["createCommentVNode"])("",!0)],2))}});n("3e72");const Ps=me()(Rs,[["__scopeId","data-v-58e1a202"]]);var As=Ps;const Gs={key:0,class:"reference"},Hs={class:"reference-box"},zs={class:"reference-box-show"},Fs={class:"reference-box-show-name"},$s={key:1,class:"reply"},Ys={class:"reply-box"},Ks={class:"reply-box-show"};var Ws=Object(M["defineComponent"])({__name:"message-input-reference-or-reply",props:{replyOrReference:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},emits:["resetReplyOrReference"],setup(e,{emit:t}){const n=e,o=t,{replyOrReference:a,isH5:i}=Object(M["toRefs"])(n),s=()=>{o("resetReplyOrReference")};return(e,t)=>{var n,o,r,l,c,d,u,p,m,h,v,f,g,b,O;return null!==(n=Object(M["unref"])(a))&&void 0!==n&&n.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["reference"===(null===(o=Object(M["unref"])(a))||void 0===o?void 0:o.show)&&"message-input-reference","reply"===(null===(r=Object(M["unref"])(a))||void 0===r?void 0:r.show)&&"message-input-reply",Object(M["unref"])(i)&&"reference"===(null===(l=Object(M["unref"])(a))||void 0===l?void 0:l.show)&&"message-input-reference-h5",Object(M["unref"])(i)&&"reply"===(null===(c=Object(M["unref"])(a))||void 0===c?void 0:c.show)&&"message-input-reply-h5"])},["reference"===(null===(d=Object(M["unref"])(a))||void 0===d?void 0:d.show)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gs,[Object(M["createElementVNode"])("div",Hs,[Object(M["createElementVNode"])("div",zs,[Object(M["createElementVNode"])("span",Fs,Object(M["toDisplayString"])(null!==(u=Object(M["unref"])(a))&&void 0!==u&&null!==(u=u.message)&&void 0!==u&&u.nick?null===(p=Object(M["unref"])(a))||void 0===p||null===(p=p.message)||void 0===p?void 0:p.nick:null===(m=Object(M["unref"])(a))||void 0===m||null===(m=m.message)||void 0===m?void 0:m.from)+": ",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(h=Object(M["unref"])(a))||void 0===h?void 0:h.content),1)]),Object(M["createElementVNode"])("label",{class:"icon icon-cancel",onClick:s})])])):"reply"===(null===(v=Object(M["unref"])(a))||void 0===v?void 0:v.show)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",$s,[Object(M["createElementVNode"])("div",Ys,[t[0]||(t[0]=Object(M["createElementVNode"])("i",null,null,-1)),Object(M["createElementVNode"])("div",Ks,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null!==(f=Object(M["unref"])(a))&&void 0!==f&&null!==(f=f.message)&&void 0!==f&&f.nick?null===(g=Object(M["unref"])(a))||void 0===g||null===(g=g.message)||void 0===g?void 0:g.nick:null===(b=Object(M["unref"])(a))||void 0===b||null===(b=b.message)||void 0===b?void 0:b.from)+Object(M["toDisplayString"])(Object(M["unref"])(i)?":":""),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(O=Object(M["unref"])(a))||void 0===O?void 0:O.content),1)]),Object(M["createElementVNode"])("label",{class:"icon icon-cancel",onClick:s})])])):Object(M["createCommentVNode"])("",!0)],2)):Object(M["createCommentVNode"])("",!0)}}});n("aeac");const qs=me()(Ws,[["__scopeId","data-v-1333615b"]]);var Zs=qs,Js=Object(M["defineComponent"])({__name:"index",props:{placeholder:{type:String,default:"this is placeholder"},conversation:{type:Object,default:()=>({})},isDisabled:{type:Boolean,default:()=>!0},replyOrReference:{type:Object,default:()=>({})},isGroup:{type:Boolean,default:!1},memberList:{type:Array,default:()=>[]},isMute:{type:Boolean,default:!0},muteText:{type:String,default:""},enableInput:{type:Boolean,default:!0},enableAt:{type:Boolean,default:!0},enableDragUpload:{type:Boolean,default:!0},enableTyping:{type:Boolean,default:!0},env:{type:Object,default:()=>({})}},emits:["sendMessage","resetReplyOrReference","onTyping"],setup(e,{expose:t,emit:n}){var o;const i=e,s=n,{placeholder:r,isGroup:l,memberList:c,conversation:d,replyOrReference:u,env:p,enableTyping:m}=Object(M["toRefs"])(i),h=Object(M["ref"])(),f=Object(M["ref"])(null===i||void 0===i||null===(o=i.env)||void 0===o?void 0:o.isH5);Object(M["watch"])(()=>d.value,(e,t)=>{var n;(null===e||void 0===e?void 0:e.conversationID)!==(null===t||void 0===t?void 0:t.conversationID)&&(null===h||void 0===h||null===(n=h.value)||void 0===n||n.resetEditor())},{immediate:!0});const g=async()=>{var e,t,n;const o=null===(e=window)||void 0===e||null===(e=e.TUIKitTUICore)||void 0===e||null===(e=e.TUIServer)||void 0===e?void 0:e.TUIChat,i=null===h||void 0===h||null===(t=h.value)||void 0===t?void 0:t.getEditorContent(),r=u.value;await(null===i||void 0===i?void 0:a()(i).call(i,async e=>{var t,n,a,i;try{let p,m;switch(p=O(p),null===e||void 0===e?void 0:e.type){case"text":var l,c,d,u;if(p=y(p),null!==e&&void 0!==e&&null!==(t=e.payload)&&void 0!==t&&t.atUserList)m=await(null===o||void 0===o?void 0:o.sendTextAtMessage({text:JSON.parse(v()(null===e||void 0===e||null===(l=e.payload)||void 0===l?void 0:l.text)),atUserList:null===e||void 0===e||null===(c=e.payload)||void 0===c?void 0:c.atUserList},p));else m=await(null===o||void 0===o?void 0:o.sendTextMessage(JSON.parse(v()(null===e||void 0===e||null===(d=e.payload)||void 0===d?void 0:d.text)),p));if("reply"===(null===r||void 0===r?void 0:r.show))await o.replyMessage(null===(u=m)||void 0===u||null===(u=u.data)||void 0===u?void 0:u.message);break;case"image":await(null===o||void 0===o?void 0:o.sendImageMessage(null===e||void 0===e||null===(n=e.payload)||void 0===n?void 0:n.file));break;case"video":await(null===o||void 0===o?void 0:o.sendVideoMessage(null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.file));break;case"file":await(null===o||void 0===o?void 0:o.sendFileMessage(null===e||void 0===e||null===(i=e.payload)||void 0===i?void 0:i.file));break;default:break}s("sendMessage")}catch(m){Object(En["b"])(m,p.value)}})),null===h||void 0===h||null===(n=h.value)||void 0===n||n.resetEditor(),I()},b=(e,t)=>{s("onTyping",e,t)},O=e=>(m.value&&(e||(e={}),e.messageFeature={needTyping:1,version:1}),e),y=e=>{var t,n,o,a,i,s,r,l;if("reply"!==(null===u||void 0===u||null===(t=u.value)||void 0===t?void 0:t.show)&&"reference"!==(null===u||void 0===u||null===(n=u.value)||void 0===n?void 0:n.show))return e;if(e||(e={}),e.messageReply={messageAbstract:null===u||void 0===u||null===(o=u.value)||void 0===o?void 0:o.content,messageSender:(null===u||void 0===u||null===(a=u.value)||void 0===a||null===(a=a.message)||void 0===a?void 0:a.nick)||(null===u||void 0===u||null===(i=u.value)||void 0===i||null===(i=i.message)||void 0===i?void 0:i.from),messageID:null===u||void 0===u||null===(s=u.value)||void 0===s||null===(s=s.message)||void 0===s?void 0:s.ID,messageType:null===u||void 0===u||null===(r=u.value)||void 0===r?void 0:r.type,version:1},"reply"===(null===u||void 0===u||null===(l=u.value)||void 0===l?void 0:l.show))try{var c,d;if(e.messageReply.messageRootID=null===u||void 0===u||null===(c=u.value)||void 0===c||null===(c=c.message)||void 0===c?void 0:c.ID,null!==u&&void 0!==u&&null!==(d=u.value)&&void 0!==d&&null!==(d=d.message)&&void 0!==d&&d.cloudCustomData){var p,m,h;const t=Object(U["a"])(null===u||void 0===u||null===(p=u.value)||void 0===p||null===(p=p.message)||void 0===p?void 0:p.cloudCustomData);e.messageReply.messageRootID=(null===t||void 0===t||null===(m=t.messageReply)||void 0===m?void 0:m.messageRootID)||(null===u||void 0===u||null===(h=u.value)||void 0===h||null===(h=h.message)||void 0===h?void 0:h.ID)}}catch(v){console.warn(v)}return e},k=e=>{var t;null===h||void 0===h||null===(t=h.value)||void 0===t||t.addEmoji(e)},I=()=>{s("resetReplyOrReference")},w=e=>{var t,n;null===h||void 0===h||null===(t=h.value)||void 0===t||t.resetEditor(),I(),null===h||void 0===h||null===(n=h.value)||void 0===n||n.setEditorContent(e)};return t({addEmoji:k,reEdit:w}),(t,n)=>{var o,a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-input",f.value&&"message-input-h5"])},[e.isDisabled?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[Object(M["createVNode"])(Vs,{ref_key:"editor",ref:h,isH5:f.value,placeholder:Object(M["unref"])(r),isGroup:Object(M["unref"])(l),isMute:e.isMute,muteText:e.muteText,enableInput:e.enableInput,enableAt:e.enableAt,enableTyping:Object(M["unref"])(m),enableDragUpload:e.enableDragUpload,onSendMessage:g,onOnTyping:b},null,8,["isH5","placeholder","isGroup","isMute","muteText","enableInput","enableAt","enableTyping","enableDragUpload"]),e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(As,{key:0,isH5:f.value,onSendMessage:g},null,8,["isH5"])),e.enableAt?(Object(M["openBlock"])(),Object(M["createBlock"])(Bs,{key:1,memberList:j()(o=Object(M["unref"])(c)).call(o,e=>{var t;return-1===(null===e||void 0===e?void 0:_()(t=e.userID).call(t,"admin"))}),isGroup:Object(M["unref"])(l),selfInfo:null===(a=Object(M["unref"])(d))||void 0===a||null===(a=a.groupProfile)||void 0===a?void 0:a.selfInfo,isH5:f.value},null,8,["memberList","isGroup","selfInfo","isH5"])):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(Zs,{replyOrReference:Object(M["unref"])(u),isH5:f.value,onResetReplyOrReference:I},null,8,["replyOrReference","isH5"])],64)):Object(M["createCommentVNode"])("",!0)],2)}}});n("7a54");const Qs=me()(Js,[["__scopeId","data-v-030d6bb0"]]);var Xs=Qs,er=Xs,tr=n("fdc9"),nr=n("bc3a"),or=n.n(nr),ar=n("4328"),ir=n.n(ar);sessionStorage.getItem("tokenF");const{urlF:sr,tokenF:rr}=_e["a"],lr=or.a.create({timeout:4e4,baseURL:"",headers:{"Content-Type":"application/json","X-Access-Token":rr+"",...cr()}});function cr(){let e={};return"QH"==(null===_e["a"]||void 0===_e["a"]?void 0:_e["a"].vitePlatform)&&(e={"X-ClientSign":"Quarry"}),e}let dr=(sr+"").replace("lol","://");const ur=(e,t)=>new g.a((n,o)=>{lr.get(`${dr}${e}${ir.a.stringify(t)?"?"+ir.a.stringify(t):""}`,t).then(e=>{n(e.data)}).catch(e=>{o(e)})}),pr=(e,t)=>new g.a((n,o)=>{lr.post(`${dr}${e}`,t).then(e=>{n(e.data)}).catch(e=>{o(e)})});var mr=n("c9a1"),hr=n("3ef4");const vr=Object(M["defineComponent"])({name:"TUIChat",methods:{handleMergerMessageShowContext:U["l"],handleCustomMessageShowContext:U["g"],handleLocationMessageShowContext:U["k"],handleFaceMessageShowContext:U["h"],handleFileMessageShowContext:U["i"],handleAudioMessageShowContext:U["e"],handleVideoMessageShowContext:U["t"]},components:{MessageMerger:wt,MessageVideo:ze,MessageFile:at,MessageLocation:gt,MessageCustom:cn,MessageFace:dt,MessageAudio:We,MessageImage:Ue,MessageText:ve,MessageSystem:_o,MessageTimestamp:Go,Manage:Fi,MessageInput:er,MessageItem:Ro},props:{isMsgNeedReadReceipt:{type:Boolean,default:!1},isNeedTyping:{type:Boolean,default:!0},isNeedEmojiReact:{type:Boolean,default:!0}},setup(e,t){var n,o,i,r;const{TUIServer:c}=vr,d=(null===c||void 0===c||null===(n=c.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||n.TUIGroup,null===c||void 0===c||null===(o=c.TUICore)||void 0===o||null===(o=o.TUIServer)||void 0===o||o.TUIProfile,c.TUICore.isOfficial&&sn["c"]&&Object(sn["c"])()||{}),{t:p}=window.TUIKitTUICore.config.i18n.useI18n(),m=Object(M["reactive"])({messageList:[],conversation:{},text:"",atText:"",types:c.TUICore.TIM.TYPES,currentMessage:{},dialogID:"",forwardStatus:!1,receiptDialogStatus:!1,repliesDialogStatus:!1,showImagePreview:!1,currentImagePreview:{},isCompleted:!1,userInfoView:!1,userInfo:{isGroup:!1,list:[]},selfInfo:{},messageComponents:hd("message"),isShow:!1,muteText:"您已被管理员禁言",isFirstSend:!0,isFirstRender:!0,showGroupMemberList:!1,reference:{message:{},content:"",type:0,show:""},historyReference:!1,referenceID:"",allMemberList:[],env:c.TUICore.TUIEnv,showResend:!1,resendMessage:{},inputBlur:!1,inputComposition:!1,inputCompositionCont:"",needTyping:e.isNeedTyping,needReadReceipt:!1,peerNeedReceipt:!1,needToBottom:!1,toBottomTipCont:"",messageInView:[],readSet:new ie.a,isUserAction:!1,scroll:{scrollTop:0,scrollHeight:0,scrollTopMin:1/0,scrollTopMax:0},isMsgNeedReadReceipt:!1,isNeedEmojiReact:!1,dropDownRef:null,typingRef:null,upTabIndex:"0",hrefParams:{}}),h=!!Object(M["useSlots"])().default,f=async e=>{var t;e&&await(null===c||void 0===c||null===(t=c.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||null===(t=t.TUIConversation)||void 0===t?void 0:t.setMessageRead(e))},g=async e=>{var t;const n=j()(e).call(e,e=>"in"===(null===e||void 0===e?void 0:e.flow)&&(null===e||void 0===e?void 0:e.needReadReceipt)&&!m.readSet.has(null===e||void 0===e?void 0:e.ID));n.length&&await(null===c||void 0===c?void 0:c.sendMessageReadReceipt(n).then(()=>{a()(n).call(n,e=>m.readSet.add(null===e||void 0===e?void 0:e.ID))})),await f(null===m||void 0===m||null===(t=m.conversation)||void 0===t?void 0:t.conversationID)},b=[];a()(i=s()(hd("send"))).call(i,e=>{"Call"===e&&"expert"===_e["a"].isSpecialized||"Evaluate"===e||"Words"===e||b.push(e)}),Fi.TUIServer=c,Fi.GroupServer=null===c||void 0===c||null===(r=c.TUICore)||void 0===r||null===(r=r.TUIServer)||void 0===r?void 0:r.TUIGroup;const y=Object(M["ref"])(),k=Object(M["ref"])(),w=Object(M["ref"])(),E=Object(M["ref"])(),C=Object(M["ref"])();u()(c).call(c,m);const T={list:[],handleAvatar:U["f"],handleName:U["m"]},S=Object(M["ref"])();Object(wn["onClickOutside"])(S,()=>{m.showGroupMemberList=!1});const D=Object(M["computed"])(()=>{const{conversation:e}=m;return null!==e&&void 0!==e&&e.conversationID?(null===e||void 0===e?void 0:e.type)===c.TUICore.TIM.TYPES.CONV_SYSTEM?"system":"chat":""}),N=Object(M["computed"])(()=>{const{conversation:e}=m;if((null===e||void 0===e?void 0:e.type)===c.TUICore.TIM.TYPES.CONV_GROUP){var t,n,o;const a=null===e||void 0===e||null===(t=e.groupProfile)||void 0===t?void 0:t.selfInfo.role,i=a===c.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;if(i&&null!==e&&void 0!==e&&null!==(n=e.groupProfile)&&void 0!==n&&n.muteAllMembers)return!0;const s=(new Date).getTime();if(1e3*(null===(o=m.selfInfo)||void 0===o?void 0:o.muteUntil)-s>0)return!0}return!1});Object(M["watchEffect"])(()=>{m.isMsgNeedReadReceipt=e.isMsgNeedReadReceipt,m.needReadReceipt=m.isMsgNeedReadReceipt,m.needTyping=e.isNeedTyping,m.isNeedEmojiReact=e.isNeedEmojiReact}),Object(M["watch"])(()=>{var e;return null===m||void 0===m||null===(e=m.conversation)||void 0===e?void 0:e.conversationID},(e,t)=>{e!==t&&(m.scroll.scrollTop=0,m.scroll.scrollHeight=0,m.scroll.scrollTopMin=1/0,m.scroll.scrollTopMax=0,m.text="",m.atText="",m.reference={message:{},content:"",type:0,show:""})},{deep:!0}),Object(M["watch"])(N,(e,t)=>{const{conversation:n}=m;if(e&&(null===n||void 0===n?void 0:n.type)===c.TUICore.TIM.TYPES.CONV_GROUP){var o,a,i;const e=null===n||void 0===n||null===(o=n.groupProfile)||void 0===o?void 0:o.selfInfo.role,t=e===c.TUICore.TIM.TYPES.GRP_MBR_ROLE_MEMBER;t&&null!==n&&void 0!==n&&null!==(a=n.groupProfile)&&void 0!==a&&a.muteAllMembers&&(m.muteText="管理员开启全员禁言");const s=(new Date).getTime();1e3*(null===(i=m.selfInfo)||void 0===i?void 0:i.muteUntil)-s>0&&(m.muteText="您已被管理员禁言")}});const B=Object(M["computed"])(()=>{const{conversation:e}=m;return Object(U["m"])(e)}),x=Object(M["computed"])(()=>{var e;return j()(e=m.messageList).call(e,e=>!e.isDeleted&&!Object(U["v"])(e))}),V=Object(M["computed"])(()=>{var e;return null===x||void 0===x||null===(e=x.value)||void 0===e?void 0:j()(e).call(e,e=>!e.isRevoked&&e.type===m.types.MSG_IMAGE)}),L=Object(M["ref"])([]),R=Object(M["ref"])([]),P=Object(M["ref"])("");function A(e){let t={};for(let n in e){let o=n.substring(0,1).toLowerCase()+n.substring(1);if(t[o]=e[n],"imageInfoArray"===o){for(let e=0;e{var t;200==e.code?(L.value=l()(t=e.result).call(t,e=>{var t,n;e["ID"]=e.id;let o=e.msgcontent;return"1"==_e["a"].isOvertime&&(o=v()(JSON.parse(e.msgcontent).MsgBody)),e["payload"]=o&&JSON.parse(o).length>0?A(null===(t=JSON.parse(o)[0])||void 0===t?void 0:t.MsgContent):"",e.contenttype===m.types.MSG_IMAGE&&(null===(n=R.value)||void 0===n||n.push(e)),e}),P.value=L.value.length>0?"":"暂无数据"):(L.value=[],R.value=[],P.value="暂无数据")}).catch(e=>{console.log(e),P.value="暂无数据"});const G=Object(M["computed"])(()=>{const{conversation:e,needReadReceipt:t}=m;return!((null===e||void 0===e?void 0:e.type)!==c.TUICore.TIM.TYPES.CONV_C2C&&!t)});Object(M["watch"])(x,(e,t)=>{if(Object(M["nextTick"])(()=>{var n,o;const a=(null===(n=e[e.length-1])||void 0===n?void 0:n.ID)===(null===(o=t[t.length-1])||void 0===o?void 0:o.ID);0===e.length||a||ce()}),m.currentMessage){var n;const t=null===(n=m.currentMessage)||void 0===n?void 0:n.ID,o=I()(e).call(e,e=>e.ID===t);o&&(m.currentMessage=Object(U["b"])(o))}if(m.historyReference&&x.value){for(let e=0;em.scroll.scrollTop,e=>{O()(()=>{var t;e===(null===y||void 0===y||null===(t=y.value)||void 0===t?void 0:t.scrollTop)&&(m.scroll.scrollTopMin!==1/0&&0!==m.scroll.scrollTopMax&&he("scroll"),m.scroll.scrollTopMin=1/0,m.scroll.scrollTopMax=0)},20)},{deep:!0}),Object(M["onMounted"])(()=>{Object(M["watch"])(()=>null===y||void 0===y?void 0:y.value,()=>{null!==y&&void 0!==y&&y.value&&y.value.addEventListener("scroll",pe)},{deep:!0}),m.hrefParams=Ie()});const H=e=>{var t;null===C||void 0===C||null===(t=C.value)||void 0===t||t.addEmoji(e)},z=async e=>{m.isFirstSend&&(an.getInstance().reportEvent({name:"sendMessage",ext1:"sendMessage-success"}),m.isFirstSend=!1),m.reference.show="",c.TUICore.isOfficial&&(null===d||void 0===d?void 0:d.commit)&&(null===d||void 0===d||d.commit("handleTask",0))};function F(e,t){var n,o,a;let i=null!==t&&void 0!==t&&null!==(n=t.lastMessage)&&void 0!==n&&n.payload.hasOwnProperty("data")?JSON.parse(null===t||void 0===t||null===(o=t.lastMessage)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.data):{};"system"===(null===i||void 0===i?void 0:i.businessID)&&re()(a=[1,2]).call(a,null===i||void 0===i?void 0:i.type)||c.sendCustomMessage({data:e}).then(e=>{console.log(e)})}window.onmessage=e=>{const t=null!==e&&void 0!==e&&e.data?JSON.parse(null===e||void 0===e?void 0:e.data):{},{consultType:n,consultStatus:o}=$i["a"].getters.getConsultInfo;let a=!1;"C2C"===n&&(a=1*o>=5),"GROUP"===n&&(a=1*o>=4),a||"custom"===t.code&&F(t.data,m.conversation)};const $=e=>{m.currentMessage=e,m.dialogID=e.ID},Y=e=>{m.env.isH5?(m.showResend=!0,m.resendMessage=e):(c.resendMessage(e).catch(e=>{Object(En["b"])(e,m.env)}),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageResend"}))},K=e=>{m.currentMessage=e,T.list=c.TUICore.getStore().TUIConversation.conversationList,m.forwardStatus=!0},W=(e,t)=>{let n=Object(U["o"])(e);m.reference={message:e,content:null===n||void 0===n?void 0:n.referenceMessageForShow,type:null===n||void 0===n?void 0:n.referenceMessageType,show:t}},q=()=>{c.resendMessage(m.resendMessage).then(()=>{m.showResend=!1}).catch(e=>{Object(En["b"])(e,m.env),m.showResend=!1}),an.getInstance().reportEvent({name:"messageOptions",ext1:"messageResend"})},Z=e=>{var t,n,o;null!==e&&void 0!==e&&null!==(t=e.payload)&&void 0!==t&&t.text&&(null===C||void 0===C||null===(n=C.value)||void 0===n||n.reEdit(null===e||void 0===e||null===(o=e.payload)||void 0===o?void 0:o.text))},J=e=>{c.handleGroupApplication(e)},Q=e=>{e.clipboardData.files[0]&&c.sendImageMessage(e.clipboardData.files[0])},X=async()=>{await c.getHistoryMessageList().then(()=>{var e;de("target",null===y||void 0===y||null===(e=y.value)||void 0===e?void 0:e.firstElementChild)})},ee=e=>{m.referenceID=e;const t=[];if(x.value)for(let a=0;a{w.value[a].getElementsByClassName("content")[0].classList.add("reference-content")}))}-1===_()(t).call(t,e)&&c.getHistoryMessageList().then(()=>{m.historyReference=!0})},te=()=>{m.showGroupMemberList=!m.showGroupMemberList},ne=()=>{c.TUICore.TUIServer.TUIConversation.handleCurrentConversation()},oe=e=>{window.open(e.url),an.getInstance().reportEvent({name:"openLink",ext1:e.label})},ae=(e,t)=>{var n;if(e&&t)switch(t){case"reference":W(e,t);break;case"reply":W(e,t);break;case"reedit":var o,a;if(null!==e&&void 0!==e&&null!==(n=e.payload)&&void 0!==n&&n.text)null===C||void 0===C||null===(o=C.value)||void 0===o||o.reEdit(null===e||void 0===e||null===(a=e.payload)||void 0===a?void 0:a.text);break;default:break}},se=async(e,t)=>{var n;if(null!==e&&void 0!==e&&e.ID&&t)switch(t){case"receipt":if(e.conversationType!==c.TUICore.TIM.TYPES.CONV_GROUP||0===(null===(n=e.readReceiptInfo)||void 0===n?void 0:n.unreadCount))return;m.currentMessage=e,m.receiptDialogStatus=!0;break;case"replies":m.currentMessage=e,m.repliesDialogStatus=!0;break;case"forward":m.currentMessage=e,T.list=c.TUICore.getStore().TUIConversation.conversationList,m.forwardStatus=!0;break;case"previewImage":m.showImagePreview=!m.showImagePreview,m.currentImagePreview=e;break;default:break}},le=async e=>{if(e)switch(e){case"receipt":m.currentMessage={},m.receiptDialogStatus=!1;break;case"replies":m.currentMessage={},m.repliesDialogStatus=!1;break;default:break}},ce=()=>{if(m.isFirstRender)return m.needToBottom=!1,de("bottom"),void(m.isFirstRender=!1);if(y.value&&x.value){var e;const{scrollHeight:t,scrollTop:n,clientHeight:o}=y.value;t-(n+o)<=o||"out"===(null===(e=x.value[x.value.length-1])||void 0===e?void 0:e.flow)?de("bottom"):me(!0)}},de=(e,t)=>{var n;switch(null===y||void 0===y||null===(n=y.value)||void 0===n||n.removeEventListener("scroll",pe),m.isUserAction=!0,e){case nn["a"].scrollType.toBottom:m.needToBottom=!1,Object(M["nextTick"])(()=>{var e,t;null!==m&&void 0!==m&&null!==(e=m.env)&&void 0!==e&&e.isH5?ue():null===y||void 0===y||null===(t=y.value)||void 0===t||null===(t=t.lastElementChild)||void 0===t||t.scrollIntoView(!1);Object(U["c"])(null===y||void 0===y?void 0:y.value,"message-img",async()=>{var e,t;null!==m&&void 0!==m&&null!==(e=m.env)&&void 0!==e&&e.isH5?ue():null===y||void 0===y||null===(t=y.value)||void 0===t||null===(t=t.lastElementChild)||void 0===t||t.scrollIntoView(!1);y.value.addEventListener("scroll",pe),await he("page")})});break;case nn["a"].scrollType.toTarget:Object(M["nextTick"])(()=>{null===t||void 0===t||t.scrollIntoView(!1),Object(U["c"])(null===y||void 0===y?void 0:y.value,"message-img",async()=>{null===t||void 0===t||t.scrollIntoView(!1),y.value.addEventListener("scroll",pe),await he("page")})});break;default:break}},ue=()=>{var e;null!==(e=document)&&void 0!==e&&null!==(e=e.getElementById("app"))&&void 0!==e&&e.style&&(document.getElementById("app").style.marginBottom="",document.getElementById("app").style.height="100%"),y.value.scrollTop=y.value.scrollHeight},pe=()=>{const{scrollHeight:e,scrollTop:t,clientHeight:n}=y.value;G.value&&(m.scroll.scrollHeight=e,m.scroll.scrollTop=t,m.scroll.scrollTopMin=m.isUserAction?m.scroll.scrollTopMin:Math.min(m.scroll.scrollTopMin,m.scroll.scrollTop),m.scroll.scrollTopMax=m.isUserAction?m.scroll.scrollTopMax:Math.max(m.scroll.scrollTopMax,m.scroll.scrollTop)),me(e-(t+n)>n),m.isUserAction=!1},me=e=>{var t,n;switch(e){case!0:var o;if(m.needToBottom=!0,null!==m&&void 0!==m&&null!==(t=m.conversation)&&void 0!==t&&t.unreadCount&&(null===m||void 0===m||null===(n=m.conversation)||void 0===n?void 0:n.unreadCount)>0)m.toBottomTipCont=`${null===m||void 0===m||null===(o=m.conversation)||void 0===o?void 0:o.unreadCount} ${p("TUIChat.条新消息")}`;else m.toBottomTipCont=p("TUIChat.回到最新位置");break;case!1:m.needToBottom=!1;break;default:m.needToBottom=!1;break}},he=async e=>{var t,n,o;if(!G.value)return void f(null===m||void 0===m||null===(o=m.conversation)||void 0===o?void 0:o.conversationID);m.messageInView.length&&(m.messageInView=[]);let a=0,i=0;switch(e){case nn["a"].inViewType.page:a=m.scroll.scrollTop,i=m.scroll.scrollTop+(null===y||void 0===y||null===(t=y.value)||void 0===t?void 0:t.clientHeight);break;case nn["a"].inViewType.scroll:a=m.scroll.scrollTopMin,i=m.scroll.scrollTopMax+(null===y||void 0===y||null===(n=y.value)||void 0===n?void 0:n.clientHeight);break;default:break}if(null!==w&&void 0!==w&&w.value&&x.value)for(let r=0;r<(null===w||void 0===w||null===(s=w.value)||void 0===s?void 0:s.length);r++){var s;if(ve(e,null===w||void 0===w?void 0:w.value[r],a,i)){const e=x.value[r];m.messageInView.push(e)}}await g(m.messageInView)},ve=(e,t,n,o)=>{const a=y.value.getBoundingClientRect().top,i=y.value.getBoundingClientRect().bottom,{top:s,bottom:r}=t.getBoundingClientRect(),{offsetTop:l,clientHeight:c}=t;switch(e){case nn["a"].inViewType.page:return Math.round(s)>=Math.round(a)&&Math.round(r)<=Math.round(i);case nn["a"].inViewType.scroll:return Math.round(l)>=Math.round(n)&&Math.round(l+c)<=Math.round(o);default:return!1}},fe=e=>{m.dropDownRef&&m.dropDownRef.removeChild(m.dropDownRef.children[0]),m.dropDownRef=e},ge=()=>{de("bottom")},be=e=>{m.showImagePreview=!m.showImagePreview,m.currentImagePreview=e},Oe=()=>{m.reference={message:{},content:"",type:0,show:""}},ye=(e,t)=>{var n;null===m||void 0===m||null===(n=m.typingRef)||void 0===n||n.onTyping(e,t)},je=e=>{tr["a"].emit("forHelp",e)},ke=e=>{var t;tr["a"].emit("forHelpDetail",null===e||void 0===e||null===(t=e.children)||void 0===t?void 0:t.orderId)},Ie=()=>{var e,t,n;const o=window.location.href.substring(_()(e=window.location.href).call(e,"?")+1,_()(t=window.location.href).call(t,"#/")),i={};return a()(n=o.split("&")).call(n,e=>{const t=e.substring(0,_()(e).call(e,"=")),n=e.substring(_()(e).call(e,"=")+1);i[t]=n}),i},we=e=>{mr["a"].confirm("是否结束当前咨询","提示",{confirmButtonText:"是",cancelButtonText:"否",type:"warning"}).then(()=>{var t;ur("/health-consultation/api/consult/conSession/finishSession",{id:null===e||void 0===e||null===(t=e.children)||void 0===t?void 0:t.id}).then(t=>{200===t.code?Object(hr["a"])({message:"当前咨询已结束",type:"success"}):Object(hr["a"])({message:t.message,type:"warning"}),tr["a"].emit("endConsult",e.conversationID)}).catch(e=>{console.log(e)})}).catch(()=>{})};function Ee(e){var t,n,o;if(console.log(e),null===e||void 0===e||null===(t=e.lastMessage)||void 0===t||!t.payload)return!0;let a=null!==e&&void 0!==e&&null!==(n=e.lastMessage)&&void 0!==n&&n.payload.hasOwnProperty("data")?JSON.parse(null===e||void 0===e||null===(o=e.lastMessage)||void 0===o||null===(o=o.payload)||void 0===o?void 0:o.data):{};var i;if("expert"!==_e["a"].isSpecialized)return"system"!==(null===a||void 0===a?void 0:a.businessID)||!re()(i=[1,2]).call(i,null===a||void 0===a?void 0:a.type);{var s;if("system"===(null===a||void 0===a?void 0:a.businessID)&&re()(s=[1,2]).call(s,null===a||void 0===a?void 0:a.type))return!1;const{consultType:e,consultStatus:t}=$i["a"].getters.getConsultInfo;return"C2C"===e?!(1*t>=5):!(1*t>=4)}}function Ce(e){var t;return e.avatar&&_()(t=e.avatar).call(t,",")===e.avatar.length-1&&(e.avatar=e.avatar.substring(0,e.avatar.length-1)),e}const Te=e=>{e&&se(e,"previewImage")};return{previewImage:Te,getDisabled:Ee,forHelp:je,forHelpDetail:ke,...Object(M["toRefs"])(m),conversationType:D,messages:x,messageEle:y,inputEle:k,messageInput:C,messageAimID:w,conversationData:T,conversationName:B,constant:nn["a"],reportMessageSend:z,handleTyping:ye,handleItem:$,handleEdit:Z,handleEditor:ae,getHistoryMessageList:X,handleApplication:J,pluginComponentList:b,handleSend:H,closeDialog:le,isMute:N,pasting:Q,setMessageRead:f,sendMessageReadReceipt:g,dialog:S,jumpID:ee,back:ne,slotDefault:h,toggleshowGroupMemberList:te,resendMessage:Y,submit:q,Link:Ki,openLink:oe,readReceiptDialog:E,scrollToTarget:de,needGroupReceipt:G,handleDropDownOpen:fe,isMessageTip:U["u"],showDialog:se,forwardMessage:K,referOrReplyMessage:W,handleUploadingImageOrVideo:ge,handleImagePreview:be,imageList:V,resetReplyOrReference:Oe,endConsult:we,getSrc:Ce,messagesNew:L,imageListNew:R,messagesIsNull:P,handleAvatar:U["f"],handleName:U["m"],getImgLoad:U["c"],isTypingMessage:U["v"],deepCopy:U["b"],handleReferenceForShow:U["o"],handleTextMessageShowContext:U["r"],handleImageMessageShowContext:U["j"]}}});var fr=vr;n("9785"),n("ee8f");const gr=me()(fr,[["render",oe],["__scopeId","data-v-e5d9bc3a"]]);var br=gr;const Or={class:"face",id:"face"},yr=["onClick"],jr=["src"],kr=["src"],Ir={class:"face-tab"},wr=["onClick"],Er=["src"];function Cr(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Or,[Object(M["createElementVNode"])("i",{class:"icon icon-face",title:"表情",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",{class:Object(M["normalizeClass"])(["face-main",[e.isH5&&"face-H5-main"]]),ref:"dialog"},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",{class:"face-list",key:n},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(t,(t,o)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-list-item",key:o,onClick:n=>e.select(t,o)},[0===n?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,src:e.emojiUrl+e.emojiMap[t]},null,8,jr)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:1,class:"face-img",src:e.faceUrl+t+"@2x.png"},null,8,kr))],8,yr))),128))])),[[M["vShow"],e.currentIndex===n]])),128)),Object(M["createElementVNode"])("ul",Ir,[Object(M["createElementVNode"])("li",{class:"face-tab-item",onClick:t[1]||(t[1]=t=>e.selectFace(0))},t[2]||(t[2]=[Object(M["createElementVNode"])("i",{class:"icon icon-face"},null,-1)])),(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.bigEmojiList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"face-tab-item",key:n,onClick:t=>e.selectFace(n+1)},[Object(M["createElementVNode"])("img",{src:e.faceUrl+t.list[0]+"@2x.png"},null,8,Er)],8,wr))),128))])],2),[[M["vShow"],e.show]])])}const Tr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1},parentID:{type:String,default:()=>""}},setup(e,t){var n;const o=Object(M["reactive"])({emojiUrl:io["d"],emojiMap:io["b"],emojiName:io["c"],faceUrl:io["e"],bigEmojiList:(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&io["a"]||[],show:!1,currentIndex:0,isMute:!1,transDom:!1}),a=Object(M["ref"])();Object(M["watchEffect"])(()=>{o.show=e.show,o.isMute=e.isMute});const i=()=>{const e=document.getElementsByClassName("face-main")[0];o.isMute||(e.style.display="none"===e.style.display?"flex":"none"),"none"===e.style.display&&c(0),s()},s=()=>{const t=document.getElementById(e.parentID),n=document.getElementsByClassName("face-H5-main")[0];e.isH5&&(null===t||void 0===t||t.appendChild(n))};Object(wn["onClickOutside"])(a,()=>{const e=document.getElementsByClassName("face-main")[0];e&&(e.style.display="none")});const r=async(n,a)=>{const s={name:n};if(0===o.currentIndex)return s.type="emo",s.url=io["d"]+io["b"][n],s.template=``,e.isH5||i(),t.emit("send",s);try{await Tr.TUIServer.sendFaceMessage({index:o.bigEmojiList[o.currentIndex-1].icon,data:o.bigEmojiList[o.currentIndex-1].list[a]}),an.getInstance().reportEvent({name:"messageType",ext1:"typeFace"})}catch(r){Object(En["b"])(r,e)}e.isH5||i()},l=Object(M["computed"])(()=>{const e=[o.emojiName];for(let t=0;t{o.currentIndex=e};return{...Object(M["toRefs"])(o),toggleShow:i,select:r,selectFace:c,list:l,dialog:a}}});var Sr=Tr;n("77ea");const _r=me()(Sr,[["render",Cr],["__scopeId","data-v-6807ca3c"]]);var Dr=_r,Nr=Dr;const Ur={class:"upload-btn icon icon-image"};function Br(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ur,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"图片",type:"file","data-type":"image",accept:"image/*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Mr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Mr.TUIServer.sendImageMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeImage"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var xr=Mr;n("b77c");const Vr=me()(xr,[["render",Br],["__scopeId","data-v-04b8e378"]]);var Lr=Vr,Rr=Lr;const Pr={class:"upload-btn icon icon-video"};function Ar(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Pr,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"视频",type:"file","data-type":"video",accept:"video/*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Gr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Gr.TUIServer.sendVideoMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeVideo"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var Hr=Gr;n("6e04");const zr=me()(Hr,[["render",Ar],["__scopeId","data-v-0b03faf8"]]);var Fr=zr,$r=Fr;const Yr={class:"upload-btn icon icon-files"};function Kr(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Yr,[e.isMute?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,title:"文件",type:"file","data-type":"file",accept:"*",onChange:t[0]||(t[0]=(...t)=>e.sendUploadMessage&&e.sendUploadMessage(...t))},null,32)),Object(M["renderSlot"])(e.$slots,"default",{},void 0,!0)])}const Wr=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({isMute:!1});Object(M["watchEffect"])(()=>{n.isMute=e.isMute});const o=async t=>{if(t.target.files.length>0)try{await Wr.TUIServer.sendFileMessage(t.target),an.getInstance().reportEvent({name:"messageType",ext1:"typeFile"})}catch(n){Object(En["b"])(n,e)}t.target.value=""};return{...Object(M["toRefs"])(n),sendUploadMessage:o}}});var qr=Wr;n("6a25");const Zr=me()(qr,[["render",Kr],["__scopeId","data-v-3082f8e4"]]);var Jr=Zr,Qr=Jr;function Xr(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Transfer");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",null,[e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["forward",[e.isH5?"forward-h5":""]]),ref:"dialog"},[Object(M["createVNode"])(s,{title:"转发",list:e.list,isSearch:!1,isH5:e.isH5,isCustomItem:!0,resultShow:!0,onSubmit:e.handleForWordMessage,onCancel:e.toggleShow},{left:Object(M["withCtx"])(({data:t})=>[Object(M["renderSlot"])(e.$slots,"left",{data:t},void 0,!0)]),right:Object(M["withCtx"])(({data:t})=>[Object(M["renderSlot"])(e.$slots,"right",{data:t},void 0,!0)]),_:3},8,["list","isH5","onSubmit","onCancel"])],2)):Object(M["createCommentVNode"])("",!0)])}const el=Object(M["defineComponent"])({components:{Transfer:La},name:"转发",props:{list:{type:Array,default:()=>[]},message:{type:Object,default:()=>({})},show:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({list:[],show:!1,to:-1}),o=Object(M["ref"])();Object(M["watchEffect"])(()=>{n.list=e.list,n.show=e.show});const a=()=>{n.show=!n.show,n.show||(t.emit("update:show",n.show),n.to=-1)};Object(wn["onClickOutside"])(o,()=>{n.show=!1,t.emit("update:show",n.show),n.to=-1});const i=async t=>{l()(t).call(t,async t=>{try{await el.TUIServer.forwardMessage(e.message,t)}catch(n){Object(En["b"])(n,e)}}),a()};return{...Object(M["toRefs"])(n),toggleShow:a,handleForWordMessage:i,dialog:o}}});var tl=el;n("8617");const nl=me()(tl,[["render",Xr],["__scopeId","data-v-f4db8228"]]);var ol=nl,al=ol;const il={class:"words-main-content",ref:"dialog"},sl={class:"words-list"},rl=["onClick"];function ll(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["words",[e.isH5?"words-H5":""]])},[Object(M["createElementVNode"])("i",{class:"icon icon-words",title:"快速回复",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))}),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",{class:Object(M["normalizeClass"])(["words-main",[e.isH5?"words-H5-main":""]])},[Object(M["createElementVNode"])("div",il,[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("Words.常用语-快捷回复工具")),1)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))},"关闭")):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("ul",sl,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"words-list-item",key:n,onClick:n=>e.select(t)},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(t.value),1)],8,rl))),128))])],512)],2),[[M["vShow"],e.show&&!e.isMute]])],2)}var cl=n("c7e2");const dl=Object(M["defineComponent"])({type:"custom",props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),o=[{value:"在吗?在吗?在吗?重要的话说三遍。"},{value:"好久没聊天了,快来和我说说话~"},{value:"好的,就这么说定了。"},{value:"感恩的心,感谢有你。"},{value:"糟糕!是心动的感觉!"},{value:"心疼地抱抱自己,我太难了!"},{value:"没关系,别在意,事情过去就过去了。"},{value:"早上好,今天也是让人期待的一天呢!"},{value:"熬夜有什么用,又没人陪你聊天,早点休息吧。"}],a=Object(M["reactive"])({list:[],show:!1,isMute:!1,locale:Object(cl["b"])()}),i=Object(M["ref"])();Object(M["watch"])(()=>a.locale,(e,t)=>{a.list=l()(o).call(o,e=>({value:n("Words."+e.value)}))}),Object(M["watchEffect"])(()=>{a.show=e.show,a.isMute=e.isMute});const s=()=>{a.show=!a.show,a.show&&(a.list=l()(o).call(o,e=>({value:n("Words."+e.value)})))};Object(wn["onClickOutside"])(i,()=>{a.show=!1});const r=(e,t)=>{const n=e.value;s(),dl.TUIServer.sendTextMessage(n)};return{...Object(M["toRefs"])(a),toggleShow:s,select:r,dialog:i}}});var ul=dl;n("ae69");const pl=me()(ul,[["render",ll],["__scopeId","data-v-dfa99d56"]]);var ml=pl,hl=ml;const vl={key:0,class:"evaluate-main"},fl={class:"evaluate-main-content",ref:"dialog"},gl={key:0},bl={class:"evaluate-content"},Ol={class:"evaluate-list"},yl=["onClick"],jl={key:0,class:"icon icon-star-light"},kl={key:1,class:"icon icon-star"},Il={class:"evaluate-main-footer"},wl={key:0};function El(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["evaluate",[e.isH5&&"evaluate-H5"]])},[Object(M["createElementVNode"])("i",{class:"icon icon-evaluate",title:"服务评价",onClick:t[0]||(t[0]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))}),e.show&&!e.isMute?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",vl,[Object(M["createElementVNode"])("div",fl,[Object(M["createElementVNode"])("header",null,[Object(M["createElementVNode"])("aside",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("Evaluate.请对本次服务进行评价")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",gl,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.服务评价工具"))+"("+Object(M["toDisplayString"])(e.$t("Evaluate.使用")),1),Object(M["createElementVNode"])("a",{onClick:t[1]||(t[1]=t=>e.openLink(e.Link.customMessage))},Object(M["toDisplayString"])(e.$t("Evaluate."+e.Link.customMessage.label)),1),Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.搭建"))+") ",1)])):Object(M["createCommentVNode"])("",!0)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[2]||(t[2]=Object(M["withModifiers"])((...t)=>e.toggleShow&&e.toggleShow(...t),["stop"]))},"关闭")):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",bl,[Object(M["createElementVNode"])("ul",Ol,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["evaluate-list-item",[ne.select(t,n),["stop"])},[ne.options.data.comment=t)},null,512),[[M["vModelText"],e.options.data.comment]]),Object(M["createElementVNode"])("div",Il,[Object(M["createElementVNode"])("button",{class:"btn",onClick:t[4]||(t[4]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("Evaluate.提交评价")),1)])]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",wl,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.服务评价工具"))+"("+Object(M["toDisplayString"])(e.$t("Evaluate.使用")),1),Object(M["createElementVNode"])("a",{onClick:t[5]||(t[5]=t=>e.openLink(e.Link.customMessage))},Object(M["toDisplayString"])(e.$t("Evaluate."+e.Link.customMessage.label)),1),Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("Evaluate.搭建"))+") ",1)]))],512)])):Object(M["createCommentVNode"])("",!0)],2)}const Cl=Object(M["defineComponent"])({type:"custom",props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({link:"https://web.sdk.qcloud.com/im/doc/zh-cn//SDK.html#createCustomMessage",list:5,show:!1,isMute:!1,options:{data:{businessID:nn["a"].typeEvaluate,version:1,score:"",comment:""},description:"对本次的服务评价",extension:"对本次的服务评价"},num:0}),o=Object(M["ref"])();Object(wn["onClickOutside"])(o,()=>{n.show=!1}),Object(M["watchEffect"])(()=>{n.show=e.show,n.isMute=e.isMute});const a=()=>{n.show=!n.show,n.show&&(n.options={data:{...Object(U["n"])(nn["a"].typeEvaluate,1,{score:"",comment:""})},description:"对本次的服务评价",extension:"对本次的服务评价"},n.num=0)},i=(e,t)=>{n.num=t+1,n.options.data.score=""+n.num},s=()=>{Cl.TUIServer.sendCustomMessage(n.options),an.getInstance().reportEvent({name:"messageType",ext1:"typeCustom"}),a()},r=e=>{window.open(e.url),an.getInstance().reportEvent({name:"openLink",ext1:e.label})};return{...Object(M["toRefs"])(n),toggleShow:a,select:i,submit:s,dialog:o,Link:Ki,openLink:r}}});var Tl=Cl;n("a94d");const Sl=me()(Tl,[["render",El],["__scopeId","data-v-5e2a1c9e"]]);var _l=Sl,Dl=_l;const Nl={style:{display:"flex"}},Ul={key:0,style:{display:"flex","justify-content":"center","padding-top":"5px"}};function Bl(e,t,n,o,a,i){var s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Nl,[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])("对方正在输入"===e.title?e.$t("TUIChat.对方正在输入"):e.title),1),e.doctorName&&"1"==(null===(s=e.conversation)||void 0===s||null===(s=s.children)||void 0===s?void 0:s.sessionType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Ul," 专家:"+Object(M["toDisplayString"])(e.doctorName),1)):Object(M["createCommentVNode"])("",!0)]),"expert"!==e.hrefParams.isSpecialized&&e.hrefParams.isSpecialized&&"0"===e.upTabIndex?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"adv",onClick:t[0]||(t[0]=(...t)=>e.forHelp&&e.forHelp(...t))}," 救助意见 ")):Object(M["createCommentVNode"])("",!0),"expert"!==e.hrefParams.isSpecialized&&"false"===e.hrefParams.isSpecialized&&"0"===e.upTabIndex?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"adv",onClick:t[1]||(t[1]=(...t)=>e.endStatus&&e.endStatus(...t))}," 结束应急 ")):Object(M["createCommentVNode"])("",!0)])}const Ml=Object(M["defineComponent"])({props:{needTyping:{type:Boolean,default:!1},conversation:{type:Object,default:()=>({})},messageList:{type:Array,default:()=>[]},upTabIndex:{type:String,default:()=>"0"},isDisabled:{type:Boolean,default:!0}},setup(e,t){const n=Object(M["reactive"])({hrefParams:{},messageList:[],conversation:{},title:"",timeValid:0,myTypingStatus:0,otherTypingStatus:0,needTyping:!1,lastOtherMessageTime:0,lastMyTypingTime:0,lastOtherTypingTime:0,options:{data:{businessID:nn["a"].typeUserTyping,typingStatus:0,version:1,userAction:0,actionParam:nn["a"].typeInputStatusEnd},description:"",extension:""},chooseTab:"0"}),o=()=>{var e,t,n;const o=window.location.href.substring(_()(e=window.location.href).call(e,"?")+1,_()(t=window.location.href).call(t,"#/")),i={};return a()(n=o.split("&")).call(n,e=>{const t=e.substring(0,_()(e).call(e,"=")),n=e.substring(_()(e).call(e,"=")+1);i[t]=n}),i};n.hrefParams=o();const i=()=>{tr["a"].emit("forHelpDetail")},s=()=>{tr["a"].emit("forHelp",e.isDisabled)},r=()=>{window.parent.postMessage(v()({code:"endStatus",orderInfo:n.conversation["children"]}),"*")},l=()=>{tr["a"].emit("bigInformation")};Object(M["watchEffect"])(()=>{n.messageList=e.messageList,n.conversation=e.conversation,n.needTyping=e.needTyping});const c=Object(M["computed"])(()=>{const{conversation:e}=n;return null!==e&&void 0!==e&&e.conversationID?e.conversationID:""}),d=Object(M["computed"])(()=>{const{conversation:e}=n;return Object(U["m"])(e)}),u=Object(M["computed"])(()=>{const{conversation:e}=n;return null!==e&&void 0!==e&&e.type?null===e||void 0===e?void 0:e.type:""}),p=Object(M["computed"])(()=>n.needTyping&&n.otherTypingStatus?"对方正在输入":$i["a"].getters.getTitleName),m=Object(M["computed"])(()=>n.needTyping&&n.otherTypingStatus?"":$i["a"].getters.getDoctorName),h=(e,t)=>{if(n.needTyping&&"C2C"===u.value&&((new Date).getTime()/1e3-n.lastOtherMessageTime<30&&(n.timeValid=1),n.timeValid))if(e||t)n.myTypingStatus=0,n.lastMyTypingTime=0,g(n.myTypingStatus);else{n.myTypingStatus=1;const e=(new Date).getTime();e-n.lastMyTypingTime>4e3&&(n.lastMyTypingTime=e,g(n.myTypingStatus))}};Object(M["watch"])(c,(e,t)=>{e!==t&&(n.needTyping=!1,n.timeValid=0)}),Object(M["watch"])(()=>n.needTyping,(e,t)=>{e||(n.myTypingStatus=0,n.otherTypingStatus=0,n.lastOtherMessageTime=0)}),Object(M["watch"])(()=>n.messageList,(e,t)=>{Object(M["nextTick"])(()=>{var t,o;0!==e.length&&"C2C"===u.value&&(n.lastOtherMessageTime=b(e),"in"===(null===(t=e[e.length-1])||void 0===t?void 0:t.flow)&&(Object(U["v"])(e[e.length-1])?(n.otherTypingStatus=f(e[e.length-1]),j()):(n.lastOtherMessageTime=null===(o=e[e.length-1])||void 0===o?void 0:o.time,n.otherTypingStatus=0)))})},{deep:!0});const f=e=>{try{var t;const{typingStatus:n,actionParam:o}=Object(U["a"])(null===e||void 0===e||null===(t=e.payload)||void 0===t?void 0:t.data);return 1===n&&o===nn["a"].typeInputStatusIng?1:0}catch{return 0}},g=e=>{n.options={data:{businessID:nn["a"].typeUserTyping,typingStatus:e?1:0,version:1,userAction:e?14:0,actionParam:e?nn["a"].typeInputStatusIng:nn["a"].typeInputStatusEnd},description:"",extension:""},Ml.TUIServer.sendTypingMessage(n.options),an.getInstance().reportEvent({name:"messageType",ext1:"typeCustom"})},b=e=>{if(!e)return 0;for(let t=e.length-1;t>=0;t--)if(!Object(U["v"])(e[t])&&"in"===e[t].flow)return e[t].time;return 0},y=(e,t=2e3)=>{let n;return function(){n&&clearTimeout(n),n=O()(e,t)}},j=y(()=>{n.otherTypingStatus=0},5e3);return{...Object(M["toRefs"])(n),conversationID:c,conversationName:d,conversationType:u,title:p,doctorName:m,isTypingMessage:U["v"],sendTypingMessage:g,handleTypingMessageStatus:f,getLastOtherMessageTime:b,debounce:y,waitTypingEnd:j,onTyping:h,forHelpDetail:i,forHelp:s,endStatus:r,bigInformation:l}}});var xl=Ml;n("8ddc");const Vl=me()(xl,[["render",Bl],["__scopeId","data-v-5043a29d"]]);var Ll=Vl,Rl=Ll;const Pl={class:"header"},Al={class:"header-back"},Gl={class:"header-title"},Hl={class:"header-close"},zl={class:"body"},Fl={key:0,class:"body-message"},$l={class:"message"},Yl={class:"message-info"},Kl={class:"message-cont"},Wl=["src"],ql={key:1},Zl={class:"body-tab"},Jl=["onClick"],Ql={class:"tab-item-title"},Xl={class:"tab-item-count"},ec={class:"body-list"},tc=["src"],nc={class:"name"};function oc(e,t,n,o,a,i){return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["read-receipt",[e.isH5?"read-receipt-H5":"",e.isMenuOpen?"read-receipt-menu-open":""]]),ref:"dialog"},[Object(M["createElementVNode"])("div",Pl,[Object(M["createElementVNode"])("div",Al,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",Gl,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.消息详情")),1)]),Object(M["createElementVNode"])("div",Hl,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),Object(M["createElementVNode"])("div",zl,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Fl,[Object(M["createElementVNode"])("div",$l,[Object(M["createElementVNode"])("div",Yl,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.message.from),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.caculateTimeago(1e3*e.message.time)),1)]),Object(M["createElementVNode"])("div",Kl,[e.messageInfo.isImg?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:"message-cont-img",src:e.messageInfo.content},null,8,Wl)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ql,Object(M["toDisplayString"])(e.messageInfo.content),1))])])])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("div",Zl,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.readReceiptList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],null,[t.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["tab-item",n===e.showListNow&&"tab-item-now"]),key:n,onClick:t=>e.showListNow=n},[Object(M["createElementVNode"])("div",Ql,Object(M["toDisplayString"])(null===t||void 0===t?void 0:t.label),1),Object(M["createElementVNode"])("div",Xl,Object(M["toDisplayString"])(null===t||void 0===t?void 0:t.count),1)],10,Jl)):Object(M["createCommentVNode"])("",!0)],64))),256))]),Object(M["createElementVNode"])("div",ec,[Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.readReceiptList[e.showListNow].userList,(e,t)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:t,class:"body-list-item"},[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===e||void 0===e?void 0:e.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,tc),Object(M["createElementVNode"])("div",nc,Object(M["toDisplayString"])((null===e||void 0===e?void 0:e.nick)||(null===e||void 0===e?void 0:e.userID)),1)]))),128))]),e.readReceiptList[e.showListNow].isCompleted?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"more",onClick:t[2]||(t[2]=(...t)=>e.getMoreList&&e.getMoreList(...t))},"查看更多"))])])],2)):Object(M["createCommentVNode"])("",!0)}const ac=Object(M["defineComponent"])({type:"custom",props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},show:{type:Boolean,default:()=>!1}},setup(e,t){const{t:n}=window.TUIKitTUICore.config.i18n.useI18n(),o=Object(M["reactive"])({message:{},isGroup:!1,show:!1,isH5:!1,messageInfo:{isImg:!1,content:""},readReceiptList:[{label:e.isH5?n("TUIChat.人已读"):n("TUIChat.已读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人未读"):n("TUIChat.未读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人关闭阅读状态"):n("TUIChat.关闭阅读状态"),count:0,userList:[],isCompleted:!0,cursor:"",show:!1}],showListNow:0,isMenuOpen:!0,env:Object(D["b"])()}),i=Object(M["ref"])();Object(M["watchEffect"])(()=>{o.show=e.show,o.isH5=e.isH5}),Object(M["watch"])(()=>{e.message,o.show},async()=>{var t,n;o.show&&(v(),o.message=e.message,u(),h(),o.readReceiptList[0].count=(null===(t=o.message)||void 0===t||null===(t=t.readReceiptInfo)||void 0===t?void 0:t.readCount)||o.readReceiptList[0].count,o.readReceiptList[1].count=(null===(n=o.message)||void 0===n||null===(n=n.readReceiptInfo)||void 0===n?void 0:n.unreadCount)||o.readReceiptList[1].count,l(),c())},{deep:!0});const r=()=>{o.show=!o.show,o.show||(t.emit("closeDialog","receipt"),m())};Object(wn["onClickOutside"])(i,()=>{o.show=!1,t.emit("closeDialog","receipt"),m()});const l=async(e=!1)=>{if(o.isGroup&&o.message&&0!==s()(o.message).length)try{var t,a;const n=await ac.TUIServer.getGroupReadMemberList(o.message,e?o.readReceiptList[0].cursor:"");o.readReceiptList[0].isCompleted=null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.isCompleted,o.readReceiptList[0].cursor=(null===n||void 0===n||null===(a=n.data)||void 0===a?void 0:a.cursor)||"";const i=n.data.readUserIDList,s=await d(i);o.readReceiptList[0].userList=e?[...o.readReceiptList[0].userList,...s]:s}catch(i){if(i&&10062===(null===i||void 0===i?void 0:i.code)){const e=n("TUIChat.您当前购买使用的套餐包暂未开通群消息已读回执功能");Object(En["b"])(e,o.env),console.warn(e)}}},c=async(e=!1)=>{var t;if(!o.isGroup||!o.message||0===s()(o.message).length)return;const n=await ac.TUIServer.getGroupUnreadMemberList(o.message,e?o.readReceiptList[1].cursor:"");o.readReceiptList[1].isCompleted=null===n||void 0===n?void 0:n.data.isCompleted,o.readReceiptList[1].cursor=(null===n||void 0===n||null===(t=n.data)||void 0===t?void 0:t.cursor)||"";const a=n.data.unreadUserIDList,i=await d(a);o.readReceiptList[1].userList=e?[...o.readReceiptList[1].userList,...i]:i},d=async e=>{const t=[];if(e.length&&o.isGroup){const n=await ac.TUIServer.getUserProfile(e),o=n.data;a()(o).call(o,e=>{t.push({nick:null===e||void 0===e?void 0:e.nick,avatar:null===e||void 0===e?void 0:e.avatar,userID:null===e||void 0===e?void 0:e.userID})})}return t},u=()=>{var e;(null===(e=o.message)||void 0===e?void 0:e.conversationType)===ac.TUIServer.TUICore.TIM.TYPES.CONV_GROUP?o.isGroup=!0:o.isGroup=!1},p=()=>{switch(o.showListNow){case 0:l(!0);break;case 1:c(!0);break;default:break}},m=()=>{o.message={},o.readReceiptList=[{label:e.isH5?n("TUIChat.人已读"):n("TUIChat.已读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人未读"):n("TUIChat.未读"),count:0,userList:[],isCompleted:!0,cursor:"",show:!0},{label:e.isH5?n("TUIChat.人关闭阅读状态"):n("TUIChat.关闭阅读状态"),count:0,userList:[],isCompleted:!0,cursor:"",show:!1}],o.showListNow=0,o.messageInfo={isImg:!1,content:""}},h=()=>{var e,t,a,i,s;if(o.message&&o.isH5)switch(o.message.type){case ac.TUIServer.TUICore.TIM.TYPES.MSG_TEXT:o.messageInfo.content=null===(e=o.message)||void 0===e||null===(e=e.payload)||void 0===e?void 0:e.text,o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_CUSTOM:o.messageInfo.content=n("TUIChat.自定义"),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_IMAGE:o.messageInfo.content=null===(t=Object(U["j"])(o.message))||void 0===t?void 0:t.url,o.messageInfo.isImg=!0;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_AUDIO:o.messageInfo.content=n("TUIChat.语音"),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_VIDEO:o.messageInfo.content=null===(a=Object(U["t"])(o.message))||void 0===a?void 0:a.snapshotUrl,o.messageInfo.isImg=!0;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_FILE:o.messageInfo.content=n("TUIChat.文件")+(null===(i=o.message)||void 0===i||null===(i=i.payload)||void 0===i?void 0:i.fileName),o.messageInfo.isImg=!1;break;case ac.TUIServer.TUICore.TIM.TYPES.MSG_FACE:o.messageInfo.content=null===(s=Object(U["h"])(o.message))||void 0===s?void 0:s.url,o.messageInfo.isImg=!0;break}},v=()=>{var e;o.isMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)};return{...Object(M["toRefs"])(o),dialog:i,toggleShow:r,getReadList:l,getUnreadList:c,isGroup:u,handleAvatarAndName:d,close:m,getMoreList:p,showMessage:h,caculateTimeago:En["a"],handleDialogPosition:v}}});var ic=ac;n("01ce");const sc=me()(ic,[["render",oc],["__scopeId","data-v-103b5294"]]);var rc=sc,lc=rc;const cc={class:"header"},dc={class:"header-back"},uc={class:"header-title"},pc={class:"header-close"},mc={class:"body"},hc={class:"body-message"},vc={class:"body-list"};function fc(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("RepliesItem");return e.show?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["replies",[e.isH5?"replies-H5":"",e.isMenuOpen?"replies-menu-open":""]]),ref:"dialog"},[Object(M["createElementVNode"])("div",cc,[Object(M["createElementVNode"])("div",dc,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.toggleShow&&e.toggleShow(...t))})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",uc,[Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.$t("TUIChat.回复详情")),1)]),Object(M["createElementVNode"])("div",pc,[e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-close",onClick:t[1]||(t[1]=(...t)=>e.toggleShow&&e.toggleShow(...t))}))])]),Object(M["createElementVNode"])("div",mc,[Object(M["createElementVNode"])("div",hc,[Object(M["createVNode"])(s,{message:e.message,isH5:e.isH5,isRoot:!0},null,8,["message","isH5"])]),Object(M["createElementVNode"])("div",vc,[Object(M["createElementVNode"])("ul",null,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.replies,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:n,class:"body-list-item"},[Object(M["createVNode"])(s,{message:t,isH5:e.isH5,isRoot:!1},null,8,["message","isH5"])]))),128))])])])],2)):Object(M["createCommentVNode"])("",!0)}const gc={class:"message-bubble",ref:"htmlRefHook"},bc=["src"],Oc={class:"message-area"},yc={class:"message-area-title"},jc={class:"name"},kc={class:"time"},Ic={class:"content content-in"},wc={key:1},Ec=["src"],Cc={key:4,class:"message-video-cover"},Tc=["src"],Sc=["src"],_c={key:6,class:"message-file"},Dc={class:"message-file-content"};function Nc(e,t,n,o,a,i){var s,r,l,c,d,u,p,m,h,v,f,g,b;const O=Object(M["resolveComponent"])("MessageText"),y=Object(M["resolveComponent"])("MessageEmojiReact");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["replies-item",e.isRoot?"":"replies-item-normal"])},[Object(M["createElementVNode"])("div",gc,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(s=e.message)||void 0===s?void 0:s.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,bc),Object(M["createElementVNode"])("main",Oc,[Object(M["createElementVNode"])("div",yc,[Object(M["createElementVNode"])("label",jc,Object(M["toDisplayString"])(e.isRoot?e.message.nameCard||e.message.nick||e.message.from:e.message.messageSender),1),Object(M["createElementVNode"])("label",kc,Object(M["toDisplayString"])(e.caculateTimeago(1e3*(e.isRoot?null===(r=e.message)||void 0===r?void 0:r.time:null===(l=e.message)||void 0===l?void 0:l.messageTime))),1)]),Object(M["createElementVNode"])("div",Ic,[e.message.messageType!==e.constant.typeText&&e.message.type!==e.TIM.TYPES.MSG_TEXT&&e.isRoot?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createBlock"])(O,{key:0,data:e.handleTextMessageShowContext(e.isRoot?e.message:{payload:{text:null===(c=e.message)||void 0===c?void 0:c.messageAbstract}})},null,8,["data"])),e.message.messageType===e.constant.typeCustom||e.message.type===e.TIM.TYPES.MSG_CUSTOM?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",wc,Object(M["toDisplayString"])(null===(d=e.handleCustomMessageShowContext(e.message))||void 0===d?void 0:d.custom),1)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeImage||e.message.type===e.TIM.TYPES.MSG_IMAGE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:2,class:"message-img",src:null===(u=e.message)||void 0===u||null===(u=u.payload)||void 0===u?void 0:u.imageInfoArray[1].url},null,8,Ec)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeAudio||e.message.type===e.TIM.TYPES.MSG_AUDIO?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:3,class:"message-audio",style:Object(M["normalizeStyle"])(`width: ${10*(null===(p=e.message)||void 0===p||null===(p=p.payload)||void 0===p?void 0:p.second)+40}px`)},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-voice"},null,-1)),Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(null===(m=e.message)||void 0===m||null===(m=m.payload)||void 0===m?void 0:m.second)+"s",1)],4)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeVideo||e.message.type===e.TIM.TYPES.MSG_VIDEO?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Cc,[Object(M["createElementVNode"])("img",{class:"message-videoimg",src:(null===(h=e.message)||void 0===h||null===(h=h.payload)||void 0===h?void 0:h.snapshotUrl)||(null===(v=e.message)||void 0===v||null===(v=v.payload)||void 0===v?void 0:v.thumbUrl)},null,8,Tc)])):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeFace||e.message.type===e.TIM.TYPES.MSG_FACE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:5,class:"message-img",src:e.url},null,8,Sc)):Object(M["createCommentVNode"])("",!0),e.message.messageType===e.constant.typeFile||e.message.type===e.TIM.TYPES.MSG_FILE?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",_c,[t[1]||(t[1]=Object(M["createElementVNode"])("i",{class:"icon icon-files"},null,-1)),Object(M["createElementVNode"])("div",Dc,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(null===(f=e.message)||void 0===f||null===(f=f.payload)||void 0===f?void 0:f.fileName),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])((null===(g=e.handleFileMessageShowContext(e.message))||void 0===g?void 0:g.size)||(null===(b=e.message)||void 0===b||null===(b=b.payload)||void 0===b?void 0:b.fileSize)),1)])])):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(y,{message:e.message,type:"content"},null,8,["message"])])])],512)],2)}const Uc=Object(M["defineComponent"])({props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},isRoot:{type:Boolean,default:!1}},components:{MessageText:ve,MessageEmojiReact:lo},setup(e,t){const n=Object(M["reactive"])({message:{},isH5:!1,url:"",isRoot:!1,constant:nn["a"],TIM:ao["a"]});return Object(M["watchEffect"])(()=>{var t;(n.message=e.message,n.isH5=e.isH5,n.isRoot=e.isRoot,n.message.type===ao["a"].TYPES.MSG_FACE)&&(n.url=`https://web.sdk.qcloud.com/im/assets/face-elem/${null===(t=n.message)||void 0===t||null===(t=t.payload)||void 0===t?void 0:t.data}@2x.png`)}),{...Object(M["toRefs"])(n),handleTextMessageShowContext:U["r"],handleCustomMessageShowContext:U["g"],handleFileMessageShowContext:U["i"],caculateTimeago:En["a"]}}});var Bc=Uc;n("3910");const Mc=me()(Bc,[["render",Nc],["__scopeId","data-v-c1a2ea1e"]]);var xc=Mc;const Vc=Object(M["defineComponent"])({type:"custom",components:{RepliesItem:xc},props:{message:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1},show:{type:Boolean,default:()=>!1},url:{type:String,default:""},messageList:{type:Array,default:()=>[]}},setup(e,t){const n=Object(M["reactive"])({message:{},isGroup:!1,show:!1,isH5:!1,url:"",showListNow:0,isMenuOpen:!0,replies:[],messageList:[],TIM:ao["a"]}),o=Object(M["ref"])();Object(M["watchEffect"])(()=>{n.message=e.message,n.show=e.show,n.isH5=e.isH5,n.url=e.url,n.messageList=e.messageList}),Object(M["watch"])(()=>{n.message,n.messageList},()=>{n.message=e.message,n.messageList=e.messageList,s(n.message)},{deep:!0});const i=()=>{n.show=!n.show,n.show||(t.emit("closeDialog","replies"),r())};Object(wn["onClickOutside"])(o,()=>{n.show=!1,t.emit("closeDialog","replies"),r()});const s=e=>{try{var t,o;const{cloudCustomData:i}=e;if(!i)return;const s=Object(U["a"])(i);n.replies=null===s||void 0===s||null===(t=s.messageReplies)||void 0===t?void 0:t.replies,null===n||void 0===n||null===(o=n.replies)||void 0===o||a()(o).call(o,e=>{var t;const{messageID:o,messageSender:a}=e,i=I()(t=n.messageList).call(t,e=>e.ID===o||e.from===a);e.avatar=i?null===i||void 0===i?void 0:i.avatar:""})}catch(i){console.log(i)}},r=()=>{n.message={}},l=()=>{var e;n.isMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)};return{...Object(M["toRefs"])(n),dialog:o,toggleShow:i,close:r,caculateTimeago:En["a"],handleDialogPosition:l}}});var Lc=Vc;n("d45a");const Rc=me()(Lc,[["render",fc],["__scopeId","data-v-43000c27"]]);var Pc=Rc,Ac=Pc;const Gc={key:0,class:"call",id:"call"},Hc={class:"call-main-content",ref:"dialog"},zc={key:0,class:"icon icon-call-voice"},Fc={key:0,class:"icon icon-call-video"},$c={class:"uncall-dialog-body"};function Yc(e,t,n,o,a,i){const r=Object(M["resolveComponent"])("Transfer"),l=Object(M["resolveComponent"])("Dialog");return e.handleShowCallIcon(e.conversation,e.isH5)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gc,[Object(M["createElementVNode"])("div",{class:"call-icon",onClick:t[0]||(t[0]=(...t)=>e.toggleShowSelectDialog&&e.toggleShowSelectDialog(...t))},t[7]||(t[7]=[Object(M["createElementVNode"])("i",{class:"icon icon-call",title:"通话"},null,-1),Object(M["createElementVNode"])("i",{class:"icon icon-down-arrow",title:"通话"},null,-1)])),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["call-main",[e.isH5&&"call-main-h5"]])},[Object(M["createElementVNode"])("div",Hc,[Object(M["createElementVNode"])("div",{class:"call-main-voice",onClick:t[1]||(t[1]=t=>e.onClickCall(1))},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",zc)):Object(M["createCommentVNode"])("",!0),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.语音通话")),1)]),Object(M["createElementVNode"])("div",{class:"call-main-video",onClick:t[2]||(t[2]=t=>e.onClickCall(2))},[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Fc)):Object(M["createCommentVNode"])("",!0),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.视频通话")),1)]),Object(M["createElementVNode"])("footer",null,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:0,class:"close",onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.showSelectDialog=!1,["stop"]))},Object(M["toDisplayString"])(e.$t("TUIChat.取消")),1)):Object(M["createCommentVNode"])("",!0)])],512)],2),[[M["vShow"],e.showSelectDialog]]),Object(M["createVNode"])(l,{show:e.showGroupUserDialog,isH5:e.isH5,isHeaderShow:!1,isFooterShow:!1,background:!1,"onUpdate:show":t[4]||(t[4]=t=>e.showGroupUserDialog=t)},{default:Object(M["withCtx"])(()=>{var t;return[Object(M["createVNode"])(r,{isSearch:!0,title:e.showTitle,list:e.searchUserList,isH5:e.isH5,isRadio:"isC2C"===(null===(t=e.conversation)||void 0===t?void 0:t.type),onSearch:e.handleSearch,onSubmit:e.submit,onCancel:e.cancle},null,8,["title","list","isH5","isRadio","onSearch","onSubmit","onCancel"])]}),_:1},8,["show","isH5"]),Object(M["createVNode"])(l,{show:e.showUnsupportDialog,isH5:e.isH5,isHeaderShow:!0,isFooterShow:!0,background:!0,title:e.$t("TUIChat.欢迎使用TUICallKit"),"onUpdate:show":t[6]||(t[6]=t=>e.showUnsupportDialog=t)},{default:Object(M["withCtx"])(()=>{var n;return[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("div",$c,[Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(e.errorContent),1),Object(M["withDirectives"])(Object(M["createElementVNode"])("p",null,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("TUIChat.请点击"))+" ",1),Object(M["createElementVNode"])("a",{onClick:t[5]||(t[5]=t=>{var n;return e.openLink(null===(n=e.errorLink)||void 0===n?void 0:n.url)})},Object(M["toDisplayString"])(e.$t("TUIChat."+(null===(n=e.errorLink)||void 0===n?void 0:n.label))),1),Object(M["createTextVNode"])(" "+Object(M["toDisplayString"])(e.$t("TUIChat.进行体验")),1)],512),[[M["vShow"],s()(e.errorLink).length>0]])])])]}),_:1},8,["show","isH5","title"])])):Object(M["createCommentVNode"])("",!0)}var Kc=Ai,Wc=La;const qc=Object(M["defineComponent"])({props:{show:{type:Boolean,default:()=>!1},isMute:{type:Boolean,default:()=>!1},isH5:{type:Boolean,default:()=>!1},conversation:{type:Object,default:()=>({})}},components:{Dialog:Kc,Transfer:Wc},setup(e,t){var n;const{t:o}=qc.TUIServer.TUICore.config.i18n.useI18n(),a=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},i=Object(M["reactive"])({showSelectDialog:!1,showCall:!1,showGroupUserDialog:!1,isH5:!1,isMute:!1,isHomeMenuOpen:!1,conversation:{},showTitle:"",searchUserList:[],memberList:[],mediaType:0,showUnsupportDialog:!1,errorContent:"",errorLink:{}}),s=Object(M["ref"])();Object(M["watchEffect"])(()=>{i.showSelectDialog=e.show,i.isMute=e.isMute,i.isH5=e.isH5,i.conversation=e.conversation}),Object(M["watch"])(()=>i.showCall,(e,t)=>{e!==t&&i.showCall&&c()});const r=()=>{i.isMute||(i.showSelectDialog=!0)};Object(wn["onClickOutside"])(s,()=>{i.showSelectDialog=!1});const c=()=>{var e;i.isHomeMenuOpen=!(null===(e=document)||void 0===e||null===(e=e.getElementsByClassName("home-menu"))||void 0===e||!e.length)},d=e=>{var t,n,o;if(i.showSelectDialog=!1,i.mediaType=e,null===qc||void 0===qc||null===(t=qc.TUIServer)||void 0===t||null===(t=t.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t||!t.TUICallKit)return b(),void an.getInstance().reportEvent({name:"callOptions",ext1:"call-uninstall"});switch(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall-success"}),(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===a||void 0===a?void 0:a.commit)&&(null===a||void 0===a||a.commit("handleTask",6)),null===(o=i.conversation)||void 0===o?void 0:o.type){case qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C:u(i.conversation,e),an.getInstance().reportEvent({name:"callOptions",ext1:"call-c2c"});break;case qc.TUIServer.TUICore.TIM.TYPES.CONV_GROUP:m(e),an.getInstance().reportEvent({name:"callOptions",ext1:"call-group"});break;default:break}},u=async(e,t,n=[])=>{const o=e.type;switch(o){case qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C:try{var a;await qc.TUIServer.TUICore.TUIServer.TUICallKit.call({userID:null===e||void 0===e||null===(a=e.userProfile)||void 0===a?void 0:a.userID,type:t})}catch(s){b(s)}break;case qc.TUIServer.TUICore.TIM.TYPES.CONV_GROUP:try{var i;await qc.TUIServer.TUICore.TUIServer.TUICallKit.groupCall({userIDList:n,groupID:null===e||void 0===e||null===(i=e.groupProfile)||void 0===i?void 0:i.groupID,type:t})}catch(s){b(s)}break;default:break}},p=(e,t)=>{var n,o;return(e.type!==qc.TUIServer.TUICore.TIM.TYPES.CONV_C2C||(null===e||void 0===e||null===(n=e.userProfile)||void 0===n?void 0:n.userID)!==(null===qc||void 0===qc||null===(o=qc.TUIServer)||void 0===o||null===(o=o.TUICore)||void 0===o||null===(o=o.TUIServer)||void 0===o||null===(o=o.TUIProfile)||void 0===o||null===(o=o.currentStore)||void 0===o||null===(o=o.profile)||void 0===o?void 0:o.userID))&&(an.getInstance().reportEvent({name:"callOptions",ext1:"clickCall"}),!0)},m=e=>{var t,n;i.showGroupUserDialog=!0,i.showTitle=o(1===e?"TUIChat.发起群语音":"TUIChat.发起群视频");const a={groupID:null===i||void 0===i||null===(t=i.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t?void 0:t.groupID,count:100,offset:0};null===qc||void 0===qc||null===(n=qc.TUIServer)||void 0===n||null===(n=n.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIGroup)||void 0===n||null===(n=n.getGroupMemberList(a))||void 0===n||n.then(e=>{var t,n,o;const a=null===(t=i.conversation)||void 0===t||null===(t=t.groupProfile)||void 0===t||null===(t=t.selfInfo)||void 0===t?void 0:t.userID;let s=[];if(null!==i&&void 0!==i&&null!==(n=i.conversation)&&void 0!==n&&null!==(n=n.groupProfile)&&void 0!==n&&n.muteAllMembers)s=[];else{var r;const t=(new Date).getTime();s=j()(r=e.data.memberList).call(r,e=>(null===e||void 0===e?void 0:e.userID)!==a&&(!(1e3*(null===e||void 0===e?void 0:e.muteUntil)-t>0)&&e))}null!==i&&void 0!==i&&null!==(o=i.conversation)&&void 0!==o&&null!==(o=o.groupProfile)&&void 0!==o&&o.muteAllMembers&&(s=[]),i.memberList=s,i.searchUserList=s})},h=async e=>{var t;const n=null===(t=i.memberList)||void 0===t?void 0:j()(t).call(t,t=>(null===t||void 0===t?void 0:t.userID)===e);i.searchUserList=null!==n&&void 0!==n&&n.length?n:i.memberList},v=e=>{i.searchUserList=i.memberList,i.showGroupUserDialog=!1;const t=null===e||void 0===e?void 0:l()(e).call(e,e=>null===e||void 0===e?void 0:e.userID);u(i.conversation,i.mediaType,t)},f=()=>{i.showGroupUserDialog=!1,i.mediaType=0},g=e=>{e&&(window.open(e),an.getInstance().reportEvent({name:"openLink",ext1:"callkit-doc"}))},b=e=>{var t;e?(null===e||void 0===e||null===(t=e.message)||void 0===t?void 0:_()(t).call(t,"The package you purchased does not support this ability."))>=0?(i.showUnsupportDialog=!0,i.errorContent=o("TUIChat.您当前购买使用的套餐包暂未开通此功能"),i.errorLink=Ki.purchase):(i.errorContent=(null===e||void 0===e?void 0:e.message)||e,i.showUnsupportDialog=!1,i.errorLink={}):(i.showUnsupportDialog=!0,i.errorContent=o("TUIChat.检测到您暂未集成TUICallKit,无法体验音视频通话功能"),i.errorLink=Ki.implement)};return{...Object(M["toRefs"])(i),toggleShowSelectDialog:r,dialog:s,onClickCall:d,handleCallDialogPosition:c,handleCall:u,handleGroupDialog:m,handleSearch:h,submit:v,cancle:f,handleShowCallIcon:p,openLink:g,handleUnsupportDialog:b}}});var Zc=qc;n("ec3a");const Jc=me()(Zc,[["render",Yc],["__scopeId","data-v-0003a24f"]]);var Qc=Jc,Xc=Qc,ed=n("1eaf"),td=n.n(ed),nd=n("6ba3"),od=n("34ae");const ad=["src"],id={class:"actions-bar"},sd={class:"image-counter"};var rd=Object(M["defineComponent"])({__name:"imagePreviewer",props:{imageList:{type:Array,default:()=>[]},currentImage:{type:Object,default:()=>({})}},emits:["close"],setup(e,{emit:t}){const n=e,o=t,a=Object(M["ref"])(1),i=Object(M["ref"])(0),s=Object(M["ref"])(.1),r=Object(M["ref"])(0),l=Object(M["ref"])(),c=Object(M["ref"])(),{isH5:d}=Object(nd["a"])();let u=0,p={},m=!1,h=!1,v=null;Object(M["watchEffect"])(()=>{var e;r.value=E()(e=n.imageList).call(e,e=>e.ID===n.currentImage.ID)});const f=e=>{e.preventDefault(),k(e),I(e)},g=e=>{e.preventDefault(),m=!0,e.touches&&2===e.touches.length&&(h=!0,w(e))},b=e=>{var t;e.preventDefault();let n=0,o=0;if(h)v||(h=!1,delete p.pageX2,delete p.pageY2,v=O()(()=>{v=null},200));else if(null===v){switch(m){case!0:n=null===e||void 0===e||null===(t=e.changedTouches[0])||void 0===t?void 0:t.pageX,o=n-u,o>100?x():o<-100&&B();break;case!1:D();break}v=O()(()=>{v=null},200)}},y=e=>{h=!1,delete p.pageX1,delete p.pageY1},j=e=>{if(e.preventDefault(),0!==Math.abs(e.deltaX)&&0!==Math.abs(e.deltaY))return;let t=a.value;t+=e.deltaY*(e.ctrlKey?-.01:.002),t=Math.min(Math.max(.125,t),4),a.value=t},k=e=>{var t;u=null===e||void 0===e||null===(t=e.changedTouches[0])||void 0===t?void 0:t.pageX,m=!1},I=e=>{let t=null===e||void 0===e?void 0:e.touches[0],n=null===e||void 0===e?void 0:e.touches[1];p.pageX1=null===t||void 0===t?void 0:t.pageX,p.pageY1=null===t||void 0===t?void 0:t.pageY,n&&(p.pageX2=null===n||void 0===n?void 0:n.pageX,p.pageY2=null===n||void 0===n?void 0:n.pageY)},w=e=>{let t=null===e||void 0===e?void 0:e.touches[0],n=null===e||void 0===e?void 0:e.touches[1];n&&(Object(od["isNumber"])(p.pageX2)||(p.pageX2=n.pageX),Object(od["isNumber"])(p.pageY2)||(p.pageY2=n.pageY));const o=(e,t,n,o)=>td()(n-e,o-t);if(!Object(od["isNumber"])(p.pageX1)||!Object(od["isNumber"])(p.pageY1)||!Object(od["isNumber"])(p.pageX2)||!Object(od["isNumber"])(p.pageY2))return;let i=o(t.pageX,t.pageY,n.pageX,n.pageY)/o(p.pageX1,p.pageY1,p.pageX2,p.pageY2);a.value=Math.min(Math.max(.5,a.value*i),4)};Object(M["onMounted"])(()=>{var e,t,n,o,a,i;null===l||void 0===l||null===(e=l.value)||void 0===e||e.addEventListener("touchstart",f),null===l||void 0===l||null===(t=l.value)||void 0===t||t.addEventListener("touchmove",g),null===l||void 0===l||null===(n=l.value)||void 0===n||n.addEventListener("touchend",b),null===l||void 0===l||null===(o=l.value)||void 0===o||o.addEventListener("touchcancel;",y),null===l||void 0===l||null===(a=l.value)||void 0===a||a.addEventListener("wheel",j),null===(i=document)||void 0===i||i.addEventListener("keydown",C)});const C=e=>{e.preventDefault(),27===(null===e||void 0===e?void 0:e.keyCode)&&D()},T=()=>{a.value+=.1},S=()=>{a.value=a.value-.1>s.value?a.value-.1:s.value},D=()=>{o("close")},N=()=>{i.value-=90},U=()=>{i.value+=90},B=()=>{c.value.style.transition="0.5s",r.value{c.value.style.transition="0.5s",r.value>0&&r.value--,V()},V=()=>{a.value=1,i.value=0};return Object(M["onUnmounted"])(()=>{var e,t,n,o,a,i;null===l||void 0===l||null===(e=l.value)||void 0===e||e.removeEventListener("touchstart",f),null===l||void 0===l||null===(t=l.value)||void 0===t||t.removeEventListener("touchmove",g),null===l||void 0===l||null===(n=l.value)||void 0===n||n.removeEventListener("touchend",b),null===l||void 0===l||null===(o=l.value)||void 0===o||o.removeEventListener("touchcancel;",y),null===l||void 0===l||null===(a=l.value)||void 0===a||a.removeEventListener("wheel",j),null===(i=document)||void 0===i||i.removeEventListener("keydown",C)}),(t,n)=>{var o;return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["image-previewer",[Object(M["unref"])(d)&&"image-previewer-h5"]])},[Object(M["createElementVNode"])("div",{class:"image-wrapper",ref_key:"image",ref:l},[Object(M["createElementVNode"])("ul",{class:"image-list",style:Object(M["normalizeStyle"])({width:100*e.imageList.length+"%",transform:`translateX(-${100*r.value/e.imageList.length}%)`}),ref_key:"ul",ref:c},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.imageList,(e,t)=>{var n,o,s,r;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"image-item",key:t},[Object(M["createElementVNode"])("img",{class:"image-preview",style:Object(M["normalizeStyle"])({transform:`scale(${a.value}) rotate(${i.value}deg)`}),src:-1===(null===e||void 0===e||null===(n=e.payload)||void 0===n||null===(n=n.imageInfoArray[0])||void 0===n?void 0:_()(o=n.url).call(o,"http"))?`${Object(M["unref"])(_e["a"]).urlF.replace("lol","://")}/file/show/${null===e||void 0===e||null===(s=e.payload)||void 0===s||null===(s=s.imageInfoArray[0])||void 0===s?void 0:s.url}`:null===e||void 0===e||null===(r=e.payload)||void 0===r||null===(r=r.imageInfoArray[0])||void 0===r?void 0:r.url,alt:""},null,12,ad)])}),128))],4)],512),Object(M["withDirectives"])(Object(M["createElementVNode"])("i",{class:"icon icon-close",onClick:D},null,512),[[M["vShow"],!Object(M["unref"])(d)]]),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"image-button image-button-left",onClick:x},n[0]||(n[0]=[Object(M["createElementVNode"])("i",{class:"icon icon-left-arrow"},null,-1)]),512),[[M["vShow"],!Object(M["unref"])(d)&&r.value>0]]),Object(M["withDirectives"])(Object(M["createElementVNode"])("div",{class:"image-button image-button-right",onClick:B},n[1]||(n[1]=[Object(M["createElementVNode"])("i",{class:"icon icon-right-arrow"},null,-1)]),512),[[M["vShow"],!Object(M["unref"])(d)&&r.value<(null===(o=e.imageList)||void 0===o?void 0:o.length)-1]]),Object(M["createElementVNode"])("div",id,[Object(M["createElementVNode"])("i",{class:"icon icon-zoom-in",onClick:T}),Object(M["createElementVNode"])("i",{class:"icon icon-zoom-out",onClick:S}),Object(M["createElementVNode"])("i",{class:"icon icon-refresh-left",onClick:N}),Object(M["createElementVNode"])("i",{class:"icon icon-refresh-right",onClick:U}),Object(M["createElementVNode"])("span",sd,Object(M["toDisplayString"])(r.value+1)+" / "+Object(M["toDisplayString"])(e.imageList.length),1)])],2)}}});n("8f32");const ld=me()(rd,[["__scopeId","data-v-1e64c546"]]);var cd=ld,dd=cd;let ud={Face:Nr,Image:Rr,Video:$r,File:Qr,Evaluate:Dl,Words:hl,Call:Xc};const pd={Forward:al},md={TypingHeader:Rl,ReadReceiptDialog:lc,Replies:Ac,ImagePreviewer:dd,MessageInput:er};function hd(e){let t={};switch(e){case"send":t=ud;break;case"message":t=pd;break;case"other":t=md;break;default:break}return t}const vd=e=>{var t;const n={...ud,...pd,...md};a()(t=s()(n)).call(t,e=>{n[e].TUIServer=Od.server}),br.TUIServer=Od.server,br.components={...br.components,...n},e.component(Od.name,br)},fd=e=>(Od.server=new B(e),e.component(Od.name,Od),Od),gd=e=>{ud={...ud,...e}},bd=e=>{l()(e).call(e,e=>(delete ud[e],e))},Od={name:"TUIChat",component:br,server:B,sendComponents:ud,messageComponents:pd,otherComponents:md,install:vd,plugin:fd,setPluginComponents:gd,removePluginComponents:bd};var yd=Od;class jd extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIConversation",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){var n,o,a;null!==this&&void 0!==this&&null!==(n=this.currentStore)&&void 0!==n&&n.conversationData&&(this.currentStore.conversationData.list=e.conversationList,this.currentStore.userIDList=null===(o=this.currentStore.conversationData.list)||void 0===o?void 0:l()(a=j()(o).call(o,e=>{var t;return null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID})).call(a,e=>{var t;return null===e||void 0===e||null===(t=e.userProfile)||void 0===t?void 0:t.userID}))}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIConversation",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.NET_STATE_CHANGE,this.handleNetStateChange,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate),this.TUICore.tim.off(this.TUICore.TIM.EVENT.NET_STATE_CHANGE,this.handleNetStateChange)}handleConversationListUpdate(e){this.listUpdate(e.data.length),this.handleFilterSystem(e.data)}listUpdate(e){this.currentStore.listLength=e}handleNetStateChange(e){var t;this.currentStore.netWork=(null===e||void 0===e||null===(t=e.data)||void 0===t?void 0:t.state)||""}handleFilterSystem(e){console.log(e);const t={allConversationList:e,conversationList:[]},n=j()(e).call(e,e=>{var t;return(null===e||void 0===e?void 0:e.conversationID)===(null===this||void 0===this||null===(t=this.currentStore)||void 0===t?void 0:t.currentConversationID)});return 0===n.length&&this.handleCurrentConversation({}),t.conversationList=j()(e).call(e,e=>e.type!==this.TUICore.TIM.TYPES.CONV_SYSTEM),this.store.allConversationList=t.allConversationList,this.store.conversationList=t.conversationList,t}async setMessageRead(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setMessageRead({conversationID:e});t(n)}catch(o){n(o)}})}async deleteConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteConversation(e);t(n)}catch(o){n(o)}})}async pinConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.pinConversation(e);t(n)}catch(o){n(o)}})}async muteConversation(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setMessageRemindType(e);t(n)}catch(o){n(o)}})}async getConversationProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getConversationProfile(e);t(n)}catch(o){n(o)}})}async getConversationList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getConversationList();console.log("imResponse============================"),console.log(t),this.handleFilterSystem(t.data.conversationList),e(await this.getGroupList())}catch(n){t(n)}})}async getGroupList(){return this.handlePromiseCallback(async(e,t)=>{try{var n;const t=await this.TUICore.tim.getGroupList();a()(n=t.data.groupList).call(n,e=>{e["conversationID"]="GROUP"+e["groupID"]}),console.log("imResponseGroup============================"),console.log(t),e(t)}catch(o){t(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,await this.getConversationList(),this.currentStore}handleCurrentConversation(e){this.TUICore.getStore().TUIChat.conversation=e||{},null!==e&&void 0!==e&&e.conversationID?(this.currentStore.currentConversationID===(null===e||void 0===e?void 0:e.conversationID)&&(this.currentStore.currentConversationID=""),this.currentStore.currentConversationID&&this.setMessageRead(this.currentStore.currentConversationID),this.currentStore.currentConversationID=null===e||void 0===e?void 0:e.conversationID,this.setMessageRead(e.conversationID)):this.currentStore.currentConversationID=""}}const kd={class:"TUI-conversation",style:{background:"#f2f2f2"}},Id={key:0,class:"network"},wd={class:"TUI-conversation-list",style:{height:"100%",width:"100%",overflow:"hidden"}},Ed={style:{background:"#ffffff",height:"80px","margin-bottom":"8px"}},Cd={style:{height:"35px","line-height":"35px","padding-left":"20px","font-size":"20px","font-weight":"bold",display:"flex","justify-content":"space-between"}},Td={style:{display:"flex"}},Sd=["src"],_d=["src"],Dd={key:0,style:{display:"flex"}},Nd={key:1};function Ud(e,t,n,o,a,i){var s,r,l;const c=Object(M["resolveComponent"])("el-input"),d=Object(M["resolveComponent"])("el-checkbox"),u=Object(M["resolveComponent"])("TUIConversationList");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",kd,[e.isNetwork?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Id,[t[6]||(t[6]=Object(M["createElementVNode"])("i",{class:"icon icon-error"},"!",-1)),Object(M["createElementVNode"])("p",null,"️"+Object(M["toDisplayString"])(e.$t("TUIConversation.网络异常,请您检查网络设置")),1)])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("main",wd,[Object(M["createElementVNode"])("div",Ed,[Object(M["createElementVNode"])("div",Cd,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.title)+" ",1),Object(M["createElementVNode"])("div",Td,[e.playStatus?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,onClick:t[1]||(t[1]=(...t)=>e.changePlayStatus&&e.changePlayStatus(...t))},[Object(M["createElementVNode"])("img",{class:"play-or-mute-img",src:e.muteImage,alt:""},null,8,_d)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,onClick:t[0]||(t[0]=(...t)=>e.changePlayStatus&&e.changePlayStatus(...t))},[Object(M["createElementVNode"])("img",{class:"play-or-mute-img",src:e.playImage,alt:""},null,8,Sd)]))])]),Object(M["createVNode"])(c,{modelValue:e.searchInfo,"onUpdate:modelValue":t[2]||(t[2]=t=>e.searchInfo=t),style:{width:"calc(100% - 40px)","margin-left":"20px"},placeholder:"输入姓名搜索当前咨询用户"},null,8,["modelValue"])]),"expert"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,style:Object(M["normalizeStyle"])([{height:""+(e.checkedExpert?"50px":"QH"!==(null===(s=e.hrefParams)||void 0===s?void 0:s.vitePlatform)?"73px":"33px")},{padding:"0 10px"}])},["QH"!==(null===(r=e.hrefParams)||void 0===r?void 0:r.vitePlatform)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Dd,[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["checkedPro",[e.checkedExpert?"":"expert"]]),onClick:t[3]||(t[3]=t=>e.clickExpert(!1))}," 员工咨询 ",2),Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["checkedPro",[e.checkedExpert?"expert":""]]),onClick:t[4]||(t[4]=t=>e.clickExpert(!0)),style:{"margin-left":"10px"}}," 专家咨询 ",2)])):Object(M["createCommentVNode"])("",!0),e.checkedExpert?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Nd,[Object(M["createVNode"])(d,{modelValue:e.tfReply,"onUpdate:modelValue":t[5]||(t[5]=t=>e.tfReply=t)},{default:Object(M["withCtx"])(()=>t[7]||(t[7]=[Object(M["createTextVNode"])("专家待回复")])),_:1,__:[7]},8,["modelValue"])]))],4)):Object(M["createCommentVNode"])("",!0),Object(M["createVNode"])(u,{style:Object(M["normalizeStyle"])({height:"expert"===e.hrefParams.isSpecialized&&"QH"!==(null===(l=e.hrefParams)||void 0===l?void 0:l.vitePlatform)?`calc(100% - ${e.checkedExpert?"148px":"171px"})`:`calc(100% - ${e.checkedExpert?"98px":"131px"})`}),currentID:e.currentConversationID,data:e.conversationData,onHandleItem:e.handleCurrentConversation,isH5:e.env.isH5,displayOnlineStatus:e.displayOnlineStatus,userStatusList:e.userStatusList,checkedExpert:e.checkedExpert,tfReply:e.tfReply,searchInfo:e.searchInfo},null,8,["style","currentID","data","onHandleItem","isH5","displayOnlineStatus","userStatusList","checkedExpert","tfReply","searchInfo"])])])}var Bd=n("82ec"),Md=n.n(Bd);function xd(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("LiteItem");return Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",{class:Object(M["normalizeClass"])(["TUI-conversation-list",[e.isH5?"list-h5":""]]),ref:"list",onMousewheel:t[0]||(t[0]=(...t)=>e.scrollChange&&e.scrollChange(...t)),onScroll:t[1]||(t[1]=(...t)=>e.scrollChange&&e.scrollChange(...t)),style:{padding:"10px 10px 0",width:"calc(100% - 20px)",height:"calc(100% - 100px)",overflow:"auto"}},[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.listData,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:"liteItem"+n},[null!==t&&void 0!==t&&t.children?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t.flag===e.checkedExpert&&(e.tfReply&&0==t.children.tfReply&&"1"==t.children.sessionType||!e.tfReply)&&"expert"===e.hrefParams.isSpecialized&&!1===(null===t||void 0===t?void 0:t.isEnd)||"expert"!==e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:0,isH5:e.isH5,currentID:e.currentID,conversation:t,toggleID:e.toggleID,handleConversation:{avator:e.data.handleItemAvator,name:e.data.handleItemName,showAt:e.data.handleShowAt,showMessage:e.data.handleShowMessage,time:e.data.handleItemTime,userID:e.data.handleItemUserID},displayOnlineStatus:e.displayOnlineStatus,userStatusList:e.userStatusList,onToggle:e.handleToggleListItem,onOpen:e.handleListItem,onHandle:e.handleItem,types:e.types},null,8,["isH5","currentID","conversation","toggleID","handleConversation","displayOnlineStatus","userStatusList","onToggle","onOpen","onHandle","types"])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)],64))),128))],34)}var Vd=n("5066"),Ld=n.n(Vd);const Rd={key:0,src:Ld.a,alt:"",style:{position:"absolute",top:"0",left:"0"}},Pd={style:{width:"60px",display:"flex","align-items":"center","justify-content":"center"}},Ad={style:{"font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},Gd={style:{width:"100px"}},Hd={style:{"text-align":"center",transform:"scale(0.8)","margin-top":"10px"}},zd={key:0,class:"num_n"},Fd={style:{width:"60px",display:"flex","align-items":"center","justify-content":"center"}},$d={style:{"font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"}},Yd={style:{width:"100px"}},Kd={style:{"text-align":"center",transform:"scale(0.8)","margin-top":"10px"}},Wd={key:0,class:"num_n"};function qd(e,t,n,o,a,i){var s,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j;const k=Object(M["resolveComponent"])("el-image");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{style:{display:"flex",width:"100%","margin-bottom":"10px",padding:"10px 0","border-radius":"10px",cursor:"pointer",position:"relative"},class:Object(M["normalizeClass"])([e.currentID===e.conversation.conversationID?"bg_o":"bg_t"]),onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.handleListItem(e.conversation),["prevent","stop"]))},["1"===(null===(s=e.conversation)||void 0===s?void 0:s.children.sessionType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",Rd)):Object(M["createCommentVNode"])("",!0),"expert"===e.hrefParams.isSpecialized?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:1},[Object(M["createElementVNode"])("div",Pd,[Object(M["createVNode"])(k,{style:{width:"36px",height:"36px"},src:e.getSrc(null===(r=e.conversation)||void 0===r?void 0:r.children.toAccountHead)},{error:Object(M["withCtx"])(()=>t[1]||(t[1]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{src:fn.a,alt:"",style:{width:"36px",height:"36px"}})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{width:"calc(100% - 160px)"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#000000"}])},[Object(M["createElementVNode"])("div",Ad,Object(M["toDisplayString"])(e.preG(`${e.conversation.children.toAccountName||""}-${e.conversation.children.memberSex||""}-${e.conversation.children.memberAge||""}`)),1),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{color:"#666666","font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#666666"}])},Object(M["toDisplayString"])(null===(l=e.handleConversation)||void 0===l?void 0:l.showMessage(e.conversation).substring((null===(c=e.handleConversation)||void 0===c?void 0:_()(d=c.showMessage(e.conversation)).call(d,":"))+1)),5)],4),Object(M["createElementVNode"])("div",Gd,[Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{"text-align":"center",color:"#999999"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#999999"}])},Object(M["toDisplayString"])(null===(u=e.handleConversation)||void 0===u?void 0:u.time(null===(p=e.conversation)||void 0===p||null===(p=p.lastMessage)||void 0===p?void 0:p.lastTime)),5),Object(M["createElementVNode"])("div",Hd,[e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",zd,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])],64)):(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:2},[Object(M["createElementVNode"])("div",Fd,[Object(M["createVNode"])(k,{style:{width:"36px",height:"36px"},src:e.getSrc(null===(m=e.conversation)||void 0===m||null===(m=m.children)||void 0===m?void 0:m.avatar)},{error:Object(M["withCtx"])(()=>t[2]||(t[2]=[Object(M["createElementVNode"])("div",null,[Object(M["createElementVNode"])("img",{src:fn.a,alt:"",style:{width:"36px",height:"36px"}})],-1)])),_:1},8,["src"])]),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{width:"calc(100% - 160px)"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#000000"}])},[Object(M["createElementVNode"])("div",$d,Object(M["toDisplayString"])(`${(null===(h=e.conversation)||void 0===h||null===(h=h.children)||void 0===h?void 0:h.userName)||""}-${(null===(v=e.conversation)||void 0===v||null===(v=v.children)||void 0===v?void 0:v.sex_dictText)||""}-${(null===(f=e.conversation)||void 0===f||null===(f=f.children)||void 0===f?void 0:f.age)||""}`),1),Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{color:"#666666","font-size":"16px","white-space":"nowrap","text-overflow":"ellipsis",overflow:"hidden"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#666666"}])},Object(M["toDisplayString"])(null===(g=e.handleConversation)||void 0===g?void 0:g.showMessage(e.conversation).substring((null===(b=e.handleConversation)||void 0===b?void 0:_()(O=b.showMessage(e.conversation)).call(O,":"))+1)),5)],4),Object(M["createElementVNode"])("div",Yd,[Object(M["createElementVNode"])("div",{style:Object(M["normalizeStyle"])([{"text-align":"center",color:"#999999"},{color:e.currentID===e.conversation.conversationID?"#ffffff":"#999999"}])},Object(M["toDisplayString"])(null===(y=e.handleConversation)||void 0===y?void 0:y.time(null===(j=e.conversation)||void 0===j||null===(j=j.lastMessage)||void 0===j?void 0:j.lastTime)),5),Object(M["createElementVNode"])("div",Kd,[e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Wd,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])],64))],2)}var Zd=n("c1df"),Jd=n.n(Zd);const Qd=Object(M["defineComponent"])({props:{conversation:{type:Object,default:()=>({})},handleConversation:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},toggleID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({conversation:{},currentID:"",currentConversation:{},toggle:!1,currentuserID:"",conversationType:"",loop:0,displayOnlineStatus:!1,userStatusList:new qi.a});function o(e){e&&_()(e).call(e,",")===e.length-1&&(e=e.substring(0,e.length-1));const t=_e["a"].urlF;return e?`${t.replace("lol","://")}/file/show/${e}`:""}_e["a"].hasOwnProperty("sessionId")&&Object(M["nextTick"])(()=>{n.currentID="GROUP"+_e["a"].sessionId});const a=Object(M["ref"])(),i=Object(M["ref"])();Object(wn["onClickOutside"])(i,()=>{!0===n.toggle&&t.emit("toggle","")}),Object(M["watchEffect"])(()=>{n.conversation=e.conversation,n.currentID=e.currentID,console.log(n.currentID),n.toggle=!1,n.displayOnlineStatus=e.displayOnlineStatus,n.userStatusList=e.userStatusList,e.toggleID===e.conversation.conversationID&&(n.toggle=!0)}),Object(M["watch"])(()=>n.toggle,e=>{e&&Object(M["nextTick"])(()=>{var e;const t=Object(wn["useElementBounding"])(a),n=null===i||void 0===i||null===(e=i.value)||void 0===e?void 0:e.offsetParent,o=Object(wn["useElementBounding"])(n);t.top.value-o.top.value-t.height.value-30>0&&(a.value.style.top="auto",a.value.style.bottom="30px")})});const s=e=>Jd()(e).format("HH:mm"),r=e=>{t.emit("open",e),t.emit("toggle","")},l=e=>{var o;null!==e&&void 0!==e&&null!==(o=e.target)&&void 0!==o&&o.oncontextmenu&&(e.target.oncontextmenu=function(){return!1}),t.emit("toggle",n.conversation.conversationID)},c=e=>{t.emit("handle",{name:e,conversation:n.conversation}),t.emit("toggle","")},d=()=>{var t;return!(!n.displayOnlineStatus||(null===(t=n.conversation)||void 0===t?void 0:t.type)!==e.types.CONV_C2C)};function u(e){return e=e.replace(/--/g,"-"),0===_()(e).call(e,"-")&&(e=e.substring(1)),-1!==Se()(e).call(e,"-")&&(e=e.substring(0,Se()(e).call(e,"-"))),e}return{preG:u,...Object(M["toRefs"])(n),handleListItem:r,handleItem:c,dialog:a,content:i,toggleDialog:l,showUserOnlineStatus:d,getTime:s,hrefParams:_e["a"],getSrc:o}}});var Xd=Qd;n("ed40");const eu=me()(Xd,[["render",qd],["__scopeId","data-v-79ffaaa2"]]);var tu=eu;const nu=Object(M["defineComponent"])({props:{data:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},checkedExpert:{type:Boolean,default:()=>!1},tfReply:{type:Boolean,default:()=>!1},searchInfo:{type:String,default:()=>""}},components:{LiteItem:tu},setup(e,t){const n=null===nu||void 0===nu?void 0:nu.TUIServer,o=Object(M["reactive"])({data:{},currentID:"",toggleID:"",displayOnlineStatus:!1,userStatusList:new qi.a,types:n.TUICore.TIM.TYPES,listData:[]});Object(M["watchEffect"])(()=>{var t,n,a;(o.data=e.data,console.log(e.data),o.listData=j()(t=e.data.list).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e.searchInfo)||!e.searchInfo}),"expert"===_e["a"].isSpecialized)?o.listData=j()(n=e.data.list).call(n,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e.searchInfo)||!e.searchInfo}):o.listData=j()(a=e.data.list).call(a,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.userName)&&-1!==_()(o=t.children.userName).call(o,e.searchInfo)||!e.searchInfo});o.currentID=e.currentID,o.displayOnlineStatus=e.displayOnlineStatus,o.userStatusList=e.userStatusList}),Object(M["watch"])(()=>e.userStatusList,()=>{o.userStatusList=e.userStatusList},{deep:!0}),Object(M["watch"])(()=>e.searchInfo,e=>{if("expert"===_e["a"].isSpecialized){let t=JSON.parse(v()(o.data.list));o.listData=j()(t).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.toAccountName)&&-1!==_()(o=t.children.toAccountName).call(o,e)||!e})}else{let t=JSON.parse(v()(o.data.list));o.listData=j()(t).call(t,t=>{var n,o;return(null===(n=t.children)||void 0===n?void 0:n.userName)&&-1!==_()(o=t.children.userName).call(o,e)||!e})}});const a=e=>{var n;$i["a"].commit("setConsultInfo",{consultType:e.type,consultStatus:null===e||void 0===e||null===(n=e.children)||void 0===n?void 0:n.contentStatus});const o=e.children;"expert"===_e["a"].isSpecialized?$i["a"].commit("setTitleName",i(`${(null===o||void 0===o?void 0:o.toAccountName)||""}-${(null===o||void 0===o?void 0:o.memberSex)||""}-${(null===o||void 0===o?void 0:o.memberAge)||""}-${(null===o||void 0===o?void 0:o.orgCode)||""}`)):$i["a"].commit("setTitleName",i(`${(null===o||void 0===o?void 0:o.userName)||""}-${(null===o||void 0===o?void 0:o.sex_dictText)||""}-${(null===o||void 0===o?void 0:o.age)||""}-${(null===o||void 0===o?void 0:o.depart)||""}`));const a=(null===o||void 0===o?void 0:o.doctorInfo)||{};$i["a"].commit("setDoctorName",null!==o&&void 0!==o&&o.doctorInfo?i(`${(null===a||void 0===a?void 0:a.doctorName)||""}-${(null===a||void 0===a?void 0:a.doctorTitle_dictText)||""}-${(null===a||void 0===a?void 0:a.departmentName)||""}-${(null===a||void 0===a?void 0:a.resourceName)||""}`):""),t.emit("handleItem",e)};function i(e){return e=e.replace(/--/g,"-"),0===_()(e).call(e,"-")&&(e=e.substring(1)),"-"===e.substring(e.length-1)&&(e=e.substring(0,e.length-1)),e}const s=e=>{const{name:t,conversation:n}=e;switch(an.getInstance().reportEvent({name:"conversationOptions",ext1:"conversationOptions"}),t){case"delete":r(n);break;case"ispinned":l(t,n);break;case"dispinned":l(t,n);break;case"mute":c(t,n);break;case"notMute":c(t,n);break}},r=e=>{n.deleteConversation(e.conversationID).then(e=>{an.getInstance().reportEvent({name:"conversationOptions",ext1:"conversationDelete"});const{conversationID:t}=e.data,{conversation:o}=n.TUICore.getStore().TUIChat;o.conversationID===t&&(n.TUICore.getStore().TUIChat.conversation={conversationID:""})})},l=(e,t)=>{const o={conversationID:t.conversationID,isPinned:!0};"dispinned"===e&&(o.isPinned=!1),console.log("dispinned",o),n.pinConversation(o)},c=(e,t)=>{const o={messageRemindType:n.TUICore.TIM.TYPES.MSG_REMIND_ACPT_NOT_NOTE};t.type===n.TUICore.TIM.TYPES.CONV_C2C?o.userIDList=[t.userProfile.userID]:t.type===n.TUICore.TIM.TYPES.CONV_GROUP&&(o.groupID=t.groupProfile.groupID),"notMute"===e&&(o.messageRemindType=n.TUICore.TIM.TYPES.MSG_REMIND_ACPT_AND_NOTE),n.muteConversation(o)},d=e=>{o.toggleID=e},u=()=>{o.toggleID&&(o.toggleID="")};return{...Object(M["toRefs"])(o),handleListItem:a,handleItem:s,handleToggleListItem:d,scrollChange:u,hrefParams:_e["a"]}}});var ou=nu;n("4853");const au=me()(ou,[["render",xd],["__scopeId","data-v-06ab06e3"]]);var iu=au,su=iu,ru=n("d35b"),lu=n.n(ru);const cu=["id"],du={class:"left"},uu=["src"],pu={key:1,class:"num"},mu={key:2,class:"num-notify"},hu={class:"content"},vu={class:"content-header"},fu={class:"name"},gu={class:"middle-box"},bu={key:0,class:"middle-box-at"},Ou={class:"content-footer"},yu={class:"time"},ju={key:0,class:"mute-icon",src:lu.a},ku={key:0,class:"dialog dialog-item",ref:"dialog"};function Iu(e,t,n,o,a,i){var s,r,l,c,d,u,p;const m=Object(M["resolveDirective"])("TUILongPress");return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{ref:"content",class:Object(M["normalizeClass"])(["TUI-conversation-content",[e.currentID===e.conversation.conversationID&&"selected",e.conversation.isPinned&&"pinned",e.isH5?"list-item-h5":""]]),id:e.conversation.conversationID},[Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:"TUI-conversation-item",onClick:t[0]||(t[0]=Object(M["withModifiers"])(t=>e.handleListItem(e.conversation),["prevent","stop"])),onContextmenu:t[1]||(t[1]=Object(M["withModifiers"])((...t)=>e.toggleDialog&&e.toggleDialog(...t),["prevent","right"]))},[Object(M["createElementVNode"])("aside",du,[Object(M["createElementVNode"])("img",{class:"avatar",src:null===(s=e.handleConversation)||void 0===s?void 0:s.avator(e.conversation)},null,8,uu),e.showUserOnlineStatus()?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["online-status",1===(null===(r=e.userStatusList)||void 0===r||null===(r=r.get(null===(l=e.conversation)||void 0===l||null===(l=l.userProfile)||void 0===l?void 0:l.userID))||void 0===r?void 0:r.statusType)?"online-status-online":"online-status-offline"])},null,2)):Object(M["createCommentVNode"])("",!0),e.conversation.unreadCount>0&&"AcceptNotNotify"!==e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",pu,Object(M["toDisplayString"])(e.conversation.unreadCount>99?"99+":e.conversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0),e.conversation.unreadCount>0&&"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",mu)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("div",hu,[Object(M["createElementVNode"])("div",vu,[Object(M["createElementVNode"])("label",null,[Object(M["createElementVNode"])("p",fu,Object(M["toDisplayString"])(null===(c=e.handleConversation)||void 0===c?void 0:c.name(e.conversation)),1)]),Object(M["createElementVNode"])("div",gu,["GROUP"===e.conversation.type&&e.conversation.groupAtInfoList.length>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",bu,Object(M["toDisplayString"])(null===(d=e.handleConversation)||void 0===d?void 0:d.showAt(e.conversation)),1)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("p",null,Object(M["toDisplayString"])(null===(u=e.handleConversation)||void 0===u?void 0:u.showMessage(e.conversation)),1)])]),Object(M["createElementVNode"])("div",Ou,[Object(M["createElementVNode"])("span",yu,Object(M["toDisplayString"])(null===(p=e.handleConversation)||void 0===p?void 0:p.time(e.conversation.lastMessage.lastTime)),1),"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",ju)):Object(M["createCommentVNode"])("",!0),t[7]||(t[7]=Object(M["createElementVNode"])("i",null,null,-1))])])],32)),[[m,e.toggleDialog,void 0,{self:!0}]]),e.toggle?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ku,[Object(M["createElementVNode"])("p",{class:"conversation-options",onClick:t[2]||(t[2]=Object(M["withModifiers"])(t=>e.handleItem("delete"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.删除会话")),1),e.conversation.isPinned?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:0,class:"conversation-options",onClick:t[3]||(t[3]=Object(M["withModifiers"])(t=>e.handleItem("ispinned"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.置顶会话")),1)),e.conversation.isPinned?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:1,class:"conversation-options",onClick:t[4]||(t[4]=Object(M["withModifiers"])(t=>e.handleItem("dispinned"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.取消置顶")),1)):Object(M["createCommentVNode"])("",!0),""===e.conversation.messageRemindType||"AcceptAndNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:2,class:"conversation-options",onClick:t[5]||(t[5]=Object(M["withModifiers"])(t=>e.handleItem("mute"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.消息免打扰")),1)):Object(M["createCommentVNode"])("",!0),"AcceptNotNotify"===e.conversation.messageRemindType?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",{key:3,class:"conversation-options",onClick:t[6]||(t[6]=Object(M["withModifiers"])(t=>e.handleItem("notMute"),["stop"]))},Object(M["toDisplayString"])(e.$t("TUIConversation.取消免打扰")),1)):Object(M["createCommentVNode"])("",!0)],512)):Object(M["createCommentVNode"])("",!0)],10,cu)}const wu=Object(M["defineComponent"])({props:{conversation:{type:Object,default:()=>({})},handleConversation:{type:Object,default:()=>({})},currentID:{type:String,default:()=>""},toggleID:{type:String,default:()=>""},isH5:{type:Boolean,default:()=>!1},displayOnlineStatus:{type:Boolean,default:()=>!1},userStatusList:{type:qi.a,default:()=>new qi.a},types:{type:Object,default:()=>({})}},setup(e,t){const n=Object(M["reactive"])({conversation:{},currentID:"",currentConversation:{},toggle:!1,currentuserID:"",conversationType:"",loop:0,displayOnlineStatus:!1,userStatusList:new qi.a});_e["a"].hasOwnProperty("sessionId")&&Object(M["nextTick"])(()=>{n.currentID="GROUP"+_e["a"].sessionId});const o=Object(M["ref"])(),a=Object(M["ref"])();Object(wn["onClickOutside"])(a,()=>{!0===n.toggle&&t.emit("toggle","")}),Object(M["watchEffect"])(()=>{n.conversation=e.conversation,n.currentID=e.currentID,n.toggle=!1,n.displayOnlineStatus=e.displayOnlineStatus,n.userStatusList=e.userStatusList,e.toggleID===e.conversation.conversationID&&(n.toggle=!0)}),Object(M["watch"])(()=>n.toggle,e=>{e&&Object(M["nextTick"])(()=>{var e;const t=Object(wn["useElementBounding"])(o),n=null===a||void 0===a||null===(e=a.value)||void 0===e?void 0:e.offsetParent,i=Object(wn["useElementBounding"])(n);t.top.value-i.top.value-t.height.value-30>0&&(o.value.style.top="auto",o.value.style.bottom="30px")})});const i=e=>{t.emit("open",e),t.emit("toggle","")},s=e=>{var o;null!==e&&void 0!==e&&null!==(o=e.target)&&void 0!==o&&o.oncontextmenu&&(e.target.oncontextmenu=function(){return!1}),t.emit("toggle",n.conversation.conversationID)},r=e=>{t.emit("handle",{name:e,conversation:n.conversation}),t.emit("toggle","")},l=()=>{var t;return!(!n.displayOnlineStatus||(null===(t=n.conversation)||void 0===t?void 0:t.type)!==e.types.CONV_C2C)};return{...Object(M["toRefs"])(n),handleListItem:i,handleItem:r,dialog:o,content:a,toggleDialog:s,showUserOnlineStatus:l}}});var Eu=wu;n("77d5");const Cu=me()(Eu,[["render",Iu],["__scopeId","data-v-102ec99c"]]);var Tu=Cu,Su=Tu,_u=n("409e"),Du=n.n(_u),Nu=n("14ed"),Uu=n.n(Nu);const Bu=Object(M["defineComponent"])({name:"TUIConversation",components:{LiteItem:Su,TUIConversationList:su},props:{displayOnlineStatus:{type:Boolean,default:!1}},setup(e,t){const n=null===Bu||void 0===Bu?void 0:Bu.TUIServer,o=Object(M["reactive"])({currentConversationID:"",conversationData:{list:[],expertListDataO:[],expertListDataT:[],listData:[],handleItemAvator:e=>Object(U["f"])(e),handleItemName:e=>Object(U["m"])(e),handleShowAt:e=>Object(U["d"])(e),handleShowMessage:e=>Object(U["p"])(e),handleItemTime:e=>e&&e>0?Object(En["a"])(1e3*e):""},listLength:0,initLength:0,userIDList:[],netWork:"",env:n.TUICore.TUIEnv,displayOnlineStatus:!1,userStatusList:new qi.a,title:"expert"!==_e["a"].isSpecialized?"正在应急":"正在咨询",searchInfo:"",initListData:[],checkedExpert:!1,tfReply:!1,playStatus:!0});function i(){console.log("body"),s(!0),o.playStatus=!1,document.body.removeEventListener("click",i)}function s(e){const t=new Audio("13203.wav");t.muted=e,t.play()}async function r(){"expert"===_e["a"].isSpecialized?await m():await d()}u()(n).call(n,o),Object(M["watch"])(()=>o.listLength,async e=>{e!==o.initLength&&("expert"===_e["a"].isSpecialized?await m():await d()),o.initLength=e},{immediate:!0}),su.TUIServer=n,n.TUICore.tim.on(n.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,r),document.body.addEventListener("click",i),n.TUICore.tim.on(n.TUICore.TIM.EVENT.MESSAGE_RECEIVED,()=>{window.parent.postMessage(v()({code:"newMessage"}),"*"),s(o.playStatus)}),Object(M["watch"])(()=>o.currentConversationID,e=>{t.emit("current",e),_e["a"].hasOwnProperty("sessionId")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].sessionId&&Object(M["nextTick"])(()=>{for(const e of o.conversationData.list)if(e["conversationID"]===e["type"]+_e["a"].sessionId)return c(e)})},{deep:!0}),Object(M["watch"])(()=>e.displayOnlineStatus,async(e,t)=>{e!==t&&(o.displayOnlineStatus=e,n.TUICore.TUIServer.TUIContact.handleUserStatus(o.displayOnlineStatus,[...o.userIDList]))},{immediate:!0}),Object(M["watch"])(()=>[...o.userIDList],async(e,t)=>{Object(En["d"])(e,t)||n.TUICore.TUIServer.TUIContact.handleUserStatus(o.displayOnlineStatus,[...o.userIDList])},{deep:!0});const l=Object(M["computed"])(()=>{const e=o.netWork===n.TUICore.TIM.TYPES.NET_STATE_DISCONNECTED,t=o.netWork===n.TUICore.TIM.TYPES.NET_STATE_CONNECTING;return e||t}),c=e=>{n.handleCurrentConversation(e)};async function d(){var e;let t=[];a()(e=o.conversationData.list).call(e,e=>{t.push(null===e||void 0===e?void 0:e.conversationID.replace("GROUP","").toString())}),await pr("/health-emergency/api/emergency/order/listSession",{sessions:t,type:"false"===_e["a"].isSpecialized?"0":"1"}).then(e=>{200===e.code?o.conversationData.listData=e.result:t.length>0&&Object(hr["a"])({message:e.message,type:"warning"})}).catch(e=>{console.log(e)}),p()}function p(){var e,t;o.conversationData.list=Md()(e=o.conversationData.list).call(e,(e,t)=>{var n,o;return new Date(1e3*(null===(n=t.lastMessage)||void 0===n?void 0:n.lastTime)).getTime()-new Date(1e3*(null===(o=e.lastMessage)||void 0===o?void 0:o.lastTime)).getTime()}),o.conversationData.list.length>0&&a()(t=o.conversationData.list).call(t,e=>{var t;o.conversationData.listData.length>0&&a()(t=o.conversationData.listData).call(t,t=>{e.conversationID.replace("C2C","").replace("GROUP","")===t.sessionId&&(e["children"]=t)})})}async function m(){var e;let t=[];a()(e=o.conversationData.list).call(e,e=>{var n;-1!==(null===e||void 0===e?void 0:_()(n=e.conversationID).call(n,"GROUP"))&&t.push(null===e||void 0===e?void 0:e.conversationID.replace("GROUP",""))}),await pr("/health-consultation/consultation/conSession/companySessionList",{imIds:t}).then(e=>{200===e.code&&(o.conversationData.expertListDataO=e.result)}).catch(e=>{console.log(e)}),await pr("/health-consultation/consultation/conSession/professorSessionList",{imIds:t}).then(e=>{200===e.code&&(o.conversationData.expertListDataT=e.result)}).catch(e=>{console.log(e)}),h()}function h(){var e;o.conversationData.list.length>0&&a()(e=o.conversationData.list).call(e,e=>{var t,n;o.conversationData.expertListDataO.length>0&&a()(t=o.conversationData.expertListDataO).call(t,t=>{t.imId?e.conversationID.replace("C2C","").replace("GROUP","")===t.imId&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!1):e.conversationID.replace("C2C","").replace("GROUP","")===t.fromAccount&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!1)}),o.conversationData.expertListDataT.length>0&&a()(n=o.conversationData.expertListDataT).call(n,t=>{t.imId?e.conversationID.replace("C2C","").replace("GROUP","")===t.imId&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!0):e.conversationID.replace("C2C","").replace("GROUP","")===t.fromAccount&&(e["isEnd"]=!1,e["children"]=t,e["flag"]=!0)})})}_e["a"].hasOwnProperty("sessionId")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].sessionId&&Object(M["nextTick"])(()=>{for(const e of o.conversationData.list)if(e["conversationID"]===e["type"]+_e["a"].sessionId)return c(e)}),_e["a"].hasOwnProperty("checkedExpert")&&null!==_e["a"]&&void 0!==_e["a"]&&_e["a"].checkedExpert&&Object(M["nextTick"])(()=>{o.checkedExpert="0"===(null===_e["a"]||void 0===_e["a"]?void 0:_e["a"].checkedExpert)}),tr["a"].on("endConsult",e=>{var t;o.conversationData.list.length>0&&a()(t=o.conversationData.list).call(t,t=>{if(e===t["conversationID"])return t["isEnd"]=!0,void(t["conversationID"]="")})});const f=e=>{e!==o.checkedExpert&&(o.checkedExpert=e,t.emit("checkedExpert",o.checkedExpert))},g=()=>{t.emit("changeReply",o.tfReply)};function b(){console.log("change"),s(!0),o.playStatus=!o.playStatus}return{...Object(M["toRefs"])(o),handleCurrentConversation:c,isNetwork:l,clickExpert:f,changeReply:g,hrefParams:_e["a"],playImage:Du.a,muteImage:Uu.a,changePlayStatus:b}}});var Mu=Bu;n("2857"),n("dce0");const xu=me()(Mu,[["render",Ud],["__scopeId","data-v-c6fe208e"]]);var Vu=xu;const Lu=e=>{Vu.TUIServer=Pu.server,e.component(Pu.name,Vu)},Ru=e=>(Pu.server=new jd(e),e.component(Pu.name,Pu),Pu),Pu={name:"TUIConversation",component:Vu,server:jd,install:Lu,plugin:Ru};var Au=Pu;const Gu={profile:{}};class Hu extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIProfile",Gu,u()(t=this.updateStore).call(t,this)),this.getMyProfile()}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.profile=JSON.parse(v()(e.profile))}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.PROFILE_UPDATED,this.handleProfileUpdated)}handleProfileUpdated(e){var t;l()(t=e.data).call(t,e=>(e.userID===this.store.profile.userID&&(this.store.profile={},this.store.profile=e),e))}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIProfile",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}async getMyProfile(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getMyProfile();this.store.profile=t.data,this.currentStore.profile=JSON.parse(v()(this.store.profile)),e(t)}catch(n){t(n)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async updateMyProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateMyProfile(e);this.store.profile=n.data,t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,this.getMyProfile(),this.currentStore}setEdit(e){return this.currentStore.isEdit=e,this.currentStore.isEdit}}const zu={class:"profile-header"},Fu={class:"profile-avatar"},$u=["src"],Yu={class:"profile-main"},Ku={class:"profile-main-item"},Wu={class:"profile-main-name"},qu={key:0,class:"gender"},Zu={class:"profile-main-item"},Ju={class:"profile-main-label"},Qu={key:0,class:"profile-main-item"},Xu={class:"profile-main-label"},ep={key:0,class:"profile-main"},tp={class:"profile-main-item"},np={class:"profile-main-label"},op={class:"profile-main-item"},ap={class:"profile-main-label"},ip={key:1,class:"icon icon-right"};function sp(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("TUIProfileEdit");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["TUI-profile",[e.env.isH5?"TUI-profile-h5":""]])},[e.isEdit?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,userInfo:e.profile,isH5:e.env.isH5,onSubmit:e.submit,onCancel:e.cancel},null,8,["userInfo","isH5","onSubmit","onCancel"])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"profile",onClick:t[0]||(t[0]=(...t)=>e.toggleEdit&&e.toggleEdit(...t))},[Object(M["createElementVNode"])("header",zu,[Object(M["createElementVNode"])("aside",Fu,[Object(M["createElementVNode"])("img",{class:"avatar",src:e.profile.avatar?e.profile.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,$u)]),Object(M["createElementVNode"])("ul",Yu,[Object(M["createElementVNode"])("li",Ku,[Object(M["createElementVNode"])("h1",Wu,Object(M["toDisplayString"])(e.profile.nick||"-"),1),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",qu,Object(M["toDisplayString"])(e.profile.gender?e.$t("TUIProfile."+e.genderLabel[e.profile.gender]):""),1))]),Object(M["createElementVNode"])("li",Zu,[Object(M["createElementVNode"])("label",Ju,Object(M["toDisplayString"])(e.$t("TUIProfile.用户ID"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.userID),1)]),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",Qu,[Object(M["createElementVNode"])("label",Xu,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.selfSignature||e.$t("TUIProfile.暂未设置")),1)])):Object(M["createCommentVNode"])("",!0)])]),e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",ep,[Object(M["createElementVNode"])("li",tp,[Object(M["createElementVNode"])("label",np,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.selfSignature||e.$t("TUIProfile.暂未设置")),1)]),Object(M["createElementVNode"])("li",op,[Object(M["createElementVNode"])("label",ap,Object(M["toDisplayString"])(e.$t("TUIProfile.出生年月")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.birthday?e.profile.birthday:e.$t("TUIProfile.暂未设置")),1)])])),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",ip)):Object(M["createCommentVNode"])("",!0)]))],2)}const rp={class:"edit-header"},lp={class:"edit-header-title"},cp={class:"edit-list"},dp={class:"edit-list-item space-top"},up={key:0},pp=["src"],mp={key:1,class:"avatar-list"},hp=["onClick"],vp=["src"],fp={key:0,class:"icon icon-right"},gp={class:"edit-list-item space-top"},bp={key:0},Op={key:0,class:"icon icon-right"},yp={class:"edit-list-item"},jp={class:"edit-list-item-content"},kp={class:"edit-list-item space-top"},Ip={key:0},wp={key:0,class:"icon icon-right"},Ep={class:"edit-list-item"},Cp={key:0},Tp={key:1,class:"gender-list"},Sp=["onClick"],_p={class:"name"},Dp={key:0,class:"icon icon-right"},Np={class:"edit-list-item"},Up={key:0},Bp={key:0,class:"icon icon-right"},Mp={key:0,class:"edit-footer"},xp={class:"mask-main"},Vp={class:"edit-h5-header"},Lp={class:"edit-h5-main"},Rp={key:0,class:"list"},Pp=["onClick"],Ap=["src"],Gp={key:1,class:"input"},Hp=["placeholder"],zp=["type","placeholder"],Fp={key:2},$p={class:"edit-h5-footer"},Yp=["disabled"];function Kp(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Datepicker");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["edit",[e.isH5?"edit-h5":""]])},[Object(M["createElementVNode"])("header",rp,[e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-back",onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))})):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("h1",lp,Object(M["toDisplayString"])(e.$t("TUIProfile.资料设置")),1)]),Object(M["createElementVNode"])("ul",cp,[Object(M["createElementVNode"])("li",dp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[1]||(t[1]=t=>e.setProfile("avatar"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.头像")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",up,[Object(M["createElementVNode"])("img",{src:e.profile.avatar?e.profile.avatar:"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,pp)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",mp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.avatarList,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"avatar-list-item",key:n,onClick:n=>e.chooseAvatar(t)},[Object(M["createElementVNode"])("img",{class:Object(M["normalizeClass"])([e.profile.avatar===t.avatar&&"selected"]),src:t.avatar},null,10,vp)],8,hp))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",fp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",gp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[3]||(t[3]=t=>e.setProfile("nick"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.昵称")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",bp,Object(M["toDisplayString"])(e.profile.nick),1)):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:1,type:"text","onUpdate:modelValue":t[2]||(t[2]=t=>e.profile.nick=t)},null,512)),[[M["vModelText"],e.profile.nick]])]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Op)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",yp,[Object(M["createElementVNode"])("main",jp,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.账号")),1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.profile.userID),1)])]),Object(M["createElementVNode"])("li",kp,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[5]||(t[5]=t=>e.setProfile("selfSignature"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.个性签名")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Ip,Object(M["toDisplayString"])(e.profile.selfSignature),1)):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:1,type:"text","onUpdate:modelValue":t[4]||(t[4]=t=>e.profile.selfSignature=t)},null,512)),[[M["vModelText"],e.profile.selfSignature]])]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",wp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Ep,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[6]||(t[6]=t=>e.setProfile("gender"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.性别")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Cp,Object(M["toDisplayString"])(e.profile.gender?e.$t("TUIProfile."+e.genderLabel[e.profile.gender]):""),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Tp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"gender-list-item",key:n,onClick:n=>e.showChooseGender(t)},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["gender",[e.profile.gender===t.type&&"gender-selected"]])},null,2),Object(M["createElementVNode"])("p",_p,Object(M["toDisplayString"])(e.$t("TUIProfile."+t.label)),1)],8,Sp))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Dp)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Np,[Object(M["createElementVNode"])("main",{class:"edit-list-item-content",onClick:t[7]||(t[7]=t=>e.setProfile("birthday"))},[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIProfile.出生年月")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Up,Object(M["toDisplayString"])(e.profile.birthday),1)):(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,placeholder:e.$t("TUIProfile.请选择出生日期"),enableTimePicker:!1,format:e.format,previewFormat:e.format,modelValue:e.birthday,"onUpdate:modelValue":e.showBirthday},null,8,["placeholder","format","previewFormat","modelValue","onUpdate:modelValue"]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Bp)):Object(M["createCommentVNode"])("",!0)])]),e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("footer",Mp,[Object(M["createElementVNode"])("button",{class:"btn-default",onClick:t[8]||(t[8]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("TUIProfile.取消")),1),Object(M["createElementVNode"])("button",{class:"btn-submit",onClick:t[9]||(t[9]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("TUIProfile.保存")),1)])),e.setName&&e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:1,class:"mask",onClick:t[14]||(t[14]=Object(M["withModifiers"])((...t)=>e.closeMask&&e.closeMask(...t),["self"]))},[Object(M["createElementVNode"])("div",xp,[Object(M["createElementVNode"])("header",Vp,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIProfile."+e.editConfig.title)),1),Object(M["createElementVNode"])("span",{class:"close",onClick:t[10]||(t[10]=(...t)=>e.closeMask&&e.closeMask(...t))},Object(M["toDisplayString"])(e.$t("关闭")),1)]),Object(M["createElementVNode"])("main",Lp,["select"===e.editConfig.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Rp,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.editConfig.list,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:"list-item",key:n,onClick:n=>e.choose(t)},[null!==t&&void 0!==t&&t.avatar?(Object(M["openBlock"])(),Object(M["createElementBlock"])("img",{key:0,class:Object(M["normalizeClass"])([e.editConfig.value===t.avatar&&"selected"]),src:t.avatar},null,10,Ap)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:Object(M["normalizeClass"])([e.editConfig.value===t.type&&"selected"])},Object(M["toDisplayString"])(e.$t("TUIProfile."+t.label)),3))],8,Pp))),128))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Gp,["textarea"===e.editConfig.type?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("textarea",{key:0,placeholder:e.editConfig.placeholder,"onUpdate:modelValue":t[11]||(t[11]=t=>e.editConfig.value=t)},null,8,Hp)),[[M["vModelText"],e.editConfig.value]]):"date"===e.editConfig.type?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:1,class:"datePicker",placeholder:e.$t("TUIProfile.请选择出生日期"),enableTimePicker:!1,format:e.format,previewFormat:e.format,modelValue:e.birthday,"onUpdate:modelValue":e.showBirthday},null,8,["placeholder","format","previewFormat","modelValue","onUpdate:modelValue"])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:2,type:e.editConfig.type,placeholder:e.$t("TUIProfile."+e.editConfig.placeholder),"onUpdate:modelValue":t[12]||(t[12]=t=>e.editConfig.value=t)},null,8,zp)),[[M["vModelDynamic"],e.editConfig.value]])])),e.editConfig.subText?(Object(M["openBlock"])(),Object(M["createElementBlock"])("sub",Fp,Object(M["toDisplayString"])(e.$t("TUIProfile."+e.editConfig.subText)),1)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("footer",$p,[Object(M["createElementVNode"])("button",{class:"btn btn-submit",disabled:!e.editConfig.value,onClick:t[13]||(t[13]=(...t)=>e.submit&&e.submit(...t))},Object(M["toDisplayString"])(e.$t("确定")),9,Yp)])])])):Object(M["createCommentVNode"])("",!0)],2)}var Wp=n("5141");n("1465");const qp=Object(M["defineComponent"])({props:{userInfo:{type:Object,default:()=>({})},isH5:{type:Boolean,default:()=>!1}},components:{Datepicker:Wp["a"]},setup(e,t){const n=null===qp||void 0===qp?void 0:qp.TUIServer,o=Object(M["reactive"])({profile:{},isEdit:!1,avatarList:[{name:"avatar_01",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_1.png"},{name:"avatar_02",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_2.png"},{name:"avatar_03",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_3.png"},{name:"avatar_04",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_4.png"},{name:"avatar_05",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_5.png"},{name:"avatar_06",avatar:" https://im.sdk.qcloud.com/download/tuikit-resource/avatar/avatar_6.png"}],type:[{label:"男",type:n.TUICore.TIM.TYPES.GENDER_MALE},{label:"女",type:n.TUICore.TIM.TYPES.GENDER_FEMALE}],genderLabel:{[n.TUICore.TIM.TYPES.GENDER_MALE]:"男",[n.TUICore.TIM.TYPES.GENDER_FEMALE]:"女",[n.TUICore.TIM.TYPES.GENDER_UNKNOWN]:"不显示"},setName:"",editConfig:{title:"",list:[],type:"",subText:"",placeholder:"",value:""}}),a=e=>{const t=e.getDate()>9?e.getDate():"0"+e.getDate(),n=e.getMonth()>8?e.getMonth()+1:"0"+(e.getMonth()+1),o=e.getFullYear();return`${o}${n}${t}`};Object(M["watchEffect"])(()=>{o.profile=JSON.parse(v()(e.userInfo))});const i=Object(M["computed"])(()=>{let t=o.profile.birthday;return"birthday"===o.setName&&e.isH5&&(t=o.editConfig.value),s(t)}),s=e=>{const t=""+e;if(8===t.length){const e=oo()(t).call(t,0,4),n=oo()(t).call(t,4,6),o=oo()(t).call(t,-2);return`${e}-${n}-${o}`}return""},r=e=>{o.profile.gender=e.type},l=e=>{o.profile.avatar=e.avatar},c=t=>{e.isH5?o.editConfig.value=t?Number(a(t)):0:o.profile.birthday=t?Number(a(t)):0},d=()=>{e.isH5&&(o.profile[o.setName]=o.editConfig.value,h()),t.emit("submit",o.profile)},u=()=>{t.emit("cancel",o.profile)},p=e=>{switch(o.editConfig.value=""+o.profile[e],o.setName=e,e){case"avatar":o.editConfig.title="选择头像",o.editConfig.list=o.avatarList,o.editConfig.type="select";break;case"nick":o.editConfig.title="设置昵称",o.editConfig.subText="仅限中文、字母、数字和下划线,2-20个字",o.editConfig.placeholder="请输入昵称",o.editConfig.type="text";break;case"gender":o.editConfig.title="性别选择",o.editConfig.list=o.type,o.editConfig.type="select";break;case"selfSignature":o.editConfig.title="个性签名",o.editConfig.type="textarea",o.editConfig.placeholder="请输入内容";break;case"birthday":o.editConfig.title="出生年月",o.editConfig.type="date",o.editConfig.placeholder="请选择出生日期";break;default:break}},m=e=>{o.editConfig.value=(null===e||void 0===e?void 0:e.avatar)||(null===e||void 0===e?void 0:e.type)},h=()=>{o.setName="",o.editConfig={title:"",list:[],type:"",subText:"",placeholder:"",value:""}};return{...Object(M["toRefs"])(o),showChooseGender:r,chooseAvatar:l,showBirthday:c,birthday:i,submit:d,cancel:u,setProfile:p,choose:m,closeMask:h,format:a}}});var Zp=qp;n("d4db");const Jp=me()(Zp,[["render",Kp],["__scopeId","data-v-25fbecd0"]]);var Qp=Jp,Xp=Qp;const em=Object(M["defineComponent"])({name:"TUIProfile",components:{TUIProfileEdit:Xp},setup(e,t){var n;const o=null===em||void 0===em?void 0:em.TUIServer,a=Object(M["reactive"])({profile:{},isEdit:!1,genderLabel:{[o.TUICore.TIM.TYPES.GENDER_MALE]:"男",[o.TUICore.TIM.TYPES.GENDER_FEMALE]:"女",[o.TUICore.TIM.TYPES.GENDER_UNKNOWN]:"不显示"},env:o.TUICore.TUIEnv});Xp.TUIServer=o,u()(o).call(o,a);const i=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},s=async e=>{const t={nick:e.nick,avatar:e.avatar,gender:e.gender||o.TUICore.TIM.TYPES.GENDER_UNKNOWN,selfSignature:e.selfSignature,birthday:e.birthday};var n;o.TUICore.getStore().TUIProfile.profile.nick!==e.nick&&((null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===i||void 0===i?void 0:i.commit)&&(null===i||void 0===i||i.commit("handleTask",2)));try{await o.updateMyProfile(t),an.getInstance().reportEvent({name:"changeProfile",ext1:"changeProfile"})}catch(s){console.log(s)}a.env.isH5||r()},r=()=>{a.env.isH5?a.isEdit=!1:l()},l=()=>{t.emit("changeStatus")},c=()=>{a.env.isH5&&(a.isEdit=!0)};return{...Object(M["toRefs"])(a),submit:s,cancel:r,changeStatus:l,toggleEdit:c}}});var tm=em;n("9a2f");const nm=me()(tm,[["render",sp],["__scopeId","data-v-bc4a483e"]]);var om=nm;const am=e=>{om.TUIServer=sm.server,e.component(sm.name,om)},im=e=>(sm.server=new Hu(e),e.component(sm.name,sm),sm),sm={name:"TUIProfile",component:om,server:Hu,install:am,plugin:im};var rm=sm;const lm={};class cm extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIGroup",lm,u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.groupList=e.groupList,this.currentStore.searchGroup=e.searchGroup}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated)}handleGroupListUpdated(e){this.store.groupList=e.data}handleGroupAttributesUpdated(e){const{groupID:t,groupAttributes:n}=e.data;console.log(t,n)}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIGroup",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}async getGroupList(e){return this.handlePromiseCallback(async(t,n)=>{try{let n={};n=e?await this.TUICore.tim.getGroupList(e):await this.TUICore.tim.getGroupList(),this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}createGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.createGroup(e);t(n)}catch(o){n(o)}})}dismissGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.dismissGroup(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}updateGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateGroupProfile(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}joinGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.joinGroup(e);t(n)}catch(o){n(o)}})}quitGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.quitGroup(e);t(n)}catch(o){n(o)}})}searchGroupByID(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.searchGroupByID(e);this.store.searchGroup=n.data.group,t(n)}catch(o){n(o)}})}getGroupOnlineMemberCount(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupOnlineMemberCount(e);t(n)}catch(o){n(o)}})}changeGroupOwner(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.changeGroupOwner(e);t(n)}catch(o){n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}initGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.initGroupAttributes(e);t(n)}catch(o){n(o)}})}setGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupAttributes(e);t(n)}catch(o){n(o)}})}deleteGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteGroupAttributes(e);t(n)}catch(o){n(o)}})}getGroupAttributes(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupAttributes(e);t(n)}catch(o){n(o)}})}getGroupMemberList(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberList(e);t(n)}catch(o){n(o)}})}addGroupMember(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.addGroupMember(e);t(n)}catch(o){n(o)}})}deleteGroupMember(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.deleteGroupMember(e);t(n)}catch(o){n(o)}})}setGroupMemberMuteTime(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberMuteTime(e);t(n)}catch(o){n(o)}})}setGroupMemberRole(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberRole(e);t(n)}catch(o){n(o)}})}setGroupMemberNameCard(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.setGroupMemberNameCard(e);t(n)}catch(o){n(o)}})}getGroupMemberProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupMemberProfile(e);t(n)}catch(o){n(o)}})}async bind(e){return this.currentStore=e,await this.getGroupList(),this.currentStore}}const dm={class:"TUI-group"};function um(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",dm,"TUIGroup")}const pm=Object(M["defineComponent"])({name:"TUIGroup",components:{},setup(e){const t=pm.TUIServer,n=Object(M["reactive"])({groupList:[],searchGroup:[],searchID:"",currentGroup:null});return u()(t).call(t,n),{...Object(M["toRefs"])(n)}}});var mm=pm;n("b23d");const hm=me()(mm,[["render",um],["__scopeId","data-v-f2d329c8"]]);var vm=hm;const fm=e=>{vm.TUIServer=bm.server,e.component(bm.name,vm)},gm=e=>(bm.server=new cm(e),e.component(bm.name,bm),bm),bm={name:"TUIGroup",component:vm,server:cm,install:fm,plugin:gm};var Om=bm;const ym={};class jm extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUIContact",ym,u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){this.currentStore.groupList=e.groupList,this.currentStore.searchGroup=e.searchGroup,this.currentStore.systemConversation=e.systemConversation,this.currentStore.systemMessageList=e.systemMessageList}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated,this),this.TUICore.tim.on(this.TUICore.TIM.EVENT.USER_STATUS_UPDATED,this.handleUserStatusUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_LIST_UPDATED,this.handleGroupListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.GROUP_ATTRIBUTES_UPDATED,this.handleGroupAttributesUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.CONVERSATION_LIST_UPDATED,this.handleConversationListUpdate),this.TUICore.tim.off(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated),this.TUICore.tim.off(this.TUICore.TIM.EVENT.USER_STATUS_UPDATED,this.handleUserStatusUpdated)}handleGroupListUpdated(e){this.store.groupList=e.data}handleGroupAttributesUpdated(e){const{groupID:t,groupAttributes:n}=e.data}handleConversationListUpdate(e){this.handleFilterSystem(e.data)}handleFriendListUpdated(e){var t;this.currentStore.friendList=e.data,this.currentStore.userIDList=l()(t=this.currentStore.friendList).call(t,e=>e.userID)}handleUserStatusUpdated(e){const t=e.data;a()(t).call(t,e=>{var t,n;const{userID:o,statusType:a,customStatus:i}=e;null===(t=this.currentStore)||void 0===t||null===(t=t.userStatusList)||void 0===t||t.set(o,{statusType:a,customStatus:i}),null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIConversation)||void 0===n||null===(n=n.currentStore)||void 0===n||null===(n=n.userStatusList)||void 0===n||n.set(o,{statusType:a,customStatus:i})})}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUIContact",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}handleFilterSystem(e){const t={allConversationList:e,systemConversationList:[]};t.systemConversationList=j()(e).call(e,e=>e.type===this.TUICore.TIM.TYPES.CONV_SYSTEM),this.store.allConversationList=t.allConversationList,this.store.systemConversationList=t.systemConversationList;const[n]=t.systemConversationList;return this.store.systemConversation=n,t}async getConversationList(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.getConversationList();this.handleFilterSystem(t.data.conversationList),e(t)}catch(n){t(n)}})}async getSystemMessageList(){const e={conversationID:this.store.systemConversation.conversationID,count:15};return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getMessageList(e);this.store.systemMessageList=n.data.messageList,t(n)}catch(o){n(o)}})}async setMessageRead(){return this.handlePromiseCallback(async(e,t)=>{try{const t=await this.TUICore.tim.setMessageRead({conversationID:this.store.systemConversation.conversationID});e(t)}catch(n){t(n)}})}async getGroupList(e){return this.handlePromiseCallback(async(t,n)=>{try{let n={};n=e?await this.TUICore.tim.getGroupList(e):await this.TUICore.tim.getGroupList(),this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}getGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getGroupProfile(e);this.store.groupList=n.data.groupList,t(n)}catch(o){n(o)}})}dismissGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.dismissGroup(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}updateGroupProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.updateGroupProfile(e);this.store.groupProfile=n.data.group,t(n)}catch(o){n(o)}})}joinGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.joinGroup(e);t(n)}catch(o){n(o)}})}quitGroup(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.quitGroup(e);t(n)}catch(o){n(o)}})}searchGroupByID(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.searchGroupByID(e);this.store.searchGroup=n.data.group,t(n)}catch(o){this.store.searchGroup={},n(o)}})}handleGroupApplication(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.handleGroupApplication(e);t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{var n;const t=await this.TUICore.tim.getFriendList();this.currentStore.friendList=t.data,this.currentStore.userIDList=l()(n=this.currentStore.friendList).call(n,e=>e.userID)||[],e(t)}catch(o){t(o)}})}async getUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;if(!e.length)return;const n=await this.TUICore.tim.getUserStatus({userIDList:e});null===n||void 0===n||null===(o=n.data)||void 0===o||null===(o=o.successUserList)||void 0===o||a()(o).call(o,e=>{var t,n;e&&null!==e&&void 0!==e&&e.userID&&(null===(t=this.currentStore)||void 0===t||null===(t=t.userStatusList)||void 0===t||t.set(null===e||void 0===e?void 0:e.userID,{statusType:null===e||void 0===e?void 0:e.statusType,customStatus:null===e||void 0===e?void 0:e.customStatus}),null===(n=this.TUICore)||void 0===n||null===(n=n.TUIServer)||void 0===n||null===(n=n.TUIConversation)||void 0===n||null===(n=n.currentStore)||void 0===n||null===(n=n.userStatusList)||void 0===n||n.set(null===e||void 0===e?void 0:e.userID,{statusType:null===e||void 0===e?void 0:e.statusType,customStatus:null===e||void 0===e?void 0:e.customStatus}))}),t(n)}catch(i){n(i)}})}async subscribeUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{if(!e.length)return;const n=await this.TUICore.tim.subscribeUserStatus({userIDList:e});t(n)}catch(o){n(o)}})}async unsubscribeUserStatus(e){return this.handlePromiseCallback(async(t,n)=>{try{var o;if(e&&!e.length)return;const n=await this.TUICore.tim.unsubscribeUserStatus({userIDList:e});null===(o=this.currentStore)||void 0===o||null===(o=o.userStatusList)||void 0===o||o.clear(),t(n)}catch(a){n(a)}})}async handleUserStatus(e,t){return this.handlePromiseCallback(async(n,o)=>{try{O()(async()=>{e?(await this.subscribeUserStatus(t),await this.getUserStatus(t)):await this.unsubscribeUserStatus(t)},1e3)}catch(a){o(a)}})}async bind(e){return this.currentStore=e,await this.getGroupList(),await this.getConversationList(),await this.getFriendList(),this.currentStore}}const km={class:"TUI-contact-left"},Im={class:"TUI-contact-left-header"},wm={class:"search"},Em={key:1,class:"search-box"},Cm={class:"input-box"},Tm=["placeholder"],Sm={key:0,class:"TUI-contact-column"},_m={class:"TUI-contact-column-item"},Dm={key:0,class:"num"},Nm={key:0,class:"TUI-contact-list"},Um={class:"TUI-contact-list-item selected not-aside"},Bm={key:0,class:"num"},Mm={class:"TUI-contact-column-item"},xm={class:"TUI-contact-list"},Vm=["onClick"],Lm={class:"left"},Rm=["src"],Pm={class:"content"},Am={class:"name"},Gm={class:"ID"},Hm={class:"type"},zm={class:"TUI-contact-column-item"},Fm={class:"TUI-contact-list"},$m=["onClick"],Ym={class:"left"},Km=["src"],Wm={class:"content"},qm={class:"name"},Zm={key:1,class:"TUI-contact-list"},Jm={class:"left"},Qm=["src"],Xm={class:"content"},eh={class:"name"},th={class:"ID"},nh={class:"type"},oh={class:"TUI-contact-main"},ah={key:0,class:"TUI-contact-main-h5-title"},ih={key:1,class:"TUI-contact-main-info"},sh={class:"TUI-contact-main-info-header"},rh={class:"list"},lh=["src"],ch={key:0,class:"TUI-contact-main-info-main"},dh=["disabled"],uh={class:"TUI-contact-main-info-footer"},ph={key:0},mh={key:1},hh={key:2,class:"TUI-contact-main-info"},vh={class:"TUI-contact-main-info-header"},fh={class:"list"},gh=["src"],bh={class:"TUI-contact-main-info-footer"},Oh={key:3,class:"TUI-contact-system"},yh={key:0,class:"TUI-contact-system-header"};function jh(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("MessageSystem");return Object(M["openBlock"])(),Object(M["createBlock"])(M["Transition"],{onBeforeLeave:e.init},{default:Object(M["withCtx"])(()=>{var n,o,a,i,r,l,c,d,u,p,m,h,v,f,g,b,O,y,j,k,I;return[Object(M["createElementVNode"])("div",{class:Object(M["normalizeClass"])(["TUI-contact",[e.env.isH5?"TUI-contact-H5":""]])},[Object(M["createElementVNode"])("aside",km,[Object(M["createElementVNode"])("header",Im,[Object(M["createElementVNode"])("div",wm,[e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Em,[Object(M["createElementVNode"])("div",Cm,[Object(M["withDirectives"])(Object(M["createElementVNode"])("input",{type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.searchID=t),placeholder:e.$t("TUIContact.输入群ID,按回车搜索"),onKeyup:t[2]||(t[2]=Object(M["withKeys"])((...t)=>e.handleSearchGroup&&e.handleSearchGroup(...t),["enter"])),enterkeyhint:"search"},null,40,Tm),[[M["vModelText"],e.searchID]]),e.searchID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",{key:0,class:"icon icon-cancel",onClick:t[3]||(t[3]=t=>e.searchID="")})):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",{class:"search-cancel",onClick:t[4]||(t[4]=(...t)=>e.toggleSearch&&e.toggleSearch(...t))},Object(M["toDisplayString"])(e.$t("取消")),1)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:"search-box",onClick:t[0]||(t[0]=(...t)=>e.toggleSearch&&e.toggleSearch(...t))},[t[17]||(t[17]=Object(M["createElementVNode"])("i",{class:"plus"},null,-1)),Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIContact.添加群聊")),1)]))])]),e.isSearch?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Zm,[null!==(n=e.searchGroup)&&void 0!==n&&n.groupID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:0,class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(o=e.currentGroup)||void 0===o?void 0:o.groupID)===(null===(a=e.searchGroup)||void 0===a?void 0:a.groupID)&&"selected"]]),onClick:t[8]||(t[8]=t=>e.handleListItem(e.searchGroup))},[Object(M["createElementVNode"])("aside",Jm,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(i=e.searchGroup)||void 0===i?void 0:i.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Qm)]),Object(M["createElementVNode"])("main",Xm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",eh,Object(M["toDisplayString"])(null===(r=e.searchGroup)||void 0===r?void 0:r.name),1),Object(M["createElementVNode"])("li",th,[t[19]||(t[19]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(l=e.searchGroup)||void 0===l?void 0:l.groupID),1)])]),Object(M["createElementVNode"])("span",nh,Object(M["toDisplayString"])(null===(c=e.searchGroup)||void 0===c?void 0:c.type),1)])],2)):Object(M["createCommentVNode"])("",!0)])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Sm,[Object(M["createElementVNode"])("li",_m,[Object(M["createElementVNode"])("header",{onClick:t[5]||(t[5]=t=>e.select("system"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["system"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群聊通知")),1),e.systemConversation&&e.systemConversation.unreadCount>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Dm,Object(M["toDisplayString"])(e.systemConversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])]),"system"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Nm,[Object(M["createElementVNode"])("li",Um,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.系统通知")),1),e.systemConversation&&e.systemConversation.unreadCount>0?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Bm,Object(M["toDisplayString"])(e.systemConversation.unreadCount),1)):Object(M["createCommentVNode"])("",!0)])])):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("li",Mm,[Object(M["createElementVNode"])("header",{onClick:t[6]||(t[6]=t=>e.select("group"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["group"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.我的群聊")),1)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",xm,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.groupList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(a=e.currentGroup)||void 0===a?void 0:a.groupID)===(null===n||void 0===n?void 0:n.groupID)&&"selected"]]),key:o,onClick:t=>e.handleListItem(n)},[Object(M["createElementVNode"])("aside",Lm,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===n||void 0===n?void 0:n.avatar)||"https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,Rm)]),Object(M["createElementVNode"])("main",Pm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",Am,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.name),1),Object(M["createElementVNode"])("li",Gm,[t[18]||(t[18]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.groupID),1)])]),Object(M["createElementVNode"])("span",Hm,Object(M["toDisplayString"])(null===n||void 0===n?void 0:n.type),1)])],10,Vm)}),128))],512),[[M["vShow"],"group"===e.columnName]])]),Object(M["createElementVNode"])("li",zm,[Object(M["createElementVNode"])("header",{onClick:t[7]||(t[7]=t=>e.select("friend"))},[Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon icon-right",["friend"===e.columnName&&"icon-down"]])},null,2),Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.我的好友")),1)])]),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",Fm,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.friendList,(t,n)=>{var o,a,i,s;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["TUI-contact-list-item",[(null===(o=e.currentFriend)||void 0===o?void 0:o.userID)===(null===t||void 0===t?void 0:t.userID)&&"selected"]]),key:n,onClick:n=>e.handleListItem(t)},[Object(M["createElementVNode"])("aside",Ym,[Object(M["createElementVNode"])("img",{class:"avatar",src:(null===t||void 0===t||null===(a=t.profile)||void 0===a?void 0:a.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,Km),e.displayOnlineStatus?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{key:0,class:Object(M["normalizeClass"])(["online-status",1===(null===(i=e.userStatusList.get(null===t||void 0===t?void 0:t.userID))||void 0===i?void 0:i.statusType)?"online-status-online":"online-status-offline"])},null,2)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("main",Wm,[Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",qm,Object(M["toDisplayString"])((null===t||void 0===t||null===(s=t.profile)||void 0===s?void 0:s.nick)||(null===t||void 0===t?void 0:t.userID)),1)])])],10,$m)}),128))],512),[[M["vShow"],"friend"===e.columnName]])])]))]),Object(M["withDirectives"])(Object(M["createElementVNode"])("main",oh,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",ah,[Object(M["createElementVNode"])("i",{class:"icon icon-back",onClick:t[9]||(t[9]=(...t)=>e.back&&e.back(...t))}),Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(d=e.currentGroup)||void 0===d?void 0:d.name)||e.$t("TUIContact.系统通知")),1)])):Object(M["createCommentVNode"])("",!0),null!==(u=e.currentGroup)&&void 0!==u&&u.groupID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",ih,[Object(M["createElementVNode"])("header",sh,[Object(M["createElementVNode"])("ul",rh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(null===(p=e.currentGroup)||void 0===p?void 0:p.name),1),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群ID"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(m=e.currentGroup)||void 0===m?void 0:m.groupID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.群类型"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(h=e.currentGroup)||void 0===h?void 0:h.type),1)])]),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(v=e.currentGroup)||void 0===v?void 0:v.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/group_avatar.png",onerror:"this.src='https://web.sdk.qcloud.com/im/demo/TUIkit/web/img/constomer.svg'"},null,8,lh)]),e.isNeedPermission?(Object(M["openBlock"])(),Object(M["createElementBlock"])("main",ch,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.请填写验证信息")),1),Object(M["withDirectives"])(Object(M["createElementVNode"])("textarea",{"onUpdate:modelValue":t[10]||(t[10]=t=>e.currentGroup.applyMessage=t),disabled:e.currentGroup.apply},null,8,dh),[[M["vModelText"],e.currentGroup.applyMessage]])])):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("footer",uh,[e.currentGroup.apply&&"AVChatRoom"===e.currentGroup.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",ph,Object(M["toDisplayString"])(e.$t("TUIContact.已加入")),1)):e.currentGroup.apply?(Object(M["openBlock"])(),Object(M["createElementBlock"])("p",mh,Object(M["toDisplayString"])(e.$t("TUIContact.已申请")),1)):e.isNeedPermission?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:2,class:"btn btn-default",onClick:t[11]||(t[11]=t=>e.join(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.申请加入")),1)):e.currentGroup.selfInfo.userID?e.currentGroup.selfInfo.userID&&"Owner"===e.currentGroup.selfInfo.role&&"Private"!==e.currentGroup.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:4,class:"btn btn-cancel",onClick:t[13]||(t[13]=t=>e.dismiss(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.解散群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:5,class:"btn btn-cancel",onClick:t[14]||(t[14]=t=>e.quit(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.退出群聊")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:3,class:"btn btn-default",onClick:t[12]||(t[12]=t=>e.join(e.currentGroup))},Object(M["toDisplayString"])(e.$t("TUIContact.加入群聊")),1)),e.currentGroup.selfInfo.userID?(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:6,class:"btn btn-default",onClick:t[15]||(t[15]=t=>e.enter(e.currentGroup.groupID,"GROUP"))},Object(M["toDisplayString"])(e.$t("TUIContact.进入群聊")),1)):Object(M["createCommentVNode"])("",!0)])])):null!==(f=e.currentFriend)&&void 0!==f&&f.userID&&"friend"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",hh,[Object(M["createElementVNode"])("header",vh,[Object(M["createElementVNode"])("ul",fh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])((null===(g=e.currentFriend)||void 0===g||null===(g=g.profile)||void 0===g?void 0:g.nick)||(null===(b=e.currentFriend)||void 0===b?void 0:b.userID)),1),Object(M["createElementVNode"])("li",null,[t[20]||(t[20]=Object(M["createElementVNode"])("label",null,"ID:",-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(O=e.currentFriend)||void 0===O||null===(O=O.profile)||void 0===O?void 0:O.userID),1)]),Object(M["createElementVNode"])("li",null,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUIContact.个性签名"))+":",1),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(null===(y=e.currentFriend)||void 0===y||null===(y=y.profile)||void 0===y?void 0:y.selfSignature),1)])]),Object(M["createElementVNode"])("img",{class:"avatar",src:(null===(j=e.currentFriend)||void 0===j||null===(j=j.profile)||void 0===j?void 0:j.avatar)||"https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png",onerror:"this.src='https://web.sdk.qcloud.com/component/TUIKit/assets/avatar_21.png'"},null,8,gh)]),Object(M["createElementVNode"])("footer",bh,[Object(M["createElementVNode"])("button",{class:"btn btn-default",onClick:t[16]||(t[16]=t=>e.enter(e.currentFriend.userID,"C2C"))},Object(M["toDisplayString"])(e.$t("TUIContact.发送消息")),1)])])):"system"===e.columnName?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Oh,[e.env.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("header",yh,[Object(M["createElementVNode"])("h1",null,Object(M["toDisplayString"])(e.$t("TUIContact.系统通知")),1)])),Object(M["createVNode"])(s,{isH5:e.env.isH5,data:e.systemMessageList,types:e.types,onApplication:e.handleGroupApplication},null,8,["isH5","data","types","onApplication"])])):Object(M["renderSlot"])(e.$slots,"default",{key:4},void 0,!0)],512),[[M["vShow"],!(null===(k=e.currentGroup)||void 0===k||!k.groupID)||!(null===(I=e.currentFriend)||void 0===I||!I.userID)||"system"===e.columnName]])],2)]}),_:3},8,["onBeforeLeave"])}var kh=n("44a4"),Ih=n.n(kh);const wh={class:"list"},Eh={key:0,class:"btn-box"},Ch=["onClick"],Th=["onClick"],Sh={key:2};function _h(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["message-system",[e.isH5?"message-system-h5":""]])},[Object(M["createElementVNode"])("ul",wh,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.messageList,(n,o)=>{var a;return Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{key:o},[n.type===e.types.MSG_GRP_TIP||n.type===e.types.MSG_GRP_SYS_NOTICE?(Object(M["openBlock"])(),Object(M["createElementBlock"])(M["Fragment"],{key:0},[t[0]||(t[0]=Object(M["createElementVNode"])("i",{class:"icon icon-system"},null,-1)),Object(M["createElementVNode"])("span",null,Object(M["toDisplayString"])(e.translateGroupSystemNotice(n)),1),1===(null===n||void 0===n||null===(a=n.payload)||void 0===a?void 0:a.operationType)?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",Eh,[n.isHandle?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn btn-default",onClick:t=>e.handleApplication("Agree",n)},Object(M["toDisplayString"])(e.$t("TUIContact.接受")),9,Ch)),n.isHandle?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",Sh,Object(M["toDisplayString"])(e.$t("TUIContact.已处理")),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:1,class:"btn btn-cancel",onClick:t=>e.handleApplication("Reject",n)},Object(M["toDisplayString"])(e.$t("TUIContact.拒绝")),9,Th))])):Object(M["createCommentVNode"])("",!0)],64)):Object(M["createCommentVNode"])("",!0)])}),128))])],2)}var Dh=Object(M["defineComponent"])({props:{data:{type:Array,default:()=>[]},types:{type:Object,default:()=>({})},isH5:{type:Boolean,default:!1}},setup(e,t){const n=Object(M["reactive"])({messageList:[],types:{},isHandle:!1});Object(M["watchEffect"])(()=>{n.messageList=e.data,n.types=e.types});const o=(e,n)=>{const o={handleAction:e,message:n};t.emit("application",o),n.isHandle=!0};return{...Object(M["toRefs"])(n),translateGroupSystemNotice:En["e"],handleApplication:o}}});n("10d3");const Nh=me()(Dh,[["render",_h],["__scopeId","data-v-4cbbc4fe"]]);var Uh=Nh;const Bh=Object(M["defineComponent"])({name:"TUIContact",components:{MessageSystem:Uh},props:{displayOnlineStatus:{type:Boolean,default:!1}},setup(e,t){const n=Bh.TUIServer,{t:o}=n.TUICore.config.i18n.useI18n(),a=Object(M["reactive"])({groupList:[],searchGroup:{},searchID:"",currentGroup:null,systemConversation:{unreadCount:0},systemMessageList:[],columnName:"",types:n.TUICore.TIM.TYPES,isSearch:!1,env:n.TUICore.TUIEnv,friendList:[],userIDList:[],currentFriend:{},displayOnlineStatus:!1,onlineStatus:!1,userStatusList:new qi.a});u()(n).call(n,a),Object(M["watch"])(()=>e.displayOnlineStatus,async(e,t)=>{e!==t&&(a.displayOnlineStatus=e,n.handleUserStatus(a.displayOnlineStatus,a.userIDList))},{immediate:!0}),Object(M["watch"])(()=>a.userIDList,(e,t)=>{Object(En["d"])(e,t)||n.handleUserStatus(a.displayOnlineStatus,a.userIDList)});const i=Object(M["computed"])(()=>{const e=a.currentGroup.selfInfo.userID,t=a.currentGroup.joinOption===n.TUICore.TIM.TYPES.JOIN_OPTIONS_NEED_PERMISSION;return!e&&t}),s=async e=>{switch(a.columnName){case"group":a.currentGroup=e;break;case"friend":a.currentFriend=e;break}a.isSearch&&(a.currentGroup=e)},r=async e=>{var t;if(a.currentGroup=null,Ih()(t=a.searchID).call(t))try{var i;await n.searchGroupByID(Ih()(i=a.searchID).call(i))}catch(s){const e=o("TUIContact.该群组不存在");Object(En["b"])(e,a.env)}},l=async e=>{const t={groupID:e.groupID,applyMessage:e.applyMessage||o("TUIContact.加群"),type:null===e||void 0===e?void 0:e.type};await n.joinGroup(t),a.currentGroup.apply=!0},c=async e=>{await n.quitGroup(e.groupID),a.currentGroup=null},d=async(e,t)=>{const o=`${t}${e}`;n.TUICore.TUIServer.TUIConversation.getConversationProfile(o).then(e=>{n.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation),g()})},p=e=>{n.dismissGroup(e.groupID),a.currentGroup=null},m=async e=>{var t;"system"!==a.columnName&&"system"===e&&null!==(t=a.systemConversation)&&void 0!==t&&t.conversationID&&(await n.getSystemMessageList(),await n.setMessageRead()),a.currentGroup={},"group"===a.columnName||"group"!==e||a.env.isH5?a.currentGroup={}:a.currentGroup=a.groupList[0],a.searchID="",a.columnName=a.columnName===e?"":e},h=()=>{a.isSearch=!a.isSearch,a.columnName="",a.searchID="",a.searchGroup={},a.currentGroup={}},v=()=>{a.isSearch=!1,a.columnName="",a.searchID="",a.searchGroup={},a.currentGroup={}},f=e=>{n.handleGroupApplication(e)},g=()=>{a.currentGroup={},a.currentFriend={},a.columnName=""},b=e=>{n.TUICore.getUserStatusList(e)};return{...Object(M["toRefs"])(a),handleListItem:s,handleSearchGroup:r,join:l,quit:c,dismiss:p,isNeedPermission:i,select:m,handleGroupApplication:f,toggleSearch:h,init:v,back:g,enter:d,getUserStatusList:b}}});var Mh=Bh;n("7b94");const xh=me()(Mh,[["render",jh],["__scopeId","data-v-5f069d6a"]]);var Vh=xh;const Lh=e=>{Vh.TUIServer=Ph.server,e.component(Ph.name,Vh)},Rh=e=>(Ph.server=new jm(e),e.component(Ph.name,Ph),Ph),Ph={name:"TUIContact",component:Vh,server:jm,install:Lh,plugin:Rh};var Ah=Ph;class Gh extends N{constructor(e){var t;super(),Object(c["a"])(this,"TUICore",void 0),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"currentStore",{}),Object(c["a"])(this,"storeCallback",void 0),this.TUICore=e,this.bindTIMEvent(),this.store=e.setComponentStore("TUISearch",{},u()(t=this.updateStore).call(t,this))}destroyed(){this.unbindTIMEvent()}updateStore(e,t){var n;null!==this&&void 0!==this&&null!==(n=this.currentStore)&&void 0!==n&&null!==(n=n.conversationData)&&void 0!==n&&n.list&&(this.currentStore.conversationData.list=e.conversationList)}handlePromiseCallback(e){return new g.a((t,n)=>{const o={TUIName:"TUISearch",callback:()=>{e&&e(t,n)}};this.TUICore.setAwaitFunc(o.TUIName,o.callback)})}bindTIMEvent(){this.TUICore.tim.on(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated,this)}unbindTIMEvent(){this.TUICore.tim.off(this.TUICore.TIM.EVENT.FRIEND_LIST_UPDATED,this.handleFriendListUpdated)}handleFriendListUpdated(e){var t,n;this.currentStore.searchUserList=l()(t=e.data).call(t,e=>null===e||void 0===e?void 0:e.profile),this.currentStore.allUserList=l()(n=e.data).call(n,e=>null===e||void 0===e?void 0:e.profile)}async getConversationProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getConversationProfile(e);t(n)}catch(o){n(o)}})}async getUserProfile(e){return this.handlePromiseCallback(async(t,n)=>{try{const n=await this.TUICore.tim.getUserProfile({userIDList:e});t(n)}catch(o){n(o)}})}async getFriendList(){return this.handlePromiseCallback(async(e,t)=>{try{var n,o;const t=await this.TUICore.tim.getFriendList();this.currentStore.searchUserList=l()(n=t.data).call(n,e=>null===e||void 0===e?void 0:e.profile),this.currentStore.allUserList=l()(o=t.data).call(o,e=>null===e||void 0===e?void 0:e.profile),e(t)}catch(a){t(a)}})}async bind(e){return this.currentStore=e,await this.getFriendList(),this.currentStore}}const Hh={key:0},zh={key:0,class:"icon icon-c2c"};function Fh(e,t,n,o,a,i){const s=Object(M["resolveComponent"])("Transfer"),r=Object(M["resolveComponent"])("CreateGroup"),l=Object(M["resolveComponent"])("Dialog");return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["TUI-search",[e.env.isH5?"TUI-search-H5":""]]),ref:"dialog"},[Object(M["createElementVNode"])("header",{onClick:t[2]||(t[2]=(...t)=>e.toggleOptionalShow&&e.toggleOptionalShow(...t))},[t[5]||(t[5]=Object(M["createElementVNode"])("i",{class:"plus"},null,-1)),e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Hh,Object(M["toDisplayString"])(e.$t("TUISearch.发起会话")),1)):Object(M["createCommentVNode"])("",!0),Object(M["withDirectives"])(Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",null,[e.env.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",zh)):Object(M["createCommentVNode"])("",!0),Object(M["createElementVNode"])("h1",{onClick:t[0]||(t[0]=t=>e.showOpen("isC2C"))},Object(M["toDisplayString"])(e.$t("TUISearch.发起单聊")),1)]),Object(M["createElementVNode"])("li",null,[t[4]||(t[4]=Object(M["createElementVNode"])("i",{class:"icon icon-group"},null,-1)),Object(M["createElementVNode"])("h1",{onClick:t[1]||(t[1]=t=>e.showOpen("isGroup"))},Object(M["toDisplayString"])(e.$t("TUISearch.发起群聊")),1)])],512),[[M["vShow"],e.optionalShow]])]),Object(M["createVNode"])(l,{show:e.open,isH5:e.env.isH5,isHeaderShow:!1,isFooterShow:!1,background:!1,"onUpdate:show":t[3]||(t[3]=t=>e.open=t)},{default:Object(M["withCtx"])(()=>[1===e.step?(Object(M["openBlock"])(),Object(M["createBlock"])(s,{key:0,isSearch:e.needSearch,title:e.showTitle,list:e.searchUserList,isH5:e.env.isH5,isRadio:"isC2C"===e.createConversationType,onSearch:e.handleSearch,onSubmit:e.submit,onCancel:e.toggleOpen},null,8,["isSearch","title","list","isH5","isRadio","onSearch","onSubmit","onCancel"])):(Object(M["openBlock"])(),Object(M["createBlock"])(r,{key:1,onSubmit:e.create,onCancel:e.toggleOpen,isH5:e.env.isH5},null,8,["onSubmit","onCancel","isH5"]))]),_:1},8,["show","isH5"])],2)}const $h={class:"group-box"},Yh={key:0},Kh={key:1},Wh={key:0,class:"group-list"},qh={class:"group-list-item"},Zh=["src"],Jh={class:"group-list-item"},Qh={class:"content"},Xh={class:"group-list-item"},ev={class:"content"},tv={class:"group-list-introduction"},nv={class:"group-list-item"},ov={key:0,class:"select"},av=["onClick"],iv={class:"select-item-header"},sv={class:"left"},rv=["src"],lv={class:"select-item-label"},cv={key:0,class:"icon icon-selected"},dv={class:"select-item-detail"},uv=["href"],pv={class:"content"},mv={key:0,class:"group-h5-list-item-introduction"},hv={class:"introduction-name"},vv={class:"introduction-detail"},fv=["href"],gv={key:1,class:"group-list group-list-edit"},bv=["placeholder"],Ov={key:1,class:"select"},yv=["onClick"],jv={class:"select-item-header"},kv={class:"left"},Iv=["src"],wv={class:"select-item-label"},Ev={key:0,class:"icon icon-selected"},Cv={class:"select-item-detail"},Tv=["href"],Sv={class:"group-profile-footer"},_v=["disabled"];function Dv(e,t,n,o,a,i){return Object(M["openBlock"])(),Object(M["createElementBlock"])("div",{class:Object(M["normalizeClass"])(["group",[e.isH5?"group-h5":""]])},[Object(M["createElementVNode"])("div",$h,[Object(M["createElementVNode"])("header",null,[e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Kh,Object(M["toDisplayString"])(e.$t("TUISearch."+e.editConfig.title)),1)):(Object(M["openBlock"])(),Object(M["createElementBlock"])("h1",Yh,Object(M["toDisplayString"])(e.$t("TUISearch.发起群聊")),1)),Object(M["createElementVNode"])("i",{class:Object(M["normalizeClass"])(["icon",[e.isH5?"icon-back":"icon-close"]]),onClick:t[0]||(t[0]=(...t)=>e.cancel&&e.cancel(...t))},null,2)]),e.isEdit?(Object(M["openBlock"])(),Object(M["createElementBlock"])("div",gv,["input"===e.editConfig.type?Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[6]||(t[6]=t=>e.editConfig.value=t),placeholder:e.$t("TUISearch."+e.editConfig.placeholder)},null,8,bv)),[[M["vModelText"],e.editConfig.value]]):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Ov,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["select-item",[e.editConfig.value===t.type&&"selected"]]),key:n,onClick:n=>e.selectedEdit(t)},[Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("div",jv,[Object(M["createElementVNode"])("aside",kv,[Object(M["createElementVNode"])("img",{class:"icon",src:t.icon},null,8,Iv),Object(M["createElementVNode"])("span",wv,Object(M["toDisplayString"])(t.label),1)]),e.editConfig.value===t.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",Ev)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",Cv,Object(M["toDisplayString"])(e.$t("TUISearch."+t.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+t.src)),9,Tv)])],10,yv))),128))]))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",Wh,[Object(M["createElementVNode"])("li",qh,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群头像")),1),Object(M["createElementVNode"])("img",{class:"icon",src:e.profile.avatar},null,8,Zh)]),Object(M["createElementVNode"])("ul",null,[Object(M["createElementVNode"])("li",Jh,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群名称")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[2]||(t[2]=t=>e.edit("name"))},[Object(M["createElementVNode"])("p",Qh,Object(M["toDisplayString"])(e.profile.name),1),t[9]||(t[9]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[1]||(t[1]=t=>e.profile.name=t),placeholder:"请输入群名称"},null,512)),[[M["vModelText"],e.profile.name]])]),Object(M["createElementVNode"])("li",Xh,[Object(M["createElementVNode"])("label",null,[Object(M["createTextVNode"])(Object(M["toDisplayString"])(e.$t("TUISearch.群ID")),1),Object(M["createElementVNode"])("text",null,"("+Object(M["toDisplayString"])(e.$t("TUISearch.选填"))+")",1)]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[4]||(t[4]=t=>e.edit("groupID"))},[Object(M["createElementVNode"])("p",ev,Object(M["toDisplayString"])(e.profile.groupID),1),t[10]||(t[10]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):Object(M["withDirectives"])((Object(M["openBlock"])(),Object(M["createElementBlock"])("input",{key:0,type:"text","onUpdate:modelValue":t[3]||(t[3]=t=>e.profile.groupID=t)},null,512)),[[M["vModelText"],e.profile.groupID]])]),Object(M["createElementVNode"])("li",tv,[Object(M["createElementVNode"])("div",nv,[Object(M["createElementVNode"])("label",null,Object(M["toDisplayString"])(e.$t("TUISearch.群类型")),1),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("span",{key:1,class:"group-h5-list-item-content",onClick:t[5]||(t[5]=t=>e.edit("type"))},[Object(M["createElementVNode"])("p",pv,Object(M["toDisplayString"])(e.groupTypeDetail.label),1),t[11]||(t[11]=Object(M["createElementVNode"])("i",{class:"icon icon-right"},null,-1))])):(Object(M["openBlock"])(),Object(M["createElementBlock"])("ul",ov,[(Object(M["openBlock"])(!0),Object(M["createElementBlock"])(M["Fragment"],null,Object(M["renderList"])(e.type,(t,n)=>(Object(M["openBlock"])(),Object(M["createElementBlock"])("li",{class:Object(M["normalizeClass"])(["select-item",[e.profile.type===t.type&&"selected"]]),key:n,onClick:n=>e.selected(t)},[Object(M["createElementVNode"])("main",null,[Object(M["createElementVNode"])("div",iv,[Object(M["createElementVNode"])("aside",sv,[Object(M["createElementVNode"])("img",{class:"icon",src:t.icon},null,8,rv),Object(M["createElementVNode"])("span",lv,Object(M["toDisplayString"])(t.label),1)]),e.profile.type===t.type?(Object(M["openBlock"])(),Object(M["createElementBlock"])("i",cv)):Object(M["createCommentVNode"])("",!0)]),Object(M["createElementVNode"])("span",dv,Object(M["toDisplayString"])(e.$t("TUISearch."+t.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+t.src)),9,uv)])],10,av))),128))]))]),e.isH5?(Object(M["openBlock"])(),Object(M["createElementBlock"])("article",mv,[Object(M["createElementVNode"])("label",hv,Object(M["toDisplayString"])(e.groupTypeDetail.label)+":",1),Object(M["createElementVNode"])("span",vv,Object(M["toDisplayString"])(e.$t("TUISearch."+e.groupTypeDetail.detail)),1),Object(M["createElementVNode"])("a",{href:e.Link.product.url,target:"view_window"},Object(M["toDisplayString"])(e.$t("TUISearch."+e.groupTypeDetail.src)),9,fv)])):Object(M["createCommentVNode"])("",!0)])])])),Object(M["createElementVNode"])("footer",Sv,[e.isEdit||e.isH5?Object(M["createCommentVNode"])("",!0):(Object(M["openBlock"])(),Object(M["createElementBlock"])("button",{key:0,class:"btn-default",onClick:t[7]||(t[7]=(...t)=>e.cancel&&e.cancel(...t))},Object(M["toDisplayString"])(e.$t("TUISearch.取消")),1)),Object(M["createElementVNode"])("button",{class:"btn-submit",onClick:t[8]||(t[8]=t=>e.submit(e.profile)),disabled:""===e.profile.name&&!e.isEdit},Object(M["toDisplayString"])(e.$t("TUISearch.创建")),9,_v)])])],2)}const Nv=Object(M["defineComponent"])({name:"group",props:{isH5:{type:Boolean,default:()=>!1}},setup(e,t){const n=Object(M["reactive"])({profile:{groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:""},editConfig:{title:"",value:"",key:"",type:"",placeholder:""},isEdit:!1,type:[{icon:"https://web.sdk.qcloud.com/im/assets/images/Public.svg",label:"陌生人社交群(Public)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_PUBLIC,detail:"类似 QQ 群,创建后群主可以指定群管理员,用户搜索群 ID 发起加群申请后,需要群主或管理员审批通过才能入群。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/Meeting.svg",label:"临时会议群(Meeting)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_MEETING,detail:"创建后可以随意进出,且支持查看入群前消息;适合用于音视频会议场景、在线教育场景等与实时音视频产品结合的场景。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/Work.svg",label:"好友工作群(Work)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_WORK,detail:"类似普通微信群,创建后仅支持已在群内的好友邀请加群,且无需被邀请方同意或群主神奇。详见",src:"产品文档"},{icon:"https://web.sdk.qcloud.com/im/assets/images/AVChatroom.svg",label:"直播群(AVChatroom)",type:Nv.TUIServer.TUICore.TIM.TYPES.GRP_AVCHATROOM,detail:"创建后可以随意进出,没有群成员数量上限,但不支持历史消息存储;适合与直播产品结合,用于弹幕聊天场景。详见",src:"产品文档"}]});n.profile.type=n.type[0].type,n.profile.avatar=n.type[0].icon;const o=Object(M["computed"])(()=>{var e;return j()(e=n.type).call(e,e=>e.type===n.profile.type)[0]}),a=e=>{n.profile.type!==e.type&&(n.profile.type=e.type,n.profile.avatar=e.icon)},i=e=>{if(n.isEdit)return n.profile[n.editConfig.key]=n.editConfig.value,n.isEdit=!n.isEdit;const o={name:e.name,type:e.type,groupID:e.groupID,avatar:e.avatar};t.emit("submit",o)},s=()=>{if(n.isEdit)return n.isEdit=!n.isEdit;t.emit("cancel")},r=e=>{switch(n.isEdit=!n.isEdit,n.editConfig.key=e,n.editConfig.value=n.profile[e],e){case"name":n.editConfig.title="设置群名称",n.editConfig.placeholder="请输入群名称",n.editConfig.type="input";break;case"groupID":n.editConfig.title="设置群ID",n.editConfig.placeholder="请输入群ID",n.editConfig.type="input";break;case"type":n.editConfig.title="选择群类型",n.editConfig.type="select";break}},l=e=>{n.editConfig.value!==e.type&&(n.editConfig.value=e.type)};return{...Object(M["toRefs"])(n),selected:a,submit:i,cancel:s,Link:Ki,edit:r,selectedEdit:l,groupTypeDetail:o}}});var Uv=Nv;n("18c1");const Bv=me()(Uv,[["render",Dv],["__scopeId","data-v-279f8f91"]]);var Mv=Bv,xv=Mv;const Vv=Object(M["defineComponent"])({name:"TUISearch",components:{Transfer:La,Dialog:Ai,CreateGroup:xv},setup(e){var t,n;const o=null===Vv||void 0===Vv?void 0:Vv.TUIServer,{t:a}=o.TUICore.config.i18n.useI18n(),i=Object(M["reactive"])({open:!1,searchUserID:"",selectedList:[],allUserList:[],searchUserList:[],step:1,group:{groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:"",memberList:[{userID:""}]},showTitle:"",createConversationType:"",env:o.TUICore.TUIEnv,optionalShow:!o.TUICore.TUIEnv.isH5,needSearch:!o.TUICore.isOfficial});u()(o).call(o,i);const s=null===o||void 0===o||null===(t=o.TUICore)||void 0===t||null===(t=t.TUIServer)||void 0===t?void 0:t.TUIGroup;xv.TUIServer=o;const r=(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&sn["c"]&&Object(sn["c"])()||{},c=Object(M["ref"])();Object(wn["onClickOutside"])(c,()=>{i.env.isH5&&(i.optionalShow=!1,i.searchUserList=[...i.allUserList])});const d=()=>{i.group={groupID:"",name:"",type:"",avatar:"",introduction:"",notification:"",joinOption:"",memberList:[{userID:""}]}},p=()=>{i.open=!i.open,i.open||(i.searchUserID="",i.step=1,d())},m=e=>{if(i.createConversationType===nn["a"].typeC2C){const{userID:t}=e[0];v(t,"C2C"),p()}else{if(!xv.TUIServer){const e=a("TUISearch.创建群聊,请注册 TUIGroup 模块");Object(En["b"])(e,i.env)}d(),i.group.memberList=l()(e).call(e,e=>({userID:e.userID})),i.step=2}i.searchUserList=[...i.allUserList]},h=async e=>{e.type===o.TUICore.TIM.TYPES.GRP_PUBLIC&&(i.group.joinOption=o.TUICore.TIM.TYPES.JOIN_OPTIONS_NEED_PERMISSION);const t={...i.group,...e};e.type===o.TUICore.TIM.TYPES.GRP_AVCHATROOM&&(delete t.memberList,delete t.joinOption);try{var n;const l=await s.createGroup(t),c=a("TUISearch.创建成功");Object(En["c"])(c,i.env),(null===(n=window)||void 0===n||null===(n=n.TUIKitTUICore)||void 0===n?void 0:n.isOfficial)&&(null===r||void 0===r?void 0:r.commit)&&(null===r||void 0===r||r.commit("handleTask",3)),p(),e.type===o.TUICore.TIM.TYPES.GRP_AVCHATROOM&&s.joinGroup({groupID:l.data.group.groupID,applyMessage:"",type:l.data.group.type}),v(l.data.group.groupID,"GROUP")}catch(l){Object(En["b"])(l,i.env)}},v=(e,t)=>{const n=`${t}${e}`;o.getConversationProfile(n).then(e=>{o.TUICore.TUIServer.TUIConversation.handleCurrentConversation(e.data.conversation),an.getInstance().reportEvent({name:"conversationType",ext1:"C2C"===t?"TypeC2C-success":"TypeGroup-success"})})},f=e=>{switch(i.open=!0,an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation"}),i.searchUserList=[...i.allUserList],e){case"isC2C":return i.createConversationType=nn["a"].typeC2C,i.showTitle=a("TUISearch.发起单聊"),an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation-c2c"}),i.showTitle;case"isGroup":return i.createConversationType=nn["a"].typeGroup,i.showTitle=a("TUISearch.发起群聊"),an.getInstance().reportEvent({name:"conversationType",ext1:"createConversation-group"}),i.showTitle}},g=()=>{i.env.isH5&&(i.optionalShow=!i.optionalShow)},b=async e=>{try{var t;const n=await o.getUserProfile([e]);if(!n.data.length)return Object(En["b"])(a("TUISearch.该用户不存在"),i.env),void(i.searchUserList=[...i.allUserList]);i.searchUserList=n.data;const s=j()(t=i.allUserList).call(t,e=>e.userID===n.data[0].userID);i.allUserList=s.length?i.allUserList:[...i.allUserList,...i.searchUserList]}catch(n){return Object(En["b"])(a("TUISearch.该用户不存在"),i.env),void(i.searchUserList=[...i.allUserList])}};return{...Object(M["toRefs"])(i),toggleOpen:p,handleSearch:b,submit:m,create:h,showOpen:f,toggleOptionalShow:g,dialog:c}}});var Lv=Vv;n("2068");const Rv=me()(Lv,[["render",Fh],["__scopeId","data-v-3733d0d4"]]);var Pv=Rv;const Av=e=>{Pv.TUIServer=Hv.server,e.component(Hv.name,Pv)},Gv=e=>(Hv.server=new Gh(e),e.component(Hv.name,Hv),Hv),Hv={name:"TUISearch",component:Pv,server:Gh,install:Av,plugin:Gv};var zv=Hv;const Fv=[yd,Au,rm,Om,Ah,zv],$v=e=>{a()(Fv).call(Fv,t=>{t.install(e)})},Yv=e=>{a()(Fv).call(Fv,t=>{t.plugin(e)})},Kv={name:"TUIComponents",version:"1.0.0",TUIChat:yd,TUIConversation:Au,TUIProfile:rm,TUIGroup:Om,TUIContact:Ah,TUISearch:zv,install:$v,plugin:Yv};var Wv=Kv,qv=n("3581"),Zv=n.n(qv),Jv=n("de21"),Qv=n.n(Jv);class Xv{static init(e){}install(e){}getInstance(){}login(e){return new g.a((e,t)=>{})}destroyed(){}component(e,t){}use(e,t){}setAwaitFunc(e,t){}setCommonStore(e){}setComponentStore(e,t,n){}getStore(){}storeCommonListener(e,t){}}n("d9e2");var ef=n("c651"),tf=n.n(ef);class nf{setCommonStore(e){}setComponentStore(e,t,n){}storeCommonListener(e,t){}}class of extends nf{constructor(){super(),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"storeListener",void 0),this.storeListener={keys:[],callback:()=>{}},this.store={};const e={};this.store.common=new Proxy(e,{get:(e,t)=>e[t],set:(e,t,n)=>{var o;const a={};return m()(a,e),e[t]=n,e[t]!==a[t]&&_()(o=tf()(this.storeListener)).call(o,t)>=0&&this.storeListener.callback(e[t],a[t]),e[t]}})}setCommonStore(e){var t;return a()(t=s()(e)).call(t,t=>{if(t in this.store.common)return new Error(t+" 在公共数据已存在,请重新设置");this.store.common[t]=e[t]}),this.store}setComponentStore(e,t,n){return e in this.store?new Error(e+" 该数据模块已存在,请重新设置"):this.store[e]=new Proxy(t,{get:(e,t)=>e[t],set:(e,t,o)=>{const a={};return m()(a,e),e[t]=o,e[t]!==a[t]&&n&&n(e,a),e}})}storeCommonListener(e,t){this.storeListener={keys:e,callback:t}}}Object.prototype.toString;const{isArray:af}=Array,sf=e=>"function"===typeof e;class rf extends Xv{constructor(e){super(),Object(c["a"])(this,"isOfficial",!1),Object(c["a"])(this,"isIntl",!1),Object(c["a"])(this,"tim",void 0),Object(c["a"])(this,"TIM",void 0),Object(c["a"])(this,"isSDKReady",!1),Object(c["a"])(this,"store",void 0),Object(c["a"])(this,"TUIEnv",void 0),Object(c["a"])(this,"SDKAppID",void 0),Object(c["a"])(this,"installedPlugins",new ie.a),Object(c["a"])(this,"config",{}),Object(c["a"])(this,"TUIServer",void 0),Object(c["a"])(this,"TUIComponents",new ie.a),Object(c["a"])(this,"loginResolveRejectCache",void 0),this.loginResolveRejectCache=[],this.SDKAppID=e.SDKAppID,this.TUIServer={},this.store=new of,this.TIM=ao["a"],window.TIM=ao["a"],e.tim?window.TUIKit=e.tim:window.TUIKit=ao["a"].create({SDKAppID:this.SDKAppID}),this.tim=window.TUIKit,this.tim.registerPlugin({"tim-upload-plugin":Zv.a}),this.tim.registerPlugin({"tim-profanity-filter-plugin":Qv.a}),this.bindTIMEvent(),this.TUIEnv=Object(D["b"])(),this.isOfficial=1400187352===this.SDKAppID||1400188366===this.SDKAppID}static init(e){const t=an.getInstance();rf.instance||(rf.instance=new rf(e));const{isH5:n}=Object(D["b"])();return t.reportEvent({name:"SDKAppID",ext1:n?"IMTUIKitH5External":"IMTUIKitWebExternal",ext2:n?"IMTUIKitH5External":"IMTUIKitWebExternal",ext3:e.SDKAppID}),t.reportEvent({name:"time",ext1:"firstRunTime"}),window.TUIKitTUICore=rf.instance,rf.instance.use(D["d"]),rf.instance.use(D["e"]),rf.instance}install(e){var t,n;e.config.globalProperties.$TUIKit=this.getInstance();let o=!0;a()(t=this.installedPlugins).call(t,t=>{e.use(t),"TUIComponents"===t.name&&(o=!1)}),o&&a()(n=this.TUIComponents).call(n,t=>{e.component(t.name,t.component)}),Object(D["a"])(e)}getInstance(){return rf.instance}login(e){return new g.a((t,n)=>{this.tim.login(e).then(()=>{var o,a;return this.loginResolveRejectCache.push({resolve:t,reject:n}),rf.isLogin=!0,window._isTIMCallKit=!0,null===rf||void 0===rf||null===(o=rf.instance)||void 0===o||null===(o=o.TUIServer)||void 0===o||null===(o=o.TUICallKit)||void 0===o||o.init({SDKAppID:this.SDKAppID,userID:e.userID,userSig:e.userSig,tim:this.tim}),null!==rf&&void 0!==rf&&null!==(a=rf.instance)&&void 0!==a&&null!==(a=a.TUIServer)&&void 0!==a&&a.TUICallKit&&an.getInstance().reportEvent({name:"SDKAppID",ext1:"IMTUIKitWebExternal-call",ext2:"IMTUIKitWebExternal-call",ext3:this.SDKAppID}),null}).catch(e=>{n(e)})})}logout(){return new g.a((e,t)=>{this.tim.logout().then(t=>{this.isSDKReady=!1,rf.isLogin=!1,e(t)}).catch(e=>{t(e)})})}bindTIMEvent(){this.tim.on(ao["a"].EVENT.SDK_READY,this.handleSDKReady,this)}unbindTIMEvent(){this.tim.off(ao["a"].EVENT.SDK_READY,this.handleSDKReady)}handleSDKReady(){var e;this.isSDKReady=!0,this.handelAwaitFunc(rf.TUIServerFunMap),a()(e=this.loginResolveRejectCache).call(e,({resolve:e})=>{e({msg:"登录成功,且SDK Ready"})})}handelAwaitFunc(e){const t=s()(this.TUIServer);for(let n=0;n0&&l()(o).call(o,e=>e()),null===e||void 0===e||e.delete(t[n])}return e}destroyed(){this.unbindTIMEvent(),this.isSDKReady=!1}component(e,t){const n=this.getInstance();return this.TUIServer||(this.TUIServer={}),this.TUIServer[e]=t.server,this.TUIComponents.has(t)?console.warn(e+" component has already been applied to target TUICore."):this.TUIComponents.add(t),n}use(e,t){const n=this.getInstance();return this.installedPlugins.has(e)?console.warn("Plugin has already been applied to target TUICore."):e&&sf(null===e||void 0===e?void 0:e.plugin)?(this.installedPlugins.add(e),null===e||void 0===e||e.plugin(n,t)):sf(e)?(this.installedPlugins.add(e),e(n,t)):console.warn('A plugin must either be a function or an object with an "plugin" function.'),n}usePlugin(e){var t;let n={};return a()(t=this.installedPlugins).call(t,t=>{t.name===e&&(n=t)}),n}setAwaitFunc(e,t){if(this.isSDKReady)t();else{rf.TUIServerFunMap||(rf.TUIServerFunMap=new qi.a);const n=rf.TUIServerFunMap.get(e)||[];n.push(t),rf.TUIServerFunMap.set(e,n)}}setCommonStore(e){return this.store.setCommonStore(e)}setComponentStore(e,t,n){return this.store.setComponentStore(e,t,n)}getStore(){return this.store.store}storeCommonListener(e,t){return this.store.storeCommonListener(e,t)}}Object(c["a"])(rf,"instance",void 0),Object(c["a"])(rf,"isLogin",!1),Object(c["a"])(rf,"TUIServerFunMap",void 0);var lf=n("bbb6");lf["b"]},fdc9:function(e,t,n){"use strict";var o=n("1344");const a=Object(o["a"])();t["a"]=a},fe1e:function(e,t,n){"use strict";n("0504")}}); \ No newline at end of file diff --git a/public/static/privacy.html b/public/static/privacy.html index bcfd047..3c69c3a 100644 --- a/public/static/privacy.html +++ b/public/static/privacy.html @@ -2,7 +2,7 @@ - 健康长庆用户协议 + 健康新疆用户协议
-

健康长庆用户协议

-

软件使用许可协议(健康长庆)

+

健康新疆用户协议

+

软件使用许可协议(健康新疆)

软件使用许可协议

欢迎使用我们的服务
-
本软件许可使用协议《健康长庆平台服务协议》(以下称"本协议")由您与中国石油天然气股份有限公司新疆油田分公司行政事务管理处(以下称“新疆油田”)共同签署。
-
在使用“健康长庆”软件(以下称许可软件)之前,请仔细阅读本协议。一旦您下载安装使用许可软件,即表示您同意接受本协议所有条款和条件的约束。如您不同意本协议条款和条件,请勿使用许可软件,并请销毁所有许可软件副本。
-
健康长庆有权根据实际运营的情况对本协议不时进行调整,并以平台公告或电子邮件等书面形式通知您。修改后的协议于公示或邮件送达时生效。协议条款修改后,您继续使用许可软件的,即视为您已阅读并接受修改后的协议。
+
本软件许可使用协议《健康新疆平台服务协议》(以下称"本协议")由您与中国石油天然气股份有限公司新疆油田分公司行政事务管理处(以下称“新疆油田”)共同签署。
+
在使用“健康新疆”软件(以下称许可软件)之前,请仔细阅读本协议。一旦您下载安装使用许可软件,即表示您同意接受本协议所有条款和条件的约束。如您不同意本协议条款和条件,请勿使用许可软件,并请销毁所有许可软件副本。
+
健康新疆有权根据实际运营的情况对本协议不时进行调整,并以平台公告或电子邮件等书面形式通知您。修改后的协议于公示或邮件送达时生效。协议条款修改后,您继续使用许可软件的,即视为您已阅读并接受修改后的协议。
一、定义
-
1. 健康长庆APP:是指由新疆油田开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
-
2. 健康长庆服务:由新疆油田为您提供的服务。您可以通过许可软件在手持移动终端使用健康长庆服务。
-
3. 用户:指阅读并同意本协议内容,经过健康长庆在线注册程序成为健康长庆在线各项服务使用者。(以下更多称为“您”)
+
1. 健康新疆APP:是指由新疆油田开发的,供您从应用下载平台(以下称下载平台)下载,并仅限在手机等手持移动终端(以下称移动终端)中安装、使用的软件系统。
+
2. 健康新疆服务:由新疆油田为您提供的服务。您可以通过许可软件在手持移动终端使用健康新疆服务。
+
3. 用户:指阅读并同意本协议内容,经过健康新疆在线注册程序成为健康新疆在线各项服务使用者。(以下更多称为“您”)
二、服务说明
1. 本平台是一个集健康咨询、应急就医、健康档案、体检服务等功能的综合个人健康管理平台,为确保您能正常地使用平台的各项服务,您应当阅读并遵守本协议。请您务必审慎阅读、充分理解各条款内容,以及开通或使用某项服务的单独协议,并选择接受或不接受。
2. 除非您已阅读并接受本协议所有条款,否则您无权使用平台的各项服务(以下简称"本服务”)。您在平台的登录、查看、发布信息等行为即视为您已阅读并同意本协议的约束,包括接受更新后的本协议条款。当您与平台发生争议时,应以最新的服务协议为准。
@@ -95,8 +95,8 @@
2、 请您在支付费用时,仔细阅读收费服务的相关协议,除协议约定的情况外,否则,平台将不予退费。退费的方式视支付方式的不同而不同。员工应严格依据退费方式及退费周期收回退款。
3、平台可能根据实际需要对收费服务的收费标准、方式进行修改和变更,平台也可能会对部分免费服务变更收费。如果您不同意上述修改、变更或付费内容,则应停止使用该服务。
八、服务暂停、变更与中止条款
-
1、鉴于移动互联网服务的特殊性,健康长庆平台有权随时变更、中止或终上部分或全部的服务。如变更、中止或终止的服务属于免费服务,平台无需通知您,也无需对您或任何第三方承担任何责任。
-
2、您理解,因不可抗力、网络状况、通讯线路、用户自身过错等技术原因,或平台需要进行定期或不定期地对所提供的服务进行维护升级、对相关的设备进行检修或者维护,如因此类情况而造成本服务在合理时间内的中断,健康长庆平台无需为此承担任何责任。
+
1、鉴于移动互联网服务的特殊性,健康新疆平台有权随时变更、中止或终上部分或全部的服务。如变更、中止或终止的服务属于免费服务,平台无需通知您,也无需对您或任何第三方承担任何责任。
+
2、您理解,因不可抗力、网络状况、通讯线路、用户自身过错等技术原因,或平台需要进行定期或不定期地对所提供的服务进行维护升级、对相关的设备进行检修或者维护,如因此类情况而造成本服务在合理时间内的中断,健康新疆平台无需为此承担任何责任。
3、 如发生下列任何一种情形,平台有权随时中断或终止向您提供本协议项下的服务而无需对您或任何第三方承担任何责任:
(1)您违反国家有关法律法规或平台规定,侵害他人合法权益的;
(2)您提供的个人资料不真实;
diff --git a/src/views/emergency/helper/index.vue b/src/views/emergency/helper/index.vue index 78ab747..d9f9675 100644 --- a/src/views/emergency/helper/index.vue +++ b/src/views/emergency/helper/index.vue @@ -307,8 +307,8 @@ return item; } }); - listInfo.value = arr; - listInfoInit.value = arr; + listInfo.value = arr.filter((item) => item?.children && item?.children.length > 0); + listInfoInit.value = arr.filter((item) => item?.children && item?.children.length > 0); }) .catch((e) => { console.log(e); diff --git a/src/views/emergency/outburst/resource/Resource.data.ts b/src/views/emergency/outburst/resource/Resource.data.ts index b6b24a5..9a032ec 100644 --- a/src/views/emergency/outburst/resource/Resource.data.ts +++ b/src/views/emergency/outburst/resource/Resource.data.ts @@ -154,7 +154,8 @@ export const formSchema: FormSchema[] = [ label: '联系电话', field: 'mobile', component: 'Input', - rules: [{ required: true },{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误'}], + rules: [{ required: true }], + // rules: [{ required: true },{ pattern: /^1[3456789]\d{9}$/, message: '手机号码格式有误'}], }, { label: '经度',