diff --git a/config/app.php b/config/app.php new file mode 100644 index 0000000..c0a6ee6 --- /dev/null +++ b/config/app.php @@ -0,0 +1,51 @@ +env('app.name', 'Raingad-IM'), + 'app_logo' =>env('app.logo', env('app.host', '')."/static/common/img/uniapp.png"), + 'app_version' => env('app.version', '5.3.1'), + 'app_release' =>env('app.release', '20241127'), + // 应用地址 + 'app_host' => env('app.host', ''), + // 应用的命名空间 + 'app_namespace' => '', + // 是否启用路由 + 'with_route' => true, + 'app_express' => true, + // 默认应用 + 'default_app' => 'index', + // 默认时区 + 'default_timezone' => env('app.default_timezone', 'Asia/Shanghai'), + + // 应用映射(自动多应用模式有效) + 'app_map' => [], + // 域名绑定(自动多应用模式有效) + 'domain_bind' => [], + // 禁止URL访问的应用列表(自动多应用模式有效) + 'deny_app_list' => [], + + // 异常页面的模板文件 + 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl', + + // 错误显示信息,非调试模式有效 + 'error_message' => '页面错误!请稍后再试~', + // 显示错误信息 + 'show_error_msg' => false, + 'auto_multi_app' =>true, + //用户token加密用的秘钥 + 'aes_token_key' => env('AES_TOKEN_KEY', ''), + //用户LOGIN加密用的秘钥 + 'aes_login_key' => env('AES_LOGIN_KEY', ''), + //用户chat加密用的秘钥 + 'aes_chat_key' => env('AES_CHAT_KEY', ''), + // 接口加密用的秘钥 + 'app_id' => env('APP_ID', ''), + 'app_secret' => env('APP_SECRET', ''), + 'api_status' => env('APP_API_STATUS', true), + //thinkAPI的令牌 + 'thinkapi_token' => env('APP_THINKAPI_TOKEN', ''), +]; + diff --git a/config/cache.php b/config/cache.php new file mode 100644 index 0000000..96a20e4 --- /dev/null +++ b/config/cache.php @@ -0,0 +1,38 @@ + env('cache.driver', 'redis'), + + // 缓存连接方式配置 + 'stores' => [ + 'file' => [ + // 驱动方式 + 'type' => 'File', + // 缓存保存目录 + 'path' => '', + // 缓存前缀 + 'prefix' => '', + // 缓存有效期 0表示永久缓存 + 'expire' => 0, + // 缓存标签前缀 + 'tag_prefix' => 'tag:', + // 序列化机制 例如 ['serialize', 'unserialize'] + 'serialize' => [], + ], + 'redis' => [ + // 驱动方式 + 'type' => 'redis', + 'host' =>env('redis.host', '127.0.0.1'), + 'port' => env('redis.port', '6379'), + 'password' => env('redis.password', ''), + // 缓存前缀 + 'prefix' => env('redis.prefix', ''), + ] + // 更多的缓存连接 + ], +]; diff --git a/config/captcha.php b/config/captcha.php new file mode 100644 index 0000000..456bc4a --- /dev/null +++ b/config/captcha.php @@ -0,0 +1,19 @@ + '2345678abcdefhijkmnpqrstuvwxyzABCDEFGHJKLMNPQRTUVWXY', + // 验证码字体大小(px) + 'fontSize' => 20, + // 是否画混淆曲线 + 'useCurve' => false, + // 验证码图片高度 + 'imageH' => 40, + // 验证码图片宽度 + 'imageW' => 150, + // 验证码位数 + 'length' => 4, + // 验证成功后是否重置 + 'reset' => true +]; \ No newline at end of file diff --git a/config/console.php b/config/console.php new file mode 100644 index 0000000..a2f73b3 --- /dev/null +++ b/config/console.php @@ -0,0 +1,14 @@ + [ + 'queue:work' => think\queue\command\Work::class, + 'queue:listen' => think\queue\command\Listen::class, + 'queue:Restart' => think\queue\command\Restart::class, + 'task' => task\command\Task::class, + 'worker:gateway' => app\worker\command\GatewayWorker::class + ], +]; diff --git a/config/cookie.php b/config/cookie.php new file mode 100644 index 0000000..f728024 --- /dev/null +++ b/config/cookie.php @@ -0,0 +1,18 @@ + 0, + // cookie 保存路径 + 'path' => '/', + // cookie 有效域名 + 'domain' => '', + // cookie 启用安全传输 + 'secure' => false, + // httponly设置 + 'httponly' => false, + // 是否使用 setcookie + 'setcookie' => true, +]; diff --git a/config/cron.php b/config/cron.php new file mode 100644 index 0000000..6f4bea6 --- /dev/null +++ b/config/cron.php @@ -0,0 +1,8 @@ + [ + \app\common\task\ClearMessage::class, //定时清理消息 + \app\common\task\SetAtRead::class, //定时清理@消息 + ] +]; \ No newline at end of file diff --git a/config/database.php b/config/database.php new file mode 100644 index 0000000..7b94ac1 --- /dev/null +++ b/config/database.php @@ -0,0 +1,62 @@ + env('database.driver', 'mysql'), + + // 自定义时间查询规则 + 'time_query_rule' => [], + + // 自动写入时间戳字段 + // true为自动识别类型 false关闭 + // 字符串则明确指定时间字段类型 支持 int timestamp datetime date + 'auto_timestamp' => true, + + // 时间字段取出后的默认时间格式 + 'datetime_format' => 'Y-m-d H:i:s', + + // 数据库连接配置信息 + 'connections' => [ + 'mysql' => [ + // 数据库类型 + 'type' => env('database.type', 'mysql'), + // 服务器地址 + 'hostname' => env('database.hostname', '127.0.0.1'), + // 数据库名 + 'database' => env('database.database', ''), + // 用户名 + 'username' => env('database.username', 'root'), + // 密码 + 'password' => env('database.password', ''), + // 端口 + 'hostport' => env('database.hostport', '3306'), + // 数据库连接参数 + 'params' => [], + // 数据库编码默认采用utf8 + 'charset' => env('database.charset', 'utf8'), + // 数据库表前缀 + 'prefix' => env('database.prefix', ''), + + // 数据库部署方式:0 集中式(单一服务器),1 分布式(主从服务器) + 'deploy' => 0, + // 数据库读写是否分离 主从式有效 + 'rw_separate' => false, + // 读写分离后 主服务器数量 + 'master_num' => 1, + // 指定从服务器序号 + 'slave_no' => '', + // 是否严格检查字段是否存在 + 'fields_strict' => true, + // 是否需要断线重连 + 'break_reconnect' => false, + // 监听SQL + 'trigger_sql' => env('app_debug', true), + // 开启字段缓存 + 'fields_cache' => false, + // 字段缓存路径 + 'schema_cache_path' => app()->getRuntimePath() . 'schema' . DIRECTORY_SEPARATOR, + ], + + // 更多的数据库配置信息 + ], +]; diff --git a/config/filesystem.php b/config/filesystem.php new file mode 100644 index 0000000..fedd51f --- /dev/null +++ b/config/filesystem.php @@ -0,0 +1,42 @@ + env('filesystem.driver', 'local'), + // 磁盘列表 + 'disks' => [ + 'local' => [ + 'type' => 'local', + 'root' => app()->getRootPath() . 'public/storage', + ], + // 更多的磁盘配置信息 + 'aliyun' => [ + 'type' => 'aliyun', + 'accessId' => env('filesystem.aliyun_accessId',''), + 'accessSecret' => env('filesystem.aliyun_accessSecret',''), + 'bucket' => env('filesystem.aliyun_bucket',''), + 'endpoint' => env('filesystem.aliyun_endpoint',''), + 'url' => env('filesystem.aliyun_url',''),//不要斜杠结尾,此处为URL地址域名。 + ], + 'qiniu' => [ + 'type' => 'qiniu', + 'accessKey' => env('filesystem.qiniu_accessKey',''), + 'secretKey' => env('filesystem.qiniu_secretKey',''), + 'bucket' => env('filesystem.qiniu_bucket',''), + 'url' => env('filesystem.qiniu_url',''),//不要斜杠结尾,此处为URL地址域名。 + ], + 'qcloud' => [ + 'type' => 'qcloud', + 'region' => env('filesystem.qcloud_region',''),//bucket 所属区域 英文 + 'appId' => env('filesystem.qcloud_appId',''), // 域名中数字部分 + 'secretId' => env('filesystem.qcloud_secretId',''), + 'secretKey' => env('filesystem.qcloud_secretKey',''), + 'bucket' => env('filesystem.qcloud_bucket',''), + 'timeout' => 60, + 'connect_timeout' => 60, + 'cdn' => env('filesystem.qcloud_cdn',''), + 'scheme' => 'https', + 'read_from_cdn' => false, + ] + ], +]; diff --git a/config/gateway.php b/config/gateway.php new file mode 100644 index 0000000..a06be15 --- /dev/null +++ b/config/gateway.php @@ -0,0 +1,33 @@ + 'websocket', // 协议 支持 tcp udp unix http websocket text + 'host' => '0.0.0.0', // 监听地址 + 'port' => env('worker_port',8282), // 监听端口 + 'socket' => '', // 完整监听地址 + 'context' => [], // socket 上下文选项 + 'register_deploy' => env('worker_register_deploy',true), // 是否需要部署register + 'businessWorker_deploy' => true, // 是否需要部署businessWorker + 'gateway_deploy' => true, // 是否需要部署gateway + + // Register配置 + 'registerAddress' => env('worker_register_address','127.0.0.1:1236'), + + // Gateway配置 + 'name' => env('worker_name','pushGateWay'), + 'count' => env('worker_count',1), + 'lanIp' => env('worker_lan_ip','127.0.0.1'), + 'startPort' => env('worker_start_port',2300), + 'daemonize' => false, + 'pingInterval' => 20, + 'pingNotResponseLimit' => 0, + 'pingData' => '{"type":"ping"}', + + // BusinsessWorker配置 + 'businessWorker' => [ + 'name' => 'BusinessWorker', + 'count' => 1, + 'eventHandler' => 'app\worker\Events', + ], + +]; \ No newline at end of file diff --git a/config/hashids.php b/config/hashids.php new file mode 100644 index 0000000..c3f9db0 --- /dev/null +++ b/config/hashids.php @@ -0,0 +1,16 @@ + + * @link http://tpadmin.yuan1994.com/ + * @copyright 2016 yuan1994 all rights reserved. + * @license http://www.apache.org/licenses/LICENSE-2.0 + */ + +return [ + // Hashids 的配置项 + 'length' => 12, // 加密字符串长度 + 'salt' => 'raingads', // 加密盐值 + 'alphabet' => '', // 字符仓库,不填写默认为扩展里的字符仓库 +]; \ No newline at end of file diff --git a/config/jwt.php b/config/jwt.php new file mode 100644 index 0000000..5ce0d35 --- /dev/null +++ b/config/jwt.php @@ -0,0 +1,21 @@ + env('JWT_SECRET'), + //Asymmetric key + 'public_key' => env('JWT_PUBLIC_KEY'), + 'private_key' => env('JWT_PRIVATE_KEY'), + 'password' => env('JWT_PASSWORD'), + //JWT time to live + 'ttl' => env('JWT_TTL', 60), + //Refresh time to live + 'refresh_ttl' => env('JWT_REFRESH_TTL', 20160), + //JWT hashing algorithm + 'algo' => env('JWT_ALGO', 'HS256'), + //token获取方式,数组靠前值优先 + 'token_mode' => ['header', 'cookie', 'param'], + //黑名单后有效期 + 'blacklist_grace_period' => env('BLACKLIST_GRACE_PERIOD', 10), + 'blacklist_storage' => thans\jwt\provider\storage\Tp5::class, +]; diff --git a/config/lang.php b/config/lang.php new file mode 100644 index 0000000..7deb712 --- /dev/null +++ b/config/lang.php @@ -0,0 +1,32 @@ + env('lang.default_lang', 'zh-cn'), + // 允许的语言列表 + 'allow_lang_list' => [], + // 多语言自动侦测变量名 + 'detect_var' => 'lang', + // 是否使用Cookie记录 + 'use_cookie' => true, + // 多语言cookie变量 + 'cookie_var' => 'think_lang', + // 扩展语言包 + 'extend_list' => [ + 'zh-cn' => [ + app()->getBasePath() . 'lang/zh_cn.php', + ], + 'en-en' => [ + app()->getBasePath() . 'lang/en_en.php', + ], + ], + // Accept-Language转义为对应语言包名称 + 'accept_language' => [ + 'zh-hans-cn' => 'zh-cn', + ], + // 是否支持语言分组 + 'allow_group' => true, +]; diff --git a/config/log.php b/config/log.php new file mode 100644 index 0000000..ea24ff9 --- /dev/null +++ b/config/log.php @@ -0,0 +1,45 @@ + env('log.channel', 'file'), + // 日志记录级别 + 'level' => [], + // 日志类型记录的通道 ['error'=>'email',...] + 'type_channel' => [], + // 关闭全局日志写入 + 'close' => false, + // 全局日志处理 支持闭包 + 'processor' => null, + + // 日志通道列表 + 'channels' => [ + 'file' => [ + // 日志记录方式 + 'type' => 'File', + // 日志保存目录 + 'path' => '', + // 单文件日志写入 + 'single' => false, + // 独立日志级别 + 'apart_level' => [], + // 最大日志文件数量 + 'max_files' => 0, + // 使用JSON格式记录 + 'json' => false, + // 日志处理 + 'processor' => null, + // 关闭通道日志写入 + 'close' => false, + // 日志输出格式化 + 'format' => '[%s][%s] %s', + // 是否实时写入 + 'realtime_write' => false, + ], + // 其它日志通道配置 + ], + +]; diff --git a/config/middleware.php b/config/middleware.php new file mode 100644 index 0000000..f13d0c9 --- /dev/null +++ b/config/middleware.php @@ -0,0 +1,12 @@ + [ + 'checkAuth'=>app\common\middleware\CheckAuth::class, + 'manageAuth'=>app\common\middleware\ManageAuth::class, + 'apiAuth'=>app\common\middleware\ApiAuth::class, + ], + // 优先级设置,此数组中的中间件会按照数组中的顺序优先执行 + 'priority' => [], +]; diff --git a/config/oss.php b/config/oss.php new file mode 100644 index 0000000..935c9d8 --- /dev/null +++ b/config/oss.php @@ -0,0 +1,8 @@ +env('oss.accesskeyid', ''), + 'accessKeySecret'=>env('oss.accesskeysecret', ''), + 'endpoint'=>env('oss.endpoint', ''), + 'bucket'=>env('oss.bucket', ''), + 'ossUrl'=>env('oss.ossurl', '') +]; \ No newline at end of file diff --git a/config/preview.php b/config/preview.php new file mode 100644 index 0000000..5d67514 --- /dev/null +++ b/config/preview.php @@ -0,0 +1,6 @@ +env('preview.own', ''), + 'yzdcs'=>env('preview.yzdcs', ''), + 'keycode'=>env('preview.keycode', ''), +]; \ No newline at end of file diff --git a/config/queue.php b/config/queue.php new file mode 100644 index 0000000..fb096a8 --- /dev/null +++ b/config/queue.php @@ -0,0 +1,39 @@ + +// +---------------------------------------------------------------------- + +return [ + 'default' => 'sync', + 'connections' => [ + 'sync' => [ + 'type' => 'sync', + ], + 'database' => [ + 'type' => 'database', + 'queue' => 'default', + 'table' => 'jobs', + 'connection' => null, + ], + 'redis' => [ + 'type' => 'redis', + 'queue' => 'default', + 'host' => '127.0.0.1', + 'port' => 6379, + 'password' => '', + 'select' => 0, + 'timeout' => 0, + 'persistent' => false, + ], + ], + 'failed' => [ + 'type' => 'none', + 'table' => 'failed_jobs', + ], +]; diff --git a/config/route.php b/config/route.php new file mode 100644 index 0000000..2f4cd12 --- /dev/null +++ b/config/route.php @@ -0,0 +1,45 @@ + '/', + // URL伪静态后缀 + 'url_html_suffix' => 'html', + // URL普通方式参数 用于自动生成 + 'url_common_param' => true, + // 是否开启路由延迟解析 + 'url_lazy_route' => false, + // 是否强制使用路由 + 'url_route_must' => false, + // 合并路由规则 + 'route_rule_merge' => false, + // 路由是否完全匹配 + 'route_complete_match' => false, + // 访问控制器层名称 + 'controller_layer' => 'controller', + // 空控制器名 + 'empty_controller' => 'Error', + // 是否使用控制器后缀 + 'controller_suffix' => false, + // 默认的路由变量规则 + 'default_route_pattern' => '[\w\.]+', + // 是否开启请求缓存 true自动缓存 支持设置请求缓存规则 + 'request_cache_key' => false, + // 请求缓存有效期 + 'request_cache_expire' => null, + // 全局请求缓存排除规则 + 'request_cache_except' => [], + // 默认控制器名 + 'default_controller' => 'Index', + // 默认操作名 + 'default_action' => 'index', + // 操作方法后缀 + 'action_suffix' => '', + // 默认JSONP格式返回的处理方法 + 'default_jsonp_handler' => 'jsonpReturn', + // 默认JSONP处理方法 + 'var_jsonp_handler' => 'callback', +]; diff --git a/config/session.php b/config/session.php new file mode 100644 index 0000000..68f0b8f --- /dev/null +++ b/config/session.php @@ -0,0 +1,19 @@ + 'PHPSESSID', + // SESSION_ID的提交变量,解决flash上传跨域 + 'var_session_id' => '', + // 驱动方式 支持file cache + 'type' => 'file', + // 存储连接标识 当type使用cache的时候有效 + 'store' => null, + // 过期时间 + 'expire' => 9*3600, + // 前缀 + 'prefix' => '', +]; diff --git a/config/sms.php b/config/sms.php new file mode 100644 index 0000000..5849a48 --- /dev/null +++ b/config/sms.php @@ -0,0 +1,159 @@ + +// +---------------------------------------------------------------------- +return [ + 'driver' => 'aliyun', // 驱动器 + 'aliyun' => [ + 'version' => '2017-05-25', + 'host' => 'dysmsapi.aliyuncs.com', + 'scheme' => 'http', + 'region_id' => 'cn-hangzhou', + 'access_key' => '', + 'access_secret' => '', + 'sign_name' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => 'SMS_53115055', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => 'SMS_53115057', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => 'SMS_53115053', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => 'SMS_53115052', + ], + ], + ], + 'ucloud' => [ + 'public_key' => '', + 'private_key' => '', + 'project_id' => '', + 'base_url' => 'https://api.ucloud.cn', + 'sign_name' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => 'UTA1910164E29F4', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => 'UTA1910164E29F4', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => 'UTA1910164E29F4', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => 'UTA1910164E29F4', + ], + ], + ], + 'qcloud' => [ + 'appid' => '', + 'appkey' => '', + 'sign_name' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => '566198', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => '566197', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => '566199', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => '566200', + ], + ], + ], + 'qiniu' => [ + 'AccessKey' => '', + 'SecretKey' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => '1246849772845797376', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => '1246849654881001472', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => '1246849964902977536', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => '1246849860733243392', + ], + ], + ], + 'upyun' => [ + 'id' => '', + 'token' => '', + 'apiurl' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => '2591', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => '2592', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => '2590', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => '2589', + ], + ], + ], + 'huawei' => [ + 'url' => '', + 'appKey' => '', + 'appSecret' => '', + 'sender' => '', + 'signature' => '', + 'statusCallback' => '', + 'actions' => [ + 'register' => [ + 'actions_name' => '注册验证', + 'template_id' => '2591', + ], + 'login' => [ + 'actions_name' => '登录验证', + 'template_id' => '2592', + ], + 'changePassword' => [ + 'actions_name' => '修改密码', + 'template_id' => '2590', + ], + 'changeUserinfo' => [ + 'actions_name' => '变更信息', + 'template_id' => '2589', + ], + ], + ] +]; \ No newline at end of file diff --git a/config/trace.php b/config/trace.php new file mode 100644 index 0000000..fad2392 --- /dev/null +++ b/config/trace.php @@ -0,0 +1,10 @@ + 'Html', + // 读取的日志通道名 + 'channel' => '', +]; diff --git a/config/version.php b/config/version.php new file mode 100644 index 0000000..dc21577 --- /dev/null +++ b/config/version.php @@ -0,0 +1,45 @@ +env('app.name', 'Raingad-IM'), //在.env中配置 + 'andriod' => [ + 'version' => env('app.version', '5.3.1'), //在.env中配置 + 'release' => env('app.release', '20241127'), //在.env中配置 + 'url' =>env('app.andriod_webclip',''), + 'update_info' => '1.优化界面,消息操作更直观\n2.增加群聊管理标识\n3.增加视频封面以及比例自动计算\n4.修复若干BUG', + 'update_type' => 'solicit', + ], + 'ios' => [ + 'version' => '5.2.2', + 'release' => '20241118', + 'url' => env('app.ios_webclip',''), + 'update_info' => '暂无', + 'update_type' => 'solicit', + ], + 'windows' => [ + 'version' => '5.5.2', + 'release' => '20250107', + 'url' => env('app.win_webclip',''), + 'update_info' => '1.lemon-imui本地化,消息底部检测', + 'update_type' => 'solicit', + ], + 'mac' => [ + 'version' => '4.0.0', + 'release' => '20240323', + 'url' => env('app.mac_webclip',''), + 'update_info' => '1.修复了一些bug\n2.优化了一些功能', + 'update_type' => 'solicit', + ], + 'serve' => [ + 'version' => '5.2.2', + 'release' => '20241118', + 'url' => '', + 'update_info' => '1.增加聊天记录查看\n2.增加系统公告,移动端首页滚动提醒\n3.增加群聊支持单个人禁言,支持新成员查看历史聊天记录\n4.优化移动端输入框,解决ios低版本H5问题\n5.修复若干BUG', + 'update_type' => 'solicit', + ], +]; \ No newline at end of file diff --git a/config/view.php b/config/view.php new file mode 100644 index 0000000..9d3bff6 --- /dev/null +++ b/config/view.php @@ -0,0 +1,28 @@ + 'Think', + // 默认模板渲染规则 1 解析为小写+下划线 2 全部转换小写 3 保持操作方法 + 'auto_rule' => 1, + // 模板目录名 + 'view_dir_name' => 'view', + // 模板后缀 + 'view_suffix' => 'html', + // 模板文件名分隔符 + 'view_depr' => DIRECTORY_SEPARATOR, + // 模板引擎普通标签开始标记 + 'tpl_begin' => '{', + // 模板引擎普通标签结束标记 + 'tpl_end' => '}', + // 标签库标签开始标记 + 'taglib_begin' => '{', + // 标签库标签结束标记 + 'taglib_end' => '}', + 'tpl_replace_string' => [ + '__STATIC__'=>'/static', + ] +]; diff --git a/public/404.html b/public/404.html new file mode 100644 index 0000000..6f17eaf --- /dev/null +++ b/public/404.html @@ -0,0 +1,7 @@ + +404 Not Found + +

404 Not Found

+
nginx
+ + \ No newline at end of file diff --git a/public/assets/css/133.7f9367b6.css b/public/assets/css/133.7f9367b6.css new file mode 100644 index 0000000..2daff1b --- /dev/null +++ b/public/assets/css/133.7f9367b6.css @@ -0,0 +1 @@ +.error-wrapper{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%)}.error-wrapper .error-content .pic-error{float:left;width:120%;overflow:hidden;opacity:0;animation-name:slideUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}.error-wrapper .error-content .pic-error img{width:100%;height:100%}.error-wrapper .error-content .bullshit{position:relative;float:left;width:300px;padding:30px 0;overflow:hidden}.error-wrapper .error-content .bullshit-oops{margin-bottom:20px;font-size:32px;font-weight:700;line-height:40px;color:#175cff;opacity:0;animation-name:slideUp;animation-duration:.5s;animation-fill-mode:forwards}.error-wrapper .error-content .bullshit-headline{margin-bottom:10px;font-size:20px;font-weight:700;line-height:24px;color:#222;opacity:0;animation-name:slideUp;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.error-wrapper .error-content .bullshit-info{margin-bottom:30px;font-size:13px;line-height:21px;color:rgba(0,0,0,.65);opacity:0;animation-name:slideUp;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.error-wrapper .error-content .bullshit-return-home{display:block;float:left;width:110px;height:36px;font-size:14px;line-height:36px;color:#fff;text-align:center;cursor:pointer;background:#175cff;border-radius:100px;opacity:0;animation-name:slideUp;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp{0%{opacity:0;transform:translateY(60px)}to{opacity:1;transform:translateY(0)}} \ No newline at end of file diff --git a/public/assets/css/173.fc941ab9.css b/public/assets/css/173.fc941ab9.css new file mode 100644 index 0000000..d49b1c3 --- /dev/null +++ b/public/assets/css/173.fc941ab9.css @@ -0,0 +1 @@ +.group-box[data-v-79495ffc]{display:flex;flex-direction:column;height:calc(100vh - 104px);background:#fff;border:1px solid #e6e6e6}.group-box .group-box-header[data-v-79495ffc]{display:flex;justify-content:space-between;align-items:center;padding:0 15px;height:60px;border-bottom:1px solid #e6e6e6}.group-box .group-box-list[data-v-79495ffc]{flex:1;overflow:auto}.group-box .group-box-page[data-v-79495ffc]{padding-top:15px;height:48px}.chat-item[data-v-79495ffc]{display:flex;align-items:center;padding:10px;cursor:pointer}.chat-item.active[data-v-79495ffc],.chat-item[data-v-79495ffc]:hover{background:#f5f5f5}.chat-item .chat-avatar[data-v-79495ffc]{margin-right:10px}.chat-item .chat-avatar img[data-v-79495ffc]{width:44px;height:44px;border-radius:50%}.chat-item .chat-content[data-v-79495ffc]{flex-grow:1;display:flex;flex-direction:column}.chat-item .chat-content .chat-message[data-v-79495ffc]{margin-top:5px}.chat-item .chat-content .chat-name[data-v-79495ffc]{font-weight:700;margin-right:10px}.chat-item .chat-time[data-v-79495ffc]{font-size:12px;color:#999}.group-user-box[data-v-79495ffc]{border-left:none}.member-list[data-v-79495ffc]{display:flex;justify-content:flex-start;flex-wrap:wrap;padding:20px 0 20px 20px}.member-list .member-item[data-v-79495ffc]{display:flex;align-items:center;flex-wrap:wrap;padding:10px;width:200px;border:1px solid #eee;border-radius:8px;margin-right:20px;margin-bottom:20px}.member-list .member-item[data-v-79495ffc]:last-child{margin-right:0}.member-list .member-item .member-avatar[data-v-79495ffc]{margin-right:10px}.member-list .member-item .member-avatar img[data-v-79495ffc]{width:44px;height:44px;border-radius:50%}.member-list .member-item .member-content[data-v-79495ffc]{flex-grow:1;display:flex;justify-content:space-between}.member-list .member-item .member-content .member-header[data-v-79495ffc]{display:flex;align-items:flex-start;flex-direction:column}.member-list .member-item .member-content .member-header .member-name[data-v-79495ffc]{font-weight:700;margin-right:10px}.member-list .member-item .member-content .member-header .member-role[data-v-79495ffc]{font-size:12px;color:#999}.member-list .member-item .member-content .member-actions[data-v-79495ffc]{display:flex;justify-content:flex-end}.mt-3[data-v-79495ffc]{margin-top:3px}[data-v-79495ffc] .el-card__body{padding:0!important} \ No newline at end of file diff --git a/public/assets/css/567.74d1a927.css b/public/assets/css/567.74d1a927.css new file mode 100644 index 0000000..d64509a --- /dev/null +++ b/public/assets/css/567.74d1a927.css @@ -0,0 +1 @@ +.main-file-item{height:calc(100vh - 102px)} \ No newline at end of file diff --git a/public/assets/css/585.8fcf2825.css b/public/assets/css/585.8fcf2825.css new file mode 100644 index 0000000..5499fd0 --- /dev/null +++ b/public/assets/css/585.8fcf2825.css @@ -0,0 +1 @@ +.item-background p[data-v-3f58b2b1]{color:#999;line-height:1.8}.welcome .logo[data-v-3f58b2b1]{text-align:center}.welcome .logo img[data-v-3f58b2b1]{vertical-align:bottom;width:80px;height:80px;margin-bottom:20px}.welcome .logo h2[data-v-3f58b2b1]{font-size:24px;font-weight:400;display:flex;align-items:center;justify-content:center}.tips[data-v-3f58b2b1]{margin-top:20px}.tips-item[data-v-3f58b2b1]{display:flex;align-items:center;justify-content:center;padding-bottom:10px}.tips-item-icon[data-v-3f58b2b1]{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:50%;font-size:18px;margin-right:20px;color:var(--el-color-primary);background:hsla(0,0%,71%,.1)}.tips-item-message[data-v-3f58b2b1]{flex:1;font-size:14px}.actions[data-v-3f58b2b1]{text-align:center;margin:20px 0 20px 0}.stop-task[data-v-3f58b2b1]:hover{color:#f56c6c}.start-task[data-v-3f58b2b1]{color:#409eff}.task-name[data-v-3f58b2b1]{font-weight:600}.task-log[data-v-3f58b2b1]{background:#000;color:#fff;white-space:break-spaces;letter-spacing:1px} \ No newline at end of file diff --git a/public/assets/css/687.d8d9e482.css b/public/assets/css/687.d8d9e482.css new file mode 100644 index 0000000..4ed8323 --- /dev/null +++ b/public/assets/css/687.d8d9e482.css @@ -0,0 +1 @@ +.avater-components .el-avatar--square{border-radius:8px}.avatar{height:24px}.logo-center[data-v-1956f8c4]{display:inline-block}.user-img[data-v-1956f8c4]{margin-right:8px;vertical-align:middle}.search-lists[data-v-1956f8c4]{padding:5px 0;height:200px;overflow:auto}.colleagues-list[data-v-1956f8c4]{padding:5px 0;display:block;margin-left:0;display:flex!important;align-items:center!important;align-content:center}.xh-user[data-v-1956f8c4]{color:#333;font-size:12px}.xh-user__hd[data-v-1956f8c4]{padding:0 15px;height:40px;line-height:40px;border-bottom:1px solid #c2c2c2}.xh-user__bd[data-v-1956f8c4]{padding:10px 12px}.xh-user__ft[data-v-1956f8c4]{padding:5px 12px;background:#f7f8fa;border-top:1px solid #c2c2c2}.xh-user__ft .el-button[data-v-1956f8c4]{font-size:12px}.select-info[data-v-1956f8c4]{display:inline-block;width:calc(100% - 30px)}.select-info--num[data-v-1956f8c4]{color:#175cff}.el-checkbox-group[data-v-1956f8c4]{overflow-x:hidden}.el-checkbox[data-v-1956f8c4] .el-checkbox__label{color:#333;display:flex;align-items:center;margin-right:10px}.all-check[data-v-1956f8c4]{padding:5px 0;display:flex;align-items:center}.search-input[data-v-1956f8c4] .el-input__inner{background-color:#f4f4f4;border:none}.wk-user-select[data-v-f3dcf9b2]{box-sizing:border-box;height:32px;position:relative;border-radius:4px;font-size:13px;background-color:#fff;border:1px solid #e6e6e6;color:#333;padding:0 20px 0 5px;cursor:pointer}.wk-user-select .user-item[data-v-f3dcf9b2]{padding:3px 15px 3px 5px;background-color:#f3f7ff;border-radius:4px;margin:3px;max-width:80px;position:relative}.wk-user-select .user-item.is-hide[data-v-f3dcf9b2]{background-color:#f2f2f2;color:#999}.wk-user-select .user-placeholder[data-v-f3dcf9b2]{color:#ddd;line-height:32px;cursor:pointer}.wk-user-select .delete-icon[data-v-f3dcf9b2]{color:#999;cursor:pointer;position:absolute;top:6px;right:2px}.wk-user-select .delete-icon[data-v-f3dcf9b2]:hover{color:#175cff}.wk-user-select[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_disabled[data-v-f3dcf9b2]{background-color:#f5f7fa;border-color:#e4e7ed;cursor:not-allowed}.wk-user-select.is_disabled .user-item[data-v-f3dcf9b2]{background-color:rgba(240,244,248,.918);color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_disabled .delete-icon[data-v-f3dcf9b2],.wk-user-select.is_disabled .user-placeholder[data-v-f3dcf9b2]{color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_valid[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_focus[data-v-f3dcf9b2]{border-color:#175cff!important}.el-select__tags[data-v-f3dcf9b2]{padding-right:30px}.el-icon-more[data-v-f3dcf9b2]{position:absolute;top:3px;right:20px;padding:6px 10px;font-size:12px;background-color:#f3f7ff;color:#666;border-radius:4px}.el-icon-more[data-v-f3dcf9b2]:hover{background-color:#175cff;color:#fff}.el-icon-arrow-up[data-v-f3dcf9b2]{position:absolute;top:calc(50% - 7px);right:5px;color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-icon-arrow-up.is-reverse[data-v-f3dcf9b2]{transform:rotate(0deg)}.group-box[data-v-61b0eeda]{display:flex;flex-direction:column;height:660px;background:#fff;border:1px solid #e6e6e6}.group-box .group-box-header[data-v-61b0eeda]{display:flex;justify-content:space-between;align-items:center;padding:0 15px;height:60px;border-bottom:1px solid #e6e6e6}.group-box .group-box-list[data-v-61b0eeda]{flex:1;overflow:auto}.group-box .group-box-page[data-v-61b0eeda]{padding-top:15px;height:48px}.chat-item[data-v-61b0eeda]{display:flex;align-items:center;padding:10px;cursor:pointer}.chat-item.active[data-v-61b0eeda],.chat-item[data-v-61b0eeda]:hover{background:#f5f5f5}.chat-item .chat-avatar[data-v-61b0eeda]{margin-right:10px}.chat-item .chat-avatar img[data-v-61b0eeda]{width:44px;height:44px;border-radius:50%}.chat-item .chat-content[data-v-61b0eeda]{flex-grow:1;display:flex;flex-direction:column}.chat-item .chat-content .chat-message[data-v-61b0eeda]{margin-top:5px}.chat-item .chat-content .chat-name[data-v-61b0eeda]{font-weight:700;margin-right:10px}.chat-item .chat-time[data-v-61b0eeda]{font-size:12px;color:#999}.group-user-box[data-v-61b0eeda]{border-left:none}.member-list[data-v-61b0eeda]{display:flex;justify-content:flex-start;flex-wrap:wrap;padding:20px 0 20px 20px}.member-list .member-item[data-v-61b0eeda]{display:flex;align-items:center;flex-wrap:wrap;padding:10px;width:200px;border:1px solid #eee;border-radius:8px;margin-right:20px;margin-bottom:20px}.member-list .member-item[data-v-61b0eeda]:last-child{margin-right:0}.member-list .member-item .member-avatar[data-v-61b0eeda]{margin-right:10px}.member-list .member-item .member-avatar img[data-v-61b0eeda]{width:44px;height:44px;border-radius:50%}.member-list .member-item .member-content[data-v-61b0eeda]{flex-grow:1;display:flex;justify-content:space-between}.member-list .member-item .member-content .member-header[data-v-61b0eeda]{display:flex;align-items:flex-start;flex-direction:column}.member-list .member-item .member-content .member-header .member-name[data-v-61b0eeda]{font-weight:700;margin-right:10px}.member-list .member-item .member-content .member-header .member-role[data-v-61b0eeda]{font-size:12px;color:#999}.member-list .member-item .member-content .member-actions[data-v-61b0eeda]{display:flex;justify-content:flex-end}.mt-3[data-v-61b0eeda]{margin-top:3px}[data-v-61b0eeda] .el-card__body{padding:0!important}[data-v-61b0eeda] .chat-main{margin:0!important}[data-v-e0b9ac40] .table-header{background-color:#f5f5f5;color:#333} \ No newline at end of file diff --git a/public/assets/css/789.62ab164a.css b/public/assets/css/789.62ab164a.css new file mode 100644 index 0000000..250092e --- /dev/null +++ b/public/assets/css/789.62ab164a.css @@ -0,0 +1 @@ +.avater-components .el-avatar--square{border-radius:8px}.avatar{height:24px}.logo-center[data-v-1956f8c4]{display:inline-block}.user-img[data-v-1956f8c4]{margin-right:8px;vertical-align:middle}.search-lists[data-v-1956f8c4]{padding:5px 0;height:200px;overflow:auto}.colleagues-list[data-v-1956f8c4]{padding:5px 0;display:block;margin-left:0;display:flex!important;align-items:center!important;align-content:center}.xh-user[data-v-1956f8c4]{color:#333;font-size:12px}.xh-user__hd[data-v-1956f8c4]{padding:0 15px;height:40px;line-height:40px;border-bottom:1px solid #c2c2c2}.xh-user__bd[data-v-1956f8c4]{padding:10px 12px}.xh-user__ft[data-v-1956f8c4]{padding:5px 12px;background:#f7f8fa;border-top:1px solid #c2c2c2}.xh-user__ft .el-button[data-v-1956f8c4]{font-size:12px}.select-info[data-v-1956f8c4]{display:inline-block;width:calc(100% - 30px)}.select-info--num[data-v-1956f8c4]{color:#175cff}.el-checkbox-group[data-v-1956f8c4]{overflow-x:hidden}.el-checkbox[data-v-1956f8c4] .el-checkbox__label{color:#333;display:flex;align-items:center;margin-right:10px}.all-check[data-v-1956f8c4]{padding:5px 0;display:flex;align-items:center}.search-input[data-v-1956f8c4] .el-input__inner{background-color:#f4f4f4;border:none}.wk-user-select[data-v-f3dcf9b2]{box-sizing:border-box;height:32px;position:relative;border-radius:4px;font-size:13px;background-color:#fff;border:1px solid #e6e6e6;color:#333;padding:0 20px 0 5px;cursor:pointer}.wk-user-select .user-item[data-v-f3dcf9b2]{padding:3px 15px 3px 5px;background-color:#f3f7ff;border-radius:4px;margin:3px;max-width:80px;position:relative}.wk-user-select .user-item.is-hide[data-v-f3dcf9b2]{background-color:#f2f2f2;color:#999}.wk-user-select .user-placeholder[data-v-f3dcf9b2]{color:#ddd;line-height:32px;cursor:pointer}.wk-user-select .delete-icon[data-v-f3dcf9b2]{color:#999;cursor:pointer;position:absolute;top:6px;right:2px}.wk-user-select .delete-icon[data-v-f3dcf9b2]:hover{color:#175cff}.wk-user-select[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_disabled[data-v-f3dcf9b2]{background-color:#f5f7fa;border-color:#e4e7ed;cursor:not-allowed}.wk-user-select.is_disabled .user-item[data-v-f3dcf9b2]{background-color:rgba(240,244,248,.918);color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_disabled .delete-icon[data-v-f3dcf9b2],.wk-user-select.is_disabled .user-placeholder[data-v-f3dcf9b2]{color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_valid[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_focus[data-v-f3dcf9b2]{border-color:#175cff!important}.el-select__tags[data-v-f3dcf9b2]{padding-right:30px}.el-icon-more[data-v-f3dcf9b2]{position:absolute;top:3px;right:20px;padding:6px 10px;font-size:12px;background-color:#f3f7ff;color:#666;border-radius:4px}.el-icon-more[data-v-f3dcf9b2]:hover{background-color:#175cff;color:#fff}.el-icon-arrow-up[data-v-f3dcf9b2]{position:absolute;top:calc(50% - 7px);right:5px;color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-icon-arrow-up.is-reverse[data-v-f3dcf9b2]{transform:rotate(0deg)}[data-v-5a260d74] .avatar-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}[data-v-5a260d74] .avatar-uploader .el-upload:hover{border-color:#409eff}[data-v-5a260d74] .avatar-uploader-icon{font-size:28px;color:#8c939d;width:120px;height:120px;line-height:120px;text-align:center}.avatar[data-v-5a260d74]{width:120px;height:120px;display:block} \ No newline at end of file diff --git a/public/assets/css/982.f6ad2033.css b/public/assets/css/982.f6ad2033.css new file mode 100644 index 0000000..41506cb --- /dev/null +++ b/public/assets/css/982.f6ad2033.css @@ -0,0 +1 @@ +.avater-components .el-avatar--square{border-radius:8px}.avatar{height:24px}.logo-center[data-v-1956f8c4]{display:inline-block}.user-img[data-v-1956f8c4]{margin-right:8px;vertical-align:middle}.search-lists[data-v-1956f8c4]{padding:5px 0;height:200px;overflow:auto}.colleagues-list[data-v-1956f8c4]{padding:5px 0;display:block;margin-left:0;display:flex!important;align-items:center!important;align-content:center}.xh-user[data-v-1956f8c4]{color:#333;font-size:12px}.xh-user__hd[data-v-1956f8c4]{padding:0 15px;height:40px;line-height:40px;border-bottom:1px solid #c2c2c2}.xh-user__bd[data-v-1956f8c4]{padding:10px 12px}.xh-user__ft[data-v-1956f8c4]{padding:5px 12px;background:#f7f8fa;border-top:1px solid #c2c2c2}.xh-user__ft .el-button[data-v-1956f8c4]{font-size:12px}.select-info[data-v-1956f8c4]{display:inline-block;width:calc(100% - 30px)}.select-info--num[data-v-1956f8c4]{color:#175cff}.el-checkbox-group[data-v-1956f8c4]{overflow-x:hidden}.el-checkbox[data-v-1956f8c4] .el-checkbox__label{color:#333;display:flex;align-items:center;margin-right:10px}.all-check[data-v-1956f8c4]{padding:5px 0;display:flex;align-items:center}.search-input[data-v-1956f8c4] .el-input__inner{background-color:#f4f4f4;border:none}.wk-user-select[data-v-f3dcf9b2]{box-sizing:border-box;height:32px;position:relative;border-radius:4px;font-size:13px;background-color:#fff;border:1px solid #e6e6e6;color:#333;padding:0 20px 0 5px;cursor:pointer}.wk-user-select .user-item[data-v-f3dcf9b2]{padding:3px 15px 3px 5px;background-color:#f3f7ff;border-radius:4px;margin:3px;max-width:80px;position:relative}.wk-user-select .user-item.is-hide[data-v-f3dcf9b2]{background-color:#f2f2f2;color:#999}.wk-user-select .user-placeholder[data-v-f3dcf9b2]{color:#ddd;line-height:32px;cursor:pointer}.wk-user-select .delete-icon[data-v-f3dcf9b2]{color:#999;cursor:pointer;position:absolute;top:6px;right:2px}.wk-user-select .delete-icon[data-v-f3dcf9b2]:hover{color:#175cff}.wk-user-select[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_disabled[data-v-f3dcf9b2]{background-color:#f5f7fa;border-color:#e4e7ed;cursor:not-allowed}.wk-user-select.is_disabled .user-item[data-v-f3dcf9b2]{background-color:rgba(240,244,248,.918);color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_disabled .delete-icon[data-v-f3dcf9b2],.wk-user-select.is_disabled .user-placeholder[data-v-f3dcf9b2]{color:#c0c4cc;cursor:not-allowed}.wk-user-select.is_valid[data-v-f3dcf9b2]:hover{border-color:#c0c4cc}.wk-user-select.is_focus[data-v-f3dcf9b2]{border-color:#175cff!important}.el-select__tags[data-v-f3dcf9b2]{padding-right:30px}.el-icon-more[data-v-f3dcf9b2]{position:absolute;top:3px;right:20px;padding:6px 10px;font-size:12px;background-color:#f3f7ff;color:#666;border-radius:4px}.el-icon-more[data-v-f3dcf9b2]:hover{background-color:#175cff;color:#fff}.el-icon-arrow-up[data-v-f3dcf9b2]{position:absolute;top:calc(50% - 7px);right:5px;color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-icon-arrow-up.is-reverse[data-v-f3dcf9b2]{transform:rotate(0deg)}.group-box[data-v-61b0eeda]{display:flex;flex-direction:column;height:660px;background:#fff;border:1px solid #e6e6e6}.group-box .group-box-header[data-v-61b0eeda]{display:flex;justify-content:space-between;align-items:center;padding:0 15px;height:60px;border-bottom:1px solid #e6e6e6}.group-box .group-box-list[data-v-61b0eeda]{flex:1;overflow:auto}.group-box .group-box-page[data-v-61b0eeda]{padding-top:15px;height:48px}.chat-item[data-v-61b0eeda]{display:flex;align-items:center;padding:10px;cursor:pointer}.chat-item.active[data-v-61b0eeda],.chat-item[data-v-61b0eeda]:hover{background:#f5f5f5}.chat-item .chat-avatar[data-v-61b0eeda]{margin-right:10px}.chat-item .chat-avatar img[data-v-61b0eeda]{width:44px;height:44px;border-radius:50%}.chat-item .chat-content[data-v-61b0eeda]{flex-grow:1;display:flex;flex-direction:column}.chat-item .chat-content .chat-message[data-v-61b0eeda]{margin-top:5px}.chat-item .chat-content .chat-name[data-v-61b0eeda]{font-weight:700;margin-right:10px}.chat-item .chat-time[data-v-61b0eeda]{font-size:12px;color:#999}.group-user-box[data-v-61b0eeda]{border-left:none}.member-list[data-v-61b0eeda]{display:flex;justify-content:flex-start;flex-wrap:wrap;padding:20px 0 20px 20px}.member-list .member-item[data-v-61b0eeda]{display:flex;align-items:center;flex-wrap:wrap;padding:10px;width:200px;border:1px solid #eee;border-radius:8px;margin-right:20px;margin-bottom:20px}.member-list .member-item[data-v-61b0eeda]:last-child{margin-right:0}.member-list .member-item .member-avatar[data-v-61b0eeda]{margin-right:10px}.member-list .member-item .member-avatar img[data-v-61b0eeda]{width:44px;height:44px;border-radius:50%}.member-list .member-item .member-content[data-v-61b0eeda]{flex-grow:1;display:flex;justify-content:space-between}.member-list .member-item .member-content .member-header[data-v-61b0eeda]{display:flex;align-items:flex-start;flex-direction:column}.member-list .member-item .member-content .member-header .member-name[data-v-61b0eeda]{font-weight:700;margin-right:10px}.member-list .member-item .member-content .member-header .member-role[data-v-61b0eeda]{font-size:12px;color:#999}.member-list .member-item .member-content .member-actions[data-v-61b0eeda]{display:flex;justify-content:flex-end}.mt-3[data-v-61b0eeda]{margin-top:3px}[data-v-61b0eeda] .el-card__body{padding:0!important}[data-v-61b0eeda] .chat-main{margin:0!important}[data-v-0e963288] .table-header{background-color:#f5f5f5;color:#333} \ No newline at end of file diff --git a/public/assets/css/app.c65eb857.css b/public/assets/css/app.c65eb857.css new file mode 100644 index 0000000..1bacde3 --- /dev/null +++ b/public/assets/css/app.c65eb857.css @@ -0,0 +1,10 @@ +@font-face{font-family:element-icons;src:url(../../assets/fonts/element-icons.ff18efd1.woff) format("woff"),url(../../assets/fonts/element-icons.f1a45d74.ttf) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\e6a0"}.el-icon-ice-cream-square:before{content:"\e6a3"}.el-icon-lollipop:before{content:"\e6a4"}.el-icon-potato-strips:before{content:"\e6a5"}.el-icon-milk-tea:before{content:"\e6a6"}.el-icon-ice-drink:before{content:"\e6a7"}.el-icon-ice-tea:before{content:"\e6a9"}.el-icon-coffee:before{content:"\e6aa"}.el-icon-orange:before{content:"\e6ab"}.el-icon-pear:before{content:"\e6ac"}.el-icon-apple:before{content:"\e6ad"}.el-icon-cherry:before{content:"\e6ae"}.el-icon-watermelon:before{content:"\e6af"}.el-icon-grape:before{content:"\e6b0"}.el-icon-refrigerator:before{content:"\e6b1"}.el-icon-goblet-square-full:before{content:"\e6b2"}.el-icon-goblet-square:before{content:"\e6b3"}.el-icon-goblet-full:before{content:"\e6b4"}.el-icon-goblet:before{content:"\e6b5"}.el-icon-cold-drink:before{content:"\e6b6"}.el-icon-coffee-cup:before{content:"\e6b8"}.el-icon-water-cup:before{content:"\e6b9"}.el-icon-hot-water:before{content:"\e6ba"}.el-icon-ice-cream:before{content:"\e6bb"}.el-icon-dessert:before{content:"\e6bc"}.el-icon-sugar:before{content:"\e6bd"}.el-icon-tableware:before{content:"\e6be"}.el-icon-burger:before{content:"\e6bf"}.el-icon-knife-fork:before{content:"\e6c1"}.el-icon-fork-spoon:before{content:"\e6c2"}.el-icon-chicken:before{content:"\e6c3"}.el-icon-food:before{content:"\e6c4"}.el-icon-dish-1:before{content:"\e6c5"}.el-icon-dish:before{content:"\e6c6"}.el-icon-moon-night:before{content:"\e6ee"}.el-icon-moon:before{content:"\e6f0"}.el-icon-cloudy-and-sunny:before{content:"\e6f1"}.el-icon-partly-cloudy:before{content:"\e6f2"}.el-icon-cloudy:before{content:"\e6f3"}.el-icon-sunny:before{content:"\e6f6"}.el-icon-sunset:before{content:"\e6f7"}.el-icon-sunrise-1:before{content:"\e6f8"}.el-icon-sunrise:before{content:"\e6f9"}.el-icon-heavy-rain:before{content:"\e6fa"}.el-icon-lightning:before{content:"\e6fb"}.el-icon-light-rain:before{content:"\e6fc"}.el-icon-wind-power:before{content:"\e6fd"}.el-icon-baseball:before{content:"\e712"}.el-icon-soccer:before{content:"\e713"}.el-icon-football:before{content:"\e715"}.el-icon-basketball:before{content:"\e716"}.el-icon-ship:before{content:"\e73f"}.el-icon-truck:before{content:"\e740"}.el-icon-bicycle:before{content:"\e741"}.el-icon-mobile-phone:before{content:"\e6d3"}.el-icon-service:before{content:"\e6d4"}.el-icon-key:before{content:"\e6e2"}.el-icon-unlock:before{content:"\e6e4"}.el-icon-lock:before{content:"\e6e5"}.el-icon-watch:before{content:"\e6fe"}.el-icon-watch-1:before{content:"\e6ff"}.el-icon-timer:before{content:"\e702"}.el-icon-alarm-clock:before{content:"\e703"}.el-icon-map-location:before{content:"\e704"}.el-icon-delete-location:before{content:"\e705"}.el-icon-add-location:before{content:"\e706"}.el-icon-location-information:before{content:"\e707"}.el-icon-location-outline:before{content:"\e708"}.el-icon-location:before{content:"\e79e"}.el-icon-place:before{content:"\e709"}.el-icon-discover:before{content:"\e70a"}.el-icon-first-aid-kit:before{content:"\e70b"}.el-icon-trophy-1:before{content:"\e70c"}.el-icon-trophy:before{content:"\e70d"}.el-icon-medal:before{content:"\e70e"}.el-icon-medal-1:before{content:"\e70f"}.el-icon-stopwatch:before{content:"\e710"}.el-icon-mic:before{content:"\e711"}.el-icon-copy-document:before{content:"\e718"}.el-icon-full-screen:before{content:"\e719"}.el-icon-switch-button:before{content:"\e71b"}.el-icon-aim:before{content:"\e71c"}.el-icon-crop:before{content:"\e71d"}.el-icon-odometer:before{content:"\e71e"}.el-icon-time:before{content:"\e71f"}.el-icon-bangzhu:before{content:"\e724"}.el-icon-close-notification:before{content:"\e726"}.el-icon-microphone:before{content:"\e727"}.el-icon-turn-off-microphone:before{content:"\e728"}.el-icon-position:before{content:"\e729"}.el-icon-postcard:before{content:"\e72a"}.el-icon-message:before{content:"\e72b"}.el-icon-chat-line-square:before{content:"\e72d"}.el-icon-chat-dot-square:before{content:"\e72e"}.el-icon-chat-dot-round:before{content:"\e72f"}.el-icon-chat-square:before{content:"\e730"}.el-icon-chat-line-round:before{content:"\e731"}.el-icon-chat-round:before{content:"\e732"}.el-icon-set-up:before{content:"\e733"}.el-icon-turn-off:before{content:"\e734"}.el-icon-open:before{content:"\e735"}.el-icon-connection:before{content:"\e736"}.el-icon-link:before{content:"\e737"}.el-icon-cpu:before{content:"\e738"}.el-icon-thumb:before{content:"\e739"}.el-icon-female:before{content:"\e73a"}.el-icon-male:before{content:"\e73b"}.el-icon-guide:before{content:"\e73c"}.el-icon-news:before{content:"\e73e"}.el-icon-price-tag:before{content:"\e744"}.el-icon-discount:before{content:"\e745"}.el-icon-wallet:before{content:"\e747"}.el-icon-coin:before{content:"\e748"}.el-icon-money:before{content:"\e749"}.el-icon-bank-card:before{content:"\e74a"}.el-icon-box:before{content:"\e74b"}.el-icon-present:before{content:"\e74c"}.el-icon-sell:before{content:"\e6d5"}.el-icon-sold-out:before{content:"\e6d6"}.el-icon-shopping-bag-2:before{content:"\e74d"}.el-icon-shopping-bag-1:before{content:"\e74e"}.el-icon-shopping-cart-2:before{content:"\e74f"}.el-icon-shopping-cart-1:before{content:"\e750"}.el-icon-shopping-cart-full:before{content:"\e751"}.el-icon-smoking:before{content:"\e752"}.el-icon-no-smoking:before{content:"\e753"}.el-icon-house:before{content:"\e754"}.el-icon-table-lamp:before{content:"\e755"}.el-icon-school:before{content:"\e756"}.el-icon-office-building:before{content:"\e757"}.el-icon-toilet-paper:before{content:"\e758"}.el-icon-notebook-2:before{content:"\e759"}.el-icon-notebook-1:before{content:"\e75a"}.el-icon-files:before{content:"\e75b"}.el-icon-collection:before{content:"\e75c"}.el-icon-receiving:before{content:"\e75d"}.el-icon-suitcase-1:before{content:"\e760"}.el-icon-suitcase:before{content:"\e761"}.el-icon-film:before{content:"\e763"}.el-icon-collection-tag:before{content:"\e765"}.el-icon-data-analysis:before{content:"\e766"}.el-icon-pie-chart:before{content:"\e767"}.el-icon-data-board:before{content:"\e768"}.el-icon-data-line:before{content:"\e76d"}.el-icon-reading:before{content:"\e769"}.el-icon-magic-stick:before{content:"\e76a"}.el-icon-coordinate:before{content:"\e76b"}.el-icon-mouse:before{content:"\e76c"}.el-icon-brush:before{content:"\e76e"}.el-icon-headset:before{content:"\e76f"}.el-icon-umbrella:before{content:"\e770"}.el-icon-scissors:before{content:"\e771"}.el-icon-mobile:before{content:"\e773"}.el-icon-attract:before{content:"\e774"}.el-icon-monitor:before{content:"\e775"}.el-icon-search:before{content:"\e778"}.el-icon-takeaway-box:before{content:"\e77a"}.el-icon-paperclip:before{content:"\e77d"}.el-icon-printer:before{content:"\e77e"}.el-icon-document-add:before{content:"\e782"}.el-icon-document:before{content:"\e785"}.el-icon-document-checked:before{content:"\e786"}.el-icon-document-copy:before{content:"\e787"}.el-icon-document-delete:before{content:"\e788"}.el-icon-document-remove:before{content:"\e789"}.el-icon-tickets:before{content:"\e78b"}.el-icon-folder-checked:before{content:"\e77f"}.el-icon-folder-delete:before{content:"\e780"}.el-icon-folder-remove:before{content:"\e781"}.el-icon-folder-add:before{content:"\e783"}.el-icon-folder-opened:before{content:"\e784"}.el-icon-folder:before{content:"\e78a"}.el-icon-edit-outline:before{content:"\e764"}.el-icon-edit:before{content:"\e78c"}.el-icon-date:before{content:"\e78e"}.el-icon-c-scale-to-original:before{content:"\e7c6"}.el-icon-view:before{content:"\e6ce"}.el-icon-loading:before{content:"\e6cf"}.el-icon-rank:before{content:"\e6d1"}.el-icon-sort-down:before{content:"\e7c4"}.el-icon-sort-up:before{content:"\e7c5"}.el-icon-sort:before{content:"\e6d2"}.el-icon-finished:before{content:"\e6cd"}.el-icon-refresh-left:before{content:"\e6c7"}.el-icon-refresh-right:before{content:"\e6c8"}.el-icon-refresh:before{content:"\e6d0"}.el-icon-video-play:before{content:"\e7c0"}.el-icon-video-pause:before{content:"\e7c1"}.el-icon-d-arrow-right:before{content:"\e6dc"}.el-icon-d-arrow-left:before{content:"\e6dd"}.el-icon-arrow-up:before{content:"\e6e1"}.el-icon-arrow-down:before{content:"\e6df"}.el-icon-arrow-right:before{content:"\e6e0"}.el-icon-arrow-left:before{content:"\e6de"}.el-icon-top-right:before{content:"\e6e7"}.el-icon-top-left:before{content:"\e6e8"}.el-icon-top:before{content:"\e6e6"}.el-icon-bottom:before{content:"\e6eb"}.el-icon-right:before{content:"\e6e9"}.el-icon-back:before{content:"\e6ea"}.el-icon-bottom-right:before{content:"\e6ec"}.el-icon-bottom-left:before{content:"\e6ed"}.el-icon-caret-top:before{content:"\e78f"}.el-icon-caret-bottom:before{content:"\e790"}.el-icon-caret-right:before{content:"\e791"}.el-icon-caret-left:before{content:"\e792"}.el-icon-d-caret:before{content:"\e79a"}.el-icon-share:before{content:"\e793"}.el-icon-menu:before{content:"\e798"}.el-icon-s-grid:before{content:"\e7a6"}.el-icon-s-check:before{content:"\e7a7"}.el-icon-s-data:before{content:"\e7a8"}.el-icon-s-opportunity:before{content:"\e7aa"}.el-icon-s-custom:before{content:"\e7ab"}.el-icon-s-claim:before{content:"\e7ad"}.el-icon-s-finance:before{content:"\e7ae"}.el-icon-s-comment:before{content:"\e7af"}.el-icon-s-flag:before{content:"\e7b0"}.el-icon-s-marketing:before{content:"\e7b1"}.el-icon-s-shop:before{content:"\e7b4"}.el-icon-s-open:before{content:"\e7b5"}.el-icon-s-management:before{content:"\e7b6"}.el-icon-s-ticket:before{content:"\e7b7"}.el-icon-s-release:before{content:"\e7b8"}.el-icon-s-home:before{content:"\e7b9"}.el-icon-s-promotion:before{content:"\e7ba"}.el-icon-s-operation:before{content:"\e7bb"}.el-icon-s-unfold:before{content:"\e7bc"}.el-icon-s-fold:before{content:"\e7a9"}.el-icon-s-platform:before{content:"\e7bd"}.el-icon-s-order:before{content:"\e7be"}.el-icon-s-cooperation:before{content:"\e7bf"}.el-icon-bell:before{content:"\e725"}.el-icon-message-solid:before{content:"\e799"}.el-icon-video-camera:before{content:"\e772"}.el-icon-video-camera-solid:before{content:"\e796"}.el-icon-camera:before{content:"\e779"}.el-icon-camera-solid:before{content:"\e79b"}.el-icon-download:before{content:"\e77c"}.el-icon-upload2:before{content:"\e77b"}.el-icon-upload:before{content:"\e7c3"}.el-icon-picture-outline-round:before{content:"\e75f"}.el-icon-picture-outline:before{content:"\e75e"}.el-icon-picture:before{content:"\e79f"}.el-icon-close:before{content:"\e6db"}.el-icon-check:before{content:"\e6da"}.el-icon-plus:before{content:"\e6d9"}.el-icon-minus:before{content:"\e6d8"}.el-icon-help:before{content:"\e73d"}.el-icon-s-help:before{content:"\e7b3"}.el-icon-circle-close:before{content:"\e78d"}.el-icon-circle-check:before{content:"\e720"}.el-icon-circle-plus-outline:before{content:"\e723"}.el-icon-remove-outline:before{content:"\e722"}.el-icon-zoom-out:before{content:"\e776"}.el-icon-zoom-in:before{content:"\e777"}.el-icon-error:before{content:"\e79d"}.el-icon-success:before{content:"\e79c"}.el-icon-circle-plus:before{content:"\e7a0"}.el-icon-remove:before{content:"\e7a2"}.el-icon-info:before{content:"\e7a1"}.el-icon-question:before{content:"\e7a4"}.el-icon-warning-outline:before{content:"\e6c9"}.el-icon-warning:before{content:"\e7a3"}.el-icon-goods:before{content:"\e7c2"}.el-icon-s-goods:before{content:"\e7b2"}.el-icon-star-off:before{content:"\e717"}.el-icon-star-on:before{content:"\e797"}.el-icon-more-outline:before{content:"\e6cc"}.el-icon-more:before{content:"\e794"}.el-icon-phone-outline:before{content:"\e6cb"}.el-icon-phone:before{content:"\e795"}.el-icon-user:before{content:"\e6e3"}.el-icon-user-solid:before{content:"\e7a5"}.el-icon-setting:before{content:"\e6ca"}.el-icon-s-tools:before{content:"\e7ac"}.el-icon-delete:before{content:"\e6d7"}.el-icon-delete-solid:before{content:"\e7c9"}.el-icon-eleme:before{content:"\e7c7"}.el-icon-platform-eleme:before{content:"\e7ca"}.el-icon-loading{animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#252438;font-weight:700}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;vertical-align:top;box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-input__suffix{right:0;transform:scale(.8)}.el-pagination .el-select .el-input{width:100px;margin:0 5px}.el-pagination .el-select .el-input .el-input__inner{padding-right:25px;border-radius:3px}.el-pagination button{border:none;padding:0 6px;background:transparent}.el-pagination button:focus{outline:none}.el-pagination button:hover{color:#409eff}.el-pagination button:disabled{color:#c0c4cc;background-color:#fff;cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat;background-size:16px;background-color:#fff;cursor:pointer;margin:0;color:#252438}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700}.el-pagination .btn-prev{padding-right:12px}.el-pagination .btn-next{padding-left:12px}.el-pagination .el-pager li.disabled{color:#c0c4cc;cursor:not-allowed}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .arrow.disabled{visibility:hidden}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:24px}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:22px;line-height:22px}.el-pagination--small .el-pagination__editor,.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:22px}.el-pagination__sizes{margin:0 10px 0 0;font-weight:400;color:#606066}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;padding-left:8px}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#409eff}.el-pagination__total{margin-right:10px;font-weight:400;color:#606066}.el-pagination__jump{margin-left:24px;font-weight:400;color:#606066}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__rightwrapper{float:right}.el-pagination__editor{line-height:18px;padding:0 2px;height:28px;text-align:center;margin:0 2px;box-sizing:border-box;border-radius:3px}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:28px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 5px;background-color:#f4f4f5;color:#606066;min-width:30px;border-radius:2px}.el-pagination.is-background .btn-next.disabled,.el-pagination.is-background .btn-prev.disabled,.el-pagination.is-background .el-pager li.disabled{color:#c0c4cc}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev:disabled{color:#c0c4cc}.el-pagination.is-background .el-pager li:not(.disabled):hover{color:#409eff}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#409eff;color:#fff}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{margin:0 3px;min-width:22px}.el-pager{-webkit-user-select:none;-moz-user-select:none;user-select:none;list-style:none;display:inline-block;vertical-align:top;font-size:0;padding:0;margin:0}.el-pager .more:before{line-height:30px}.el-pager li{padding:0 4px;background:#fff;vertical-align:top;display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;cursor:pointer;box-sizing:border-box;text-align:center;margin:0}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#252438}.el-pager li.btn-quicknext.disabled,.el-pager li.btn-quickprev.disabled{color:#c0c4cc}.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pager li.active+li{border-left:0}.el-pager li:hover{color:#409eff}.el-pager li.active{color:#409eff;cursor:default}.el-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;width:50%}.el-dialog.is-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog__header{padding:20px;padding-bottom:10px}.el-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.el-dialog__headerbtn .el-dialog__close{color:#909399}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:#409eff}.el-dialog__title{line-height:24px;font-size:18px;color:#252438}.el-dialog__body{padding:30px 20px;color:#606066;font-size:14px;word-break:break-all}.el-dialog__footer{padding:20px;padding-top:10px;text-align:right;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px 25px 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.dialog-fade-enter-active{animation:dialog-fade-in .3s}.dialog-fade-leave-active{animation:dialog-fade-out .3s}@keyframes dialog-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes dialog-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete-suggestion{margin:5px 0;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px;border:1px solid #e4e7ed;box-sizing:border-box;background-color:#fff}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:#606066;font-size:14px;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:#f5f7fa}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #000}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:#fff}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-dropdown{display:inline-block;position:relative;color:#606066;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{padding-left:5px;padding-right:5px;position:relative;border-left:none}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:hsla(0,0%,100%,.5)}.el-dropdown .el-dropdown__caret-button.el-button--default:before{background:rgba(220,221,230,.5)}.el-dropdown .el-dropdown__caret-button:hover:not(.is-disabled):before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown .el-dropdown-selfdefine:focus:active,.el-dropdown .el-dropdown-selfdefine:focus:not(.focusing){outline-width:0}.el-dropdown [disabled]{cursor:not-allowed;color:#bbb}.el-dropdown-menu{position:absolute;top:0;left:0;z-index:10;padding:10px 0;margin:5px 0;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-dropdown-menu__item{list-style:none;line-height:36px;padding:0 20px;margin:0;font-size:14px;color:#606066;cursor:pointer;outline:none}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#ecf5ff;color:#66b1ff}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #ebeef5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -20px;background-color:#fff}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bbb;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{line-height:30px;padding:0 17px;font-size:14px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:6px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:6px;margin:0 -17px}.el-dropdown-menu--small{padding:6px 0}.el-dropdown-menu--small .el-dropdown-menu__item{line-height:27px;padding:0 15px;font-size:13px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:4px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:4px;margin:0 -15px}.el-dropdown-menu--mini{padding:3px 0}.el-dropdown-menu--mini .el-dropdown-menu__item{line-height:24px;padding:0 10px;font-size:12px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:3px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:3px;margin:0 -10px}.el-menu{border-right:1px solid #e6e6e6;list-style:none;position:relative;margin:0;padding-left:0;background-color:#fff}.el-menu:after,.el-menu:before{display:table;content:""}.el-menu:after{clear:both}.el-menu.el-menu--horizontal{border-bottom:1px solid #e6e6e6}.el-menu--horizontal{border-right:none}.el-menu--horizontal>.el-menu-item{float:left;height:60px;line-height:60px;margin:0;border-bottom:2px solid transparent;color:#909199}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover{background-color:#fff}.el-menu--horizontal>.el-submenu{float:left}.el-menu--horizontal>.el-submenu:focus,.el-menu--horizontal>.el-submenu:hover{outline:none}.el-menu--horizontal>.el-submenu:focus .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{color:#252438}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:2px solid #409eff;color:#252438}.el-menu--horizontal>.el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:2px solid transparent;color:#909199}.el-menu--horizontal>.el-submenu .el-submenu__title:hover{background-color:#fff}.el-menu--horizontal>.el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-submenu__title{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px;color:#909199}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-submenu.is-active>.el-submenu__title{color:#252438}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:none;color:#252438}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #409eff;color:#252438}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon-],.el-menu--collapse>.el-submenu>.el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item .el-submenu__icon-arrow,.el-menu--collapse>.el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item span,.el-menu--collapse>.el-submenu>.el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-submenu{min-width:200px}.el-menu--collapse .el-submenu{position:relative}.el-menu--collapse .el-submenu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;z-index:10;border:1px solid #e4e7ed;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--collapse .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:none}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:2px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--popup-bottom-start{margin-top:5px}.el-menu--popup-right-start{margin-left:5px;margin-right:5px}.el-menu-item{height:56px;line-height:56px;font-size:14px;color:#252438;padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-menu-item *{vertical-align:middle}.el-menu-item i{color:#909199}.el-menu-item:focus,.el-menu-item:hover{outline:none;background-color:#ecf5ff}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-menu-item [class^=el-icon-]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:#409eff}.el-menu-item.is-active i{color:inherit}.el-submenu{list-style:none;margin:0;padding-left:0}.el-submenu__title{height:56px;line-height:56px;font-size:14px;color:#252438;padding:0 20px;list-style:none;cursor:pointer;position:relative;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box;white-space:nowrap}.el-submenu__title *{vertical-align:middle}.el-submenu__title i{color:#909199}.el-submenu__title:focus,.el-submenu__title:hover{outline:none;background-color:#ecf5ff}.el-submenu__title.is-disabled{opacity:.25;cursor:not-allowed;background:none!important}.el-submenu__title:hover{background-color:#ecf5ff}.el-submenu .el-menu{border:none}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;transition:transform .3s;font-size:12px}.el-submenu.is-active .el-submenu__title{border-bottom-color:#409eff}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{transform:rotate(180deg)}.el-submenu.is-disabled .el-menu-item,.el-submenu.is-disabled .el-submenu__title{opacity:.25;cursor:not-allowed;background:none!important}.el-submenu [class^=el-icon-]{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:#909199}.horizontal-collapse-transition .el-submenu__title .el-submenu__icon-arrow{transition:.2s;opacity:0}.el-radio-group{display:inline-block;line-height:1;vertical-align:middle;font-size:0}.el-radio-button,.el-radio-button__inner{position:relative;display:inline-block;outline:none}.el-radio-button__inner{line-height:1;white-space:nowrap;vertical-align:middle;background:#fff;border:1px solid #dcdde6;font-weight:500;border-left:0;color:#606066;-webkit-appearance:none;text-align:center;box-sizing:border-box;margin:0;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-radio-button__inner.is-round{padding:12px 20px}.el-radio-button__inner:hover{color:#409eff}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #dcdde6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-radio-button__orig-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;box-shadow:-1px 0 0 0 #409eff}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-radio-button__orig-radio:disabled:checked+.el-radio-button__inner{background-color:#f2f6fc}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:4px}.el-radio-button--medium .el-radio-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-radio-button--medium .el-radio-button__inner.is-round{padding:10px 20px}.el-radio-button--small .el-radio-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:9px 15px}.el-radio-button--mini .el-radio-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner.is-round{padding:7px 15px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){box-shadow:0 0 2px 2px #409eff}.el-switch{display:inline-flex;align-items:center;position:relative;font-size:14px;line-height:20px;height:20px;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{transition:.2s;height:20px;display:inline-block;font-size:14px;font-weight:500;cursor:pointer;vertical-align:middle;color:#252438}.el-switch__label.is-active{color:#409eff}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;display:inline-block;position:relative;width:40px;height:20px;border:1px solid #dcdde6;outline:none;border-radius:10px;box-sizing:border-box;background:#dcdde6;cursor:pointer;transition:border-color .3s,background-color .3s;vertical-align:middle}.el-switch__core:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;transition:all .3s;width:16px;height:16px;background-color:#fff}.el-switch.is-checked .el-switch__core{border-color:#409eff;background-color:#409eff}.el-switch.is-checked .el-switch__core:after{left:100%;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:5px 0}.el-select-dropdown.is-multiple .el-select-dropdown__item{padding-right:40px}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#409eff;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#f5f7fa}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:20px;font-family:element-icons;content:"\e6da";font-size:12px;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606066;height:34px;line-height:34px;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:#f5f7fa}.el-select-dropdown__item.selected{color:#409eff;font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:#e4e7ed}.el-select-group__title{padding-left:20px;font-size:12px;color:#909399;line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{display:inline-block;position:relative}.el-select .el-select__tags>span{display:contents}.el-select:hover .el-input__inner{border-color:#c0c4cc}.el-select .el-input__inner{cursor:pointer;padding-right:35px}.el-select .el-input__inner:focus{border-color:#409eff}.el-select .el-input .el-select__caret{color:#c0c4cc;font-size:14px;transition:transform .3s;transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{transform:rotate(0deg)}.el-select .el-input .el-select__caret.is-show-close{font-size:14px;text-align:center;transform:rotate(180deg);border-radius:100%;color:#c0c4cc;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-select .el-input .el-select__caret.is-show-close:hover{color:#909199}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#e4e7ed}.el-select .el-input.is-focus .el-input__inner{border-color:#409eff}.el-select>.el-input{display:block}.el-select__input{border:none;outline:none;padding:0;margin-left:15px;color:#666;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#c0c4cc;line-height:18px;font-size:14px}.el-select__close:hover{color:#909199}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1;top:50%;transform:translateY(-50%);display:flex;align-items:center;flex-wrap:wrap}.el-select__tags-text{overflow:hidden;text-overflow:ellipsis}.el-select .el-tag{box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:#f0f2f5;display:flex;max-width:100%;align-items:center}.el-select .el-tag__close.el-icon-close{background-color:#c0c4cc;top:0;color:#fff;flex-shrink:0}.el-select .el-tag__close.el-icon-close:hover{background-color:#909199}.el-select .el-tag__close.el-icon-close:before{display:block;transform:translateY(.5px)}.el-table{position:relative;overflow:hidden;box-sizing:border-box;flex:1;width:100%;max-width:100%;background-color:#fff;font-size:14px;color:#606066}.el-table__empty-block{min-height:60px;text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:#909199}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;font-size:12px;transition:transform .2s ease-in-out;height:20px}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expanded-cell{background-color:#fff}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--scrollable-x .el-table__body-wrapper{overflow-x:auto}.el-table--scrollable-y .el-table__body-wrapper{overflow-y:auto}.el-table thead{color:#909199;font-weight:500}.el-table thead.is-group th.el-table__cell{background:#f5f7fa}.el-table .el-table__cell{padding:12px 0;min-width:0;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table--medium .el-table__cell{padding:10px 0}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:8px 0}.el-table--mini{font-size:12px}.el-table--mini .el-table__cell{padding:6px 0}.el-table tr{background-color:#fff}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:1px solid #ebeef5}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;user-select:none;background-color:#fff}.el-table th.el-table__cell>.cell{display:inline-block;box-sizing:border-box;position:relative;vertical-align:middle;padding-left:10px;padding-right:10px;width:100%}.el-table th.el-table__cell>.cell.highlight{color:#409eff}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding-left:10px;padding-right:10px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--border,.el-table--group{border:1px solid #ebeef5}.el-table--border:after,.el-table--group:after,.el-table:before{content:"";position:absolute;background-color:#ebeef5;z-index:1}.el-table--border:after,.el-table--group:after{top:0;right:0;width:1px;height:100%}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table--border{border-right:none;border-bottom:none}.el-table--border.el-loading-parent--relative{border-color:transparent}.el-table--border .el-table__cell{border-right:1px solid #ebeef5}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:1px solid #ebeef5;border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:1px solid #ebeef5}.el-table--hidden{visibility:hidden}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;overflow-x:hidden;overflow-y:hidden;box-shadow:0 0 10px rgba(0,0,0,.12)}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#ebeef5;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#fff;border-bottom:1px solid #ebeef5}.el-table__fixed-right{top:0;left:auto;right:0}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-footer-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-footer-wrapper{position:absolute;left:0;bottom:0;z-index:3}.el-table__fixed-footer-wrapper tbody td.el-table__cell{border-top:1px solid #ebeef5;background-color:#f5f7fa;color:#606066}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__footer-wrapper{margin-top:-1px}.el-table__footer-wrapper td.el-table__cell{border-top:1px solid #ebeef5}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:#f5f7fa;color:#606066}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper.is-scrolling-left~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right,.el-table__body-wrapper.is-scrolling-right~.el-table__fixed-right{box-shadow:none}.el-table__body-wrapper .el-table--border.is-scrolling-right~.el-table__fixed-right{border-left:1px solid #ebeef5}.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #ebeef5}.el-table .caret-wrapper{display:inline-flex;flex-direction:column;align-items:center;height:34px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:#c0c4cc;top:5px}.el-table .sort-caret.descending{border-top-color:#c0c4cc;bottom:7px}.el-table .ascending .sort-caret.ascending{border-bottom-color:#409eff}.el-table .descending .sort-caret.descending{border-top-color:#409eff}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:#fafafa}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:#ecf5ff}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:#f5f7fa}.el-table__body tr.current-row>td.el-table__cell{background-color:#ecf5ff}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #ebeef5;z-index:10}.el-table__column-filter-trigger{display:inline-block;line-height:34px;cursor:pointer}.el-table__column-filter-trigger i{color:#909399;font-size:12px;transform:scale(.75)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:#f5f7fa}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:20px;line-height:20px;height:20px;text-align:center;margin-right:3px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #ebeef5;border-radius:2px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:2px 0}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#ecf5ff;color:#66b1ff}.el-table-filter__list-item.is-active{background-color:#409eff;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #ebeef5;padding:8px}.el-table-filter__bottom button{background:transparent;border:none;color:#606066;cursor:pointer;font-size:13px;padding:0 3px}.el-table-filter__bottom button:hover{color:#409eff}.el-table-filter__bottom button:focus{outline:none}.el-table-filter__bottom button.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:block;margin-right:5px;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover div{background-color:#f2f6fc}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:#606066}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table.is-week-mode .el-date-table__row.current div{background-color:#f2f6fc}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td div{height:30px;padding:3px 0;box-sizing:border-box}.el-date-table td span{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;transform:translateX(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:#c0c4cc}.el-date-table td.today{position:relative}.el-date-table td.today span{color:#409eff;font-weight:700}.el-date-table td.today.end-date span,.el-date-table td.today.start-date span{color:#fff}.el-date-table td.available:hover{color:#409eff}.el-date-table td.in-range div,.el-date-table td.in-range div:hover{background-color:#f2f6fc}.el-date-table td.current:not(.disabled) span{color:#fff;background-color:#409eff}.el-date-table td.end-date div,.el-date-table td.start-date div{color:#fff}.el-date-table td.end-date span,.el-date-table td.start-date span{background-color:#409eff}.el-date-table td.start-date div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled div{background-color:#f5f7fa;opacity:1;cursor:not-allowed;color:#c0c4cc}.el-date-table td.selected div{margin-left:5px;margin-right:5px;background-color:#f2f6fc;border-radius:15px}.el-date-table td.selected div:hover{background-color:#f2f6fc}.el-date-table td.selected span{background-color:#409eff;color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:#606066}.el-date-table th{padding:5px;color:#606066;font-weight:400;border-bottom:1px solid #ebeef5}.el-month-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;box-sizing:border-box}.el-month-table td.today .cell{color:#409eff;font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-month-table td.disabled .cell:hover{color:#c0c4cc}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:#606066;margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:#409eff}.el-month-table td.in-range div,.el-month-table td.in-range div:hover{background-color:#f2f6fc}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:#409eff}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:#409eff}.el-year-table{font-size:12px;margin:-1px;border-collapse:collapse}.el-year-table .el-icon{color:#252438}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:#409eff;font-weight:700}.el-year-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-year-table td.disabled .cell:hover{color:#c0c4cc}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:#606066;margin:0 auto}.el-year-table td .cell:hover,.el-year-table td.current:not(.disabled) .cell{color:#409eff}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#252438}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px 5px;display:table;width:100%;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #ebeef5}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:#606066}.el-date-picker__header-label.active,.el-date-picker__header-label:hover{color:#409eff}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.selected:not(.disabled){color:#409eff;font-weight:700}.time-select-item.disabled{color:#e4e7ed;cursor:not-allowed}.time-select-item:hover{background-color:#f5f7fa;font-weight:700;cursor:pointer}.el-date-editor{position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:220px}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:300px}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:350px}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:400px}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .el-icon-circle-close{cursor:pointer}.el-date-editor .el-range__icon{font-size:14px;margin-left:-5px;color:#c0c4cc;float:left;line-height:32px}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:none;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:14px;color:#606066}.el-date-editor .el-range-input::-moz-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::placeholder{color:#c0c4cc}.el-date-editor .el-range-separator{display:inline-block;height:100%;padding:0 5px;margin:0;text-align:center;line-height:32px;font-size:14px;width:5%;color:#252438}.el-date-editor .el-range__close-icon{font-size:14px;color:#c0c4cc;width:25px;display:inline-block;float:right;line-height:32px}.el-range-editor.el-input__inner{display:inline-flex;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor.is-active,.el-range-editor.is-active:hover{border-color:#409eff}.el-range-editor--medium.el-input__inner{height:36px}.el-range-editor--medium .el-range-separator{line-height:28px;font-size:14px}.el-range-editor--medium .el-range-input{font-size:14px}.el-range-editor--medium .el-range__close-icon,.el-range-editor--medium .el-range__icon{line-height:28px}.el-range-editor--small.el-input__inner{height:32px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:13px}.el-range-editor--small .el-range-input{font-size:13px}.el-range-editor--small .el-range__close-icon,.el-range-editor--small .el-range__icon{line-height:24px}.el-range-editor--mini.el-input__inner{height:28px}.el-range-editor--mini .el-range-separator{line-height:20px;font-size:12px}.el-range-editor--mini .el-range-input{font-size:12px}.el-range-editor--mini .el-range__close-icon,.el-range-editor--mini .el-range__icon{line-height:20px}.el-range-editor.is-disabled{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:#e4e7ed}.el-range-editor.is-disabled input{background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::placeholder{color:#c0c4cc}.el-range-editor.is-disabled .el-range-separator{color:#c0c4cc}.el-picker-panel{color:#606066;border:1px solid #e4e7ed;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);background:#fff;border-radius:4px;line-height:30px;margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#606066;padding-left:12px;text-align:left;outline:none;cursor:pointer}.el-picker-panel__shortcut:hover{color:#409eff}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#409eff}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:none;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#252438;border:0;background:transparent;cursor:pointer;outline:none;margin-top:8px}.el-picker-panel__icon-btn:hover{color:#409eff}.el-picker-panel__icon-btn.is-disabled{color:#bbb}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;box-sizing:border-box;padding-top:6px;background-color:#fff;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.disabled):not(.active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:#909199;position:absolute;left:0;width:100%;z-index:1;text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:#409eff}.el-time-spinner__arrow.el-icon-arrow-up{top:10px}.el-time-spinner__arrow.el-icon-arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{margin:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:#606066}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#f5f7fa;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#252438;font-weight:700}.el-time-spinner__item.disabled{color:#c0c4cc;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #e4e7ed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-15px;height:32px;z-index:-1;left:0;right:0;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:none;font-size:12px;color:#252438}.el-time-panel__btn.confirm{font-weight:800;color:#409eff}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid #e4e7ed}.el-popover{position:absolute;background:#fff;min-width:150px;border-radius:4px;border:1px solid #ebeef5;padding:12px;z-index:2000;color:#606066;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);word-break:break-all}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#252438;font-size:16px;line-height:1;margin-bottom:12px}.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.v-modal-enter{animation:v-modal-in .2s ease}.v-modal-leave{animation:v-modal-out .2s ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-popup-parent--hidden{overflow:hidden}.el-message-box{display:inline-block;width:420px;padding-bottom:10px;vertical-align:middle;background-color:#fff;border-radius:4px;border:1px solid #ebeef5;font-size:18px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);text-align:left;overflow:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:15px;padding-bottom:10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:18px;line-height:1;color:#252438}.el-message-box__headerbtn{position:absolute;top:15px;right:15px;padding:0;border:none;outline:none;background:transparent;font-size:16px;cursor:pointer}.el-message-box__headerbtn .el-message-box__close{color:#909399}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:#409eff}.el-message-box__content{padding:10px 15px;color:#606066;font-size:14px}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#f56c6c}.el-message-box__status{position:absolute;top:50%;transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px}.el-message-box__status.el-icon-success{color:#67c23a}.el-message-box__status.el-icon-info{color:#909399}.el-message-box__status.el-icon-warning{color:#e6a23c}.el-message-box__status.el-icon-error{color:#f56c6c}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:#f56c6c;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{flex-direction:row-reverse}.el-message-box--center{padding-bottom:30px}.el-message-box--center .el-message-box__header{padding-top:30px}.el-message-box--center .el-message-box__title{position:relative;display:flex;align-items:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__content{text-align:center}.el-message-box--center .el-message-box__content{padding-left:27px;padding-right:27px}.msgbox-fade-enter-active{animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{animation:msgbox-fade-out .3s}@keyframes msgbox-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:#c0c4cc}.el-breadcrumb__separator[class*=icon]{margin:0 6px;font-weight:400}.el-breadcrumb__item{float:left}.el-breadcrumb__inner{color:#606066}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{font-weight:700;text-decoration:none;transition:color .2s cubic-bezier(.645,.045,.355,1);color:#252438}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:#409eff;cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{font-weight:400;color:#606066;cursor:text}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px 0}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item:after,.el-form-item:before{display:table;content:""}.el-form-item:after{clear:both}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--medium .el-form-item__content,.el-form-item--medium .el-form-item__label{line-height:36px}.el-form-item--small .el-form-item__content,.el-form-item--small .el-form-item__label{line-height:32px}.el-form-item--small.el-form-item{margin-bottom:18px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--mini .el-form-item__content,.el-form-item--mini .el-form-item__label{line-height:28px}.el-form-item--mini.el-form-item{margin-bottom:18px}.el-form-item--mini .el-form-item__error{padding-top:1px}.el-form-item__label-wrap{float:left}.el-form-item__label-wrap .el-form-item__label{display:inline-block;float:none}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#606066;line-height:40px;padding:0 12px 0 0;box-sizing:border-box}.el-form-item__content{line-height:40px;position:relative;font-size:14px}.el-form-item__content:after,.el-form-item__content:before{display:table;content:""}.el-form-item__content:after{clear:both}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:#f56c6c;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus{border-color:#f56c6c}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__validateIcon{color:#f56c6c}.el-form-item--feedback .el-input__validateIcon{display:inline-block}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:#409eff;z-index:1;transition:transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;transition:all .15s}.el-tabs__new-tab .el-icon-plus{transform:scale(.8)}.el-tabs__new-tab:hover{color:#409eff}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:#e4e7ed;z-index:1}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#909199}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;transition:transform .3s;float:left;z-index:2}.el-tabs__nav.is-stretch{min-width:100%;display:flex}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:#252438;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus.is-active.is-focus:not(:active){box-shadow:inset 0 0 2px 2px #409eff;border-radius:3px}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{transform:scale(.9);display:inline-block}.el-tabs__item .el-icon-close:hover{background-color:#c0c4cc;color:#fff}.el-tabs__item.is-active{color:#409eff}.el-tabs__item:hover{color:#409eff;cursor:pointer}.el-tabs__item.is-disabled{color:#c0c4cc;cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid #e4e7ed}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid #e4e7ed;border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid #e4e7ed;transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close{width:14px}.el-tabs--border-card{background:#fff;border:1px solid #dcdde6;box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#f5f7fa;border-bottom:1px solid #e4e7ed;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;margin-top:-1px;color:#909199}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:#409eff;background-color:#fff;border-right-color:#dcdde6;border-left-color:#dcdde6}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:#409eff}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:#c0c4cc}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid #dcdde6}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid #e4e7ed;border-bottom:none;border-top:1px solid #e4e7ed;text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid #e4e7ed;border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid #e4e7ed;border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid #e4e7ed;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid #dfe4ed}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid #e4e7ed}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid #e4e7ed;border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid #e4e7ed;border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid #e4e7ed;border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid #dfe4ed}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:transparent;border-top-color:#d1dbe5;border-bottom-color:#d1dbe5}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;animation:slideInRight-leave .3s}.slideInLeft-enter{animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;animation:slideInLeft-leave .3s}@keyframes slideInRight-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInRight-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(100%);opacity:0}}@keyframes slideInLeft-enter{0%{opacity:0;transform-origin:0 0;transform:translateX(-100%)}to{opacity:1;transform-origin:0 0;transform:translateX(0)}}@keyframes slideInLeft-leave{0%{transform-origin:0 0;transform:translateX(0);opacity:1}to{transform-origin:0 0;transform:translateX(-100%);opacity:0}}.el-tree{position:relative;cursor:default;background:#fff;color:#606066}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);color:#909199;font-size:14px}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:#409eff}.el-tree-node{white-space:nowrap;outline:none}.el-tree-node:focus>.el-tree-node__content{background-color:#f5f7fa}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:#409eff;color:#fff}.el-tree-node__content{display:flex;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:#f5f7fa}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:#c0c4cc;font-size:12px;transform:rotate(0deg);transition:transform .3s ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:8px;font-size:14px;color:#c0c4cc}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#f0f7ff}.el-alert{width:100%;padding:8px 16px;margin:0;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;opacity:1;display:flex;align-items:center;transition:opacity .2s}.el-alert.is-light .el-alert__closebtn{color:#c0c4cc}.el-alert.is-dark .el-alert__closebtn,.el-alert.is-dark .el-alert__description{color:#fff}.el-alert.is-center{justify-content:center}.el-alert--success.is-light{background-color:#f0f9eb;color:#67c23a}.el-alert--success.is-light .el-alert__description{color:#67c23a}.el-alert--success.is-dark{background-color:#67c23a;color:#fff}.el-alert--info.is-light{background-color:#f4f4f5;color:#909399}.el-alert--info.is-dark{background-color:#909399;color:#fff}.el-alert--info .el-alert__description{color:#909399}.el-alert--warning.is-light{background-color:#fdf6ec;color:#e6a23c}.el-alert--warning.is-light .el-alert__description{color:#e6a23c}.el-alert--warning.is-dark{background-color:#e6a23c;color:#fff}.el-alert--error.is-light{background-color:#fef0f0;color:#f56c6c}.el-alert--error.is-light .el-alert__description{color:#f56c6c}.el-alert--error.is-dark{background-color:#f56c6c;color:#fff}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:12px;margin:5px 0 0 0}.el-alert__closebtn{font-size:12px;opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-alert-fade-enter,.el-alert-fade-leave-active{opacity:0}.el-notification{display:flex;width:330px;padding:14px 26px 14px 13px;border-radius:8px;box-sizing:border-box;border:1px solid #ebeef5;position:fixed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;overflow:hidden}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{font-weight:700;font-size:16px;color:#252438;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:6px 0 0 0;color:#606066;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{height:24px;width:24px;font-size:24px}.el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:#909199;font-size:16px}.el-notification__closeBtn:hover{color:#606066}.el-notification .el-icon-success{color:#67c23a}.el-notification .el-icon-error{color:#f56c6c}.el-notification .el-icon-info{color:#909399}.el-notification .el-icon-warning{color:#e6a23c}.el-notification-fade-enter.right{right:0;transform:translateX(100%)}.el-notification-fade-enter.left{left:0;transform:translateX(-100%)}.el-notification-fade-leave-active{opacity:0}.el-input-number{position:relative;display:inline-block;width:180px;line-height:38px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;padding-left:50px;padding-right:50px;text-align:center}.el-input-number__decrease,.el-input-number__increase{position:absolute;z-index:1;top:1px;width:40px;height:auto;text-align:center;background:#f5f7fa;color:#606066;cursor:pointer;font-size:13px}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#409eff}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#409eff}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 4px 4px 0;border-left:1px solid #dcdde6}.el-input-number__decrease{left:1px;border-radius:4px 0 0 4px;border-right:1px solid #dcdde6}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#e4e7ed;color:#e4e7ed}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#e4e7ed;cursor:not-allowed}.el-input-number--medium{width:200px;line-height:34px}.el-input-number--medium .el-input-number__decrease,.el-input-number--medium .el-input-number__increase{width:36px;font-size:14px}.el-input-number--medium .el-input__inner{padding-left:43px;padding-right:43px}.el-input-number--small{width:130px;line-height:30px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:32px;font-size:13px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number--small .el-input__inner{padding-left:39px;padding-right:39px}.el-input-number--mini{width:130px;line-height:26px}.el-input-number--mini .el-input-number__decrease,.el-input-number--mini .el-input-number__increase{width:28px;font-size:12px}.el-input-number--mini .el-input-number__decrease [class*=el-icon],.el-input-number--mini .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number--mini .el-input__inner{padding-left:35px;padding-right:35px}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:50px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{height:auto;line-height:19px}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 4px 0 0;border-bottom:1px solid #dcdde6}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;bottom:1px;top:auto;left:auto;border-right:none;border-left:1px solid #dcdde6;border-radius:0 0 4px 0}.el-input-number.is-controls-right[class*=medium] [class*=decrease],.el-input-number.is-controls-right[class*=medium] [class*=increase]{line-height:17px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{line-height:15px}.el-input-number.is-controls-right[class*=mini] [class*=decrease],.el-input-number.is-controls-right[class*=mini] [class*=increase]{line-height:13px}.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing){outline-width:0}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2;min-width:10px;word-wrap:break-word}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#252438;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#252438;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#252438}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#252438}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#252438;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#252438;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#252438}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#252438}.el-tooltip__popper.is-dark{background:#252438;color:#fff}.el-tooltip__popper.is-light{background:#fff;border:1px solid #252438}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#252438}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#252438}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#252438}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#252438}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-slider:after,.el-slider:before{display:table;content:""}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:6px;margin:16px 0;background-color:#e4e7ed;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar{background-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button{border-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{float:right;margin-top:3px;width:130px}.el-slider__input.el-input-number--mini{margin-top:5px}.el-slider__input.el-input-number--medium{margin-top:0}.el-slider__input.el-input-number--large{margin-top:-2px}.el-slider__bar{height:6px;background-color:#409eff;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{height:36px;width:36px;position:absolute;z-index:1001;top:-15px;transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;line-height:normal}.el-slider__button-wrapper:after{content:"";height:100%}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{display:inline-block;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{width:16px;height:16px;border:2px solid #409eff;background-color:#fff;border-radius:50%;transition:.2s;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{position:absolute;height:6px;width:6px;border-radius:100%;background-color:#fff;transform:translateX(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;transform:translateX(-50%);font-size:14px;color:#909399;margin-top:15px}.el-slider.is-vertical{position:relative}.el-slider.is-vertical .el-slider__runway{width:6px;height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:6px;height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:-15px;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical.el-slider--with-input{padding-bottom:58px}.el-slider.is-vertical.el-slider--with-input .el-slider__input{overflow:visible;float:none;position:absolute;bottom:22px;width:36px;margin-top:15px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input__inner{text-align:center;padding-left:5px;padding-right:5px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{top:32px;margin-top:-1px;border:1px solid #dcdde6;line-height:20px;box-sizing:border-box;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease{width:18px;right:18px;border-bottom-left-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{width:19px;border-bottom-right-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase~.el-input .el-input__inner{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__increase{border-color:#c0c4cc}.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__increase{border-color:#409eff}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;transform:translateY(50%)}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-loading-spinner .el-loading-text{color:#409eff;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409eff;stroke-linecap:round}.el-loading-spinner i{color:#409eff}.el-loading-fade-enter,.el-loading-fade-leave-active{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{position:relative;box-sizing:border-box}.el-row:after,.el-row:before{display:table;content:""}.el-row:after{clear:both}.el-row--flex{display:flex}.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-justify-center{justify-content:center}.el-row--flex.is-justify-end{justify-content:flex-end}.el-row--flex.is-justify-space-between{justify-content:space-between}.el-row--flex.is-justify-space-around{justify-content:space-around}.el-row--flex.is-align-top{align-items:flex-start}.el-row--flex.is-align-middle{align-items:center}.el-row--flex.is-align-bottom{align-items:flex-end}[class*=el-col-]{float:left;box-sizing:border-box}.el-col-0{display:none;width:0}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{position:relative;left:0}.el-col-1{width:4.1666666667%}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{position:relative;left:4.1666666667%}.el-col-2{width:8.3333333333%}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{position:relative;left:8.3333333333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{position:relative;left:12.5%}.el-col-4{width:16.6666666667%}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{position:relative;left:16.6666666667%}.el-col-5{width:20.8333333333%}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{position:relative;left:20.8333333333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{position:relative;left:25%}.el-col-7{width:29.1666666667%}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{position:relative;left:29.1666666667%}.el-col-8{width:33.3333333333%}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{position:relative;left:33.3333333333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{position:relative;left:37.5%}.el-col-10{width:41.6666666667%}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{position:relative;left:41.6666666667%}.el-col-11{width:45.8333333333%}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{position:relative;left:45.8333333333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{position:relative;left:50%}.el-col-13{width:54.1666666667%}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{position:relative;left:54.1666666667%}.el-col-14{width:58.3333333333%}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{position:relative;left:58.3333333333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{position:relative;left:62.5%}.el-col-16{width:66.6666666667%}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{position:relative;left:66.6666666667%}.el-col-17{width:70.8333333333%}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{position:relative;left:70.8333333333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{position:relative;left:75%}.el-col-19{width:79.1666666667%}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{position:relative;left:79.1666666667%}.el-col-20{width:83.3333333333%}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{position:relative;left:83.3333333333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{position:relative;left:87.5%}.el-col-22{width:91.6666666667%}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{position:relative;left:91.6666666667%}.el-col-23{width:95.8333333333%}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{position:relative;left:95.8333333333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{position:relative;left:100%}@media only screen and (max-width:767px){.el-col-xs-0{display:none;width:0}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{width:4.1666666667%}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{position:relative;left:4.1666666667%}.el-col-xs-2{width:8.3333333333%}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{position:relative;left:8.3333333333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.6666666667%}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{position:relative;left:16.6666666667%}.el-col-xs-5{width:20.8333333333%}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{position:relative;left:20.8333333333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.1666666667%}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{position:relative;left:29.1666666667%}.el-col-xs-8{width:33.3333333333%}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{position:relative;left:33.3333333333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.6666666667%}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{position:relative;left:41.6666666667%}.el-col-xs-11{width:45.8333333333%}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{position:relative;left:45.8333333333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.1666666667%}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{position:relative;left:54.1666666667%}.el-col-xs-14{width:58.3333333333%}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{position:relative;left:58.3333333333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.6666666667%}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{position:relative;left:66.6666666667%}.el-col-xs-17{width:70.8333333333%}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{position:relative;left:70.8333333333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.1666666667%}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{position:relative;left:79.1666666667%}.el-col-xs-20{width:83.3333333333%}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{position:relative;left:83.3333333333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.6666666667%}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{position:relative;left:91.6666666667%}.el-col-xs-23{width:95.8333333333%}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{position:relative;left:95.8333333333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;width:0}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{width:4.1666666667%}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{position:relative;left:4.1666666667%}.el-col-sm-2{width:8.3333333333%}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{position:relative;left:8.3333333333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.6666666667%}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{position:relative;left:16.6666666667%}.el-col-sm-5{width:20.8333333333%}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{position:relative;left:20.8333333333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.1666666667%}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{position:relative;left:29.1666666667%}.el-col-sm-8{width:33.3333333333%}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{position:relative;left:33.3333333333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.6666666667%}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{position:relative;left:41.6666666667%}.el-col-sm-11{width:45.8333333333%}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{position:relative;left:45.8333333333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.1666666667%}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{position:relative;left:54.1666666667%}.el-col-sm-14{width:58.3333333333%}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{position:relative;left:58.3333333333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.6666666667%}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{position:relative;left:66.6666666667%}.el-col-sm-17{width:70.8333333333%}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{position:relative;left:70.8333333333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.1666666667%}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{position:relative;left:79.1666666667%}.el-col-sm-20{width:83.3333333333%}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{position:relative;left:83.3333333333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.6666666667%}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{position:relative;left:91.6666666667%}.el-col-sm-23{width:95.8333333333%}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{position:relative;left:95.8333333333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{display:none;width:0}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{width:4.1666666667%}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{position:relative;left:4.1666666667%}.el-col-md-2{width:8.3333333333%}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{position:relative;left:8.3333333333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.6666666667%}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{position:relative;left:16.6666666667%}.el-col-md-5{width:20.8333333333%}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{position:relative;left:20.8333333333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.1666666667%}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{position:relative;left:29.1666666667%}.el-col-md-8{width:33.3333333333%}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{position:relative;left:33.3333333333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.6666666667%}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{position:relative;left:41.6666666667%}.el-col-md-11{width:45.8333333333%}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{position:relative;left:45.8333333333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.1666666667%}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{position:relative;left:54.1666666667%}.el-col-md-14{width:58.3333333333%}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{position:relative;left:58.3333333333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.6666666667%}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{position:relative;left:66.6666666667%}.el-col-md-17{width:70.8333333333%}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{position:relative;left:70.8333333333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.1666666667%}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{position:relative;left:79.1666666667%}.el-col-md-20{width:83.3333333333%}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{position:relative;left:83.3333333333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.6666666667%}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{position:relative;left:91.6666666667%}.el-col-md-23{width:95.8333333333%}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{position:relative;left:95.8333333333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;width:0}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{width:4.1666666667%}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{position:relative;left:4.1666666667%}.el-col-lg-2{width:8.3333333333%}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{position:relative;left:8.3333333333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.6666666667%}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{position:relative;left:16.6666666667%}.el-col-lg-5{width:20.8333333333%}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{position:relative;left:20.8333333333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.1666666667%}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{position:relative;left:29.1666666667%}.el-col-lg-8{width:33.3333333333%}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{position:relative;left:33.3333333333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.6666666667%}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{position:relative;left:41.6666666667%}.el-col-lg-11{width:45.8333333333%}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{position:relative;left:45.8333333333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.1666666667%}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{position:relative;left:54.1666666667%}.el-col-lg-14{width:58.3333333333%}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{position:relative;left:58.3333333333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.6666666667%}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{position:relative;left:66.6666666667%}.el-col-lg-17{width:70.8333333333%}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{position:relative;left:70.8333333333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.1666666667%}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{position:relative;left:79.1666666667%}.el-col-lg-20{width:83.3333333333%}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{position:relative;left:83.3333333333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.6666666667%}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{position:relative;left:91.6666666667%}.el-col-lg-23{width:95.8333333333%}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{position:relative;left:95.8333333333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;width:0}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{width:4.1666666667%}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{position:relative;left:4.1666666667%}.el-col-xl-2{width:8.3333333333%}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{position:relative;left:8.3333333333%}.el-col-xl-3{width:12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{width:16.6666666667%}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{position:relative;left:16.6666666667%}.el-col-xl-5{width:20.8333333333%}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{position:relative;left:20.8333333333%}.el-col-xl-6{width:25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{width:29.1666666667%}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{position:relative;left:29.1666666667%}.el-col-xl-8{width:33.3333333333%}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{position:relative;left:33.3333333333%}.el-col-xl-9{width:37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{width:41.6666666667%}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{position:relative;left:41.6666666667%}.el-col-xl-11{width:45.8333333333%}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{position:relative;left:45.8333333333%}.el-col-xl-12{width:50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{width:54.1666666667%}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{position:relative;left:54.1666666667%}.el-col-xl-14{width:58.3333333333%}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{position:relative;left:58.3333333333%}.el-col-xl-15{width:62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{width:66.6666666667%}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{position:relative;left:66.6666666667%}.el-col-xl-17{width:70.8333333333%}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{position:relative;left:70.8333333333%}.el-col-xl-18{width:75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{width:79.1666666667%}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{position:relative;left:79.1666666667%}.el-col-xl-20{width:83.3333333333%}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{position:relative;left:83.3333333333%}.el-col-xl-21{width:87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{width:91.6666666667%}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{position:relative;left:91.6666666667%}.el-col-xl-23{width:95.8333333333%}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{position:relative;left:95.8333333333%}.el-col-xl-24{width:100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}.el-upload{display:inline-block;text-align:center;cursor:pointer;outline:none}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:#606066;margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;opacity:0;filter:alpha(opacity=0)}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover,.el-upload:focus{border-color:#409eff;color:#409eff}.el-upload:focus .el-upload-dragger{border-color:#409eff}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;position:relative;overflow:hidden}.el-upload-dragger .el-icon-upload{font-size:67px;color:#c0c4cc;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid #dcdde6;margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:#606066;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#409eff;font-style:normal}.el-upload-dragger:hover{border-color:#409eff}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #409eff}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606066;line-height:1.8;margin-top:5px;position:relative;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item .el-icon-upload-success{color:#67c23a}.el-upload-list__item .el-icon-close{display:none;position:absolute;top:5px;right:5px;cursor:pointer;opacity:.75;color:#606066}.el-upload-list__item .el-icon-close:hover{opacity:1}.el-upload-list__item .el-icon-close-tip{display:none;position:absolute;top:5px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:#409eff}.el-upload-list__item:hover{background-color:#f5f7fa}.el-upload-list__item:hover .el-icon-close{display:inline-block}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:block}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#409eff;cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon-close-tip,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:not(.focusing):focus .el-icon-close-tip{display:none}.el-upload-list.is-disabled .el-upload-list__item:hover .el-upload-list__item-status-label{display:block}.el-upload-list__item-name{color:#606066;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{height:100%;margin-right:7px;color:#909199;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#606066;display:none}.el-upload-list__item-delete:hover{color:#409eff}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item .el-icon-check,.el-upload-list--picture-card .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon-close,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item .el-icon-check,.el-upload-list--picture .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:transparent;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;position:relative;z-index:1;margin-left:-80px;background-color:#fff}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;transform:rotate(45deg);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);margin-top:60px}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#252438}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#606066;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67c23a}.el-progress.is-success .el-progress__text{color:#67c23a}.el-progress.is-warning .el-progress-bar__inner{background-color:#e6a23c}.el-progress.is-warning .el-progress__text{color:#e6a23c}.el-progress.is-exception .el-progress-bar__inner{background-color:#f56c6c}.el-progress.is-exception .el-progress__text{color:#f56c6c}.el-progress-bar{padding-right:50px;display:inline-block;vertical-align:middle;width:100%;margin-right:-55px;box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#ebeef5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409eff;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;animation:dash 1.5s ease-in-out infinite}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{min-width:380px;box-sizing:border-box;border-radius:4px;border-width:1px;border-style:solid;border-color:#ebeef5;position:fixed;left:50%;top:20px;transform:translateX(-50%);background-color:#edf2fc;transition:opacity .3s,transform .4s,top .4s;overflow:hidden;padding:15px 15px 15px 20px;display:flex;align-items:center}.el-message.is-center{justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--info .el-message__content{color:#909399}.el-message--success{background-color:#f0f9eb;border-color:#e1f3d8}.el-message--success .el-message__content{color:#67c23a}.el-message--warning{background-color:#fdf6ec;border-color:#faecd8}.el-message--warning .el-message__content{color:#e6a23c}.el-message--error{background-color:#fef0f0;border-color:#fde2e2}.el-message--error .el-message__content{color:#f56c6c}.el-message__icon{margin-right:10px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message__closeBtn{position:absolute;top:50%;right:15px;transform:translateY(-50%);cursor:pointer;color:#c0c4cc;font-size:16px}.el-message__closeBtn:focus{outline-width:0}.el-message__closeBtn:hover{color:#909199}.el-message .el-icon-success{color:#67c23a}.el-message .el-icon-error{color:#f56c6c}.el-message .el-icon-info{color:#909399}.el-message .el-icon-warning{color:#e6a23c}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle;display:inline-block}.el-badge__content{background-color:#f56c6c;border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-fixed{position:absolute;top:0;right:10px;transform:translateY(-50%) translateX(100%)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:#409eff}.el-badge__content--success{background-color:#67c23a}.el-badge__content--warning{background-color:#e6a23c}.el-badge__content--info{background-color:#909399}.el-badge__content--danger{background-color:#f56c6c}.el-card{border-radius:4px;border:1px solid #ebeef5;background-color:#fff;overflow:hidden;color:#252438;transition:.3s}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-card__header{padding:18px 20px;border-bottom:1px solid #ebeef5;box-sizing:border-box}.el-card__body{padding:20px}.el-rate{height:20px;line-height:1}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon,.el-rate__item{display:inline-block;position:relative}.el-rate__icon{font-size:18px;margin-right:6px;color:#c0c4cc;transition:.3s}.el-rate__icon.hover{transform:scale(1.15)}.el-rate__decimal,.el-rate__icon .path2{position:absolute;left:0;top:0}.el-rate__decimal{display:inline-block;overflow:hidden}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:#f5f7fa}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;flex-flow:column}.el-step{position:relative;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-shrink:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:#252438;border-color:#252438}.el-step__head.is-wait{color:#c0c4cc;border-color:#c0c4cc}.el-step__head.is-success{color:#67c23a;border-color:#67c23a}.el-step__head.is-error{color:#f56c6c;border-color:#f56c6c}.el-step__head.is-finish{color:#409eff;border-color:#409eff}.el-step__icon{position:relative;z-index:1;display:inline-flex;justify-content:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:#fff;transition:.15s ease-out}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:#c0c4cc}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;transition:.15s ease-out;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:#252438}.el-step__title.is-wait{color:#c0c4cc}.el-step__title.is-success{color:#67c23a}.el-step__title.is-error{color:#f56c6c}.el-step__title.is-finish{color:#409eff}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:#252438}.el-step__description.is-wait{color:#c0c4cc}.el-step__description.is-success{color:#67c23a}.el-step__description.is-error{color:#f56c6c}.el-step__description.is-finish{color:#409eff}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:flex;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:transparent;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:flex;align-items:stretch;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{flex-grow:1;display:flex;align-items:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:#c0c4cc}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-carousel{position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:none;padding:0;margin:0;height:36px;width:36px;cursor:pointer;transition:.3s;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:2}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translateX(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#c0c4cc;opacity:.24}.el-carousel__indicators--labels{left:0;right:0;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:12px 4px}.el-carousel__indicator--vertical{padding:4px 12px}.el-carousel__indicator--vertical .el-carousel__button{width:2px;height:15px}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;outline:none;padding:0;margin:0;cursor:pointer;transition:.3s}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{transform:translateY(-50%) translateX(10px);opacity:0}.el-carousel__item{position:absolute;top:0;left:0;width:100%;height:100%;display:inline-block;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{position:absolute;width:100%;height:100%;top:0;left:0;background-color:#fff;opacity:.24;transition:.2s}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:opacity .2s linear}.el-fade-in-linear-enter,.el-fade-in-linear-leave,.el-fade-in-linear-leave-active{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-fade-in-enter,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transform-origin:top left}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter,.el-list-leave-active{opacity:0;transform:translateY(-30px)}.el-opacity-transition{transition:opacity .3s cubic-bezier(.55,0,.1,1)}.el-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.el-collapse-item.is-disabled .el-collapse-item__header{color:#bbb;cursor:not-allowed}.el-collapse-item__header{display:flex;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#252438;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;transition:border-bottom-color .3s;outline:none}.el-collapse-item__arrow{margin:0 8px 0 auto;transition:transform .3s;font-weight:300}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;box-sizing:border-box;border-bottom:1px solid #ebeef5}.el-collapse-item__content{padding-bottom:25px;font-size:13px;color:#252438;line-height:1.7692307692}.el-collapse-item:last-child{margin-bottom:-1px}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-popper .popper__arrow{border-width:6px;filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-tag{background-color:#ecf5ff;border-color:#d9ecff;display:inline-block;height:32px;padding:0 10px;line-height:30px;font-size:12px;color:#409eff;border-width:1px;border-style:solid;border-radius:4px;box-sizing:border-box;white-space:nowrap}.el-tag.is-hit{border-color:#409eff}.el-tag .el-tag__close{color:#409eff}.el-tag .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag.el-tag--info{background-color:#f4f4f5;border-color:#e9e9eb;color:#909399}.el-tag.el-tag--info.is-hit{border-color:#909399}.el-tag.el-tag--info .el-tag__close{color:#909399}.el-tag.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag.el-tag--success{background-color:#f0f9eb;border-color:#e1f3d8;color:#67c23a}.el-tag.el-tag--success.is-hit{border-color:#67c23a}.el-tag.el-tag--success .el-tag__close{color:#67c23a}.el-tag.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag.el-tag--warning{background-color:#fdf6ec;border-color:#faecd8;color:#e6a23c}.el-tag.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag.el-tag--danger{background-color:#fef0f0;border-color:#fde2e2;color:#f56c6c}.el-tag.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;height:16px;width:16px;line-height:16px;vertical-align:middle;top:-1px;right:-5px}.el-tag .el-icon-close:before{display:block}.el-tag--dark{background-color:#409eff;color:#fff}.el-tag--dark,.el-tag--dark.is-hit{border-color:#409eff}.el-tag--dark .el-tag__close{color:#fff}.el-tag--dark .el-tag__close:hover{color:#fff;background-color:#66b1ff}.el-tag--dark.el-tag--info{background-color:#909399;border-color:#909399;color:#fff}.el-tag--dark.el-tag--info.is-hit{border-color:#909399}.el-tag--dark.el-tag--info .el-tag__close{color:#fff}.el-tag--dark.el-tag--info .el-tag__close:hover{color:#fff;background-color:#a6a9ad}.el-tag--dark.el-tag--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-tag--dark.el-tag--success.is-hit{border-color:#67c23a}.el-tag--dark.el-tag--success .el-tag__close{color:#fff}.el-tag--dark.el-tag--success .el-tag__close:hover{color:#fff;background-color:#85ce61}.el-tag--dark.el-tag--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-tag--dark.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--dark.el-tag--warning .el-tag__close{color:#fff}.el-tag--dark.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#ebb563}.el-tag--dark.el-tag--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-tag--dark.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--dark.el-tag--danger .el-tag__close{color:#fff}.el-tag--dark.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f78989}.el-tag--plain{background-color:#fff;border-color:#b3d8ff;color:#409eff}.el-tag--plain.is-hit{border-color:#409eff}.el-tag--plain .el-tag__close{color:#409eff}.el-tag--plain .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag--plain.el-tag--info{background-color:#fff;border-color:#d3d4d6;color:#909399}.el-tag--plain.el-tag--info.is-hit{border-color:#909399}.el-tag--plain.el-tag--info .el-tag__close{color:#909399}.el-tag--plain.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag--plain.el-tag--success{background-color:#fff;border-color:#c2e7b0;color:#67c23a}.el-tag--plain.el-tag--success.is-hit{border-color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close{color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag--plain.el-tag--warning{background-color:#fff;border-color:#f5dab1;color:#e6a23c}.el-tag--plain.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag--plain.el-tag--danger{background-color:#fff;border-color:#fbc4c4;color:#f56c6c}.el-tag--plain.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag--medium{height:28px;line-height:26px}.el-tag--medium .el-icon-close{transform:scale(.8)}.el-tag--small{height:24px;padding:0 8px;line-height:22px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag--mini{height:20px;padding:0 5px;line-height:19px}.el-tag--mini .el-icon-close{margin-left:-3px;transform:scale(.7)}.el-cascader{display:inline-block;position:relative;font-size:14px;line-height:40px}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;border-color:#c0c4cc}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:focus{border-color:#409eff}.el-cascader .el-input .el-icon-arrow-down{transition:transform .3s;font-size:14px}.el-cascader .el-input .el-icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .el-icon-circle-close:hover{color:#909199}.el-cascader .el-input.is-focus .el-input__inner{border-color:#409eff}.el-cascader--medium{font-size:14px;line-height:36px}.el-cascader--small{font-size:13px;line-height:32px}.el-cascader--mini{font-size:12px;line-height:28px}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#c0c4cc}.el-cascader__dropdown{margin:5px 0;font-size:14px;background:#fff;border:1px solid #e4e7ed;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;transform:translateY(-50%);display:flex;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:inline-flex;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:#f0f2f5}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{flex:none;background-color:#c0c4cc;color:#fff}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:#909199}.el-cascader__suggestion-panel{border-radius:4px}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:14px;color:#606066;text-align:center}.el-cascader__suggestion-item{display:flex;justify-content:space-between;align-items:center;height:34px;padding:0 15px;text-align:left;outline:none;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:#f5f7fa}.el-cascader__suggestion-item.is-checked{color:#409eff;font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:#c0c4cc}.el-cascader__search-input{flex:1;height:24px;min-width:60px;margin:2px 0 2px 15px;padding:0;color:#606066;border:none;outline:none;box-sizing:border-box}.el-cascader__search-input::-moz-placeholder{color:#c0c4cc}.el-cascader__search-input::placeholder{color:#c0c4cc}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px #409eff}.el-color-predefine__color-selector>div{display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider__bar{position:relative;background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{content:"";display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:none;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#409eff;border-color:#409eff}.el-color-dropdown__link-btn{cursor:pointer;color:#409eff;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:tint(#409eff,20%)}.el-color-picker{display:inline-block;position:relative;line-height:normal;height:40px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--medium{height:36px}.el-color-picker--medium .el-color-picker__trigger{height:36px;width:36px}.el-color-picker--medium .el-color-picker__mask{height:34px;width:34px}.el-color-picker--small{height:32px}.el-color-picker--small .el-color-picker__trigger{height:32px;width:32px}.el-color-picker--small .el-color-picker__mask{height:30px;width:30px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker--mini{height:28px}.el-color-picker--mini .el-color-picker__trigger{height:28px;width:28px}.el-color-picker--mini .el-color-picker__mask{height:26px;width:26px}.el-color-picker--mini .el-color-picker__empty,.el-color-picker--mini .el-color-picker__icon{transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:hsla(0,0%,100%,.7)}.el-color-picker__trigger{display:inline-block;box-sizing:border-box;height:40px;width:40px;padding:4px;border:1px solid #e6e6e6;border-radius:4px;font-size:0;position:relative;cursor:pointer}.el-color-picker__color{position:relative;display:block;box-sizing:border-box;border:1px solid #999;border-radius:2px;width:100%;height:100%;text-align:center}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty{color:#999}.el-color-picker__empty,.el-color-picker__icon{font-size:12px;position:absolute;top:50%;left:50%;transform:translate3d(-50%,-50%,0)}.el-color-picker__icon{display:inline-block;width:100%;color:#fff;text-align:center}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;box-sizing:content-box;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-textarea{position:relative;display:inline-block;width:100%;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606066;background-color:#fff;background-image:none;border:1px solid #dcdde6;border-radius:4px;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea__inner:hover{border-color:#c0c4cc}.el-textarea__inner:focus{outline:none;border-color:#409eff}.el-textarea .el-input__count{color:#909399;background:#fff;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea.is-exceed .el-textarea__inner{border-color:#f56c6c}.el-textarea.is-exceed .el-input__count{color:#f56c6c}.el-input{position:relative;font-size:14px;display:inline-block;width:100%}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#c0c4cc;font-size:14px;cursor:pointer;transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909199}.el-input .el-input__count{height:100%;display:inline-flex;align-items:center;color:#909399;font-size:12px}.el-input .el-input__count .el-input__count-inner{background:#fff;line-height:normal;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdde6;box-sizing:border-box;color:#606066;display:inline-block;font-size:inherit;height:40px;line-height:40px;outline:none;padding:0 15px;transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__inner::-ms-reveal{display:none}.el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input__inner::placeholder{color:#c0c4cc}.el-input__inner:hover{border-color:#c0c4cc}.el-input__inner:focus{outline:none;border-color:#409eff}.el-input__suffix{position:absolute;height:100%;right:5px;top:0;text-align:center;color:#c0c4cc;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{position:absolute;left:5px;top:0;color:#c0c4cc}.el-input__icon,.el-input__prefix{height:100%;text-align:center;transition:all .3s}.el-input__icon{width:25px;line-height:40px}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__inner{outline:none;border-color:#409eff}.el-input.is-disabled .el-input__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-exceed .el-input__inner{border-color:#f56c6c}.el-input.is-exceed .el-input__suffix .el-input__count{color:#f56c6c}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#f5f7fa;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #dcdde6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append{border-left:0}.el-input-group--prepend .el-input__inner,.el-input-group__append{border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input-group--append .el-input__inner{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input__inner::-ms-clear{display:none;width:0;height:0}.el-transfer{font-size:14px}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{display:block;margin:0 auto;padding:10px;border-radius:50%;color:#fff;background-color:#409eff;font-size:0}.el-transfer__button.is-with-texts{border-radius:4px}.el-transfer__button.is-disabled,.el-transfer__button.is-disabled:hover{border:1px solid #dcdde6;background-color:#f5f7fa;color:#c0c4cc}.el-transfer__button:first-child{margin-bottom:10px}.el-transfer__button:nth-child(2){margin:0}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button [class*=el-icon-]+span{margin-left:0}.el-transfer-panel{border:1px solid #ebeef5;border-radius:4px;overflow:hidden;background:#fff;display:inline-block;vertical-align:middle;width:200px;max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:246px}.el-transfer-panel__body.is-with-footer{padding-bottom:40px}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:246px;overflow:auto;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:194px;padding-top:0}.el-transfer-panel__item{height:30px;line-height:30px;padding-left:15px;display:block!important}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:#606066}.el-transfer-panel__item:hover{color:#409eff}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;box-sizing:border-box;padding-left:24px;line-height:30px}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;box-sizing:border-box;display:block;width:auto}.el-transfer-panel__filter .el-input__inner{height:32px;width:100%;font-size:12px;display:inline-block;box-sizing:border-box;border-radius:16px;padding-right:10px;padding-left:30px}.el-transfer-panel__filter .el-input__icon{margin-left:5px}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{height:40px;line-height:40px;background:#f5f7fa;margin:0;padding-left:15px;border-bottom:1px solid #ebeef5;box-sizing:border-box;color:#000}.el-transfer-panel .el-transfer-panel__header .el-checkbox{display:block;line-height:40px}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:#252438;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;color:#909199;font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:40px;background:#fff;margin:0;padding:0;border-top:1px solid #ebeef5;position:absolute;bottom:0;left:0;width:100%;z-index:1}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:#606066}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:30px;line-height:30px;padding:6px 15px 0;color:#909199;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-container{display:flex;flex-direction:row;flex:1;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical{flex-direction:column}.el-header{padding:0 20px}.el-aside,.el-header{box-sizing:border-box;flex-shrink:0}.el-aside,.el-main{overflow:auto}.el-main{display:block;flex:1;flex-basis:auto;padding:20px}.el-footer,.el-main{box-sizing:border-box}.el-footer{padding:0 20px;flex-shrink:0}.el-timeline{margin:0;font-size:14px;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid #e4e7ed}.el-timeline-item__icon{color:#fff;font-size:13px}.el-timeline-item__node{position:absolute;background-color:#e4e7ed;border-radius:50%;display:flex;justify-content:center;align-items:center}.el-timeline-item__node--normal{left:-1px;width:12px;height:12px}.el-timeline-item__node--large{left:-2px;width:14px;height:14px}.el-timeline-item__node--primary{background-color:#409eff}.el-timeline-item__node--success{background-color:#67c23a}.el-timeline-item__node--warning{background-color:#e6a23c}.el-timeline-item__node--danger{background-color:#f56c6c}.el-timeline-item__node--info{background-color:#909399}.el-timeline-item__dot{position:absolute;display:flex;justify-content:center;align-items:center}.el-timeline-item__content{color:#252438}.el-timeline-item__timestamp{color:#909199;line-height:1;font-size:13px}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-link{display:inline-flex;flex-direction:row;align-items:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:none;cursor:pointer;padding:0;font-size:14px;font-weight:500}.el-link.is-underline:hover:after{content:"";position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid #409eff}.el-link.is-disabled{cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default{color:#606066}.el-link.el-link--default:hover{color:#409eff}.el-link.el-link--default:after{border-color:#409eff}.el-link.el-link--default.is-disabled{color:#c0c4cc}.el-link.el-link--primary{color:#409eff}.el-link.el-link--primary:hover{color:#66b1ff}.el-link.el-link--primary:after{border-color:#409eff}.el-link.el-link--primary.is-disabled{color:#a0cfff}.el-link.el-link--primary.is-underline:hover:after{border-color:#409eff}.el-link.el-link--danger{color:#f56c6c}.el-link.el-link--danger:hover{color:#f78989}.el-link.el-link--danger:after{border-color:#f56c6c}.el-link.el-link--danger.is-disabled{color:#fab6b6}.el-link.el-link--danger.is-underline:hover:after{border-color:#f56c6c}.el-link.el-link--success{color:#67c23a}.el-link.el-link--success:hover{color:#85ce61}.el-link.el-link--success:after{border-color:#67c23a}.el-link.el-link--success.is-disabled{color:#b3e19d}.el-link.el-link--success.is-underline:hover:after{border-color:#67c23a}.el-link.el-link--warning{color:#e6a23c}.el-link.el-link--warning:hover{color:#ebb563}.el-link.el-link--warning:after{border-color:#e6a23c}.el-link.el-link--warning.is-disabled{color:#f3d19e}.el-link.el-link--warning.is-underline:hover:after{border-color:#e6a23c}.el-link.el-link--info{color:#909399}.el-link.el-link--info:hover{color:#a6a9ad}.el-link.el-link--info:after{border-color:#909399}.el-link.el-link--info.is-disabled{color:#c8c9cc}.el-link.el-link--info.is-underline:hover:after{border-color:#909399}.el-divider{background-color:#dcdde6;position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative}.el-divider__text{position:absolute;background-color:#fff;padding:0 20px;font-weight:500;color:#252438;font-size:14px}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translateX(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__inner--center{position:relative;top:50%;left:50%;transform:translate(-50%,-50%);display:block}.el-image__error,.el-image__placeholder{background:#f5f7fa}.el-image__error{display:flex;justify-content:center;align-items:center;font-size:14px;color:#c0c4cc;vertical-align:middle}.el-image__preview{cursor:pointer}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:.8;cursor:pointer;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:24px;color:#fff;background-color:#606266}.el-image-viewer__canvas{width:100%;height:100%;display:flex;justify-content:center;align-items:center}.el-image-viewer__actions{left:50%;bottom:30px;transform:translateX(-50%);width:282px;height:44px;padding:0 23px;background-color:#606266;border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:flex;align-items:center;justify-content:space-around}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{top:50%;transform:translateY(-50%);width:44px;height:44px;font-size:24px;color:#fff;background-color:#606266;border-color:#fff}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{animation:viewer-fade-in .3s}.viewer-fade-leave-active{animation:viewer-fade-out .3s}@keyframes viewer-fade-in{0%{transform:translate3d(0,-20px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes viewer-fade-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(0,-20px,0);opacity:0}}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdde6;border-color:#dcdde6;color:#606066;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:.1s;font-weight:500;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button{margin-left:10px}.el-button.is-round{padding:12px 20px}.el-button:focus,.el-button:hover{color:#409eff;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:none}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.el-button.is-plain:active{background:#fff;outline:none}.el-button.is-active,.el-button.is-plain:active{border-color:#3a8ee6;color:#3a8ee6}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#fff;background-color:#409eff;border-color:#409eff}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary:active{outline:none}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#fff;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409eff;border-color:#409eff;color:#fff}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff;outline:none}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#fff;background-color:#67c23a;border-color:#67c23a}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success:active{outline:none}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#fff;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67c23a;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67c23a;border-color:#67c23a;color:#fff}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:none}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#fff;background-color:#e6a23c;border-color:#e6a23c}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning:active{outline:none}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#fff;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:none}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger:active{outline:none}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#fff;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:none}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#fff;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info:active{outline:none}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#fff;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#fff}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#fff;outline:none}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{padding:9px 15px;font-size:12px;border-radius:3px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini{padding:7px 15px;font-size:12px;border-radius:3px}.el-button--mini.is-round{padding:7px 15px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409eff;background:transparent;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table;content:""}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-top-right-radius:4px;border-bottom-right-radius:4px;border-top-left-radius:4px;border-bottom-left-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button:not(:last-child){margin-right:-1px}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0;border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--primary:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--success:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:first-child{border-right-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:last-child{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--info:not(:first-child):not(:last-child){border-left-color:hsla(0,0%,100%,.5);border-right-color:hsla(0,0%,100%,.5)}.el-calendar{background-color:#fff}.el-calendar__header{display:flex;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #ebeef5}.el-calendar__title{color:#000;align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:#606066;font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:#c0c4cc}.el-calendar-table td{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;vertical-align:top;transition:background-color .2s ease}.el-calendar-table td.is-selected{background-color:#f2f8fe}.el-calendar-table td.is-today{color:#409eff}.el-calendar-table tr:first-child td{border-top:1px solid #ebeef5}.el-calendar-table tr td:first-child{border-left:1px solid #ebeef5}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;padding:8px;height:85px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:#f2f8fe}.el-backtop{position:fixed;background-color:#fff;width:40px;height:40px;border-radius:50%;color:#409eff;display:flex;align-items:center;justify-content:center;font-size:20px;box-shadow:0 0 6px rgba(0,0,0,.12);cursor:pointer;z-index:5}.el-backtop:hover{background-color:#f2f6fc}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{content:"";position:absolute;width:1px;height:16px;right:-20px;top:50%;transform:translateY(-50%);background-color:#dcdde6}.el-page-header__left .el-icon-back{font-size:18px;margin-right:6px;align-self:center}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:#252438}.el-checkbox{color:#606066;font-weight:500;font-size:14px;position:relative;cursor:pointer;display:inline-block;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-right:30px}.el-checkbox.is-bordered{padding:9px 20px 9px 10px;border-radius:4px;border:1px solid #dcdde6;box-sizing:border-box;line-height:normal;height:40px}.el-checkbox.is-bordered.is-checked{border-color:#409eff}.el-checkbox.is-bordered.is-disabled{border-color:#ebeef5;cursor:not-allowed}.el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:10px}.el-checkbox.is-bordered.el-checkbox--medium{padding:7px 20px 7px 10px;border-radius:4px;height:36px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__label{line-height:17px;font-size:14px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:5px 15px 5px 10px;border-radius:3px;height:32px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{line-height:15px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox.is-bordered.el-checkbox--mini{padding:3px 15px 3px 10px;border-radius:3px;height:28px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__label{line-height:12px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-block;line-height:1;position:relative;vertical-align:middle}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#edf2fc;border-color:#dcdde6;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#c0c4cc}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdde6}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#c0c4cc}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdde6}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:#c0c4cc;border-color:#c0c4cc}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:#c0c4cc;cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.el-checkbox__input.is-checked .el-checkbox__inner:after{transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:#409eff}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#409eff}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:#fff;height:2px;transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #dcdde6;border-radius:2px;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#409eff}.el-checkbox__inner:after{box-sizing:content-box;content:"";border:1px solid #fff;border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:3px;transition:transform .15s ease-in .05s;transform-origin:center}.el-checkbox__original{opacity:0;outline:none;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox__label{display:inline-block;padding-left:10px;line-height:19px;font-size:14px}.el-checkbox:last-of-type{margin-right:0}.el-checkbox-button,.el-checkbox-button__inner{position:relative;display:inline-block}.el-checkbox-button__inner{line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdde6;border-left:0;color:#606066;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;margin:0;transition:all .3s cubic-bezier(.645,.045,.355,1);-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:12px 20px;font-size:14px;border-radius:0}.el-checkbox-button__inner.is-round{padding:12px 20px}.el-checkbox-button__inner:hover{color:#409eff}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:none;position:absolute;margin:0;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;box-shadow:-1px 0 0 0 #8cc5ff}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:#409eff}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:#ebeef5}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:1px solid #dcdde6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:#409eff}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 4px 4px 0}.el-checkbox-button--medium .el-checkbox-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-checkbox-button--medium .el-checkbox-button__inner.is-round{padding:10px 20px}.el-checkbox-button--small .el-checkbox-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:9px 15px}.el-checkbox-button--mini .el-checkbox-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-checkbox-button--mini .el-checkbox-button__inner.is-round{padding:7px 15px}.el-checkbox-group{font-size:0}.el-radio{color:#606066;font-weight:500;line-height:1;position:relative;cursor:pointer;display:inline-block;white-space:nowrap;outline:none;font-size:14px;margin-right:30px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}.el-radio.is-bordered{padding:12px 20px 0 10px;border-radius:4px;border:1px solid #dcdde6;box-sizing:border-box;height:40px}.el-radio.is-bordered.is-checked{border-color:#409eff}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:#ebeef5}.el-radio.is-bordered+.el-radio.is-bordered{margin-left:10px}.el-radio--medium.is-bordered{padding:10px 20px 0 10px;border-radius:4px;height:36px}.el-radio--medium.is-bordered .el-radio__label{font-size:14px}.el-radio--medium.is-bordered .el-radio__inner{height:14px;width:14px}.el-radio--small.is-bordered{padding:8px 15px 0 10px;border-radius:3px;height:32px}.el-radio--small.is-bordered .el-radio__label{font-size:12px}.el-radio--small.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio--mini.is-bordered{padding:6px 15px 0 10px;border-radius:3px;height:28px}.el-radio--mini.is-bordered .el-radio__label{font-size:12px}.el-radio--mini.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{white-space:nowrap;cursor:pointer;outline:none;display:inline-block;line-height:1;position:relative;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed;cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#f5f7fa}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#c0c4cc}.el-radio__input.is-disabled+span.el-radio__label{color:#c0c4cc;cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:#409eff;background:#409eff}.el-radio__input.is-checked .el-radio__inner:after{transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:#409eff}.el-radio__input.is-focus .el-radio__inner{border-color:#409eff}.el-radio__inner{border:1px solid #dcdde6;border-radius:100%;width:14px;height:14px;background-color:#fff;position:relative;cursor:pointer;display:inline-block;box-sizing:border-box}.el-radio__inner:hover{border-color:#409eff}.el-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in}.el-radio__original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px #409eff}.el-radio__label{font-size:14px;padding-left:10px}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active>.el-scrollbar__bar,.el-scrollbar:focus>.el-scrollbar__bar,.el-scrollbar:hover>.el-scrollbar__bar{opacity:1;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:hsla(233,4%,58%,.3);transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:hsla(233,4%,58%,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;transition:opacity .12s ease-out}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-cascader-panel{display:flex;border-radius:4px;font-size:14px}.el-cascader-panel.is-bordered{border:1px solid #e4e7ed;border-radius:4px}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:#606066;border-right:1px solid #e4e7ed}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center;color:#c0c4cc}.el-cascader-node{position:relative;display:flex;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:none}.el-cascader-node.is-selectable.in-active-path{color:#606066}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:#409eff;font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:#f5f7fa}.el-cascader-node.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-avatar{display:inline-block;box-sizing:border-box;text-align:center;overflow:hidden;color:#fff;background:#c0c4cc;width:40px;height:40px;line-height:40px;font-size:14px}.el-avatar>img{display:block;height:100%;vertical-align:middle}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:4px}.el-avatar--icon{font-size:18px}.el-avatar--large{width:40px;height:40px;line-height:40px}.el-avatar--medium{width:36px;height:36px;line-height:36px}.el-avatar--small{width:28px;height:28px;line-height:28px}@keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes rtl-drawer-in{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes rtl-drawer-out{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes ltr-drawer-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes ltr-drawer-out{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes ttb-drawer-in{0%{transform:translateY(-100%)}to{transform:translate(0)}}@keyframes ttb-drawer-out{0%{transform:translate(0)}to{transform:translateY(-100%)}}@keyframes btt-drawer-in{0%{transform:translateY(100%)}to{transform:translate(0)}}@keyframes btt-drawer-out{0%{transform:translate(0)}to{transform:translateY(100%)}}.el-drawer{position:absolute;box-sizing:border-box;background-color:#fff;display:flex;flex-direction:column;box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);overflow:hidden;outline:0}.el-drawer.rtl{animation:rtl-drawer-out .3s}.el-drawer__open .el-drawer.rtl{animation:rtl-drawer-in .3s 1ms}.el-drawer.ltr{animation:ltr-drawer-out .3s}.el-drawer__open .el-drawer.ltr{animation:ltr-drawer-in .3s 1ms}.el-drawer.ttb{animation:ttb-drawer-out .3s}.el-drawer__open .el-drawer.ttb{animation:ttb-drawer-in .3s 1ms}.el-drawer.btt{animation:btt-drawer-out .3s}.el-drawer__open .el-drawer.btt{animation:btt-drawer-in .3s 1ms}.el-drawer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;margin:0}.el-drawer__header{align-items:center;color:#72767b;display:flex;margin-bottom:32px;padding:20px;padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{margin:0;flex:1;line-height:inherit;font-size:1rem}.el-drawer__close-btn{border:none;cursor:pointer;font-size:20px;color:inherit;background-color:transparent}.el-drawer__body{flex:1;overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb{width:100%;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.rtl{right:0}.el-drawer.ttb{top:0}.el-drawer.btt{bottom:0}.el-drawer__container{position:relative;left:0;right:0;top:0;bottom:0;height:100%;width:100%}.el-drawer-fade-enter-active{animation:el-drawer-fade-in .3s}.el-drawer-fade-leave-active{animation:el-drawer-fade-in .3s reverse}.el-statistic{width:100%;box-sizing:border-box;margin:0;padding:0;color:#000;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";text-align:center}.el-statistic .head{margin-bottom:4px;color:#606066;font-size:13px}.el-statistic .con{font-family:Sans-serif;display:flex;justify-content:center;align-items:center;color:#252438}.el-statistic .con .number{font-size:20px;padding:0 4px}.el-statistic .con span{display:inline-block;margin:0;line-height:100%}.el-popconfirm__main{display:flex;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin:0}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:#f2f2f2}.el-skeleton.is-animated .el-skeleton__item{background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%;animation:el-skeleton-loading 1.4s ease infinite}.el-skeleton__item{background:#f2f2f2;display:inline-block;height:16px;border-radius:4px;width:100%}.el-skeleton__circle{border-radius:50%;width:36px;height:36px;line-height:36px}.el-skeleton__circle--lg{width:40px;height:40px;line-height:40px}.el-skeleton__circle--md{width:28px;height:28px;line-height:28px}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:13px}.el-skeleton__caption{height:12px}.el-skeleton__h1{height:20px}.el-skeleton__h3{height:18px}.el-skeleton__h5{height:16px}.el-skeleton__image{width:unset;display:flex;align-items:center;justify-content:center;border-radius:0}.el-skeleton__image svg{fill:#dcdde0;width:22%;height:22%}.el-empty{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:40px 0}.el-empty__image{width:160px}.el-empty__image img{-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%;height:100%;vertical-align:top;-o-object-fit:contain;object-fit:contain}.el-empty__image svg{fill:#dcdde0;width:100%;height:100%;vertical-align:top}.el-empty__description{margin-top:20px}.el-empty__description p{margin:0;font-size:14px;color:#909199}.el-empty__bottom{margin-top:20px}.el-descriptions{box-sizing:border-box;font-size:14px;color:#252438}.el-descriptions__header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.el-descriptions__title{font-size:16px;font-weight:700}.el-descriptions__body{color:#606066;background-color:#fff}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%;table-layout:fixed}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell{box-sizing:border-box;text-align:left;font-weight:400;line-height:1.5}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-right{text-align:right}.el-descriptions .is-bordered{table-layout:auto}.el-descriptions .is-bordered .el-descriptions-item__cell{border:1px solid #ebeef5;padding:12px 10px}.el-descriptions :not(.is-bordered) .el-descriptions-item__cell{padding-bottom:12px}.el-descriptions--medium.is-bordered .el-descriptions-item__cell{padding:10px}.el-descriptions--medium:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:10px}.el-descriptions--small{font-size:12px}.el-descriptions--small.is-bordered .el-descriptions-item__cell{padding:8px 10px}.el-descriptions--small:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:8px}.el-descriptions--mini{font-size:12px}.el-descriptions--mini.is-bordered .el-descriptions-item__cell{padding:6px 10px}.el-descriptions--mini:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:6px}.el-descriptions-item{vertical-align:top}.el-descriptions-item__container{display:flex}.el-descriptions-item__container .el-descriptions-item__content,.el-descriptions-item__container .el-descriptions-item__label{display:inline-flex;align-items:baseline}.el-descriptions-item__container .el-descriptions-item__content{flex:1}.el-descriptions-item__label.has-colon:after{content:":";position:relative;top:-.5px}.el-descriptions-item__label.is-bordered-label{font-weight:700;color:#909199;background:#fafafa}.el-descriptions-item__label:not(.is-bordered-label){margin-right:10px}.el-descriptions-item__content{word-break:break-word;overflow-wrap:break-word}.el-result{display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center;box-sizing:border-box;padding:40px 30px}.el-result__icon svg{width:64px;height:64px}.el-result__title{margin-top:20px}.el-result__title p{margin:0;font-size:20px;color:#252438;line-height:1.3}.el-result__subtitle{margin-top:10px}.el-result__subtitle p{margin:0;font-size:14px;color:#606066;line-height:1.3}.el-result__extra{margin-top:30px}.el-result .icon-success{fill:#67c23a}.el-result .icon-error{fill:#f56c6c}.el-result .icon-info{fill:#909399}.el-result .icon-warning{fill:#e6a23c}:root{--el-color-primary:#409eff;--el-color-success:#67c23a;--el-color-warning:#e6a23c;--el-color-danger:#f56c6c;--el-color-info:#909399}*{padding:0;margin:0}li,ul{list-style:none}a,a:focus,a:hover{cursor:pointer;color:inherit;outline:none;text-decoration:none}body{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Microsoft YaHei,Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Arial,sans-serif;font-size:14px;color:#252438;visibility:visible}body,html{height:100%}html{box-sizing:border-box}pre{font-family:Consolas,Menlo,Courier,monospace}.fr{float:right}.fl{float:left}.clear-fix:after,.clear-fix:before{content:"";display:table;clear:both}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background-color:#eee}::-webkit-scrollbar-thumb{background-color:hsla(0,0%,73%,.5);border-radius:10px}.scrollbar-firefox{scrollbar-width:thin;scrollbar-color:#888 #eee}.scrollbar-firefox::-webkit-scrollbar{width:auto;height:auto}.scrollbar-firefox::-webkit-scrollbar-thumb{background-color:#888;border-radius:10px}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{cursor:default!important}.el-submenu>.el-submenu__title i{font-size:14px;color:#fff}.el-card .el-card__header .title{text-align:center;font-size:14px;font-weight:700}.el-card .el-card__body .content-box{display:flex;align-items:center;justify-content:center}.el-transfer-panel__body{height:280px}.el-transfer-panel__body .el-transfer-panel__list.is-filterable{height:230px}.text-overflow{overflow:hidden;white-space:nowrap}.line{font-size:0;line-height:0px;border-top:1px solid #eee;float:none}.cur-handle{cursor:pointer}.no-padding{padding:0!important}.no-margin{margin:0!important}.m-5{margin:5px}.m-10{margin:10px}.m-15{margin:15px}.m-20{margin:20px}.m-25{margin:25px}.m-30{margin:30px}.m-35{margin:35px}.m-40{margin:40px}.m-50{margin:50px}.mt-5{margin-top:5px}.mt-10{margin-top:10px}.mt-15{margin-top:15px}.mt-20{margin-top:20px}.mt-25{margin-top:25px}.mt-30{margin-top:30px}.mt-35{margin-top:35px}.mt-40{margin-top:40px}.mt-50{margin-top:50px}.mb-5{margin-bottom:5px}.mb-10{margin-bottom:10px}.mb-15{margin-bottom:15px}.mb-20{margin-bottom:20px}.mb-30{margin-bottom:30px}.mb-40{margin-bottom:40px}.mb-50{margin-bottom:50px}.ml-5{margin-left:5px}.ml-10{margin-left:10px}.ml-15{margin-left:15px}.ml-20{margin-left:20px}.ml-30{margin-left:30px}.ml-40{margin-left:40px}.ml-50{margin-left:50px}.mr-5{margin-right:5px}.mr-10{margin-right:10px}.mr-15{margin-right:15px}.mr-20{margin-right:20px}.mr-30{margin-right:30px}.mr-40{margin-right:40px}.mr-50{margin-right:50px}.pt-5{padding-top:5px}.pt-10{padding-top:10px}.pt-15{padding-top:15px}.pt-20{padding-top:20px}.pt-30{padding-top:30px}.pb-5{padding-bottom:5px}.pb-10{padding-bottom:10px}.pb-15{padding-bottom:15px}.pb-20{padding-bottom:20px}.pb-30{padding-bottom:30px}.pl-5{padding-left:5px}.pl-10{padding-left:10px}.pl-15{padding-left:15px}.pl-20{padding-left:20px}.pl-30{padding-left:30px}.pr-5{padding-right:5px}.pr-10{padding-right:10px}.pr-15{padding-right:15px}.pr-20{padding-right:20px}.pr-30{padding-right:30px}.pd-5{padding:5px}.pd-10{padding:10px}.pd-15{padding:15px}.pd-20{padding:20px}.pd-30{padding:30px}.pd-40{padding:40px}.radius-4{border-radius:4px}.radius-6{border-radius:6px}.radius-8{border-radius:8px}.radius-10{border-radius:10px}.radius-12{border-radius:12px}.radius-14{border-radius:14px}.radius-16{border-radius:16px}.radius-18{border-radius:18px}.radius-20{border-radius:20px}.radius-round{border-radius:50%;overflow:hidden}.box-shadow{box-shadow:0 2px 4px rgba(0,0,0,.1)}.text-shadow{-webkit-text-shadow:0 0 2px rgba(0,0,0,.2);text-shadow:0 0 2px rgba(0,0,0,.2)}.pipe{margin:0 5px;color:#ccc;font-size:10px!important}.f-10{font-size:10px}.f-12{font-size:12px}.f-14{font-size:14px}.f-16{font-size:16px}.f-18{font-size:18px}.f-20{font-size:20px}.f-22{font-size:22px}.f-24{font-size:24px}.f-26{font-size:26px}.f-28{font-size:28px}.f-30{font-size:30px}.f-32{font-size:32px}.f-36{font-size:36px}.f-40{font-size:40px}.lh-16{line-height:16px}.lh-18{line-height:18px}.lh-20{line-height:20px}.lh-22{line-height:22px}.lh-24{line-height:24px}.lh-26{line-height:26px}.lh-28{line-height:28px}.lh-30{line-height:30px}.lh-10x{line-height:1}.lh-12x{line-height:1.2}.lh-15x{line-height:1.5}.lh-18x{line-height:1.8}.lh-20x{line-height:2}.lh-30x{line-height:3}.c-primary,.c-primary a,.c-primary a:hover,a.c-primary,a.c-primary:hover{color:#175cff}.c-secondary,.c-secondary a,.c-secondary a:hover,a.c-secondary,a.c-secondary:hover{color:#409eff}.c-success,.c-success a,.c-success a:hover,a.c-success,a.c-success:hover{color:#67c23a}.c-danger,.c-danger a,.c-danger a:hover,a.c-danger,a.c-danger:hover{color:#f56c6c}.c-warning,.c-warning a,.c-warning a:hover,a.c-warning,a.c-warning:hover{color:#fa0}.c-333,.c-333 a,.c-333 a:hover,a.c-333,a.c-333:hover{color:#252438}.c-666,.c-666 a,.c-666 a:hover,a.c-666,a.c-666:hover{color:#606066}.c-999,.c-999 a,.c-999 a:hover,a.c-999,a.c-999:hover{color:#909199}.c-remark,.c-remark a,.c-remark a:hover,a.c-remark,a.c-remark:hover{color:#c0c2cc}.c-red,.c-red a,.c-red a:hover,a.c-red,a.c-red:hover{color:red}.c-green,.c-green a,.c-red a:hover,a.c-green,a.c-red:hover{color:green}.c-blue,.c-blue a,.c-blue a:hover,a.c-blue,a.c-blue:hover{color:blue}.c-white,.c-white a,.c-white a:hover,a.c-white,a.c-white:hover{color:#fff}.c-black,.c-black a,.c-black a:hover,a.c-black:hover{color:#000}.fc-danger{color:var(--el-color-danger)}.fc-warning{color:var(--el-color-warning)}.fc-success{color:var(--el-color-success)}.fc-info{color:var(--el-color-info)}.fc-primary{color:var(--el-color-primary)}.c-orange,.c-orange a,.c-orange a:hover,a.c-orange,a.c-orange:hover{color:orange}.linear-green{background:linear-gradient(45deg,#87de0e,#64bd38)}.linear-yellow{background:linear-gradient(45deg,#fbb437,#fdd36d)}.linear-blue{background:linear-gradient(45deg,#3485ff,#1c68ff)}.linear-red{background:linear-gradient(45deg,#f43f3b,#ec008c)}.linear-orange{background:linear-gradient(45deg,#ff9700,#ed1c24)}.linear-purple{background:linear-gradient(45deg,#9000ff,#5e00ff)}.linear-pink{background:linear-gradient(45deg,#ec008c,#6739b6)}.lz-flex{display:flex}.lz-border-box{box-sizing:border-box}.lz-rows{flex-direction:row}.im-rows-reverse{flex-direction:row-reverse!important}.lz-columns{flex-direction:column}.lz-columns-reverse{flex-direction:column-reverse!important}.lz-flex-wrap,.lz-wrap{flex-wrap:wrap}.lz-nowrap,.lz-wrap{flex-direction:row}.lz-nowrap{flex-wrap:nowrap}.lz-space-around{justify-content:space-around}.lz-space-between{justify-content:space-between}.lz-justify-content-start{justify-content:flex-start}.lz-justify-content-center{justify-content:center}.lz-justify-content-end{justify-content:flex-end}.lz-align-items-start{align-items:flex-start}.lz-align-items-center{align-items:center}.lz-align-items-end{align-items:flex-end}.lz-flex1{flex:1}.rotate45{transform:rotate(45deg)}.rotate90{transform:rotate(90deg)}.rotate135{transform:rotate(135deg)}.rotate180{transform:rotate(180deg)}.rotate225{transform:rotate(225deg)}.rotate270{transform:rotate(270deg)}.rotate315{transform:rotate(315deg)}.rotate360{transform:rotate(1turn)}.online-status{position:absolute;bottom:-6px;right:-6px;border-radius:50%;border:3px solid #fff;height:12px;width:12px;background-color:#32cd32}.text-overflow{overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important}.lemon-container .lemon-container__title{border-bottom:1px solid #e6e6e6!important}.el-transfer-panel .el-transfer-panel__body{height:280px!important}.lemon-editor__submit .lemon-button{background:var(--el-color-primary);color:#fff}.lemon-editor__submit .lemon-button:hover{background:var(--el-color-primary);color:#fff!important;border:solid 1px var(--el-color-primary)!important}.lemon-editor__submit button[disabled],.lemon-editor__submit button[disabled]:hover{background:#fff;color:#aaa;border:1px solid #aaa}.el-tag--mini{padding:2px!important;line-height:1!important}#app,body,html{height:100%;width:100%}.el-scrollbar{height:100%!important}.el-scrollbar__wrap{overflow-x:hidden!important}.el-container{overflow:auto}.el-select-dropdown__wrap{margin-bottom:0!important}.lemon-contact{padding:10px}hr{height:1px;background-color:#e6e6e6;border:none}.user-card-box[data-v-499318c8]{position:fixed;top:0;left:0;z-index:19999;width:100%;height:100%;background-color:rgba(0,0,0,.3);overflow:hidden;display:flex;align-items:center;justify-content:center}.container[data-v-499318c8]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background-color:#fff;width:350px;height:600px;overflow:hidden;border-radius:3px}.container .header[data-v-499318c8]{position:relative}.container .header .close[data-v-499318c8]{position:absolute;right:10px;top:10px;color:#fff;transition:all 1s;z-index:1;font-size:20px}.container .header .img-banner[data-v-499318c8]{width:100%;height:100%;background-image:url(../../assets/img/user-card-bg.f076172d.jpg);background-size:100%;transition:all .2s linear;cursor:pointer;overflow:hidden}.container .header .img-banner img[data-v-499318c8]:hover{transform:scale(1.1);filter:contrast(130%)}.container .main[data-v-499318c8]{padding:45px 16px 0!important}.container .footer[data-v-499318c8]{display:flex;justify-content:center;align-items:center;border-top:1px solid #f5eeee}.container .footer button[data-v-499318c8]{width:90%}.user-header[data-v-499318c8]{width:100%;height:80px;position:absolute;bottom:-40px;display:flex;flex-direction:row}.user-header .avatar[data-v-499318c8]{width:100px;flex-shrink:0;display:flex;justify-content:center}.user-header .avatar .avatar-box[data-v-499318c8]{width:80px;height:80px;background-color:#fff;border-radius:50%;display:flex;justify-content:center;align-items:center}.user-header .avatar .avatar-box img[data-v-499318c8]{height:70px;width:70px;border-radius:50%}.user-header .username[data-v-499318c8]{flex:auto;padding-top:45px;font-size:16px;font-weight:400}.user-header .username span[data-v-499318c8]{margin-left:5px}.user-header .username .share[data-v-499318c8]{display:inline-flex;width:50px;height:22px;background:#ff5722;color:#fff;align-items:center;justify-content:center;padding:3px 8px;border-radius:20px;transform:scale(.7);cursor:pointer}.user-header .username .share i[data-v-499318c8]{margin-top:2px}.user-header .username .share span[data-v-499318c8]{font-size:14px;margin-left:4px}.user-sign[data-v-499318c8]{min-height:26px;border-radius:5px;padding:5px;line-height:25px;background:#f3f5f7;color:#7d7d7d;font-size:12px;margin-bottom:20px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;position:relative}.user-sign .sign-arrow[data-v-499318c8]{position:absolute;width:0;height:0;font-size:0;border:5px solid hsla(0,0%,97%,0);border-bottom-color:#f3f5f7;left:28px;top:-9px}.card-rows .card-row[data-v-499318c8]{display:flex;justify-content:flex-start;height:35px;line-height:35px;font-size:14px;position:relative;cursor:pointer;color:#736f6f}.card-rows .card-row .label[data-v-499318c8]{width:30px;margin-right:20px;color:#cbc5c5;text-align:right}.card-rows .card-row .friend-remark[data-v-499318c8]{border-bottom:1px dashed #bec3d0;padding-bottom:2px;color:#736f6f;width:60%;padding-right:5px}.card-rows .card-row .el-icon-edit-outline[data-v-499318c8]{margin-left:3px!important}.footer[data-v-499318c8]{display:flex;justify-content:center;align-items:center;align-content:center}.previewBox[data-v-022a2c23]{position:fixed;top:0;left:0;right:0;bottom:0;background:hsla(0,0%,87%,.3);z-index:99999}.drawer-close[data-v-022a2c23]{position:absolute;top:60px;right:40px}.lemon-popover{border:1px solid #eee;font-size:14px;font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);z-index:10;background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.08);position:absolute;transform-origin:50% 150%}.lemon-popover__content{padding:15px;box-sizing:border-box;position:relative;z-index:1}.lemon-popover__arrow{left:50%;transform:translateX(-50%) rotate(45deg);position:absolute;z-index:0;bottom:-4px;box-shadow:3px 3px 7px rgba(0,0,0,.07);width:8px;height:8px;background:#fff}.lemon-slide-top-enter-active,.lemon-slide-top-leave-active{transition:all .2s cubic-bezier(.645,.045,.355,1)}.lemon-slide-top-enter,.lemon-slide-top-leave-to{transform:translateY(-10px) scale(.8);opacity:0}.lemon-tabs{background:#f6f6f6}.lemon-tabs-content{padding:15px}.lemon-tabs-content,.lemon-tabs-content__pane{width:100%;height:100%}.lemon-tabs-nav{display:flex;background:#eee}.lemon-tabs-nav__item{line-height:38px;padding:0 15px;cursor:pointer;transition:all .3s cubic-bezier(.645,.045,.355,1)}.lemon-tabs-nav__item--active{background:#f6f6f6}.lemon-button{outline:none;line-height:1.499;display:inline-block;font-weight:400;text-align:center;touch-action:manipulation;cursor:pointer;background-image:none;border:1px solid #ddd;box-sizing:border-box;white-space:nowrap;padding:0 15px;font-size:14px;border-radius:4px;height:32px;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:all .3s cubic-bezier(.645,.045,.355,1);color:rgba(0,0,0,.65);background-color:#fff;box-shadow:0 2px 0 rgba(0,0,0,.015);text-shadow:0 -1px 0 rgba(0,0,0,.12)}.lemon-button--color-default:hover:not([disabled]){border-color:#666;color:#333}.lemon-button--color-default:active{background-color:#ddd}.lemon-button--color-default[disabled]{cursor:not-allowed;color:#aaa;background:#eee}.lemon-button--color-grey{background:#e1e1e1;border-color:#e1e1e1;color:#666}.lemon-button--color-grey:hover:not([disabled]){border-color:#bbb}.lemon-badge{position:relative;display:inline-block}.lemon-badge__label{border-radius:10px;background:#f5222d;color:#fff;text-align:center;font-size:12px;font-weight:400;white-space:nowrap;box-shadow:0 0 0 1px #fff;z-index:10;position:absolute;transform:translateX(50%);transform-origin:100%;display:inline-block;padding:0 4px;height:18px;line-height:17px;min-width:10px;top:-4px;right:6px}.lemon-badge__label--dot{width:10px;height:10px;min-width:auto;padding:0;top:-3px;right:2px}.lemon-avatar{font-variant:tabular-nums;line-height:1.5;box-sizing:border-box;margin:0;padding:0;list-style:none;display:inline-block;text-align:center;background:#ccc;color:hsla(0,0%,100%,.7);white-space:nowrap;position:relative;overflow:hidden;vertical-align:middle;border-radius:4px}.lemon-avatar--circle{border-radius:50%}.lemon-avatar img{width:100%;height:100%;display:block}.lemon-contact{padding:10px 14px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:border-box;overflow:hidden;background:#efefef;text-align:left}.lemon-contact p{margin:0}.lemon-contact--active{background:#bebdbd}.lemon-contact:hover:not(.lemon-contact--active){background:#e3e3e3}.lemon-contact:hover:not(.lemon-contact--active) .el-badge__content{border-color:#ddd}.lemon-contact__avatar{float:left;margin-right:10px}.lemon-contact__avatar img{display:block}.lemon-contact__avatar .ant-badge-count{display:inline-block;padding:0 4px;height:18px;line-height:18px;min-width:18px;top:-4px;right:7px}.lemon-contact__label{display:flex}.lemon-contact__time{font-size:12px;line-height:18px;padding-left:6px;color:#999;white-space:nowrap}.lemon-contact__name{display:block;width:100%}.lemon-contact__content,.lemon-contact__name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.lemon-contact__content{font-size:12px;color:#999;height:18px;line-height:18px;margin-top:1px!important}.lemon-contact__content img{height:14px;display:inline-block;vertical-align:middle;margin:0 1px;position:relative;top:-1px}.lemon-contact--name-center .lemon-contact__label{padding-bottom:0;line-height:38px}.chat-area-pc *{margin:0;padding:0;box-sizing:border-box;outline:none;text-indent:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:16px}@keyframes a-chat-dialog{0%{transform:scale(.6);opacity:.4}to{opacity:1;transform:scale(1)}}@keyframes a-chat-check-pc{0%{transform:scale(.4) translate(-50%,-50%);opacity:.4}to{opacity:1;transform:scale(1) translate(-50%,-50%)}}.chat-area-h5 *{margin:0;padding:0;box-sizing:border-box;outline:none;text-indent:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-size:16px}@keyframes a-popup-mark{0%{background:transparent}to{background:rgba(0,0,0,.45)}}@keyframes a-popup-mark-leave{0%{background:rgba(0,0,0,.45)}to{background:transparent}}@keyframes a-popup-main{0%{bottom:-100%}to{bottom:0}}@keyframes a-popup-main-leave{0%{bottom:0}to{bottom:-100%}}.chat-rich-text{padding:10px;margin:0;background:transparent;border-radius:4px;outline:none;box-sizing:border-box;overflow-y:auto;font-size:16px;color:#333;vertical-align:text-bottom;transition:all .4s ease;word-break:break-all}.chat-rich-text .chat-img{min-width:20px;min-height:20px;max-width:100px;max-height:100px;vertical-align:bottom}.chat-rich-text .chat-tag{position:relative;margin:0 1px;white-space:pre-wrap;word-break:break-all}.chat-rich-text .chat-tag .at-user{color:#269aff}.chat-rich-text .chat-tag .chat-tag-tool{position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;height:0;white-space:nowrap}.chat-rich-text .chat-tag .chat-grid-input{white-space:pre-wrap;word-break:break-all}.chat-rich-text-disabled{cursor:not-allowed}.call-user-dialog{position:fixed;z-index:10000;border-radius:4px;padding:4px;width:180px;overflow:hidden;background:#fff;box-shadow:1px 3px 10px 2px rgba(6,21,50,.4)}.call-user-dialog,.call-user-dialog *{box-sizing:border-box}.call-user-dialog *{margin:0;padding:0;font-size:16px;color:#333}.call-user-dialog.chat-view-show{animation:a-chat-dialog .2s ease}.call-user-dialog .call-user-dialog-header{display:flex;align-items:center;justify-content:space-between;background:#fff;padding:6px 4px}.call-user-dialog .call-user-dialog-header .call-user-dialog-header-title{color:#333;font-weight:700;font-size:14px}.call-user-dialog .call-user-dialog-header .call-user-dialog-header-check{color:#269aff;font-size:12px;cursor:pointer}.call-user-dialog .call-user-dialog-main{max-height:240px;overflow-y:auto}.call-user-dialog .call-user-dialog-item{display:flex;align-items:center;color:#ccc;background:transparent;cursor:pointer;padding:4px;transition:all .3s ease;font-weight:700;font-size:14px;border-radius:4px}.call-user-dialog .call-user-dialog-item .call-user-dialog-item-name{transition:color .3s ease;color:#ccc}.call-user-dialog .call-user-dialog-item:hover{background:rgba(242,246,252,.3)}.call-user-dialog .call-user-dialog-item:hover .call-user-dialog-item-name{color:rgba(24,144,255,.6)}.call-user-dialog .call-user-dialog-item.call-user-dialog-item-active{background:#f2f6fc}.call-user-dialog .call-user-dialog-item.call-user-dialog-item-active .call-user-dialog-item-name{color:#1890ff}.call-user-dialog .call-user-dialog-empty{cursor:not-allowed;padding:4px 10px;color:#e8e8e8;font-weight:700;font-size:12px}.call-user-popup{position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;background:rgba(0,0,0,.45)}.call-user-popup *{margin:0;padding:0;box-sizing:border-box;font-size:16px;color:#333}.call-user-popup .call-user-popup-main{position:absolute;left:0;bottom:0;width:100%;height:86%;display:flex;flex-direction:column;background:#fff;border-radius:16px 16px 0 0;overflow:hidden;padding:14px}.call-user-popup .call-user-popup-header{display:flex;align-items:center}.call-user-popup .call-user-popup-header .popup-show{font-size:16px;color:#666}.call-user-popup .call-user-popup-header .popup-check{font-size:18px;color:#1890ff}.call-user-popup .call-user-popup-header .popup-title{flex:1;font-weight:700;font-size:21px;text-align:center}.call-user-popup .call-user-popup-search{display:flex;align-items:center;margin-top:20px;background:#f9f9f9;height:44px;border-radius:4px;padding:0 15px}.call-user-popup .call-user-popup-search .call-user-popup-search-input{width:100%;height:100%;background:transparent;padding-left:8px;outline:none;border:none;font-size:16px}.call-user-popup .call-user-popup-search .icon-search{width:auto;height:30px}.call-user-popup .call-user-popup-body{flex:1;padding-top:25px;overflow-y:auto}.call-user-popup .call-user-popup-body .call-user-popup-item{position:relative;padding:15px 10px;display:flex;align-items:center;border-bottom:1px solid #e8e8e8}.call-user-popup .call-user-popup-body .call-user-popup-item input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;opacity:0;box-sizing:border-box}.call-user-popup .call-user-popup-body .call-user-popup-item .user-popup-check-item-inner{position:relative;top:0;left:0;display:block;width:25px;height:25px;border-radius:50%;background-color:#fff;border:1px solid #d9d9d9;border-collapse:separate;transition:all .3s;box-sizing:border-box}.call-user-popup .call-user-popup-body .call-user-popup-item .user-popup-check-item-inner:after{position:absolute;top:50%;left:30%;display:table;width:5px;height:9px;border:3px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-60%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.call-user-popup .call-user-popup-body .call-user-popup-item.user-popup-check-item-check .user-popup-check-item-inner{background-color:#1890ff;border-color:#1890ff}.call-user-popup .call-user-popup-body .call-user-popup-item.user-popup-check-item-check .user-popup-check-item-inner:after{position:absolute;display:table;border:3px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-60%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.call-user-popup .call-user-popup-body .call-user-popup-empty{text-align:center;color:#ccc;font-weight:700;font-size:40px}.call-user-popup .call-user-popup-body .call-user-dialog-item-sculpture{width:35px;height:35px;border-radius:4px}.call-user-popup .call-user-popup-body .call-user-dialog-item-sculpture span{font-size:16px}.call-user-popup .call-user-popup-body .call-user-dialog-item-name{padding-left:8px;font-size:16px;line-height:35px;color:#333}.call-user-popup.chat-view-show{animation:a-popup-mark .3s ease}.call-user-popup.chat-view-show .call-user-popup-main{animation:a-popup-main .3s ease}.call-user-popup.chat-view-hidden{animation:a-popup-mark-leave .3s ease-in}.call-user-popup.chat-view-hidden .call-user-popup-main{animation:a-popup-main-leave .3s ease-in}.checkbox-dialog{position:fixed;top:0;left:0;margin:0;padding:0;width:100vw;height:100vh;box-sizing:border-box;background:rgba(0,0,0,.45);z-index:10000}.checkbox-dialog.chat-view-show .checkbox-dialog-container{transform-origin:0 0 0;animation:a-chat-check-pc .3s ease}.checkbox-dialog *{margin:0;padding:0;box-sizing:border-box}.checkbox-dialog .checkbox-dialog-container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:684px;height:540px;padding:14px 14px 0;border-radius:4px;background:#fff;box-shadow:1px 3px 10px 2px rgba(6,21,50,.2);overflow:hidden}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-header{display:flex;align-items:center;justify-content:space-between;height:22px;color:#9fa0a1;font-size:16px}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-header .checkbox-dialog-container-header-close{cursor:pointer}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body{display:flex;flex-direction:row;width:100%;height:calc(100% - 22px);padding-top:16px}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box{position:relative;width:50%;height:100%;padding-top:20px;padding-bottom:20px;padding-left:20px}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search{position:relative;padding-right:20px;margin-bottom:20px}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input{box-sizing:border-box;margin:0;font-variant:tabular-nums;list-style:none;font-feature-settings:"tnum";position:relative;display:inline-block;width:100%;height:32px;padding:4px 11px;color:rgba(0,0,0,.651);font-size:14px;line-height:1.5;background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:4px;transition:all .3s}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input::-moz-placeholder{color:#bfbfbf;opacity:1}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:-ms-input-placeholder{color:#bfbfbf}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input::-webkit-input-placeholder{color:#bfbfbf}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:-moz-placeholder-shown{text-overflow:ellipsis}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:placeholder-shown{text-overflow:ellipsis}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:focus,.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:hover{border-color:#40a9ff;border-right-width:1px!important}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search .checkbox-dialog-search-input:focus{outline:0;box-shadow:0 0 0 2px rgba(24,144,255,.2)}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-tags{width:100%;height:calc(100% - 98px);overflow-y:auto;overflow-x:hidden}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-tags:after{display:block;content:"";clear:both}@keyframes tag-scale{0%{transform:scale(0)}to{transform:scale(1)}}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-tags .checkbox-dialog-tag-item{float:left;display:flex;align-items:center;justify-content:center;margin-right:10px;margin-bottom:10px;background:#f1f1f2;border-radius:4px;font-size:12px;color:#666;padding:4px 8px;cursor:default;animation:tag-scale .3s ease}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-tags .checkbox-dialog-tag-item .checkbox-dialog-tag-item-close{cursor:pointer;margin-left:10px}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option{position:absolute;left:20px;bottom:20px;display:flex;align-items:center}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn{position:relative;width:76px;height:36px;text-align:center;color:#282a2d;border:1px solid #f4f4f5;background:transparent;cursor:pointer;outline:none;text-indent:8px;letter-spacing:8px;border-radius:4px;font-size:14px;transition:all .3s ease}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn:before{position:absolute;top:50%;left:50%;width:100%;height:100%;background-color:#000;border:inherit;border-radius:inherit;transform:translate(-50%,-50%);opacity:0;content:" "}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn:active:before{opacity:.1}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn.btn-submit{border:none;margin-right:16px;background:rgba(0,137,255,.6);color:#fff}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn.btn-submit:hover{background:#1890ff}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-option .checkbox-dialog-option-btn.btn-close:hover{border-color:#1890ff;color:#1890ff}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search-group{color:rgba(0,0,0,.651);line-height:1.5;list-style:none;font-feature-settings:"tnum";position:absolute;width:calc(100% - 20px);max-height:250px;top:calc(100% + 2px);left:0;z-index:1050;box-sizing:border-box;font-size:14px;font-variant:normal;background-color:#fff;border-radius:4px;outline:none;box-shadow:0 2px 8px rgba(0,0,0,.149);overflow-y:auto}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-left-box .checkbox-dialog-search-group .checkbox-dialog-search-empty{padding:34px 0;text-align:center;color:#ccc}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-right-box{width:50%;height:100%;padding-top:20px;border-left:1px solid #f1f1f2}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-right-box .checkbox-dialog-right-box-title{padding-left:20px;font-size:16px;height:22px;color:#333;font-weight:700}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-right-box .checkbox-dialog-check-group{width:calc(100% + 14px);height:calc(100% - 22px);padding-top:8px;padding-right:14px;overflow-x:hidden;overflow-y:auto}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item{position:relative;display:flex;align-items:center;padding-left:20px;height:44px;font-size:14px;transition:all .3s ease}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item:hover{background:#f1f1f2;cursor:pointer}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item input{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;width:100%;height:100%;cursor:pointer;opacity:0;box-sizing:border-box;touch-action:manipulation}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item .checkbox-dialog-check-item-inner{position:relative;top:0;left:0;display:block;width:18px;height:18px;margin-right:12px;border-radius:50%;background-color:#fff;border:1px solid #d9d9d9;border-collapse:separate;transition:all .3s;box-sizing:border-box}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item .checkbox-dialog-check-item-inner:after{position:absolute;top:50%;left:22%;display:table;width:4px;height:8px;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(0) translate(-50%,-50%);opacity:0;transition:all .1s cubic-bezier(.71,-.46,.88,.6),opacity .1s;content:" "}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item.checkbox-dialog-check-item-check .checkbox-dialog-check-item-inner{background-color:#1890ff;border-color:#1890ff}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item.checkbox-dialog-check-item-check .checkbox-dialog-check-item-inner:after{position:absolute;display:table;border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg) scale(1) translate(-50%,-50%);opacity:1;transition:all .2s cubic-bezier(.12,.4,.29,1.46) .1s;content:" "}.checkbox-dialog .checkbox-dialog-container .checkbox-dialog-container-body .checkbox-dialog-check-item .checkbox-dialog-check-item-label{display:flex;align-items:center;font-size:14px}.call-user-dialog-item-sculpture{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:8px;border-radius:4px;overflow:hidden;background:#1890ff;color:#fff;white-space:nowrap;font-size:12px}.call-user-dialog-item-sculpture *{margin:0;padding:0;box-sizing:border-box}.call-user-dialog-item-sculpture.is-avatar{background:#fff}.call-user-dialog-item-sculpture.is-avatar img{width:100%;height:100%}.call-user-dialog-item-sculpture span{font-size:12px;color:#fff}.call-user-dialog-item-name{flex:1;white-space:nowrap;line-height:24px;overflow:hidden;text-overflow:ellipsis;padding-right:10px;color:#666;font-size:14px}.call-user-dialog-main::-webkit-scrollbar,.checkbox-dialog-check-group::-webkit-scrollbar,.checkbox-dialog-tags::-webkit-scrollbar{width:6px;height:6px}.call-user-dialog-main::-webkit-scrollbar-thumb,.checkbox-dialog-check-group::-webkit-scrollbar-thumb,.checkbox-dialog-tags::-webkit-scrollbar-thumb{border-radius:10px;box-shadow:inset 0 0 5px rgba(97,184,179,.102);background-color:rgba(0,0,0,.2)}.call-user-dialog-main::-webkit-scrollbar-track,.checkbox-dialog-check-group::-webkit-scrollbar-track,.checkbox-dialog-tags::-webkit-scrollbar-track{box-shadow:inset 0 0 5px rgba(87,175,187,.102);border-radius:10px;background:#ededed}.chat-placeholder-wrap{position:absolute;top:0;margin:0;padding:10px;box-sizing:border-box;color:#ccc;pointer-events:none;font-style:oblique;word-break:break-all}.lemon-editor{height:200px;position:relative;flex-direction:column}.lemon-editor,.lemon-editor__tool{display:flex}.lemon-editor__tool{height:40px;align-items:center;justify-content:space-between;padding:0 5px}.lemon-editor__tool-left,.lemon-editor__tool-right{display:flex}.lemon-editor__tool-item{cursor:pointer;padding:4px 10px;height:28px;line-height:24px;color:#999;transition:all .3s ease;font-size:12px}.lemon-editor__tool-item [class^=lemon-icon-]{line-height:26px;font-size:22px}.lemon-editor__tool-item:hover{color:#333}.lemon-editor__tool-item--right{margin-left:auto}.lemon-editor__inner{flex:1;overflow-x:hidden;overflow-y:auto}.lemon-editor__inner::-webkit-scrollbar{width:5px;height:5px}.lemon-editor__inner::-webkit-scrollbar-track-piece{background-color:transparent}.lemon-editor__inner::-webkit-scrollbar-thumb:vertical{height:5px;background-color:#aaa}.lemon-editor__inner::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:transparent}.lemon-editor__clipboard-image{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#f4f4f4;z-index:1}.lemon-editor__clipboard-image img{max-height:66%;max-width:80%;background:#e9e9e9;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:pointer;border-radius:4px;margin-bottom:10px;border:3px dashed #ddd!important;box-sizing:border-box}.lemon-editor__clipboard-image .clipboard-popover-title{font-size:14px;color:#333}.lemon-editor__input{height:100%;box-sizing:border-box;border:none;outline:none;padding:0 10px}.lemon-editor__input::-webkit-scrollbar{width:5px;height:5px}.lemon-editor__input::-webkit-scrollbar-track-piece{background-color:transparent}.lemon-editor__input::-webkit-scrollbar-thumb:vertical{height:5px;background-color:#aaa}.lemon-editor__input::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:transparent}.lemon-editor__input .chat-rich-text{border-radius:0;min-height:100px;padding:0}.lemon-editor__input .chat-area-pc *,.lemon-editor__input .chat-rich-text *{font-size:14px}.lemon-editor__input div,.lemon-editor__input p{margin:0}.lemon-editor__input img{height:20px;padding:0 2px;pointer-events:none;position:relative;top:-1px;vertical-align:middle}.lemon-editor__footer{display:flex;height:52px;justify-content:flex-end;padding:0 10px;align-items:center}.lemon-editor__tip{margin-right:10px;font-size:12px;color:#999}.lemon-editor__emoji,.lemon-editor__tip{-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-editor__emoji .lemon-popover{background:#f6f6f6}.lemon-editor__emoji .lemon-popover__content{padding:0}.lemon-editor__emoji .lemon-popover__arrow{background:#f6f6f6}.lemon-editor__emoji .lemon-tabs-content{box-sizing:border-box;padding:8px;height:200px;overflow-x:hidden;overflow-y:auto;margin-bottom:8px}.lemon-editor__emoji .lemon-tabs-content::-webkit-scrollbar{width:5px;height:5px}.lemon-editor__emoji .lemon-tabs-content::-webkit-scrollbar-track-piece{background-color:transparent}.lemon-editor__emoji .lemon-tabs-content::-webkit-scrollbar-thumb:vertical{height:5px;background-color:#aaa}.lemon-editor__emoji .lemon-tabs-content::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:transparent}.lemon-editor__emoji-item{cursor:pointer;width:22px;padding:4px;border-radius:4px}.lemon-editor__emoji-item:hover{background:#e9e9e9}.lemon-messages{height:400px;overflow-x:hidden;overflow-y:auto;padding:10px 15px}.lemon-messages::-webkit-scrollbar{width:5px;height:5px}.lemon-messages::-webkit-scrollbar-track-piece{background-color:transparent}.lemon-messages::-webkit-scrollbar-thumb:vertical{height:5px;background-color:#aaa}.lemon-messages::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:transparent}.lemon-messages__load,.lemon-messages__time{text-align:center;font-size:12px}.lemon-messages__load{-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#999;line-height:30px}.lemon-messages__load .lemon-messages__loadend,.lemon-messages__load .lemon-messages__loading{display:none}.lemon-messages__load--ing .lemon-icon-loading{font-size:22px}.lemon-messages__load--end .lemon-messages__loadend,.lemon-messages__load--ing .lemon-messages__loading{display:block}.lemon-message{display:flex;padding:10px 0}.lemon-message__time{color:#b9b9b9;padding:0 5px}.lemon-message__inner{position:relative}.lemon-message__avatar{padding-right:10px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-message__avatar .lemon-avatar{cursor:pointer}.lemon-message__title{font-size:12px;line-height:16px;height:16px;padding-bottom:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none;color:#666}.lemon-message__content-flex,.lemon-message__title{display:flex}.lemon-message__content{font-size:14px;line-height:20px;padding:8px 10px;background:#fff;border-radius:4px;position:relative;margin:0}.lemon-message__content img,.lemon-message__content video{background:#e9e9e9;height:100px}.lemon-message__content:before{content:" ";position:absolute;top:6px;width:0;height:0;border:4px solid transparent;left:-4px;border-left:none;border-right-color:#fff}.lemon-message__content-after{display:block;width:48px;height:36px;padding-left:6px;flex:none;font-size:12px;color:#aaa;overflow:hidden;visibility:hidden}.lemon-message__status{position:absolute;top:23px;right:20px;color:#aaa;font-size:20px}.lemon-message__status .lemon-icon-loading,.lemon-message__status .lemon-icon-prompt{display:none}.lemon-message--status-failed .lemon-icon-prompt,.lemon-message--status-going .lemon-icon-loading{display:inline-block}.lemon-message--status-succeed .lemon-message__content-after{visibility:visible}.lemon-message--reverse,.lemon-message--reverse .lemon-message__content-flex{flex-direction:row-reverse}.lemon-message--reverse .lemon-message__content-after{padding-right:6px;padding-left:0;text-align:right}.lemon-message--reverse .lemon-message__title{flex-direction:row-reverse}.lemon-message--reverse .lemon-message__status{left:26px;right:auto}.lemon-message--reverse .lemon-message__content{background:#35d863}.lemon-message--reverse .lemon-message__content:before{content:" ";position:absolute;top:6px;width:0;height:0;border:4px solid transparent;left:auto;right:-4px;border-right:none;border-left-color:#35d863}.lemon-message--reverse .lemon-message__title{text-align:right}.lemon-message--reverse .lemon-message__avatar{padding-right:0;padding-left:10px}.lemon-message--hide-title .lemon-message__avatar{padding-top:10px}.lemon-message--hide-title .lemon-message__status{top:14px}.lemon-message--hide-title .lemon-message__content{position:relative;top:-10px}.lemon-message--hide-title .lemon-message__content:before{top:14px}.lemon-message-text .lemon-message__content img{width:18px;height:18px;display:inline-block;background:transparent;position:relative;top:-1px;padding:0 2px;vertical-align:middle}.lemon-message-image .lemon-message__content{padding:0;cursor:pointer;overflow:hidden}.lemon-message-image .lemon-message__content img{max-width:100%;min-width:100px;display:block}.lemon-message-file .lemon-message__content{display:flex;cursor:pointer;width:200px;background:#fff;padding:12px 18px;overflow:hidden}.lemon-message-file .lemon-message__content p{margin:0}.lemon-message-file__tip{display:none}.lemon-message-file__inner{flex:1}.lemon-message-file__name{font-size:14px}.lemon-message-file__byte{font-size:12px;color:#aaa}.lemon-message-file__sfx{display:flex;align-items:center;justify-content:center;font-weight:700;font-size:34px;color:#ccc}.lemon-message-event__content,.lemon-message-file__sfx{-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-message-event__content{display:inline-block;background:#e9e9e9;color:#aaa;font-size:12px;margin:0 auto;padding:5px 10px;border-radius:4px}.lemon-wrapper{display:flex;font-size:14px;font-family:Microsoft YaHei;background:#efefef;transition:all .4s cubic-bezier(.645,.045,.355,1);position:relative}.lemon-wrapper p{margin:0}.lemon-wrapper img{vertical-align:middle;border-style:none}.lemon-menu{align-items:center;width:60px;background:#1d232a;padding:15px 0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-menu,.lemon-menu__bottom{display:flex;flex-direction:column}.lemon-menu__bottom{position:absolute;bottom:0}.lemon-menu__avatar{margin-bottom:20px;cursor:pointer}.lemon-menu__item{color:#999;cursor:pointer;padding:14px 10px;max-width:100%;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}.lemon-menu__item--active{color:#0fd547}.lemon-menu__item:hover:not(.lemon-menu__item--active){color:#eee}.lemon-menu__item>*{font-size:24px}.lemon-menu__item .ant-badge-count{display:inline-block;padding:0 4px;height:18px;line-height:16px;min-width:18px}.lemon-menu__item .ant-badge-count,.lemon-menu__item .ant-badge-dot{box-shadow:0 0 0 1px #1d232a}.lemon-sidebar{width:250px;background:#efefef;display:flex;flex-direction:column}.lemon-sidebar__scroll{overflow-y:auto}.lemon-sidebar__scroll::-webkit-scrollbar{width:5px;height:5px}.lemon-sidebar__scroll::-webkit-scrollbar-track-piece{background-color:transparent}.lemon-sidebar__scroll::-webkit-scrollbar-thumb:vertical{height:5px;background-color:#aaa}.lemon-sidebar__scroll::-webkit-scrollbar-thumb:horizontal{width:5px;background-color:transparent}.lemon-sidebar__label{padding:6px 14px 6px 14px;color:#666;font-size:12px;margin:0;text-align:left}.lemon-sidebar .lemon-contact--active{background:#d9d9d9}.lemon-container{flex:1;display:flex;flex-direction:column;background:#f4f4f4;word-break:break-all;word-wrap:break-word;white-space:pre-wrap;position:relative;z-index:10}.lemon-container__title{padding:15px 15px}.lemon-container__displayname{font-size:16px}.lemon-vessel{flex:1;min-height:100px}.lemon-vessel,.lemon-vessel__left{display:flex;-webkit-box-flex:1}.lemon-vessel__left{flex-direction:column;flex:1}.lemon-vessel__right{flex:none}.lemon-messages{flex:1;height:auto}.lemon-drawer{position:absolute;top:0;overflow:hidden;background:#f6f6f6;z-index:11;display:none}.lemon-wrapper--drawer-show .lemon-drawer{display:block}.lemon-contact-info{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}.lemon-contact-info h4{font-size:16px;font-weight:400;margin:10px 0 20px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-wrapper--theme-blue .lemon-message__content{background:#f3f3f3}.lemon-wrapper--theme-blue .lemon-message__content:before{border-right-color:#f3f3f3}.lemon-wrapper--theme-blue .lemon-message--reverse .lemon-message__content{background:#e6eeff}.lemon-wrapper--theme-blue .lemon-message--reverse .lemon-message__content:before{border-left-color:#e6eeff}.lemon-wrapper--theme-blue .lemon-container{background:#fff}.lemon-wrapper--theme-blue .lemon-sidebar,.lemon-wrapper--theme-blue .lemon-sidebar .lemon-contact{background:#f9f9f9}.lemon-wrapper--theme-blue .lemon-sidebar .lemon-contact:hover:not(.lemon-contact--active){background:#f1f1f1}.lemon-wrapper--theme-blue .lemon-sidebar .lemon-contact--active{background:#e9e9e9}.lemon-wrapper--theme-blue .lemon-menu{background:#096bff}.lemon-wrapper--theme-blue .lemon-menu__item{color:hsla(0,0%,100%,.4)}.lemon-wrapper--theme-blue .lemon-menu__item:hover:not(.lemon-menu__item--active){color:hsla(0,0%,100%,.6)}.lemon-wrapper--theme-blue .lemon-menu__item--active{color:#fff;text-shadow:0 0 10px rgba(2,48,118,.4)}.lemon-wrapper--simple .lemon-menu,.lemon-wrapper--simple .lemon-sidebar{display:none}.lemon-contextmenu{border-radius:4px;font-size:14px;font-variant:tabular-nums;line-height:1.5;color:rgba(0,0,0,.65);z-index:9999;background-color:#fff;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,.06);position:absolute;transform-origin:50% 150%;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;min-width:120px}.lemon-contextmenu__item{font-size:14px;line-height:16px;padding:10px 15px;cursor:pointer;display:flex;align-items:center;color:#333}.lemon-contextmenu__item>span{display:inline-block;flex:none;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.lemon-contextmenu__item:hover{background:#f3f3f3;color:#000}.lemon-contextmenu__item:active{background:#e9e9e9}.lemon-contextmenu__icon{font-size:16px;margin-right:4px}.lemonani-spin{display:inline-block;animation:lemonani-spin 1s infinite}@keyframes lemonani-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@font-face{font-family:lemon-icons;src:url(data:font/woff;base64,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) format("woff")}[class*=" lemon-icon-"],[class^=lemon-icon-]{font-family:lemon-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block}.lemon-icon-loading:before{content:"\E633"}.lemon-icon-prompt:before{content:"\E71B"}.lemon-icon-message:before{content:"\E84A"}.lemon-icon-emoji:before{content:"\E6F6"}.lemon-icon-attah:before{content:"\E7E1"}.lemon-icon-image:before{content:"\E7DE"}.lemon-icon-folder:before{content:"\E7D1"}.lemon-icon-people:before{content:"\E715"}.lemon-icon-group:before{content:"\E6FF"}.lemon-icon-addressbook:before{content:"\E6E2"}.call-user-dialog{box-shadow:0 2px 8px rgba(0,0,0,.06)}.call-user-dialog .call-user-dialog-item{font-weight:400}.call-user-dialog .call-user-dialog-item .call-user-dialog-item-name{color:#666}.chat-list-item[data-v-294ef229]{display:flex;justify-content:flex-start;margin-bottom:15px}.chat-list-item .chat-list-avatar[data-v-294ef229]{width:40px;margin-right:10px}.chat-list-item .chat-list-body[data-v-294ef229]{flex:auto;position:relative}.chat-list-item .chat-list-body .chat-list-title[data-v-294ef229]{color:#666;margin-bottom:5px}.chat-list-item .chat-list-body .chat-list-title .time[data-v-294ef229]{font-size:12px;color:#ccc;margin-left:20px}.chat-list-item .chat-list-body .chat-list-text[data-v-294ef229]{padding:5px 10px;color:#909399;background-color:#f4f4f5}.chat-list-item .chat-list-body .chat-list-image[data-v-294ef229]{padding:5px 10px}.chat-list-item .chat-list-body .chat-list-tools[data-v-294ef229]{position:absolute;display:none;right:15px;top:-1px;font-size:18px;cursor:pointer}.chat-list-item .chat-list-body .chat-list-file .chat-file-content[data-v-294ef229]{display:flex;justify-content:flex-start}.chat-list-item .chat-list-body .chat-list-file .chat-file-content .chat-file-ext[data-v-294ef229]{margin:0 10px 10px 0}.chat-list-item .chat-list-body .chat-list-file .chat-file-content .chat-file-title .chat-file-name[data-v-294ef229]{display:flex;justify-content:space-between}.chat-list-item .chat-list-body .chat-list-file .chat-file-content .chat-file-title .chat-file-name .fileName[data-v-294ef229]{width:120px;margin-bottom:8px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.chat-list-item .chat-list-body .chat-list-file .chat-file-content .chat-file-title .chat-file-name .fileSize[data-v-294ef229]{color:#ccc;font-size:12px}.chat-list-item .chat-list-body .chat-list-file .chat-file-content .chat-file-title .chat-file-remark[data-v-294ef229]{font-size:12px;color:#aaa}.chat-list-item .chat-list-body:hover .chat-list-tools[data-v-294ef229]{display:block}.time[data-v-94e9276a]{font-size:13px;color:#999}.bottom[data-v-94e9276a]{line-height:12px}.button[data-v-94e9276a]{padding:0;float:right}.image[data-v-94e9276a]{width:100%;display:block}.clearfix[data-v-94e9276a]:after,.clearfix[data-v-94e9276a]:before{display:table;content:""}.clearfix[data-v-94e9276a]:after{clear:both}.chat-main[data-v-3e98c9b5]{margin:-20px -5px}.el-tab-body-list[data-v-3e98c9b5]{height:450px}.input-with-select[data-v-3e98c9b5]{width:250px}.el-select .el-input[data-v-3e98c9b5]{width:130px}.el-dialog .el-dialog__body[data-v-3e98c9b5]{padding:15px}.chat-file[data-v-3e98c9b5]{display:flex;justify-content:flex-start;align-items:center}.chat-file .fileExt[data-v-3e98c9b5]{width:30px;display:block}.chat-file .fileName[data-v-3e98c9b5]{margin-left:10px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.el-scrollbar__wrap[data-v-3e98c9b5]{overflow-x:hidden}.setting-item[data-v-6abb37da]{margin-bottom:20px;display:flex;justify-content:flex-start}.setting-item .setting-title[data-v-6abb37da]{text-align:right;width:120px;color:#666}.setting-item .setting-description[data-v-6abb37da]{margin-left:10px}.setting-item .setting-description .des-title[data-v-6abb37da]{color:#000;font-size:14px}.setting-item .setting-description .des-comment[data-v-6abb37da]{color:#999;font-size:12px}.group-item[data-v-6abb37da]{margin-bottom:20px;display:flex;justify-content:center}.group-item .group-avatar[data-v-6abb37da]{margin-right:10px}.group-item .group-content .group-title[data-v-6abb37da]{color:#333}.group-item .group-content .group-user[data-v-6abb37da]{color:#999}.top-item[data-v-069c0360]:hover{background:#e9e9e9;border-radius:6px}.chatTop .active[data-v-069c0360]{background:#d9d9d9;border-radius:6px}.top-item[data-v-069c0360]{padding:5px 0;width:46px;height:46px;display:flex;flex-direction:column;flex-basis:41px;justify-content:space-between;align-items:center;cursor:pointer}.top-item .avatar[data-v-069c0360]{align-content:center}.top-item .username[data-v-069c0360]{overflow:hidden;font-size:12px;color:#8f959e;transform:scale(.84);text-align:center;line-height:14px;word-break:break-all}.lum-dialog-box .mian[data-v-dcd1bb58]{height:240px;display:flex;justify-content:center;align-items:center;flex-direction:column}.lum-dialog-box .footer[data-v-dcd1bb58]{height:60px;text-align:center;line-height:60px;border-top:1px solid #f7f3f3}.music[data-v-dcd1bb58]{position:relative;width:120px;height:100px;border:8px solid #eae8e8;border-bottom:0;border-top-left-radius:110px;border-top-right-radius:110px}.music[data-v-dcd1bb58]:after,.music[data-v-dcd1bb58]:before{content:"";position:absolute;bottom:0;width:20px;height:40px;background-color:#eae8e8;border-radius:15px}.music[data-v-dcd1bb58]:before{right:-15px}.music[data-v-dcd1bb58]:after{left:-15px}.line[data-v-dcd1bb58]{position:absolute;width:6px;min-height:30px;transition:.5s;vertical-align:middle;bottom:0!important;box-shadow:inset 0 0 16px -2px rgba(0,0,0,.15)}.line-ani[data-v-dcd1bb58]{animation:equalize-dcd1bb58 4s 0s infinite;animation-timing-function:linear}.line1[data-v-dcd1bb58]{left:30%;bottom:0;animation-delay:-1.9s;background-color:#ff5e50}.line2[data-v-dcd1bb58]{left:40%;height:60px;bottom:-15px;animation-delay:-2.9s;background-color:#a64de6}.line3[data-v-dcd1bb58]{left:50%;height:30px;bottom:-1.5px;animation-delay:-3.9s;background-color:#5968dc}.line4[data-v-dcd1bb58]{left:60%;height:65px;bottom:-16px;animation-delay:-4.9s;background-color:#27c8f8}.line5[data-v-dcd1bb58]{left:70%;height:60px;bottom:-12px;animation-delay:-5.9s;background-color:#cc60b5}@keyframes equalize-dcd1bb58{0%{height:48px}4%{height:42px}8%{height:40px}12%{height:30px}16%{height:20px}20%{height:30px}24%{height:40px}28%{height:10px}32%{height:40px}36%{height:48px}40%{height:20px}44%{height:40px}48%{height:48px}52%{height:30px}56%{height:10px}60%{height:30px}64%{height:48px}68%{height:30px}72%{height:48px}76%{height:20px}80%{height:48px}84%{height:38px}88%{height:48px}92%{height:20px}96%{height:48px}to{height:48px}}.image-slot{display:flex;justify-content:center;align-items:center;width:100%;height:100%;background:#f5f7fa;color:#909399}.file-header[data-v-029f4e7e]{display:flex;justify-content:space-between;align-items:center;height:50px!important;background:#fff;border:1px solid #e6e6e6;border-bottom:none}.file-header .file-header-title[data-v-029f4e7e]{font-weight:700}.group-box[data-v-029f4e7e]{display:flex;flex-direction:column;background:#fff;border:1px solid #e6e6e6}.group-box .group-box-header[data-v-029f4e7e]{display:flex;justify-content:space-between;align-items:center;padding:0 15px;height:60px;border-bottom:1px solid #e6e6e6}.group-box .group-box-list[data-v-029f4e7e]{flex:1;overflow:auto}.group-box .group-box-page[data-v-029f4e7e]{padding-top:15px;height:48px}.chat-item[data-v-029f4e7e]{display:flex;align-items:center;padding:10px;cursor:pointer}.chat-item.active[data-v-029f4e7e],.chat-item[data-v-029f4e7e]:hover{background:#f5f5f5}.chat-item .chat-avatar[data-v-029f4e7e]{margin-right:10px}.chat-item .chat-avatar img[data-v-029f4e7e]{width:40px;height:40px;border-radius:50%}.chat-item .chat-content[data-v-029f4e7e]{flex-grow:1;display:flex;flex-direction:column}.chat-item .chat-content .chat-message[data-v-029f4e7e]{margin-top:5px}.chat-item .chat-content .chat-name[data-v-029f4e7e]{font-weight:700;margin-right:10px}.chat-item .chat-time[data-v-029f4e7e]{font-size:12px;color:#999}.group-user-box[data-v-029f4e7e]{border-left:none}.file-list[data-v-029f4e7e]{display:flex;justify-content:flex-start;flex-wrap:wrap;padding:20px 0 0 20px}.file-item[data-v-029f4e7e]{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;padding:10px;width:120px;border:1px solid #eee;border-radius:8px;margin-right:20px;margin-bottom:20px;position:relative;overflow:hidden}.file-item .file-img .img[data-v-029f4e7e]{width:120px;height:120px;border-radius:8px}.file-item .file-name[data-v-029f4e7e]{text-align:center;text-overflow:ellipsis;width:110px;overflow:hidden;white-space:nowrap}.file-item:hover .file-opt[data-v-029f4e7e]{bottom:0}.file-item .file-opt[data-v-029f4e7e]{display:flex;justify-content:center;align-items:center;width:100%;margin-top:10px;position:absolute;bottom:-50px;background:#fff;transition:bottom .3s ease-out}[data-v-029f4e7e] .el-card__body{padding:0!important}.slider-aside[data-v-37188710]{height:50px!important;background-color:#f9f9f9}.tab-diy[data-v-37188710]{width:250px;margin:0 auto}[data-v-37188710] .el-tabs__nav-wrap:after{height:0!important} +/*! + * Cropper.js v1.5.13 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2022-11-20T05:30:43.444Z + */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.33333%;left:0;top:33.33333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.33333%;top:0;width:33.33333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.sc-cropper[data-v-5f07d210]{height:300px}.sc-cropper__img[data-v-5f07d210]{height:100%;width:400px;float:left;background:#ebeef5}.sc-cropper__img img[data-v-5f07d210]{display:none}.sc-cropper__preview[data-v-5f07d210]{width:120px;margin-left:20px;float:left}.sc-cropper__preview h4[data-v-5f07d210]{font-weight:400;font-size:12px;color:#999;margin-bottom:20px}.sc-cropper__preview__img[data-v-5f07d210]{overflow:hidden;width:120px;height:120px;border:1px solid #ebeef5}.user-center[data-v-05277269]{width:100%;height:100%;display:flex;justify-content:flex-start}.user-center .user-avatar[data-v-05277269]{width:240px;display:flex;justify-content:flex-start;align-items:center;flex-direction:column}.user-center .user-info[data-v-05277269]{flex:1}.setting-switch[data-v-05277269]{margin:0 30px 20px}.setting-version[data-v-05277269]{margin:10px 20px;line-height:2}.fc-primary[data-v-05277269]{color:#409eff}.about-logo[data-v-05277269]{text-align:center;width:200px}[data-v-05277269] .el-tabs__nav{margin-top:20px;width:120px}.dialog-main[data-v-18f3aea4]{height:400px;overflow-y:auto}.member-list[data-v-18f3aea4]{display:flex;justify-content:flex-start;flex-wrap:wrap;padding:20px 0 20px 20px}.member-list .member-item[data-v-18f3aea4]{display:flex;align-items:center;flex-wrap:wrap;padding:10px;width:512px;border:1px solid #eee;border-radius:8px;margin-right:20px;margin-bottom:20px}.member-list .member-item[data-v-18f3aea4]:last-child{margin-right:0}.member-list .member-item .member-avatar[data-v-18f3aea4]{margin-right:10px}.member-list .member-item .member-avatar img[data-v-18f3aea4]{width:44px;height:44px;border-radius:50%}.member-list .member-item .member-content[data-v-18f3aea4]{flex-grow:1;display:flex;justify-content:space-between}.member-list .member-item .member-content .member-header[data-v-18f3aea4]{display:flex;align-items:flex-start;flex-direction:column}.member-list .member-item .member-content .member-header .member-name[data-v-18f3aea4]{font-weight:700;margin-right:10px}.member-list .member-item .member-content .member-header .member-account[data-v-18f3aea4]{margin-top:3px;font-size:12px;color:#999}.member-list .member-item .member-content .member-actions[data-v-18f3aea4]{display:flex;justify-content:flex-end}.sc-state[data-v-bf2f9cfc]{display:inline-block;background:var(--el-color-primary);width:6px;height:6px;margin:0 3px 3px;border-radius:50%;vertical-align:middle}.sc-status-processing[data-v-bf2f9cfc]{position:relative}.sc-status-processing[data-v-bf2f9cfc]:after{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:50%;background:inherit;content:"";animation:warns-bf2f9cfc 1.2s ease-in-out infinite}.sc-state-bg--primary[data-v-bf2f9cfc]{background:var(--el-color-primary)}.sc-state-bg--success[data-v-bf2f9cfc]{background:var(--el-color-success)}.sc-state-bg--warning[data-v-bf2f9cfc]{background:var(--el-color-warning)}.sc-state-bg--danger[data-v-bf2f9cfc]{background:var(--el-color-danger)}.sc-state-bg--info[data-v-bf2f9cfc]{background:var(--el-color-info)}@keyframes warns-bf2f9cfc{0%{transform:scale(.5);opacity:1}30%{opacity:.7}to{transform:scale(2.5);opacity:0}}.tab-main[data-v-e57a8f0a]{padding:0 10px 5px}.tab-main .tab-item[data-v-e57a8f0a]{cursor:pointer;padding:3px 6px;min-width:50px;text-align:center;vertical-align:middle}.tab-main .tab-item.active[data-v-e57a8f0a]{box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04);background-color:#fff;color:#18bc37}.webrtc-box[data-v-33f9f506]{background:#fff;padding:20px 5px 10px;border-radius:6px;width:300px;max-height:600px;position:fixed;right:20px;bottom:20px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:99999}.webrtc-box .webrtc-box-title[data-v-33f9f506]{font-size:16px;font-weight:700;padding:5px;display:flex;justify-content:space-around}.localvideo[data-v-33f9f506],.remotevideo[data-v-33f9f506]{width:300px;height:200px}.calling-button[data-v-33f9f506]{display:flex;justify-content:space-around;padding:20px}.calling-button .button[data-v-33f9f506]{display:flex;flex-direction:column;align-items:center;justify-content:center}.calling-button .button .image[data-v-33f9f506]{width:60px;height:60px;margin-bottom:10px}.calling-button .button .image-icon[data-v-33f9f506]{width:30px;height:30px;margin-bottom:10px}.call-user[data-v-33f9f506]{display:flex;justify-content:center;align-items:center;flex-direction:column}.call-user .avatar[data-v-33f9f506]{width:60px;height:60px;-o-object-fit:contain;object-fit:contain;border-radius:50%;overflow:hidden}.call-user .text[data-v-33f9f506]{font-size:16px;margin-top:15px}.call-time[data-v-33f9f506]{color:#999;font-size:24px;text-align:center}.slider-aside[data-v-5aced73a]{height:50px!important;background-color:#f9f9f9}.tab-diy[data-v-5aced73a]{width:160px;margin:0 auto}[data-v-5aced73a] .el-tabs__nav-wrap:after{height:0!important}.apply-list[data-v-5aced73a]{display:flex;flex-direction:column;height:100%;background:#fff!important}.apply-list .apply-list-main[data-v-5aced73a]{flex:1;overflow:auto}.apply-list .apply-list-main .apply-list-item[data-v-5aced73a]{display:flex;justify-content:flex-start;align-items:center;border-bottom:1px solid #f6f6f6;padding:10px}.apply-list .apply-list-main .apply-list-item[data-v-5aced73a]:hover{background-color:#f6f6f6}.apply-list .apply-list-main .apply-list-item .avatar[data-v-5aced73a]{width:40px;margin-right:10px}.apply-list .apply-list-main .apply-list-item .main[data-v-5aced73a]{flex:1}.apply-list .apply-list-main .apply-list-item .option[data-v-5aced73a]{width:90px}.apply-list .apply-list-page[data-v-5aced73a]{height:50px}.main-container[data-v-6c5c2dba]{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;background-size:cover}.messageBoxStyle[data-v-6c5c2dba]{position:fixed;top:0;left:0;height:100vh;width:100%;z-index:1999;background:rgba(0,0,0,.5);overflow-y:visible}.messageBoxStyle .el-dialog__wrapper[data-v-6c5c2dba]{display:flex;align-items:center}.chat-box[data-v-6c5c2dba]{box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.cover[data-v-6c5c2dba]{text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;position:absolute;top:45%;left:50%;transform:translate(-50%,-50%)}.cover i[data-v-6c5c2dba]{font-size:84px;color:#e6e6e6}.cover p[data-v-6c5c2dba]{font-size:18px;color:#ddd;line-height:50px}.displayName[data-v-6c5c2dba]{font-size:16px;visibility:visible}.contact-fixedtop-box[data-v-6c5c2dba]{margin:15px 10px 5px;display:flex;align-items:center;justify-content:space-between;visibility:visible;position:relative}.search-list[data-v-6c5c2dba]{background:#fff;position:absolute;z-index:99;top:40px;width:230px;height:300px;box-shadow:0 2px 4px rgba(0,0,0,.12);overflow:auto;border:1px solid #e6e6e6}.search-list .search-list-item[data-v-6c5c2dba] :hover{background:#f1f1f1}.search-list .lemon-contact[data-v-6c5c2dba]{background:#fff}.search-list-item[data-v-6c5c2dba] .lemon-contact{padding:10px}.chat-top-list[data-v-6c5c2dba]{display:flex;padding:0 5px 10px 10px;justify-content:flex-start;flex-wrap:wrap}.message-title-box[data-v-6c5c2dba]{display:flex;align-items:center;justify-content:space-between;visibility:visible}.message-title-tools[data-v-6c5c2dba]{font-size:20px;color:#999;letter-spacing:5px;cursor:pointer}.editInput[data-v-6c5c2dba]{font-size:18px;border:none;width:400px}.editInput[data-v-6c5c2dba]:focus{outline:0 auto -webkit-focus-ring-color}.lemon-last-content[data-v-6c5c2dba]{display:flex;justify-content:space-between}.lemon-last-content .lastContent[data-v-6c5c2dba]{width:150px!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.slot-group-list[data-v-6c5c2dba]{background:#fff;width:180px;border-left:1px solid #e6e6e6;height:100%;white-space:normal}.slot-group-list .group-side-box .group-side-title[data-v-6c5c2dba]{padding:5px 10px}.slot-group-list .group-side-box .group-side-body[data-v-6c5c2dba]{height:85px;padding:10px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical}.slot-group-list .group-side-box .group-user-body[data-v-6c5c2dba]{min-height:410px}.slot-group-list .group-side-box .group-user-body .lemon-contact[data-v-6c5c2dba]{background:none}.slot-group-list .group-side-box .group-user-body .user-list[data-v-6c5c2dba]{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;justify-content:flex-start;padding:5px}.slot-group-list .group-side-box .group-user-body .user-list .user-avatar[data-v-6c5c2dba]{margin:3px 8px 0 0;line-height:10px}.slot-group-list .group-side-box .group-user-body .user-list .user-name[data-v-6c5c2dba]{width:100px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.slot-group-list .group-side-box .group-user-body .user-list .user-role[data-v-6c5c2dba]{width:20px}.slot-group-list .group-side-box .group-user-body .user-list[data-v-6c5c2dba]:hover{background:#e6e6e6}.group-side-title[data-v-6c5c2dba]{display:flex;flex-direction:row;align-items:center;flex-wrap:nowrap;justify-content:space-between}.group-notice[data-v-6c5c2dba]{height:140px}.group-user[data-v-6c5c2dba]{min-height:300px;overflow:auto}.lemon-contact-item[data-v-6c5c2dba]{padding:10px}.at-item[data-v-6c5c2dba]{background-color:#fff;border-radius:30px;color:#18bc37;padding:6px 8px;border:1px solid}.el-badge[data-v-6c5c2dba] .el-badge__content{background-color:#f5222d}.message-quote[data-v-6c5c2dba]{padding:4px;font-size:12px;background-color:#e3e3e3;border-radius:4px}.message-quote .text-overflow[data-v-6c5c2dba]{overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important;width:200px}.lemon-editor__tool{border-top:1px solid #e6e6e6}.no-internet{background-color:#fef0f0;color:#f56c6c}.lemon-contact{padding:0}.lemon-contact--active .bg-gray{background:#d9d9d9}.bg-gray{background-color:#e7e7e7}.lemon-wrapper--theme-blue .lemon-contact--active .bg-gray{background:#e7e7e7!important}.lemon-wrapper--theme-blue .bg-gray{background-color:#efefef!important}.bage-gray{background-color:#ccc}.lemon-editor__tip{flex:1}.lemon-contact.lemon-contact--name-center{padding:10px}.messageBoxStyle[data-v-6e7fdceb]{position:fixed;top:0;left:0;height:100vh;width:100%;z-index:1999;background:rgba(0,0,0,.5);overflow-y:visible}.messageBoxStyle .el-dialog__wrapper[data-v-6e7fdceb]{display:flex;align-items:center}.sideMenu-message[data-v-6e7fdceb]{margin-top:0!important;height:580px;border-radius:4px}.sideMenu-message .el-tab-pane[data-v-6e7fdceb]{background:#fff}[data-v-6e7fdceb] .el-dialog__header{display:none}[data-v-6e7fdceb] .el-dialog__body{padding:0}.main-container[data-v-2b35c012]{padding:50px 10%}.main-container .im-title[data-v-2b35c012]{display:flex;align-items:center;margin-bottom:20px}.main-container .im-title .logo[data-v-2b35c012]{width:80px;height:80px;background:#eee;border-radius:50%;margin-right:20px}.main-container .im-title .im-content .im-name[data-v-2b35c012]{font-weight:600;margin-bottom:5px;display:flex;align-items:flex-start}.main-container .im-title .im-content .im-des[data-v-2b35c012]{font-size:18px;color:#999;margin-bottom:10px}.main-container .code-url[data-v-2b35c012]{display:flex;flex-wrap:wrap;align-items:center}.main-container .tip[data-v-2b35c012]{padding:8px 16px;background-color:#ecf8ff;border-radius:4px;border-left:5px solid #50bfff}.main-container .tip p[data-v-2b35c012]{font-size:14px;color:#5e6d82;line-height:1.8}.main-container .danger[data-v-2b35c012]{padding:8px 16px;background-color:#fef0f0;border-radius:4px;border-left:5px solid #f56c6c}.main-container .danger p[data-v-2b35c012]{font-size:14px;color:#5e6d82;line-height:1.8}.main-container .warning[data-v-2b35c012]{padding:8px 16px;background-color:#fdf6ec;border-radius:4px;border-left:5px solid #e6a23c}.main-container .warning p[data-v-2b35c012]{font-size:14px;color:#5e6d82;line-height:1.8}.main-container .success[data-v-2b35c012]{padding:8px 16px;background-color:#f0f9eb;border-radius:4px;border-left:5px solid #67c23a}.main-container .success p[data-v-2b35c012]{font-size:14px;color:#5e6d82;line-height:1.8}.main-container .info[data-v-2b35c012]{padding:8px 16px;background-color:#f4f4f5;border-radius:4px;border-left:5px solid #909399}.main-container .info p[data-v-2b35c012]{font-size:14px;color:#5e6d82;line-height:1.8}.main-container .contact-main .contact-box .contact-item[data-v-2b35c012]{width:300px;display:flex;align-items:center;padding:10px 0;border-bottom:1px solid #eee}.main-container .contact-main .contact-box .contact-item .el-avatar[data-v-2b35c012]{margin-right:10px}.main-container .contact-main .contact-box .contact-item div[data-v-2b35c012]{display:flex;align-items:center;margin-left:auto}.main-container .demo-btn[data-v-2b35c012]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.main-container .demo-btn .item[data-v-2b35c012]{margin-right:20px}@media screen and (max-width:768px){.main-container[data-v-2b35c012]{padding:15px}}[data-v-2b35c012] .el-tooltip__popper{padding:0!important}.el-image{overflow:inherit}.main-container[data-v-f0e47f02]{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;background-size:cover}.chat-box[data-v-f0e47f02]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 2px 4px rgba(0,0,0,.12),0 0 6px rgba(0,0,0,.04)}.login-wrapper{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;background-size:cover}.login-wrapper .form-box{width:300px;padding:15px 30px 20px;background:#fff;border-radius:4px;box-shadow:0 15px 30px 0 rgba(0,0,1,.1)}.login-wrapper .form-box .form-title{margin:0 auto 35px;text-align:center;color:#707070;font-size:18px;letter-spacing:2px}.login-wrapper .remenber{display:flex;justify-content:space-between;align-items:center}.login-wrapper[data-v-021f4740]{display:flex;justify-content:center;align-items:center;width:100%;height:100vh;background-size:cover}.login-wrapper .form-box[data-v-021f4740]{width:240px;padding:15px 30px 20px;background:#fff;border-radius:4px;box-shadow:0 15px 30px 0 rgba(0,0,1,.1)}.login-wrapper .form-box .form-title[data-v-021f4740]{margin:0 auto 35px;color:#707070;font-size:18px;letter-spacing:2px;display:flex;justify-content:space-between;align-items:center}.logo[data-v-482b879c]{display:flex;align-items:center;justify-content:flex-start}.logo img[data-v-482b879c]{width:40px;height:40px;overflow:hidden}.text-center[data-v-482b879c]{text-align:center}.title[data-v-482b879c]{font-size:20px;font-weight:700}.text-right[data-v-482b879c]{text-align:right}.user[data-v-482b879c]{display:flex;align-items:center;justify-content:flex-end}.avatar[data-v-482b879c]{display:inline-block;width:40px;height:40px;border-radius:50%;overflow:hidden}.avatar img[data-v-482b879c]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.message[data-v-482b879c]{margin-right:20px;cursor:pointer}.username[data-v-482b879c]{margin-left:5px}.main-aside[data-v-482b879c]{width:200px;border-right:1px solid #e6e6e6;display:flex;flex-flow:column;flex-shrink:0;transition:width .2s}.main-aside .aside-menu[data-v-482b879c]{overflow:auto;overflow-x:hidden;flex:1;margin:0;padding:0;box-sizing:border-box;outline:none}.main-aside .aside-bottom[data-v-482b879c]{border-top:1px solid #ebeef5;height:50px;cursor:pointer;display:flex;align-items:center;justify-content:center}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:2px solid transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@keyframes nprogress-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.lemon-message.lemon-message-voice{-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-message.lemon-message-voice .lemon-message__content{font-size:12px;cursor:pointer;background:#e7f0f3!important;border-radius:18px!important}.lemon-message.lemon-message-voice .lemon-message__content:before{display:none}.voice-icon{animation:twinkle .5s infinite alternate}@keyframes twinkle{0%{opacity:.8}to{opacity:.2}}.video-card{min-width:60px;max-width:400px;color:#666;position:relative}.video-shadow{position:absolute;width:100%;height:100%;background:hsla(0,0%,51%,.529);z-index:9;top:0}.video-icon{position:absolute;top:50%;z-index:10;transform:translate(-50%,-50%);left:50%}.lemon-message.lemon-message-video{-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-message.lemon-message-video .lemon-message__content{padding:0;font-size:12px;cursor:pointer;background:#e7f0f3!important;border-radius:6px!important;overflow:hidden}.lemon-message.lemon-message-video .lemon-message__content:before{display:none}.voice-card{min-width:60px;max-width:200px;color:#666}.lemon-message.lemon-message-webrtc{-webkit-user-select:none;-moz-user-select:none;user-select:none}.lemon-message.lemon-message-webrtc .lemon-message__content{font-size:12px;cursor:pointer;background:#e7f0f3!important}.lemon-message.lemon-message-webrtc .lemon-message__content:before{display:none}.lemon-message__content img[data-v-8e81f66c]{background-color:#fff}.lemon-message-file .lemon-message>.content[data-v-8e81f66c]{display:flex;cursor:pointer;width:200px;background:#fff;padding:12px 18px;overflow:hidden}.lemon-message-file .lemon-message>.content p[data-v-8e81f66c]{margin:0}.lemon-message-file .lemon-message>.tip[data-v-8e81f66c]{display:none}.lemon-message-file .lemon-message>.inner[data-v-8e81f66c]{background-color:#fff;flex:1}.lemon-message-file .lemon-message>.name[data-v-8e81f66c]{font-size:14px}.lemon-message-file .lemon-message>.byte[data-v-8e81f66c]{font-size:12px;color:#aaa}.lemon-message-file .lemon-message>.sfx[data-v-8e81f66c]{display:flex;align-items:center;justify-content:center;font-weight:700;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-size:34px;color:#ccc}.lemon-message-text .lemon-message .content img[data-v-bf5aa10c]{width:18px;height:18px;display:inline-block;background:transparent;position:relative;top:-1px;padding:0 2px;vertical-align:middle}.message-quote[data-v-bf5aa10c]{padding:3px 5px;font-size:12px;margin-top:10px;background-color:#fff;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap!important;max-width:240px;border-radius:4px;border-left:4px solid #999} \ No newline at end of file diff --git a/public/assets/fonts/element-icons.f1a45d74.ttf b/public/assets/fonts/element-icons.f1a45d74.ttf new file mode 100644 index 0000000..91b74de Binary files /dev/null and b/public/assets/fonts/element-icons.f1a45d74.ttf differ diff --git a/public/assets/fonts/element-icons.ff18efd1.woff b/public/assets/fonts/element-icons.ff18efd1.woff new file mode 100644 index 0000000..02b9a25 Binary files /dev/null and b/public/assets/fonts/element-icons.ff18efd1.woff differ diff --git a/public/assets/img/404.42feab21.png b/public/assets/img/404.42feab21.png new file mode 100644 index 0000000..14fa725 Binary files /dev/null and b/public/assets/img/404.42feab21.png differ diff --git a/public/assets/img/h5.png b/public/assets/img/h5.png new file mode 100644 index 0000000..b326fb1 Binary files /dev/null and b/public/assets/img/h5.png differ diff --git a/public/assets/img/invite.108c2fc8.png b/public/assets/img/invite.108c2fc8.png new file mode 100644 index 0000000..91b0b2e Binary files /dev/null and b/public/assets/img/invite.108c2fc8.png differ diff --git a/public/assets/img/login-background.4d69904c.jpg b/public/assets/img/login-background.4d69904c.jpg new file mode 100644 index 0000000..aebebd4 Binary files /dev/null and b/public/assets/img/login-background.4d69904c.jpg differ diff --git a/public/assets/img/logo.e8099414.png b/public/assets/img/logo.e8099414.png new file mode 100644 index 0000000..093d10c Binary files /dev/null and b/public/assets/img/logo.e8099414.png differ diff --git a/public/assets/img/logo.png b/public/assets/img/logo.png new file mode 100644 index 0000000..093d10c Binary files /dev/null and b/public/assets/img/logo.png differ diff --git a/public/assets/img/user-card-bg.f076172d.jpg b/public/assets/img/user-card-bg.f076172d.jpg new file mode 100644 index 0000000..ab4be9d Binary files /dev/null and b/public/assets/img/user-card-bg.f076172d.jpg differ diff --git a/public/assets/js/133.3a1dfa9e.js b/public/assets/js/133.3a1dfa9e.js new file mode 100644 index 0000000..33effd0 --- /dev/null +++ b/public/assets/js/133.3a1dfa9e.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[133],{4133:function(s,t,a){a.r(t),a.d(t,{default:function(){return c}});var l=function(){var s=this,t=s._self._c;return t("div",{staticClass:"error-wrapper"},[t("div",{staticClass:"error-content"},[t("el-row",{attrs:{gutter:15}},[t("el-col",{attrs:{xs:24,sm:24,md:12,lg:12,xl:12}},[t("div",{staticClass:"pic-error"},[t("img",{attrs:{src:a(5456),alt:"401"}})])]),t("el-col",{attrs:{xs:24,sm:24,md:12,lg:12,xl:12}},[t("div",{staticClass:"bullshit"},[t("div",{staticClass:"bullshit-oops"},[s._v("抱歉!")]),t("div",{staticClass:"bullshit-headline"},[s._v(s._s(s.msg))]),t("div",{staticClass:"bullshit-info"},[s._v(s._s(s.des))]),t("a",{staticClass:"bullshit-return-home",attrs:{href:"#/"}},[s._v("返回首页")])])])],1)],1)])},e=[],i={name:"Page404",data(){return{msg:"当前页面不存在...",des:""}},mounted(){let s=this.$route.query;this.msg=s.msg,""==this.msg&&(this.des="请检查您输入的网址是否正确,或点击下面的按钮返回首页!")}},r=i,n=a(1001),u=(0,n.Z)(r,l,e,!1,null,null,null),c=u.exports},5456:function(s,t,a){s.exports=a.p+"assets/img/404.42feab21.png"}}]); \ No newline at end of file diff --git a/public/assets/js/173.9e08cf23.js b/public/assets/js/173.9e08cf23.js new file mode 100644 index 0000000..c3fbf2b --- /dev/null +++ b/public/assets/js/173.9e08cf23.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[173],{4173:function(t,e,s){s.r(e),s.d(e,{default:function(){return u}});var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pd-20"},[e("el-container",[e("el-aside",{attrs:{width:"320px"}},[e("div",{staticClass:"lz-flex group-box"},[t.showSearch?e("div",{staticClass:"group-box-header"},[e("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入关键字搜索"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleChange.apply(null,arguments)}},model:{value:t.params.keywords,callback:function(e){t.$set(t.params,"keywords",e)},expression:"params.keywords"}},[e("el-button",{attrs:{slot:"prepend",icon:"el-icon-back"},on:{click:function(e){t.showSearch=!1}},slot:"prepend"}),e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.handleChange},slot:"append"})],1)],1):e("div",{staticClass:"group-box-header"},[e("div",[t._v("群列表")]),e("div",[e("el-button",{attrs:{plain:"",circle:"",icon:"el-icon-search",title:"搜索"},on:{click:function(e){t.showSearch=!0}}}),e("el-button",{attrs:{plain:"",round:""},on:{click:function(e){t.createChatBox=!0,t.isAdd=!0}}},[t._v("创建群聊")])],1)]),e("div",{staticClass:"group-box-list"},[e("el-scrollbar",t._l(t.chats,(function(s){return e("div",{key:s.group_id,staticClass:"chat-item",class:t.active==s.group_id?"active":"",on:{click:function(e){return t.openGroup(s)}}},[e("div",{staticClass:"chat-avatar"},[e("img",{attrs:{src:s.avatar,alt:"avatar"}})]),e("div",{staticClass:"chat-content"},[e("span",{staticClass:"chat-name"},[t._v(t._s(s.name))]),e("p",{staticClass:"chat-message c-999"},[t._v(" 创建人:"+t._s(s.owner_id_info.realname))])]),e("div",{staticClass:"chat-time"},[t._v(" "+t._s(s.reate_time)+" ")])])})),0)],1),e("div",{staticClass:"group-box-page",attrs:{align:"center"}},[e("el-pagination",{attrs:{background:"",total:t.total,"current-page":t.params.page,"page-size":t.params.limit,layout:"total, prev, next , jumper"},on:{"current-change":t.getGroupList,"update:currentPage":function(e){return t.$set(t.params,"page",e)},"update:current-page":function(e){return t.$set(t.params,"page",e)},"update:pageSize":function(e){return t.$set(t.params,"limit",e)},"update:page-size":function(e){return t.$set(t.params,"limit",e)}}})],1)])]),e("el-main",{staticStyle:{padding:"0"}},[e("div",{staticClass:"lz-flex group-box group-user-box"},[e("div",{staticClass:"group-box-header"},[e("div",[t._v("群成员")]),t.members.length>0?e("div",[e("el-button",{attrs:{plain:"",round:""},on:{click:t.openAddUser}},[t._v("添加成员")]),e("el-button",{attrs:{type:"warning",plain:"",round:""},on:{click:t.openMessageBox}},[t._v("群聊监控")]),e("el-button",{attrs:{type:"danger",plain:"",round:""},on:{click:t.delGroup}},[t._v("解散群聊")])],1):t._e()]),e("div",{staticClass:"group-box-list"},[e("el-scrollbar",[t.members.length>0?e("div",{staticClass:"member-list"},t._l(t.members,(function(s){return e("div",{key:s.id,staticClass:"member-item"},[e("div",{staticClass:"member-avatar"},[e("img",{attrs:{src:s.userInfo.avatar,alt:"avatar"}})]),e("div",{staticClass:"member-content"},[e("div",{staticClass:"member-header"},[e("span",{staticClass:"member-name"},[t._v(t._s(s.userInfo.displayName))]),1==s.role?e("el-tag",{staticClass:"mt-3",attrs:{type:"warning",size:"mini"}},[t._v("群主")]):t._e(),2==s.role?e("el-tag",{staticClass:"mt-3",attrs:{type:"info",size:"mini"}},[t._v("管理员")]):t._e(),3==s.role?e("span",{staticClass:"member-role mt-3"},[t._v("普通成员")]):t._e()],1),e("div",{staticClass:"member-actions"},[e("el-dropdown",{on:{command:function(e){return t.handleCommand(s,e)}}},[e("el-button",{attrs:{type:"text",icon:"el-icon-more"}}),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{attrs:{command:"info"}},[t._v("查看资料")]),s.role>1?e("el-dropdown-item",{attrs:{command:"setManager"}},[t._v(" "+t._s(2==s.role?"取消":"设置")+"管理员")]):t._e(),s.role>1?e("el-dropdown-item",{attrs:{command:"changeOwner"}},[t._v("设置为群主")]):t._e(),s.role>1?e("el-dropdown-item",{attrs:{command:"removeUser"}},[e("span",{staticClass:"c-red"},[t._v("移除成员")])]):t._e()],1)],1)],1)])])})),0):e("div",[e("el-empty",{attrs:{description:"请选择群聊"}})],1)])],1)])])],1),e("Group",{attrs:{visible:t.createChatBox,title:t.dialogTitle,isAdd:t.isAdd,userIds:t.userIds},on:{"update:visible":function(e){t.createChatBox=e},manageGroup:t.manageGroup}}),e("el-dialog",{attrs:{title:"消息管理器",visible:t.messageBox,modal:!0,width:"800px","append-to-body":""},on:{"update:visible":function(e){t.messageBox=e}}},[e("ChatRecord",{key:t.componentKey,attrs:{contact:t.currentChat}})],1)],1)},i=[],r=s(284),o=s(8100),n=s(2325),c={components:{Group:r.Z,ChatRecord:o.Z},data(){return{componentKey:99,messageBox:!1,isAdd:!0,dialogTitle:"创建群聊",createChatBox:!1,userIds:[],showSearch:!1,value:!1,active:0,currentChat:{},params:{page:1,limit:20,keywords:""},total:0,chats:[],members:[]}},mounted(){this.getGroupList()},methods:{openMessageBox(){this.componentKey++,this.messageBox=!0},openGroup(t){this.active=t.group_id,t.id="group-"+t.group_id,t.is_group=1,this.currentChat=t,this.getGroupUser(t.group_id)},getGroupList(){this.$api.groupApi.getGroupList(this.params).then((t=>{0==t.code&&(this.chats=t.data,this.total=t.count,this.params.page=t.page)}))},getGroupUser(t){this.$api.imApi.groupUserListAPI({group_id:"group-"+t}).then((t=>{0==t.code&&(this.members=t.data)}))},handleChange(){this.params.page=1,this.getGroupList()},manageGroup(t,e,s){this.createChatBox=!1,e?this.$api.imApi.addGroupAPI({user_ids:t,name:s}).then((t=>{0==t.code&&(this.$message.success("创建成功"),this.params.page=1,this.getGroupList())})):this.$api.groupApi.addGroupUser({group_id:this.active,user_ids:t}).then((t=>{0==t.code&&(this.$message.success("添加成功"),this.getGroupUser(this.active))}))},openAddUser(){if(0==this.active)return void this.$message.warning("请选择群聊");this.createChatBox=!0,this.isAdd=!1,this.dialogTitle="添加成员";let t=n.Nj(this.members,"user_id");this.userIds=t},delGroup(){0!=this.active?this.$confirm("确定要解散该群聊吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.groupApi.delGroup({group_id:this.active}).then((t=>{0==t.code&&(this.$message.success("解散成功"),this.params.page=1,this.members=[],this.getGroupList())}))})).catch((()=>{this.$message.info("已取消操作")})):this.$message.warning("请选择群聊")},handleCommand(t,e){"info"==e?this.$user(t.user_id):"setManager"==e?this.$api.groupApi.setManager({group_id:this.active,user_id:t.user_id,role:2==t.role?3:2}).then((t=>{0==t.code&&(this.$message.success(t.msg),this.getGroupUser(this.active))})):"changeOwner"==e?this.$api.groupApi.changeOwner({group_id:this.active,user_id:t.user_id}).then((t=>{0==t.code&&(this.$message.success(t.msg),this.getGroupUser(this.active))})):"removeUser"==e&&this.$confirm("确定要移除该成员吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.groupApi.delGroupUser({group_id:this.active,user_id:t.user_id}).then((t=>{0==t.code&&(this.$message.success(t.msg),this.getGroupUser(this.active))}))})).catch((()=>{this.$message.info("已取消操作")}))}}},p=c,d=s(1001),l=(0,d.Z)(p,a,i,!1,null,"79495ffc",null),u=l.exports}}]); \ No newline at end of file diff --git a/public/assets/js/567.a6404721.js b/public/assets/js/567.a6404721.js new file mode 100644 index 0000000..8e414b5 --- /dev/null +++ b/public/assets/js/567.a6404721.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[567],{7567:function(t,e,n){n.r(e),n.d(e,{default:function(){return d}});var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pd-20 main-file-item"},[e("fileItems",{attrs:{isAll:1}})],1)},s=[],l=n(4773),a={components:{fileItems:l.Z},data(){return{}},methods:{openFolder(t){this.active=t.id}}},u=a,r=n(1001),c=(0,r.Z)(u,i,s,!1,null,null,null),d=c.exports}}]); \ No newline at end of file diff --git a/public/assets/js/585.dea7864f.js b/public/assets/js/585.dea7864f.js new file mode 100644 index 0000000..5981005 --- /dev/null +++ b/public/assets/js/585.dea7864f.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[585],{4585:function(t,a,s){s.r(a),s.d(a,{default:function(){return d}});var e=function(){var t=this,a=t._self._c;return a("div",{staticClass:"pd-20"},[a("el-row",{attrs:{gutter:20}},[t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:10}},[a("el-card",{staticClass:"mb-20",attrs:{shadow:"hover",header:"欢迎"}},[a("div",{staticClass:"welcome"},[a("div",{staticClass:"logo"},[a("img",{attrs:{src:s(5080)}}),a("h2",[t._v("欢迎体验 "+t._s(t.$packageData.name))])]),a("div",{staticClass:"tips"},t._l(t.$packageData.funcList,(function(s){return a("div",{key:s.icon,staticClass:"tips-item"},[a("div",{staticClass:"tips-item-icon"},[a("i",{class:s.icon})]),a("div",{staticClass:"tips-item-message",domProps:{textContent:t._s(s.text)}})])})),0),a("div",{staticClass:"actions"},[a("router-link",{attrs:{to:"/chat"}},[a("el-button",{attrs:{type:"primary",icon:"el-icon-s-promotion",size:"large"}},[t._v("去聊天")])],1)],1)])])],1):t._e(),t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:8}},[a("el-card",{staticClass:"item-background mb-20",attrs:{shadow:"hover",header:"关于项目"}},[a("p",[t._v(t._s(t.$packageData.name)+"是一个"),a("b",{staticClass:"c-red"},[t._v("开源的即时通信demo,主要用于学习交流,为大家提供即时通讯的开发思路")]),t._v(",许多功能需要自行开发,开发的初衷旨在快速建立企业内部通讯系统、内网交流、社区交流。不建议用于商业用途,如确有需要商用,请联系作者授权,自行开发代码量必须要高于原代码量的30%以上,重构UI,并注明相关的版权问题。")]),a("div",{staticClass:"mt-15 ml-15 mb-15"},[t._v(" 前端地址:"),a("a",{attrs:{href:t.$packageData.frontUrl,target:"_blank"}},[a("el-image",{attrs:{src:t.$packageData.frontUrl+"/badge/star.svg?theme=white",alt:"star"}})],1)]),a("div",{staticClass:"ml-15 mb-15"},[t._v(" 后端地址:"),a("a",{attrs:{href:t.$packageData.backstageUrl,target:"_blank"}},[a("el-image",{attrs:{src:t.$packageData.backstageUrl+"/badge/star.svg?theme=dark",alt:"star"}})],1)])])],1):t._e(),t.globalConfig&&t.globalConfig.demon_mode?a("el-col",{attrs:{span:6}},[a("el-card",{staticClass:"mb-20",attrs:{shadow:"hover",header:"数据概览"}},[a("div",{staticClass:"mb-15"},[t._v("用户总数:xxxx")]),a("div",{staticClass:"mb-15"},[t._v("群聊总数:xxxx")]),a("div",{staticClass:"mb-15"},[t._v("文件总数:xxxx")])])],1):t._e(),a("el-col",{attrs:{span:12}},[a("el-card",{staticClass:"mb-20",attrs:{shadow:"hover",header:""}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("系统公告")]),a("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:function(a){t.noticeBox=!0}}},[t._v("发布公告")])],1),t._l(t.noticeList,(function(s,e){return a("div",{key:e,staticClass:"lz-flex lz-space-between"},[a("div",{staticClass:"mb-5 text-overflow cur-handle",staticStyle:{width:"70%"},on:{click:function(a){return t.viewNotice(s)}}},[a("span",{staticClass:"el-icon el-icon-collection-tag mr-5"}),t._v(" "+t._s(s.title)+" ")]),a("div",{staticClass:"c-999"},[t._v(t._s(s.create_time))])])})),a("el-pagination",{staticClass:"mt-10",attrs:{background:"",layout:"prev, pager, next","page-size":t.noticeParam.limit,"current-page":t.noticeParam.page,total:t.noticeTotal},on:{"update:currentPage":function(a){return t.$set(t.noticeParam,"page",a)},"update:current-page":function(a){return t.$set(t.noticeParam,"page",a)},"current-change":t.getNoticeList}})],2),a("el-dialog",{attrs:{title:(t.notice.msgId?"编辑":"发布")+"公告",width:"500px",visible:t.noticeBox},on:{"update:visible":function(a){t.noticeBox=a}}},[a("el-form",{attrs:{model:t.notice}},[a("el-form-item",{attrs:{label:"公告标题"}},[a("el-input",{model:{value:t.notice.title,callback:function(a){t.$set(t.notice,"title",a)},expression:"notice.title"}})],1),a("el-form-item",{attrs:{label:"公告内容"}},[a("el-input",{attrs:{type:"textarea",autosize:{minRows:10,maxRows:20}},model:{value:t.notice.content,callback:function(a){t.$set(t.notice,"content",a)},expression:"notice.content"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.cancelPublish}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.publishNotice}},[t._v(t._s(t.notice.msgId?"更新":"发布"))])],1)],1)],1),a("el-col",{attrs:{span:12}},[a("el-card",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"task task-item mb-20",attrs:{shadow:"hover"}},[a("div",{attrs:{slot:"header"},slot:"header"},[a("span",[t._v("系统服务")]),a("span",{staticClass:"handler",staticStyle:{float:"right","margin-top":"-3px"}},[a("i",{staticClass:"f-24 c-999 cur-handle",class:t.taskStatus?"el-icon-video-pause stop-task":"el-icon-video-play start-task",staticStyle:{padding:"3px"},attrs:{type:"primary"},on:{click:t.startService}})])]),a("el-alert",{attrs:{type:"warning",title:"系统服务使用要求运行的PHP的版本必须是默认的,并且可以直接执行PHP命令。如果启动失败可能是某些函数被禁用或者runtime的目录没有写入权限,可以在终端中运行 ‘php think task start’ 来调试程序的错误。","show-icon":"",closable:!1}}),t._l(t.taskList,(function(s,e){return a("div",{key:e,staticClass:"lz-flex lz-space-between mt-10 mb-10 lz-align-items-center"},[a("div",{staticClass:"task-name el-icon-timer"},[t._v(" "+t._s(s.remark)+" ")]),a("div",{staticClass:"el-icon-alarm-clock"},[t._v(" "+t._s(s.started)+" ")]),"active"==s.status?a("div",{staticClass:"c-green"},[t._v("运行中")]):a("div",{staticClass:"c-red"},[t._v("未启动")]),a("el-button",{staticClass:"ml-10",attrs:{size:"mini",type:"text"},on:{click:function(a){return t.showLog(s.name)}}},[t._v("日志")])],1)})),a("el-dialog",{attrs:{width:"900px",title:"运行日志",visible:t.dialogTableVisible},on:{"update:visible":function(a){t.dialogTableVisible=a}}},[a("el-button",{on:{click:t.clearTaskLog}},[t._v("清除进程日志")]),a("div",{staticClass:"mt-10",staticStyle:{height:"500px"}},[a("el-scrollbar",[a("div",{staticClass:"task-log pd-10"},[t._v(t._s(t.taskLog))])])],1)],1)],2)],1)],1)],1)},i=[],o=s(3822),l={components:{},computed:{...(0,o.rn)({globalConfig:t=>t.globalConfig})},data(){return{loading:!1,taskStatus:!1,taskList:[],curName:"",dialogTableVisible:!1,taskLog:"",noticeBox:!1,noticeList:[],notice:{msgId:0,title:"",content:""},noticeParam:{page:1,limit:10},noticeTotal:0,task:[{name:"im_task_schedule",started:"--",status:"stop",remark:"计划任务"},{name:"im_task_queue",started:"--",status:"stop",remark:"消息队列"},{name:"im_task_worker",started:"--",status:"stop",remark:"消息推送"}]}},mounted(){this.resetTask(),this.getTaskList(),this.getNoticeList()},methods:{resetTask(){let t=this.task;this.taskList=t},getTaskList(){this.$api.taskApi.getTaskList().then((t=>{400==t.code?this.taskStatus=!1:0==t.code&&(this.taskStatus=!0,this.taskList=t.data)}))},getNoticeList(){this.$api.commonApi.getNoticeList(this.noticeParam).then((t=>{0==t.code&&(this.noticeList=t.data,this.noticeTotal=t.count)}))},startService(){this.loading=!0,0==this.taskStatus?this.$api.taskApi.startTask().then((t=>{this.loading=!1,0==t.code&&this.getTaskList()})):this.$confirm("确定要停止服务吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.taskApi.stopTask().then((t=>{this.loading=!1,0==t.code&&(this.taskStatus=!1,this.resetTask())}))})).catch((()=>{this.loading=!1,this.$message({type:"info",message:"已取消停止"})}))},showLog(t){this.curName=t,this.$api.taskApi.getTaskLog({name:t}).then((t=>{if(0==t.code){if(""==t.data)return this.$message.error("暂无日志");this.dialogTableVisible=!0,this.taskLog=t.data}}))},clearTaskLog(){this.$confirm("确定要清除日志吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.taskApi.clearTaskLog({name:this.curName}).then((t=>{0==t.code&&(this.dialogTableVisible=!1,this.taskLog="")}))})).catch((()=>{}))},publishNotice(){this.$api.commonApi.publishNotice(this.notice).then((t=>{this.noticeBox=!1,0==t.code&&(this.cancelPublish(),this.getNoticeList())}))},cancelPublish(){this.noticeBox=!1,this.notice={msgId:0,title:"",content:""}},viewNotice(t){this.noticeBox=!0,this.notice={msgId:t.msg_id,title:t.extends.title,content:t.extends.notice??""}}}},n=l,c=s(1001),r=(0,c.Z)(n,e,i,!1,null,"3f58b2b1",null),d=r.exports},5080:function(t,a,s){t.exports=s.p+"assets/img/logo.e8099414.png"}}]); \ No newline at end of file diff --git a/public/assets/js/647.d01223a0.js b/public/assets/js/647.d01223a0.js new file mode 100644 index 0000000..5616c49 --- /dev/null +++ b/public/assets/js/647.d01223a0.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[647],{6647:function(e,t,a){a.d(t,{Z:function(){return M}});var s=function(){var e=this,t=e._self._c;return t("div",{directives:[{name:"elclickoutside",rawName:"v-elclickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"wk-user-select xh-form-border",class:[e.disabled?"is_disabled":"is_valid",{is_focus:e.visible}],style:{height:`${e.height}px`,width:e.width},attrs:{wrap:"wrap"},on:{click:e.containerClick}},[t("div",{ref:"tags",staticClass:"el-select__tags"},e._l(e.showSelects,(function(a,s){return t("span",{key:s,staticClass:"user-item text-one-line",class:{"is-hide":a.isHide}},[e._v(e._s(a[e.props.label])+" "),a.disabled?e._e():t("i",{staticClass:"delete-icon el-icon-close",on:{click:function(t){return t.stopPropagation(),e.deleteuser(a,s)}}})])})),0),e.selects.length>e.max&&e.max>0?t("i",{staticClass:"el-icon-more"}):e._e(),t("i",{class:["el-icon-arrow-up",{"is-reverse":e.visible}]}),0==e.selects.length?t("div",{staticClass:"user-placeholder text-one-line"},[e._v(e._s(e.placeholder))]):e._e(),t("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[t("wk-select-dropdown",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!e.disabled,expression:"visible && !disabled"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[t("el-scrollbar",{ref:"scrollbar",attrs:{tag:"div"}},[t("wk-user",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],attrs:{disabled:e.disabled,options:e.optionsList,props:e.props,radio:e.radio,max:e.limit,page:e.page},on:{change:e.wkUserChange,close:function(t){e.visible=!1},getData:e.requestUserList},model:{value:e.dataValue,callback:function(t){e.dataValue=t},expression:"dataValue"}})],1)],1)],1)],1)},i=[],l=(a(7658),function(){var e=this,t=e._self._c;return t("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)}),r=[],n=a(4857),o={name:"WkSelectDropdown",componentName:"WkSelectDropdown",mixins:[n["default"]],props:{placement:{type:String,default:"bottom-start"},boundariesPadding:{type:Number,default:0},popperOptions:{type:Object,default(){return{gpuAcceleration:!1}}},visibleArrow:{type:Boolean,default:!1},appendToBody:{type:Boolean,default:!0}},data(){return{minWidth:"300px"}},computed:{popperClass(){return this.$parent.popperClass}},watch:{},mounted(){this.referenceElm=this.$parent.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(()=>{this.$parent.visible&&this.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},h=o,d=a(1001),p=(0,d.Z)(h,l,r,!1,null,null,null),u=p.exports,c=function(){var e=this,t=e._self._c;return t("div",{staticClass:"xh-user"},[e.headerShow?t("div",{staticClass:"xh-user__hd"},[e._v(" 员工 ")]):e._e(),t("div",{staticClass:"xh-user__bd"},[t("el-input",{staticClass:"search-input",attrs:{disabled:e.disabled,placeholder:"搜索成员",size:"small","prefix-icon":"el-icon-search"},on:{input:e.inputValue},model:{value:e.searchInput,callback:function(t){e.searchInput=t},expression:"searchInput"}}),t("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:e.handleScroll,expression:"handleScroll"}],ref:"searchLists",staticClass:"search-lists",attrs:{id:"resultScroll","infinite-scroll-distance":"700px"}},[t("el-checkbox",{staticClass:"all-check",attrs:{indeterminate:e.isIndeterminate,disabled:e.radio||e.disabled},on:{change:e.handleCheckAllChange},model:{value:e.checkAll,callback:function(t){e.checkAll=t},expression:"checkAll"}},[e._v("全选")]),t("el-checkbox-group",{ref:"checkboxGroup",attrs:{max:e.max,disabled:e.disabled},on:{change:e.checkboxChange},model:{value:e.dataValue,callback:function(t){e.dataValue=t},expression:"dataValue"}},e._l(e.options,(function(a,s){return t("el-checkbox",{directives:[{name:"show",rawName:"v-show",value:!a.isHide,expression:"!item.isHide"}],key:s,staticClass:"colleagues-list",attrs:{label:a[e.props.value]}},[t("avatarList",{staticClass:"logo-center mr-10",class:0==a.status&&"is-grays",attrs:{avatarSize:24,avatarMessageIsShow:!1,avatarMessage:{avatarUrl:a.avatar}}}),t("span",[e._v(e._s(a[e.props.label]))])],1)})),1)],1)],1),t("div",{staticClass:"xh-user__ft"},[t("span",{staticClass:"select-info"},[e._v("已选择"),t("span",{staticClass:"select-info--num"},[e._v(e._s(e.value?e.value.length:0))]),e._v("项")]),t("el-button",{attrs:{type:"text"},on:{click:e.clearAll}},[e._v("清空")])],1)])},v=[],m=a(5402),f=a(2325),g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"avater-components"},[t("el-popover",{directives:[{name:"show",rawName:"v-show",value:e.avatarMessageIsShow,expression:"avatarMessageIsShow"}],attrs:{placement:"right",width:"400",trigger:e.avatarevent}},[t("div",{staticClass:"tips"},e._l(e.avatarMessage,(function(a,s){return t("div",{key:s},["avatarUrl"!==s?t("div",[t("p",[e._v(e._s(a))])]):e._e()])})),0),t("div",{staticClass:"avatar",attrs:{slot:"reference"},slot:"reference"},[e.avatarMessage.avatarUrl?t("el-avatar",{attrs:{size:e.avatarSize,src:e.avatarMessage.avatarUrl,shape:e.avatarShape,fit:"contain"}}):t("el-avatar",{attrs:{size:e.avatarSize,shape:e.avatarShape,fit:"contain"}})],1)]),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.avatarMessageIsShow,expression:"!avatarMessageIsShow"}],staticClass:"avatar",attrs:{slot:"reference"},on:{click:e.clickAvatar},slot:"reference"},[t("el-avatar",{attrs:{size:e.avatarSize,src:e.avatarMessage.avatarUrl,shape:e.avatarShape,fit:"contain"}})],1)],1)},b=[],k={name:"avatar",data(){return{}},props:{avatarevent:{type:String,default:"hover"},avatarUrl:{type:String,default:""},avatarSize:{type:Number,default:20},avatarMessage:{type:Object,default:()=>({})},avatarShape:{type:String,default:"circle"},avatarMessageIsShow:{type:Boolean,default:!1}},methods:{clickAvatar(){this.$emit("clickAvatar",!0)}}},y=k,w=(0,d.Z)(y,g,b,!1,null,null,null),V=w.exports,x={name:"WkUser",components:{avatarList:V},props:{radio:Boolean,headerShow:{type:Boolean,default:!0},options:Array,value:Array,props:{type:Object,default:()=>({value:"id",label:"realname"})},max:Number,disabled:{type:Boolean,default:!1}},data(){return{dataValue:[],searchInput:"",checkAll:!1,isIndeterminate:!1,page:1}},mounted(){},computed:{},watch:{value(){if(this.options&&!this.radio){const e=this.options.filter((e=>!e.isHide)).length;this.value.length==e&&(this.value.length>0||e>0)?this.checkAll=!0:this.checkAll=!1,this.isIndeterminate=!(this.checkAll||!this.value.length)}(0,m.valueEquals)(this.value,this.dataValue)||(this.dataValue=(0,f.I8)(this.value))}},created(){this.dataValue=(0,f.I8)(this.value||[])},methods:{inputValue(){this.$refs.searchLists.scrollTop=0,this.page=1,this.$emit("getData",this.searchInput)},handleScroll(){this.page=this.page+1,this.$emit("getData",this.searchInput,this.page)},checkboxChange(e){this.radio?(this.$emit("input",e.length?[e[e.length-1]]:[]),this.$emit("close")):this.$emit("input",e),this.$emit("change",e)},handleCheckAllChange(e){if(e){const e=[];this.options.forEach((t=>{t.isHide||e.push(t[this.props.value])})),this.$emit("input",e)}else this.$emit("input",[])},clearAll(){this.$emit("input",[])}}},_=x,C=(0,d.Z)(_,c,v,!1,null,"1956f8c4",null),S=C.exports,$=a(8816),A={name:"WkUserSelect",components:{WkSelectDropdown:u,WkUser:S},mixins:[$["default"]],props:{defalutValue:{type:[Object,Array,String,Number]},width:{type:String,default:"180px"},radio:Boolean,max:{type:Number,default:2},props:{type:Object,default:()=>({value:"id",label:"realname"})},limit:Number,placeholder:{type:String,default(){return"请选择"}},value:{},request:Function,params:Object,options:Array,label:String,disabled:{type:Boolean,default:!1},popperAppendToBody:{type:Boolean,default:!0}},data(){return{page:0,visible:!1,dataValue:[],loading:!1,height:32,optionsList:[]}},computed:{showSelects(){return this.max&&this.max>0&&this.selects&&this.selects.length>this.max?this.selects.slice(0,this.max):this.selects},selects(){if(!this.optionsList.length||!this.dataValue.length)return[];let e=this.optionsList.filter((e=>this.dataValue.includes(e[this.props.value])));if(e.length!==this.dataValue.length&&this.dataValue&&void 0!=this.defalutValue){let t=Array.isArray(this.defalutValue)?this.defalutValue:[Number(this.defalutValue)];return t=t.filter((t=>!e.some((e=>e.id===t.id)))),t=[...t,...e],t=t.filter((e=>this.dataValue.includes(e.id))),t}return e}},watch:{visible(e){e?this.broadcast("WkSelectDropdown","updatePopper"):this.broadcast("WkSelectDropdown","destroyPopper"),this.$emit("visible-change",e)},value(e,t){this.verifyValue()},options:{handler(){this.verifyOptions()},immediate:!0},dataValue(e){for(let t=0;t{this.height=e.clientHeight>32?e.clientHeight+6:32})):this.height=32},verifyValue(){if(this.radio||Array.isArray(this.value)||this.$emit("input",[]),this.radio)this.value!==this.dataValue&&((0,f.xb)(this.value)?this.dataValue=[]:Array.isArray(this.value)?this.dataValue=this.value.map((e=>e[this.props.value])):"number"===typeof parseInt(this.value)?this.dataValue=[this.value]:this.dataValue=[this.value.id]);else if(!(0,m.valueEquals)(this.value,this.dataValue))if(this.value&&this.value.length){const e=this.value[0];e[this.props.value]?this.dataValue=this.value.map((e=>e[this.props.value])):this.dataValue=(0,f.I8)(this.value)}else this.dataValue=[]},verifyOptions(){this.options?this.optionsList=this.options:this.requestUserList()},requestUserList(e,t=1){this.loading=!0;let a=this.$api.imApi.userList;this.request?a=this.request:this.props.request&&(a=this.props.request),a({page:t,limit:20,keywords:e}).then((a=>{a.data.hasOwnProperty("list")&&(a.data=a.data.list),e&&1==t&&(this.optionsList=[]),a.data.forEach(((e,t)=>{let a=this.optionsList.map((e=>e.id)).includes(e.id);a||this.optionsList.push(e)})),this.loading=!1})).catch((()=>{this.loading=!1}))},handleClose(){this.visible=!1},handleMenuEnter(){},doDestroy(){this.$refs.popper&&this.$refs.popper.doDestroy()},deleteuser(e){if(!e.disabled&&!this.disabled){for(let t=0;t{this.radio?this.dispatch("ElFormItem","el.form.change",this.dataValue&&this.dataValue.length?this.dataValue[0]:""):this.dispatch("ElFormItem","el.form.change",this.dataValue)})),this.$emit("change",this.dataValue,this.selects)},containerClick(){this.disabled||(this.visible=!0)}}},I=A,L=(0,d.Z)(I,s,i,!1,null,"f3dcf9b2",null),M=L.exports}}]); \ No newline at end of file diff --git a/public/assets/js/687.70d7eca3.js b/public/assets/js/687.70d7eca3.js new file mode 100644 index 0000000..4a5b4b6 --- /dev/null +++ b/public/assets/js/687.70d7eca3.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[687],{7076:function(e,t,s){s.d(t,{Z:function(){return p}});var a=function(){var e=this,t=e._self._c;return t("div",[t("el-container",[t("el-aside",{attrs:{width:"320px"}},[t("div",{staticClass:"lz-flex group-box"},[e.showSearch?t("div",{staticClass:"group-box-header"},[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入关键字搜索"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleChange.apply(null,arguments)}},model:{value:e.params.keywords,callback:function(t){e.$set(e.params,"keywords",t)},expression:"params.keywords"}},[t("el-button",{attrs:{slot:"prepend",icon:"el-icon-back"},on:{click:function(t){e.showSearch=!1}},slot:"prepend"}),t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleChange},slot:"append"})],1)],1):t("div",{staticClass:"group-box-header"},[t("div",[t("el-button",{attrs:{type:"primary",size:"small",plain:""},on:{click:function(t){return e.chooseTab(1)}}},[e._v("TA的会话")]),t("el-button",{staticClass:"ml-10",attrs:{type:"success",size:"small",plain:""},on:{click:function(t){return e.chooseTab(0)}}},[e._v("TA的联系人")])],1),t("div",[t("el-button",{attrs:{plain:"",circle:"",icon:"el-icon-search",title:"搜索"},on:{click:function(t){e.showSearch=!0}}})],1)]),t("div",{staticClass:"group-box-list"},[t("el-scrollbar",e._l(e.list,(function(s){return t("div",{key:s.user_id,staticClass:"chat-item",class:e.active==s.user_id?"active":"",on:{click:function(t){return e.openChat(s)}}},[t("div",{staticClass:"chat-avatar"},[t("img",{attrs:{src:s.avatar,alt:"avatar"}})]),t("div",{staticClass:"chat-content"},[t("span",{staticClass:"chat-name"},[e._v(e._s(s.realname))])])])})),0)],1),t("div",{staticClass:"group-box-page",attrs:{align:"center"}},[t("el-pagination",{attrs:{background:"",total:e.total,"current-page":e.params.page,"page-size":e.params.limit,layout:"total, prev, next , jumper"},on:{"current-change":e.getList,"update:currentPage":function(t){return e.$set(e.params,"page",t)},"update:current-page":function(t){return e.$set(e.params,"page",t)},"update:pageSize":function(t){return e.$set(e.params,"limit",t)},"update:page-size":function(t){return e.$set(e.params,"limit",t)}}})],1)])]),t("el-main",{staticStyle:{padding:"0"}},[t("div",{staticClass:"lz-flex group-box group-user-box"},[t("div",{staticClass:"group-box-header"},[t("div",[e._v("聊天记录")])]),t("div",{staticClass:"group-box-list",staticStyle:{padding:"15px"}},[e.currentChat.user_id?t("ChatRecord",{key:e.componentKey,attrs:{contact:e.currentChat,condition:e.condition,manage:!0}}):e._e()],1)])])],1)],1)},r=[],i=s(284),l=s(8100),o=(s(2325),{components:{Group:i.Z,ChatRecord:l.Z},props:{userInfo:{type:Object,default:{}}},data(){return{componentKey:99,messageBox:!1,isAdd:!0,dialogTitle:"创建群聊",createChatBox:!1,userIds:[],showSearch:!1,value:!1,active:0,currentChat:{},params:{hasConvo:1,user_id:0,page:1,limit:20,keywords:""},total:0,list:[],condition:{}}},created(){this.getList()},methods:{openChat(e){this.active=e.user_id,this.currentChat=e,this.componentKey++,this.condition={user_id:this.userInfo.user_id}},chooseTab(e){this.params.page=1,this.params.hasConvo=e,this.getList()},getList(){this.params.user_id=this.userInfo.user_id,this.$api.messageApi.getContacts(this.params).then((e=>{0==e.code&&(this.list=e.data,this.total=e.count,this.params.page=e.page)}))},handleChange(){this.params.page=1,this.getList()}}}),n=o,d=s(1001),c=(0,d.Z)(n,a,r,!1,null,"61b0eeda",null),p=c.exports},4368:function(e,t,s){s.r(t),s.d(t,{default:function(){return u}});var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"m-20"},[t("div",{staticClass:"mb-15 lz-flex lz-space-between"},[t("div",[t("el-button",{staticClass:"mr-15",on:{click:e.addUser}},[e._v("添加成员")])],1),t("div",[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入关键字搜索","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleChange.apply(null,arguments)}},model:{value:e.params.keywords,callback:function(t){e.$set(e.params,"keywords",t)},expression:"params.keywords"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleChange},slot:"append"})],1)],1)]),t("el-table",{staticStyle:{width:"100%",border:"solid 1px #e3e3e3"},attrs:{data:e.userList,stripe:"",height:"calc(100vh - 200px)","header-cell-style":{"background-color":"#f5f7fa",color:"#909399"}},on:{"sort-change":e.sortChange,"row-dblclick":e.handleClick}},[t("el-table-column",{attrs:{fixed:"",prop:"user_id",label:"ID",sortable:"custom",width:"150"}}),t("el-table-column",{attrs:{prop:"realname",label:"姓名",width:"120"}}),t("el-table-column",{attrs:{prop:"account",label:"账号",width:"120"}}),t("el-table-column",{attrs:{prop:"sex",label:"性别",sortable:"custom",width:"120"},scopedSlots:e._u([{key:"default",fn:function(s){return[0==s.row.sex?t("span",{staticClass:"el-dropdown-link"},[e._v("女")]):e._e(),1==s.row.sex?t("span",{staticClass:"el-dropdown-link"},[e._v("男")]):e._e(),2==s.row.sex?t("span",{staticClass:"el-dropdown-link"},[e._v("未知")]):e._e()]}}])}),t("el-table-column",{attrs:{prop:"role",label:"角色",sortable:"custom",width:"120"},scopedSlots:e._u([{key:"default",fn:function(s){return[1==s.row.role?t("span",{staticClass:"el-dropdown-link"},[e._v(" 超级管理员 ")]):t("el-dropdown",{on:{command:function(t){return e.handleCommand(s.row,t)}}},[t("span",{staticClass:"el-dropdown-link cur-handle"},[e._v(" "+e._s(0==s.row.role?"普通用户":"管理员")),t("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{attrs:{command:0}},[e._v("普通用户")]),t("el-dropdown-item",{attrs:{command:2}},[e._v("管理员")])],1)],1)]}}])}),t("el-table-column",{attrs:{prop:"create_time",label:"注册时间",width:"140"},scopedSlots:e._u([{key:"default",fn:function(s){return[t("el-popover",{attrs:{placement:"top-start",title:"位置信息",width:"250",trigger:"hover"}},[e._v(" IP: "+e._s(s.row.register_ip)+" "),t("br"),e._v(" 位置:"+e._s(s.row.reg_location||"--")+" "),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(s.row.create_time))])])]}}])}),t("el-table-column",{attrs:{prop:"last_login_time",label:"最后登录时间",width:"140"},scopedSlots:e._u([{key:"default",fn:function(s){return[t("el-popover",{attrs:{placement:"top-start",title:"位置信息",width:"250",trigger:"hover"}},[e._v(" IP: "+e._s(s.row.last_login_ip)+" "),t("br"),e._v(" 位置:"+e._s(s.row.location||"--")+" "),t("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(e._s(s.row.last_login_time))])])]}}])}),t("el-table-column",{attrs:{prop:"remark",label:"备注","min-width":"300"}}),t("el-table-column",{attrs:{prop:"status",label:"状态",width:"120"},scopedSlots:e._u([{key:"default",fn:function(s){return[1!=s.row.user_id?t("el-switch",{attrs:{"active-value":1,"inactive-value":0},on:{change:function(t){return e.setStatus(s.row)}},model:{value:s.row.status,callback:function(t){e.$set(s.row,"status",t)},expression:"scope.row.status"}}):t("span",[e._v("--")])]}}])}),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"180"},scopedSlots:e._u([{key:"default",fn:function(s){return[t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.openDialogue(s.row)}}},[t("span",{staticClass:"c-orange"},[e._v("会话列表")])]),t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.handleClick(s.row)}}},[e._v("查看")]),s.row.user_id>1?t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.editUser(s.row)}}},[e._v("编辑")]):e._e(),t("el-button",{attrs:{type:"text",size:"small"},on:{click:function(t){return e.editPass(s.row)}}},[e._v("改密")])]}}])})],1),t("div",{staticClass:"mt-15"},[t("el-pagination",{attrs:{background:"","current-page":e.params.page,"page-sizes":[20,50,100,200,300,400,500],"page-size":e.params.limit,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleChange,"current-change":e.getUserList,"update:currentPage":function(t){return e.$set(e.params,"page",t)},"update:current-page":function(t){return e.$set(e.params,"page",t)},"update:pageSize":function(t){return e.$set(e.params,"limit",t)},"update:page-size":function(t){return e.$set(e.params,"limit",t)}}})],1),t("el-dialog",{attrs:{title:e.currentUser.realname+" 的会话管理",visible:e.dialogueBox,modal:!0,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.dialogueBox=t},close:function(t){e.dialogueBox=!1}}},[t("dialogue",{key:e.componentKey,attrs:{userInfo:e.currentUser}})],1),t("el-dialog",{attrs:{title:e.formTitle,visible:e.dialogVisible,modal:!0,width:"500px","append-to-body":""},on:{"update:visible":function(t){e.dialogVisible=t},close:function(t){e.dialogVisible=!1}}},[t("el-form",{ref:"userinfo",attrs:{model:e.detail,rules:e.rules,"label-width":"100px"}},[t("el-form-item",{attrs:{label:"账号",prop:"account"}},[t("el-input",{attrs:{placeholder:"请输入邮箱或者手机号"},model:{value:e.detail.account,callback:function(t){e.$set(e.detail,"account",t)},expression:"detail.account"}})],1),t("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"add"==e.formType,expression:"formType=='add'"}],attrs:{label:"密码",prop:"password"}},[t("el-input",{attrs:{"show-password":"",placeholder:"请输入密码"},model:{value:e.detail.password,callback:function(t){e.$set(e.detail,"password",t)},expression:"detail.password"}})],1),t("el-form-item",{attrs:{label:"姓名",prop:"realname"}},[t("el-input",{attrs:{placeholder:"请输入用户名称"},model:{value:e.detail.realname,callback:function(t){e.$set(e.detail,"realname",t)},expression:"detail.realname"}})],1),t("el-form-item",{attrs:{label:"e-mail",prop:"email"}},[t("el-input",{attrs:{placeholder:"请输入邮箱地址"},model:{value:e.detail.email,callback:function(t){e.$set(e.detail,"email",t)},expression:"detail.email"}})],1),t("el-form-item",{attrs:{label:"专属客服",prop:"cs_uid"}},[t("user-select",{attrs:{width:"180px",radio:!0},model:{value:e.detail.cs_uid,callback:function(t){e.$set(e.detail,"cs_uid",t)},expression:"detail.cs_uid"}})],1),t("el-form-item",{attrs:{label:"性别",prop:"sex"}},[t("el-radio-group",{model:{value:e.detail.sex,callback:function(t){e.$set(e.detail,"sex",t)},expression:"detail.sex"}},[t("el-radio",{attrs:{label:2,border:""}},[e._v("未知")]),t("el-radio",{attrs:{label:1,border:""}},[e._v("男")]),t("el-radio",{attrs:{label:0,border:""}},[e._v("女")])],1)],1),t("el-form-item",{attrs:{label:"角色",prop:"role"}},[t("el-radio-group",{model:{value:e.detail.role,callback:function(t){e.$set(e.detail,"role",t)},expression:"detail.role"}},[t("el-radio",{attrs:{label:0,border:""}},[e._v("普通用户")]),t("el-radio",{attrs:{label:2,border:""}},[e._v("管理员")])],1)],1),t("el-form-item",{attrs:{label:"状态",prop:"status"}},[t("el-radio-group",{model:{value:e.detail.status,callback:function(t){e.$set(e.detail,"status",t)},expression:"detail.status"}},[t("el-radio",{attrs:{label:1,border:""}},[e._v("正常")]),t("el-radio",{attrs:{label:0,border:""}},[e._v("禁用")])],1)],1),t("el-form-item",{attrs:{label:"好友上限",prop:"friend_limit"}},[t("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:1e3},model:{value:e.detail.friend_limit,callback:function(t){e.$set(e.detail,"friend_limit",t)},expression:"detail.friend_limit"}}),t("span",{staticClass:"ml-10 c-999 f-12"},[e._v("个,0表示不限制,-1表示禁止创建")])],1),t("el-form-item",{attrs:{label:"群聊上限",prop:"group_limit"}},[t("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:1e3},model:{value:e.detail.group_limit,callback:function(t){e.$set(e.detail,"group_limit",t)},expression:"detail.group_limit"}}),t("span",{staticClass:"ml-10 c-999 f-12"},[e._v("个,0表示不限制-1表示禁止创建")])],1),t("el-form-item",{attrs:{label:"备注",prop:"remark"}},[t("el-input",{attrs:{type:"textarea",rows:2},model:{value:e.detail.remark,callback:function(t){e.$set(e.detail,"remark",t)},expression:"detail.remark"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.submitForm("userinfo")}}},[e._v("保存")])],1)],1)],1),t("el-dialog",{attrs:{title:"修改密码",visible:e.dialogPass,modal:!0,width:"400px","append-to-body":""},on:{"update:visible":function(t){e.dialogPass=t}}},[t("el-form",{attrs:{"label-width":"100px"}},[t("el-form-item",{attrs:{label:"新密码"}},[t("el-input",{attrs:{"show-password":"",placeholder:"请输入密码"},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}})],1),t("el-form-item",{attrs:{label:"重复密码"}},[t("el-input",{attrs:{"show-password":"",placeholder:"请输入重复输入密码"},model:{value:e.repass,callback:function(t){e.repass=t},expression:"repass"}})],1),t("el-form-item",[t("el-button",{attrs:{type:"primary"},on:{click:function(t){return e.editPassword()}}},[e._v("保存")])],1)],1)],1)],1)},r=[],i=(s(7658),s(3822)),l=s(6647),o=s(7076),n={components:{userSelect:l.Z,dialogue:o.Z},data(){return{componentKey:0,total:0,params:{page:1,limit:20,keywords:"",order_field:"",order_type:1},userList:[],formTitle:"添加成员",formType:"add",dialogVisible:!1,dialogueBox:!1,detail:{},originDetail:{realname:"",password:"123456",email:"",sex:2,role:0,friend_limit:0,group_limit:0,remark:"",status:1},rules:{account:[{min:4,max:32,message:"长度在 4 到 32 个字符",trigger:"blur"}],realname:[{required:!0,message:"请输入用户名称",trigger:"blur"},{min:2,max:16,message:"长度在 2 到 16 个字符",trigger:"blur"}],email:[{type:"email",message:"请输入正确的邮箱地址",trigger:["blur","change"]}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,max:16,message:"长度在 6 到 16 个字符",trigger:"blur"}]},dialogPass:!1,password:"",repass:"",currentUser:{}}},computed:{...(0,i.rn)({globalConfig:e=>e.globalConfig})},watch:{dialogVisible(e){e||(this.detail=this.originDetail)}},mounted(){this.detail=this.originDetail,this.getUserList();let e=this.globalConfig.sysInfo.regauth??0,t="请输入账号:4-32个字符";switch(parseInt(e)){case 1:t="请输入正确的手机号";break;case 2:t="请输入正确的邮箱";break;case 3:t="请输入正确的手机号或者邮箱";break;default:t="请输入正确的账号";break}let s={required:!0,message:t,trigger:"blur"};this.rules.account.push(s);let a={type:"email",message:t,trigger:"blur",validator:this.validateContact},r={type:"phone",message:t,trigger:"blur",validator:this.validateContact};1==e?this.rules.account.push(r):2==e?this.rules.account.push(a):3==e&&(this.rules.account.push(a),this.rules.account.push(r))},methods:{getUserList(){this.$api.userApi.getUserList(this.params).then((e=>{0==e.code&&(this.userList=e.data,this.total=e.count,this.params.page=e.page)}))},sortChange(e){this.params.order_field=e.prop,null==e.order&&(this.params.order_field=null),this.params.order_type="ascending"==e.order?1:2,this.getUserList()},handleClick(e){this.$user(e.user_id,{isManage:!0,editDataCallbak:e=>{this.editUser(e)}})},openDialogue(e){this.currentUser=e,this.componentKey++,this.dialogueBox=!0},handleChange(){this.params.page=1,this.getUserList()},addUser(){this.formTitle="添加成员",this.formType="add",this.dialogVisible=!0},editUser(e){let t=e;this.formTitle="修改成员",this.formType="edit",this.dialogVisible=!0,t.password="rainagd",this.detail=t},validateContact(e,t,s){t?/^1[3456789]\d{9}$/.test(t)||/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(t)?s():s(new Error("请输入正确的手机号或邮箱")):s()},submitForm(e){this.$refs[e].validate((e=>{if(!e)return console.log("error submit!!"),!1;if("add"==this.formType)this.$api.userApi.addUser(this.detail).then((e=>{0==e.code&&(this.dialogVisible=!1,this.getUserList(),this.$message({message:e.msg,type:"success"}))}));else{let e=JSON.parse(JSON.stringify(this.detail));delete e.password,this.$api.userApi.editUser(e).then((e=>{0==e.code&&(this.dialogVisible=!1,this.getUserList(),this.$message({message:e.msg,type:"success"}))}))}}))},editPass(e){this.currentUser=e,this.dialogPass=!0},editPassword(){if(""==this.password||this.password.length<6||this.password.length>16)return this.$message({message:"请输入6-16个字符串的密码",type:"warning"}),!1;if(this.password!=this.repass)return this.$message({message:"两次密码不一致",type:"warning"}),!1;let e={user_id:this.currentUser.user_id,password:this.password};this.$api.userApi.editPassword(e).then((e=>{0==e.code&&(this.dialogPass=!1,this.password="",this.repass="",this.$message({message:e.msg,type:"success"}))}))},setStatus(e){let t={user_id:e.user_id,status:e.status};this.$api.userApi.setStatus(t).then((e=>{0==e.code&&this.$message({message:e.msg,type:"success"})}))},handleCommand(e,t){let s={user_id:e.user_id,role:t};this.$api.userApi.setRole(s).then((s=>{0==s.code&&(e.role=t,this.$message({message:s.msg,type:"success"}))}))},delUser(e){this.$confirm("此操作将永久删除该用户, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{let t={user_id:e.user_id};this.$api.userApi.delUser(t).then((e=>{0==e.code&&(this.$message({message:e.msg,type:"success"}),this.getUserList())}))})).catch((()=>{this.$message({type:"info",message:"已取消删除"})}))}}},d=n,c=s(1001),p=(0,c.Z)(d,a,r,!1,null,"e0b9ac40",null),u=p.exports}}]); \ No newline at end of file diff --git a/public/assets/js/789.34f6ec0f.js b/public/assets/js/789.34f6ec0f.js new file mode 100644 index 0000000..d128e9b --- /dev/null +++ b/public/assets/js/789.34f6ec0f.js @@ -0,0 +1,11 @@ +(self["webpackChunkRaingad_IM"]=self["webpackChunkRaingad_IM"]||[]).push([[789],{3585:function(t,e,r){"use strict";r.r(e),r.d(e,{default:function(){return d}});var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"m-20"},[e("el-tabs",{attrs:{type:"border-card"}},[e("el-tab-pane",[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"el-icon-setting"}),t._v(" 基础设置")]),e("el-form",{ref:"sysInfo",staticStyle:{width:"600px"},attrs:{model:t.sysInfo,rules:t.rules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"系统名称",prop:"name"}},[e("el-input",{attrs:{placeholder:"请输入系统名称"},model:{value:t.sysInfo.name,callback:function(e){t.$set(t.sysInfo,"name",e)},expression:"sysInfo.name"}})],1),e("el-form-item",{attrs:{label:"系统描述",prop:"description"}},[e("el-input",{attrs:{placeholder:"请输入系统描述"},model:{value:t.sysInfo.description,callback:function(e){t.$set(t.sysInfo,"description",e)},expression:"sysInfo.description"}})],1),e("el-form-item",{attrs:{label:"系统LOGO",prop:"logo"}},[e("el-upload",{staticClass:"avatar-uploader",attrs:{headers:t.getToken,action:t.getUrl,"show-file-list":!1,"on-success":t.uploadSuccess,"on-change":t.change,"before-upload":t.beforeAvatarUpload}},[t.sysInfo.logo?e("img",{staticClass:"avatar",attrs:{src:t.sysInfo.logo}}):e("i",{staticClass:"el-icon-plus avatar-uploader-icon"})]),e("el-input",{staticStyle:{display:"none"},model:{value:t.sysInfo.logo,callback:function(e){t.$set(t.sysInfo,"logo",e)},expression:"sysInfo.logo"}})],1),e("el-form-item",{attrs:{label:"注册方式",prop:"regtype"}},[e("el-radio-group",{model:{value:t.sysInfo.regtype,callback:function(e){t.$set(t.sysInfo,"regtype",e)},expression:"sysInfo.regtype"}},[e("el-radio",{attrs:{label:"1",border:""}},[t._v("开启注册")]),e("el-radio",{attrs:{label:"2",border:""}},[t._v("邀请注册")])],1),e("div",{directives:[{name:"show",rawName:"v-show",value:2==t.sysInfo.regtype,expression:"sysInfo.regtype==2"}],staticClass:"mt-15"},[e("el-input",{staticClass:"input-with-select",model:{value:t.inviteUrl,callback:function(e){t.inviteUrl=e},expression:"inviteUrl"}},[e("el-button",{attrs:{slot:"append"},on:{click:t.copyUrl},slot:"append"},[t._v("复制链接")])],1),e("div",{staticClass:"mt-15"},[e("span",{staticClass:"c-999 f-12 mr-10"},[t._v("邀请链接有效期:48小时")]),t._v(" "),e("el-button",{on:{click:t.resetInviteUrl}},[t._v("重新生成")])],1),e("vue-qr",{ref:"qrCode",attrs:{text:t.inviteUrl,width:"200",height:"200",logoSrc:t.sysInfo.logo}})],1)],1),e("el-form-item",{attrs:{label:"注册时间间隔",prop:"registerInterval"}},[e("el-input-number",{staticClass:"ml-10",attrs:{min:0,step:60},model:{value:t.sysInfo.registerInterval,callback:function(e){t.$set(t.sysInfo,"registerInterval",e)},expression:"sysInfo.registerInterval"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("秒,0表示不限制,防止用户无限注册,仅限单IP")])],1),e("el-form-item",{attrs:{label:"注册认证",prop:"regauth"}},[e("el-radio-group",{model:{value:t.sysInfo.regauth,callback:function(e){t.$set(t.sysInfo,"regauth",e)},expression:"sysInfo.regauth"}},[e("el-radio",{attrs:{label:"0",border:""}},[t._v("关闭")]),e("el-radio",{attrs:{label:"1",border:""}},[t._v("手机号")]),e("el-radio",{attrs:{label:"2",border:""}},[t._v("邮箱")]),e("el-radio",{attrs:{label:"3",border:""}},[t._v("手机号+邮箱")])],1)],1),e("el-form-item",{attrs:{label:"开启IP定位",prop:"ipregion"}},[e("el-radio-group",{model:{value:t.sysInfo.ipregion,callback:function(e){t.$set(t.sysInfo,"ipregion",e)},expression:"sysInfo.ipregion"}},[e("el-radio",{attrs:{label:"0",border:""}},[t._v("关闭")]),e("el-radio",{attrs:{label:"1",border:""}},[t._v("开启")])],1)],1),e("el-form-item",{attrs:{label:"多端同时登录",prop:"multipleLogin"}},[e("el-radio-group",{model:{value:t.sysInfo.multipleLogin,callback:function(e){t.$set(t.sysInfo,"multipleLogin",e)},expression:"sysInfo.multipleLogin"}},[e("el-radio",{attrs:{label:"0",border:""}},[t._v("关闭")]),e("el-radio",{attrs:{label:"1",border:""}},[t._v("开启")])],1)],1),e("el-form-item",{attrs:{label:"运行模式",prop:"runMode"}},[e("el-radio-group",{model:{value:t.sysInfo.runMode,callback:function(e){t.$set(t.sysInfo,"runMode",e)},expression:"sysInfo.runMode"}},[e("el-radio",{attrs:{label:"1",border:""}},[t._v("企业模式")]),e("el-radio",{attrs:{label:"2",border:""}},[t._v("社交模式")])],1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1==t.sysInfo.runMode,expression:"sysInfo.runMode==1"}],attrs:{label:"自由改名",prop:"diyName"}},[e("el-radio-group",{model:{value:t.sysInfo.diyName,callback:function(e){t.$set(t.sysInfo,"diyName",e)},expression:"sysInfo.diyName"}},[e("el-radio",{attrs:{label:"0",border:""}},[t._v("关闭")]),e("el-radio",{attrs:{label:"1",border:""}},[t._v("开启")])],1),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("企业模式下默认不允许自由改名,开启后生效")])],1),e("el-form-item",{attrs:{label:"系统状态",prop:"state"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.sysInfo.state,callback:function(e){t.$set(t.sysInfo,"state",e)},expression:"sysInfo.state"}}),e("div",{directives:[{name:"show",rawName:"v-show",value:0==t.sysInfo.state,expression:"sysInfo.state==0"}]},[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("关闭提示语")]),e("el-input",{attrs:{placeholder:"请输入系统关闭后的提示语",type:"textarea"},model:{value:t.sysInfo.closeTips,callback:function(e){t.$set(t.sysInfo,"closeTips",e)},expression:"sysInfo.closeTips"}})],1)],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("sysInfo")}}},[t._v("保存")])],1)],1)],1),e("el-tab-pane",[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"el-icon-chat-line-square"}),t._v(" 聊天设置")]),e("el-form",{ref:"chatInfo",staticClass:"demo-chatInfo",attrs:{model:t.chatInfo,rules:t.chatRules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"允许用户私聊",prop:"simpleChat"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.simpleChat,callback:function(e){t.$set(t.chatInfo,"simpleChat",e)},expression:"chatInfo.simpleChat"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("关闭后,用户将无法私聊")])],1),e("el-form-item",{attrs:{label:"允许用户建群",prop:"groupChat"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.groupChat,callback:function(e){t.$set(t.chatInfo,"groupChat",e)},expression:"chatInfo.groupChat"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("关闭后,用户将无法创建群聊")])],1),e("el-form-item",{attrs:{label:"群聊最多人数",prop:"groupUserMax"}},[e("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:1e3},model:{value:t.chatInfo.groupUserMax,callback:function(e){t.$set(t.chatInfo,"groupUserMax",e)},expression:"chatInfo.groupUserMax"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("人,0表示不限制,不建议超过300人")])],1),e("el-form-item",{attrs:{label:"开启在线状态",prop:"online"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.online,callback:function(e){t.$set(t.chatInfo,"online",e)},expression:"chatInfo.online"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,用户可以看到联系人的在线状态")])],1),e("el-form-item",{attrs:{label:"消息发送频率",prop:"sendInterval"}},[e("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:1e3},model:{value:t.chatInfo.sendInterval,callback:function(e){t.$set(t.chatInfo,"sendInterval",e)},expression:"chatInfo.sendInterval"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("秒,0表示不限制,防止用户刷消息")])],1),e("el-form-item",{attrs:{label:"消息撤回时间",prop:"redoTime"}},[e("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:86400},model:{value:t.chatInfo.redoTime,callback:function(e){t.$set(t.chatInfo,"redoTime",e)},expression:"chatInfo.redoTime"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("秒,0表示不支持撤回")])],1),e("el-form-item",{attrs:{label:"消息双向删除",prop:"dbDelMsg"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.dbDelMsg,callback:function(e){t.$set(t.chatInfo,"dbDelMsg",e)},expression:"chatInfo.dbDelMsg"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,用户删除消息会删除双方,仅限删除自己发送的")])],1),e("el-form-item",{attrs:{label:"消息自动清理",prop:"msgClear"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.msgClear,callback:function(e){t.$set(t.chatInfo,"msgClear",e)},expression:"chatInfo.msgClear"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,将会自动删除系统内的聊天记录")]),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.chatInfo.msgClear,expression:"chatInfo.msgClear==1"}]},[e("span",{staticClass:"c-999 f-12"},[t._v("消息最大保留天数")]),e("el-input-number",{staticClass:"ml-10",attrs:{min:0,max:1e3},model:{value:t.chatInfo.msgClearDay,callback:function(e){t.$set(t.chatInfo,"msgClearDay",e)},expression:"chatInfo.msgClearDay"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("系统在每日凌晨2点自动清理该天数以前的消息")])],1)],1),e("el-form-item",{attrs:{label:"自动添加客服",prop:"autoAddUser"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.autoAddUser.status,callback:function(e){t.$set(t.chatInfo.autoAddUser,"status",e)},expression:"chatInfo.autoAddUser.status"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,用户注册之后自动设置为专属客服。")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.chatInfo.autoAddUser.status,expression:"chatInfo.autoAddUser.status=='1'"}],staticClass:"mt-10"},[e("div",{staticClass:"lz-flex"},[e("span",{staticClass:"c-999 f-12"},[t._v("客服人员:")]),e("user-select",{attrs:{width:"300px"},on:{change:t.changeUser},model:{value:t.chatInfo.autoAddUser.user_items,callback:function(e){t.$set(t.chatInfo.autoAddUser,"user_items",e)},expression:"chatInfo.autoAddUser.user_items"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("如果选择多个则循环设置")])],1),e("div",{staticClass:"mt-10"},[e("span",{staticClass:"c-999 f-12"},[t._v("欢迎语")]),e("el-input",{staticClass:"ml-10",staticStyle:{width:"300px"},attrs:{type:"text"},model:{value:t.chatInfo.autoAddUser.welcome,callback:function(e){t.$set(t.chatInfo.autoAddUser,"welcome",e)},expression:"chatInfo.autoAddUser.welcome"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("通过客服自动发送给新注册的人员")])],1)])],1),e("el-form-item",{attrs:{label:"自动加入群聊",prop:"autoAddGroup"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.autoAddGroup.status,callback:function(e){t.$set(t.chatInfo.autoAddGroup,"status",e)},expression:"chatInfo.autoAddGroup.status"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,用户注册之后自动加入群聊。")]),e("div",{directives:[{name:"show",rawName:"v-show",value:"1"==t.chatInfo.autoAddGroup.status,expression:"chatInfo.autoAddGroup.status=='1'"}]},[e("div",{staticClass:"mt-10"},[e("span",{staticClass:"c-999 f-12"},[t._v("群聊名称")]),e("el-input",{staticClass:"ml-10",staticStyle:{width:"180px"},attrs:{type:"text",placeholder:"请输入群聊名称"},model:{value:t.chatInfo.autoAddGroup.name,callback:function(e){t.$set(t.chatInfo.autoAddGroup,"name",e)},expression:"chatInfo.autoAddGroup.name"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("自动生成群聊名称")])],1),e("div",{staticClass:"lz-flex mt-10"},[e("span",{staticClass:"c-999 f-12"},[t._v("默认群主:")]),e("user-select",{attrs:{width:"180px",radio:!0},on:{change:t.changeOwner},model:{value:t.chatInfo.autoAddGroup.owner_uid,callback:function(e){t.$set(t.chatInfo.autoAddGroup,"owner_uid",e)},expression:"chatInfo.autoAddGroup.owner_uid"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("选择后将自动设置为默认群主")])],1),e("div",{staticClass:"mt-10"},[e("span",{staticClass:"c-999 f-12"},[t._v("群聊成员上限:")]),e("el-input-number",{attrs:{min:5,max:1e3},model:{value:t.chatInfo.autoAddGroup.userMax,callback:function(e){t.$set(t.chatInfo.autoAddGroup,"userMax",e)},expression:"chatInfo.autoAddGroup.userMax"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("达到上限后自动创建新的群聊")])],1)])],1),e("el-form-item",{attrs:{label:"音视频通话",prop:"webrtc"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.chatInfo.webrtc,callback:function(e){t.$set(t.chatInfo,"webrtc",e)},expression:"chatInfo.webrtc"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("开启后,可以进行音视频通话,仅支持1对1音视频")]),e("div",{directives:[{name:"show",rawName:"v-show",value:1==t.chatInfo.webrtc,expression:"chatInfo.webrtc==1"}]},[e("div",{staticClass:"mt-15"},[e("span",{staticClass:"c-999 f-12"},[t._v("turn服务器")]),e("el-input",{staticClass:"ml-10",staticStyle:{width:"300px"},attrs:{type:"text",placeholder:"请输入stun服务器"},model:{value:t.chatInfo.stun,callback:function(e){t.$set(t.chatInfo,"stun",e)},expression:"chatInfo.stun"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("音视频通话需要有Stun服务器才可以进行,请加`turn:`协议头")])],1),e("div",{staticClass:"mt-15"},[e("span",{staticClass:"c-999 f-12"},[t._v("turn用户名")]),e("el-input",{staticClass:"ml-10",staticStyle:{width:"300px"},attrs:{type:"text",placeholder:"请输入stun用户名"},model:{value:t.chatInfo.stunUser,callback:function(e){t.$set(t.chatInfo,"stunUser",e)},expression:"chatInfo.stunUser"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("如果是公开的则可以不填写")])],1),e("div",{staticClass:"mt-15"},[e("span",{staticClass:"c-999 f-12"},[t._v("turn密码")]),e("el-input",{staticClass:"ml-10",staticStyle:{width:"300px"},attrs:{type:"text",placeholder:"请输入stun服务器密码"},model:{value:t.chatInfo.stunPass,callback:function(e){t.$set(t.chatInfo,"stunPass",e)},expression:"chatInfo.stunPass"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("如果是公开的则可以不填写")])],1)])],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("chatInfo")}}},[t._v("保存")])],1)],1)],1),e("el-tab-pane",[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"el-icon-message"}),t._v(" 邮件短信设置")]),e("el-alert",{staticClass:"mb-20",attrs:{title:"系统支持短信验证码,请到项目:[根目录/config/sms.php] 中配置短信开放平台的参数,支持阿里云、腾讯云、七牛云、又拍云、Ucloud和华为云。",type:"warning"}}),e("el-form",{ref:"smtp",staticStyle:{width:"500px"},attrs:{model:t.smtp,rules:t.smtpRules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"邮件服务器",prop:"host"}},[e("el-input",{attrs:{placeholder:"请输入邮件服务器,如:smtp.mail.qq.com"},model:{value:t.smtp.host,callback:function(e){t.$set(t.smtp,"host",e)},expression:"smtp.host"}})],1),e("el-form-item",{attrs:{label:"端口号",prop:"port"}},[e("el-input-number",{attrs:{min:0,max:99999},model:{value:t.smtp.port,callback:function(e){t.$set(t.smtp,"port",e)},expression:"smtp.port"}})],1),e("el-form-item",{attrs:{label:"加密方式",prop:"security"}},[e("el-radio-group",{model:{value:t.smtp.security,callback:function(e){t.$set(t.smtp,"security",e)},expression:"smtp.security"}},[e("el-radio",{attrs:{label:"ssl",border:""}},[t._v("SSL")]),e("el-radio",{attrs:{label:"tls",border:""}},[t._v("TLS")])],1)],1),e("el-form-item",{attrs:{label:"发件人邮箱",prop:"addr"}},[e("el-input",{attrs:{placeholder:"请输入发件人的邮箱"},model:{value:t.smtp.addr,callback:function(e){t.$set(t.smtp,"addr",e)},expression:"smtp.addr"}})],1),e("el-form-item",{attrs:{label:"发件人密码",prop:"pass"}},[e("el-input",{attrs:{"show-password":"",placeholder:"请输入发件人的密码"},model:{value:t.smtp.pass,callback:function(e){t.$set(t.smtp,"pass",e)},expression:"smtp.pass"}})],1),e("el-form-item",{attrs:{label:"发件人签名",prop:"sign"}},[e("el-input",{attrs:{placeholder:"请输入发件人签名"},model:{value:t.smtp.sign,callback:function(e){t.$set(t.smtp,"sign",e)},expression:"smtp.sign"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("smtp")}}},[t._v("保存")])],1),e("el-form-item",{attrs:{label:"测试邮件"}},[e("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入邮件地址"},model:{value:t.textEmail,callback:function(e){t.textEmail=e},expression:"textEmail"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-s-promotion",loading:t.loadding},on:{click:t.sendEmail},slot:"append"},[t._v("发送")])],1)],1)],1)],1),e("el-tab-pane",[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"el-icon-upload"}),t._v(" 文件上传设置")]),e("div",{staticClass:"mb-20"},[e("el-alert",{attrs:{title:"一旦设置了储存位置,就不能再进行更改,否则之前的文件或者图片加载就会出错!此修改会变更环境变量中的参数,请慎重操作!",type:"warning","show-icon":"",closable:!1}})],1),e("el-form",{ref:"fileUpload",staticStyle:{width:"600px"},attrs:{model:t.fileUpload,rules:t.fileRules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"储存位置",prop:"disk"}},[e("el-radio-group",{model:{value:t.fileUpload.disk,callback:function(e){t.$set(t.fileUpload,"disk",e)},expression:"fileUpload.disk"}},[e("el-radio",{attrs:{label:"local",border:""}},[t._v("本地")]),e("el-radio",{attrs:{label:"aliyun",border:""}},[t._v("阿里云")]),e("el-radio",{attrs:{label:"qiniu",border:""}},[t._v("七牛云")]),e("el-radio",{attrs:{label:"qcloud",border:""}},[t._v("腾讯云")])],1)],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"aliyun"==t.fileUpload.disk,expression:"fileUpload.disk=='aliyun'"}],attrs:{label:"阿里云配置"}},[e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("accessId")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入阿里云OSS平台的accessId"},model:{value:t.fileUpload.aliyun.accessId,callback:function(e){t.$set(t.fileUpload.aliyun,"accessId",e)},expression:"fileUpload.aliyun.accessId"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("accessSecret")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入阿里云OSS平台的accessSecret"},model:{value:t.fileUpload.aliyun.accessSecret,callback:function(e){t.$set(t.fileUpload.aliyun,"accessSecret",e)},expression:"fileUpload.aliyun.accessSecret"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("endpoint")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入阿里云OSS平台的endpoint"},model:{value:t.fileUpload.aliyun.endpoint,callback:function(e){t.$set(t.fileUpload.aliyun,"endpoint",e)},expression:"fileUpload.aliyun.endpoint"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("bucket")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入阿里云OSS平台的bucket"},model:{value:t.fileUpload.aliyun.bucket,callback:function(e){t.$set(t.fileUpload.aliyun,"bucket",e)},expression:"fileUpload.aliyun.bucket"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("url")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入阿里云OSS平台的域名"},model:{value:t.fileUpload.aliyun.url,callback:function(e){t.$set(t.fileUpload.aliyun,"url",e)},expression:"fileUpload.aliyun.url"}})],1)]),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"qiniu"==t.fileUpload.disk,expression:"fileUpload.disk=='qiniu'"}],attrs:{label:"七牛云配置"}},[e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("accessKey")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入七牛云平台的accessKey"},model:{value:t.fileUpload.qiniu.accessKey,callback:function(e){t.$set(t.fileUpload.qiniu,"accessKey",e)},expression:"fileUpload.qiniu.accessKey"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("secretKey")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入七牛云平台的secretKey"},model:{value:t.fileUpload.qiniu.secretKey,callback:function(e){t.$set(t.fileUpload.qiniu,"secretKey",e)},expression:"fileUpload.qiniu.secretKey"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("bucket")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入七牛云平台的bucket"},model:{value:t.fileUpload.qiniu.bucket,callback:function(e){t.$set(t.fileUpload.qiniu,"bucket",e)},expression:"fileUpload.qiniu.bucket"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("url")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入七牛云平台的域名"},model:{value:t.fileUpload.qiniu.url,callback:function(e){t.$set(t.fileUpload.qiniu,"url",e)},expression:"fileUpload.qiniu.url"}})],1)]),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:"qcloud"==t.fileUpload.disk,expression:"fileUpload.disk=='qcloud'"}],attrs:{label:"腾讯云配置"}},[e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("appId")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的appId"},model:{value:t.fileUpload.qcloud.appId,callback:function(e){t.$set(t.fileUpload.qcloud,"appId",e)},expression:"fileUpload.qcloud.appId"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("secretId")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的secretId"},model:{value:t.fileUpload.qcloud.secretId,callback:function(e){t.$set(t.fileUpload.qcloud,"secretId",e)},expression:"fileUpload.qcloud.secretId"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("secretKey")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的secretKey"},model:{value:t.fileUpload.qcloud.secretKey,callback:function(e){t.$set(t.fileUpload.qcloud,"secretKey",e)},expression:"fileUpload.qcloud.secretKey"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("region")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的region"},model:{value:t.fileUpload.qcloud.region,callback:function(e){t.$set(t.fileUpload.qcloud,"region",e)},expression:"fileUpload.qcloud.region"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("bucket")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的bucket"},model:{value:t.fileUpload.qcloud.bucket,callback:function(e){t.$set(t.fileUpload.qcloud,"bucket",e)},expression:"fileUpload.qcloud.bucket"}})],1),e("div",[e("span",{staticClass:"mr-10 c-999 f-12"},[t._v("cdn")]),t._v(" "),e("el-input",{attrs:{placeholder:"请输入腾讯云平台的域名"},model:{value:t.fileUpload.qcloud.cdn,callback:function(e){t.$set(t.fileUpload.qcloud,"cdn",e)},expression:"fileUpload.qcloud.cdn"}})],1)]),e("el-form-item",{attrs:{label:"文件预览地址",prop:"preview"}},[e("el-input",{attrs:{placeholder:"请输入文件预览的地址,若无则使用默认预览工具"},model:{value:t.fileUpload.preview,callback:function(e){t.$set(t.fileUpload,"preview",e)},expression:"fileUpload.preview"}})],1),e("el-form-item",{attrs:{label:"文件大小限制",prop:"size"}},[e("el-input-number",{attrs:{min:0,max:500,label:""},model:{value:t.fileUpload.size,callback:function(e){t.$set(t.fileUpload,"size",e)},expression:"fileUpload.size"}}),t._v(" "),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("MB")])],1),e("el-form-item",{attrs:{label:"文件格式限制",prop:"fileExt"}},[e("el-select",{staticStyle:{width:"480px"},attrs:{multiple:"",filterable:"","allow-create":"","default-first-option":"",placeholder:"请输入允许上传的文件格式"},model:{value:t.fileUpload.fileExt,callback:function(e){t.$set(t.fileUpload,"fileExt",e)},expression:"fileUpload.fileExt"}},t._l(t.options,(function(t,r){return e("el-option",{key:r,attrs:{label:t,value:t}})})),1)],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("fileUpload")}}},[t._v("保存")])],1)],1)],1),e("el-tab-pane",[e("span",{attrs:{slot:"label"},slot:"label"},[e("i",{staticClass:"el-icon-discover"}),t._v(" 探索设置")]),e("el-alert",{staticClass:"mb-15",attrs:{"show-icon":"",closable:!1,title:"应用内的链接一定要是 '/' 开头,外部URL需要带协议头,以 '/' 结尾;图标、名称、链接为必填项,如果没填写则无法保存。该功能只对移动端有效!",type:"warning"}}),e("el-form",{ref:"compass",attrs:{model:t.compass,rules:t.compassRules,"label-width":"120px"}},[e("el-form-item",{attrs:{label:"开启探索"}},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},model:{value:t.compass.status,callback:function(e){t.$set(t.compass,"status",e)},expression:"compass.status"}}),e("span",{staticClass:"ml-10 c-999 f-12"},[t._v("关闭后,不显示探索页面")])],1),e("el-form-item",{attrs:{label:"展示模式"}},[e("el-radio-group",{model:{value:t.compass.mode,callback:function(e){t.$set(t.compass,"mode",e)},expression:"compass.mode"}},[e("el-radio",{attrs:{label:"1",border:""}},[t._v("列表模式")]),e("el-radio",{attrs:{label:"2",border:""}},[t._v("宫格模式")])],1)],1),e("el-form-item",{attrs:{label:"应用列表"}},[e("div",{staticClass:"lz-flex lz-align-items-center lz-align-content-center"},[e("div",{staticClass:"ml-10",staticStyle:{width:"60px"}},[t._v("图标")]),e("div",{staticStyle:{width:"130px"}},[t._v("名称")]),e("div",{staticStyle:{width:"130px"}},[t._v("类型")]),e("div",{staticStyle:{width:"310px"}},[t._v("链接")]),e("div",{staticStyle:{width:"80px"}},[t._v("排序")]),e("div",{staticStyle:{width:"60px"}},[t._v("状态")]),e("div",{staticStyle:{width:"60px"}},[t._v("操作")])])]),t._l(t.compass.list,(function(r,n){return e("el-form-item",{key:n,attrs:{prop:"list"}},[e("div",{staticClass:"lz-flex lz-align-items-center lz-align-content-center"},[e("el-upload",{staticClass:"avatar-uploader mr-10",staticStyle:{width:"50px",height:"50px"},attrs:{headers:t.getToken,action:t.getUrl,"show-file-list":!1,"on-success":t.iconUploadSuccess.bind(null,n)}},[r.icon?e("img",{staticClass:"avatar",staticStyle:{width:"50px",height:"50px"},attrs:{src:r.icon}}):e("i",{staticClass:"el-icon-plus avatar-uploader-icon",staticStyle:{width:"50px",height:"50px","line-height":"50px"}}),e("el-input",{staticStyle:{display:"none"},model:{value:r.icon,callback:function(e){t.$set(r,"icon",e)},expression:"item.icon"}})],1),e("el-input",{staticClass:"mr-10",staticStyle:{width:"120px"},model:{value:r.name,callback:function(e){t.$set(r,"name",e)},expression:"item.name"}}),e("el-select",{staticClass:"mr-10",staticStyle:{width:"120px"},attrs:{placeholder:"请选择应用类型"},model:{value:r.type,callback:function(e){t.$set(r,"type",e)},expression:"item.type"}},[e("el-option",{attrs:{label:"应用内",value:"1"}}),e("el-option",{attrs:{label:"外部URL",value:"2"}})],1),e("el-input",{staticClass:"mr-10",staticStyle:{width:"300px"},model:{value:r.url,callback:function(e){t.$set(r,"url",e)},expression:"item.url"}}),e("el-input",{staticClass:"mr-10",staticStyle:{width:"80px"},model:{value:r.order,callback:function(e){t.$set(r,"order",e)},expression:"item.order"}}),e("el-switch",{staticStyle:{width:"60px"},attrs:{"active-value":"1","inactive-value":"0"},model:{value:r.status,callback:function(e){t.$set(r,"status",e)},expression:"item.status"}}),e("el-button",{attrs:{type:"danger",icon:"el-icon-minus",circle:""},on:{click:function(e){return t.delAppItem(r)}}})],1)])})),e("el-form-item",[e("el-button",{attrs:{type:"primary",icon:"el-icon-plus"},on:{click:t.addAppItem}},[t._v("添加应用")])],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm("compass")}}},[t._v("保存")])],1)],2)],1)],1)],1)},o=[],i=(r(7658),r(4462)),a=r.n(i),s=r(8867),l=r.n(s),c=r(6647),u={components:{VueQr:l(),userSelect:c.Z},data(){return{loadding:!1,sysInfo:{name:"",description:"",logo:"",regtype:"1",registerInterval:0,regauth:"2",ipregion:"1",runMode:"1",diyName:"0",state:!0,closeTips:"",multipleLogin:"0"},chatInfo:{simpleChat:!0,groupChat:!0,groupUserMax:0,online:!0,msgClear:!0,msgClearDay:0,webrtc:!0,stun:"",stunUser:"",stunPass:"",sendInterval:"",redoTime:120,dbDelMsg:!1,autoAddGroup:{status:0,userMax:"",owner_uid:"",owner_info:[],name:""},autoAddUser:{status:0,user_ids:[],user_items:[]}},smtp:{host:"",port:465,security:"ssl",addr:"",pass:"",sign:""},compass:{status:"1",mode:"1",list:[]},fileUpload:{disk:"local",aliyun:{accessId:"",accessSecret:"",endpoint:"",bucket:"",url:""},qiniu:{accessKey:"",secretKey:"",bucket:"",url:""},qcloud:{appId:"",secretId:"",secretKey:"",region:"",bucket:"",cdn:""},preview:"",size:0,fileExt:""},options:["jpg","png"],inviteUrl:"",textEmail:"",rules:{name:[{required:!0,message:"请输入系统名称",trigger:"blur"},{min:2,max:32,message:"长度在 2 到 32 个字符",trigger:"blur"}],description:[{required:!0,message:"请输入系统描述",trigger:"blur"}]},chatRules:{groupUserMax:[{required:!0,message:"请输入群组人数上限",trigger:"blur"}],msgClearDay:[{required:!0,message:"请输入消息保存天数",trigger:"blur"}]},smtpRules:{host:[{required:!0,pattern:"^[a-z0-9]+([-.]{1}[a-z0-9]+)*.[a-z]{2,5}$",message:"请输入SMTP服务器地址",trigger:"blur"}],port:[{required:!0,type:"number",message:"请输入SMTP服务器端口",trigger:"blur"}],addr:[{required:!0,type:"email",message:"请输入SMTP邮箱",trigger:["blur","change"]}],pass:[{required:!0,message:"请输入SMTP邮箱密码",trigger:"blur"}]},fileRules:{size:[{required:!0,type:"number",message:"请输入文件大小限制",trigger:"blur"}],fileExt:[{required:!0,message:"请输入文件格式限制",trigger:"blur"}]},compassRules:{compassMode:[{required:!0,message:"请选择展示模式",trigger:"blur"}]}}},computed:{getToken(){const t=a().get("authToken");return{Authorization:t}},getUrl(){return window.BASE_URL+"/common/upload/uploadImage"}},mounted(){this.initConfig(),this.resetInviteUrl()},methods:{initConfig(){this.$api.configApi.getAllConfig({}).then((t=>{0==t.code&&t.data.forEach((t=>{switch(t.name){case"sysInfo":t.value&&(this.sysInfo=Object.assign(this.sysInfo,t.value));break;case"chatInfo":t.value&&(this.chatInfo=Object.assign(this.chatInfo,t.value));break;case"smtp":t.value&&(this.smtp=Object.assign(this.smtp,t.value));break;case"fileUpload":t.value&&(this.fileUpload=Object.assign(this.fileUpload,t.value));break;case"compass":t.value&&(this.compass=Object.assign(this.compass,t.value));break}}))}))},submitForm(t){this.$refs[t].validate((e=>{if(!e)return console.log("error submit!!"),!1;var r={};switch(r.name=t,t){case"sysInfo":r.value=this.sysInfo;break;case"chatInfo":r.value=this.chatInfo;break;case"smtp":r.value=this.smtp;break;case"fileUpload":r.value=this.fileUpload;break;case"compass":let t=this.compass,e=t.list.filter((t=>""!=t.name&&""!=t.icon&&""!=t.url));t.list=e,r.value=t;break}this.$api.configApi.setConfig(r).then((t=>{0==t.code&&this.$message({message:t.msg,type:"success"})}))}))},resetForm(t){this.$refs[t].resetFields()},uploadSuccess(t,e){this.sysInfo.logo=t.data},iconUploadSuccess(t,e,r){this.compass.list[t].icon=e.data},beforeAvatarUpload(t){},change(t,e){},copyUrl(){this.$clipboard(this.inviteUrl),this.$message({message:"复制成功",type:"success"})},resetInviteUrl(){this.$api.configApi.getInviteLink({}).then((t=>{0==t.code&&(this.inviteUrl=t.data)}))},sendEmail(){this.textEmail?(this.loadding=!0,this.$confirm("确定发送测试邮件吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.configApi.sendTestEmail({email:this.textEmail}).then((t=>{this.loadding=!1,this.textEmail="",0==t.code&&this.$message({message:t.msg,type:"success"})}))})).catch((()=>{this.loadding=!1}))):this.$message({message:"请输入邮箱地址",type:"warning"})},addAppItem(){let t=this.compass.list;t.push({id:1,url:"",icon:"",name:"",type:"2",badge:0,order:0,status:"1"}),this.compass.list=t},delAppItem(t){var e=this.compass.list.indexOf(t);-1!==e&&this.compass.list.splice(e,1)},changeUser(t,e){this.chatInfo.autoAddUser.user_ids=t,this.chatInfo.autoAddUser.user_items=e},changeOwner(t,e){this.chatInfo.autoAddGroup.owner_uid=t,this.chatInfo.autoAddGroup.owner_info=e}}},f=u,h=r(1001),p=(0,h.Z)(f,n,o,!1,null,"5a260d74",null),d=p.exports},8867:function(t,e,r){r(7658),r(541),r(3408),r(4590),r(2801),function(e,r){t.exports=r()}(0,(function(){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="/dist/",r(r.s=13)}([function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e){function r(t,e){for(var r=0;r65536?(a[0]=240|(1835008&s)>>>18,a[1]=128|(258048&s)>>>12,a[2]=128|(4032&s)>>>6,a[3]=128|63&s):s>2048?(a[0]=224|(61440&s)>>>12,a[1]=128|(4032&s)>>>6,a[2]=128|63&s):s>128?(a[0]=192|(1984&s)>>>6,a[1]=128|63&s):a[0]=s,r.push(a)}this.parsedData=Array.prototype.concat.apply([],r),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}return a()(t,[{key:"getLength",value:function(){return this.parsedData.length}},{key:"write",value:function(t){for(var e=0,r=this.parsedData.length;e0&&void 0!==arguments[0]?arguments[0]:-1,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.L;o()(this,t),this.moduleCount=0,this.dataList=[],this.typeNumber=e,this.errorCorrectLevel=r,this.moduleCount=0,this.dataList=[]}return a()(t,[{key:"addData",value:function(t){if(this.typeNumber<=0)this.typeNumber=function(t,e){for(var r=1,n=s(t),o=0,i=y.length;oy.length)throw new Error("Too long data");return r}(t,this.errorCorrectLevel);else{if(this.typeNumber>40)throw new Error("Invalid QR version: ".concat(this.typeNumber));if(!function(t,e,r){var n=s(e),o=t-1,i=0;switch(r){case u.L:i=y[o][0];break;case u.M:i=y[o][1];break;case u.Q:i=y[o][2];break;case u.H:i=y[o][3]}return n<=i}(this.typeNumber,t,this.errorCorrectLevel))throw new Error("Data is too long for QR version: ".concat(this.typeNumber))}var e=new l(t);this.dataList.push(e),this.dataCache=void 0}},{key:"isDark",value:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error("".concat(t,",").concat(e));return this.modules[t][e]}},{key:"getModuleCount",value:function(){return this.moduleCount}},{key:"make",value:function(){this.makeImpl(!1,this.getBestMaskPattern())}},{key:"makeImpl",value:function(e,r){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var n=0;n=7&&this.setupTypeNumber(e),null==this.dataCache&&(this.dataCache=t.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,r)}},{key:"setupPositionProbePattern",value:function(t,e){for(var r=-1;r<=7;r++)if(!(t+r<=-1||this.moduleCount<=t+r))for(var n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+r][e+n]=0<=r&&r<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==r||6==r)||2<=r&&r<=4&&2<=n&&n<=4)}},{key:"getBestMaskPattern",value:function(){if(Number.isInteger(this.maskPattern)&&Object.values(h).includes(this.maskPattern))return this.maskPattern;for(var t=0,e=0,r=0;r<8;r++){this.makeImpl(!0,r);var n=p.getLostPoint(this);(0==r||t>n)&&(t=n,e=r)}return e}},{key:"setupTimingPattern",value:function(){for(var t=8;t>r&1);this.modules[Math.floor(r/3)][r%3+this.moduleCount-8-3]=n}for(r=0;r<18;r++)n=!t&&1==(e>>r&1),this.modules[r%3+this.moduleCount-8-3][Math.floor(r/3)]=n}},{key:"setupTypeInfo",value:function(t,e){for(var r=this.errorCorrectLevel<<3|e,n=p.getBCHTypeInfo(r),o=0;o<15;o++){var i=!t&&1==(n>>o&1);o<6?this.modules[o][8]=i:o<8?this.modules[o+1][8]=i:this.modules[this.moduleCount-15+o][8]=i}for(o=0;o<15;o++)i=!t&&1==(n>>o&1),o<8?this.modules[8][this.moduleCount-o-1]=i:o<9?this.modules[8][15-o-1+1]=i:this.modules[8][15-o-1]=i;this.modules[this.moduleCount-8][8]=!t}},{key:"mapData",value:function(t,e){for(var r=-1,n=this.moduleCount-1,o=7,i=0,a=this.moduleCount-1;a>0;a-=2)for(6==a&&a--;;){for(var s=0;s<2;s++)if(null==this.modules[n][a-s]){var l=!1;i>>o&1)),p.getMask(e,n,a-s)&&(l=!l),this.modules[n][a-s]=l,-1==--o&&(i++,o=7)}if((n+=r)<0||this.moduleCount<=n){n-=r,r=-r;break}}}}],[{key:"createData",value:function(e,r,n){for(var o=m.getRSBlocks(e,r),i=new v,a=0;a8*l)throw new Error("code length overflow. (".concat(i.getLengthInBits(),">").concat(8*l,")"));for(i.getLengthInBits()+4<=8*l&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*l||(i.put(t.PAD0,8),i.getLengthInBits()>=8*l));)i.put(t.PAD1,8);return t.createBytes(i,o)}},{key:"createBytes",value:function(t,e){for(var r=0,n=0,o=0,i=new Array(e.length),a=new Array(e.length),s=0;s=0?h.get(d):0}}var m=0;for(u=0;u=0;)r^=t.G15<=0;)r^=t.G18<>>=1;return e}},{key:"getPatternPosition",value:function(e){return t.PATTERN_POSITION_TABLE[e-1]}},{key:"getMask",value:function(t,e,r){switch(t){case h.PATTERN000:return(e+r)%2==0;case h.PATTERN001:return e%2==0;case h.PATTERN010:return r%3==0;case h.PATTERN011:return(e+r)%3==0;case h.PATTERN100:return(Math.floor(e/2)+Math.floor(r/3))%2==0;case h.PATTERN101:return e*r%2+e*r%3==0;case h.PATTERN110:return(e*r%2+e*r%3)%2==0;case h.PATTERN111:return(e*r%3+(e+r)%2)%2==0;default:throw new Error("bad maskPattern:".concat(t))}}},{key:"getErrorCorrectPolynomial",value:function(t){for(var e=new g([1],0),r=0;r5&&(r+=3+i-5)}for(n=0;n=256;)e-=255;return t.EXP_TABLE[e]}}]),t}();d.EXP_TABLE=new Array(256),d.LOG_TABLE=new Array(256),d._constructor=function(){for(var t=0;t<8;t++)d.EXP_TABLE[t]=1<>>7-t%8&1)}},{key:"put",value:function(t,e){for(var r=0;r>>e-r-1&1))}},{key:"getLengthInBits",value:function(){return this.length}},{key:"putBit",value:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}}]),t}(),y=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]]},function(t,e,r){"use strict";(function(t){r.d(e,"b",(function(){return l})),r.d(e,"a",(function(){return c}));var n=r(2),o=r.n(n);function i(t){if("string"!=typeof t)throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function a(t,e){for(var r,n="",o=0,i=-1,a=0,s=0;s<=t.length;++s){if(s2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",o=0):o=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),i=s,a=0;continue}}else if(2===n.length||1===n.length){n="",o=0,i=s,a=0;continue}e&&(n.length>0?n+="/..":n="..",o=2)}else n.length>0?n+="/"+t.slice(i+1,s):n=t.slice(i+1,s),o=s-i-1;i=s,a=0}else 46===r&&-1!==a?++a:a=-1}return n}var s={resolve:function(){for(var e,r="",n=!1,o=arguments.length-1;o>=-1&&!n;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=t.cwd()),s=e),i(s),0!==s.length&&(r=s+"/"+r,n=47===s.charCodeAt(0))}return r=a(r,!n),n?r.length>0?"/"+r:"/":r.length>0?r:"."},normalize:function(t){if(i(t),0===t.length)return".";var e=47===t.charCodeAt(0),r=47===t.charCodeAt(t.length-1);return 0!==(t=a(t,!e)).length||e||(t="."),t.length>0&&r&&(t+="/"),e?"/"+t:t},isAbsolute:function(t){return i(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var t,e=0;e0&&(void 0===t?t=r:t+="/"+r)}return void 0===t?".":s.normalize(t)},relative:function(t,e){if(i(t),i(e),t===e)return"";if((t=s.resolve(t))===(e=s.resolve(e)))return"";for(var r=1;rc){if(47===e.charCodeAt(a+f))return e.slice(a+f+1);if(0===f)return e.slice(a+f)}else o>c&&(47===t.charCodeAt(r+f)?u=f:0===f&&(u=0));break}var h=t.charCodeAt(r+f);if(h!==e.charCodeAt(a+f))break;47===h&&(u=f)}var p="";for(f=r+u+1;f<=n;++f)f!==n&&47!==t.charCodeAt(f)||(0===p.length?p+="..":p+="/..");return p.length>0?p+e.slice(a+u):(a+=u,47===e.charCodeAt(a)&&++a,e.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(i(t),0===t.length)return".";for(var e=t.charCodeAt(0),r=47===e,n=-1,o=!0,a=t.length-1;a>=1;--a)if(47===(e=t.charCodeAt(a))){if(!o){n=a;break}}else o=!1;return-1===n?r?"/":".":r&&1===n?"//":t.slice(0,n)},basename:function(t,e){if(void 0!==e&&"string"!=typeof e)throw new TypeError('"ext" argument must be a string');i(t);var r,n=0,o=-1,a=!0;if(void 0!==e&&e.length>0&&e.length<=t.length){if(e.length===t.length&&e===t)return"";var s=e.length-1,l=-1;for(r=t.length-1;r>=0;--r){var c=t.charCodeAt(r);if(47===c){if(!a){n=r+1;break}}else-1===l&&(a=!1,l=r+1),s>=0&&(c===e.charCodeAt(s)?-1==--s&&(o=r):(s=-1,o=l))}return n===o?o=l:-1===o&&(o=t.length),t.slice(n,o)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!a){n=r+1;break}}else-1===o&&(a=!1,o=r+1);return-1===o?"":t.slice(n,o)},extname:function(t){i(t);for(var e=-1,r=0,n=-1,o=!0,a=0,s=t.length-1;s>=0;--s){var l=t.charCodeAt(s);if(47!==l)-1===n&&(o=!1,n=s+1),46===l?-1===e?e=s:1!==a&&(a=1):-1!==e&&(a=-1);else if(!o){r=s+1;break}}return-1===e||-1===n||0===a||1===a&&e===n-1&&e===r+1?"":t.slice(e,n)},format:function(t){if(null===t||"object"!==o()(t))throw new TypeError('The "pathObject" argument must be of type Object. Received type '+o()(t));return function(t,e){var r=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||"");return r?r===e.root?r+n:r+t+n:n}("/",t)},parse:function(t){i(t);var e={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return e;var r,n=t.charCodeAt(0),o=47===n;o?(e.root="/",r=1):r=0;for(var a=-1,s=0,l=-1,c=!0,u=t.length-1,f=0;u>=r;--u)if(47!==(n=t.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===n?-1===a?a=u:1!==f&&(f=1):-1!==a&&(f=-1);else if(!c){s=u+1;break}return-1===a||-1===l||0===f||1===f&&a===l-1&&a===s+1?-1!==l&&(e.base=e.name=0===s&&o?t.slice(1,l):t.slice(s,l)):(0===s&&o?(e.name=t.slice(1,a),e.base=t.slice(1,l)):(e.name=t.slice(s,a),e.base=t.slice(s,l)),e.ext=t.slice(a,l)),s>0?e.dir=t.slice(0,s-1):o&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};s.posix=s;var l=s.extname,c=s.basename}).call(this,r(19))},function(t,e){function r(t,e,r,n,o,i,a){try{var s=t[i](a),l=s.value}catch(t){return void r(t)}s.done?e(l):Promise.resolve(l).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function s(t){r(a,o,i,s,l,"next",t)}function l(t){r(a,o,i,s,l,"throw",t)}s(void 0)}))}},t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";r.d(e,"b",(function(){return b})),r.d(e,"a",(function(){return x}));const n=(t,e,r={},o=r)=>{if(Array.isArray(e))e.forEach((e=>n(t,e,r,o)));else if("function"==typeof e)e(t,r,o,n);else{const i=Object.keys(e)[0];Array.isArray(e[i])?(o[i]={},n(t,e[i],r,o[i])):o[i]=e[i](t,r,o,n)}return r},o=(t,e)=>(r,n,o,i)=>{e(r,n,o)&&i(r,t,n,o)},i=(t=0)=>e=>e.data[e.pos+t],a=t=>e=>e.data.subarray(e.pos,e.pos+=t),s=t=>e=>e.data.subarray(e.pos,e.pos+t),l=t=>e=>Array.from(a(t)(e)).map((t=>String.fromCharCode(t))).join(""),c=t=>e=>{const r=a(2)(e);return t?(r[1]<<8)+r[0]:(r[0]<<8)+r[1]},u=(t,e)=>(r,n,o)=>{const i="function"==typeof e?e(r,n,o):e,s=a(t),l=new Array(i);for(var c=0;ce=>{const r=(t=>t.data[t.pos++])(e),n=new Array(8);for(var o=0;o<8;o++)n[7-o]=!!(r&1<{const o=t[r];return o.length?e[r]=((t,e,r)=>{for(var n=0,o=0;o{const e=[],r=t.data.length;for(var n=0,o=(t=>t.data[t.pos++])(t);0!==o&&o;o=(t=>t.data[t.pos++])(t)){if(t.pos+o>=r){const o=r-t.pos;e.push(a(o)(t)),n+=o;break}e.push(a(o)(t)),n+=o}const i=new Uint8Array(n);for(var s=0,l=0;lt.data[t.pos++]},{extras:f({future:{index:0,length:3},disposal:{index:3,length:3},userInput:{index:6},transparentColorGiven:{index:7}})},{delay:c(!0)},{transparentColorIndex:t=>t.data[t.pos++]},{terminator:t=>t.data[t.pos++]}]},(t=>{var e=s(2)(t);return 33===e[0]&&249===e[1]})),d=o({image:[{code:t=>t.data[t.pos++]},{descriptor:[{left:c(!0)},{top:c(!0)},{width:c(!0)},{height:c(!0)},{lct:f({exists:{index:0},interlaced:{index:1},sort:{index:2},future:{index:3,length:2},size:{index:5,length:3}})}]},o({lct:u(3,((t,e,r)=>Math.pow(2,r.descriptor.lct.size+1)))},((t,e,r)=>r.descriptor.lct.exists)),{data:[{minCodeSize:t=>t.data[t.pos++]},h]}]},(t=>44===i()(t))),g=o({text:[{codes:a(2)},{blockSize:t=>t.data[t.pos++]},{preData:(t,e,r)=>a(r.text.blockSize)(t)},h]},(t=>{var e=s(2)(t);return 33===e[0]&&1===e[1]})),m=o({application:[{codes:a(2)},{blockSize:t=>t.data[t.pos++]},{id:(t,e,r)=>l(r.blockSize)(t)},h]},(t=>{var e=s(2)(t);return 33===e[0]&&255===e[1]})),v=o({comment:[{codes:a(2)},h]},(t=>{var e=s(2)(t);return 33===e[0]&&254===e[1]}));var y=[{header:[{signature:l(3)},{version:l(3)}]},{lsd:[{width:c(!0)},{height:c(!0)},{gct:f({exists:{index:0},resolution:{index:1,length:3},sort:{index:4},size:{index:5,length:3}})},{backgroundColorIndex:t=>t.data[t.pos++]},{pixelAspectRatio:t=>t.data[t.pos++]}]},o({gct:u(3,((t,e)=>Math.pow(2,e.lsd.gct.size+1)))},((t,e)=>e.lsd.gct.exists)),{frames:((t,e)=>(r,n,o,i)=>{const a=[];let s=r.pos;for(;e(r,n,o);){const e={};if(i(r,t,n,e),r.pos===s)break;s=r.pos,a.push(e)}return a})([p,m,v,d,g],(t=>{var e=i()(t);return 33===e||44===e}))}],b=function(t){var e=new Uint8Array(t);return n({data:e,pos:0},y)},w=function(t,e,r){if(t.image){var n=t.image,o=n.descriptor.width*n.descriptor.height,i=function(t,e,r){var n,o,i,a,s,l,c,u,f,h,p,d,g,m,v,y,b=r,w=new Array(r),x=new Array(4096),C=new Array(4096),_=new Array(4097);for(s=1+(o=1<<(h=t)),n=o+2,c=-1,i=(1<<(a=h+1))-1,u=0;u>=a,d-=a,u>n||u==s)break;if(u==o){i=(1<<(a=h+1))-1,n=o+2,c=-1;continue}if(-1==c){_[m++]=C[u],c=u,g=u;continue}for(l=u,u==n&&(_[m++]=g,u=c);u>o;)_[m++]=C[u],u=x[u];g=255&C[u],_[m++]=g,n<4096&&(x[n]=c,C[n]=g,0==(++n&i)&&n<4096&&(a++,i+=n)),c=l}m--,w[v++]=_[m],f++}for(f=v;f1)throw new Error("dotScale should be in range (0, 1].");r.components.data.scale=r.dotScale,r.components.timing.scale=r.dotScale,r.components.alignment.scale=r.dotScale}this.options=r,this.canvas=new m(t.size,t.size),this.canvasContext=this.canvas.getContext("2d"),this.qrCode=new p.a(-1,this.options.correctLevel),Number.isInteger(this.options.maskPattern)&&(this.qrCode.maskPattern=this.options.maskPattern),Number.isInteger(this.options.version)&&(this.qrCode.typeNumber=this.options.version),this.qrCode.addData(this.options.text),this.qrCode.make()}return l()(e,[{key:"draw",value:function(){var t=this;return new Promise((function(e){return t._draw().then(e)}))}},{key:"_clear",value:function(){this.canvasContext.clearRect(0,0,this.canvas.width,this.canvas.height)}},{key:"_draw",value:function(){var r,n,o,i,a,s,l,c,f,y,w,x,C,_,k,I,A,E,T;return g(this,void 0,void 0,u.a.mark((function g(){var S,P,U,B,R,L,D,M,O,N,$,j,q,z,F,G,Y,K,H,Q,X,V,J,Z,W,tt,et,rt,nt,ot,it,at,st,lt,ct,ut,ft,ht,pt,dt,gt,mt,vt,yt,bt,wt,xt,Ct,_t,kt,It,At,Et,Tt,St,Pt,Ut,Bt,Rt,Lt,Dt,Mt,Ot,Nt,$t,jt,qt,zt,Ft,Gt,Yt,Kt;return u.a.wrap((function(u){for(;;)switch(u.prev=u.next){case 0:if(S=null===(r=this.qrCode)||void 0===r?void 0:r.moduleCount,P=this.options.size,((U=this.options.margin)<0||2*U>=P)&&(U=0),B=Math.ceil(U),R=P-2*U,L=this.options.whiteMargin,D=this.options.backgroundDimming,M=Math.ceil(R/S),$=new m(N=(O=M*S)+2*B,N),j=$.getContext("2d"),this._clear(),j.save(),j.translate(B,B),q=new m(N,N),z=q.getContext("2d"),F=null,G=[],!this.options.gifBackground){u.next=47;break}if(Y=Object(h.b)(this.options.gifBackground),F=Y,G=Object(h.a)(Y,!0),!this.options.autoColor){u.next=45;break}K=0,H=0,Q=0,X=0,V=0;case 28:if(!(V200||J[1]>200||J[2]>200)){u.next=32;break}return u.abrupt("continue",38);case 32:if(0!==J[0]||0!==J[1]||0!==J[2]){u.next=34;break}return u.abrupt("continue",38);case 34:X++,K+=J[0],H+=J[1],Q+=J[2];case 38:V++,u.next=28;break;case 41:K=~~(K/X),H=~~(H/X),Q=~~(Q/X),this.options.colorDark="rgb(".concat(K,",").concat(H,",").concat(Q,")");case 45:u.next=61;break;case 47:if(!this.options.backgroundImage){u.next=58;break}return u.next=50,v(this.options.backgroundImage);case 50:Z=u.sent,this.options.autoColor&&(W=e._getAverageRGB(Z),this.options.colorDark="rgb(".concat(W.r,",").concat(W.g,",").concat(W.b,")")),z.drawImage(Z,0,0,Z.width,Z.height,0,0,N,N),z.rect(0,0,N,N),z.fillStyle=D,z.fill(),u.next=61;break;case 58:z.rect(0,0,N,N),z.fillStyle=this.options.colorLight,z.fill();case 61:for(tt=p.c.getPatternPosition(this.qrCode.typeNumber),et=(null===(o=null===(n=this.options.components)||void 0===n?void 0:n.data)||void 0===o?void 0:o.scale)||.4,rt=.5*(1-et),nt=0;nt=8&&ot<=S-8||6==ot&&nt>=8&&nt<=S-8,st=ot<8&&(nt<8||nt>=S-8)||ot>=S-8&&nt<8||at,lt=1;lt=tt[lt]-2&&nt<=tt[lt]+2&&ot>=tt[lt]-2&&ot<=tt[lt]+2;ct=ot*M+(st?0:rt*M),ut=nt*M+(st?0:rt*M),j.strokeStyle=it?this.options.colorDark:this.options.colorLight,j.lineWidth=.5,j.fillStyle=it?this.options.colorDark:this.options.colorLight,0===tt.length?st||j.fillRect(ct,ut,(st?1:et)*M,(st?1:et)*M):(ft=ot=S-4-5&&nt=S-4-5,st||ft||j.fillRect(ct,ut,(st?1:et)*M,(st?1:et)*M))}if(ht=tt[tt.length-1],pt=this.options.colorLight,j.fillStyle=pt,j.fillRect(0,0,8*M,8*M),j.fillRect(0,(S-8)*M,8*M,8*M),j.fillRect((S-8)*M,0,8*M,8*M),(null===(a=null===(i=this.options.components)||void 0===i?void 0:i.timing)||void 0===a?void 0:a.protectors)&&(j.fillRect(8*M,6*M,(S-8-8)*M,M),j.fillRect(6*M,8*M,M,(S-8-8)*M)),(null===(l=null===(s=this.options.components)||void 0===s?void 0:s.cornerAlignment)||void 0===l?void 0:l.protectors)&&e._drawAlignProtector(j,ht,ht,M),!(null===(f=null===(c=this.options.components)||void 0===c?void 0:c.alignment)||void 0===f?void 0:f.protectors)){u.next=99;break}dt=0;case 75:if(!(dt=1)&&(Pt=.2),Ut<0&&(Ut=0),Bt<0&&(Bt=0),Dt=Lt=.5*(N-(Rt=O*Pt)),j.restore(),j.fillStyle=this.options.logoBackgroundColor,j.save(),e._prepareRoundedCornerClip(j,Lt-Ut,Dt-Ut,Rt+2*Ut,Rt+2*Ut,Bt+Ut),j.clip(),Mt=j.globalCompositeOperation,j.globalCompositeOperation="destination-out",j.fill(),j.globalCompositeOperation=Mt,j.restore(),j.save(),e._prepareRoundedCornerClip(j,Lt,Dt,Rt,Rt,Bt),j.clip(),j.drawImage(St,Lt,Dt,Rt,Rt),j.restore(),j.save(),j.translate(B,B);case 179:if(!F){u.next=191;break}if(G.forEach((function(t){Ot||((Ot=new d.a(P,P)).setDelay(t.delay),Ot.setRepeat(0));var e=t.dims,r=e.width,n=e.height;Nt||(Nt=new m(r,n),($t=Nt.getContext("2d")).rect(0,0,Nt.width,Nt.height),$t.fillStyle="#ffffff",$t.fill()),jt&&zt&&r===jt.width&&n===jt.height||(jt=new m(r,n),qt=jt.getContext("2d"),zt=qt.createImageData(r,n)),zt.data.set(t.patch),qt.putImageData(zt,0,0),$t.drawImage(jt.getContext("2d").canvas,t.dims.left,t.dims.top);var o=new m(N,N),i=o.getContext("2d");i.drawImage(Nt.getContext("2d").canvas,0,0,N,N),i.rect(0,0,N,N),i.fillStyle=D,i.fill(),i.drawImage($.getContext("2d").canvas,0,0,N,N);var a=new m(P,P),s=a.getContext("2d");s.drawImage(o.getContext("2d").canvas,0,0,P,P),Ot.addFrame(s.getImageData(0,0,a.width,a.height).data)})),Ot){u.next=183;break}throw new Error("No frames.");case 183:if(Ot.finish(),!b(this.canvas)){u.next=188;break}return Ft=Ot.stream().toFlattenUint8Array(),Gt=Ft.reduce((function(t,e){return t+String.fromCharCode(e)}),""),u.abrupt("return",Promise.resolve("data:image/gif;base64,".concat(window.btoa(Gt))));case 188:return u.abrupt("return",Promise.resolve(t.from(Ot.stream().toFlattenUint8Array())));case 191:if(z.drawImage($.getContext("2d").canvas,0,0,N,N),j.drawImage(q.getContext("2d").canvas,-B,-B,N,N),Yt=new m(P,P),Yt.getContext("2d").drawImage($.getContext("2d").canvas,0,0,P,P),this.canvas=Yt,Kt=this.options.gifBackground?"gif":"png",!b(this.canvas)){u.next=200;break}return u.abrupt("return",Promise.resolve(this.canvas.toDataURL(Kt)));case 200:return u.abrupt("return",Promise.resolve(this.canvas.toBuffer(Kt)));case 201:case"end":return u.stop()}}),g,this)})))}}],[{key:"_prepareRoundedCornerClip",value:function(t,e,r,n,o,i){t.beginPath(),t.moveTo(e,r),t.arcTo(e+n,r,e+n,r+o,i),t.arcTo(e+n,r+o,e,r+o,i),t.arcTo(e,r+o,e,r,i),t.arcTo(e,r,e+n,r,i),t.closePath()}},{key:"_getAverageRGB",value:function(t){var e,r,n={r:0,g:0,b:0},o=-4,i={r:0,g:0,b:0},a=0;r=t.naturalHeight||t.height,e=t.naturalWidth||t.width;var s,l=new m(e,r).getContext("2d");if(!l)return n;l.drawImage(t,0,0);try{s=l.getImageData(0,0,e,r)}catch(t){return n}for(;(o+=20)200||s.data[o+1]>200||s.data[o+2]>200||(++a,i.r+=s.data[o],i.g+=s.data[o+1],i.b+=s.data[o+2]);return i.r=~~(i.r/a),i.g=~~(i.g/a),i.b=~~(i.b/a),i}},{key:"_drawDot",value:function(t,e,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;t.fillRect((e+o)*n,(r+o)*n,i*n,i*n)}},{key:"_drawAlignProtector",value:function(t,e,r,n){t.clearRect((e-2)*n,(r-2)*n,5*n,5*n),t.fillRect((e-2)*n,(r-2)*n,5*n,5*n)}},{key:"_drawAlign",value:function(t,r,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,s=arguments.length>6?arguments[6]:void 0,l=arguments.length>7?arguments[7]:void 0,c=t.fillStyle;t.fillStyle=s,new Array(4).fill(0).map((function(s,l){e._drawDot(t,r-2+l,n-2,o,i,a),e._drawDot(t,r+2,n-2+l,o,i,a),e._drawDot(t,r+2-l,n+2,o,i,a),e._drawDot(t,r-2,n+2-l,o,i,a)})),e._drawDot(t,r,n,o,i,a),l||(t.fillStyle="rgba(255, 255, 255, 0.6)",new Array(2).fill(0).map((function(s,l){e._drawDot(t,r-1+l,n-1,o,i,a),e._drawDot(t,r+1,n-1+l,o,i,a),e._drawDot(t,r+1-l,n+1,o,i,a),e._drawDot(t,r-1,n+1-l,o,i,a)}))),t.fillStyle=c}}]),e}();function b(t){try{return t instanceof HTMLElement}catch(e){return"object"===o()(t)&&1===t.nodeType&&"object"===o()(t.style)&&"object"===o()(t.ownerDocument)}}y.CorrectLevel=p.b,y.defaultComponentOptions={data:{scale:.4},timing:{scale:.5,protectors:!1},alignment:{scale:.5,protectors:!1},cornerAlignment:{scale:.5,protectors:!0}},y.defaultOptions={text:"",size:400,margin:20,colorDark:"#000000",colorLight:"rgba(255, 255, 255, 0.6)",correctLevel:p.b.M,backgroundImage:void 0,backgroundDimming:"rgba(0,0,0,0)",logoImage:void 0,logoScale:.2,logoMargin:4,logoCornerRadius:8,whiteMargin:!0,components:y.defaultComponentOptions,autoColor:!0,logoBackgroundColor:"#ffffff",backgroundColor:"#ffffff"}}).call(this,r(15).Buffer)},function(t,e,r){"use strict";var n=r(11);const{asBuffer:o,asDownload:i,asZipDownload:a,atScale:s,options:l}=n.a,c=Symbol.for("toDataURL"),{CanvasRenderingContext2D:u,CanvasGradient:f,CanvasPattern:h,Image:p,ImageData:d,Path2D:g,DOMMatrix:m,DOMRect:v,DOMPoint:y}=window,b={Canvas:class{constructor(t,e){let r=document.createElement("canvas"),n=[];for(var[u,f]of(Object.defineProperty(r,"async",{value:!0,writable:!1,enumerable:!0}),Object.entries({png:()=>o(r,"image/png"),jpg:()=>o(r,"image/jpeg"),pages:()=>n.concat(r).map((t=>t.getContext("2d")))})))Object.defineProperty(r,u,{get:f});return Object.assign(r,{width:t,height:e,newPage(...t){var{width:e,height:o}=r,i=Object.assign(document.createElement("canvas"),{width:e,height:o});i.getContext("2d").drawImage(r,0,0),n.push(i);var[e,o]=t.length?t:[e,o];return Object.assign(r,{width:e,height:o}).getContext("2d")},saveAs(t,e){e="number"==typeof e?{quality:e}:e;let r=l(this.pages,{filename:t,...e}),{pattern:n,padding:o,mime:c,quality:u,matte:f,density:h,archive:p}=r,d=s(r.pages,h);return null==o?i(d[0],c,u,f,t):a(d,c,u,f,p,n,o)},toBuffer(t="png",e={}){e="number"==typeof e?{quality:e}:e;let r=l(this.pages,{extension:t,...e}),{mime:n,quality:i,matte:a,pages:c,density:u}=r,f=s(c,u,a)[0];return o(f,n,i,a)},[c]:r.toDataURL.bind(r),toDataURL(t="png",e={}){e="number"==typeof e?{quality:e}:e;let n=l(this.pages,{extension:t,...e}),{mime:o,quality:i,matte:a,pages:u,density:f}=n,h=s(u,f,a)[0],p=h[h===r?c:"toDataURL"](o,i);return Promise.resolve(p)}})}},loadImage:t=>new Promise(((e,r)=>Object.assign(new p,{crossOrigin:"Anonymous",onload:e,onerror:r,src:t}))),CanvasRenderingContext2D:u,CanvasGradient:f,CanvasPattern:h,Image:p,ImageData:d,Path2D:g,DOMMatrix:m,DOMRect:v,DOMPoint:y};e.a=b},function(t,e,r){"use strict";(function(t){var n=r(5);class o{constructor(){let e=void 0===t,r="image/png",n="image/jpeg",o="application/pdf",i="image/svg+xml";Object.assign(this,{toMime:this.toMime.bind(this),fromMime:this.fromMime.bind(this),expected:e?'"png", "jpg", or "webp"':'"png", "jpg", "pdf", or "svg"',formats:e?{png:r,jpg:n,jpeg:"image/jpeg",webp:"image/webp"}:{png:r,jpg:n,jpeg:"image/jpeg",pdf:o,svg:i},mimes:e?{[r]:"png",[n]:"jpg","image/webp":"webp"}:{[r]:"png",[n]:"jpg",[o]:"pdf",[i]:"svg"}})}toMime(t){return this.formats[(t||"").replace(/^\./,"").toLowerCase()]}fromMime(t){return this.mimes[t]}}class i{static for(t){return(new i).append(t).get()}constructor(){this.crc=-1}get(){return~this.crc}append(t){for(var e=0|this.crc,r=this.table,n=0,o=0|t.length;n>>8^r[255&(e^t[n])];return this.crc=e,this}}function a(t){let e=new Uint8Array(t),r=new DataView(e.buffer),n={array:e,view:r,size:t,set8:(t,e)=>(r.setUint8(t,e),n),set16:(t,e)=>(r.setUint16(t,e,!0),n),set32:(t,e)=>(r.setUint32(t,e,!0),n),bytes:(t,r)=>(e.set(r,t),n)};return n}i.prototype.table=(()=>{var t,e,r,n=[];for(t=0;t<256;t++){for(r=t,e=0;e<8;e++)r=1&r?r>>>1^3988292384:r>>>1;n[t]=r}return n})();class s{constructor(t){let e=new Date;Object.assign(this,{directory:t,offset:0,files:[],time:(e.getHours()<<6|e.getMinutes())<<5|e.getSeconds()/2,date:(e.getFullYear()-1980<<4|e.getMonth()+1)<<5|e.getDate()}),this.add(t)}async add(t,e){let r=!e,n=s.encoder.encode(`${this.directory}/${r?"":t}`),o=new Uint8Array(r?0:await e.arrayBuffer()),l=30+n.length,c=l+o.length,{offset:u}=this,f=a(26).set32(0,134742036).set16(6,this.time).set16(8,this.date).set32(10,i.for(o)).set32(14,o.length).set32(18,o.length).set16(22,n.length);u+=l;let h=a(l+o.length+16).set32(0,67324752).bytes(4,f.array).bytes(30,n).bytes(l,o);u+=o.length,h.set32(c,134695760).bytes(c+4,f.array.slice(10,22)),u+=16,this.files.push({offset:u,folder:r,name:n,header:f,payload:h}),this.offset=u}toBuffer(){let t=this.files.reduce(((t,{name:e})=>46+e.length+t),0),e=a(t+22),r=0;for(var{offset:n,name:o,header:i,folder:s}of this.files)e.set32(r,33639248).set16(r+4,20).bytes(r+6,i.array).set8(r+38,s?16:0).set32(r+42,n).bytes(r+46,o),r+=46+o.length;e.set32(r,101010256).set16(r+8,this.files.length).set16(r+10,this.files.length).set32(r+12,t).set32(r+16,this.offset);let l=new Uint8Array(this.offset+e.size),c=0;for(var{payload:u}of this.files)l.set(u.array,c),c+=u.size;return l.set(e.array,c),l}get blob(){return new Blob([this.toBuffer()],{type:"application/zip"})}}s.encoder=new TextEncoder;const l=(t,e,r,n)=>{if(n){let{width:e,height:r}=t,o=Object.assign(document.createElement("canvas"),{width:e,height:r}),i=o.getContext("2d");i.fillStyle=n,i.fillRect(0,0,e,r),i.drawImage(t,0,0),t=o}return new Promise(((n,o)=>t.toBlob(n,e,r)))},c=(t,e)=>{const r=window.URL.createObjectURL(e),n=document.createElement("a");n.style.display="none",n.href=r,n.setAttribute("download",t),void 0===n.download&&n.setAttribute("target","_blank"),document.body.appendChild(n),n.click(),document.body.removeChild(n),setTimeout((()=>window.URL.revokeObjectURL(r)),100)},u={asBuffer:(...t)=>l(...t).then((t=>t.arrayBuffer())),asDownload:async(t,e,r,n,o)=>{c(o,await l(t,e,r,n))},asZipDownload:async(t,e,r,o,i,a,u)=>{let f=Object(n.a)(i,".zip")||"archive",h=new s(f);await Promise.all(t.map((async(t,n)=>{let i=(t=>a.replace("{}",String(t+1).padStart(u,"0")))(n);await h.add(i,await l(t,e,r,o))}))),c(f+".zip",h.blob)},atScale:(t,e,r)=>t.map((t=>{if(1==e&&!r)return t.canvas;let n=document.createElement("canvas"),o=n.getContext("2d"),i=t.canvas?t.canvas:t;return n.width=i.width*e,n.height=i.height*e,r&&(o.fillStyle=r,o.fillRect(0,0,n.width,n.height)),o.scale(e,e),o.drawImage(i,0,0),n})),options:function(t,{filename:e="",extension:r="",format:i,page:a,quality:s,matte:l,density:c,outline:u,archive:f}={}){var{fromMime:h,toMime:p,expected:d}=new o,g=(f=f||"canvas",i||r.replace(/@\d+x$/i,"")||Object(n.b)(e)),m=(i=h(p(g)||g),p(i)),v=t.length;if(!g)throw new Error("Cannot determine image format (use a filename extension or 'format' argument)");if(!i)throw new Error(`Unsupported file format "${g}" (expected ${d})`);if(!v)throw new RangeError("Canvas has no associated contexts (try calling getContext or newPage first)");let y,b,w=e.replace(/{(\d*)}/g,((t,e)=>(b=!0,e=parseInt(e,10),y=isFinite(e)?e:isFinite(y)?y:-1,"{}"))),x=a>0?a-1:a<0?v+a:void 0;if(isFinite(x)&&x<0||x>=v)throw new RangeError(1==v?`Canvas only has a ‘page 1’ (${x} is out of bounds)`:`Canvas has pages 1–${v} (${x} is out of bounds)`);if(t=isFinite(x)?[t[x]]:b||"pdf"==i?t:t.slice(-1),void 0===s)s=.92;else if("number"!=typeof s||!isFinite(s)||s<0||s>1)throw new TypeError("The quality option must be an number in the 0.0–1.0 range");if(void 0===c){let t=(r||Object(n.a)(e,g)).match(/@(\d+)x$/i);c=t?parseInt(t[1],10):1}else if("number"!=typeof c||!Number.isInteger(c)||c<1)throw new TypeError("The density option must be a non-negative integer");return void 0===u?u=!0:"svg"==i&&(u=!!u),{filename:e,pattern:w,format:i,mime:m,pages:t,padding:y,quality:s,matte:l,density:c,outline:u,archive:f}}};e.a=u}).call(this,r(8))},function(t,e,r){"use strict";var n=function(t,e){var r,n,o,i,a;function s(t,e,n,o,i){r[e][0]-=t*(r[e][0]-n)/1024,r[e][1]-=t*(r[e][1]-o)/1024,r[e][2]-=t*(r[e][2]-i)/1024}function l(t,e,n,o,i){for(var s,l,c=Math.abs(e-t),u=Math.min(e+t,256),f=e+1,h=e-1,p=1;fc;)l=a[p++],fc&&((s=r[h--])[0]-=l*(s[0]-n)/(1<<18),s[1]-=l*(s[1]-o)/(1<<18),s[2]-=l*(s[2]-i)/(1<<18))}function c(t,e,n){var a,s,l,c,u,f=~(1<<31),h=f,p=-1,d=p;for(a=0;a<256;a++)s=r[a],(l=Math.abs(s[0]-t)+Math.abs(s[1]-e)+Math.abs(s[2]-n))>12))>10,i[a]-=u,o[a]+=u<<10;return i[p]+=64,o[p]-=65536,d}this.buildColormap=function(){!function(){var t,e;for(r=[],n=new Int32Array(256),o=new Int32Array(256),i=new Int32Array(256),a=new Int32Array(32),t=0;t<256;t++)e=(t<<12)/256,r[t]=new Float64Array([e,e,e,0]),i[t]=256,o[t]=0}(),function(){var r,n,o,i,u,f,h=t.length,p=30+(e-1)/3,d=h/(3*e),g=~~(d/100),m=1024,v=2048,y=v>>6;for(y<=1&&(y=0),r=0;r=h&&(b-=h),0===g&&(g=1),++r%g==0)for(m-=m/p,(y=(v-=v/30)>>6)<=1&&(y=0),f=0;f>=4,r[t][1]>>=4,r[t][2]>>=4,r[t][3]=t}(),function(){var t,e,o,i,a,s,l=0,c=0;for(t=0;t<256;t++){for(a=t,s=(o=r[t])[1],e=t+1;e<256;e++)(i=r[e])[1]>1,e=l+1;e>1,e=l+1;e<256;e++)n[e]=255}()},this.getColormap=function(){for(var t=[],e=[],n=0;n<256;n++)e[r[n][3]]=n;for(var o=0,i=0;i<256;i++){var a=e[i];t[o++]=r[a][0],t[o++]=r[a][1],t[o++]=r[a][2]}return t},this.lookupRGB=function(t,e,o){for(var i,a,s,l=1e3,c=-1,u=n[e],f=u-1;u<256||f>=0;)u<256&&((s=(a=r[u])[1]-e)>=l?u=256:(u++,s<0&&(s=-s),(i=a[0]-t)<0&&(i=-i),(s+=i)=0&&((s=e-(a=r[f])[1])>=l?f=-1:(f--,s<0&&(s=-s),(i=a[0]-t)<0&&(i=-i),(s+=i)=254&&k(e)}function C(t){_(5003),b=c+2,w=!0,E(c,t)}function _(t){for(var e=0;e0&&(t.writeByte(a),t.writeBytes(g,0,a),a=0)}function I(t){return(1<0?i|=t<=8;)x(255&i,e),i>>=8,y-=8;if((b>s||w)&&(w?(s=I(p=l),w=!1):(++p,s=12==p?4096:I(p))),t==u){for(;y>0;)x(255&i,e),i>>=8,y-=8;k(e)}}this.encode=function(r){r.writeByte(d),f=t*e,h=0,function(t,e){var r,n,o,i,f,h;for(w=!1,s=I(p=l=t),u=1+(c=1<=0){f=5003-o,0===o&&(f=1);do{if((o-=f)<0&&(o+=5003),m[o]===r){i=v[o];continue t}}while(m[o]>=0)}E(i,e),i=n,b<4096?(v[o]=b++,m[o]=r):C(e)}else i=v[o];E(i,e),E(u,e)}(d+1,r),r.writeByte(0)}};function a(){this.page=-1,this.pages=[],this.newPage()}a.pageSize=4096,a.charMap={};for(var s=0;s<256;s++)a.charMap[s]=String.fromCharCode(s);function l(t,e){this.width=~~t,this.height=~~e,this.transparent=null,this.transIndex=0,this.repeat=-1,this.delay=0,this.image=null,this.pixels=null,this.indexedPixels=null,this.colorDepth=null,this.colorTab=null,this.neuQuant=null,this.usedEntry=new Array,this.palSize=7,this.dispose=-1,this.firstFrame=!0,this.sample=10,this.dither=!1,this.globalPalette=!1,this.out=new a}a.prototype.newPage=function(){this.pages[++this.page]=new Uint8Array(a.pageSize),this.cursor=0},a.prototype.getData=function(){for(var t="",e=0;e=a.pageSize&&this.newPage(),this.pages[this.page][this.cursor++]=t},a.prototype.writeUTFBytes=function(t){for(var e=t.length,r=0;r=0&&(this.dispose=t)},l.prototype.setRepeat=function(t){this.repeat=t},l.prototype.setTransparent=function(t){this.transparent=t},l.prototype.addFrame=function(t){this.image=t,this.colorTab=this.globalPalette&&this.globalPalette.slice?this.globalPalette:null,this.getImagePixels(),this.analyzePixels(),!0===this.globalPalette&&(this.globalPalette=this.colorTab),this.firstFrame&&(this.writeHeader(),this.writeLSD(),this.writePalette(),this.repeat>=0&&this.writeNetscapeExt()),this.writeGraphicCtrlExt(),this.writeImageDesc(),this.firstFrame||this.globalPalette||this.writePalette(),this.writePixels(),this.firstFrame=!1},l.prototype.finish=function(){this.out.writeByte(59)},l.prototype.setQuality=function(t){t<1&&(t=1),this.sample=t},l.prototype.setDither=function(t){!0===t&&(t="FloydSteinberg"),this.dither=t},l.prototype.setGlobalPalette=function(t){this.globalPalette=t},l.prototype.getGlobalPalette=function(){return this.globalPalette&&this.globalPalette.slice&&this.globalPalette.slice(0)||this.globalPalette},l.prototype.writeHeader=function(){this.out.writeUTFBytes("GIF89a")},l.prototype.analyzePixels=function(){this.colorTab||(this.neuQuant=new n(this.pixels,this.sample),this.neuQuant.buildColormap(),this.colorTab=this.neuQuant.getColormap()),this.dither?this.ditherPixels(this.dither.replace("-serpentine",""),null!==this.dither.match(/-serpentine/)):this.indexPixels(),this.pixels=null,this.colorDepth=8,this.palSize=7,null!==this.transparent&&(this.transIndex=this.findClosest(this.transparent,!0))},l.prototype.indexPixels=function(t){var e=this.pixels.length/3;this.indexedPixels=new Uint8Array(e);for(var r=0,n=0;n=0&&x+u=0&&C+c>16,(65280&t)>>8,255&t,e)},l.prototype.findClosestRGB=function(t,e,r,n){if(null===this.colorTab)return-1;if(this.neuQuant&&!n)return this.neuQuant.lookupRGB(t,e,r);for(var o=0,i=16777216,a=this.colorTab.length,s=0,l=0;s=0&&(e=7&this.dispose),e<<=2,this.out.writeByte(0|e|t),this.writeShort(this.delay),this.out.writeByte(this.transIndex),this.out.writeByte(0)},l.prototype.writeImageDesc=function(){this.out.writeByte(44),this.writeShort(0),this.writeShort(0),this.writeShort(this.width),this.writeShort(this.height),this.firstFrame||this.globalPalette?this.out.writeByte(0):this.out.writeByte(128|this.palSize)},l.prototype.writeLSD=function(){this.writeShort(this.width),this.writeShort(this.height),this.out.writeByte(240|this.palSize),this.out.writeByte(0),this.out.writeByte(0)},l.prototype.writeNetscapeExt=function(){this.out.writeByte(33),this.out.writeByte(255),this.out.writeByte(11),this.out.writeUTFBytes("NETSCAPE2.0"),this.out.writeByte(3),this.out.writeByte(1),this.writeShort(this.repeat),this.out.writeByte(0)},l.prototype.writePalette=function(){this.out.writeBytes(this.colorTab);for(var t=768-this.colorTab.length,e=0;e>8&255)},l.prototype.writePixels=function(){new i(this.width,this.height,this.indexedPixels,this.colorDepth).encode(this.out)},l.prototype.stream=function(){return this.out},e.a=l},function(t,e,r){t.exports=r(20)},function(t,e,r){var n=r(2).default;function o(){"use strict"; +/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */t.exports=o=function(){return e},t.exports.__esModule=!0,t.exports.default=t.exports;var e={},r=Object.prototype,i=r.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof d?e:d,i=Object.create(o.prototype),a=new A(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return T()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=_(a,r);if(s){if(s===p)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=h(t,e,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}(t,r,a),i}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p={};function d(){}function g(){}function m(){}var v={};u(v,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(E([])));b&&b!==r&&i.call(b,s)&&(v=b);var w=m.prototype=d.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,e){var r;this._invoke=function(o,a){function s(){return new e((function(r,s){!function r(o,a,s,l){var c=h(t[o],t,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"==n(f)&&i.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,s,l)}),(function(t){r("throw",t,s,l)})):e.resolve(f).then((function(t){u.value=t,s(u)}),(function(t){return r("throw",t,s,l)}))}l(c.arg)}(o,a,r,s)}))}return r=r?r.then(s,s):s()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var n=h(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,p;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r=0;--n){var o=this.tryEntries[n],a=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var s=i.call(o,"catchLoc"),l=i.call(o,"finallyLoc");if(s&&l){if(this.prev=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&i.call(n,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},e}t.exports=o,t.exports.__esModule=!0,t.exports.default=t.exports},function(t,e,r){"use strict";(function(t){ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ +var n=r(16),o=r(17),i=r(18);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function d(t,e){if(l.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(t).length;default:if(n)return j(t).length;e=(""+e).toLowerCase(),n=!0}}function g(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return S(this,e,r);case"utf8":case"utf-8":return A(this,e,r);case"ascii":return E(this,e,r);case"latin1":case"binary":return T(this,e,r);case"base64":return I(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function m(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function v(t,e,r,n,o){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(o)return-1;r=t.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof e&&(e=l.from(e,n)),l.isBuffer(e))return 0===e.length?-1:y(t,e,r,n,o);if("number"==typeof e)return e&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):y(t,[e],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(t,e,r,n,o){var i,a=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var u=-1;for(i=r;is&&(r=s-l),i=r;i>=0;i--){for(var f=!0,h=0;ho&&(n=o):n=o;var i=e.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a>8,o=r%256,i.push(o),i.push(n);return i}(e,t.length-r),t,r,n)}function I(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function A(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(i=t[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=t[o+1],a=t[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,f=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=f}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;nn)&&(r=n);for(var o="",i=e;ir)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,r,n,o,i){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>o||et.length)throw new RangeError("Index out of range")}function R(t,e,r,n){e<0&&(e=65535+e+1);for(var o=0,i=Math.min(t.length-r,2);o>>8*(n?o:1-o)}function L(t,e,r,n){e<0&&(e=4294967295+e+1);for(var o=0,i=Math.min(t.length-r,4);o>>8*(n?o:3-o)&255}function D(t,e,r,n,o,i){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(t,e,r,n,i){return i||D(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function O(t,e,r,n,i){return i||D(t,0,r,8),o.write(t,e,r,n,52,8),r+8}e.Buffer=l,e.SlowBuffer=function(t){return+t!=t&&(t=0),l.alloc(+t)},e.INSPECT_MAX_BYTES=50,l.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),l.poolSize=8192,l._augment=function(t){return t.__proto__=l.prototype,t},l.from=function(t,e,r){return c(null,t,e,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(t,e,r){return function(t,e,r,n){return u(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},l.allocUnsafe=function(t){return f(null,t)},l.allocUnsafeSlow=function(t){return f(null,t)},l.isBuffer=function(t){return!(null==t||!t._isBuffer)},l.compare=function(t,e){if(!l.isBuffer(t)||!l.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),""},l.prototype.compare=function(t,e,r,n,o){if(!l.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return-1;if(e>=r)return 1;if(this===t)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(e>>>=0),s=Math.min(i,a),c=this.slice(n,o),u=t.slice(e,r),f=0;fo)&&(r=o),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return w(this,t,e,r);case"ascii":return x(this,t,e,r);case"latin1":case"binary":return C(this,t,e,r);case"base64":return _(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,e,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(o*=256);)n+=this[t+--e]*o;return n},l.prototype.readUInt8=function(t,e){return e||U(t,1,this.length),this[t]},l.prototype.readUInt16LE=function(t,e){return e||U(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUInt16BE=function(t,e){return e||U(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUInt32LE=function(t,e){return e||U(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},l.prototype.readUInt32BE=function(t,e){return e||U(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);for(var n=this[t],o=1,i=0;++i=(o*=128)&&(n-=Math.pow(2,8*e)),n},l.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||U(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},l.prototype.readInt8=function(t,e){return e||U(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},l.prototype.readInt16LE=function(t,e){e||U(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(t,e){e||U(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(t,e){return e||U(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,e){return e||U(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readFloatLE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,e){return e||U(t,4,this.length),o.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,e){return e||U(t,8,this.length),o.read(this,t,!1,52,8)},l.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||B(this,t,e,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[e]=255&t;++i=0&&(i*=256);)this[e+o]=t/i&255;return e+r},l.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,1,255,0),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},l.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):L(this,t,e,!0),e+4},l.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},l.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);B(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i>0)-s&255;return e+r},l.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var o=Math.pow(2,8*r-1);B(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a>>0)-s&255;return e+r},l.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,1,127,-128),l.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},l.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):R(this,t,e,!0),e+2},l.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):R(this,t,e,!1),e+2},l.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):L(this,t,e,!0),e+4},l.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),l.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):L(this,t,e,!1),e+4},l.prototype.writeFloatLE=function(t,e,r){return M(this,t,e,!0,r)},l.prototype.writeFloatBE=function(t,e,r){return M(this,t,e,!1,r)},l.prototype.writeDoubleLE=function(t,e,r){return O(this,t,e,!0,r)},l.prototype.writeDoubleBE=function(t,e,r){return O(this,t,e,!1,r)},l.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--o)t[o+e]=this[o+r];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i55295&&r<57344){if(!o){if(r>56319){(e-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function q(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(N,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,r,n){for(var o=0;o=e.length||o>=t.length);++o)e[o+r]=t[o];return o}}).call(this,r(8))},function(t,e,r){"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=c(t),a=n[0],s=n[1],l=new i(function(t,e,r){return 3*(e+r)/4-r}(0,a,s)),u=0,f=s>0?a-4:a;for(r=0;r>16&255,l[u++]=e>>8&255,l[u++]=255&e;return 2===s&&(e=o[t.charCodeAt(r)]<<2|o[t.charCodeAt(r+1)]>>4,l[u++]=255&e),1===s&&(e=o[t.charCodeAt(r)]<<10|o[t.charCodeAt(r+1)]<<4|o[t.charCodeAt(r+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e),l},e.fromByteArray=function(t){for(var e,r=t.length,o=r%3,i=[],a=0,s=r-o;as?s:a+16383));return 1===o?(e=t[r-1],i.push(n[e>>2]+n[e<<4&63]+"==")):2===o&&(e=(t[r-2]<<8)+t[r-1],i.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"=")),i.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=a.length;s0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,r){for(var o,i,a=[],s=e;s>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(t,e){ +/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ +e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,l=(1<>1,u=-7,f=r?o-1:0,h=r?-1:1,p=t[e+f];for(f+=h,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+t[e+f],f+=h,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+t[e+f],f+=h,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,l,c=8*i-o-1,u=(1<>1,h=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,d=n?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=u):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),(e+=a+f>=1?h/l:h*Math.pow(2,1-f))*l>=2&&(a++,l/=2),a+f>=u?(s=0,a=u):a+f>=1?(s=(e*l-1)*Math.pow(2,o),a+=f):(s=e*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&s,p+=d,s/=256,o-=8);for(a=a<0;t[r+p]=255&a,p+=d,a/=256,c-=8);t[r+p-d]|=128*g}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e){var r,n,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(r===setTimeout)return setTimeout(t,0);if((r===i||!r)&&setTimeout)return r=setTimeout,setTimeout(t,0);try{return r(t,0)}catch(e){try{return r.call(null,t,0)}catch(e){return r.call(this,t,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:i}catch(t){r=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var l,c=[],u=!1,f=-1;function h(){u&&l&&(u=!1,l.length?c=l.concat(c):f=-1,c.length&&p())}function p(){if(!u){var t=s(h);u=!0;for(var e=c.length;e;){for(l=c,c=[];++f1)for(var r=1;r{0==e.code&&(this.list=e.data,this.total=e.count,this.params.page=e.page)}))},handleChange(){this.params.page=1,this.getList()}}}),l=o,c=a(1001),p=(0,c.Z)(l,s,n,!1,null,"61b0eeda",null),u=p.exports},196:function(e,t,a){a.r(t),a.d(t,{default:function(){return h}});var s=function(){var e=this,t=e._self._c;return t("div",{staticClass:"m-20"},[t("div",{staticClass:"mb-15 lz-flex lz-space-between"},[t("div",[t("el-radio-group",{on:{input:function(t){return e.handleChange()}},model:{value:e.params.type,callback:function(t){e.$set(e.params,"type",t)},expression:"params.type"}},e._l(e.typeList,(function(a,s){return t("el-radio-button",{key:s,attrs:{label:a.value}},[e._v(e._s(a.name))])})),1),t("el-radio-group",{staticClass:"ml-10",on:{input:function(t){return e.handleChange()}},model:{value:e.params.is_group,callback:function(t){e.$set(e.params,"is_group",t)},expression:"params.is_group"}},[t("el-radio-button",{attrs:{label:-1}},[e._v("全部")]),t("el-radio-button",{attrs:{label:1}},[e._v("单聊")]),t("el-radio-button",{attrs:{label:2}},[e._v("群聊")])],1)],1),t("div",[t("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入关键字搜索","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleChange.apply(null,arguments)}},model:{value:e.params.keywords,callback:function(t){e.$set(e.params,"keywords",t)},expression:"params.keywords"}},[t("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:e.handleChange},slot:"append"})],1)],1)]),t("el-table",{staticStyle:{width:"100%",border:"solid 1px #e3e3e3"},attrs:{data:e.list,stripe:"",height:"calc(100vh - 200px)","header-cell-style":{"background-color":"#f5f7fa",color:"#909399"}},on:{"sort-change":e.sortChange,"row-dblclick":e.handleClick}},[t("el-table-column",{attrs:{fixed:"",prop:"msg_id",label:"ID",sortable:"custom",width:"80"}}),t("el-table-column",{attrs:{prop:"id",label:"消息ID",width:"280"}}),t("el-table-column",{attrs:{prop:"type",label:"类型",width:"80"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("span",{staticClass:"el-dropdown-link"},[e._v(e._s(e.getMsgType(a.row.type)))])]}}])}),t("el-table-column",{attrs:{prop:"role",label:"内容","min-width":"300"},scopedSlots:e._u([{key:"default",fn:function(a){return[["text","location","contact"].includes(a.row.type)?t("div",{domProps:{innerHTML:e._s(a.row.content)}}):["image"].includes(a.row.type)?t("div",{staticClass:"cur-handle",on:{click:function(t){return e.preview(a.row)}}},[t("el-image",{staticStyle:{height:"80px"},attrs:{src:a.row.content,fit:"contain"}})],1):["video","voice","file"].includes(a.row.type)?t("div",{on:{click:function(t){return e.preview(a.row)}}},[t("el-link",{staticClass:"mr-10",attrs:{type:"primary"}},[e._v("预览")]),t("span",[e._v(e._s(a.row.fileName??"未知"))])],1):t("div",[e._v("暂不支持消息")])]}}])}),t("el-table-column",{attrs:{prop:"create_time",label:"发送时间",sortable:"custom",width:"140"}}),t("el-table-column",{attrs:{prop:"from_user",label:"发送对象",width:"120"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-link",{attrs:{type:"primary"},on:{click:function(t){return e.openChat(a.row.fromUser)}}},[e._v(e._s(a.row.fromUser.realname))])]}}])}),t("el-table-column",{attrs:{prop:"to_user",label:"接收对象",width:"120"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("div",[a.row.is_group?t("span",[e._v("[群聊] ")]):e._e(),e._v(" "+e._s(a.row.toUser&&a.row.toUser.name))])]}}])}),t("el-table-column",{attrs:{fixed:"right",label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(a){return[t("el-popconfirm",{attrs:{"confirm-button-text":"确定","cancel-button-text":"取消",icon:"el-icon-info","icon-color":"red",title:"确定屏蔽这条内容吗?"},on:{confirm:function(t){return e.deal(a.row,0)}}},[t("el-button",{attrs:{slot:"reference",type:"text",size:"small"},slot:"reference"},[t("span",{staticClass:"c-orange"},[e._v("屏蔽")])])],1),t("el-popconfirm",{staticClass:"ml-10",attrs:{"confirm-button-text":"确定","cancel-button-text":"取消",icon:"el-icon-info","icon-color":"red",title:"确定删除这条内容吗?"},on:{confirm:function(t){return e.deal(a.row,1)}}},[t("el-button",{attrs:{slot:"reference",type:"text",size:"small"},slot:"reference"},[t("span",{staticClass:"c-red"},[e._v("删除")])])],1)]}}])})],1),t("div",{staticClass:"mt-15"},[t("el-pagination",{attrs:{background:"","current-page":e.params.page,"page-sizes":[20,50,100,200,300,400,500],"page-size":e.params.limit,layout:"total, sizes, prev, pager, next, jumper",total:e.total},on:{"size-change":e.handleChange,"current-change":e.getList,"update:currentPage":function(t){return e.$set(e.params,"page",t)},"update:current-page":function(t){return e.$set(e.params,"page",t)},"update:pageSize":function(t){return e.$set(e.params,"limit",t)},"update:page-size":function(t){return e.$set(e.params,"limit",t)}}})],1),t("el-dialog",{attrs:{title:e.currentUser.realname+" 的会话列表",visible:e.dialogueBox,modal:!0,width:"80%","append-to-body":""},on:{"update:visible":function(t){e.dialogueBox=t},close:function(t){e.dialogueBox=!1}}},[t("dialogue",{key:e.componentKey,attrs:{userInfo:e.currentUser}})],1)],1)},n=[],r=a(3822),i=a(6647),o=a(7076),l=a(2325),c={components:{userSelect:i.Z,dialogue:o.Z},data(){return{total:0,params:{type:"all",is_group:-1,page:1,limit:20,keywords:"",order_field:"",order_type:1},componentKey:11,list:[],dialogueBox:!1,currentUser:{},typeList:[{name:"全部",value:"all"},{name:"文本",value:"text"},{name:"图片",value:"image"},{name:"音频",value:"voice"},{name:"视频",value:"video"},{name:"文件",value:"file"}]}},computed:{...(0,r.rn)({globalConfig:e=>e.globalConfig})},watch:{},mounted(){this.getList()},methods:{getList(){this.$api.messageApi.getMessageList(this.params).then((e=>{0==e.code&&(this.list=e.data,this.total=e.count,this.params.page=e.page)}))},getMsgType(e){return l.nZ(e)},sortChange(e){this.params.order_field=e.prop,null==e.order&&(this.params.order_field=null),this.params.order_type="ascending"==e.order?1:2,this.getList()},handleClick(e){},openChat(e){this.componentKey++,this.currentUser=e,this.dialogueBox=!0},handleChange(){this.params.page=1,this.getList()},deal(e,t){this.$api.messageApi.dealMsg({id:e.id,dealType:t}).then((e=>{0==e.code&&this.getList()}))},preview(e){this.$preview(e.preview)}}},p=c,u=a(1001),d=(0,u.Z)(p,s,n,!1,null,"0e963288",null),h=d.exports}}]); \ No newline at end of file diff --git a/public/assets/js/app.85372e4e.js b/public/assets/js/app.85372e4e.js new file mode 100644 index 0000000..733980e --- /dev/null +++ b/public/assets/js/app.85372e4e.js @@ -0,0 +1 @@ +(function(){var t={8100:function(t,e,i){"use strict";i.d(e,{Z:function(){return k}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chat-main"},[e("el-input",{staticClass:"input-with-select",attrs:{placeholder:"请输入关键字搜索聊天"},model:{value:t.params.keywords,callback:function(e){t.$set(t.params,"keywords",e)},expression:"params.keywords"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.searchMessage},slot:"append"})],1),e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"全部",name:"all"}},[e("div",{staticClass:"el-tab-body-list"},[e("el-scrollbar",[t.dataList.length?t._l(t.dataList,(function(t,i){return e("ChatItem",{key:i,attrs:{data:t}})})):e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1)],2)],1)]),e("el-tab-pane",{attrs:{label:"文本",name:"text"}},[e("div",{staticClass:"el-tab-body-list"},[t.dataList.length?[e("el-scrollbar",t._l(t.dataList,(function(t,i){return e("ChatItem",{key:i,attrs:{data:t}})})),1)]:e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1)],2)]),e("el-tab-pane",{attrs:{label:"图片",name:"image"}},[e("div",{staticClass:"el-tab-body-list"},[t.dataList.length?[e("el-scrollbar",[e("el-row",{staticStyle:{}},t._l(t.dataList,(function(i,s){return e("ChatImage",{key:s,attrs:{data:i,previewUrl:t.previewList}})})),1)],1)]:e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1)],2)]),e("el-tab-pane",{attrs:{label:"视频",name:"video"}},[e("div",{staticClass:"el-tab-body-list"},[t.dataList.length?[e("el-scrollbar",t._l(t.dataList,(function(t,i){return e("ChatItem",{key:i,attrs:{data:t}})})),1)]:e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1)],2)]),e("el-tab-pane",{attrs:{label:"文件",name:"file"}},[e("div",{staticClass:"el-tab-body-list"},[t.dataList.length?[e("el-table",{staticStyle:{width:"100%"},attrs:{data:t.dataList,height:"450"}},[e("el-table-column",{attrs:{prop:"fileName",label:"文件",width:"300"},scopedSlots:t._u([{key:"default",fn:function(i){return[e("div",{staticClass:"chat-file"},[e("div",[e("el-image",{staticClass:"fileExt",attrs:{fit:"cover",src:t.fileExt(i.row.fileName)}})],1),e("div",{staticClass:"fileName"},[t._v(t._s(i.row.fileName))])])]}}],null,!1,1885044645)}),e("el-table-column",{attrs:{prop:"sendTime",label:"上传时间",width:"160"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.formatTime(e.row.sendTime))+" ")]}}],null,!1,349674723)}),e("el-table-column",{attrs:{prop:"fileSize",label:"大小",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.fileSize(e.row.fileSize))+" ")]}}],null,!1,3523241436)}),e("el-table-column",{attrs:{prop:"fromUser.realname",label:"上传者",width:"100"}}),e("el-table-column",{attrs:{label:"操作"},scopedSlots:t._u([{key:"default",fn:function(i){return[e("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.downloadFile(i.row)}}},[t._v("下载")])]}}],null,!1,2401469366)})],1)]:e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1)],2)])],1),e("el-pagination",{attrs:{background:"","hide-on-single-page":t.singlePage,"page-size":t.params.limit,"current-page":t.params.page,layout:"prev, pager, next",total:t.total},on:{"update:pageSize":function(e){return t.$set(t.params,"limit",e)},"update:page-size":function(e){return t.$set(t.params,"limit",e)},"update:currentPage":function(e){return t.$set(t.params,"page",e)},"update:current-page":function(e){return t.$set(t.params,"page",e)},"current-change":t.handleCurrentChange}})],1)},n=[],a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chat-list-item"},[e("div",{staticClass:"chat-list-avatar",on:{click:function(e){return t.$user(t.data.fromUser.id)}}},[e("el-avatar",{attrs:{shape:"square",size:"medium",src:t.data.fromUser.avatar}})],1),e("div",{staticClass:"chat-list-body"},[e("div",{staticClass:"chat-list-title"},[t._v(" "+t._s(t.data.fromUser.realname)+" "),e("span",{staticClass:"time"},[t._v(" "+t._s(t.formatTime(t.data.sendTime)))])]),"text"==t.data.type?e("div",{staticClass:"chat-list-text",domProps:{innerHTML:t._s(t.data.content)}}):t._e(),"text"==t.data.type?e("div",{staticClass:"chat-list-tools"},[e("el-tooltip",{attrs:{effect:"dark",content:"复制文本",placement:"top"}},[e("i",{staticClass:"el-icon-document-copy",on:{click:function(e){return t.copyText(t.data.content)}}})])],1):t._e(),"image"==t.data.type?e("div",{staticClass:"chat-list-image"},[e("el-image",{staticStyle:{"max-width":"300px"},attrs:{src:t.data.content,"z-index":3e3,"preview-src-list":[t.data.content],fit:"contain"}})],1):t._e(),"video"==t.data.type?e("div",{staticClass:"chat-list-video"},[e("video",{staticStyle:{"max-width":"300px"},attrs:{src:t.data.content,controls:""}})]):t._e(),"file"==t.data.type?e("div",{staticClass:"chat-list-file"},[e("el-card",{staticStyle:{width:"260px"},attrs:{"body-style":{padding:"10px 10px 0 10px"}}},[e("div",{staticClass:"chat-file-content"},[e("div",{staticClass:"chat-file-ext"},[e("el-image",{staticStyle:{width:"35px"},attrs:{src:t.fileExt(t.data.fileName),fit:"fill"}})],1),e("div",{staticClass:"chat-file-title"},[e("div",{staticClass:"chat-file-name"},[e("span",{staticClass:"fileName"},[t._v(t._s(t.data.fileName)+" ")]),e("span",{staticClass:"fileSize"},[t._v("("+t._s(t.fileSize(t.data.fileSize))+")")])]),e("div",{staticClass:"chat-file-remark"},[t._v(" 文件已成功发送, 文件助手永久保存 ")])])]),e("hr"),e("div",{staticClass:"bottom clearfix",attrs:{align:"right"}},[e("el-button",{staticClass:"button",attrs:{type:"text"},on:{click:function(e){return t.downloadFile(t.data)}}},[t._v("下载")]),e("el-button",{staticClass:"button",attrs:{type:"text"},on:{click:function(e){return t.onlinePreview(t.data)}}},[t._v("在线预览")])],1)])],1):t._e()])])},r=[],o=i(2325),c=i(3817),l={name:"chatItem",props:{data:{type:Object,default:{}}},computed:{formatTime(){return function(t){return t=parseInt(t/1e3),(0,o.hT)("Y/m/d H:i:s",t)}},fileSize(){return function(t){return(0,c.hR)(t)}},fileExt(){return function(t){return(0,c.AC)(t)}}},data(){return{}},methods:{copyText(t){this.$clipboard(t),this.$message({type:"success",message:"复制成功!"})},onlinePreview(t){this.$preview(t.preview)},downloadFile(t){(0,c.LR)(t.content,t.fileName)}},created(){}},d=l,u=i(1001),h=(0,u.Z)(d,a,r,!1,null,"294ef229",null),p=h.exports,m=function(){var t=this,e=t._self._c;return e("div",[e("el-col",{staticStyle:{padding:"0 12px 12px 0"},attrs:{span:6}},["image"==t.data.type?e("el-card",{attrs:{"body-style":{padding:"0px"}}},[e("el-image",{staticStyle:{width:"100%",height:"120px"},attrs:{src:t.data.content,"preview-src-list":t.previewUrl,"z-index":9999,fit:"cover"}}),e("div",{staticStyle:{padding:"10px"}},[e("div",{staticClass:"bottom clearfix"},[e("time",{staticClass:"time"},[t._v(t._s(t.data.fromUser.realname)+" 上传于 "+t._s(t.formatTime(t.data.sendTime)))])])])],1):t._e()],1)],1)},g=[],f={name:"chatImage",props:{data:{type:Object,default:{}},previewUrl:{type:Array,default:function(){return[]}}},computed:{formatTime(){return function(t){return t=parseInt(t/1e3),(0,o.hT)("Y/m/d",t)}},fileSize(){return function(t){return(0,c.hR)(t)}},fileExt(){return function(t){return(0,c.AC)(t)}}},data(){return{currentDate:new Date}},methods:{copyText(t){this.$clipboard(t),this.$message({type:"success",message:"复制成功!"})},downloadFile(t){(0,c.LR)(t.content,t.fileName)}},created(){}},v=f,b=(0,u.Z)(v,m,g,!1,null,"94e9276a",null),y=b.exports,C={name:"chatRecord",components:{ChatItem:p,ChatImage:y},props:{contact:{type:Object,default:{}},condition:{type:Object,default:{}},manage:{type:Boolean,default:!1}},computed:{formatTime(){return function(t){return t/=1e3,(0,o.hT)("Y/m/d H:i:s",t)}},fileSize(){return function(t){return(0,c.hR)(t)}},fileExt(){return function(t){return(0,c.AC)(t)}}},data(){return{activeName:"all",total:0,singlePage:!1,dataList:[],previewList:[],params:{toContactId:this.contact.id,is_group:this.contact.is_group,type:"all",keywords:"",page:1,limit:20}}},methods:{handleClick(t,e){this.params.page=1,this.params.type=t.name,this.getMessage()},searchMessage(){this.getMessage()},getMessage(){this.manage?this.$api.messageApi.getMessageList(this.params).then((t=>{this.realData(t)})):this.$api.imApi.getMessageListAPI(this.params).then((t=>{this.realData(t)}))},realData(t){this.dataList=t.data,this.total=t.count,t.count<=this.params.limit?this.singlePage=!0:this.singlePage=!1,"image"==this.params.type&&(this.previewList=(0,o.Nj)(t.data,"content",!1))},handleCurrentChange(t){this.params.page=t,this.getMessage()},downloadFile(t){(0,c.LR)(t.content,t.fileName,t.type)}},created(){this.params=Object.assign(this.params,this.condition),this.getMessage()},mounted(){}},x=C,w=(0,u.Z)(x,s,n,!1,null,"3e98c9b5",null),k=w.exports},6038:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});var s=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:t.title,visible:t.visible,modal:!0,width:t.width,"append-to-body":""},on:{close:t.closeDialog}},[e("el-transfer",{attrs:{filterable:"",titles:t.createChatTitles,"filter-placeholder":"请输入关键词",props:t.contactsProps,data:t.allUser},model:{value:t.selectUid,callback:function(e){t.selectUid=e},expression:"selectUid"}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.closeDialog}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.comfirmChat}},[t._v("确 定")])],1)],1)},n=[],a={name:"manageGroup",props:{title:{type:String,default:"选择聊天"},visible:{type:Boolean,default:!1},width:{type:String,default:"612px"},allUser:{type:Array,default:()=>[]}},data(){return{createChatTitles:["用户列表","已选用户"],selectUid:[],contactsProps:{key:"id",label:"realname"}}},mounted(){},methods:{closeDialog(){this.$emit("update:visible",!1),this.selectUid=[]},comfirmChat(){0!==this.selectUid.length?this.$emit("selectChat",this.selectUid):this.$message.error("请选择聊天对象")}}},r=a,o=i(1001),c=(0,o.Z)(r,s,n,!1,null,null,null),l=c.exports},4773:function(t,e,i){"use strict";i.d(e,{Z:function(){return h}});var s=function(){var t=this,e=t._self._c;return e("el-container",{staticStyle:{height:"100%"}},[e("el-header",{staticClass:"file-header"},[e("div",{staticClass:"file-header-title"},[t._v("文件列表")]),e("div",{staticClass:"file-header-search"},[e("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入关键字搜索","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.getFileList.apply(null,arguments)}},model:{value:t.params.keywords,callback:function(e){t.$set(t.params,"keywords",e)},expression:"params.keywords"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.getFileList},slot:"append"})],1)],1)]),e("el-container",[e("el-aside",{staticClass:"lz-flex group-box",attrs:{width:"150px"}},[e("div",{staticClass:"group-box-list"},t._l(t.fileType,(function(i){return e("div",{key:i.id,staticClass:"chat-item",class:t.params.cate==i.id?"active":"",on:{click:function(e){return t.openFolder(i)}}},[t._v(" "+t._s(i.name)+" ")])})),0)]),e("el-main",{staticClass:"lz-flex group-box group-user-box no-padding"},[t.fileList.length?e("div",{staticClass:"group-box-list"},[e("el-scrollbar",[e("div",{staticClass:"file-list"},t._l(t.fileList,(function(i,s){return e("el-tooltip",{key:s,staticClass:"item",attrs:{effect:"dark",placement:"right"}},[e("template",{slot:"content"},[e("p",{staticClass:"mb-5"},[t._v("名称:"+t._s(i.name))]),e("p",[t._v("大小:"+t._s(t.getFileSize(i.size)))])]),e("div",{staticClass:"file-item",on:{dblclick:function(e){return t.openFile(i.preview)}}},[e("div",{staticClass:"file-img"},[e("el-image",{staticClass:"img",attrs:{fit:"contain",src:i.extUrl}})],1),e("div",{staticClass:"file-name mt-5",attrs:{align:"center"}},[t._v(t._s(i.name))]),e("div",{staticClass:"file-opt"},[e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return e.stopPropagation(),t.openFile(i.preview)}}},[t._v("查看")]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return e.stopPropagation(),t.downloadFile(i)}}},[t._v("下载")]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:function(e){return e.stopPropagation(),t.openDialog(i)}}},[t._v("发送")])],1)])],2)})),1)])],1):e("div",{staticClass:"pd-40"},[e("el-empty")],1),t.singlePage?t._e():e("div",{staticClass:"group-box-page",attrs:{align:"center"}},[e("el-pagination",{attrs:{background:"","hide-on-single-page":t.singlePage,"current-page":t.params.page,"page-sizes":[20,50,100,200,300,400,500],"page-size":t.params.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleChange,"current-change":t.getFileList,"update:currentPage":function(e){return t.$set(t.params,"page",e)},"update:current-page":function(e){return t.$set(t.params,"page",e)},"update:pageSize":function(e){return t.$set(t.params,"limit",e)},"update:page-size":function(e){return t.$set(t.params,"limit",e)}}})],1),e("ChooseDialog",{attrs:{visible:t.visible,title:"发送到聊天",allUser:t.$store.state.allContacts},on:{"update:visible":function(e){t.visible=e},selectChat:t.sendChat}})],1)],1)],1)},n=[],a=(i(7658),i(6038)),r=i(3817),o=i(2325),c={components:{ChooseDialog:a.Z},props:{isAll:{type:Number,default:0}},computed:{getFileSize(){return function(t){return r.hR(t)}}},data(){return{params:{page:1,limit:20,keywords:"",cate:0,is_all:this.isAll,role:0},visible:!1,singlePage:!0,total:0,curFile:{},fileType:[{id:0,name:"所有文件",icon:""},{id:1,name:"文档",icon:""},{id:2,name:"图片",icon:""},{id:3,name:"音频",icon:""},{id:4,name:"视频",icon:""},{id:5,name:"其他文件",icon:""}],fileList:[]}},mounted(){this.getFileList()},methods:{changeRole(t){this.params.role=t,this.getFileList()},openFolder(t){this.params.cate=t.id,this.getFileList()},getFileList(){this.$api.imApi.getFileList(this.params).then((t=>{0==t.code&&(this.fileList=t.data,this.total=t.count,this.singlePage=t.count<=this.params.limit,this.params.page=t.page)}))},handleChange(t){this.params.limit=t,this.getFileList()},openFile(t){t?this.$preview(t):this.$message.error("文件不存在")},downloadFile(t){t.download&&(window.location=t.download)},openDialog(t){this.visible=!0,this.curFile=t},sendChat(t){if(t.length>5)return this.$message.error("转发的人数不能超过5人!");let e=this.$store.state.userInfo;this.forwardBox=!1;let i={type:this.curFile.msg_type,content:this.curFile.src,file_name:this.curFile.name,file_size:this.curFile.size,file_id:this.curFile.file_id,fromUser:{id:e.user_id,displayName:e.realname,avatar:e.avatar,account:e.account}};var s=[];t.forEach((t=>{let e=t.toString(),n=JSON.parse(JSON.stringify(i));n.id=o.NW(),n.status="successd",n.sendTime=(new Date).getTime(),n.toContactId=e,n.is_group=0,-1!=e.indexOf("group")&&(n.is_group=1),s.push(this.test(n))})),Promise.all(s).then((t=>{})).catch((t=>{console.log("error",t)})),this.$message.success("发送成功!"),this.visible=!1},fn(t){return new Promise(((e,i)=>{this.$api.imApi.sendMessageAPI(t).then((t=>{0===t.code?e(t):this.$message.error(t.msg)})).catch((t=>{}))}))},async test(t){let e=await this.fn(t);return e}}},l=c,d=i(1001),u=(0,d.Z)(l,s,n,!1,null,"029f4e7e",null),h=u.exports},284:function(t,e,i){"use strict";i.d(e,{Z:function(){return l}});var s=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:t.title,visible:t.visible,modal:!0,width:t.width,"append-to-body":""},on:{open:t.openDialog,close:t.closeDialog}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.isAdd,expression:"isAdd"}],staticClass:"mb-20"},[t._v(" 群聊名称:"),e("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入群聊名称"},model:{value:t.groupName,callback:function(e){t.groupName=e},expression:"groupName"}}),t._v(" "),e("span",{staticClass:"ml-10 c-999"},[t._v(" (必填项)")])],1),e("el-transfer",{attrs:{filterable:"",titles:t.createChatTitles,"filter-placeholder":"请输入关键词",props:t.defaultProps,data:t.allUser},model:{value:t.selectUid,callback:function(e){t.selectUid=e},expression:"selectUid"}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.closeDialog}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.manageGroup}},[t._v("确 定")])],1)],1)},n=[],a={name:"manageGroup",props:{title:{type:String,default:"创建群聊"},visible:{type:Boolean,default:!1},userIds:{type:Array,default:()=>[]},isAdd:{type:Number,default:0},width:{type:String,default:"612px"},groupId:{type:String,default:""}},data(){return{createChatTitles:["用户列表","已选用户"],selectUid:[],allUser:[],groupName:"",defaultProps:{key:"user_id",label:"realname",pinyin:"name_py"}}},mounted(){},methods:{openDialog(){let t={};this.userIds.length>0&&(t.user_ids=this.userIds),this.groupId&&2==this.isAdd&&(t.group_id=this.groupId),this.getAllUser(t)},closeDialog(){this.$emit("update:visible",!1),this.selectUid=[]},manageGroup(){switch(this.isAdd){case 0:if(this.selectUid.length<1)return void this.$message.error("请选择要添加的成员");break;case 1:if(this.selectUid.length<2)return void this.$message.error("群聊人数不能少于2人");if(""==this.groupName||this.groupName.length<2||this.groupName.length>20)return void this.$message.error("请输入正确的群聊名称");break;case 2:if(1!=this.selectUid.length)return void this.$message.error("只能选择一位成员!");break}this.$emit("manageGroup",this.selectUid,this.isAdd,this.groupName)},getAllUser(t){this.$api.imApi.getAllUserAPI(t).then((t=>{const e=t.data;this.allUser=e}))}}},r=a,o=i(1001),c=(0,o.Z)(r,s,n,!1,null,null,null),l=c.exports},8824:function(t,e,i){i(7658),i(2087),i(541),function(e,i){t.exports=i()}("undefined"!==typeof self&&self,(function(){return function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s="fb15")}({"01f9":function(t,e,i){"use strict";var s=i("2d00"),n=i("5ca1"),a=i("2aba"),r=i("32e9"),o=i("84f2"),c=i("41a0"),l=i("7f20"),d=i("38fd"),u=i("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),p="@@iterator",m="keys",g="values",f=function(){return this};t.exports=function(t,e,i,v,b,y,C){c(i,e,v);var x,w,k,I=function(t){if(!h&&t in S)return S[t];switch(t){case m:return function(){return new i(this,t)};case g:return function(){return new i(this,t)}}return function(){return new i(this,t)}},A=e+" Iterator",_=b==g,E=!1,S=t.prototype,T=S[u]||S[p]||b&&S[b],N=T||I(b),M=b?_?I("entries"):N:void 0,L="Array"==e&&S.entries||T;if(L&&(k=d(L.call(new t)),k!==Object.prototype&&k.next&&(l(k,A,!0),s||"function"==typeof k[u]||r(k,u,f))),_&&T&&T.name!==g&&(E=!0,N=function(){return T.call(this)}),s&&!C||!h&&!E&&S[u]||r(S,u,N),o[e]=N,o[A]=f,b)if(x={values:_?N:I(g),keys:y?N:I(m),entries:M},C)for(w in x)w in S||a(S,w,x[w]);else n(n.P+n.F*(h||E),e,x);return x}},"02f4":function(t,e,i){var s=i("4588"),n=i("be13");t.exports=function(t){return function(e,i){var a,r,o=String(n(e)),c=s(i),l=o.length;return c<0||c>=l?t?"":void 0:(a=o.charCodeAt(c),a<55296||a>56319||c+1===l||(r=o.charCodeAt(c+1))<56320||r>57343?t?o.charAt(c):a:t?o.slice(c,c+2):r-56320+(a-55296<<10)+65536)}}},"0390":function(t,e,i){"use strict";var s=i("02f4")(!0);t.exports=function(t,e,i){return e+(i?s(t,e).length:1)}},"0a49":function(t,e,i){var s=i("9b43"),n=i("626a"),a=i("4bf8"),r=i("9def"),o=i("cd1c");t.exports=function(t,e){var i=1==t,c=2==t,l=3==t,d=4==t,u=6==t,h=5==t||u,p=e||o;return function(e,o,m){for(var g,f,v=a(e),b=n(v),y=s(o,m,3),C=r(b.length),x=0,w=i?p(e,C):c?p(e,0):void 0;C>x;x++)if((h||x in b)&&(g=b[x],f=y(g,x,v),t))if(i)w[x]=f;else if(f)switch(t){case 3:return!0;case 5:return g;case 6:return x;case 2:w.push(g)}else if(d)return!1;return u?-1:l||d?d:w}}},"0bfb":function(t,e,i){"use strict";var s=i("cb7c");t.exports=function(){var t=s(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},"0d58":function(t,e,i){var s=i("ce10"),n=i("e11e");t.exports=Object.keys||function(t){return s(t,n)}},1169:function(t,e,i){var s=i("2d95");t.exports=Array.isArray||function(t){return"Array"==s(t)}},"117e":function(t,e,i){},"11e9":function(t,e,i){var s=i("52a7"),n=i("4630"),a=i("6821"),r=i("6a99"),o=i("69a8"),c=i("c69a"),l=Object.getOwnPropertyDescriptor;e.f=i("9e1e")?l:function(t,e){if(t=a(t),e=r(e,!0),c)try{return l(t,e)}catch(i){}if(o(t,e))return n(!s.f.call(t,e),t[e])}},1495:function(t,e,i){var s=i("86cc"),n=i("cb7c"),a=i("0d58");t.exports=i("9e1e")?Object.defineProperties:function(t,e){n(t);var i,r=a(e),o=r.length,c=0;while(o>c)s.f(t,i=r[c++],e[i]);return t}},"1c4c":function(t,e,i){"use strict";var s=i("9b43"),n=i("5ca1"),a=i("4bf8"),r=i("1fa8"),o=i("33a4"),c=i("9def"),l=i("f1ae"),d=i("27ee");n(n.S+n.F*!i("5cc5")((function(t){Array.from(t)})),"Array",{from:function(t){var e,i,n,u,h=a(t),p="function"==typeof this?this:Array,m=arguments.length,g=m>1?arguments[1]:void 0,f=void 0!==g,v=0,b=d(h);if(f&&(g=s(g,m>2?arguments[2]:void 0,2)),void 0==b||p==Array&&o(b))for(e=c(h.length),i=new p(e);e>v;v++)l(i,v,f?g(h[v],v):h[v]);else for(u=b.call(h),i=new p;!(n=u.next()).done;v++)l(i,v,f?r(u,g,[n.value,v],!0):n.value);return i.length=v,i}})},"1fa8":function(t,e,i){var s=i("cb7c");t.exports=function(t,e,i,n){try{return n?e(s(i)[0],i[1]):e(i)}catch(r){var a=t["return"];throw void 0!==a&&s(a.call(t)),r}}},"20d6":function(t,e,i){"use strict";var s=i("5ca1"),n=i("0a49")(6),a="findIndex",r=!0;a in[]&&Array(1)[a]((function(){r=!1})),s(s.P+s.F*r,"Array",{findIndex:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")(a)},"214f":function(t,e,i){"use strict";i("b0c5");var s=i("2aba"),n=i("32e9"),a=i("79e5"),r=i("be13"),o=i("2b4c"),c=i("520a"),l=o("species"),d=!a((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),u=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2===i.length&&"a"===i[0]&&"b"===i[1]}();t.exports=function(t,e,i){var h=o(t),p=!a((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),m=p?!a((function(){var e=!1,i=/a/;return i.exec=function(){return e=!0,null},"split"===t&&(i.constructor={},i.constructor[l]=function(){return i}),i[h](""),!e})):void 0;if(!p||!m||"replace"===t&&!d||"split"===t&&!u){var g=/./[h],f=i(r,h,""[t],(function(t,e,i,s,n){return e.exec===c?p&&!n?{done:!0,value:g.call(e,i,s)}:{done:!0,value:t.call(i,e,s)}:{done:!1}})),v=f[0],b=f[1];s(String.prototype,t,v),n(RegExp.prototype,h,2==e?function(t,e){return b.call(t,this,e)}:function(t){return b.call(t,this)})}}},"230e":function(t,e,i){var s=i("d3f4"),n=i("7726").document,a=s(n)&&s(n.createElement);t.exports=function(t){return a?n.createElement(t):{}}},"23c6":function(t,e,i){var s=i("2d95"),n=i("2b4c")("toStringTag"),a="Arguments"==s(function(){return arguments}()),r=function(t,e){try{return t[e]}catch(i){}};t.exports=function(t){var e,i,o;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=r(e=Object(t),n))?i:a?s(e):"Object"==(o=s(e))&&"function"==typeof e.callee?"Arguments":o}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},2638:function(t,e,i){"use strict";function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e,i=1;i";e.style.display="none",i("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(n+"script"+r+"document.F=Object"+n+"/script"+r),t.close(),l=t.F;while(s--)delete l[c][a[s]];return l()};t.exports=Object.create||function(t,e){var i;return null!==t?(o[c]=s(t),i=new o,o[c]=null,i[r]=t):i=l(),void 0===e?i:n(i,e)}},"2b4c":function(t,e,i){var s=i("5537")("wks"),n=i("ca5a"),a=i("7726").Symbol,r="function"==typeof a,o=t.exports=function(t){return s[t]||(s[t]=r&&a[t]||(r?a:n)("Symbol."+t))};o.store=s},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},"2f21":function(t,e,i){"use strict";var s=i("79e5");t.exports=function(t,e){return!!t&&s((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},"2fdb":function(t,e,i){"use strict";var s=i("5ca1"),n=i("d2c8"),a="includes";s(s.P+s.F*i("5147")(a),"String",{includes:function(t){return!!~n(this,t,a).indexOf(t,arguments.length>1?arguments[1]:void 0)}})},"323d":function(t,e,i){},"32e9":function(t,e,i){var s=i("86cc"),n=i("4630");t.exports=i("9e1e")?function(t,e,i){return s.f(t,e,n(1,i))}:function(t,e,i){return t[e]=i,t}},"33a4":function(t,e,i){var s=i("84f2"),n=i("2b4c")("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(s.Array===t||a[n]===t)}},3846:function(t,e,i){i("9e1e")&&"g"!=/./g.flags&&i("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:i("0bfb")})},"38fd":function(t,e,i){var s=i("69a8"),n=i("4bf8"),a=i("613b")("IE_PROTO"),r=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=n(t),s(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?r:null}},"3b2b":function(t,e,i){var s=i("7726"),n=i("5dbc"),a=i("86cc").f,r=i("9093").f,o=i("aae3"),c=i("0bfb"),l=s.RegExp,d=l,u=l.prototype,h=/a/g,p=/a/g,m=new l(h)!==h;if(i("9e1e")&&(!m||i("79e5")((function(){return p[i("2b4c")("match")]=!1,l(h)!=h||l(p)==p||"/a/i"!=l(h,"i")})))){l=function(t,e){var i=this instanceof l,s=o(t),a=void 0===e;return!i&&s&&t.constructor===l&&a?t:n(m?new d(s&&!a?t.source:t,e):d((s=t instanceof l)?t.source:t,s&&a?c.call(t):e),i?this:u,l)};for(var g=function(t){t in l||a(l,t,{configurable:!0,get:function(){return d[t]},set:function(e){d[t]=e}})},f=r(d),v=0;f.length>v;)g(f[v++]);u.constructor=l,l.prototype=u,i("2aba")(s,"RegExp",l)}i("7a56")("RegExp")},"3bcf":function(t,e,i){},"41a0":function(t,e,i){"use strict";var s=i("2aeb"),n=i("4630"),a=i("7f20"),r={};i("32e9")(r,i("2b4c")("iterator"),(function(){return this})),t.exports=function(t,e,i){t.prototype=s(r,{next:n(1,i)}),a(t,e+" Iterator")}},"456d":function(t,e,i){var s=i("4bf8"),n=i("0d58");i("5eda")("keys",(function(){return function(t){return n(s(t))}}))},4588:function(t,e){var i=Math.ceil,s=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?s:i)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"4bf8":function(t,e,i){var s=i("be13");t.exports=function(t){return Object(s(t))}},"4c77":function(t,e,i){"use strict";i("d6f8")},"504c":function(t,e,i){var s=i("9e1e"),n=i("0d58"),a=i("6821"),r=i("52a7").f;t.exports=function(t){return function(e){var i,o=a(e),c=n(o),l=c.length,d=0,u=[];while(l>d)i=c[d++],s&&!r.call(o,i)||u.push(t?[i,o[i]]:o[i]);return u}}},5147:function(t,e,i){var s=i("2b4c")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(i){try{return e[s]=!1,!"/./"[t](e)}catch(n){}}return!0}},"520a":function(t,e,i){"use strict";var s=i("0bfb"),n=RegExp.prototype.exec,a=String.prototype.replace,r=n,o="lastIndex",c=function(){var t=/a/,e=/b*/g;return n.call(t,"a"),n.call(e,"a"),0!==t[o]||0!==e[o]}(),l=void 0!==/()??/.exec("")[1],d=c||l;d&&(r=function(t){var e,i,r,d,u=this;return l&&(i=new RegExp("^"+u.source+"$(?!\\s)",s.call(u))),c&&(e=u[o]),r=n.call(u,t),c&&r&&(u[o]=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&a.call(r[0],i,(function(){for(d=1;d=e.length?{value:void 0,done:!0}:(t=s(e,i),this._i+=t.length,{value:t,done:!1})}))},"5eda":function(t,e,i){var s=i("5ca1"),n=i("8378"),a=i("79e5");t.exports=function(t,e){var i=(n.Object||{})[t]||Object[t],r={};r[t]=e(i),s(s.S+s.F*a((function(){i(1)})),"Object",r)}},"5f1b":function(t,e,i){"use strict";var s=i("23c6"),n=RegExp.prototype.exec;t.exports=function(t,e){var i=t.exec;if("function"===typeof i){var a=i.call(t,e);if("object"!==typeof a)throw new TypeError("RegExp exec method returned something other than an Object or null");return a}if("RegExp"!==s(t))throw new TypeError("RegExp#exec called on incompatible receiver");return n.call(t,e)}},"613b":function(t,e,i){var s=i("5537")("keys"),n=i("ca5a");t.exports=function(t){return s[t]||(s[t]=n(t))}},"61c8":function(t,e,i){},"626a":function(t,e,i){var s=i("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==s(t)?t.split(""):Object(t)}},6762:function(t,e,i){"use strict";var s=i("5ca1"),n=i("c366")(!0);s(s.P,"Array",{includes:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")("includes")},6821:function(t,e,i){var s=i("626a"),n=i("be13");t.exports=function(t){return s(n(t))}},"69a8":function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},"69bb":function(t,e,i){"use strict";i("ba05")},"6a2b":function(t,e,i){},"6a99":function(t,e,i){var s=i("d3f4");t.exports=function(t,e){if(!s(t))return t;var i,n;if(e&&"function"==typeof(i=t.toString)&&!s(n=i.call(t)))return n;if("function"==typeof(i=t.valueOf)&&!s(n=i.call(t)))return n;if(!e&&"function"==typeof(i=t.toString)&&!s(n=i.call(t)))return n;throw TypeError("Can't convert object to primitive value")}},"6b54":function(t,e,i){"use strict";i("3846");var s=i("cb7c"),n=i("0bfb"),a=i("9e1e"),r="toString",o=/./[r],c=function(t){i("2aba")(RegExp.prototype,r,t,!0)};i("79e5")((function(){return"/a/b"!=o.call({source:"a",flags:"b"})}))?c((function(){var t=s(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?n.call(t):void 0)})):o.name!=r&&c((function(){return o.call(this)}))},"6fb5":function(t,e,i){},"718e":function(t,e,i){"use strict";i("dfa9")},7333:function(t,e,i){"use strict";var s=i("9e1e"),n=i("0d58"),a=i("2621"),r=i("52a7"),o=i("4bf8"),c=i("626a"),l=Object.assign;t.exports=!l||i("79e5")((function(){var t={},e={},i=Symbol(),s="abcdefghijklmnopqrst";return t[i]=7,s.split("").forEach((function(t){e[t]=t})),7!=l({},t)[i]||Object.keys(l({},e)).join("")!=s}))?function(t,e){var i=o(t),l=arguments.length,d=1,u=a.f,h=r.f;while(l>d){var p,m=c(arguments[d++]),g=u?n(m).concat(u(m)):n(m),f=g.length,v=0;while(f>v)p=g[v++],s&&!h.call(m,p)||(i[p]=m[p])}return i}:l},7514:function(t,e,i){"use strict";var s=i("5ca1"),n=i("0a49")(5),a="find",r=!0;a in[]&&Array(1)[a]((function(){r=!1})),s(s.P+s.F*r,"Array",{find:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}}),i("9c6c")(a)},7726:function(t,e){var i=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},"77f1":function(t,e,i){var s=i("4588"),n=Math.max,a=Math.min;t.exports=function(t,e){return t=s(t),t<0?n(t+e,0):a(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"7a56":function(t,e,i){"use strict";var s=i("7726"),n=i("86cc"),a=i("9e1e"),r=i("2b4c")("species");t.exports=function(t){var e=s[t];a&&e&&!e[r]&&n.f(e,r,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,i){var s=i("86cc").f,n=i("69a8"),a=i("2b4c")("toStringTag");t.exports=function(t,e,i){t&&!n(t=i?t:t.prototype,a)&&s(t,a,{configurable:!0,value:e})}},"7f7f":function(t,e,i){var s=i("86cc").f,n=Function.prototype,a=/^\s*function ([^ (]*)/,r="name";r in n||i("9e1e")&&s(n,r,{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(t){return""}}})},"80be":function(t,e,i){},8378:function(t,e){var i=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=i)},"83a1":function(t,e,i){},"84f2":function(t,e){t.exports={}},"85ff":function(t,e,i){"use strict";i("cb50")},8615:function(t,e,i){var s=i("5ca1"),n=i("504c")(!1);s(s.S,"Object",{values:function(t){return n(t)}})},"86cc":function(t,e,i){var s=i("cb7c"),n=i("c69a"),a=i("6a99"),r=Object.defineProperty;e.f=i("9e1e")?Object.defineProperty:function(t,e,i){if(s(t),e=a(e,!0),s(i),n)try{return r(t,e,i)}catch(o){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(t[e]=i.value),t}},"8b97":function(t,e,i){var s=i("d3f4"),n=i("cb7c"),a=function(t,e){if(n(t),!s(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,s){try{s=i("9b43")(Function.call,i("11e9").f(Object.prototype,"__proto__").set,2),s(t,[]),e=!(t instanceof Array)}catch(n){e=!0}return function(t,i){return a(t,i),e?t.__proto__=i:s(t,i),t}}({},!1):void 0),check:a}},"8bcf":function(t,e,i){},"8e6e":function(t,e,i){var s=i("5ca1"),n=i("990b"),a=i("6821"),r=i("11e9"),o=i("f1ae");s(s.S,"Object",{getOwnPropertyDescriptors:function(t){var e,i,s=a(t),c=r.f,l=n(s),d={},u=0;while(l.length>u)i=c(s,e=l[u++]),void 0!==i&&o(d,e,i);return d}})},"8fb6":function(t,e,i){"use strict";i("83a1")},9093:function(t,e,i){var s=i("ce10"),n=i("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return s(t,n)}},9204:function(t,e){var i=Object.defineProperty,s=(t,e,s)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,n=(t,e,i)=>(s(t,"symbol"!=typeof e?e+"":e,i),i);(function(){const t=document.createElement("link").relList;if(!(t&&t.supports&&t.supports("modulepreload"))){for(const t of document.querySelectorAll('link[rel="modulepreload"]'))i(t);new MutationObserver((t=>{for(const e of t)if("childList"===e.type)for(const t of e.addedNodes)"LINK"===t.tagName&&"modulepreload"===t.rel&&i(t)})).observe(document,{childList:!0,subtree:!0})}function e(t){const e={};return t.integrity&&(e.integrity=t.integrity),t.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),"use-credentials"===t.crossOrigin?e.credentials="include":"anonymous"===t.crossOrigin?e.credentials="omit":e.credentials="same-origin",e}function i(t){if(t.ep)return;t.ep=!0;const i=e(t);fetch(t.href,i)}})();class a{constructor(t){n(this,"richText"),n(this,"vnode"),n(this,"cursorIndex"),n(this,"cursorLeft"),n(this,"needCallSpace",!1),n(this,"VOID_KEY","\ufeff"),n(this,"ZERO_WIDTH_KEY","​"),n(this,"pointEndIME"),n(this,"IME_KEY","​_"),this.richText=t,this.textInnerHtmlInit(),this.richText.focus()}textInnerHtmlInit(t=!1,e){if(t||this.getNodeEmpty(this.richText)){this.richText.innerHTML="";const t=this.getGridElm();this.richText.appendChild(t);const i=t.children[0].children[0];e&&(i.innerHTML=e,i.setAttribute("data-set-empty","false"));const s=i.childNodes[0];this.restCursorPos(s,s.textContent===this.VOID_KEY?1:s.textContent.length)}}onceCall(t,e=!1,i=""){return new Promise((s=>{const n=this.createAtUserSpan(t),a=this.replaceRegContent(n,!0,e,i)||"";s(a)}))}searchCall(t,e){return new Promise((i=>{const s=this.createAtUserSpan(t);this.replaceRegContent(s,e),i()}))}onceExternalCall(t){return new Promise((e=>{const i=this.createAtUserSpan(t),s=this.replaceRegContent(i,!1,!0)||"";e(s)}))}upDataNodeOrIndex(){var t,e,i;const{focusNode:s,focusOffset:n,anchorOffset:a}=window.getSelection(),r=(null==s?void 0:s.parentNode)||void 0;!r||!r.getAttribute||"richInput"!==r.getAttribute("data-set-richType")||(null==(i=null==(e=null==(t=null==s?void 0:s.parentNode)?void 0:t.parentNode)?void 0:e.parentNode)?void 0:i.parentNode)!==this.richText||(this.vnode=s,this.cursorIndex=n,this.cursorLeft=at.textContent.length&&(e=t.textContent.length);const i=new Range;i.setStart(t,e),i.setEnd(t,e);const s=window.getSelection();s&&(this.vnode=t,this.cursorIndex=e,this.cursorLeft=e,s.removeAllRanges(),s.addRange(i))}setCursorPos(t,e){const i=window.getSelection();if(i.rangeCount<=0)return;const s=i.getRangeAt(0);s.setStart(t,e),s.collapse(!0),this.vnode=t,this.cursorIndex=e,this.cursorLeft=e}replaceRegContent(t,e=!1,i=!1,s=""){const n=this.vnode.textContent;let a;a="boolean"==typeof e?n.slice(0,e?this.cursorIndex-1:this.cursorIndex):n.slice(0,e-1),0===a.length?(this.vnode.parentElement.setAttribute("data-set-empty",!0),this.vnode.textContent=this.VOID_KEY):this.vnode.textContent=a;let r=s||n.slice(this.cursorIndex);const o=this.vnode.parentNode.parentNode,c=o.nextSibling;c?o.parentNode.insertBefore(t,c):o.parentNode.appendChild(t);const l=t.previousSibling.childNodes[0],d=l.childNodes[1];d&&l.removeChild(d);const u=this.getGridElm(!0),h=u.childNodes[0];!i&&r&&r!==this.VOID_KEY&&(h.setAttribute("data-set-empty","false"),h.innerHTML=r);const p=h.childNodes[1];return i&&p&&h.removeChild(p),t.nextSibling?(p&&h.removeChild(p),o.parentNode.insertBefore(u,t.nextSibling)):o.parentNode.appendChild(u),this.restCursorPos(h.childNodes[0]),r}switchRange(t){var e,i;const{focusNode:s,focusOffset:n}=window.getSelection();let a,r;if(s.nodeType===Node.TEXT_NODE){const o=s.textContent.length,c=s.parentNode.parentNode;switch(t){case"ArrowLeft":if(n>0&&s.textContent!==this.VOID_KEY){r=n-1,a=s;break}const t=null==(e=null==c?void 0:c.previousSibling)?void 0:e.previousSibling;if(t)a=t.childNodes[0].childNodes[0],r=a.textContent.length;else{const t=c.parentNode.previousSibling;t&&(a=t.lastChild.childNodes[0].childNodes[0],r=a.textContent.length)}break;case"ArrowRight":if(n${this.VOID_KEY}
`,t)return e;const i=document.createElement("p");return i.className="chat-grid-wrap",i.setAttribute("data-set-richType","richBox"),i.appendChild(e),i}updateGrid(){const t=window.getSelection(),e=t.focusNode,i=e.parentNode,s=i.getAttribute("data-set-richType");let n,a,r,o;switch(s){case"richAllBox":if(n=e.childNodes[t.focusOffset],!n||"chatTag"===n.getAttribute("data-set-richType")){const t=this.getGridElm(!0),i=t.children[0];n?(i.removeChild(i.childNodes[1]),e.insertBefore(t,n)):e.appendChild(t),this.restCursorPos(i.childNodes[0]);break}if("BR"===n.tagName){const t=this.getGridElm(!0),i=t.children[0];e.insertBefore(t,n),e.removeChild(n),this.restCursorPos(i.childNodes[0],i.childNodes[0].textContent.length)}break;case"richMark":const s=i.parentNode,c=Array.prototype.indexOf.call(s.childNodes,i);if(-1===c)break;if(0===c){const e=t.focusNode;e.setAttribute("data-set-empty","true"),e.innerHTML=this.VOID_KEY+"
",n=e.childNodes[0],this.restCursorPos(n,n.textContent.length);break}let l,d=i.previousSibling;"chatTag"===d.getAttribute("data-set-richType")?(l=d.previousSibling,s.removeChild(d),s.removeChild(i)):(l=i.previousSibling,s.removeChild(i)),n=l.childNodes[0].childNodes[0],n.textContent===this.VOID_KEY&&n.parentNode.appendChild(document.createElement("br")),this.restCursorPos(n,n.textContent.length);break;case"richInput":if(o=i.parentNode,r=o.parentNode,this.getNodeEmpty(i)){i.setAttribute("data-set-empty","true"),r.childNodes[r.childNodes.length-1]===o&&(i.innerHTML=this.VOID_KEY+"
"),n=i.childNodes[0],this.restCursorPos(n,n.textContent.length);break}if("true"===String(i.getAttribute("data-set-empty"))){i.setAttribute("data-set-empty","false");const t=[],e=[];Array.prototype.forEach.call(i.childNodes,(i=>{i.nodeType===Node.TEXT_NODE&&-1!==i.textContent.indexOf(this.VOID_KEY)?e.push(i):"BR"===i.tagName&&t.push(i)})),t.forEach((t=>{i.removeChild(t)})),e.forEach((t=>{const e=t.textContent.indexOf(this.VOID_KEY),i=new Range;i.setStart(t,t.textContent.indexOf(this.VOID_KEY)),i.setEnd(t,e+1),i.deleteContents()})),n=i.childNodes[0],this.restCursorPos(n,n.textContent.length)}if(a=i.parentNode.nextSibling,a&&a.nodeType===Node.TEXT_NODE){let t=a.textContent,e=this.getGridElm(!0);e.childNodes[0].textContent=t,e.childNodes[0].setAttribute("data-set-empty","false"),a.parentNode.insertBefore(e,a),a.parentNode.removeChild(a),a=e}a&&"richMark"===a.getAttribute("data-set-richType")&&this.markMerge(i.parentNode,a);break}}getNodeEmpty(t){const e=new RegExp(`^(${this.ZERO_WIDTH_KEY}|
|${this.VOID_KEY})+$`);return!t.innerHTML||e.test(t.innerHTML)}setWrap(){const t=window.getSelection();let{focusNode:e,focusOffset:i}=t;if(e.nodeType!==Node.TEXT_NODE){if(!e.getAttribute||"richInput"!==e.getAttribute("data-set-richType"))return;e=e.childNodes[0]}const s=e.textContent.slice(i),n=e.parentNode.parentNode,a=n.parentNode,r=Array.prototype.indexOf.call(a.childNodes,n),o=Array.prototype.slice.call(a.childNodes,r+1),c=this.getGridElm();let l=c.children[0].children[0].childNodes[0],d=1;(s||o.length>0)&&l.parentNode.removeChild(l.parentNode.childNodes[1]),s&&s!==this.VOID_KEY&&(e.textContent=e.textContent.slice(0,i),l.textContent=(l.textContent+s).replace(new RegExp(this.VOID_KEY,"g"),(()=>(d--,""))),l.parentElement.setAttribute("data-set-empty","false")),o.forEach((t=>{a.removeChild(t),c.appendChild(t)}));const u=a.lastChild.childNodes[0],h=c.lastChild.childNodes[0];if(u.childNodes.length<=1){const t=u.childNodes[0];(!t.textContent||t.textContent===this.VOID_KEY)&&(u.innerHTML=this.VOID_KEY+"
",u.setAttribute("data-set-empty","true"))}if("richMark"!==h.parentElement.getAttribute("data-set-richType"))c.appendChild(this.getGridElm(!0));else if(h.childNodes.length<=1){const t=h.childNodes[0];(!t.textContent||t.textContent===this.VOID_KEY)&&(h.innerHTML=this.VOID_KEY+"
",h.setAttribute("data-set-empty","true"),l=c.children[0].children[0].childNodes[0])}a.nextSibling?this.richText.insertBefore(c,a.nextSibling):this.richText.appendChild(c),this.restCursorPos(l,l.textContent===this.VOID_KEY?1:d),this.viewIntoPoint()}selectRegionMerge(){const t=window.getSelection();if(t.isCollapsed||t.rangeCount<=0)return;const e=t.getRangeAt(0);if(e.startContainer.nodeType===Node.TEXT_NODE&&e.startContainer===e.endContainer){const t=e.startContainer;if(t.length===e.endOffset-e.startOffset){const e=t.parentNode,i=e.parentNode===e.parentNode.parentNode.lastChild;e.setAttribute("data-set-empty","true"),e.innerHTML="\ufeff"+(i?"
":""),this.restCursorPos(e.childNodes[0])}else e.deleteContents()}else if(e.commonAncestorContainer&&"richBox"===e.commonAncestorContainer.getAttribute("data-set-richType")){const t=e.startContainer.nodeType===Node.TEXT_NODE?e.startContainer.parentNode.parentNode:e.startContainer,i=e.endContainer.nodeType===Node.TEXT_NODE?e.endContainer.parentNode.parentNode:e.endContainer;e.deleteContents(),t.getAttribute("data-set-richType")===i.getAttribute("data-set-richType")&&this.markMerge(t,i)}else if(e.commonAncestorContainer===e.startContainer&&e.startContainer===e.endContainer)this.textInnerHtmlInit(!0);else{const t=t=>{if(t.nodeType===Node.TEXT_NODE)return t.parentNode.parentNode.parentNode;switch(t.getAttribute("data-set-richType")){case"richInput":return t.parentNode.parentNode;case"richMark":return t.parentNode;case"richBox":return t;default:return null}},i=t(e.startContainer),s=t(e.endContainer);if(!i||!s)return;e.deleteContents(),this.gridMerge(i,s)}return!0}gridElmMerge(){const t=window.getSelection(),{focusNode:e,focusOffset:i,isCollapsed:s}=t;if(i>1||!s)return!1;const n=(t,e)=>(t.parentNode===this.richText||t===t.parentNode.childNodes[0])&&(-1!==Array.prototype.indexOf.call(this.richText.childNodes,t)?t:!(e>=6)&&n(t.parentNode,e+1)),a=n(e,0);if(!a||a===this.richText.childNodes[0]||1===i&&"false"===a.children[0].children[0].getAttribute("data-set-empty"))return!1;const r=a.previousSibling;return this.gridMerge(r,a),!0}delMarkRule(){const t=window.getSelection(),e=t.focusNode,i=e.textContent,s=e.parentNode,n=s.parentNode,a=n.parentNode;if(!t.isCollapsed||"richInput"!==s.getAttribute("data-set-richType"))return!1;if(i&&1===i.length&&n!==a.childNodes[0]&&(0!==t.focusOffset||i===this.VOID_KEY)){if(i===this.VOID_KEY){const t=n.previousSibling.previousSibling;a.removeChild(n.previousSibling),a.removeChild(n);const e=t.childNodes[0],i=e.childNodes[0];i.textContent===this.VOID_KEY&&t===a.lastChild&&e.appendChild(document.createElement("br")),this.restCursorPos(i,i.textContent.length)}else{s.innerHTML=n===a.lastChild?this.VOID_KEY+"
":this.VOID_KEY,s.setAttribute("data-set-empty","true");const t=s.childNodes[0];this.restCursorPos(t,1)}return!0}if(0===t.focusOffset){const t=s.parentNode,e=null==t?void 0:t.previousSibling;return!(!e||"chatTag"!==e.getAttribute("data-set-richType"))&&(this.delTag(e),!0)}}setIMESelection(){const t=window.getSelection(),e=t.focusNode,i=e.parentNode.parentNode;"richMark"===((null==i?void 0:i.getAttribute("data-set-richType"))||"")&&(this.pointEndIME=t.focusOffset,e.textContent=e.textContent.slice(0,this.pointEndIME)+this.IME_KEY+e.textContent.slice(this.pointEndIME),this.restCursorPos(e,this.pointEndIME+this.IME_KEY.length))}delMarkRuleIME(){const t=window.getSelection(),e=t.focusNode,i=e.parentNode,s=i.parentNode;if("richMark"===((null==s?void 0:s.getAttribute("data-set-richType"))||"")){this.pointEndIME=t.focusOffset;const n=new RegExp(this.IME_KEY.slice(0,-1),"g");if(e.textContent=e.textContent.replace(n,""),this.pointEndIME>this.IME_KEY.length-1&&e.textContent!==this.VOID_KEY){const t=this.pointEndIME-(this.IME_KEY.length-1);e.textContent=e.textContent.slice(0,t-1)+e.textContent.slice(t),this.setCursorPos(e,t-1)}else{if("false"===i.getAttribute("data-set-empty")&&(""===e.textContent||e.textContent===this.VOID_KEY)){i.innerHTML=s===s.parentElement.lastChild?this.VOID_KEY+"
":this.VOID_KEY,i.setAttribute("data-set-empty","true");const t=i.childNodes[0];return void this.setCursorPos(t,1)}const t=s.previousSibling;if(t&&t.getAttribute&&"chatTag"===t.getAttribute("data-set-richType"))return void this.delTag(t);const n=s.parentElement,a=n.previousElementSibling;a&&this.gridMerge(a,n)}}}wrapIME(){const t=window.getSelection().focusNode;if(t.getAttribute&&"richBox"===t.getAttribute("data-set-richType")){const e=t.previousSibling.lastChild.children[0].childNodes[0];e.textContent=e.textContent.slice(0,-this.IME_KEY.length);const i=t.children[0];return void("BR"===i.tagName&&t.removeChild(i))}const e=t.parentNode.parentNode,i=(null==e?void 0:e.getAttribute("data-set-richType"))||"";if("richMark"===i){const t=e.parentElement.previousSibling.lastChild.children[0].childNodes[0];t.textContent=t.textContent.slice(0,-this.IME_KEY.length)}else if("richBox"===i){const t=e.previousSibling.lastChild.children[0].childNodes[0];t.textContent=t.textContent.slice(0,-this.IME_KEY.length)}}resetIME(t){" "===t&&(t=" "),t||(t="");const e=window.getSelection(),i=e.focusNode,s=i.parentNode.parentNode;"richMark"===((null==s?void 0:s.getAttribute("data-set-richType"))||"")&&(i.textContent=i.textContent.slice(0,e.focusOffset-this.IME_KEY.length-t.length)+t+i.textContent.slice(e.focusOffset),i.textContent=i.textContent.replace(new RegExp(this.ZERO_WIDTH_KEY,"g"),""),this.setCursorPos(i,this.pointEndIME+t.length))}delTag(t){const e=t.previousSibling,i=t.nextSibling;t.parentNode.removeChild(t),this.markMerge(e,i)}gridMerge(t,e,i=!1){"richMark"!==t.lastChild.getAttribute("data-set-richType")&&t.appendChild(this.getGridElm(!0)),"richMark"!==e.childNodes[0].getAttribute("data-set-richType")&&e.insertBefore(this.getGridElm(!0),e.childNodes[0]);const s=t.lastChild.childNodes[0],n=s.childNodes[0];let a=n.textContent.length;Array.prototype.forEach.call(e.childNodes,(e=>{t.appendChild(e.cloneNode(!0))})),e.childNodes.length>1&&s.childNodes[1]&&s.removeChild(s.childNodes[1]);const r=s.parentNode.nextSibling;if(r){const e=r.children[0].childNodes[0];e&&e.textContent!==this.VOID_KEY&&(s.childNodes[1]&&s.removeChild(s.childNodes[1]),n.textContent=(n.textContent+e.textContent).replace(new RegExp(this.VOID_KEY,"g"),(()=>(a--,""))),n.parentElement.setAttribute("data-set-empty","false")),t.removeChild(r)}if(""===n.textContent&&(n.textContent=this.VOID_KEY,n.parentNode.setAttribute("data-set-empty","true"),a=1),i){const e=t.childNodes[t.childNodes.length-1].childNodes[0].childNodes[0];this.restCursorPos(e,e.textContent.length)}else this.richText.removeChild(e),this.restCursorPos(n,a);this.viewIntoPoint()}markMerge(t,e){const i=t.children[0].childNodes[0];let s=i.textContent.length;if(e){const t=e.children[0].childNodes[0];t&&t.textContent!==this.VOID_KEY&&(i.textContent=(i.textContent+t.textContent).replace(new RegExp(this.VOID_KEY,"g"),(()=>(s--,""))),i.parentElement.setAttribute("data-set-empty","false")),e.parentNode.removeChild(e)}""===i.textContent&&(i.textContent=this.VOID_KEY,i.parentNode.setAttribute("data-set-empty","true"),s=1);const n=t.parentNode;i.textContent===this.VOID_KEY&&t===n.lastChild&&(i.parentNode.appendChild(document.createElement("br")),i.parentNode.setAttribute("data-set-empty","true"),s=1),this.restCursorPos(i,s)}setCallSpace(t){this.needCallSpace=t}getWrapNode(t){if(t.nodeType===Node.TEXT_NODE)return t.parentNode.parentNode.parentNode;switch(t.getAttribute("data-set-richType")){case"richInput":return t.parentNode.parentNode;case"richMark":return t.parentNode;case"richBox":return t}}getMarkNode(t){if(t.nodeType===Node.TEXT_NODE)return t.parentNode.parentNode;switch(t.getAttribute("data-set-richType")){case"richInput":return t.parentNode;case"richMark":return t}}getRichTextNodeIndex(t){const e=this.getMarkNode(t),i=e.parentNode;return{gridIndex:Array.prototype.indexOf.call(this.richText.childNodes,i),markIndex:Array.prototype.indexOf.call(i.childNodes,e)}}setWrapNodeByMark(t){const e=document.createElement("p");return e.className="chat-grid-wrap",e.setAttribute("data-set-richType","richBox"),Array.prototype.forEach.call(t,(t=>{e.appendChild(t)})),e}setRangeLastText(){const t=this.richText.childNodes[this.richText.childNodes.length-1],e=t.childNodes[t.childNodes.length-1].children[0].childNodes[0];this.restCursorPos(e,e.textContent===this.VOID_KEY?1:e.textContent.length),this.viewIntoPoint()}viewIntoPoint(){const t=window.getSelection();if(t.rangeCount>0){const e=t.getRangeAt(0).getBoundingClientRect(),i=this.richText.parentElement;i.scrollTop=e.top+i.scrollTop-i.clientHeight/2}}}const r=(t=50)=>new Promise((e=>{setTimeout(e,t)})),o=(t,e,i,s)=>{const n=Object.assign(Object.assign({},{precision:"first",continuous:!1,space:"ignore",lastPrecision:"start",insensitive:!0}),s||{});return n.insensitive&&(t=t.toLowerCase(),i=i.toLowerCase()),"ignore"===n.space&&(i=i.replace(/\s/g,"")),c(t,e,i,n)||[]},c=(t,e,i,s)=>{let n=[];for(let a=0;a{const e=l(t,i);e>o&&(o=e)})),o&&(i=i.slice(o),n.push(a)),!i)break}if(i)return null;if(s.continuous){const t=n;if(n.some(((e,i)=>i>0&&e!==t[i-1]+1)))return null}return"ignore"===s.space&&(n=n.filter((e=>" "!==t[e]))),n.length?n:null},l=(t,e)=>{let i=0;for(let s=0;s{if(i in t){const s=e.indexOf(String(t[i]));-1!==s&&(e[s]=t)}})),e.filter((t=>t[i]))},h=function(t){return Object.prototype.toString.call(t).slice(8,-1)},p=function(t,e){const i=h(t).toLowerCase();switch(h(e)){case"String":return i===e.toLowerCase();case"Array":return e.some((t=>i===t.toLowerCase()));default:return!0}};class m{constructor({elm:t,userList:e,placeholder:i,copyType:s,uploadImage:o,needCallEvery:c,callEveryLabel:l,userProps:u,needCallSpace:h,wrapKeyFun:p,sendKeyFun:m,needDialog:g,maxLength:f}){if(n(this,"richText"),n(this,"needCallEvery",!0),n(this,"callEveryLabel","所有人"),n(this,"maxLength"),n(this,"textLength",0),n(this,"needDialog",!0),n(this,"placeholderElm"),n(this,"userProps",{id:"id",name:"name",avatar:"avatar",pinyin:"pinyin"}),n(this,"chat"),n(this,"targetUserList",[]),n(this,"userList",[]),n(this,"copyType",["text"]),n(this,"itemShowList",[]),n(this,"checkboxRows",[]),n(this,"base64Images",{}),n(this,"uploadImage"),n(this,"deviceInfo",d()),n(this,"isComposition",!1),n(this,"undoHistory",[]),n(this,"redoHistory",[]),n(this,"doOverHistory",!0),n(this,"isExternalCallPopup",!1),n(this,"isIMEModel",!1),n(this,"chatEventModule",{enterSend:[],operate:[],defaultAction:[]}),n(this,"wrapKeyFun",(t=>t.ctrlKey&&["Enter"].includes(t.key))),n(this,"sendKeyFun",(t=>!t.ctrlKey&&["Enter"].includes(t.key))),n(this,"startOpenIndex",0),n(this,"toolUserList"),n(this,"dialogElm"),n(this,"dialogCheckElm"),n(this,"dialogMainElm"),n(this,"checkboxElm"),n(this,"searchResultElm"),n(this,"checkGroupElm"),n(this,"searchElm"),n(this,"tagsElm"),n(this,"dialogActiveItemElm"),n(this,"searchEmptyLabel","没有匹配到任何结果"),n(this,"checkAllLabel","全选"),n(this,"dialogH5Elm"),n(this,"dialogH5MainElm"),n(this,"dialogH5CheckElm"),n(this,"dialogH5ShowElm"),n(this,"dialogH5SearchElm"),n(this,"winClick",(()=>{this.getElmBlock(this.dialogElm)&&this.exitDialog(),this.searchResultElm&&this.domElmShow(this.searchResultElm)})),n(this,"winKeydown",(async t=>{if(t.ctrlKey&&"KeyZ"===t.code&&t.preventDefault(),this.getElmBlock(this.dialogElm)&&0!==this.itemShowList.length&&!this.isComposition){if("ArrowDown"===t.code)return void this.moveActiveItem("down");if("ArrowUp"===t.code)return void this.moveActiveItem("up");if(("Enter"===t.code||"NumpadEnter"===t.code)&&this.dialogActiveItemElm){t.preventDefault();const e=this.dialogActiveItemElm.getAttribute("data-set-id")||"";await r(100),this.toolUserList&&this.toolUserList.length>0?await this.matchSetTag(this.userList.find((t=>t.id===e))):await this.onceSetTag("isALL"===e?{[this.userProps.id]:"isALL",[this.userProps.name]:this.callEveryLabel}:this.userList.find((t=>t.id===e))),this.exitDialog()}}})),!(t instanceof HTMLElement))throw new Error("参数值elm:参数类型错误, 参数类型应为HTMLElement!");["absolute","relative","fixed"].includes(t.style.position)||(t.style.position="relative"),t.className+=" chat-area-"+(this.deviceInfo.isPc?"pc":"h5"),this.richText=document.createElement("div"),this.richText.setAttribute("class","chat-rich-text"),this.richText.setAttribute("data-set-richType","richAllBox"),this.richText.setAttribute("contenteditable","true"),t.appendChild(this.richText),this.placeholderElm=document.createElement("div"),this.placeholderElm.className="chat-placeholder-wrap",this.domElmShow(this.placeholderElm,!0),t.appendChild(this.placeholderElm),this.chat=new a(this.richText),l&&(this.callEveryLabel=l),void 0!==g&&(this.needDialog="false"!==String(g)),this.needDialog&&(this.deviceInfo.isPc?this.hasPc():this.hasH5()),this.registerEvent(),this.updateConfig({userList:e,placeholder:i,maxLength:f,copyType:s,uploadImage:o,needCallEvery:c,needCallSpace:h,userProps:u,wrapKeyFun:p,sendKeyFun:m});const v={html:this.richText.innerHTML,gridIndex:0,markIndex:0,cursorIndex:this.chat.cursorIndex};this.undoHistory=[v]}registerEvent(){this.richText.addEventListener("keyup",(t=>{if(!this.needDialog)return;if(t.stopPropagation(),this.deviceInfo.isPc)return void((50===t.keyCode||"Digit2"===t.code||"@"===t.key)&&this.ruleCanShowPointDialog());const e="Unidentified"===t.key?"android":"ios";let i=!1;switch(e){case"android":i=229===t.keyCode;break;case"ios":i=50===t.keyCode||"Digit2"===t.code||"@"===t.key;break}i&&this.userList.length>0&&this.chat.showAt()&&(this.showH5Dialog(),this.isExternalCallPopup=!1)})),this.richText.addEventListener("keydown",(async t=>{if(!this.deviceInfo.isPc&&"Unidentified"===t.key&&229===t.keyCode)return t.preventDefault(),this.isIMEModel=!0,void this.chat.setIMESelection();this.isIMEModel||(this.getElmBlock(this.dialogElm)?["ArrowUp","ArrowDown","Enter","NumpadEnter"].includes(t.code)?t.preventDefault():["ArrowLeft","ArrowRight"].includes(t.code)&&this.exitDialog():("Backspace"===t.code||"Backspace"===t.key?(this.chat.selectRegionMerge()||this.chat.gridElmMerge()||this.chat.delMarkRule())&&(t.preventDefault(),await this.richTextInput()):this.wrapKeyFun(t)||!this.deviceInfo.isPc&&"Enter"===t.key?(t.preventDefault(),this.chat.setWrap(),await this.richTextInput()):this.sendKeyFun(t)?(t.preventDefault(),await r(100),this.enterSend()):["ArrowLeft","ArrowRight"].includes(t.code)?(t.preventDefault(),this.chat.switchRange(t.code)):t.ctrlKey&&"KeyA"===t.code?this.isEmpty()&&t.preventDefault():t.ctrlKey&&"KeyZ"===t.code?(t.preventDefault(),this.ruleChatEvent(this.undo,"defaultAction","UNDO")):t.ctrlKey&&"KeyY"===t.code&&(t.preventDefault(),this.ruleChatEvent(this.redo,"defaultAction","REDO")),-1===["Backspace","Shift","Tab","CapsLock","Control","Meta","Alt","ContextMenu","Enter","NumpadEnter","Escape","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Home","End","PageUp","PageDown","Insert","Delete","NumLock"].indexOf(t.key)&&!t.ctrlKey&&!t.altKey&&!t.metaKey&&this.chat.selectRegionMerge()))})),this.richText.addEventListener("input",(async t=>{if(this.isIMEModel)return this.isIMEModel=!1,"deleteContentBackward"===t.inputType?(await r(50),this.chat.delMarkRuleIME()):"insertParagraph"===t.inputType?this.chat.wrapIME():this.chat.resetIME(t.data),this.chat.upDataNodeOrIndex(),this.chat.updateGrid(),void 0!==this.maxLength&&this.ruleMaxLength(),this.showPlaceholder(),void this.triggerChatEvent("operate");if(await this.richTextInput(),this.getElmBlock(this.dialogElm)&&!this.isComposition){const t=this.chat.vnode.textContent,e=this.chat.cursorIndex,i=new RegExp(`^([${this.chat.ZERO_WIDTH_KEY}${this.chat.VOID_KEY}])+$`);if(!t||i.test(t)||e0?(this.updateUserList(a,!0),this.showPCDialog()):this.exitDialog()}})),this.richText.addEventListener("copy",(t=>{t.preventDefault(),this.ruleChatEvent((()=>{this.copyRange(t)}),"defaultAction","COPY")})),this.richText.addEventListener("cut",(t=>{t.preventDefault(),this.ruleChatEvent((()=>{this.copyRange(t),this.removeRange()}),"defaultAction","CUT")})),this.richText.addEventListener("paste",(t=>{t.preventDefault(),this.ruleChatEvent((()=>{const e=t.clipboardData.getData("text/plain");if("string"==typeof e&&""!==e){if(-1===this.copyType.indexOf("text"))return;let i=document.createElement("div");i.innerHTML=t.clipboardData.getData("application/my-custom-format")||"",this.chat.selectRegionMerge(),i.children[0]&&"richBox"===i.children[0].getAttribute("data-set-richType")?this.insertInsideHtml(i.innerHTML):(i.innerHTML=e,this.insertText(i.innerText)),i=null}else{if(-1===this.copyType.indexOf("image"))return;const e=(t.clipboardData||t.originalEvent.clipboardData).items||[];Array.prototype.forEach.call(e,(async t=>{if(-1===t.type.indexOf("image"))return;const e=t.getAsFile();if(this.uploadImage){const t=await this.uploadImage(e);this.insertHtml(``)}else{const t=new FileReader;t.onload=t=>{this.insertHtml(``)},t.readAsDataURL(e)}}))}}),"defaultAction","PASTE")})),this.richText.addEventListener("blur",(t=>{this.chat.upDataNodeOrIndex()})),this.richText.addEventListener("focus",(t=>{this.chat.upDataNodeOrIndex()})),this.richText.addEventListener("click",(()=>{this.chat.upDataNodeOrIndex()})),this.richText.addEventListener("dragstart",(t=>{t.stopPropagation(),t.preventDefault()})),this.richText.addEventListener("dragover",(t=>{t.stopPropagation(),t.preventDefault()})),this.richText.addEventListener("drop",(t=>{t.stopPropagation(),t.preventDefault()})),this.richText.addEventListener("compositionstart",(()=>{this.isComposition=!0})),this.richText.addEventListener("compositionend",(()=>{this.isComposition=!1}))}async richTextInput(t=!0){this.chat.upDataNodeOrIndex(),this.deviceInfo.isPc&&this.chat.selectRegionMerge(),await r(50),this.isComposition||this.chat.updateGrid();const e=(this.richText.children[0]||{childNodes:[]}).childNodes[0];if(!e||!e.getAttribute||"richMark"!==e.getAttribute("data-set-richType"))return this.chat.textInnerHtmlInit(!0),this.showPlaceholder(),void this.triggerChatEvent("operate");if(void 0!==this.maxLength&&this.ruleMaxLength(),this.showPlaceholder(),this.triggerChatEvent("operate"),t&&!this.isComposition){const{gridIndex:t,markIndex:e}=this.chat.getRichTextNodeIndex(this.chat.vnode),i={html:this.richText.innerHTML,gridIndex:t,markIndex:e,cursorIndex:this.chat.cursorIndex};this.undoHistory.push(i),this.undoHistory.length>50&&this.undoHistory.shift()}}copyRange(t){const e=window.getSelection();if(e.isCollapsed||e.rangeCount<=0)return t.clipboardData.setData("application/my-custom-format",""),void t.clipboardData.setData("text/plain","");const i=e.toString()||"";let s=document.createElement("div");s.innerHTML=i;const n=s.innerText.replace(/\n\n/g,"\n");s=null,t.clipboardData.setData("text/plain",n);const a=e.anchorNode,r=e.focusNode;if(a===r&&a.nodeType===Node.TEXT_NODE){const i=a.textContent.slice(e.anchorOffset,e.focusOffset);return void t.clipboardData.setData("application/my-custom-format",i)}if(a===this.richText&&r===this.richText)return void t.clipboardData.setData("application/my-custom-format",this.richText.innerHTML);const o=this.chat.getWrapNode(a),c=this.chat.getWrapNode(r),l=this.chat.getMarkNode(a),d=this.chat.getMarkNode(r),u=Array.prototype.indexOf.call(o.childNodes,l),h=Array.prototype.indexOf.call(c.childNodes,d);if(o===c&&o.parentNode===this.richText){const i=u>h,s=Array.prototype.filter.call(o.childNodes,((t,e)=>i?eh:e>u&&et.cloneNode(!0))),n=i?a.textContent.slice(0,e.anchorOffset):a.textContent.slice(e.anchorOffset),c=i?r.textContent.slice(e.focusOffset):r.textContent.slice(0,e.focusOffset),l=this.chat.getGridElm(!0),d=this.chat.getGridElm(!0);n&&(l.childNodes[0].innerHTML=n,l.childNodes[0].setAttribute("data-set-empty","false")),c&&(d.childNodes[0].innerHTML=c,d.childNodes[0].setAttribute("data-set-empty","false")),i?(s.unshift(d),s.push(l)):(s.unshift(l),s.push(d));let p=document.createElement("div");const m=this.chat.setWrapNodeByMark(s);return p.appendChild(m),t.clipboardData.setData("application/my-custom-format",p.innerHTML),void(p=null)}if(o.parentNode===this.richText&&c.parentNode===this.richText){const i=Array.prototype.indexOf.call(this.richText.childNodes,o),s=Array.prototype.indexOf.call(this.richText.childNodes,c),n=i>s,l=Array.prototype.filter.call(this.richText.childNodes,((t,e)=>n?es:e>i&&et.cloneNode(!0))),d=n?a.textContent.slice(0,e.anchorOffset):a.textContent.slice(e.anchorOffset),p=n?r.textContent.slice(e.focusOffset):r.textContent.slice(0,e.focusOffset),m=this.chat.getGridElm(!0),g=this.chat.getGridElm(!0);d&&(m.childNodes[0].innerHTML=d,m.childNodes[0].setAttribute("data-set-empty","false")),p&&(g.childNodes[0].innerHTML=p,g.childNodes[0].setAttribute("data-set-empty","false"));const f=Array.prototype.filter.call(o.childNodes,((t,e)=>n?eu)).map((t=>t.cloneNode(!0))),v=Array.prototype.filter.call(c.childNodes,((t,e)=>n?e>h:et.cloneNode(!0)));if(n){f.push(m),v.unshift(g);const t=this.chat.setWrapNodeByMark(f),e=this.chat.setWrapNodeByMark(v);l.push(t),l.unshift(e)}else{f.unshift(m),v.push(g);const t=this.chat.setWrapNodeByMark(f),e=this.chat.setWrapNodeByMark(v);l.unshift(t),l.push(e)}let b=document.createElement("div");return Array.prototype.forEach.call(l,(t=>{b.appendChild(t)})),t.clipboardData.setData("application/my-custom-format",b.innerHTML),void(b=null)}}async removeRange(){window.getSelection().getRangeAt(0).deleteContents(),await r(50),this.chat.updateGrid(),this.showPlaceholder()}updateUserList(t,e){t&&(this.userList=this.getRuleUserList(t)),e||(this.base64Images={}),this.needDialog&&(this.deviceInfo.isPc?this.updatePCUser():this.updateH5User())}getRuleUserList(t){if(!p(t,"Array"))throw new Error("参数值userList:类型值应为Array!");this.targetUserList=JSON.parse(JSON.stringify(t||[]));const e=Object.create(null);return e[this.userProps.id]="isALL",e[this.userProps.name]=this.callEveryLabel,this.targetUserList.unshift(e),(null==t?void 0:t.map(((t,e)=>{const i=t[this.userProps.id];if(!i&&0!==i)throw new Error(`参数值userList:下标第${e}项${this.userProps.id}值异常!`);return t.name=String(t[this.userProps.name]||""),t.pinyin=String(t[this.userProps.pinyin]||""),t.id=String(i),t.avatar=String(t[this.userProps.avatar]||""),t})))||[]}getElmBlock(t){return t&&"block"===t.style.display}domElmShow(t,e=!1){t&&(t.className=t.className.replace(/ chat-view-show| chat-view-hidden/g,""),e?(t.style.display="block",t.className+=" chat-view-show"):t.style.display="none")}getUserHtmlTemplate(t,e){const i=document.createElement("span");if(i.setAttribute("class","call-user-dialog-item-sculpture "+(e.avatar?"is-avatar":"")),e.avatar){const t=new Image;t.alt="";const s=this.base64Images[e.id];s?t.src=s:(t.src=String(e.avatar),t.setAttribute("crossOrigin","Anonymous"),t.onload=()=>{const i=document.createElement("canvas");i.width=48,i.height=48;const s=i.getContext("2d");s&&(s.drawImage(t,0,0,i.width,i.height),this.base64Images[e.id]=i.toDataURL("image/png",1))}),i.appendChild(t)}else i.innerHTML=`${e.name.slice(-2)}`;t.appendChild(i);const s=document.createElement("span");s.setAttribute("class","call-user-dialog-item-name"),s.innerHTML=e.name,t.appendChild(s)}hasPc(){this.initCheckbox(),this.initCallUser(),window.addEventListener("click",this.winClick),window.addEventListener("keydown",this.winKeydown)}initCheckbox(){this.checkboxElm=document.createElement("div"),this.checkboxElm.setAttribute("class","checkbox-dialog"),this.domElmShow(this.checkboxElm),this.checkboxElm.innerHTML='\n
\n
\n 选择要@的人\n \n
\n
\n
\n \n\n
\n\n
\n \n \n
\n
\n \n
\n
研讨成员列表
\n\n
\n
\n
\n
\n ',document.body.appendChild(this.checkboxElm),this.checkGroupElm=this.checkboxElm.querySelector(".checkbox-dialog-check-group"),this.searchResultElm=this.checkboxElm.querySelector(".checkbox-dialog-search-group"),this.searchElm=this.checkboxElm.querySelector(".checkbox-dialog-search-input"),this.tagsElm=this.checkboxElm.querySelector(".checkbox-dialog-tags");const t=()=>{this.domElmShow(this.checkboxElm),this.isExternalCallPopup=!1},e=this.checkboxElm.querySelector(".checkbox-dialog-container-header-close"),i=this.checkboxElm.querySelector(".btn-close");e.onclick=t,i.onclick=t;const s=this.checkboxElm.querySelector(".btn-submit");s.onclick=async()=>{await this.batchSetTag(this.checkboxRows),t(),this.chat.viewIntoPoint()},this.domElmShow(this.searchResultElm),this.searchResultElm.onclick=t=>{t.stopPropagation()},this.searchElm.onclick=t=>{t.stopPropagation()},this.searchElm.oninput=t=>{this.searchResultElm.innerHTML="";const e=String(t.target.value||"").replace(/'/g,"");if(!e)return void this.domElmShow(this.searchResultElm);const i=this.searchUserList(e),s=document.createDocumentFragment();if(i.forEach((t=>{const e=document.createElement("div");e.setAttribute("class","checkbox-dialog-check-item"),e.setAttribute("data-set-value",t.id);const i=document.createElement("div");i.setAttribute("class","checkbox-dialog-check-item-label"),this.getUserHtmlTemplate(i,t),e.appendChild(i),e.onclick=()=>{this.domElmShow(this.searchResultElm);const t=e.getAttribute("data-set-value")||"";if(this.searchElm.value="",this.checkboxRows.some((e=>e.id===t)))return;const i=this.userList.find((e=>e.id===t));i&&this.checkboxRows.push(i),Array.prototype.some.call(this.checkGroupElm.children,((e,i)=>0===i&&this.checkboxRows.length===this.userList.length?(e.className+=" checkbox-dialog-check-item-check",!1):e.getAttribute("data-set-value")===t?(e.className+=" checkbox-dialog-check-item-check",!0):void 0)),this.updateTags()},s.appendChild(e)})),!i.length){const t=document.createElement("div");t.setAttribute("class","checkbox-dialog-search-empty"),t.innerText=this.searchEmptyLabel,s.appendChild(t)}this.searchResultElm.appendChild(s),this.domElmShow(this.searchResultElm,!0)}}searchUserList(t,e){return(e||this.userList).filter((e=>o(e.name,e.pinyin||"",t).length>0))}updateTags(){const t=this.checkboxRows.map((t=>t.id)),e=[],i=[];Array.prototype.forEach.call(this.tagsElm.children,(s=>{const n=s.getAttribute("data-set-value");-1===t.indexOf(n)?i.push(s):e.push(n)})),i.forEach((t=>{this.tagsElm.removeChild(t)}));const s=this.checkboxRows.filter((t=>-1===e.indexOf(t.id)));if(!s.length)return;const n=document.createDocumentFragment();s.forEach((t=>{const e=document.createElement("div");e.setAttribute("class","checkbox-dialog-tag-item"),e.setAttribute("data-set-value",t.id),e.innerHTML=`\n ${t.name}\n `;const i=document.createElement("span");i.setAttribute("class","checkbox-dialog-tag-item-close"),i.innerHTML="⛌",i.onclick=()=>{const t=e.getAttribute("data-set-value");this.checkboxRows=this.checkboxRows.filter((e=>e.id!==t)),this.tagsElm.removeChild(e),Array.prototype.some.call(this.checkGroupElm.children,((e,i)=>0===i?(e.className=e.className.replace(/ checkbox-dialog-check-item-check/g,""),!1):e.getAttribute("data-set-value")===t?(e.className=e.className.replace(/ checkbox-dialog-check-item-check/g,""),!0):void 0))},e.appendChild(i),n.appendChild(e)})),this.tagsElm.appendChild(n)}initCallUser(){this.dialogElm=document.createElement("div"),this.dialogElm.setAttribute("class","call-user-dialog"),this.domElmShow(this.dialogElm);const t=document.createElement("div");t.setAttribute("class","call-user-dialog-header"),t.innerHTML='\n 群成员\n ',this.dialogCheckElm=document.createElement("span"),this.dialogCheckElm.setAttribute("class","call-user-dialog-header-check"),this.domElmShow(this.dialogCheckElm,this.userList.length>0),this.dialogCheckElm.innerText="多选",this.dialogCheckElm.onclick=()=>{this.showPCCheckDialog(),this.isExternalCallPopup=!1},t.appendChild(this.dialogCheckElm),this.dialogElm.appendChild(t),this.dialogMainElm=document.createElement("div"),this.dialogMainElm.setAttribute("class","call-user-dialog-main"),this.dialogElm.appendChild(this.dialogMainElm),this.updateUserList();const e=document.createElement("div");e.setAttribute("class","call-user-dialog-footer"),this.dialogElm.appendChild(e),document.body.appendChild(this.dialogElm)}resizeUserTool(){this.toolUserList&&(this.userList=this.toolUserList),this.toolUserList=void 0,this.updateUserList(this.userList,!0)}updatePCUser(){this.dialogMainElm.innerHTML="",this.dialogActiveItemElm=void 0;const t=this.userList&&this.userList.length>0,e=document.createDocumentFragment();if(this.domElmShow(this.dialogCheckElm),!this.toolUserList&&t&&(this.domElmShow(this.dialogCheckElm,!0),this.needCallEvery)){const t=document.createElement("div");t.setAttribute("class","call-user-dialog-item"),t.setAttribute("data-set-id","isALL"),this.userSelectStyleAndEvent(t,{[this.userProps.id]:"isALL",[this.userProps.name]:this.callEveryLabel}),t.innerHTML=`\n \n @\n \n ${this.callEveryLabel}(${this.userList.length})\n `,e.appendChild(t)}this.userList.forEach((t=>{const i=document.createElement("div");i.setAttribute("class","call-user-dialog-item"),i.setAttribute("data-set-id",t.id),this.userSelectStyleAndEvent(i,t),this.getUserHtmlTemplate(i,t),e.appendChild(i)})),this.dialogMainElm.appendChild(e),this.callUserDialogMap(),this.checkGroupElm.innerHTML=`\n
\n \n \n
${this.checkAllLabel}
\n
`;const i=document.createDocumentFragment();this.userList.forEach((t=>{const e=document.createElement("div");e.setAttribute("class","checkbox-dialog-check-item"),e.setAttribute("data-set-value",t.id),e.innerHTML='\n \n \n ',this.getUserHtmlTemplate(e,t),i.appendChild(e)})),this.checkGroupElm.appendChild(i),this.checkGroupElm&&this.checkGroupElm.children.length&&Array.prototype.forEach.call(this.checkGroupElm.children,(t=>{t.onclick=()=>{const e=t.getAttribute("data-set-value")||"",i=this.userList.find((t=>t.id===e));-1!==t.className.indexOf("checkbox-dialog-check-item-check")?(t.className=t.className.replace(/ checkbox-dialog-check-item-check/g,""),"ALL"!==e&&(this.checkboxRows=this.checkboxRows.filter((t=>t.id!==e)))):(t.className+=" checkbox-dialog-check-item-check","ALL"!==e&&i&&this.checkboxRows.push(i)),"ALL"===e?(Array.prototype.forEach.call(this.checkGroupElm.children,(e=>{e.className=t.className})),this.checkboxRows=-1!==t.className.indexOf("checkbox-dialog-check-item-check")?this.userList.map((t=>t)):[]):this.checkboxRows.length===this.userList.length?this.checkGroupElm.children[0].className+=" checkbox-dialog-check-item-check":this.checkGroupElm.children[0].className=this.checkGroupElm.children[0].className.replace(/ checkbox-dialog-check-item-check/g,""),this.updateTags()}}))}userSelectStyleAndEvent(t,e){t.addEventListener("click",(async i=>{i.stopPropagation(),this.upDateActiveItem(t),this.toolUserList&&this.toolUserList.length>0?await this.matchSetTag(e):await this.onceSetTag(e),this.exitDialog()}))}callUserDialogMap(){this.itemShowList=[],Array.prototype.forEach.call(this.dialogMainElm.children||[],((t,e)=>{this.itemShowList.push({index:e,elm:t})}))}ruleCanShowPointDialog(){this.userList.length>0&&this.chat.showAt()&&(this.startOpenIndex=this.chat.cursorIndex,this.showPCDialog())}showPCDialog(){this.domElmShow(this.dialogElm,!0);let t="0",e="100%";this.upDateActiveItem(this.dialogMainElm.firstElementChild,!0);const i=this.chat.getRangeRect(),{clientWidth:s,clientHeight:n}=this.dialogElm;i.x>window.innerWidth-s&&(i.x=i.x-s-16,t="100%"),i.y{t.className="checkbox-dialog-check-item"})),this.updateTags(),this.isExternalCallPopup=!0}async showPCPointDialog(){this.insertText("@"),this.startOpenIndex=this.chat.cursorIndex,window.removeEventListener("click",this.winClick),this.showPCDialog(),await r(50),window.addEventListener("click",this.winClick)}moveActiveItem(t){if(!this.dialogActiveItemElm||0===this.itemShowList.length)return;let e=0;const i=this.dialogActiveItemElm.getAttribute("data-set-id");this.itemShowList.some((t=>{const s=t.elm.getAttribute("data-set-id");return e=t.index,i===s}));const s=this.itemShowList.map((t=>t.index));if("down"===t&&e!==this.itemShowList[this.itemShowList.length-1].index){const t=this.itemShowList[s.indexOf(e)+1];t&&this.upDateActiveItem(t.elm,!0)}else if("up"===t&&e!==this.itemShowList[0].index){const t=this.itemShowList[s.indexOf(e)-1];t&&this.upDateActiveItem(t.elm,!0)}}upDateActiveItem(t,e=!1){this.dialogActiveItemElm&&(this.dialogActiveItemElm.className=this.dialogActiveItemElm.className.replace(/ call-user-dialog-item-active/g,"")),this.dialogActiveItemElm=t,t&&(t.className+=" call-user-dialog-item-active",e&&t.scrollIntoView({block:"center"}))}exitDialog(){this.toolUserList&&this.resizeUserTool(),this.upDateActiveItem(),this.domElmShow(this.dialogElm)}hasH5(){this.dialogH5Elm=document.createElement("div"),this.dialogH5Elm.setAttribute("class","call-user-popup"),this.dialogH5Elm.innerHTML='\n
\n
\n 收起\n 选择提醒的人\n 确定\n
\n \n \n \n
\n
\n
\n ';const t=async()=>{this.dialogH5Elm.className=this.dialogH5Elm.className.replace(/ chat-view-show/g," chat-view-hidden"),this.dialogH5SearchElm.value="",await r(260),this.domElmShow(this.dialogH5Elm),this.chat.restCursorPos(this.chat.vnode,this.chat.cursorIndex),this.isExternalCallPopup=!1,this.chat.viewIntoPoint()};this.dialogH5Elm.onclick=t,this.dialogH5Elm.querySelector(".call-user-popup-main").onclick=t=>{t.stopPropagation()},this.dialogH5ShowElm=this.dialogH5Elm.querySelector(".popup-show"),this.dialogH5ShowElm.onclick=t,this.dialogH5CheckElm=this.dialogH5Elm.querySelector(".popup-check"),this.dialogH5CheckElm.onclick=async()=>{const e=this.dialogH5Elm.querySelectorAll(".user-popup-check-item-check")||[];if(0===e.length)return void await t();if(Array.prototype.some.call(e,(t=>"isALL"===t.getAttribute("data-set-id"))))return await this.onceSetTag({[this.userProps.id]:"isALL",[this.userProps.name]:this.callEveryLabel}),void await t();const i=Array.prototype.map.call(e,(t=>t.getAttribute("data-set-id"))),s=this.userList.filter((t=>i.includes(t.id)));await this.batchSetTag(s),await t()},this.dialogH5MainElm=this.dialogH5Elm.querySelector(".call-user-popup-body"),this.updateUserList(),this.dialogH5SearchElm=this.dialogH5Elm.querySelector(".call-user-popup-search-input"),this.dialogH5SearchElm.oninput=t=>{const e=String(t.target.value||"").replace(/'/g,"");Array.prototype.forEach.call(this.dialogH5MainElm.children,(t=>{if(!e)return void(t.style.display="");const i=t.getAttribute("data-set-name")||"",s=t.getAttribute("data-set-pinyin")||"";t.style.display=o(i,s,e).length>0?"":"none"}))},this.domElmShow(this.dialogH5Elm),document.body.appendChild(this.dialogH5Elm)}updateH5User(){this.dialogH5MainElm.innerHTML="",this.domElmShow(this.dialogH5CheckElm,this.userList.length>0);const t=this.userList&&this.userList.length>0,e=document.createDocumentFragment(),i=document.createElement("span");if(i.innerHTML='\n \n \n ',t){const t=document.createElement("div");this.needCallEvery&&(t.setAttribute("class","call-user-popup-item"),t.setAttribute("data-set-id","isALL"),t.innerHTML=`\n \n @\n \n ${this.callEveryLabel}(${this.userList.length})\n `,t.appendChild(i.cloneNode(!0)),t.onclick=()=>{const e=-1===t.className.indexOf("user-popup-check-item-check");Array.prototype.forEach.call(this.dialogH5MainElm.children,(t=>{e?t.className+=" user-popup-check-item-check":t.className=t.className.replace(/ user-popup-check-item-check/g,"")}))},e.appendChild(t)),this.userList.forEach(((s,n)=>{const a=document.createElement("div");a.setAttribute("class","call-user-popup-item"),a.setAttribute("data-set-id",s.id),a.setAttribute("data-set-name",s.name),a.setAttribute("data-set-pinyin",s.pinyin||""),this.getUserHtmlTemplate(a,s),a.appendChild(i.cloneNode(!0)),e.appendChild(a),a.onclick=e=>{-1===a.className.indexOf("user-popup-check-item-check")?(a.className+=" user-popup-check-item-check",t.className+=Array.prototype.every.call(this.dialogH5MainElm.children,(t=>-1!==t.className.indexOf("user-popup-check-item-check")||"isALL"===t.getAttribute("data-set-id")))?" user-popup-check-item-check":""):(a.className=a.className.replace(/ user-popup-check-item-check/g,""),t.className=t.className.replace(/ user-popup-check-item-check/g,""))}}))}this.dialogH5MainElm.appendChild(e)}showH5Dialog(){this.richText&&this.richText.blur(),Array.prototype.forEach.call(this.dialogH5MainElm.children,(t=>{t.style.display="",t.className=t.className.replace(/ user-popup-check-item-check/g,"")})),this.domElmShow(this.dialogH5Elm,!0),this.dialogH5MainElm.scrollTop=0,this.isExternalCallPopup=!0}updateConfig({copyType:t,userProps:e,userList:i,uploadImage:s,needCallEvery:n,placeholder:a,maxLength:r,needCallSpace:o,wrapKeyFun:c,sendKeyFun:l}={}){if(t){if(!p(t,"Array"))throw new Error("参数值copyType:类型值应为Array!");this.copyType=t.map((t=>{if(-1===["text","image"].indexOf(t))throw new Error(`参数值copyType:无效的参数值"${t}"!`);return t}))}if(e){if(!p(e,"Object"))throw new Error("参数值copyType:类型值应为Object!");this.userProps=Object.assign({},{id:"id",name:"name",avatar:"avatar",pinyin:"pinyin"},e)}if(s){if("function"!=typeof s)throw new Error("参数值uploadImage:参数类型错误,参数类型应为Function!");this.uploadImage=s}if(a&&(this.placeholderElm.innerText=a),void 0!==r){if(!p(r,"Number"))throw new Error("参数值maxLength:类型值应为Number!");this.maxLength=r,this.ruleMaxLength()}if((void 0!==n||i)&&(this.needCallEvery="false"!==String(n),this.updateUserList(i)),void 0!==o&&this.chat.setCallSpace(o),c){if("function"!=typeof c)throw new Error("参数值wrapKeyFun:参数类型错误,参数类型应为Function!");this.wrapKeyFun=c}if(l){if("function"!=typeof l)throw new Error("参数值sendKeyFun:参数类型错误,参数类型应为Function!");this.sendKeyFun=l}}enterSend(){this.triggerChatEvent("enterSend")}insertHtml(t){const e=document.createElement("span");e.innerHTML=t,e.className="chat-set-html";const i=this.chat.createNewDom(e);return this.chat.replaceRegContent(i),this.chat.viewIntoPoint(),this.richTextInput(),i}insertInsideHtml(t){let e=document.createElement("div");if(e.innerHTML=t,!e.children.length)return;const i=this.chat.vnode,s=this.chat.getWrapNode(i);if(1===e.children.length)this.chat.gridMerge(s,e.children[0],!0);else{this.chat.gridMerge(s,e.children[0],!0);const t=Array.prototype.slice.call(e.children,1);let i=s;Array.prototype.forEach.call(t,((e,s)=>{if(i.parentElement?this.richText.insertBefore(e,i.nextElementSibling):this.richText.appendChild(e),i=e,s===t.length-1){const t=e.childNodes[e.childNodes.length-1].childNodes[0].childNodes[0];this.chat.restCursorPos(t,t.textContent.length)}}))}e=null,this.chat.viewIntoPoint(),this.richTextInput()}insertText(t){var e,i;if(!t)return;const s=new RegExp(`${this.chat.ZERO_WIDTH_KEY}${this.chat.VOID_KEY}`,"ig"),n=t.replace(s,"");if(!n)return;let a,r=0;const o=this.chat.vnode;o&&o.parentElement&&"richInput"===o.parentElement.getAttribute("data-set-richType")?(a=o.parentElement,r=o.textContent===this.chat.VOID_KEY?1:this.chat.cursorLeft):(a=null==(i=null==(e=this.richText)?void 0:e.lastChild)?void 0:i.lastChild,r=a.childNodes[0].textContent.length);const c=(t,e=!1)=>{const i=a.childNodes[0],s=i.textContent.split("");return s.splice(r,0,t),i.textContent=s.join("").replace(new RegExp(this.chat.VOID_KEY,"g"),(()=>(r--,""))),a.setAttribute("data-set-empty","false"),a.childNodes[1]&&a.removeChild(a.childNodes[1]),this.chat.restCursorPos(i,r+t.length),e&&this.chat.viewIntoPoint(),a.parentElement.parentElement},l=(t,e=!1,i)=>{const s=this.chat.getGridElm(),n=s.childNodes[0].childNodes[0];let a=1;return t&&(n.innerHTML=t,n.setAttribute("data-set-empty","false"),a=t.length),i.nextSibling?this.richText.insertBefore(s,i.nextSibling):this.richText.appendChild(s),e&&(this.chat.restCursorPos(n.childNodes[0],a),this.chat.viewIntoPoint()),s},d=n.split("\n");if(d.length>1){let t;d.forEach(((e,i)=>{t=0===i?c(e):l(e,i===d.length-1,t)}))}else c(n,!0);this.richTextInput()}getCallUserList(){const t=this.richText.querySelectorAll(".at-user");if(t&&t.length>0){const e=Array.prototype.map.call(t,(t=>t.dataset.userId));return u(this.targetUserList,e,this.userProps.id)}return[]}getCallUserTagList(){const t=this.richText.querySelectorAll(".at-user");return t&&t.length>0?Array.prototype.map.call(t,(t=>({[this.userProps.id]:t.dataset.userId,[this.userProps.name]:t.innerText.slice(1)}))):[]}clear(t){this.chat.textInnerHtmlInit(!0,t);const e={html:this.richText.innerHTML,gridIndex:0,markIndex:0,cursorIndex:this.chat.cursorIndex};this.undoHistory=[e],this.redoHistory=[],this.richTextInput(!1)}isEmpty(t=!1){if((this.richText.querySelectorAll(".chat-tag")||[]).length>0)return!1;const e=new RegExp(`^(${this.chat.ZERO_WIDTH_KEY}|
|${this.chat.VOID_KEY})+$`),i=this.richText.querySelectorAll(".chat-grid-input")||[];return t?Array.prototype.every.call(i,(t=>!t.innerHTML||!t.innerText||!t.innerText.trim()||e.test(t.innerHTML))):Array.prototype.every.call(i,(t=>!t.innerHTML||!t.innerText||e.test(t.innerHTML)))}showPlaceholder(){this.domElmShow(this.placeholderElm,this.isEmpty())}getReduceNode(t={}){const e=Object.assign({},{needUserId:!1,wrapClassName:void 0,rowClassName:void 0,imgToText:!1,identifyLink:!1},t),i=/(https?|http|ftp|file):\/\/[-A-Za-z0-9+&@#/%?=~_|!:,.;]+[-A-Za-z0-9+&@#/%=~_|]/g,s=this.richText.cloneNode(!0).querySelectorAll(".chat-grid-wrap")||[],n=document.createElement("div");return e.wrapClassName&&(n.className=e.wrapClassName),Array.prototype.forEach.call(s,((t,s)=>{const a=t.querySelectorAll(".chat-stat")||[],r=document.createElement("p");e.rowClassName&&(r.className=e.rowClassName),Array.prototype.forEach.call(a,(t=>{this.chat.getNodeEmpty(t)||(t.removeAttribute("data-set-richType"),t.removeAttribute("contenteditable"),t.removeAttribute("data-set-empty"),e.needUserId||t.removeAttribute("data-user-id"),e.imgToText&&t.firstChild&&"IMG"===t.firstChild.tagName&&(t.className+=" img-to-text",t.innerHTML=`[${t.firstChild.getAttribute("data-img-text")||"元素data-img-text未定义"}]`),e.identifyLink&&-1!==t.className.indexOf("chat-grid-input")&&(t.innerHTML=t.innerHTML.replace(i,(t=>`
${t}`))),r.appendChild(t))})),r.innerHTML||(r.innerHTML="
"),n.appendChild(r)})),n}getText(t={}){let e="";const i=this.getReduceNode(t);return Array.prototype.forEach.call(i.children,((t,i)=>{e=e+(i>0?"\n":"")+t.textContent})),e}getHtml(t={}){return this.getReduceNode(t).innerHTML}dispose(){const t=this.richText.parentElement;t&&(t.removeChild(this.richText),t.removeChild(this.placeholderElm)),this.needDialog&&(this.deviceInfo.isPc?(document.body.removeChild(this.dialogElm),document.body.removeChild(this.checkboxElm),window.removeEventListener("click",this.winClick),window.removeEventListener("keydown",this.winKeydown)):document.body.removeChild(this.dialogH5Elm));for(const e in this)delete this[e];Object.setPrototypeOf(this,Object)}setUserTag(t){const e=this.chat.createAtUserSpan({id:t[this.userProps.id],name:t[this.userProps.name]});this.chat.replaceRegContent(e,!1),this.chat.viewIntoPoint(),this.richTextInput()}async matchSetTag(t){await this.chat.searchCall(t,this.startOpenIndex),await this.richTextInput()}async onceSetTag(t){await this.chat.onceCall({id:t[this.userProps.id],name:t[this.userProps.name]}),await this.richTextInput()}async batchSetTag(t){if(1===t.length)return void(this.isExternalCallPopup?await this.chat.onceExternalCall(t[0]):await this.onceSetTag(t[0]));let e="";for(let i=0;i<=t.length-1;){const s={id:t[i][this.userProps.id],name:t[i][this.userProps.name]};0===i?e=this.isExternalCallPopup?await this.chat.onceExternalCall(s):await this.chat.onceCall(s,!0):i===t.length-1?await this.chat.onceCall(s,!1,e):await this.chat.onceCall(s,!0),i++}await this.richTextInput()}disabled(){this.richText.setAttribute("contenteditable","false"),this.richText.className=this.richText.className.replace(/ chat-rich-text-disabled/g,"")+" chat-rich-text-disabled"}enable(){this.richText.setAttribute("contenteditable","true"),this.richText.className=this.richText.className.replace(/ chat-rich-text-disabled/g,""),this.chat.setRangeLastText()}undo(){if(!this.doOverHistory||!this.undoHistory||this.undoHistory.length<=1)return;const t=this.undoHistory[this.undoHistory.length-2],e=this.undoHistory[this.undoHistory.length-1];this.redoHistory.push(e),this.undoHistory.pop(),this.setChatHistory(t,!1)}redo(){if(!this.doOverHistory||!this.redoHistory||this.redoHistory.length<1)return;const t=this.redoHistory[this.redoHistory.length-1];this.redoHistory.pop(),this.setChatHistory(t,!0)}ruleMaxLength(){if(this.isEmpty()||void 0===this.maxLength)return void(this.textLength=0);let t=0,e=0;const i=[];Array.prototype.some.call(this.richText.children,((s,n)=>{const{nodeInfos:a,nodeTextLength:r}=this.getGirdNodeTextInfo(s);if(t+=r,i.push(a),e=n,t>=this.maxLength)return!0}));const s=[];Array.prototype.forEach.call(this.richText.children,((t,i)=>{i>e&&s.push(t)})),s.forEach((t=>this.richText.removeChild(t))),this.deepDelGirdText(i,t)}getGirdNodeTextInfo(t){const e=[];let i=0;if(1===t.children.length&&t!==t.parentElement.children[0]){const s=t.children[0],n=(s.textContent||"").replace(new RegExp(this.chat.VOID_KEY,"g"),"");i+=n.length||1,e[0]={node:s,textLength:n.length||1,type:"richMark"}}else Array.prototype.forEach.call(t.children,((t,s)=>{if("richMark"===t.getAttribute("data-set-richType")){const n=(t.textContent||"").replace(new RegExp(this.chat.VOID_KEY,"g"),"");i+=n.length,e[s]={node:t,textLength:n.length,type:"richMark"}}else{const n=(t.textContent||"").replace(new RegExp(this.chat.VOID_KEY,"g"),"");i+=n.length||1,e[s]={node:t,textLength:n.length||1,type:"chatTag"}}}));return{nodeInfos:e,nodeTextLength:i}}deepDelGirdText(t,e){if(e>this.maxLength){const i=t[t.length-1];t.pop(),this.deepDelNode(i,t,e)}else this.textLength=e}deepDelNode(t,e,i){const s=t[0].node.parentElement;if(i>this.maxLength){let n=i-this.maxLength,a=t[t.length-1];if("richMark"===a.type)if(0===a.textLength||n>=a.textLength)s.removeChild(a.node),t.pop(),n-=a.textLength,a=t[t.length-1],s.removeChild(a.node),t.pop(),n-=a.textLength;else{const t=a.node.childNodes[0];t.textContent=t.textContent.slice(0,a.textLength-n),0===t.textContent&&(t.setAttribute("data-set-empty","true"),t.innerHTML=this.chat.VOID_KEY+"
"),n=0}else s.removeChild(a.node),t.pop(),n-=a.textLength;n>0?t.length>0?this.deepDelNode(t,e,n+this.maxLength):(this.richText.appendChild(s),this.deepDelGirdText(e,n+this.maxLength)):(this.textLength=this.maxLength+n,this.enable())}}setChatHistory(t,e){this.doOverHistory=!1;const{html:i,gridIndex:s,markIndex:n,cursorIndex:a}=t;this.richText.innerHTML=i;const r=this.richText.childNodes[s].childNodes[n].childNodes[0].childNodes[0];this.chat.restCursorPos(r,a),this.chat.viewIntoPoint(),this.richTextInput(e).then((()=>{this.doOverHistory=!0}))}revisePCPointDialogLabel(t={}){const e=Object.assign({},{title:"群成员",checkLabel:"多选"},t);this.dialogElm.querySelector(".call-user-dialog-header-title").innerText=e.title,this.dialogCheckElm.innerText=e.checkLabel}revisePCCheckDialogLabel(t={}){const e=Object.assign({},{title:"选择要@的人",searchPlaceholder:"搜素人员名称",searchEmptyLabel:"没有匹配到任何结果",userTagTitle:"研讨成员列表",checkAllLabel:"全选",confirmLabel:"确定",cancelLabel:"取消"},t);this.checkboxElm.querySelector(".checkbox-dialog-container-header").children[0].innerText=e.title,this.searchElm.setAttribute("placeholder",e.searchPlaceholder||""),this.searchEmptyLabel=e.searchEmptyLabel||"",this.checkboxElm.querySelector(".checkbox-dialog-right-box-title").innerText=e.userTagTitle,this.checkAllLabel=e.checkAllLabel||"",this.checkGroupElm.children[0].children[2].innerText=this.checkAllLabel,this.checkboxElm.querySelector(".btn-submit").innerText=e.confirmLabel,this.checkboxElm.querySelector(".btn-close").innerText=e.cancelLabel}reviseH5DialogLabel(t){const e=Object.assign({},{title:"选择提醒的人",searchPlaceholder:"搜素人员名称",confirmLabel:"确定",cancelLabel:"收起"},t);this.dialogH5Elm.querySelector(".popup-title").innerText=e.title,this.dialogH5SearchElm.setAttribute("placeholder",e.searchPlaceholder||""),this.dialogH5CheckElm.innerText=e.confirmLabel,this.dialogH5ShowElm.innerText=e.cancelLabel}reverseAnalysis(t,e){const i=document.createElement("div");i.innerHTML=t;const s=i.children;Array.prototype.forEach.call(s,(t=>{t.className="chat-grid-wrap",t.setAttribute("data-set-richType","richBox");const e=t.children,i={},s=[];Array.prototype.forEach.call(e,((n,a)=>{if(-1!==n.className.indexOf("chat-grid-input")){const t=n.innerText;return n.className="",n.setAttribute("data-set-richType","richMark"),void(n.innerHTML=`${t}`)}if("BR"===n.tagName){const e=this.chat.getGridElm(!0);return t.removeChild(n),void t.appendChild(e)}const r=n.cloneNode(!0);r.setAttribute("contenteditable","false");const o=document.createElement("span");o.className="chat-tag",o.setAttribute("contenteditable","false"),o.setAttribute("data-set-richType","chatTag"),o.appendChild(r),i[a]=o,a!==e.length-1?-1===e[a+1].className.indexOf("chat-grid-input")&&s.push(a):s.push(a),0===a&&s.push(-1)}));for(const r in i){const s=Number(r);s===e.length-1?(t.removeChild(e[s]),t.appendChild(i[r])):(t.insertBefore(i[r],e[s+1]),t.removeChild(e[s]))}const n=[],a=t.children;s.forEach((t=>{t===a.length-1?n.push("isEnd"):n.push(a[t+1])})),n.forEach((e=>{const i=this.chat.getGridElm(!0);if("isEnd"===e)t.appendChild(i);else{const s=i.children[0];s.removeChild(s.childNodes[1]),t.insertBefore(i,e)}}))})),e?(this.enable(),this.insertInsideHtml(i.innerHTML)):(this.richText.innerHTML=i.innerHTML,this.enable(),this.chat.viewIntoPoint(),this.richTextInput())}addEventListener(t,e){this.chatEventModule[t].push(e)}removeEventListener(t,e){const i=this.chatEventModule[t],s=i.indexOf(e);-1!==s&&i.splice(s,1)}triggerChatEvent(t,...e){let i;return this.chatEventModule[t].forEach((t=>{t&&(i?t(...e):i=t(...e))})),i}ruleChatEvent(t,e,...i){"PREVENT"!==(this.triggerChatEvent(e,...i)+"").toUpperCase()&&(t&&t.bind(this)(),t=null)}}if(!window)throw new Error("非web环境!");window.console&&window.console.log&&console.log(" %c ".concat("ChatArea"," %c v4.6.5 "),"background: #269AFF; color: #FFFFFF; padding: 4px 0; border-radius: 4px 0px 0px 4px; font-style: italic;","background: #FFFFFF; color: #269AFF; padding: 2px 0; border-radius: 0px 4px 4px 0px; font-style: italic; border: 2px solid #269AFF;"),window.ChatArea=m},"93f9":function(t,e,i){"use strict";i("323d")},"96cf":function(t,e,i){var s=function(t){"use strict";var e,i=Object.prototype,s=i.hasOwnProperty,n=Object.defineProperty||function(t,e,i){t[e]=i.value},a="function"===typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",c=a.toStringTag||"@@toStringTag";function l(t,e,i){return Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(U){l=function(t,e,i){return t[e]=i}}function d(t,e,i,s){var a=e&&e.prototype instanceof v?e:v,r=Object.create(a.prototype),o=new N(s||[]);return n(r,"_invoke",{value:_(t,i,o)}),r}function u(t,e,i){try{return{type:"normal",arg:t.call(e,i)}}catch(U){return{type:"throw",arg:U}}}t.wrap=d;var h="suspendedStart",p="suspendedYield",m="executing",g="completed",f={};function v(){}function b(){}function y(){}var C={};l(C,r,(function(){return this}));var x=Object.getPrototypeOf,w=x&&x(x(M([])));w&&w!==i&&s.call(w,r)&&(C=w);var k=y.prototype=v.prototype=Object.create(C);function I(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function A(t,e){function i(n,a,r,o){var c=u(t[n],t,a);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===typeof d&&s.call(d,"__await")?e.resolve(d.__await).then((function(t){i("next",t,r,o)}),(function(t){i("throw",t,r,o)})):e.resolve(d).then((function(t){l.value=t,r(l)}),(function(t){return i("throw",t,r,o)}))}o(c.arg)}var a;function r(t,s){function n(){return new e((function(e,n){i(t,s,e,n)}))}return a=a?a.then(n,n):n()}n(this,"_invoke",{value:r})}function _(t,e,i){var s=h;return function(n,a){if(s===m)throw new Error("Generator is already running");if(s===g){if("throw"===n)throw a;return L()}i.method=n,i.arg=a;while(1){var r=i.delegate;if(r){var o=E(r,i);if(o){if(o===f)continue;return o}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(s===h)throw s=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);s=m;var c=u(t,e,i);if("normal"===c.type){if(s=i.done?g:p,c.arg===f)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(s=g,i.method="throw",i.arg=c.arg)}}}function E(t,i){var s=i.method,n=t.iterator[s];if(n===e)return i.delegate=null,"throw"===s&&t.iterator["return"]&&(i.method="return",i.arg=e,E(t,i),"throw"===i.method)||"return"!==s&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+s+"' method")),f;var a=u(n,t.iterator,i.arg);if("throw"===a.type)return i.method="throw",i.arg=a.arg,i.delegate=null,f;var r=a.arg;return r?r.done?(i[t.resultName]=r.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=e),i.delegate=null,f):r:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,f)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function M(t){if(null!=t){var i=t[r];if(i)return i.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var n=-1,a=function i(){while(++n=0;--a){var r=this.tryEntries[a],o=r.completion;if("root"===r.tryLoc)return n("end");if(r.tryLoc<=this.prev){var c=s.call(r,"catchLoc"),l=s.call(r,"finallyLoc");if(c&&l){if(this.prev=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&s.call(n,"finallyLoc")&&this.prev=0;--e){var i=this.tryEntries[e];if(i.finallyLoc===t)return this.complete(i.completion,i.afterLoc),T(i),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var i=this.tryEntries[e];if(i.tryLoc===t){var s=i.completion;if("throw"===s.type){var n=s.arg;T(i)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,i,s){return this.delegate={iterator:M(t),resultName:i,nextLoc:s},"next"===this.method&&(this.arg=e),f}},t}(t.exports);try{regeneratorRuntime=s}catch(n){"object"===typeof globalThis?globalThis.regeneratorRuntime=s:Function("r","regeneratorRuntime = r")(s)}},"990b":function(t,e,i){var s=i("9093"),n=i("2621"),a=i("cb7c"),r=i("7726").Reflect;t.exports=r&&r.ownKeys||function(t){var e=s.f(a(t)),i=n.f;return i?e.concat(i(t)):e}},"9b43":function(t,e,i){var s=i("d8e8");t.exports=function(t,e,i){if(s(t),void 0===e)return t;switch(i){case 1:return function(i){return t.call(e,i)};case 2:return function(i,s){return t.call(e,i,s)};case 3:return function(i,s,n){return t.call(e,i,s,n)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,i){var s=i("2b4c")("unscopables"),n=Array.prototype;void 0==n[s]&&i("32e9")(n,s,{}),t.exports=function(t){n[s][t]=!0}},"9def":function(t,e,i){var s=i("4588"),n=Math.min;t.exports=function(t){return t>0?n(s(t),9007199254740991):0}},"9e1e":function(t,e,i){t.exports=!i("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a481:function(t,e,i){"use strict";var s=i("cb7c"),n=i("4bf8"),a=i("9def"),r=i("4588"),o=i("0390"),c=i("5f1b"),l=Math.max,d=Math.min,u=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,m=function(t){return void 0===t?t:String(t)};i("214f")("replace",2,(function(t,e,i,g){return[function(s,n){var a=t(this),r=void 0==s?void 0:s[e];return void 0!==r?r.call(s,a,n):i.call(String(a),s,n)},function(t,e){var n=g(i,t,this,e);if(n.done)return n.value;var u=s(t),h=String(this),p="function"===typeof e;p||(e=String(e));var v=u.global;if(v){var b=u.unicode;u.lastIndex=0}var y=[];while(1){var C=c(u,h);if(null===C)break;if(y.push(C),!v)break;var x=String(C[0]);""===x&&(u.lastIndex=o(h,a(u.lastIndex),b))}for(var w="",k=0,I=0;I=k&&(w+=h.slice(k,_)+M,k=_+A.length)}return w+h.slice(k)}];function f(t,e,s,a,r,o){var c=s+t.length,l=a.length,d=p;return void 0!==r&&(r=n(r),d=h),i.call(o,d,(function(i,n){var o;switch(n.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,s);case"'":return e.slice(c);case"<":o=r[n.slice(1,-1)];break;default:var d=+n;if(0===d)return i;if(d>l){var h=u(d/10);return 0===h?i:h<=l?void 0===a[h-1]?n.charAt(1):a[h-1]+n.charAt(1):i}o=a[d-1]}return void 0===o?"":o}))}}))},aa77:function(t,e,i){var s=i("5ca1"),n=i("be13"),a=i("79e5"),r=i("fdef"),o="["+r+"]",c="​…",l=RegExp("^"+o+o+"*"),d=RegExp(o+o+"*$"),u=function(t,e,i){var n={},o=a((function(){return!!r[t]()||c[t]()!=c})),l=n[t]=o?e(h):r[t];i&&(n[i]=l),s(s.P+s.F*o,"String",n)},h=u.trim=function(t,e){return t=String(n(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(d,"")),t};t.exports=u},aae3:function(t,e,i){var s=i("d3f4"),n=i("2d95"),a=i("2b4c")("match");t.exports=function(t){var e;return s(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==n(t))}},ab30:function(t,e,i){},ac6a:function(t,e,i){for(var s=i("cadf"),n=i("0d58"),a=i("2aba"),r=i("7726"),o=i("32e9"),c=i("84f2"),l=i("2b4c"),d=l("iterator"),u=l("toStringTag"),h=c.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},m=n(p),g=0;gd)if(o=c[d++],o!=o)return!0}else for(;l>d;d++)if((t||d in c)&&c[d]===i)return t||d||0;return!t&&-1}}},c5f6:function(t,e,i){"use strict";var s=i("7726"),n=i("69a8"),a=i("2d95"),r=i("5dbc"),o=i("6a99"),c=i("79e5"),l=i("9093").f,d=i("11e9").f,u=i("86cc").f,h=i("aa77").trim,p="Number",m=s[p],g=m,f=m.prototype,v=a(i("2aeb")(f))==p,b="trim"in String.prototype,y=function(t){var e=o(t,!1);if("string"==typeof e&&e.length>2){e=b?e.trim():h(e,3);var i,s,n,a=e.charCodeAt(0);if(43===a||45===a){if(i=e.charCodeAt(2),88===i||120===i)return NaN}else if(48===a){switch(e.charCodeAt(1)){case 66:case 98:s=2,n=49;break;case 79:case 111:s=8,n=55;break;default:return+e}for(var r,c=e.slice(2),l=0,d=c.length;ln)return NaN;return parseInt(c,s)}}return+e};if(!m(" 0o1")||!m("0b1")||m("+0x1")){m=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof m&&(v?c((function(){f.valueOf.call(i)})):a(i)!=p)?r(new g(y(e)),i,m):y(e)};for(var C,x=i("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;x.length>w;w++)n(g,C=x[w])&&!n(m,C)&&u(m,C,d(g,C));m.prototype=f,f.constructor=m,i("2aba")(s,p,m)}},c69a:function(t,e,i){t.exports=!i("9e1e")&&!i("79e5")((function(){return 7!=Object.defineProperty(i("230e")("div"),"a",{get:function(){return 7}}).a}))},ca5a:function(t,e){var i=0,s=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+s).toString(36))}},cadf:function(t,e,i){"use strict";var s=i("9c6c"),n=i("d53b"),a=i("84f2"),r=i("6821");t.exports=i("01f9")(Array,"Array",(function(t,e){this._t=r(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,i=this._i++;return!t||i>=t.length?(this._t=void 0,n(1)):n(0,"keys"==e?i:"values"==e?t[i]:[i,t[i]])}),"values"),a.Arguments=a.Array,s("keys"),s("values"),s("entries")},cb50:function(t,e,i){},cb7c:function(t,e,i){var s=i("d3f4");t.exports=function(t){if(!s(t))throw TypeError(t+" is not an object!");return t}},cc9a:function(t,e,i){"use strict";i("8bcf")},cd1c:function(t,e,i){var s=i("e853");t.exports=function(t,e){return new(s(t))(e)}},ce10:function(t,e,i){var s=i("69a8"),n=i("6821"),a=i("c366")(!1),r=i("613b")("IE_PROTO");t.exports=function(t,e){var i,o=n(t),c=0,l=[];for(i in o)i!=r&&s(o,i)&&l.push(i);while(e.length>c)s(o,i=e[c++])&&(~a(l,i)||l.push(i));return l}},d2c8:function(t,e,i){var s=i("aae3"),n=i("be13");t.exports=function(t,e,i){if(s(e))throw TypeError("String#"+i+" doesn't accept regex!");return String(n(t))}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d6dd:function(t,e,i){},d6f8:function(t,e,i){},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},dcc3:function(t,e,i){"use strict";i("117e")},dfa9:function(t,e,i){},e003:function(t,e,i){"use strict";i("61c8")},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e61c:function(t,e,i){"use strict";i("d6dd")},e6e3:function(t,e,i){},e853:function(t,e,i){var s=i("d3f4"),n=i("1169"),a=i("2b4c")("species");t.exports=function(t){var e;return n(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!n(e.prototype)||(e=void 0),s(e)&&(e=e[a],null===e&&(e=void 0))),void 0===e?Array:e}},ed7d:function(t,e,i){"use strict";i("3bcf")},f1ae:function(t,e,i){"use strict";var s=i("86cc"),n=i("4630");t.exports=function(t,e,i){e in t?s.f(t,e,n(0,i)):t[e]=i}},f559:function(t,e,i){"use strict";var s=i("5ca1"),n=i("9def"),a=i("d2c8"),r="startsWith",o=""[r];s(s.P+s.F*i("5147")(r),"String",{startsWith:function(t){var e=a(this,t,r),i=n(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),s=String(t);return o?o.call(e,s,i):e.slice(i,i+s.length)===s}})},f6fd:function(t,e){(function(t){var e="currentScript",i=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(s){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(s.stack)||[!1])[1];for(t in i)if(i[t].src==e||"interactive"==i[t].readyState)return i[t];return null}}})})(document)},f751:function(t,e,i){var s=i("5ca1");s(s.S+s.F,"Object",{assign:i("7333")})},fa5b:function(t,e,i){t.exports=i("5537")("native-function-to-string",Function.toString)},fab2:function(t,e,i){var s=i("7726").document;t.exports=s&&s.documentElement},fb15:function(t,e,i){"use strict";var s;function n(t){return"[object Object]"===Object.prototype.toString.call(t)}function a(t){return"string"==typeof t}function r(t){return(new Date).getTime()-t<864e5}function o(t){return!t||!(!Array.isArray(t)||0!=t.length)||!(!n(t)||0!=Object.values(t).length)}function c(t){return t&&"function"===typeof t}function l(t,e,i,s,n,a,r){try{var o=t[a](r),c=o.value}catch(l){return void i(l)}o.done?e(c):Promise.resolve(c).then(s,n)}function d(t){return function(){var e=this,i=arguments;return new Promise((function(s,n){var a=t.apply(e,i);function r(t){l(a,s,n,r,o,"next",t)}function o(t){l(a,s,n,r,o,"throw",t)}r(void 0)}))}}i.r(e),"undefined"!==typeof window&&(i("f6fd"),(s=window.document.currentScript)&&(s=s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(i.p=s[1])),i("7f7f"),i("ac6a"),i("3b2b"),i("cadf"),i("8615"),i("6b54"),i("96cf"),i("456d"),i("6762"),i("2fdb");var u,h,p=[],m={hover:function(t){},focus:function(t){var e=this;t.addEventListener("focus",(function(t){e.changeVisible()})),t.addEventListener("blur",(function(t){e.changeVisible()}))},click:function(t){var e=this;t.addEventListener("click",(function(t){t.stopPropagation(),M.hide(),e.changeVisible()}))},contextmenu:function(t){var e=this;t.addEventListener("contextmenu",(function(t){t.preventDefault(),e.changeVisible()}))}},g={name:"LemonPopover",props:{trigger:{type:String,default:"click",validator:function(t){return Object.keys(m).includes(t)}}},data:function(){return{popoverStyle:{},visible:!1}},created:function(){document.addEventListener("click",this._documentClickEvent),p.push(this.close)},mounted:function(){m[this.trigger].call(this,this.$slots.default[0].elm)},render:function(){var t=arguments[0];return t("span",{style:"position:relative"},[t("transition",{attrs:{name:"lemon-slide-top"}},[this.visible&&t("div",{class:"lemon-popover",ref:"popover",style:this.popoverStyle,on:{click:function(t){return t.stopPropagation()}}},[t("div",{class:"lemon-popover__content"},[this.$slots.content]),t("div",{class:"lemon-popover__arrow"})])]),this.$slots.default])},destroyed:function(){document.removeEventListener("click",this._documentClickEvent)},computed:{},watch:{visible:function(){var t=d(regeneratorRuntime.mark((function t(e){var i,s;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e){t.next=6;break}return t.next=3,this.$nextTick();case 3:i=this.$slots.default[0].elm,s=this.$refs.popover,this.popoverStyle={top:"-".concat(s.offsetHeight+10,"px"),left:"".concat(i.offsetWidth/2-s.offsetWidth/2,"px")};case 6:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}()},methods:{_documentClickEvent:function(t){t.stopPropagation(),this.visible&&this.close()},changeVisible:function(){this.visible?this.close():this.open()},open:function(){this.closeAll(),this.visible=!0},closeAll:function(){p.forEach((function(t){return t()}))},close:function(){this.visible=!1}}},f=g;function v(t,e,i,s,n,a,r,o){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=i,l._compiled=!0),s&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),r?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=c):n&&(c=o?function(){n.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:n),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}i("718e");var b,y=v(f,u,h,!1,null,null,null),C=y.exports,x=function(){b&&(b.style.display="none")},w=function(){b&&(b.style.display="block")};document.addEventListener("click",(function(t){x()}));var k,I,A,_,E,S,T,N,M={hide:x,bind:function(t,e,i){t.addEventListener(e.modifiers.click?"click":"contextmenu",(function(t){if(!o(e.value)&&Array.isArray(e.value)){var s;e.modifiers.click&&t.stopPropagation(),t.preventDefault(),C.methods.closeAll();var n=[];e.modifiers.message?s=i.context:e.modifiers.contact&&(s=i.child),b||(b=document.createElement("div"),b.className="lemon-contextmenu",document.body.appendChild(b)),b.innerHTML=e.value.map((function(t){var e;if(e=c(t.visible)?t.visible(s):void 0===t.visible||t.visible,e){n.push(t);var i=t.icon?''):"";return'
').concat(i,"").concat(t.text,"
")}return""})).join("");var a=b.offsetHeight,r=b.offsetWidth,l=window.innerHeight,d=window.innerWidth,u=t.clientY+a>l?t.pageY-a-5:t.pageY,h=t.clientX+r>d?t.pageX-r-5:t.pageX;b.style.top="".concat(u,"px"),b.style.left="".concat(h,"px"),b.childNodes.forEach((function(t,e){var i=n[e],a=i.click;i.render,t.addEventListener("click",(function(t){t.stopPropagation(),c(a)&&a(t,s,x)}))})),w()}}))}},L={name:"LemonTabs",props:{activeIndex:String},data:function(){return{active:this.activeIndex}},mounted:function(){this.active||(this.active=this.$slots["tab-pane"][0].data.attrs.index)},render:function(){var t=this,e=arguments[0],i=[],s=[];return this.$slots["tab-pane"].map((function(n){var a=n.data.attrs,r=a.tab,o=a.index;i.push(e("div",{class:"lemon-tabs-content__pane",directives:[{name:"show",value:t.active==o}]},[n])),s.push(e("div",{class:["lemon-tabs-nav__item",t.active==o&&"lemon-tabs-nav__item--active"],on:{click:function(){return t._handleNavClick(o)}}},[r]))})),e("div",{class:"lemon-tabs"},[e("div",{class:"lemon-tabs-content"},[i]),e("div",{class:"lemon-tabs-nav"},[s])])},methods:{_handleNavClick:function(t){this.active=t}}},U=L,O=(i("69bb"),v(U,k,I,!1,null,null,null)),D=O.exports,P={name:"LemonButton",props:{color:{type:String,default:"default"},disabled:Boolean},render:function(){var t=arguments[0];return t("button",{class:["lemon-button","lemon-button--color-".concat(this.color)],attrs:{disabled:this.disabled,type:"button"},on:{click:this._handleClick}},[this.$slots.default])},methods:{_handleClick:function(t){this.$emit("click",t)}}},j=P,R=(i("cc9a"),v(j,A,_,!1,null,null,null)),B=R.exports,F=(i("c5f6"),{name:"LemonBadge",props:{count:[Number,Boolean],overflowCount:{type:Number,default:99}},render:function(){var t=arguments[0];return t("span",{class:"lemon-badge"},[this.$slots.default,0!==this.count&&void 0!==this.count&&t("span",{class:["lemon-badge__label",this.isDot&&"lemon-badge__label--dot"]},[this.label])])},computed:{isDot:function(){return!0===this.count},label:function(){return this.isDot?"":this.count>this.overflowCount?"".concat(this.overflowCount,"+"):this.count}},methods:{}}),$=F,H=(i("93f9"),v($,E,S,!1,null,null,null)),V=H.exports,G={name:"LemonAvatar",inject:["IMUI"],props:{src:String,icon:{type:String,default:"lemon-icon-people"},circle:{type:Boolean,default:function(){return!!this.IMUI&&this.IMUI.avatarCricle}},size:{type:Number,default:32}},data:function(){return{imageFinishLoad:!0}},render:function(){var t=this,e=arguments[0];return e("span",{style:this.style,class:["lemon-avatar",{"lemon-avatar--circle":this.circle}],on:{click:function(e){return t.$emit("click",e)}}},[(this.imageFinishLoad||!this.src)&&e("i",{class:this.icon}),e("img",{attrs:{src:this.src},on:{load:this._handleLoad}})])},computed:{style:function(){var t="".concat(this.size,"px");return{width:t,height:t,lineHeight:t,fontSize:"".concat(this.size/2,"px")}}},methods:{_handleLoad:function(){this.imageFinishLoad=!1}}},K=G,z=(i("e003"),v(K,T,N,!1,null,null,null)),Q=z.exports,Y=i("2638"),J=i.n(Y);function q(t){return q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},q(t)}function W(t,e){if("object"!=q(t)||!t)return t;var i=t[Symbol.toPrimitive];if(void 0!==i){var s=i.call(t,e||"default");if("object"!=q(s))return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function Z(t){var e=W(t,"string");return"symbol"==q(e)?e:String(e)}function X(t,e,i){return e=Z(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function tt(t,e,i){return t?t(i):e}function et(t){return t<10?"0".concat(t):t}function it(t){var e,i=new Date(t),s=new Date,n=function(t){return t.getFullYear()},a=function(t){return"".concat(t.getMonth()+1,"-").concat(t.getDate())},r=n(i),o=n(s);return e=r!==o?"y年m月d日 h:i":"".concat(r,"-").concat(a(i))==="".concat(o,"-").concat(a(s))?"h:i":"m月d日 h:i",st(t,e)}function st(t,e){e||(e="y-m-d h:i:s"),t=t?new Date(t):new Date;for(var i=[t.getFullYear().toString(),et((t.getMonth()+1).toString()),et(t.getDate().toString()),et(t.getHours().toString()),et(t.getMinutes().toString()),et(t.getSeconds().toString())],s="ymdhis",n=0;n/gi,"")}function rt(t){if(null==t||""==t)return"0 Bytes";var e=["B","K","M","G","T","P","E","Z","Y"],i=0,s=parseFloat(t);i=Math.floor(Math.log(s)/Math.log(1024));var n=s/Math.pow(1024,i);return n=parseFloat(n.toFixed(2)),n+e[i]}function ot(){var t=(new Date).getTime();window.performance&&"function"===typeof window.performance.now&&(t+=performance.now());var e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var i=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?i:3&i|8).toString(16)}));return e}i("8e6e"),i("a481");var ct,lt,dt={name:"LemonContact",components:{},inject:{IMUI:{from:"IMUI",default:function(){return this}}},data:function(){return{}},props:{contact:Object,simple:Boolean,timeFormat:{type:Function,default:function(t){return st(t,r(t)?"h:i":"y/m/d")}}},render:function(){var t=this,e=arguments[0];return e("div",{class:["lemon-contact",{"lemon-contact--name-center":this.simple}],attrs:{title:this.contact.displayName},on:{click:function(e){return t._handleClick(e,t.contact)}}},[tt(this.$scopedSlots.default,this._renderInner(),this.contact)])},created:function(){},mounted:function(){},computed:{},watch:{},methods:{_renderInner:function(){var t=this.$createElement,e=this.contact;return[t("lemon-badge",{attrs:{count:this.simple?0:e.unread},class:"lemon-contact__avatar"},[t("lemon-avatar",{attrs:{size:40,src:e.avatar}})]),t("div",{class:"lemon-contact__inner"},[t("p",{class:"lemon-contact__label"},[t("span",{class:"lemon-contact__name"},[e.displayName]),!this.simple&&t("span",{class:"lemon-contact__time"},[this.timeFormat(e.lastSendTime)])]),!this.simple&&t("p",{class:"lemon-contact__content"},[a(e.lastContent)?t("span",J()([{},{domProps:{innerHTML:e.lastContent}}])):e.lastContent])])]},_handleClick:function(t,e){this.$emit("click",e)}}},ut=dt,ht=(i("8fb6"),v(ut,ct,lt,!1,null,null,null)),pt=ht.exports;i("5df3"),i("1c4c"),i("9204");const mt=window.ChatArea;var gt=mt;function ft(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function vt(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];e&&saveRangeToLast(),this.focusRange(),At("insertHTML",t),this.saveRange()},saveRange:function(){bt=_t.getRangeAt(0)},focusRange:function(){this.$refs.textarea.focus(),bt&&(_t.removeAllRanges(),_t.addRange(bt))},_handleClick:function(){this.saveRange()},_handleInput:function(){this._checkSubmitDisabled()},_renderEmojiTabs:function(){var t=this,e=this.$createElement,i=function(i){return i.map((function(i){return e("img",{attrs:{src:i.src,title:i.title},class:"lemon-editor__emoji-item",on:{click:function(){return t._handleSelectEmoji(i)}}})}))};if(Et[0].label){var s=Et.map((function(t,s){return e("div",{slot:"tab-pane",attrs:{index:s,tab:t.label}},[i(t.children)])}));return e("lemon-tabs",{style:"width: 412px"},[s])}return e("div",{class:"lemon-tabs-content",style:"width:406px"},[i(Et)])},_handleSelectEmoji:function(t){this.chatArea.insertHtml('')),this._checkSubmitDisabled()},selectFile:function(){var t=d(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.accept=e,t.next=3,this.$nextTick();case 3:this.$refs.fileInput.click();case 4:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),_handlePaste:function(t){t.preventDefault();var e=t.clipboardData||window.clipboardData,i=e.getData("Text");if(i)this.submitDisabled=!1;else{var s=this._getClipboardBlob(e),n=s.blob,a=s.blobUrl;this.clipboardBlob=n,this.clipboardUrl=a}},_getClipboardBlob:function(t){for(var e,i,s=0;st.msecRange&&n.push(e("lemon-message-event",J()([{},{attrs:{message:{id:"__time__",type:"event",content:it(i.sendTime)}}}]))),o="event"==i.type?{message:i}:{timeFormat:t.timeFormat,message:i,reverse:t.reverseUserId==i.fromUser.id,hideTime:t.hideTime,hideName:t.hideName},n.push(e(a,J()([{ref:"message",refInFor:!0},{attrs:o}]))),n}))])},computed:{msecRange:function(){return 1e3*this.timeRange*60}},watch:{},methods:{loaded:function(){this._loadend=!0,this.$forceUpdate()},toCamelCase:function(t){return t.replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()}))},resetLoadState:function(){var t=this;this._lockScroll=!0,this._loading=!1,this._loadend=!1,setTimeout((function(){t._lockScroll=!1}),200)},_handleScroll:function(){var t=d(regeneratorRuntime.mark((function t(e){var i,s,n,a,r,o=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this._lockScroll){t.next=2;break}return t.abrupt("return");case 2:if(i=e.target,M.hide(),0!=i.scrollTop||0!=this._loading||0!=this._loadend){t.next=10;break}return this._loading=!0,t.next=8,this.$nextTick();case 8:s=i.scrollHeight,this.$emit("reach-top",function(){var t=d(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,o.$nextTick();case 2:i.scrollTop=i.scrollHeight-s,o._loading=!1,o._loadend=!!e;case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 10:n=i.scrollTop,a=i.scrollHeight,r=this.$refs.wrap,this.isBottom=n+r.offsetHeight>=a-20,this.$emit("is-bottom",this.isBottom);case 15:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),scrollToBottom:function(){var t=d(regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.$nextTick();case 2:e=this.$refs.wrap,e&&(e.scrollTop=e.scrollHeight);case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},created:function(){},mounted:function(){}},Ut=Lt,Ot=(i("ed7d"),v(Ut,xt,wt,!1,null,null,null)),Dt=Ot.exports,Pt={name:"lemonMessageBasic",inject:{IMUI:{from:"IMUI",default:function(){return this}}},props:{contextmenu:Array,message:{type:Object,default:function(){return{}}},timeFormat:{type:Function,default:function(){return""}},reverse:Boolean,hideName:Boolean,hideTime:Boolean},data:function(){return{}},render:function(){var t=this,e=arguments[0],i=this.message,s=i.fromUser,n=i.status,a=i.sendTime,r=1==this.hideName&&1==this.hideTime;return e("div",{class:["lemon-message","lemon-message--status-".concat(n),{"lemon-message--reverse":this.reverse,"lemon-message--hide-title":r}]},[e("div",{class:"lemon-message__avatar"},[e("lemon-avatar",{attrs:{size:36,shape:"square",src:s.avatar},on:{click:function(e){t._emitClick(e,"avatar")}}})]),e("div",{class:"lemon-message__inner"},[e("div",{class:"lemon-message__title"},[0==this.hideName&&e("span",{on:{click:function(e){t._emitClick(e,"displayName")}}},[s.displayName]),0==this.hideTime&&e("span",{class:"lemon-message__time",on:{click:function(e){t._emitClick(e,"sendTime")}}},[this.timeFormat(a)])]),e("div",{class:"lemon-message__content-flex"},[e("div",{directives:[{name:"lemon-contextmenu",value:this.IMUI.contextmenu,modifiers:{message:!0}}],class:"lemon-message__content",on:{click:function(e){t._emitClick(e,"content")}}},[tt(this.$scopedSlots["content"],null,this.message)]),e("div",{class:"lemon-message__content-after"},[tt(this.IMUI.$scopedSlots["message-after"],null,this.message)]),e("div",{class:"lemon-message__status",on:{click:function(e){t._emitClick(e,"status")}}},[e("i",{class:"lemon-icon-loading lemonani-spin"}),e("i",{class:"lemon-icon-prompt",attrs:{title:"重发消息"},style:{color:"#ff2525",cursor:"pointer"}})])])])])},created:function(){},mounted:function(){},computed:{},watch:{},methods:{_emitClick:function(t,e){this.IMUI.$emit("message-click",t,e,this.message,this.IMUI)}}},jt=Pt,Rt=(i("4c77"),v(jt,kt,It,!1,null,null,null)),Bt=Rt.exports;function Ft(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function $t(t){for(var e=1;et.length)&&(e=t.length);for(var i=0,s=new Array(e);i1&&void 0!==arguments[1]&&arguments[1],i="+1",s=Oe[t.toContactId];if("event"!=t.type&&this.user.id!=t.fromUser.id||(i="+0"),void 0===s)this.updateContact({id:t.toContactId,unread:i,lastSendTime:t.sendTime,lastContent:this.lastContentRender(t)});else{var n=s.some((function(e){var i=e.id;return i==t.id}));if(n)return;this._addMessage(t,t.toContactId,1);var a={id:t.toContactId,lastContent:this.lastContentRender(t),lastSendTime:t.sendTime};t.toContactId==this.currentContactId?(1==e&&this.messageViewToBottom(),this.CacheDraft.remove(t.toContactId)):a.unread=i,this.updateContact(a)}},_emitSend:function(t,e,i){var s=this;this.$emit("send",t,(function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{status:"succeed"};e(),s.updateMessage(Object.assign(t,i))}),i)},_handleSend:function(t){var e=this,i=this.$refs.editor.chatArea.getCallUserList(),s=i.map((function(t){return t.id})),n=this._createMessage({content:t,at:s});this.appendMessage(n,!0),this._emitSend(n,(function(){e.updateContact({id:n.toContactId,lastContent:e.lastContentRender(n),lastSendTime:n.sendTime}),e.CacheDraft.remove(n.toContactId)}))},_handleUpload:function(t){var e,i=this,s=["image/gif","image/jpeg","image/png"];e=s.includes(t.type)?{type:"image",content:URL.createObjectURL(t)}:{type:"file",fileSize:t.size,fileName:t.name,content:""};var n=this._createMessage(e);this.appendMessage(n,!0),this._emitSend(n,(function(){i.updateContact({id:n.toContactId,lastContent:i.lastContentRender(n),lastSendTime:n.sendTime})}),t)},_emitPullMessages:function(t){var e=this;this._changeContactLock=!0,this.$emit("pull-messages",this.currentContact,(function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e._addMessage(i,e.currentContactId,0),e.CacheMessageLoaded.set(e.currentContactId,s),1==s&&e.$refs.messages.loaded(),e.updateCurrentMessages(),e._changeContactLock=!1,t(s)}),this)},callIsBottom:function(t){this.$emit("is-bottom",t)},clearCacheContainer:function(t){this.CacheContactContainer.remove(t),this.CacheMenuContainer.remove(t)},_renderWrapper:function(t){var e=this.$createElement;return e("div",{style:{width:Pe(this.width),height:Pe(this.height)},ref:"wrapper",class:["lemon-wrapper","lemon-wrapper--theme-".concat(this.theme),{"lemon-wrapper--simple":this.simple},this.drawerVisible&&"lemon-wrapper--drawer-show"]},[t])},_renderMenu:function(){var t=this,e=this.$createElement,i=this._renderMenuItem();return e("div",{class:"lemon-menu",directives:[{name:"show",value:!this.hideMenu}]},[e("lemon-avatar",{directives:[{name:"show",value:!this.hideMenuAvatar}],on:{click:function(e){t.$emit("menu-avatar-click",e)}},class:"lemon-menu__avatar",attrs:{src:this.user.avatar}}),i.top,this.$slots.menu,e("div",{class:"lemon-menu__bottom"},[this.$slots["menu-bottom"],i.bottom])])},_renderMenuAvatar:function(){},_renderMenuItem:function(){var t=this,e=this.$createElement,i=[],s=[];return this.menus.forEach((function(n){var a=n.name,r=n.title,o=n.unread,c=n.render,l=n.click,d=e("div",{class:["lemon-menu__item",{"lemon-menu__item--active":t.activeSidebar==a}],on:{click:function(){nt(l,(function(){a&&t.changeMenu(a)}))}},attrs:{title:r}},[e("lemon-badge",{attrs:{count:o}},[c(n)])]);!0===n.isBottom?s.push(d):i.push(d)})),{top:i,bottom:s}},_renderSidebarMessage:function(){var t=this;return this._renderSidebar([tt(this.$scopedSlots["sidebar-message-top"],null,this),this.lastMessages.map((function(e){return t._renderContact({contact:e,timeFormat:t.contactTimeFormat},(function(){return t.changeContact(e.id)}),t.$scopedSlots["sidebar-message"])}))],we,tt(this.$scopedSlots["sidebar-message-fixedtop"],null,this))},_renderContact:function(t,e,i){var s=this,n=this.$createElement,a=t.contact,r=a.click,o=a.renderContainer,c=a.id,l=function(){nt(r,(function(){e(),s._customContainerReady(o,s.CacheContactContainer,c)}))};return n("lemon-contact",J()([{class:{"lemon-contact--active":this.activeSidebar==ke?this.currentContactIdSidebarContact==t.contact.id:this.currentContactId==t.contact.id},directives:[{name:"lemon-contextmenu",value:this.contactContextmenu,modifiers:{contact:!0}}]},{props:t},{on:{click:l},scopedSlots:{default:i}}]))},_renderSidebarContact:function(){var t,e=this,i=this.$createElement;return this._renderSidebar([tt(this.$scopedSlots["sidebar-contact-top"],null,this),this.contacts.map((function(s){if(s.index){s.index=s.index.replace(/\[[0-9]*\]/,"");var n=[s.index!==t&&i("p",{class:"lemon-sidebar__label"},[s.index]),e._renderContact({contact:s,simple:!0},(function(){e.changeContact(s.id)}),e.$scopedSlots["sidebar-contact"])];return t=s.index,n}}))],ke,tt(this.$scopedSlots["sidebar-contact-fixedtop"],null,this))},_renderSidebar:function(t,e,i){var s=this.$createElement;return s("div",{class:"lemon-sidebar",directives:[{name:"show",value:this.activeSidebar==e}],on:{scroll:this._handleSidebarScroll}},[s("div",{class:"lemon-sidebar__fixed-top"},[i]),s("div",{class:"lemon-sidebar__scroll"},[t])])},_renderDrawer:function(){var t=this.$createElement;return this._menuIsMessages()&&this.currentContactId?t("div",{class:"lemon-drawer",ref:"drawer"},[Re(this.currentContact),tt(this.$scopedSlots.drawer,"",this.currentContact)]):""},_isContactContainerCache:function(t){return t.startsWith("contact#")},_renderContainer:function(){var t=this,e=this.$createElement,i=[],s="lemon-container",n=this.activeSidebar==ke?this.currentContactSidebarContact:this.currentContact,a=!0;for(var r in this.CacheContactContainer.get()){var c=n.id==r&&this.currentIsDefSidebar;c&&(a=!c),i.push(e("div",{class:s,directives:[{name:"show",value:c}]},[this.CacheContactContainer.get(r)]))}for(var l in this.CacheMenuContainer.get())i.push(e("div",{class:s,directives:[{name:"show",value:this.activeSidebar==l&&!this.currentIsDefSidebar}]},[this.CacheMenuContainer.get(l)]));return i.push(e("div",{class:s,directives:[{name:"show",value:this._menuIsMessages()&&a&&n.id}]},[e("div",{class:"lemon-container__title"},[tt(this.$scopedSlots["message-title"],e("div",{class:"lemon-container__displayname"},[n.displayName]),n)]),e("div",{class:"lemon-vessel"},[e("div",{class:"lemon-vessel__left"},[e("lemon-messages",{ref:"messages",attrs:{"loading-text":this.loadingText,"loadend-text":this.loadendText,"hide-time":this.hideMessageTime,"hide-name":this.hideMessageName,"time-format":this.messageTimeFormat,"reverse-user-id":this.user.id,messages:this.currentMessages},on:{"reach-top":this._emitPullMessages,"is-bottom":this.callIsBottom}}),e("lemon-editor",{ref:"editor",attrs:{tools:this.editorTools,sendText:this.sendText,sendKey:this.sendKey,wrapKey:this.wrapKey},on:{send:this._handleSend,upload:this._handleUpload}})]),e("div",{class:"lemon-vessel__right"},[tt(this.$scopedSlots["message-side"],null,n)])])])),i.push(e("div",{class:s,directives:[{name:"show",value:!n.id&&this.currentIsDefSidebar}]},[this.$slots.cover])),i.push(e("div",{class:s,directives:[{name:"show",value:this._menuIsContacts()&&a&&n.id}]},[tt(this.$scopedSlots["contact-info"],e("div",{class:"lemon-contact-info"},[e("lemon-avatar",{attrs:{src:n.avatar,size:90}}),e("h4",[n.displayName]),e("lemon-button",{on:{click:function(){o(n.lastContent)&&t.updateContact({id:n.id,lastContent:" "}),t.changeContact(n.id,we)}}},["发送消息"])]),n)])),i},_handleSidebarScroll:function(){M.hide()},_addContact:function(t,e){var i={0:"unshift",1:"push"}[e];this.contacts[i](t)},_addMessage:function(t,e,i){var s,n={0:"unshift",1:"push"}[i];Array.isArray(t)||(t=[t]),Oe[e]=Oe[e]||[],(s=Oe[e])[n].apply(s,xe(t))},setLastContentRender:function(t,e){Ae[t]=e},lastContentRender:function(t){return c(Ae[t.type])?Ae[t.type].call(this,t):"[不支持的消息类型]"},emojiNameToImage:function(t){return t.replace(/\[!(\w+)\]/gi,(function(t,e){var i=e;return De[i]?''):"[!".concat(e,"]")}))},emojiImageToName:function(t){return t.replace(/]*>/gi,"[!$1]")},updateCurrentMessages:function(){Oe[this.currentContactId]||(Oe[this.currentContactId]=[]),this.currentMessages=Oe[this.currentContactId]},messageViewToBottom:function(){this.$refs.messages.scrollToBottom()},setDraft:function(t,e){if(o(t)||o(e))return!1;var i=this.findContact(t),s=i.lastContent;if(o(i))return!1;this.CacheDraft.has(t)&&(s=this.CacheDraft.get(t).lastContent),this.CacheDraft.set(t,{editorValue:e,lastContent:s}),this.updateContact({id:t,lastContent:'[草稿]'.concat(this.lastContentRender({type:"text",content:e}),"")})},clearDraft:function(t){var e=this.CacheDraft.get(t);if(e){var i=this.findContact(t).lastContent;0===i.indexOf('[草稿]')&&this.updateContact({id:t,lastContent:e.lastContent}),this.CacheDraft.remove(t)}},changeContact:function(){var t=d(regeneratorRuntime.mark((function t(e,i){var s,n,a,r=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!i){t.next=4;break}this.changeMenu(i),t.next=6;break;case 4:if(!(this._changeContactLock||this.activeSidebar==we&&this.currentContactId==e||this.activeSidebar==ke&&this.currentContactIdSidebarContact==e)){t.next=6;break}return t.abrupt("return",!1);case 6:if(this.currentContactId&&(s=this.$refs.editor.chatArea.getHtml({needUserId:!0}),n=this.$refs.editor.chatArea.getText(),n?(this.setDraft(this.currentContactId,s),this.setEditorValue()):this.clearDraft(this.currentContactId)),this.activeSidebar==ke?this.currentContactIdSidebarContact=e:this.currentContactId=e,this.currentContactId){t.next=10;break}return t.abrupt("return",!1);case 10:if(this.$emit("change-contact",this.currentContact,this),!c(this.currentContact.renderContainer)&&this.activeSidebar!=ke){t.next=13;break}return t.abrupt("return");case 13:a=this.CacheDraft.get(e),a&&(this.$refs.editor.chatArea.reverseAnalysis(a.editorValue),this.$refs.editor._checkSubmitDisabled()),this.CacheMessageLoaded.has(e)?this.$refs.messages.loaded():this.$refs.messages.resetLoadState(),Oe[e]?setTimeout((function(){r.updateCurrentMessages(),r.messageViewToBottom()}),0):(this.updateCurrentMessages(),this._emitPullMessages((function(t){r.messageViewToBottom()})));case 17:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),removeMessage:function(t){var e=this.findMessage(t);if(!e)return!1;var i=Oe[e.toContactId].findIndex((function(e){var i=e.id;return i==t}));return Oe[e.toContactId].splice(i,1),!0},updateMessage:function(t){if(!t.id)return!1;var e=this.findMessage(t.id);return!!e&&(e=Object.assign(e,t,{toContactId:e.toContactId}),!0)},forceUpdateMessage:function(t){if(t){var e=this.$refs.messages.$refs.message;if(e){var i=e.find((function(e){return e.$attrs.message.id==t}));i&&i.$forceUpdate()}}else this.$refs.messages.$forceUpdate()},_customContainerReady:function(t,e,i){c(t)&&!e.has(i)&&e.set(i,t.call(this))},changeMenu:function(t){this.$emit("change-menu",t),this.activeSidebar=t},initEmoji:function(t){var e=[];this.$refs.editor.initEmoji(t),t[0].label?t.forEach((function(t){var i;(i=e).push.apply(i,xe(t.children))})):e=t,e.forEach((function(t){var e=t.name,i=t.src;return De[e]=i}))},initEditorTools:function(t){this.editorTools=t},initMenus:function(t){var e=this,i=this.$createElement,s=[{name:we,title:"聊天",unread:0,click:null,render:function(t){return i("i",{class:"lemon-icon-message"})},isBottom:!1},{name:ke,title:"通讯录",unread:0,click:null,render:function(t){return i("i",{class:"lemon-icon-addressbook"})},isBottom:!1}],n=[];if(Array.isArray(t)){var a={messages:0,contacts:1},r=Object.keys(a);n=t.map((function(t){return r.includes(t.name)?Me(Me(Me({},s[a[t.name]]),t),{renderContainer:null}):(t.renderContainer&&e._customContainerReady(t.renderContainer,e.CacheMenuContainer,t.name),t)}))}else n=s;this.menus=n},initContacts:function(t){this.contacts=t,this.sortContacts()},sortContacts:function(){this.contacts.sort((function(t,e){if(t.index)return t.index.localeCompare(e.index)}))},appendContact:function(t){return o(t.id)||o(t.displayName)?(console.error("id | displayName cant be empty"),!1):(this.hasContact(t.id)||this.contacts.push(Object.assign({id:"",displayName:"",avatar:"",index:"",unread:0,lastSendTime:"",lastContent:""},t)),!0)},removeContact:function(t){var e=this.findContactIndexById(t);return-1!==e&&(this.contacts.splice(e,1),this.CacheDraft.remove(t),this.CacheMessageLoaded.remove(t),!0)},updateContact:function(t){var e=t.id;delete t.id;var i=this.findContactIndexById(e);if(-1!==i){var s=t.unread;a(s)&&(0!==s.indexOf("+")&&0!==s.indexOf("-")||(t.unread=parseInt(s)+parseInt(this.contacts[i].unread))),this.$set(this.contacts,i,Me(Me({},this.contacts[i]),t))}},findContactIndexById:function(t){return this.contacts.findIndex((function(e){return e.id==t}))},hasContact:function(t){return-1!==this.findContactIndexById(t)},findMessage:function(t){for(var e in Oe){var i=Oe[e].find((function(e){var i=e.id;return i==t}));if(i)return i}},findContact:function(t){return this.getContacts().find((function(e){var i=e.id;return i==t}))},getContacts:function(){return this.contacts},getCurrentContact:function(){return this.currentContact},getCurrentMessages:function(){return this.currentMessages},setEditorValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!a(t))return!1;this.$refs.editor.setValue(this.emojiNameToImage(t))},getEditorValue:function(){return this.$refs.editor.getFormatValue()},clearMessages:function(t){return t?(delete Oe[t],this.CacheMessageLoaded.remove(t),this.CacheDraft.remove(t)):(Oe={},this.CacheMessageLoaded.remove(),this.CacheDraft.remove()),!0},getMessages:function(t){return(t?Oe[t]:Oe)||[]},changeDrawer:function(t){this.drawerVisible=!this.drawerVisible,1==this.drawerVisible&&this.openDrawer(t)},openDrawer:function(t){Re=c(t)?t:t.render||new Function;var e=this.$refs.wrapper.clientWidth,i=this.$refs.wrapper.clientHeight,s=t.width||200,n=t.height||i,r=t.offsetX||0,o=t.offsetY||0,l=t.position||"right";a(s)&&(s=e*je(s)),a(n)&&(n=i*je(n)),a(r)&&(r=e*je(r)),a(o)&&(o=i*je(o)),this.$refs.drawer.style.width="".concat(s,"px"),this.$refs.drawer.style.height="".concat(n,"px");var d=0,u=0,h="";"right"==l?d=e:"rightInside"==l?(d=e-s,h="-15px 0 16px -14px rgba(0,0,0,0.08)"):"center"==l&&(d=e/2-s/2,u=i/2-n/2,h="0 0 20px rgba(0,0,0,0.08)"),d+=r,u+=o+-1,this.$refs.drawer.style.top="".concat(u,"px"),this.$refs.drawer.style.left="".concat(d,"px"),this.$refs.drawer.style.boxShadow=h,this.drawerVisible=!0},closeDrawer:function(){this.drawerVisible=!1},setAtUserList:function(t,e){this.$refs.editor.chatArea.updateConfig({userList:t,needCallEvery:e})},setUserTag:function(t){this.$refs.editor.chatArea.setUserTag(t),this.$refs.editor._checkSubmitDisabled()}}},Fe=Be,$e=(i("b25a"),v(Fe,Le,Ue,!1,null,null,null)),He=$e.exports,Ve=(i("6a2b"),"1.4.2"),Ge=[He,pt,Dt,Mt,Q,V,B,C,D,Bt,Qt,ee,ue,ge],Ke=function(t){t.directive("LemonContextmenu",M),Ge.forEach((function(e){t.component(e.name,e)}))};"undefined"!==typeof window&&window.Vue&&Ke(window.Vue);var ze={version:Ve,install:Ke};e["default"]=ze},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})}))},8138:function(t,e,i){"use strict";var s=i(3032),n=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},a=[],r=(i(7658),i(4462)),o=i.n(r),c={name:"App",data(){return{msg:"Welcome to Your Vue.js App"}},created(){let t=o().get("UserInfo"),e=o().get("globalConfig");e&&(document.title=e.sysInfo.name,this.$store.commit("setGlobalConfig",e)),t&&this.$store.commit("SET_USERINFO",t),this.$store.dispatch("getSystemInfo").then((t=>{0!=t.data.sysInfo.state||this.$router.push({path:"/404",query:{msg:t.data.sysInfo.closeTips}})}))},watch:{"$store.state.globalConfig"(t){document.title=t.sysInfo.name}}},l=c,d=i(1001),u=(0,d.Z)(l,n,a,!1,null,null,null),h=u.exports,p=i(8499),m=i.n(p),g=function(){var t=this,e=t._self._c;return e("div",{staticClass:"user-card-box"},[e("el-container",{directives:[{name:"outside",rawName:"v-outside",value:t.closeDialog,expression:"closeDialog"}],staticClass:"container"},[e("el-header",{staticClass:"no-padding header",attrs:{height:"180px"}},[e("i",{staticClass:"close el-icon-error cur-handle",on:{click:t.closeDialog}}),e("div",{staticClass:"img-banner"}),e("div",{staticClass:"user-header"},[e("div",{staticClass:"avatar"},[e("div",{staticClass:"avatar-box"},[e("img",{attrs:{src:t.detail.avatar}})])]),e("div",{staticClass:"username"},[e("i",{staticClass:"iconfont icon-qianming"}),e("span",[t._v(t._s(t.detail.realname||"未设置昵称"))])])])]),e("el-main",{staticClass:"no-padding main"},[e("div",{staticClass:"user-sign"},[e("div",{staticClass:"sign-arrow"}),e("i",{staticClass:"iconfont icon-bianji"}),e("span",[t._v(t._s(t.detail.motto||"这家伙有点懒,什么都没留下!")+" ")])]),e("div",{staticClass:"card-rows no-select"},[e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v("账号")]),e("div",[t._v(t._s(t.detail.account))])]),e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v(t._s(2==t.globalConfig.sysInfo.runMode?"昵称":"姓名"))]),e("div",[t._v(t._s(t.detail.realname))])]),t.detail.friend&&2==t.globalConfig.sysInfo.runMode?e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v("备注")]),e("div",[t._v(t._s(t.detail.friend.nickname||"未设置")+" "),e("i",{staticClass:"el-icon-edit ml-10",attrs:{title:"设置备注"},on:{click:t.setNickname}})])]):t._e(),e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v("性别")]),e("div",[t._v(t._s(t._f("sex")(t.detail.sex)))])]),e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v("邮箱")]),e("div",[t._v(t._s(t.detail.email||"未设置"))])]),parseInt(t.globalConfig.sysInfo.ipregion)&&t.isFriend?e("div",{staticClass:"card-row"},[e("div",{staticClass:"label"},[t._v("IP")]),t.detail.last_login_ip?e("div",[t._v(t._s(t.detail.last_login_ip||"未知")+" ("+t._s(t.detail.location||"未知")+")")]):e("div",[t._v("未知")])]):t._e()])]),e("el-footer",{staticClass:"footer"},[t.isFriend?e("el-button",{staticStyle:{width:"150px"},attrs:{type:"primary",round:""},on:{click:function(e){return t.openChat()}}},[t._v("发消息")]):t._e(),2!=t.globalConfig.sysInfo.runMode||t.detail.friend||t.user_id==t.userInfo.user_id?t._e():e("el-button",{staticStyle:{width:"150px"},attrs:{type:"primary",round:""},on:{click:function(e){return t.addFriend()}}},[t._v("加好友")]),t.options.isManage?e("el-button",{staticStyle:{width:"150px"},attrs:{round:""},on:{click:t.editUser}},[t._v("编辑资料")]):t._e()],1)],1)],1)},f=[],v=i(3822),b={name:"UserCard",props:{user_id:{type:[Number,String],default:0},options:{type:Object,default:()=>({isManage:!1})}},computed:{...(0,v.rn)({userInfo:t=>t.userInfo,globalConfig:t=>t.globalConfig}),isFriend(){return this.userInfo.user_id!=this.detail.user_id&&(this.detail.friend||1==this.globalConfig.sysInfo.runMode)}},filters:{sex(t){let e=["女","男","未知"];return e[t]||"未知"}},data(){return{detail:{}}},mounted(){this.getUserDetal()},methods:{closeDialog(){this.$emit("close")},getUserDetal(){this.$api.imApi.getUserInfo({user_id:this.user_id}).then((t=>{0==t.code&&(this.detail=t.data)}))},openChat(){this.closeDialog(),this.$store.commit("openChat",this.detail.user_id)},editUser(){this.$emit("editUser",this.detail)},addFriend(){this.closeDialog(),this.$prompt("请填写验证信息,让朋友知道你!","添加好友",{confirmButtonText:"确定",cancelButtonText:"取消"}).then((({value:t})=>{if(!t)return this.$message.error("请输入验证信息"),!1;this.$api.friendApi.addFriend({user_id:this.detail.user_id,remark:t}).then((t=>{0==t.code&&this.$message.success("已发送好友申请")}))})).catch((t=>{this.$message({type:"warning",message:t})}))},setNickname(){let t=this.detail.friend.friend_id??"";if(!this.detail.friend)return this.$message.error("该用户不是您的好友"),!1;this.closeDialog();let e=this.detail.friend.nickname?this.detail.friend.nickname:this.detail.realname;this.$prompt("请填写备注信息","设置备注",{confirmButtonText:"确定",cancelButtonText:"取消",inputValue:e}).then((({value:e})=>{if(!e)return this.$message.error("请输入备注信息"),!1;this.$api.friendApi.setNickname({friend_id:t,nickname:e}).then((t=>{0==t.code&&(this.$message.success("设置成功"),this.detail.realname=e)}))})).catch((()=>{}))}}},y=b,C=(0,d.Z)(y,g,f,!1,null,"499318c8",null),x=C.exports,w={install(t){function e(e,i){let s=this;const n=new t({router:s.$router,store:s.$store,render(t){return t(x,{on:{close:()=>{n.$destroy(),document.body.removeChild(n.$el)},editUser:t=>{i.editDataCallbak&&i.editDataCallbak(t),n.$destroy(),document.body.removeChild(n.$el)}},props:{user_id:e,options:i}})}}).$mount();document.body.appendChild(n.$el)}t.prototype.$user=e}},k=function(){var t=this,e=t._self._c;return e("div",[e("transition",{attrs:{name:"fade-user"}},[e("div",{staticClass:"previewBox"},[e("el-button",{staticClass:"drawer-close",attrs:{type:"danger",icon:"el-icon-close",circle:""},on:{click:t.closeDrawer}}),e("iframe",{attrs:{src:t.url,frameborder:"0",width:"100%",height:"100%"}})],1)])],1)},I=[],A={name:"preview",props:{url:{type:String,default:""}},data(){return{}},methods:{closeDrawer(){this.$emit("close")}}},_=A,E=(0,d.Z)(_,k,I,!1,null,"022a2c23",null),S=E.exports,T={install(t){function e(e,i){let s=this;const n=new t({router:s.$router,store:s.$store,render(t){return t(S,{on:{close:()=>{n.$destroy(),document.body.removeChild(n.$el)}},props:{url:e,options:i}})}}).$mount();document.body.appendChild(n.$el)}t.prototype.$preview=e}},N=i(8824),M=i.n(N),L=i(2631),U=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-container"},[e("div",{staticClass:"im-title"},[e("div",{staticClass:"logo"},[e("el-image",{staticStyle:{width:"80px",height:"80px"},attrs:{src:t.$packageData.logo,fit:"cover"}})],1),e("div",{staticClass:"im-content"},[e("div",{staticClass:"im-name"},[e("div",{staticClass:"text f-36"},[t._v(t._s(t.$packageData.name))]),e("div",{staticClass:"version ml-5"},[e("el-tag",{attrs:{size:"mini",type:"primary",effect:"plain"}},[t._v("v"+t._s(t.$packageData.version))])],1)]),e("div",{staticClass:"im-des"},[t._v(t._s(t.$packageData.description))])])]),e("div",{staticClass:"code-url"},[e("div",{staticClass:"ml-15 mb-15"},[t._v(" 前端地址: "),e("a",{attrs:{href:t.$packageData.frontUrl,target:"_blank"}},[e("el-image",{attrs:{src:t.$packageData.frontUrl+"/badge/star.svg?theme=white",alt:"star"}})],1)]),e("div",{staticClass:"ml-15 mb-15"},[t._v(" 后端地址:"),e("a",{attrs:{href:t.$packageData.backstageUrl,target:"_blank"}},[e("el-image",{attrs:{src:t.$packageData.backstageUrl+"/badge/star.svg?theme=dark",alt:"star"}})],1)]),e("div",{staticClass:"ml-15 mb-15"},[e("el-button",{attrs:{type:"warning",plain:"",size:"mini",round:""}},[e("a",{attrs:{href:t.$packageData.qqGroupUrl,target:"_blank"}},[t._v("QQ交流群:336921267")])])],1)]),e("el-alert",{staticClass:"mt-15 mb-15",attrs:{"show-icon":"",closable:!1,title:"本项目为演示系统,请仔细阅读一下文档!进群请先Star项目。本项目是一款开源的即时通信demo(存在一定的BUG),主要用于学习交流,为大家提供即时通讯的开发思路。",type:"info"}}),e("el-alert",{staticClass:"mt-15 mb-15",attrs:{"show-icon":"",closable:!1,title:"该项目服务端和web端都属于全开源项目,仅用于个人学习,任何个人和单位不得对源码进行售卖;捐赠后获得的移动端源码也仅供学习使用,不可对源码进行二次售卖。",type:"warning"}}),e("el-alert",{staticClass:"mt-15 mb-15",attrs:{"show-icon":"",closable:!1,title:"免责声明:请勿将源码用于木马、病毒、色情、赌博、诈骗等违反国家法律法规行业,如有发现我会协助相关行政执法机关清查!",type:"error"}}),e("el-tabs",{staticClass:"mb-20",attrs:{type:"card"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"📘 程序介绍"}},[e("div",{staticClass:"tip"},t._l(t.introduce,(function(i,s){return e("p",{key:s,staticClass:"mb-5"},[e("i",{class:i.icon}),t._v(" "),e("span",{domProps:{innerHTML:t._s(i.text)}})])})),0)]),e("el-tab-pane",{attrs:{label:"🪄 支持功能"}},[e("div",{staticClass:"success"},t._l(t.$packageData.funcList,(function(i,s){return e("p",{key:s,staticClass:"mb-5"},[e("i",{class:i.icon}),t._v(" "),e("span",{domProps:{innerHTML:t._s(i.text)}})])})),0)]),e("el-tab-pane",{attrs:{label:"🛒 技术栈"}},[e("div",{staticClass:"info"},t._l(t.techStack,(function(i,s){return e("p",{key:s,staticClass:"mb-5"},[e("i",{class:i.icon}),t._v(" "),e("span",{domProps:{innerHTML:t._s(i.text)}})])})),0)])],1),t._m(0),e("div",{staticClass:"demo-btn"},[e("div",{staticClass:"flex-box-center mb-15",on:{click:function(e){return t.showMessageBox()}}},[e("el-badge",{staticClass:"item",attrs:{value:t.unread,max:99,hidden:!t.unread}},[e("el-button",[t._v("窗口模式")])],1)],1),e("div",{staticClass:"mb-15 mr-15",on:{click:function(e){return t.$router.push({path:"/chat"})}}},[e("el-button",[t._v("纯享模式")])],1),e("div",{staticClass:"mb-15 mr-15",on:{click:function(e){return t.$router.push({path:"/manage/index"})}}},[e("el-button",[t._v("管理后台")])],1),e("div",{staticClass:"mb-15 mr-15"},[e("el-tooltip",{attrs:{placement:"right-start",effect:"light"}},[e("div",{attrs:{slot:"content"},slot:"content"},[e("el-image",{staticStyle:{width:"200px"},attrs:{src:"/assets/img/h5.png"}})],1),e("el-button",[e("a",{attrs:{href:t.$packageData.mobileUrl,target:"_blank"}},[t._v("H5体验")])])],1)],1),e("div",{staticClass:"mb-15"},[e("el-button",{on:{click:t.downApp}},[e("a",{attrs:{target:"_blank"}},[t._v("客户端下载")])])],1)]),e("div",{staticClass:"contact-main"},[t._m(1),t._l(t.allContacts,(function(i){return 0==i.is_group&&i.id<6?e("div",{key:i.id,staticClass:"contact-box"},[e("div",{staticClass:"contact-item"},[e("el-avatar",{attrs:{src:i.avatar}}),e("span",[t._v(t._s(i.realname))]),e("div",[e("el-button",{attrs:{plain:"",size:"mini",round:""},on:{click:function(e){return t.$store.commit("openChat",i.id)}}},[t._v("发消息")])],1)],1)]):t._e()}))],2),e("div",{staticClass:"tip mb-20 mt-10"},[t._m(2),t._m(3),e("p",[t._v("1. 服务端协助部署:仅提供服务端远程 [todesk] 技术指导,需要提供纯净的centOS服务器一台。")]),t._m(4),e("p",[t._v("3. 桌面端源码【付费获取】:使用vue+electron前端技术打包,和web端功能一样,支持后台运行和消息通知。")]),e("p",[t._v("4. webRTC中继服务器:原则上参考底部的教程链接来自行安装,确需服务,也可联系作者协助。")]),e("p",[t._v("5. 技术指导服务:包含远程指导,代码解析,开发思路等,付费之日起一个月内有效。")]),e("p",[t._v("6. 团队安心包:包含上述前4项服务,根据需求选择,以及安卓APP和H5打包(需要提供Dcloud账号【打包】、服务器、域名、证书等,APP还需要提供应用名称和图标)")]),e("p",[t._v("7、其他未列出的服务,请进群咨询作者!作者8年phper,前端水平一般,不接外包和二开!当然除非你要的东西非常简单。")]),e("el-link",{staticClass:"mt-10 mb-10",attrs:{type:"primary",href:t.$packageData.qqGroupUrl,target:"_blank"}},[t._v("有技术问题需要交流或者购买移动端的可以【戳我】加入交流群。"),e("b",{staticClass:"c-red"},[t._v("加群前请先点star,否则不予通过,长时间不活跃的将被定期清理")])])],1),t._m(5),e("div",{staticClass:"other-pro"},[e("h2",[t._v("其他项目")]),e("br"),e("div",{staticClass:"mb-15"},[e("el-link",{attrs:{type:"primary",href:"https://gitee.com/raingad/j-preview"}},[t._v("纯JS文件预览插件")])],1)]),e("div",{staticClass:"other-pro"},[e("h2",[t._v("其他资料")]),e("br"),e("div",{staticClass:"mb-15"},[e("el-link",{attrs:{type:"primary",href:"https://lemon.raingad.com"}},[t._v("Lemon-IMUI使用文档")])],1),e("div",{staticClass:"mb-15"},[e("el-link",{attrs:{type:"primary",href:"https://www.npmjs.com/package/chatarea"}},[t._v("聊天输入框插件【chatarea】")])],1),e("div",{staticClass:"mb-15"},[e("el-link",{attrs:{type:"primary",href:"https://blog.csdn.net/ruiye99/article/details/130992960"}},[t._v("WebRTC 网络中继 Coturn 服务安装及部署")])],1)]),e("Message",{ref:"Message",attrs:{dialogTableVisible:t.dialogTableVisible},on:{"update:dialogTableVisible":function(e){t.dialogTableVisible=e},"update:dialog-table-visible":function(e){t.dialogTableVisible=e}}})],1)},O=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mb-15"},[e("b",{staticStyle:{"font-size":"20px"}},[t._v("功能演示")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("b",{staticStyle:{"font-size":"20px"}},[t._v("联系人")]),t._v("(仅展示部分用于演示)")])},function(){var t=this,e=t._self._c;return e("h3",{staticClass:"mb-5"},[e("b",[t._v("服务介绍")])])},function(){var t=this,e=t._self._c;return e("p",[t._v(" 详细的使用方法在源码中基本上都有备注,如果您觉得这个项目对您有帮助,欢迎star,如果有问题可以加QQ群交流,如果您有更好的建议,欢迎提出。"),e("b",[t._v(" 开源不易,如果需要以下功能,捐赠相应金额,作者可提供服务,进群后咨询作者!")])])},function(){var t=this,e=t._self._c;return e("p",[t._v("2. uniapp移动端源码【付费获取】(源码无加密,仅提供源码,"),e("b",[t._v("不提供专业指导和部署 ")]),t._v(")")])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"danger mb-20"},[e("h3",{staticClass:"mb-5"},[e("b",[t._v("注意事项")])]),e("p",{staticClass:"m-5"},[t._v(" 1、捐赠购买移动端或者桌面端赠送文档,包含:接口说明、安装教程、常见问题的解决方法等。"),e("br"),t._v(" 2、源码作者不保证无任何问题,可能存在兼容性问题或者一些小的BUG,需要自行优化升级,望悉知。"),e("br"),t._v(" 3、捐赠获得的源码仅供学习或二次开发使用,不可对源码进行二次售卖。"),e("br"),t._v(" 4、价格或服务内容可能会有变动,"),e("b",{staticClass:"c-red"},[t._v("随着功能的增加,价格会上涨")]),t._v(",以咨询作者时给的服务方案为准! ")])])}],D=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.dialogTableVisible,expression:"dialogTableVisible"}],staticClass:"messageBoxStyle"},[e("el-dialog",{attrs:{visible:t.dialogIsShow,modal:!1,"custom-class":"sideMenu-message","show-close":!1,width:"1000px","close-on-press-escape":!0},on:{"update:visible":function(e){t.dialogIsShow=e},close:t.closeDialog}},[e("rainagdIm",{on:{newChat:t.contactSync,close:t.closeDialog}})],1)],1)},P=[],j=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"chat-box"},[e("lemon-imui",{ref:"IMUI",staticStyle:{"min-height":"600px"},attrs:{user:t.user,width:t.curWidth,height:t.curHeight,contextmenu:t.contextmenu,"contact-contextmenu":t.contactContextmenu,theme:t.setting.theme,"hide-message-name":t.setting.hideMessageName,"hide-message-time":t.setting.hideMessageTime,avatarCricle:t.setting.avatarCricle,sendKey:t.setSendKey,wrapKey:t.wrapKey,latelyContacts:t.latelyContact},on:{"is-bottom":t.eventBottom,"menu-avatar-click":t.openSetting,"change-contact":t.handleChangeContact,"pull-messages":t.handlePullMessages,"message-click":t.handleMessageClick,send:t.handleSend},scopedSlots:t._u([{key:"cover",fn:function(){return[e("div",[e("div",{staticClass:"cover"},[e("i",{staticClass:"lemon-icon-message"}),e("p",[e("b",[t._v(t._s(t.globalConfig.sysInfo.name??""))])])])])]},proxy:!0},{key:"sidebar-message",fn:function(i){return[e("div",{staticClass:"lemon-contact-item",class:1==i.is_top?"bg-gray":""},[e("el-badge",{staticClass:"lemon-badge lemon-contact__avatar",attrs:{value:i.unread,max:99,"is-dot":0==i.is_notice,hidden:i.unread<=0}},[e("span",{staticClass:"lemon-avatar",class:{"lemon-avatar--circle":t.setting.avatarCricle},staticStyle:{width:"40px",height:"40px","line-height":"40px","font-size":"20px"}},[e("img",{attrs:{src:i.avatar}})]),i.is_online&&0==i.is_group&&1==t.globalConfig.chatInfo.online?e("span",{staticClass:"online-status",attrs:{title:"在线"}}):t._e()]),e("div",{staticClass:"lemon-contact__inner"},[e("p",{staticClass:"lemon-contact__label"},[e("span",{staticClass:"lemon-contact__name"},[t._v(" "+t._s(i.displayName)+" ")]),e("span",{staticClass:"lemon-contact__time",domProps:{textContent:t._s(t.formatTime(i.lastSendTime))}})]),e("p",{staticClass:"lemon-contact__content lemon-last-content"},[e("span",{staticClass:"lastContent"},[i.is_at>0?e("span",{staticClass:"c-red"},[t._v("[有"+t._s(i.is_at)+"人@我] ")]):t._e(),e("span",{domProps:{innerHTML:t._s(i.lastContent)}})]),0==i.is_notice?e("span",{staticClass:"el-icon-close-notification f-16"}):t._e()])])],1)]}},{key:"message-title",fn:function(i){return[e("div",{staticClass:"message-title-box"},[e("div",[0==t.isEdit?e("span",[1==t.is_group?e("span",{staticClass:"displayName",on:{click:function(e){t.isEdit=!0}}},[t._v(" "+t._s(i.displayName)),e("span",{staticClass:"mr-5"},[t._v("("+t._s(t.groupUserCount)+")")]),i.setting&&1==i.setting.nospeak?e("el-tag",{attrs:{size:"mini",type:"warning"}},[t._v("仅群管理员可发言")]):t._e(),i.setting&&2==i.setting.nospeak?e("el-tag",{attrs:{size:"mini",type:"danger"}},[t._v("全员禁言中")]):t._e()],1):t._e(),t.is_group>1?e("span",{staticClass:"displayName"},[2==t.is_group?e("el-tag",{attrs:{size:"mini"}},[t._v("BOT")]):t._e(),t._v(" "+t._s(i.displayName)+" ")],1):t._e(),0==t.is_group?e("span",{staticClass:"displayName"},[t.globalConfig.chatInfo.online?e("OnlineStatus",{attrs:{type:i.is_online?"success":"info",pulse:i.is_online}}):t._e(),t._v(" "+t._s(i.displayName))],1):t._e(),parseInt(t.globalConfig.sysInfo.ipregion)&&i.last_login_ip?e("span",{staticClass:"c-999 f-12 ml-5"},[t.globalConfig.chatInfo.online&&!i.is_online?e("span",[t._v("(离线)")]):t._e(),t._v(t._s(i.last_login_ip)+" "+t._s(i.location))]):t._e()]):t._e(),1==t.isEdit?e("input",{directives:[{name:"model",rawName:"v-model",value:t.displayName,expression:"displayName"}],staticClass:"editInput",domProps:{value:t.displayName},on:{blur:function(e){return t.saveGroupName(i)},input:function(e){e.target.composing||(t.displayName=e.target.value)}}}):t._e()]),e("div",{staticClass:"message-title-tools"},[t.globalConfig.chatInfo.webrtc?[!i.is_group&&parseInt(t.globalConfig.chatInfo.webrtc)?e("i",{staticClass:"el-icon-phone-outline ml-10",attrs:{title:"语音通话"},on:{click:function(e){return t.called(0)}}}):t._e(),!i.is_group&&parseInt(t.globalConfig.chatInfo.webrtc)?e("i",{staticClass:"el-icon-video-camera ml-10",attrs:{title:"视频通话"},on:{click:function(e){return t.called(1)}}}):t._e()]:t._e(),1==i.is_group?e("i",{staticClass:"iconfont icon-ico ml-10 f-22",attrs:{title:"群二维码"},on:{click:function(e){t.groupQrShow=!0}}}):t._e(),i.is_group?t._e():e("i",{staticClass:"el-icon-more ml-10",attrs:{title:"基本资料"},on:{click:function(e){return t.$user(i.id)}}}),i.is_group&&1==t.currentChat.role?e("i",{staticClass:"el-icon-more ml-10",attrs:{title:"群管理"},on:{click:function(e){return t.openGroupSetting(!1)}}}):t._e()],2)])]}},{key:"sidebar-message-fixedtop",fn:function(i){return[t.wsStatus?t._e():e("div",{staticClass:"lz-flex no-internet pd-10 mb-10 lz-space-between lz-align-items-center"},[e("div",{staticClass:"el-icon-info"}),e("div",[t._v("当前网络无法实时接收消息")]),e("div",{staticClass:"el-icon-refresh cur-handle",attrs:{title:"重新链接"},on:{click:t.reconnect}})]),e("div",{staticClass:"contact-fixedtop-box"},[e("el-input",{staticClass:"input-with-select",attrs:{placeholder:"搜索联系人","prefix-icon":"el-icon-search"},on:{blur:t.closeSearch,focus:function(e){t.searchResult=!0}},model:{value:t.keywords,callback:function(e){t.keywords=e},expression:"keywords"}}),2==t.globalConfig.sysInfo.runMode?e("div",{staticStyle:{"margin-left":"10px"}},[e("el-dropdown",{on:{command:t.handleCommand}},[e("el-button",{attrs:{icon:"el-icon-plus",circle:""}}),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{attrs:{command:"addFriend"}},[t._v("添加朋友")]),t.globalConfig.chatInfo.groupChat?e("el-dropdown-item",{attrs:{command:"addGroup"}},[t._v("创建群聊")]):t._e()],1)],1)],1):t._e(),1==t.globalConfig.sysInfo.runMode&&t.globalConfig.chatInfo.groupChat?e("div",{staticStyle:{"margin-left":"10px"}},[e("el-button",{attrs:{title:"创建群聊",icon:"el-icon-plus",circle:""},on:{click:t.openCreateGroup}})],1):t._e(),e("div",{directives:[{name:"show",rawName:"v-show",value:t.searchResult,expression:"searchResult"}],staticClass:"search-list"},[t._l(t.searchList,(function(s,n){return t.searchList.length>0?e("div",{key:n,staticClass:"search-list-item"},[e("lemon-contact",{attrs:{contact:s},on:{click:function(e){return t.openChat(s.id,i)}}})],1):t._e()})),0==t.searchList.length?e("div",{staticStyle:{margin:"20px"},attrs:{align:"center"}},[t._v(" 暂无 ")]):t._e()],2)],1),e("im-tab",{attrs:{values:t.tabList,height:40},on:{change:t.changeTab}})]}},{key:"sidebar-message-top",fn:function(i){return[t.chatTopList.length>0?e("div",{staticClass:"chat-top-list"},t._l(t.chatTopList,(function(s,n){return e("ChatTop",{key:n,attrs:{contact:s,avatarCricle:t.setting.avatarCricle,currentId:t.currentChat.id},nativeOn:{click:function(e){return t.openChat(s.id,i)}}})})),1):t._e()]}},{key:"sidebar-contact-fixedtop",fn:function(i){return[e("div",{staticStyle:{margin:"15px 10px"}},[t._v(" 联系人 ")])]}},{key:"message-side",fn:function(i){return[1==i.is_group?e("div",{staticClass:"slot-group-list lemon-wrapper",class:"blue"==t.setting.theme?"lemon-wrapper--theme-blue":""},[e("div",{staticClass:"group-side-box lemon-container"},[e("div",{staticClass:"group-notice"},[e("div",{staticClass:"group-side-title"},[e("h4",[t._v("群公告")]),e("div",[i.role<3||0==i.setting.manage?e("span",{staticClass:"el-icon-edit f-18 cur-handle",on:{click:function(e){t.noticeBox=!0}}}):t._e()])]),e("hr"),i.notice?e("div",{staticClass:"group-side-body",on:{click:t.openNotice}},[t._v(" "+t._s(i.notice)+" ")]):t._e(),i.notice?t._e():e("div",{staticClass:"group-side-body"},[t._v(" 暂无公告 ")])]),e("div",{staticClass:"group-user"},[e("div",{staticClass:"group-side-title"},[e("h4",[t._v("群成员")]),e("div",[i.role<3||1==i.setting.invite?e("span",{staticClass:"el-icon-circle-plus-outline f-18 cur-handle",on:{click:t.openAddGroupUser}}):t._e()])]),e("hr"),e("div",{staticClass:"group-user-body",style:[{height:"calc("+t.curHeight+" - 230px)",background:"blue"==t.setting.theme?"#ffffff":"#f4f4f4"}],attrs:{id:"group-user"}},[e("el-scrollbar",{staticStyle:{height:"100%"}},t._l(t.groupUser,(function(i,s){return e("lemon-contact",{directives:[{name:"lemon-contextmenu",rawName:"v-lemon-contextmenu.contact",value:t.groupMenu,expression:"groupMenu",modifiers:{contact:!0}}],key:s,staticClass:"user-list",attrs:{contact:i}},[e("div",{staticClass:"user-avatar"},[e("el-avatar",{attrs:{size:20,src:i.userInfo.avatar}})],1),e("div",{staticClass:"user-name"},[i.userInfo.id==t.user.id?e("span",{staticClass:"fc-danger"},[t._v(t._s(i.userInfo.displayName)+"(我)")]):t._e(),i.userInfo.id!=t.user.id?e("span",[t._v(t._s(i.userInfo.displayName))]):t._e(),e("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"已禁言至:"+t.noSpeakExp(i.no_speak_time),placement:"top"}},[t.noSpeakExp(i.no_speak_time)?e("span",{staticClass:"c-red ml-5 el-icon el-icon-turn-off-microphone"}):t._e()])],1),e("div",{staticClass:"user-role"},[1==i.role?e("el-tag",{attrs:{type:"danger",size:"mini"}},[t._v("群主")]):t._e(),2==i.role?e("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("管理员")]):t._e()],1)])})),1)],1)])])]):t._e()]}},{key:"message-after",fn:function(i){return[i.fromUser.id==t.user.id&&0==i.is_group?e("span",{staticStyle:{visibility:"visible"}},[i.is_read||"succeed"!=i.status?t._e():e("span",[t._v(" 未读 ")]),i.is_read&&"succeed"==i.status?e("span",{staticClass:"fc-success"},[t._v(" 已读 ")]):t._e()]):t._e()]}},{key:"editor-footer",fn:function(){return[e("div",{staticClass:"lz-flex lz-space-between lz-align-items-center"},[t.currentChat.is_at?e("div",{staticClass:"at-item cur-handle mr-10",on:{click:function(e){return t.openMsgBox()}}},[t._v("有"+t._s(t.currentChat.is_at)+"人提到你")]):t._e(),t.quote?e("div",{staticClass:"message-quote cur-handle mr-10 lz-flex lz-space-between lz-align-items-center"},[e("div",{staticClass:"text-overflow"},[t._v(t._s(t.quote.content))]),e("div",{staticClass:"el-icon-close",on:{click:function(e){return t.closeQuote()}}})]):t._e(),e("div"),e("div",[t._v(t._s(1==t.setting.sendKey?"使用 Ctrl + Enter 换行":"使用 Ctrl + Enter 发送消息"))])])]},proxy:!0}])})],1),e("Group",{attrs:{visible:t.createChatBox,title:t.dialogTitle,isAdd:t.isAdd,userIds:t.userIds,groupId:t.group_id},on:{"update:visible":function(e){t.createChatBox=e},manageGroup:t.manageGroup}}),e("el-dialog",{attrs:{title:"发布公告",visible:t.noticeBox,modal:!0,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.noticeBox=e}}},[e("el-input",{attrs:{type:"textarea",rows:10,placeholder:"请输入内容"},model:{value:t.notice,callback:function(e){t.notice=e},expression:"notice"}}),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.noticeBox=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.publishNotice}},[t._v("确 定")])],1)],1),e("addFriend",{attrs:{visible:t.addFriendBox},on:{"update:visible":function(e){t.addFriendBox=e}}}),e("ChooseDialog",{attrs:{visible:t.forwardBox,title:"转发聊天",allUser:t.allUser},on:{"update:visible":function(e){t.forwardBox=e},selectChat:t.forwardUser}}),e("el-dialog",{attrs:{title:"消息管理器",visible:t.messageBox,modal:!0,width:"800px","append-to-body":""},on:{"update:visible":function(e){t.messageBox=e}}},[e("ChatRecord",{key:t.componentKey,attrs:{contact:t.currentChat,condition:t.ChatRecordMap}})],1),e("el-dialog",{attrs:{title:"群设置",visible:t.groupSetting,modal:!0,width:"500px","append-to-body":""},on:{"update:visible":function(e){t.groupSetting=e}}},[e("ChatSet",{key:t.componentKey,attrs:{contact:t.contactSetting},on:{changeOwner:t.changeOwner}})],1),e("el-dialog",{attrs:{title:"语音录制","custom-class":"no-padding",visible:t.VoiceStatus,modal:!0,width:"500px","append-to-body":"","destroy-on-close":""},on:{"update:visible":function(e){t.VoiceStatus=e}}},[e("voice-recorder",{on:{send:t.sendVoice}})],1),e("el-dialog",{attrs:{title:"设置禁言",width:"500px","append-to-body":"","destroy-on-close":"",visible:t.noSpeakBox},on:{"update:visible":function(e){t.noSpeakBox=e}}},[e("el-radio-group",{staticClass:"mb-20",attrs:{size:"small"},on:{change:function(e){t.noSpeakData.noSpeakDay=1}},model:{value:t.noSpeakData.noSpeakTimer,callback:function(e){t.$set(t.noSpeakData,"noSpeakTimer",e)},expression:"noSpeakData.noSpeakTimer"}},[e("el-radio",{attrs:{label:"1",border:""}},[t._v("10分钟")]),e("el-radio",{attrs:{label:"2",border:""}},[t._v("1小时")]),e("el-radio",{attrs:{label:"3",border:""}},[t._v("3小时")]),e("el-radio",{attrs:{label:"4",border:""}},[t._v("1天")])],1),e("div",[t._v(" 自定义"),e("el-input-number",{staticClass:"ml-10 mr-10",attrs:{min:1,max:365,label:"自定义"},on:{change:function(e){t.noSpeakData.noSpeakTimer=0}},model:{value:t.noSpeakData.noSpeakDay,callback:function(e){t.$set(t.noSpeakData,"noSpeakDay",e)},expression:"noSpeakData.noSpeakDay"}}),t._v(" 天 ")],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.noSpeakBox=!1}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.setNoSpeak()}}},[t._v("确 定")])],1)],1),e("group-qr",{attrs:{contact:t.currentChat,visible:t.groupQrShow},on:{"update:visible":function(e){t.groupQrShow=e}}}),e("Socket",{ref:"socket"}),e("webrtc",{key:t.componentKey,ref:"webrtc",attrs:{contact:t.currentChat,config:t.webrtcConfig,alias:t.$packageData.name,userInfo:t.user},on:{message:t.rtcMsg}})],1)},R=[];i(2801),i(3408),i(4590);const B=window.location.protocol+"//"+window.location.host+"/";var F=[{label:"表情",type:1,name:"emoji",icon:"cuIcon-emoji",children:[{name:"1f600",title:"emoji",src:B+"/static/img/emoji/twitter/1f600.png"},{name:"1f62c",title:"emoji",src:B+"/static/img/emoji/twitter/1f62c.png"},{name:"1f601",title:"emoji",src:B+"/static/img/emoji/twitter/1f601.png"},{name:"1f602",title:"emoji",src:B+"/static/img/emoji/twitter/1f602.png"},{name:"1f923",title:"emoji",src:B+"/static/img/emoji/twitter/1f923.png"},{name:"1f973",title:"emoji",src:B+"/static/img/emoji/twitter/1f973.png"},{name:"1f974",title:"emoji",src:B+"/static/img/emoji/twitter/1f974.png"},{name:"1f979",title:"emoji",src:B+"/static/img/emoji/twitter/1f979.png"},{name:"1f603",title:"emoji",src:B+"/static/img/emoji/twitter/1f603.png"},{name:"1f604",title:"emoji",src:B+"/static/img/emoji/twitter/1f604.png"},{name:"1f605",title:"emoji",src:B+"/static/img/emoji/twitter/1f605.png"},{name:"1f606",title:"emoji",src:B+"/static/img/emoji/twitter/1f606.png"},{name:"1f607",title:"emoji",src:B+"/static/img/emoji/twitter/1f607.png"},{name:"1f608",title:"emoji",src:B+"/static/img/emoji/twitter/1f608.png"},{name:"1f609",title:"emoji",src:B+"/static/img/emoji/twitter/1f609.png"},{name:"1f60a",title:"emoji",src:B+"/static/img/emoji/twitter/1f60a.png"},{name:"1f642",title:"emoji",src:B+"/static/img/emoji/twitter/1f642.png"},{name:"1f643",title:"emoji",src:B+"/static/img/emoji/twitter/1f643.png"},{name:"1263a",title:"emoji",src:B+"/static/img/emoji/twitter/263a.png"},{name:"1f60b",title:"emoji",src:B+"/static/img/emoji/twitter/1f60b.png"},{name:"1f60c",title:"emoji",src:B+"/static/img/emoji/twitter/1f60c.png"},{name:"1f60d",title:"emoji",src:B+"/static/img/emoji/twitter/1f60d.png"},{name:"1f970",title:"emoji",src:B+"/static/img/emoji/twitter/1f970.png"},{name:"1f618",title:"emoji",src:B+"/static/img/emoji/twitter/1f618.png"},{name:"1f617",title:"emoji",src:B+"/static/img/emoji/twitter/1f617.png"},{name:"1f619",title:"emoji",src:B+"/static/img/emoji/twitter/1f619.png"},{name:"1f61a",title:"emoji",src:B+"/static/img/emoji/twitter/1f61a.png"},{name:"1f61c",title:"emoji",src:B+"/static/img/emoji/twitter/1f61c.png"},{name:"1f92a",title:"emoji",src:B+"/static/img/emoji/twitter/1f92a.png"},{name:"1f928",title:"emoji",src:B+"/static/img/emoji/twitter/1f928.png"},{name:"1f9d0",title:"emoji",src:B+"/static/img/emoji/twitter/1f9d0.png"},{name:"1f61d",title:"emoji",src:B+"/static/img/emoji/twitter/1f61d.png"},{name:"1f61b",title:"emoji",src:B+"/static/img/emoji/twitter/1f61b.png"},{name:"1f911",title:"emoji",src:B+"/static/img/emoji/twitter/1f911.png"},{name:"1f913",title:"emoji",src:B+"/static/img/emoji/twitter/1f913.png"},{name:"1f60e",title:"emoji",src:B+"/static/img/emoji/twitter/1f60e.png"},{name:"1f929",title:"emoji",src:B+"/static/img/emoji/twitter/1f929.png"},{name:"1f921",title:"emoji",src:B+"/static/img/emoji/twitter/1f921.png"},{name:"1f920",title:"emoji",src:B+"/static/img/emoji/twitter/1f920.png"},{name:"1f917",title:"emoji",src:B+"/static/img/emoji/twitter/1f917.png"},{name:"1f60f",title:"emoji",src:B+"/static/img/emoji/twitter/1f60f.png"},{name:"1f636",title:"emoji",src:B+"/static/img/emoji/twitter/1f636.png"},{name:"1f610",title:"emoji",src:B+"/static/img/emoji/twitter/1f610.png"},{name:"1f611",title:"emoji",src:B+"/static/img/emoji/twitter/1f611.png"},{name:"1f612",title:"emoji",src:B+"/static/img/emoji/twitter/1f612.png"},{name:"1f644",title:"emoji",src:B+"/static/img/emoji/twitter/1f644.png"},{name:"1f914",title:"emoji",src:B+"/static/img/emoji/twitter/1f914.png"},{name:"1f925",title:"emoji",src:B+"/static/img/emoji/twitter/1f925.png"},{name:"1f927",title:"emoji",src:B+"/static/img/emoji/twitter/1f927.png"},{name:"1f928",title:"emoji",src:B+"/static/img/emoji/twitter/1f928.png"},{name:"1f929",title:"emoji",src:B+"/static/img/emoji/twitter/1f929.png"},{name:"1f92d",title:"emoji",src:B+"/static/img/emoji/twitter/1f92d.png"},{name:"1f92b",title:"emoji",src:B+"/static/img/emoji/twitter/1f92b.png"},{name:"1f92c",title:"emoji",src:B+"/static/img/emoji/twitter/1f92c.png"},{name:"1f92f",title:"emoji",src:B+"/static/img/emoji/twitter/1f92f.png"},{name:"1f633",title:"emoji",src:B+"/static/img/emoji/twitter/1f633.png"},{name:"1f61e",title:"emoji",src:B+"/static/img/emoji/twitter/1f61e.png"},{name:"1f61f",title:"emoji",src:B+"/static/img/emoji/twitter/1f61f.png"},{name:"1f620",title:"emoji",src:B+"/static/img/emoji/twitter/1f620.png"},{name:"1f621",title:"emoji",src:B+"/static/img/emoji/twitter/1f621.png"},{name:"1fae0",title:"emoji",src:B+"/static/img/emoji/twitter/1fae0.png"},{name:"1fae1",title:"emoji",src:B+"/static/img/emoji/twitter/1fae1.png"},{name:"1fae2",title:"emoji",src:B+"/static/img/emoji/twitter/1fae2.png"},{name:"1fae3",title:"emoji",src:B+"/static/img/emoji/twitter/1fae3.png"},{name:"1fae4",title:"emoji",src:B+"/static/img/emoji/twitter/1fae4.png"},{name:"1fae5",title:"emoji",src:B+"/static/img/emoji/twitter/1fae5.png"},{name:"1faf0",title:"emoji",src:B+"/static/img/emoji/twitter/1faf0.png"},{name:"2639",title:"emoji",src:B+"/static/img/emoji/twitter/2639.png"},{name:"263a",title:"emoji",src:B+"/static/img/emoji/twitter/263a.png"}]},{label:"收藏",type:2,name:"favor",icon:"cuIcon-favor",children:[{name:"1f62c",title:"emoji",src:B+"/static/img/emoji/twitter/1f62c.png"},{name:"1f621",title:"emoji",src:B+"/static/img/emoji/twitter/1f621.png"}]}],$=i(2325),H=function(){var t=this;t._self._c;return t._m(0)},V=[function(){var t=this,e=t._self._c;return e("div",[e("audio",{attrs:{id:"chatAudio"}},[e("source",{attrs:{src:i(1315),type:"audio/ogg"}}),e("source",{attrs:{src:i(444),type:"audio/mpeg"}}),e("source",{attrs:{src:i(8611),type:"audio/wav"}})])])}],G={name:"socket",data(){return{is_open_socket:!1,websocket:null,pingInterval:30,connectNum:1,manMade:!0,timeout:3e4,heartbeatInterval:null,reconnectTimeOut:null}},methods:{getWsUrl(){let t={NODE_ENV:"production",BASE_URL:""}.VUE_APP_BASE_API,e=window.location.protocol,i="ws://";t=window.location.host,"https:"==e&&(i="wss://");const s=i+t+"/wss";return s},initWebSocket(){const t=this.getWsUrl();this.websocket=new WebSocket(t),this.start(),this.is_open_socket=!0,this.websocket.onmessage=this.websocketOnMessage,this.websocket.onclose=this.websocketClose,s["default"].prototype.$websocket=this.websocket,this.$store.state.wsStatus=!0},websocketOnMessage(t){const e=JSON.parse(t.data);let i=o().get("UserInfo"),s=o().get("authToken");switch(e["type"]){case"ping":this.websocketSend({type:"pong"});break;case"init":o().set("client_id",e["client_id"]),this.$api.commonApi.bindClientIdAPI({client_id:e["client_id"],user_id:i.user_id}).then((t=>{this.websocketSend({type:"bindUid",user_id:i.user_id,token:s}),console.log(e["client_id"],"消息服务启动成功")})).catch((t=>{console.log("连接失败")}));break;default:this.$store.commit("catchSocketAction",e);break}},websocketClose(t){if(console.log("websocket连接关闭"),this.is_open_socket=!1,clearInterval(this.heartbeatInterval),clearInterval(this.reconnectTimeOut),this.connectNum<3)return this.manMade=!1,this.reconnect(),void(this.connectNum+=1);this.$store.state.wsStatus=!1,this.connectNum=1,this.websocket=null;let e=o().get("UserInfo");this.$api.commonApi.offlineAPI({user_id:e.user_id}).then((e=>{console.log("connection closed ("+t.code+")")}))},start(){this.heartbeatInterval=setInterval((()=>{this.websocketSend({type:"ping"})}),this.timeout)},websocketSend(t){var e=JSON.stringify(t);this.checkStatus&&this.websocket.send(e)},checkStatus(){return!(!this.websocket||[2,3].includes(this.websocket.readyState))||(console.log("未链接!"),!1)},close(){this.is_open_socket&&this.websocket.close()},reconnect(){console.log("正在重连..."),clearInterval(this.heartbeatInterval),this.is_open_socket||0!=this.manMade||(console.log("5秒后重新连接..."),this.reconnectTimeOut=setInterval((()=>{this.initWebSocket()}),5e3))},playAudio(){const t=document.getElementById("chatAudio");t.currentTime=0,t.play()}},created(){this.initWebSocket()}},K=G,z=(0,d.Z)(K,H,V,!1,null,null,null),Q=z.exports,Y=i(8100),J=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"group-item"},[e("div",{staticClass:"group-avatar"},[e("el-avatar",{attrs:{shape:"square",src:t.contact.avatar}})],1),e("div",{staticClass:"group-content"},[e("div",{staticClass:"group-title"},[t._v(t._s(t.contact.displayName)+" "),e("span",[t._v("("+t._s(t.groupInfo.groupUserCount)+")")])]),e("div",{staticClass:"group-user"},[t._v("群主:"+t._s(t.groupInfo.ownerName))])])]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("群管理:")]),e("div",{staticClass:"setting-option"},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:t.groupSetting},model:{value:t.setting.manage,callback:function(e){t.$set(t.setting,"manage",e)},expression:"setting.manage"}})],1),t._m(0)]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("群成员邀请:")]),e("div",{staticClass:"setting-option"},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:t.groupSetting},model:{value:t.setting.invite,callback:function(e){t.$set(t.setting,"invite",e)},expression:"setting.invite"}})],1),t._m(1)]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("群成员隐私:")]),e("div",{staticClass:"setting-option"},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:t.groupSetting},model:{value:t.setting.profile,callback:function(e){t.$set(t.setting,"profile",e)},expression:"setting.profile"}})],1),t._m(2)]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("群历史消息:")]),e("div",{staticClass:"setting-option"},[e("el-switch",{attrs:{"active-value":"1","inactive-value":"0"},on:{change:t.groupSetting},model:{value:t.setting.history,callback:function(e){t.$set(t.setting,"history",e)},expression:"setting.history"}})],1),t._m(3)]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("群禁言:")]),e("div",{staticClass:"setting-option"},[e("el-radio-group",{attrs:{size:"mini"},on:{change:t.groupSetting},model:{value:t.setting.nospeak,callback:function(e){t.$set(t.setting,"nospeak",e)},expression:"setting.nospeak"}},[e("el-radio-button",{attrs:{label:"0"}},[t._v("关闭")]),e("el-radio-button",{attrs:{label:"1"}},[t._v("仅管理员可发言")]),e("el-radio-button",{attrs:{label:"2"}},[t._v("仅群主可发言")])],1)],1)]),e("div",{staticClass:"setting-item"},[e("div",{staticClass:"setting-title"},[t._v("其他操作:")]),e("div",{staticClass:"setting-option"},[e("el-button",{attrs:{size:"mini"},on:{click:t.changeOwner}},[t._v("转让群主")]),e("el-button",{attrs:{size:"mini",type:"danger"},on:{click:t.clearMessage}},[t._v("清空聊天记录")])],1)])])},q=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-description"},[e("div",{staticClass:"des-title"},[t._v("仅群主和群管理员可以管理")]),e("div",{staticClass:"des-comment"},[t._v("启用后,其他成员不能修改群名称,编辑公告等")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-description"},[e("div",{staticClass:"des-title"},[t._v("允许群成员邀请")]),e("div",{staticClass:"des-comment"},[t._v("启用后,其他成员可以邀请其他人加入群聊")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-description"},[e("div",{staticClass:"des-title"},[t._v("允许添加群成员为好友")]),e("div",{staticClass:"des-comment"},[t._v("启用后,成员可以互相查看资料并添加为好友或发消息")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"setting-description"},[e("div",{staticClass:"des-title"},[t._v("允许成员查看历史消息")]),e("div",{staticClass:"des-comment"},[t._v("启用后,新入群的成员可以查看所有的历史记录")])])}],W={name:"chatSet",props:{contact:{type:Object,default:{}}},data(){return{setting:{},groupInfo:{}}},methods:{groupSetting(){this.$api.imApi.groupSettingAPI({id:this.contact.id,setting:this.setting})},changeOwner(){this.$emit("changeOwner",this.contact.id)},clearMessage(){this.$confirm("确定情况该群组的所有聊天记录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.imApi.clearMessageAPI({id:this.contact.id})})).catch((()=>{this.$message({type:"info",message:"已取消"})}))}},created(){this.$api.imApi.getGroupInfoAPI({group_id:this.contact.id}).then((t=>{var e=t.data;this.groupInfo=e,this.setting=e.setting}))}},Z=W,X=(0,d.Z)(Z,J,q,!1,null,"6abb37da",null),tt=X.exports,et=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chatTop"},[e("el-tooltip",{attrs:{content:t.contact.displayName,placement:"top-start",effect:"light"}},[e("div",{staticClass:"top-item",class:t.currentId==t.contact.id?"active":""},[e("div",{staticClass:"avatar"},[e("el-avatar",{attrs:{shape:t.avatarCricle?"circle":"square",size:"small",src:t.contact.avatar}})],1),e("div",{staticClass:"username"},[t._v(" "+t._s(t.contact.displayName)+" ")])])])],1)},it=[],st={name:"chatTop",props:{contact:{type:Object,default:{}},currentId:[String,Number],avatarCricle:{type:Boolean,default:!1}},data(){return{}},methods:{},created(){}},nt=st,at=(0,d.Z)(nt,et,it,!1,null,"069c0360",null),rt=at.exports,ot=function(){var t=this,e=t._self._c;return e("div",{staticClass:"lum-dialog-mask animated fadeIn"},[e("el-container",{staticClass:"lum-dialog-box"},[e("el-main",{staticClass:"no-padding mian"},[e("div",{staticClass:"music"},[e("span",{staticClass:"line line1",class:{"line-ani":t.animation}}),e("span",{staticClass:"line line2",class:{"line-ani":t.animation}}),e("span",{staticClass:"line line3",class:{"line-ani":t.animation}}),e("span",{staticClass:"line line4",class:{"line-ani":t.animation}}),e("span",{staticClass:"line line5",class:{"line-ani":t.animation}})]),e("div",{staticStyle:{"margin-top":"35px",color:"#676262","font-weight":"300"}},[0==t.recorderStatus?[e("p",{staticStyle:{"font-size":"13px","margin-top":"5px"}},[e("span",[t._v("语音消息,让聊天更简单方便 ...")])])]:1==t.recorderStatus||2==t.recorderStatus||3==t.recorderStatus?[e("p",[t._v(t._s(t.datetime))]),e("p",{staticStyle:{"font-size":"13px","margin-top":"5px"}},[1==t.recorderStatus?e("span",[t._v("正在录音...")]):2==t.recorderStatus?e("span",[t._v("已暂停录音")]):3==t.recorderStatus?e("span",[t._v("录音时长")]):t._e()])]:4==t.recorderStatus||5==t.recorderStatus||6==t.recorderStatus?[e("p",[t._v(t._s(t.formatPlayTime))]),e("p",{staticStyle:{"font-size":"13px","margin-top":"5px"}},[4==t.recorderStatus?e("span",[t._v("正在播放")]):5==t.recorderStatus?e("span",[t._v("已暂停播放")]):6==t.recorderStatus?e("span",[t._v("播放已结束")]):t._e()])]:t._e()],2)]),e("el-footer",{staticClass:"footer",attrs:{height:"60px"}},[e("el-button",{directives:[{name:"show",rawName:"v-show",value:0==t.recorderStatus,expression:"recorderStatus == 0"}],attrs:{type:"primary",size:"small",round:"",icon:"el-icon-microphone"},on:{click:t.startRecorder}},[t._v("开始录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:1==t.recorderStatus,expression:"recorderStatus == 1"}],attrs:{type:"warning",size:"small",round:"",icon:"el-icon-video-pause"},on:{click:t.pauseRecorder}},[t._v("暂停录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:2==t.recorderStatus,expression:"recorderStatus == 2"}],attrs:{type:"primary",size:"small",round:"",icon:"el-icon-microphone"},on:{click:t.resumeRecorder}},[t._v("继续录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:(2==t.recorderStatus||1==t.recorderStatus)&&t.duration>1,expression:"(recorderStatus == 2 || recorderStatus == 1) && duration>1"}],attrs:{type:"danger",size:"small",round:"",icon:"el-icon-microphone"},on:{click:t.stopRecorder}},[t._v("结束录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:3==t.recorderStatus||6==t.recorderStatus,expression:"recorderStatus == 3 || recorderStatus == 6"}],attrs:{type:"success",size:"small",round:"",icon:"el-icon-video-play"},on:{click:t.playRecorder}},[t._v("播放录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:3==t.recorderStatus||5==t.recorderStatus||6==t.recorderStatus,expression:"\n recorderStatus == 3 || recorderStatus == 5 || recorderStatus == 6\n "}],attrs:{type:"warning",size:"small",round:"",icon:"el-icon-refresh-right"},on:{click:t.startRecorder}},[t._v("重新录音 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:4==t.recorderStatus,expression:"recorderStatus == 4"}],attrs:{type:"info",size:"small",round:"",icon:"el-icon-video-pause"},on:{click:t.pausePlayRecorder}},[t._v("暂停播放 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:5==t.recorderStatus,expression:"recorderStatus == 5"}],attrs:{type:"success",size:"small",round:"",icon:"el-icon-video-play"},on:{click:t.resumePlayRecorder}},[t._v("继续播放 ")]),e("el-button",{directives:[{name:"show",rawName:"v-show",value:3==t.recorderStatus||5==t.recorderStatus||6==t.recorderStatus,expression:"\n recorderStatus == 3 || recorderStatus == 5 || recorderStatus == 6\n "}],attrs:{type:"primary",size:"small",round:""},on:{click:t.submit}},[t._v("立即发送 ")])],1)],1)],1)},ct=[],lt=i(7362),dt=i.n(lt),ut={name:"voiceRecorder",data(){return{recorder:null,duration:0,playTime:0,animation:!1,recorderStatus:0,playTimeout:null}},computed:{datetime(){let t=parseInt(this.duration/60/60%24),e=parseInt(this.duration/60%60),i=parseInt(this.duration%60);return t<10&&(t=`0${t}`),e<10&&(e=`0${e}`),i<10&&(i=`0${i}`),`${t}:${e}:${i}`},formatPlayTime(){let t=parseInt(this.playTime/60/60%24),e=parseInt(this.playTime/60%60),i=parseInt(this.playTime%60);return t<10&&(t=`0${t}`),e<10&&(e=`0${e}`),i<10&&(i=`0${i}`),`${t}:${e}:${i}`}},destroyed(){this.recorder&&this.destroyRecorder()},methods:{closeBox(){null!=this.recorder?(1==this.recorderStatus?this.stopRecorder():4==this.recorderStatus&&this.pausePlayRecorder(),this.destroyRecorder((()=>{this.$emit("close",!1)}))):this.$emit("close",!1)},startRecorder(){let t=this;this.recorder=new(dt()),this.recorder.onprocess=e=>{e=parseInt(e),t.duration=e},this.recorder.start().then((()=>{this.recorderStatus=1,this.animation=!0}),(t=>{console.log(`${t.name} : ${t.message}`)}))},pauseRecorder(){this.recorder.pause(),this.recorderStatus=2,this.animation=!1},resumeRecorder(){this.recorderStatus=1,this.recorder.resume(),this.animation=!0},stopRecorder(){this.recorderStatus=3,this.recorder.stop(),this.animation=!1},playRecorder(){this.recorderStatus=4,this.recorder.play(),this.playTimeouts(),this.animation=!0},pausePlayRecorder(){this.recorderStatus=5,this.recorder.pausePlay(),clearInterval(this.playTimeout),this.animation=!1},resumePlayRecorder(){this.recorderStatus=4,this.recorder.resumePlay(),this.playTimeouts(),this.animation=!0},destroyRecorder(t){this.recorder.destroy().then((()=>{this.recorder=null,t&&t()}))},recorderSize(){return this.recorder.fileSize},playTimeouts(){this.playTimeout=setInterval((()=>{let t=parseInt(this.recorder.getPlayTime());this.playTime=t,t==this.duration&&(clearInterval(this.playTimeout),this.animation=!1,this.recorderStatus=6)}),100)},submit(){let t=this.recorder.getWAVBlob(),e=new File([t],"在线录音.wav",{type:t.type,lastModified:Date.now()});this.$emit("send",this.duration,e)}}},ht=ut,pt=(0,d.Z)(ht,ot,ct,!1,null,"dcd1bb58",null),mt=pt.exports,gt=i(284),ft=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:"群二维码分享",visible:t.visible,modal:!0,width:"340px","append-to-body":""},on:{close:t.closeDialog}},[e("el-image",{staticStyle:{width:"300px",height:"432px"},attrs:{src:t.image}},[e("div",{staticClass:"image-slot",attrs:{slot:"error"},slot:"error"},[e("i",{staticClass:"el-icon-picture-outline f-20"}),e("p",{staticClass:"ml-10 f-18"},[t._v("二维码生成中...")])])]),e("div",{staticClass:"mt-20",attrs:{align:"center"}},[e("el-button",{on:{click:t.saveBase64Image}},[t._v("保存到电脑")])],1),e("vue-canvas-poster",{staticStyle:{display:"none"},attrs:{widthPixels:1e3,painting:t.painting},on:{success:t.success,fail:t.fail}})],1)},vt=[],bt=i(2484),yt={components:{VueCanvasPoster:bt.VueCanvasPoster},props:{contact:{type:Object,default:()=>({})},visible:{type:Boolean,default:!1}},data(){return{painting:{width:"500px",height:"720px",background:"#ffffff",views:[]},image:""}},watch:{visible(t){t&&this.getGroupUserInfo()}},methods:{success(t){this.image=t},fail(t){},closeDialog(){this.$emit("update:visible",!1),this.image=""},saveBase64Image(){var t=document.createElement("a");t.href=this.image,t.download=this.contact.displayName+".png",t.click()},getGroupUserInfo(){this.$api.imApi.getGroupInfoAPI({group_id:this.contact.id}).then((t=>{var e=t.data;this.painting.views=[{type:"image",url:e.avatar,css:{top:"40px",left:"200px",borderRadius:"8px",width:"100px",height:"100px"}},{type:"text",text:"群聊:"+e.name,css:{top:"160px",left:"50px",width:"400px",maxLines:1,fontSize:"30px",textAlign:"center",color:"#000000",fontWeight:"bloder"}},{type:"qrcode",content:e.qrUrl,css:{top:"240px",left:"70px",color:"#000",width:"360px",height:"360px"}},{type:"text",text:"该二维码7天内("+e.qrExpire+"前)有效",css:{top:"640px",left:"50px",width:"400px",maxLines:1,fontSize:"20px",textAlign:"center",color:"#999"}}]}))}}},Ct=yt,xt=(0,d.Z)(Ct,ft,vt,!1,null,null,null),wt=xt.exports,kt=i(6038),It=function(){var t=this,e=t._self._c;return e("el-container",[e("el-header",{staticClass:"slider-aside"},[e("el-tabs",{staticClass:"tab-diy",attrs:{"tab-position":"bottom"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"所有文件",name:"all"}}),e("el-tab-pane",{attrs:{label:"我发送的",name:"send"}}),e("el-tab-pane",{attrs:{label:"我收到的",name:"receive"}})],1)],1),e("el-main",{staticClass:"no-padding"},[e("fileItems",{ref:"fileItem"})],1)],1)},At=[],_t=i(4773),Et={name:"files",components:{fileItems:_t.Z},props:{title:{type:String,default:"创建群聊"}},data(){return{selectUid:[],allUser:[],activeName:"all"}},methods:{handleClick(t){"all"==t.name?this.$refs.fileItem.changeRole(0):"send"==t.name?this.$refs.fileItem.changeRole(1):"receive"==t.name&&this.$refs.fileItem.changeRole(2)}}},St=Et,Tt=(0,d.Z)(St,It,At,!1,null,"37188710",null),Nt=Tt.exports,Mt=function(){var t=this,e=t._self._c;return e("el-tabs",{staticStyle:{height:"100%"},attrs:{"tab-position":"left"}},[e("el-tab-pane",{staticClass:"pd-20",attrs:{label:"账号设置"}},[e("div",{staticClass:"user-center"},[e("div",{staticClass:"user-avatar"},[e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{multiple:!1,action:t.getUrl,"show-file-list":!1,data:{type:1},headers:t.getToken,"on-success":t.handleAvatarSuccess,"auto-upload":!1,"on-change":t.change,"before-upload":t.before,"http-request":t.request}},[e("el-image",{staticClass:"m-20",staticStyle:{width:"160px","border-radius":"8px",overflow:"hidden"},attrs:{src:t.user.avatar}}),e("el-button",{staticClass:"replace-picture-button mab-30",attrs:{size:"mini"}},[t._v("更换头像")])],1),e("el-dialog",{attrs:{title:"头像剪裁","close-on-click-modal":!1,visible:t.cropperDialogVisible,width:"580px","append-to-body":!0,"show-close":!0},on:{"update:visible":function(e){t.cropperDialogVisible=e},closed:function(e){return t.$refs.upload.clearFiles()}},scopedSlots:t._u([{key:"footer",fn:function(){return[e("el-button",{on:{click:function(e){t.cropperDialogVisible=!1,t.$refs.upload.clearFiles()}}},[t._v("取 消")]),e("el-button",{attrs:{type:"primary"},on:{click:t.cropperSave}},[t._v("确 定")])]},proxy:!0}])},[e("Cropper",{key:t.componentsKey,ref:"cropper",attrs:{src:t.cropperImg,compress:t.compress,aspectRatio:t.aspectRatio}})],1),e("div",{staticClass:"mt-20"},[e("el-button",{attrs:{type:"warning"},on:{click:function(e){return t.editInfo(1)}}},[t._v("修改密码")])],1)],1),e("div",{staticClass:"user-info"},[e("el-form",{ref:"userinfo",attrs:{model:t.user,"label-width":"100px"}},[e("el-form-item",{attrs:{label:"登陆账号",prop:"account"}},[t._v(" "+t._s(t.user.account)+" "),e("span",{staticClass:"fc-primary ml-10 cur-handle",on:{click:function(e){return t.editInfo(0)}}},[t._v("修改")])]),1==t.$store.state.globalConfig.sysInfo.runMode&&1!=t.$store.state.globalConfig.sysInfo.diyName?e("el-form-item",{attrs:{label:"姓名"}},[t._v(" "+t._s(t.user.realname)+" ")]):e("el-form-item",{attrs:{label:"昵称"}},[e("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入昵称",maxlength:"20"},model:{value:t.user.realname,callback:function(e){t.$set(t.user,"realname",e)},expression:"user.realname"}})],1),e("el-form-item",{attrs:{label:"e-mail"}},[e("el-input",{staticStyle:{width:"400px"},attrs:{placeholder:"请输入邮箱地址",maxlength:"120"},model:{value:t.user.email,callback:function(e){t.$set(t.user,"email",e)},expression:"user.email"}})],1),e("el-form-item",{attrs:{label:"性别"}},[e("el-radio-group",{model:{value:t.user.sex,callback:function(e){t.$set(t.user,"sex",e)},expression:"user.sex"}},[e("el-radio",{attrs:{label:2,border:""}},[t._v("未知")]),e("el-radio",{attrs:{label:1,border:""}},[t._v("男")]),e("el-radio",{attrs:{label:0,border:""}},[t._v("女")])],1)],1),e("el-form-item",{attrs:{label:"个性签名"}},[e("el-input",{staticStyle:{width:"400px"},attrs:{type:"textarea",rows:3,maxlength:"100","show-word-limit":""},model:{value:t.user.motto,callback:function(e){t.$set(t.user,"motto",e)},expression:"user.motto"}})],1),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.submitForm()}}},[t._v("保存")])],1)],1)],1)]),e("el-dialog",{attrs:{title:t.dialogTitle,visible:t.dialog,modal:!0,width:"400px","append-to-body":""},on:{"update:visible":function(e){t.dialog=e}}},[e("el-form",{attrs:{"label-width":"100px"}},[e("el-form-item",{attrs:{label:"当前账号"}},[t._v(" "+t._s(t.user.account)+" ")]),e("el-alert",{staticClass:"mb-20",attrs:{title:"验证账户的真实性,绑定后请使用新账户来重新登录!",type:"warning"}}),t.user.is_auth?e("el-form-item",{attrs:{label:"验证码"}},[e("el-input",{staticStyle:{width:"260px"},attrs:{placeholder:"请输入验证码",maxlength:"6"},model:{value:t.code,callback:function(e){t.code=e},expression:"code"}},[e("el-button",{attrs:{slot:"append",loading:t.loading},on:{click:function(e){return t.sendCode(!0)}},slot:"append"},[t._v("发送验证码")])],1)],1):t._e(),!t.editPass||t.globalConfig.sysInfo.regauth&&t.user.is_auth?t._e():e("el-form-item",{attrs:{label:"原密码"}},[e("el-input",{attrs:{"show-password":"",placeholder:"请输入原来的密码"},model:{value:t.originalPassword,callback:function(e){t.originalPassword=e},expression:"originalPassword"}})],1),t.editPass?t._e():e("el-form-item",{attrs:{label:"新账号"}},[e("el-input",{attrs:{placeholder:"请输入新的账号"},model:{value:t.account,callback:function(e){t.account=e},expression:"account"}})],1),t.editPass?t._e():e("el-form-item",{attrs:{label:"新账号验证码"}},[e("el-input",{staticStyle:{width:"260px"},attrs:{placeholder:"请输入新账号验证码",maxlength:"6"},model:{value:t.newCode,callback:function(e){t.newCode=e},expression:"newCode"}},[e("el-button",{attrs:{slot:"append",loading:t.loading},on:{click:function(e){return t.sendCode(!1)}},slot:"append"},[t._v("发送验证码")])],1)],1),t.editPass?e("el-form-item",{attrs:{label:"新密码"}},[e("el-input",{attrs:{"show-password":"",placeholder:"请输入密码"},model:{value:t.password,callback:function(e){t.password=e},expression:"password"}})],1):t._e(),t.editPass?e("el-form-item",{attrs:{label:"重复密码"}},[e("el-input",{attrs:{"show-password":"",placeholder:"请输入重复输入密码"},model:{value:t.repass,callback:function(e){t.repass=e},expression:"repass"}})],1):t._e(),e("el-form-item",[e("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.editPassword()}}},[t._v("保存")])],1)],1)],1),e("div",{staticClass:"mt-40",attrs:{align:"center"}},[e("el-button",{staticStyle:{width:"150px"},attrs:{type:"danger",plain:"",round:""},on:{click:t.logout}},[t._v("退出登录")])],1)],1),e("el-tab-pane",{staticClass:"pd-20",attrs:{label:"通用设置"}},[e("el-form",{ref:"form",attrs:{model:t.setting,"label-width":"100px"}},[e("el-form-item",{attrs:{label:"发送消息:"}},[e("el-radio-group",{model:{value:t.setting.sendKey,callback:function(e){t.$set(t.setting,"sendKey",e)},expression:"setting.sendKey"}},[e("el-radio-button",{attrs:{label:"1"}},[t._v("Enter")]),e("el-radio-button",{attrs:{label:"2"}},[t._v("Ctrl + Enter")])],1)],1),e("el-form-item",{attrs:{label:"系统主题:"}},[e("el-radio-group",{model:{value:t.setting.theme,callback:function(e){t.$set(t.setting,"theme",e)},expression:"setting.theme"}},[e("el-radio-button",{attrs:{label:"default"}}),e("el-radio-button",{attrs:{label:"blue"}})],1)],1)],1),e("div",{staticClass:"setting-switch"},[e("el-switch",{model:{value:t.setting.isVoice,callback:function(e){t.$set(t.setting,"isVoice",e)},expression:"setting.isVoice"}}),t._v(" 开启新消息声音提醒 ")],1),e("div",{staticClass:"setting-switch"},[e("el-switch",{model:{value:t.setting.avatarCricle,callback:function(e){t.$set(t.setting,"avatarCricle",e)},expression:"setting.avatarCricle"}}),t._v(" 开启聊天圆形头像(需要刷新) ")],1),e("div",{staticClass:"setting-switch"},[e("el-switch",{model:{value:t.setting.hideMessageName,callback:function(e){t.$set(t.setting,"hideMessageName",e)},expression:"setting.hideMessageName"}}),t._v(" 是否隐藏聊天窗口内的联系人名字 ")],1),e("div",{staticClass:"setting-switch"},[e("el-switch",{model:{value:t.setting.hideMessageTime,callback:function(e){t.$set(t.setting,"hideMessageTime",e)},expression:"setting.hideMessageTime"}}),t._v(" 是否隐藏聊天窗口内的消息发送时间 ")],1)],1),1==parseInt(t.globalConfig.demon_mode)?e("el-tab-pane",{staticClass:"pd-20",attrs:{label:"关于 IM"}},[e("div",{staticClass:"about-logo"},[e("el-avatar",{attrs:{src:t.$packageData.logo,size:50}}),e("br"),e("br"),e("p",[e("span",{staticClass:"fc-primary"},[t._v(" "+t._s(t.$packageData.name)+" ")]),t._v("for "+t._s(t.$packageData.version)+" ")])],1),e("div",{staticClass:"setting-version"},[e("b",[t._v(" 已经支持功能:")]),t._l(t.$packageData.funcList,(function(i){return e("p",{key:i.icon},[e("i",{class:i.icon}),t._v(" "+t._s(i.text))])}))],2)]):t._e(),1==parseInt(t.globalConfig.demon_mode)?e("el-tab-pane",{staticClass:"pd-20",attrs:{label:"开源"}},[e("div",{staticClass:"about-logo"},[e("el-avatar",{attrs:{src:t.$packageData.logo,size:50}}),e("br"),e("br"),e("p",[e("span",{staticClass:"fc-primary"},[t._v(" "+t._s(t.$packageData.name)+" ")]),t._v("for "+t._s(t.$packageData.version)+" ")])],1),e("div",{staticClass:"setting-version"},[e("p",[t._v(" 前端地址:"),e("a",{staticClass:"fc-primary",attrs:{href:t.$packageData.frontUrl,target:"_blank"}},[t._v("[链接] im-chat-front")])]),e("p",[t._v(" 后端地址:"),e("a",{staticClass:"fc-primary",attrs:{href:t.$packageData.backstageUrl,target:"_blank"}},[t._v("[链接] im-instant-chat")])])]),e("div",{staticClass:"setting-version",staticStyle:{color:"#a6a6a6"}},[e("p",[t._v("前端技术栈:vue+Lemon-IMUI+element-UI")]),e("p",[t._v("后端技术栈:thinkphp6+workerman")])]),e("div",{staticClass:"setting-version"},[e("p",[t._v(" QQ交流群: "),e("a",{staticClass:"fc-primary",attrs:{href:t.$packageData.qqGroupUrl,target:"_blank"}},[t._v("336921267")])])])]):t._e()],1)},Lt=[],Ut=function(){var t=this,e=t._self._c;return e("div",{staticClass:"sc-cropper"},[e("div",{staticClass:"sc-cropper__img"},[e("img",{ref:"img",attrs:{src:t.src}})]),e("div",{staticClass:"sc-cropper__preview"},[e("h4",[t._v("图像预览")]),e("div",{ref:"preview",staticClass:"sc-cropper__preview__img"})])])},Ot=[],Dt=i(255),Pt=i.n(Dt),jt={props:{src:{type:String,default:""},compress:{type:Number,default:1},aspectRatio:{type:Number,default:NaN}},data(){return{crop:null}},watch:{aspectRatio(t){this.crop.setAspectRatio(t)}},mounted(){this.init()},methods:{init(){this.crop=new(Pt())(this.$refs.img,{viewMode:2,dragMode:"move",responsive:!1,aspectRatio:this.aspectRatio,preview:this.$refs.preview})},setAspectRatio(t){this.crop.setAspectRatio(t)},getCropData(t,e="image/jpeg"){t(this.crop.getCroppedCanvas().toDataURL(e,this.compress))},getCropBlob(t,e="image/jpeg"){this.crop.getCroppedCanvas().toBlob((e=>{t(e)}),e,this.compress)},getCropFile(t,e="fileName.jpg",i="image/jpeg"){this.crop.getCroppedCanvas({width:240,height:240}).toBlob((s=>{let n=new File([s],e,{type:i});t(n)}),i,this.compress)}}},Rt=jt,Bt=(0,d.Z)(Rt,Ut,Ot,!1,null,"5f07d210",null),Ft=Bt.exports;o().get("UserInfo");var $t={name:"manageGroup",props:{},components:{Cropper:Ft},data(){return{componentsKey:1,maxSize:5,compress:1,aspectRatio:1,cropperDialogVisible:!1,cropper:!0,cropperImg:"",tempImg:"",dialogVisible:!1,dialog:!1,dialogTitle:"修改密码",editPass:1,originalPassword:"",account:"",password:"",repass:"",code:"",newCode:"",loading:!1}},computed:{...(0,v.rn)({setting:t=>t.setting,user:t=>t.userInfo,globalConfig:t=>t.globalConfig}),getUrl(){return window.BASE_URL+"/common/upload/uploadAvatar"},getToken(){const t=o().get("authToken");return{Authorization:t}}},watch:{setting:{handler(t,e){this.$api.imApi.settingAPI(t);let i=o().get("UserInfo");i.setting=t,o().set("UserInfo",i)},deep:!0},editPass(t){this.dialogTitle=1==t?"修改密码":"修改账号"}},methods:{logout(){this.$confirm("确定退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$store.dispatch("LogOut").then((()=>{this.$router.push("/login")}))})).catch((()=>{}))},submitForm(){if(""==this.user.realname)return this.$message.error("请输入昵称"),!1;let t={realname:this.user.realname,email:this.user.email,sex:this.user.sex,motto:this.user.motto};this.$api.imApi.updateUserInfo(t).then((t=>{if(0==t.code){this.$message.success("修改成功");let t=JSON.parse(JSON.stringify(this.user));this.$store.commit("SET_USERINFO",t)}}))},isImg(t){var e="(.jpg|.png|.gif|.jpeg)$",i=new RegExp(e);i.test(t.toLowerCase())?this.fileIsImg=!0:this.fileIsImg=!1},change(t){if(this.cropper&&"ready"==t.status){if(this.isImg(t.name),!this.fileIsImg)return this.$message.error("选择的文件非图像类文件"),!1;this.componentsKey++,this.cropperDialogVisible=!0,this.cropperImg=URL.createObjectURL(t.raw)}},before(t){t=this.cropper?this.cropperUploadFile:t;const e=t.size/1024/1024{this.cropperImg="",e.close(),this.handleAvatarSuccess(i),t.onSuccess(i)})).catch((i=>{e.close(),t.onError(i)}))},cropperSave(){var t=this.$refs.upload.uploadFiles[0].raw;this.$refs.cropper.getCropFile((t=>{this.cropperUploadFile=t,this.$refs.upload.submit(),this.cropperDialogVisible=!1}),t.name,t.type)},handleAvatarSuccess(t,e){let i=this.$store.state.userInfo;this.$set(i,"avatar",t.data),this.$store.commit("SET_USERINFO",i)},editInfo(t){this.dialog=!0,this.editPass=t},editPassword(){if(""==this.code&&this.user.is_auth)return this.$message({message:"请输入验证码",type:"warning"}),!1;if(this.editPass){if(""==this.password||this.password.length<6||this.password.length>16)return this.$message({message:"请输入6-16个字符串的密码",type:"warning"}),!1;if(this.password!=this.repass)return this.$message({message:"两次密码不一致",type:"warning"}),!1;if(!this.originalPassword)return this.$message({message:"请输入原密码",type:"warning"}),!1;let t={password:this.password,code:this.code,originalPassword:this.originalPassword};this.$api.imApi.editPassword(t).then((t=>{0==t.code&&(this.dialog=!1,this.password="",this.repass="",this.$message({message:t.msg,type:"success"}))}))}else{if(""==this.account)return this.$message({message:"请输入账号",type:"warning"}),!1;if(""==this.newCode)return this.$message({message:"请输入新账户验证码",type:"warning"}),!1;let t={account:this.account,code:this.code,newCode:this.newCode};this.$api.imApi.editAccount(t).then((t=>{0==t.code&&(this.dialog=!1,this.account="",this.code="",this.newCode="",this.$message({message:t.msg,type:"success"}),this.$store.dispatch("LogOut").then((()=>{this.$router.push("/login")})))}))}},sendCode(t){let e=t?this.user.account:this.account,i=this.editPass?3:4;if(""==e)return this.$message({message:"请输入新的账号",type:"warning"}),!1;this.loading=!0,this.$store.dispatch("sendCode",{type:i,account:e}).then((t=>{this.$message.success("发送成功"),this.loading=!1})).catch((()=>{this.loading=!1}))}}},Ht=$t,Vt=(0,d.Z)(Ht,Mt,Lt,!1,null,"05277269",null),Gt=Vt.exports,Kt=function(){var t=this,e=t._self._c;return e("el-dialog",{attrs:{title:"添加好友",visible:t.visible,modal:!0,width:t.width,"append-to-body":""},on:{close:t.closeDialog}},[e("div",{staticClass:"mb-20"},[e("el-input",{staticStyle:{width:"300px"},attrs:{placeholder:"请输入账号进行搜索","prefix-icon":"el-icon-search"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleChange.apply(null,arguments)}},model:{value:t.keywords,callback:function(e){t.keywords=e},expression:"keywords"}},[e("el-button",{attrs:{slot:"append",icon:"el-icon-search"},on:{click:t.handleChange},slot:"append"})],1)],1),e("div",{staticClass:"dialog-main"},[e("div",{staticClass:"member-list"},t._l(t.list,(function(i){return e("div",{key:i.user_id,staticClass:"member-item",on:{click:function(e){return t.$user(i.user_id)}}},[e("div",{staticClass:"member-avatar"},[e("img",{attrs:{src:i.avatar,alt:"avatar"}})]),e("div",{staticClass:"member-content"},[e("div",{staticClass:"member-header"},[e("span",{staticClass:"member-name"},[t._v(t._s(i.realname))]),e("span",{staticClass:"member-account"},[t._v(t._s(i.account))])]),e("div",{staticClass:"member-actions"},[e("el-button",{attrs:{type:"primary",size:"mini"}},[t._v("查看")])],1)])])})),0),0==t.list.length?e("el-empty"):t._e()],1)])},zt=[],Qt={name:"addFriend",props:{visible:{type:Boolean,default:!1},width:{type:String,default:"612px"}},data(){return{keywords:"",list:[]}},mounted(){},methods:{closeDialog(){this.$emit("update:visible",!1),this.selectUid=[]},handleChange(){this.keywords&&this.$api.imApi.searchUser({keywords:this.keywords}).then((t=>{this.list=t.data}))}}},Yt=Qt,Jt=(0,d.Z)(Yt,Kt,zt,!1,null,"18f3aea4",null),qt=Jt.exports,Wt=function(){var t=this,e=t._self._c;return e("span",{staticClass:"sc-state",class:[{"sc-status-processing":t.pulse},"sc-state-bg--"+t.type]})},Zt=[],Xt={props:{type:{type:String,default:"primary"},pulse:{type:[Boolean,Number],default:!0}}},te=Xt,ee=(0,d.Z)(te,Wt,Zt,!1,null,"bf2f9cfc",null),ie=ee.exports,se=function(){var t=this,e=t._self._c;return e("div",{staticClass:"tab-main lz-flex lz-justify-content-start lz-align-items-center",style:{height:t.height+"px"}},t._l(t.values,(function(i,s){return e("div",{staticClass:"tab-item",class:t.active==s?"active":"",style:{height:t.itemHeight+"px",borderRadius:t.itemHeight+"px",lineHeight:t.itemHeight+"px"},on:{click:function(e){return t.changeItem(i,s)}}},[t._v(" "+t._s(i.name)+" "),i.count>0?e("span",[t._v(t._s(i.count>99?"99+":i.count))]):t._e()])})),0)},ne=[],ae={name:"im-tab",components:{},props:{values:{type:Array,default:function(){return[]}},height:{type:Number,default:40}},data(){return{active:0,itemHeight:24}},created:function(){this.itemHeight=this.height-16},methods:{changeItem(t,e){this.active=e,this.$emit("change",t,e)}}},re=ae,oe=(0,d.Z)(re,se,ne,!1,null,"e57a8f0a",null),ce=oe.exports,le=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"show",rawName:"v-show",value:t.status,expression:"status"}],staticClass:"webrtc-box"},[t._m(0),t._m(1),e("video",{directives:[{name:"show",rawName:"v-show",value:t.localStream&&t.is_video,expression:"localStream && is_video"}],ref:"localvideo",staticClass:"localvideo",attrs:{autoplay:"",playsinline:"",muted:""},domProps:{muted:!0}}),e("video",{directives:[{name:"show",rawName:"v-show",value:t.remoteStream&&t.is_video,expression:"remoteStream && is_video"}],ref:"remotevideo",staticClass:"remotevideo",attrs:{autoplay:"",playsinline:""}}),e("div",[t.caller?e("div",{staticClass:"call-user"},[2==t.status&&t.is_video?t._e():e("img",{staticClass:"avatar",attrs:{src:t.caller.avatar,alt:""}}),e("div",{staticClass:"text"},[t.is_video||2!=t.status?t._e():e("b",[t._v(t._s(t.caller.displayName))]),2!=t.status?e("span",[t.isReceived?e("span",[t._v(" "+t._s(t.caller.displayName)+" 正在请求与您"+t._s(t.is_video?"视频":"语音")+"通话")]):e("span",[t._v("您正对 "),e("b",[t._v(t._s(t.caller.displayName))]),t._v(" 发起"+t._s(t.is_video?"视频":"语音")+"通话")])]):t._e()]),t.callTime&&2==t.status?e("div",{staticClass:"call-time"},[t._v(" "+t._s(t.setCallTime())+" ")]):t._e()]):t._e(),e("div",{staticClass:"calling-button"},[t.caller&&3==t.status?e("div",{staticClass:"button"},[e("img",{staticClass:"image",attrs:{src:i(8516)},on:{click:function(e){return t.answer()}}}),e("div",{staticClass:"text"},[t._v("接听")])]):t._e(),2==t.status?e("div",{staticClass:"button"},[e("img",{staticClass:"image-icon",attrs:{src:t.voiceStatus?t.voiceIcon:t.voiceOffIcon},on:{click:function(e){return t.switchVoice()}}})]):t._e(),t.caller&&0!=t.status?e("div",{staticClass:"button"},[e("img",{staticClass:"image",attrs:{src:i(8421)},on:{click:function(e){return t.hangup(!0)}}}),e("div",{staticClass:"text"},[t._v("挂断")])]):t._e(),2==t.status?e("div",{staticClass:"button"},[t.is_video?e("img",{staticClass:"image-icon",attrs:{src:t.videoStatus?t.videoIcon:t.videoOffIcon},on:{click:function(e){return t.switchVideo()}}}):e("div",{staticClass:"image-icon"})]):t._e()])])])},de=[function(){var t=this,e=t._self._c;return e("audio",{attrs:{id:"music1"}},[e("source",{attrs:{src:i(7420)}})])},function(){var t=this,e=t._self._c;return e("audio",{attrs:{id:"music2"}},[e("source",{attrs:{src:i(1739)}})])}],ue={name:"webrtc",props:{contact:{type:Object,default:{}},userInfo:{type:Object,default:{}},config:{type:Object,default:{}},alias:{type:String,default:"raingad"}},data(){return{voiceIcon:i(2942),voiceOffIcon:i(2414),videoIcon:i(9072),videoOffIcon:i(5617),pc:null,hasCamera:!1,status:0,localVideo:"",remoteVideo:"",remoteStream:null,localStream:null,caller:null,is_video:1,isReceived:!1,videoStatus:!0,voiceStatus:!0,cutdown:40,timer:null,offerParams:{},callTime:0,timerIntervalId:null}},mounted(){this.localVideo=this.$refs.localvideo,this.remoteVideo=this.$refs.remotevideo,this.checkForCamera()},methods:{initPeer(t){let e=this.config,i={iceServers:[{urls:["stun:stun.xten.com","stun:stun.l.google.com:19302","stun:stun1.l.google.com:19302","stun:stun2.l.google.com:19302","stun:stun3.l.google.com:19302","stun:stun4.l.google.com:19302"]},{urls:e.stun?[e.stun]:["stun:stun.callwithus.com"],username:e.stunUser??null,credential:e.stunPass??null}]};this.pc=new RTCPeerConnection(i),this.pc.ontrack=t=>{this.localVideo&&(this.remoteStream=t.streams[0],this.remoteVideo.srcObject=t.streams[0])},this.localStream=t,t.getTracks().forEach((e=>{this.pc.addTrack(e,t)})),this.localVideo.srcObject=this.localStream},checkForCamera(){navigator.mediaDevices.enumerateDevices().then((t=>{const e=t.filter((t=>"videoinput"===t.kind));this.hasCamera=e.length>0})).catch((t=>{console.error("设备检测错误: "+t.message)}))},initLocalStream(t,e){let i=0;this.hasCamera&&(i=1),this.offerParams=e?{offerToRecieveAudio:1,offerToRecieveVideo:1}:{offerToRecieveAudio:1,offerToRecieveVideo:0};let s=1==i;var n=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia;n({video:s,audio:{echoCancellation:!0}},(e=>{this.initPeer(e),t?(this.$emit("message",{event:"calling"}),this.status=1,this.timer=setInterval((()=>{this.cutdown--,0==this.cutdown&&this.hangup(!0)}),1e3)):(this.$emit("message",{event:"acceptRtc",code:904}),this.startTime())}),(t=>{let i=1==e?"摄像头":"麦克风";this.$message.error("请连接"+i+"设备,并开启"+i+"权限"),this.caller=null,this.hangup(!1)}))},called(t){if(console.log(this.status,this.caller),this.status||this.caller)return!1;this.is_video=t,this.caller=this.contact,this.initLocalStream(!0,t),this.playMusicCall("state")},answer(){this.status=2,this.initLocalStream(!1,this.is_video),this.playMusicCall("close")},startTime(){this.timerIntervalId=setInterval((()=>{this.callTime++}),1e3)},setCallTime(){let t=this.callTime;const e=Math.floor(t/3600),i=Math.floor((t-3600*e)/60),s=t-3600*e-60*i;return`${e.toString().padStart(2,"0")}:${i.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`},hangup(t){clearInterval(this.timer),clearInterval(this.timerIntervalId),2!=this.status&&this.playMusicCall("close");let e=902;2==this.status?e=906:3==this.status?e=903:4==this.status&&(e=907),this.status&&(this.status=0,this.closeLocalMedia(),this.remoteStream=null,this.playMusicHandup(),this.isReceived=!1,this.caller=null,this.voiceStatus=!0,this.videoStatus=!0),this.$emit("message",{event:"hangup",code:e,isbtn:t,callTime:this.callTime}),this.callTime=0},closeLocalMedia(){this.localStream&&this.localStream.getTracks()&&this.localStream.getTracks().forEach((t=>{t.stop()})),this.localStream=null},switchVoice(){if(null==this.localStream)return alert("请打开音视频"),!1;const t=this.localStream.getTracks();this.voiceStatus?(t.forEach((t=>{"audio"===t.kind&&(t.enabled=!1)})),this.voiceStatus=!1):(t.forEach((t=>{"audio"===t.kind&&(t.enabled=!0)})),this.voiceStatus=!0)},switchVideo(){if(null==this.localStream)return alert("请打开音视频"),!1;const t=this.localStream.getTracks();this.videoStatus?(t.forEach((t=>{"video"===t.kind&&(t.enabled=!1)})),this.videoStatus=!1):(t.forEach((t=>{"video"===t.kind&&(t.enabled=!0)})),this.videoStatus=!0)},webrtcAction(t){let e=t.extends;switch(e.event){case"calling":this.caller=t.fromUser,this.is_video=parseInt(e.type),this.status=3,this.isReceived=!0,this.playMusicCall("state");break;case"hangup":this.hangup(!1);break;case"busy":this.status=4,this.hangup(!1);break;case"acceptRtc":this.status=2,clearInterval(this.timer),this.startTime(),this.playMusicCall("close"),this.createOffer(),this.onicecandidate();break;case"turndown":break;case"answer":this.pc.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:e.sdp}));break;case"iceCandidate":setTimeout((()=>{"object"===typeof e.iceCandidate?this.pc.addIceCandidate(new RTCIceCandidate(e.iceCandidate)):this.pc.addIceCandidate(new RTCIceCandidate(JSON.parse(e.iceCandidate)))}),100);break;case"offer":this.pc.setRemoteDescription(new RTCSessionDescription({type:"offer",sdp:e.sdp})),this.createAnswer();break}},createOffer(){this.pc.createOffer(this.offerParams).then((t=>{this.pc.setLocalDescription(t),this.$emit("message",{event:"offer",sdp:t.sdp})}))},createAnswer(){this.pc.createAnswer(this.offerParams).then((t=>{this.pc.setLocalDescription(t),this.$emit("message",{event:"answer",sdp:t.sdp}),this.onicecandidate()}))},onicecandidate(){this.pc.onicecandidate=t=>{var e=t.candidate;e&&this.$emit("message",{event:"iceCandidate",iceCandidate:JSON.parse(JSON.stringify(e))})}},playMusicCall(t){var e=document.getElementById("music1");if("close"===t)return e.pause();e.loop="state"===t,e.paused?e.play():e.pause()},playMusicHandup(){var t=document.getElementById("music2");t.play()}}},he=ue,pe=(0,d.Z)(he,le,de,!1,null,"33f9f506",null),me=pe.exports,ge=function(){var t=this,e=t._self._c;return e("el-container",[e("el-header",{staticClass:"slider-aside"},[e("el-tabs",{staticClass:"tab-diy",attrs:{"tab-position":"bottom"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:"我收到的",name:"receive"}}),e("el-tab-pane",{attrs:{label:"我发送的",name:"send"}})],1)],1),e("el-main",{staticClass:"no-padding"},[e("div",{staticClass:"apply-list"},[e("div",{staticClass:"apply-list-main"},[e("el-scrollbar",[e("el-alert",{staticClass:"mt-10 mb-10",attrs:{"show-icon":"",title:"未处理的邀请消息会在每次初始化或者页面刷新时会重新提示!",type:"warning"}}),t._l(t.list,(function(i,s){return e("div",{key:s,staticClass:"apply-list-item"},[e("div",{staticClass:"avatar"},[t.params.is_mine?t._e():e("el-avatar",{attrs:{src:i.create_user_info.avatar}}),t.params.is_mine?e("el-avatar",{attrs:{src:i.user_id_info.avatar}}):t._e()],1),e("div",{staticClass:"main"},[t.params.is_mine?t._e():e("div",{on:{click:function(e){return t.$user(i.create_user_info.user_id)}}},[e("span",{staticClass:"fc-primary cur-handle"},[t._v(t._s(i.create_user_info.realname))]),t._v(" 申请添加为好友 "),1==i.status?e("el-tag",{attrs:{type:"success"}},[t._v("已同意")]):t._e()],1),t.params.is_mine?e("div",{on:{click:function(e){return t.$user(i.user_id_info.user_id)}}},[t._v(" 请求添加 "),e("span",{staticClass:"fc-primary cur-handle"},[t._v(t._s(i.user_id_info.realname))]),t._v(" 为好友 "),1==i.status?e("el-tag",{attrs:{type:"success"}},[t._v("已同意")]):t._e()],1):t._e(),e("div",{staticClass:"f-12 c-999"},[t._v(t._s(i.remark))])]),t.params.is_mine?e("div",{staticClass:"option"},[1==i.status?e("span",{staticClass:"fc-primary cur-handle",on:{click:function(e){return t.$store.commit("openChat",i.user_id_info.user_id)}}},[t._v("发消息")]):t._e(),2==i.status?e("el-tag",{attrs:{type:"warning"}},[t._v("待同意")]):t._e(),0==i.status?e("el-tag",{attrs:{type:"danger"}},[t._v("已拒绝")]):t._e()],1):e("div",{staticClass:"option"},[2==i.status?e("el-popconfirm",{attrs:{title:"您确定接受该好友的申请吗?"},on:{confirm:function(e){return t.acceptApply(i.friend_id,!0)}}},[e("el-button",{attrs:{slot:"reference",type:"success",circle:"",plain:"",icon:"el-icon-check"},slot:"reference"})],1):t._e(),2==i.status?e("el-popconfirm",{staticClass:"ml-15",attrs:{title:"您确定拒绝该好友的申请吗?"},on:{confirm:function(e){return t.acceptApply(i.friend_id,!1)}}},[e("el-button",{attrs:{slot:"reference",type:"danger",circle:"",plain:"",icon:"el-icon-close"},slot:"reference"})],1):t._e(),1==i.status?e("span",{staticClass:"fc-primary cur-handle",on:{click:function(e){return t.$store.commit("openChat",i.create_user_info.user_id)}}},[t._v("发消息")]):t._e(),0==i.status?e("el-tag",{attrs:{type:"danger"}},[t._v("已拒绝")]):t._e()],1)])})),0==t.list.length?e("div",[e("el-empty",{attrs:{description:"暂无数据"}})],1):t._e()],2)],1),t.singlePage?t._e():e("div",{staticClass:"apply-list-page",attrs:{align:"center"}},[e("el-pagination",{attrs:{background:"","hide-on-single-page":t.singlePage,"current-page":t.params.page,"page-sizes":[20,50,100,200,300,400,500],"page-size":t.params.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleChange,"current-change":t.getList,"update:currentPage":function(e){return t.$set(t.params,"page",e)},"update:current-page":function(e){return t.$set(t.params,"page",e)},"update:pageSize":function(e){return t.$set(t.params,"limit",e)},"update:page-size":function(e){return t.$set(t.params,"limit",e)}}})],1)])])],1)},fe=[],ve={name:"apply",data(){return{singlePage:!0,total:0,list:[],activeName:"receive",params:{page:1,limit:20,is_mine:0}}},mounted(){this.getList()},methods:{handleClick(t){"send"==t.name?this.params.is_mine=1:"receive"==t.name&&(this.params.is_mine=0),this.params.page=1,this.getList()},acceptApply(t,e){let i=e?1:0;this.$api.friendApi.acceptFriend({friend_id:t,status:i}).then((t=>{this.$message.success("操作成功"),this.getList()}))},getList(){this.$api.friendApi.getApplyList(this.params).then((t=>{this.list=t.data,this.total=t.count,this.singlePage=this.total<=this.params.limit}))},handleChange(t){this.params.limit=t,this.getList()}}},be=ve,ye=(0,d.Z)(be,ge,fe,!1,null,"5aced73a",null),Ce=ye.exports,xe=i.p+"assets/img/invite.108c2fc8.png",we=i(2176);const ke=()=>(new Date).getTime(),Ie=o().get("UserInfo");var Ae={name:"app",components:{Socket:Q,ChatRecord:Y.Z,ChatSet:tt,ChatTop:rt,VoiceRecorder:mt,webrtc:me,Group:gt.Z,groupQr:wt,Files:Nt,addFriend:qt,Setting:Gt,ChooseDialog:kt.Z,OnlineStatus:ie,imTab:ce,Apply:Ce},props:{width:{type:String,default:"1000px"},height:{type:String,default:"640px"},fullScreen:{type:Boolean,default:!1}},data(){const t=this.$createElement;var e=this;let i=this.$store.state.globalConfig.chatInfo;return{noSimpleTips:"群已开启禁言,无法发送消息",isFullscreen:!1,curWidth:this.width,curHeight:this.height,unread:0,atUnread:0,webrtcConfig:i,wsData:null,webrtcLock:!1,caller:"",is_video:1,curFile:null,componentKey:1,searchResult:!1,addFriendBox:!1,createChatBox:!1,forwardBox:!1,noticeBox:!1,messageBox:!1,webrtcBox:!1,groupSetting:!1,VoiceStatus:!1,groupQrShow:!1,ChatRecordMap:{},contactSetting:{},groupUserCount:0,dialogTitle:"创建群聊",isAdd:1,userIds:[],noSpeakData:{noSpeakTimer:0,noSpeakDay:1,user_id:0,id:0},curGroupUser:{},notice:"",searchList:[],keywords:"",displayName:"",oldName:"",isEdit:!1,isBottom:!0,user:{id:Ie.user_id,displayName:Ie.realname,avatar:Ie.avatar,account:Ie.account},params:{page:1,limit:10},is_group:0,group_id:"",contacts:[],allUser:[],groupUser:[],currentChat:{},currentMessage:{},lastMessages:[],chatTopList:[],playAudio:null,activeTab:0,tabList:[{name:"所有",count:0},{name:"未读",count:0},{name:"@我",count:0}],quote:"",noSpeakBox:!1,groupMenu:[{text:"发送消息",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;s.changeContact(n.user_id),i()},visible:t=>t.contact.user_id!=this.user.id&&1==this.globalConfig.sysInfo.runMode},{text:"@TA",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;s.setUserTag(n.userInfo),i()},visible:t=>t.contact.user_id!=this.user.id},{text:"设置管理员",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;i(),this.$confirm("确定设置该成员为管理员吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.imApi.setManagerAPI({id:this.group_id,user_id:n.user_id,role:2}),this.$message({type:"success",message:"设置成功!"})}))},visible:t=>3==t.contact.role&&this.currentChat.owner_id==this.user.id},{text:"取消管理员",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;i(),this.$confirm("确定取消该成员的管理员权限吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.imApi.setManagerAPI({id:this.group_id,user_id:n.user_id,role:3}),this.$message({type:"success",message:"取消成功!"})}))},visible:t=>2==t.contact.role&&this.currentChat.owner_id==this.user.id},{text:"设置禁言",click:(t,e,i)=>{this.noSpeakBox=!0;const{IMUI:s,contact:n}=e;this.noSpeakData.user_id=n.user_id,this.noSpeakData.id=this.group_id,i()},visible:t=>t.contact.user_id!=this.user.id&&t.contact.role>1&&this.currentChat.role<=2},{text:"查看资料",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;i();let a=this.getContact(n.user_id),r=s.getCurrentContact();1==r.setting.profile||r.role<3||a||n.user_id==this.user.id?this.$user(n.user_id):this.$message.error("已开启隐私,无法查看资料")},visible:t=>t.contact.user_id!=this.user.id},{text:"移出群聊",color:"red",click:(t,e,i)=>{const{IMUI:s,contact:n}=e;i(),this.$confirm("确定移除该成员吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.imApi.removeUserAPI({id:this.group_id,user_id:n.user_id})}))},visible:t=>t.contact.user_id!=this.user.id&&this.currentChat.owner_id!=t.contact.user_id&&this.currentChat.role<=2}],contactContextmenu:[{click(t,i,s){const{IMUI:n,contact:a}=i;e.$user(a.user_id),s()},icon:"el-icon-tickets",text:"查看资料",visible:t=>0==t.contact.is_group},{icon:"el-icon-upload2",text:"置顶聊天",click:(t,i,s)=>{const{IMUI:n,contact:a}=i;e.$api.imApi.setChatTopAPI({id:a.id,is_top:1,is_group:a.is_group}).then((t=>{0==t.code&&n.updateContact({id:a.id,is_top:1})})),s()},visible:t=>0==t.contact.is_top&&t.contact.is_group<2},{icon:"el-icon-download",text:"取消置顶",click:(t,i,s)=>{const{IMUI:n,contact:a}=i;e.$api.imApi.setChatTopAPI({id:a.id,is_top:0,is_group:a.is_group}).then((t=>{0==t.code&&n.updateContact({id:a.id,is_top:0})})),s()},visible:t=>1==t.contact.is_top&&t.contact.is_group<2},{click(t,i,s){const{IMUI:n,contact:a}=i;s(),e.$api.imApi.isNoticeAPI({id:a.id,is_notice:0,is_group:a.is_group}),n.updateContact({id:a.id,is_notice:0})},icon:"el-icon-bell",text:"消息免打扰",visible:t=>1==t.contact.is_notice&&t.contact.is_group<2},{click(t,i,s){const{IMUI:n,contact:a}=i;s(),e.$api.imApi.isNoticeAPI({id:a.id,is_notice:1,is_group:a.is_group}),n.updateContact({id:a.id,is_notice:1})},icon:"el-icon-close-notification",text:"取消免打扰",visible:t=>0==t.contact.is_notice&&t.contact.is_group<2},{click(t,i,s){const{IMUI:n,contact:a}=i;s(),e.$confirm("确定删除该好友吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{e.$api.friendApi.delFriend({id:a.id}).then((t=>{0==t.code&&(e.$message({type:"success",message:"删除成功!"}),e.removeContact(a.id))}))})).catch((()=>{}))},icon:"el-icon-delete",color:"red",text:"删除好友",visible:t=>2==e.globalConfig.sysInfo.runMode&&0==t.contact.is_group},{click(t,i,s){const{IMUI:n,contact:a}=i;s(),e.$confirm("确定解散该群聊吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{e.$api.imApi.removeGrouprAPI({id:a.id})})).catch((()=>{}))},icon:"el-icon-delete",color:"red",text:"解散群聊",visible:t=>t.contact.owner_id==e.user.id&&1==t.contact.is_group},{click(t,i,s){const{IMUI:n,contact:a}=i;s(),e.$confirm("确定退出该群聊吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{e.$api.imApi.removeUserAPI({id:a.id,user_id:e.user.id}).then((t=>{0==t.code&&(e.$message({type:"success",message:"退出成功!"}),e.removeContact(a.id))}))})).catch((()=>{}))},icon:"el-icon-remove-outline",color:"red",text:"退出群聊",visible:t=>t.contact.owner_id!=e.user.id&&1==t.contact.is_group}],contextmenu:[{click:(e,i,s)=>{const{IMUI:n}=i,a=JSON.parse(JSON.stringify(i.message));this.$api.imApi.undoMessageAPI({id:a.id}).then((e=>{const i={id:a.id,type:"event",content:t("div",[t("span",["你撤回了一条消息"," ",t("span",{directives:[{name:"show",value:"text"==a.type}],style:"color:#409EFF;cursor:pointer",attrs:{content:a.content,data:a.type},on:{click:t=>{n.setEditorValue(t.target.getAttribute("content"))}}},["重新编辑"])])]),toContactId:a.toContactId,sendTime:a.sendTime};n.updateMessage(i);const s=n.getMessages(a.toContactId);a.id==s[s.length-1].id&&n.updateContact({id:a.toContactId,lastContent:"你撤回了一条消息"})})).catch((t=>{this.$message.error("发生错误"+t)})),s()},visible:t=>{const{IMUI:e,message:i}=t;let s=3;if(1==t.message.is_group){let t=e.getCurrentContact();s=t.role}return t.message.fromUser.id==this.user.id&&ke()-t.message.sendTime<1e3*this.globalConfig.chatInfo.redoTime||s<3},text:"撤回消息"},{text:"@TA",click:(t,e,i)=>{const{IMUI:s,message:n}=e;s.setUserTag(n.fromUser),i()},visible:t=>t.message.fromUser.id!=this.user.id&&1==t.message.is_group},{text:"转发",click:(t,e,i)=>{this.currentMessage=e.message;const{IMUI:s}=this.$refs,n=s.getContacts(),a=s.getCurrentContact();this.allUser=$.L4(n,"id",a.id),i(),this.forwardBox=!0}},{text:"引用",click:(t,e,i)=>{let s=e.message,n=/<[^>]+>/g,a=s.content.replace(n,"");"text"!=s.type&&(a=$.nZ(s.type));let r={msg_id:s.msg_id,content:s.fromUser.displayName+":"+a,user_id:s.fromUser.id,realname:s.fromUser.displayName};if(this.quote=r,this.is_group&&r.user_id!=this.user.id){const{IMUI:t}=this.$refs;t.setUserTag(s.fromUser)}i()}},{visible:t=>"image"==t.message.type,text:"复制图片",click:async(t,e,i)=>{i();try{const{message:t}=e,i=await fetch(t.download),s=await i.blob(),n=new Blob([s],{type:"image/png"}),a=new ClipboardItem({"image/png":n});await navigator.clipboard.write([a]),this.$message({type:"success",message:"图片复制成功!"})}catch(s){this.$message.error("复制图片失败: "+s)}}},{visible:t=>"text"==t.message.type,text:"复制文字",click:(t,e,i)=>{this.$clipboard(e.message.content),this.$message({type:"success",message:"复制成功!"}),i()}},{visible:t=>"image"==t.message.type,text:"下载图片",click:(t,e,i)=>{const{message:s}=e;i(),s.download&&(window.location=s.download)}},{visible:t=>"file"==t.message.type,text:"下载文件",click:(t,e,i)=>{const{message:s}=e;window.open(s.download),i()}},{text:"删除消息",color:"red",click:(t,e,i)=>{const{IMUI:s,message:n}=e;this.$confirm("删除消息会从所有人的聊天记录中抹掉,是否确定?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$api.imApi.delMessageAPI({id:n.id}).then((t=>{0==t.code&&(this.$message({type:"success",message:"删除成功!"}),s.removeMessage(n.id))}))})).catch((()=>{this.$message({type:"info",message:"已取消"})})),i()},visible:t=>t.message.fromUser.id==this.user.id&&t.message.is_group<2&&this.globalConfig.chatInfo.dbDelMsg}]}},computed:{...(0,v.rn)({wsStatus:t=>t.wsStatus,socketAction:t=>t.socketAction,contactId:t=>t.toContactId,contactSync:t=>t.contactSync,setting:t=>t.setting,userInfo:t=>t.userInfo,globalConfig:t=>t.globalConfig}),formatTime(){return function(t){return $.i$(t)}}},watch:{isFullscreen(t){o().set("isFullscreen",t),this.curWidth=t?"100vw":this.width,this.curHeight=t?"100vh":this.height},playAudio(t){if(t&&this.currentMessage){let t=this.currentMessage;var e=this;const{IMUI:i}=this.$refs;this.playAudio.addEventListener("ended",(function(){console.log("声音停止"),e.playAudio=null,e.currentMessage=null,i.updateMessage({id:t.id,status:"successd",isPlay:0})}),!1)}},contactSync(t){this.$emit("newChat",t);const{IMUI:e}=this.$refs;e.changeContact(this.contactId)},unread(t){this.tabList[1].count=t,this.$store.commit("updateUnread",t)},atUnread(t){this.tabList[2].count=t},keywords(){const{IMUI:t}=this.$refs,e=t.getContacts();this.searchContact(e)},socketAction(t){const e=this.$createElement;let i=t.data;const{IMUI:s}=this.$refs;let n=o().get("client_id");switch(t.type){case"isOnline":s.updateContact({id:i.id,is_online:i.is_online}),i.is_online||this.webrtcLock!=i.id||(this.webrtcLock=!1);break;case"offline":if(this.globalConfig.sysInfo.multipleLogin)return;i.id!=this.user.id||i.client_id==n||i.isMobile||(this.$message.error="您的账号在其他地方登录,已被迫下线!",this.$store.dispatch("LogOut").then((()=>{this.$router.push({path:"/login"})})));break;case"simple":case"group":if(i.fromUser.id!=this.user.id){let t=this.getContact(i.toContactId,i);if(1==i.is_group&&i.toContactId!=this.currentChat.id){let e=0;i.at.includes(this.user.id)&&(e=1),this.$refs.IMUI.updateContact({id:i.toContactId,is_at:t.is_at+e}),this.atUnread+=e}this.setting.isVoice&&1==t.is_notice&&i.toContactId!=this.currentChat.id&&this.popNotice(i)}this.recieveMsg(i);break;case"undoMessage":if(i.from_user==this.user.id&&0==i.isMobile&&ke()-i.sendTime<1e3*this.globalConfig.chatInfo.redoTime)return!1;s.updateMessage(i);const a=s.getMessages(i.toContactId);i.id==a[a.length-1].id&&s.updateContact({id:i.toContactId,lastContent:"对方撤回了一条消息"});break;case"delMessage":s.removeMessage(i.id);break;case"updateMessage":s.updateMessage(i);break;case"setChatTop":s.updateContact({id:i.id,is_top:i.is_top});break;case"setIsNotice":s.updateContact({id:i.id,is_notice:i.is_notice});break;case"editGroupName":s.updateContact({id:i.id,displayName:i.displayName});const r={id:$.NW(),type:"event",content:e("div",[e("span",[i.editUserName," 修改了群名为 ",i.displayName])]),toContactId:i.id,sendTime:ke()};s.appendMessage(r,!0);break;case"isRead":this.setLocalMsgIsRead(i);break;case"readAll":let c=s.getMessages(i.toContactId);c.forEach((t=>{if(0==t.is_read){const e={id:t.id,is_read:1,status:"succeed",sendTime:parseInt(t.sendTime)+1,content:t.content};s.updateMessage(e)}}));break;case"addGroup":i.owner_id!=this.user.id&&s.appendContact(i),this.$api.commonApi.bindGroupAPI({client_id:n,group_id:i.id});break;case"setManager":case"addGroupUser":case"removeUser":i.group_id==this.group_id&&this.getGroupUserList(i.group_id),"removeUser"==t.type&&i.user_id==this.user.id?this.removeContact(i.group_id):s.updateContact({id:i.group_id,avatar:i.avatar});break;case"setNoSpeak":i.group_id==this.group_id&&this.getGroupUserList(i.group_id);break;case"removeGroup":this.removeContact(i.group_id);break;case"clearMessage":s.clearMessages(i.group_id),this.groupSetting=!1,s.updateContact({id:i.group_id,lastContent:""}),i.group_id==this.currentChat.id&&(s.changeContact(null),setTimeout((()=>{s.changeContact(i.group_id)}),100));break;case"updateConfig":this.$store.commit("setGlobalConfig",i);break;case"setNotice":s.updateContact({id:i.group_id,notice:i.notice}),s.appendMessage({id:$.NW(),type:"event",content:e("div",[e("span",["管理员 发布了公告: ",i.notice])]),toContactId:i.group_id,sendTime:ke()},!0);break;case"groupSetting":s.updateContact({id:i.group_id,setting:i.setting}),this.currentChat.id==i.group_id&&(this.currentChat.setting=i.setting);break;case"appendContact":s.appendContact(i);break;case"webrtc":if(i.fromUser.id==this.user.id){let t=i.extends,e=o().get("wsData");return[902,903,905,906,907].includes(parseInt(t.code))&&(e.content=i.content,s.updateMessage(e),this.webrtcLock=!1),0==t.isMobile||"calling"==t.event?void("calling"==t.event&&(o().set("wsData",i),this.recieveMsg(i))):void("otherOpt"==t.event&&(e.content=i.content,s.updateMessage(e),this.wsData=null,this.caller="",this.webrtcLock=!1,this.$refs.webrtc.hangup(!1)))}if(this.wsData&&this.wsData.id!=i.id)this.$api.imApi.sendToMsg({toContactId:i.fromUser.user_id,type:i.extends.type,event:"busy",status:i.extends.status,code:907,id:i.id,msg_id:i.msg_id});else{if("calling"==i.extends.event)this.recieveMsg(i),this.wsData=i,o().set("wsData",i),this.caller=i.fromUser;else if("offer"==i.extends.event||"answer"==i.extends.event)this.webrtcLock=i.fromUser.user_id;else if("hangup"==i.extends.event){let t=o().get("wsData");t.content=i.content,s.updateMessage(t),this.webrtcLock=!1}this.wsData&&this.wsData.id==i.id&&this.$refs.webrtc.webrtcAction(JSON.parse(JSON.stringify(i)))}break}}},created(){let t=this.$store.state.userInfo;t&&(this.user={id:t.user_id,displayName:t.realname,avatar:t.avatar,account:t.account}),window.Notification?"granted"==Notification.permission?console.log("允许通知"):"denied"!=Notification.permission&&(console.log("需要通知权限"),Notification.requestPermission((t=>{}))):console.error("浏览器不支持Notification")},mounted(){this.fullScreen&&(this.isFullscreen=o().get("isFullscreen")),this.searchResult&&document.addEventListener("click",(function(t){that.$refs.configforms.contains(t.target)||(that.searchResult=!1)})),this.getSimpleChat()},methods:{called(t){return parseInt(this.globalConfig.chatInfo.webrtc)?this.globalConfig.chatInfo.simpleChat?void(this.webrtcLock?this.$message.error("其他端正在通话中"):(this.webrtcBox=!0,this.is_video=t,this.caller=this.currentChat,this.$refs.webrtc.called(t))):this.$message.error("当前系统已关闭单聊功能"):this.$message.error("当前系统未开启音视频通话功能")},changeTab(t,e){this.activeTab=e},latelyContact(t){let e=[];return e=1==this.activeTab?t.filter((t=>t.unread>0)):2==this.activeTab?t.filter((t=>t.is_at>0)):t.filter((t=>t.lastContent||t.unread>0)),e.sort(((t,e)=>e.lastSendTime-t.lastSendTime)),e.sort(((t,e)=>e.is_top-t.is_top)),e},getSimpleChat(t){const e=this.$createElement;this.$nextTick((()=>{const i=this.$refs.IMUI;this.IMUI=i,i.setLastContentRender("voice",(t=>"[语音]")),i.setLastContentRender("video",(t=>"[视频]")),i.setLastContentRender("webrtc",(t=>"[音视频通话]"));let s=[{name:"emoji"},{name:"screenShot",title:"发送截屏",click:()=>{this.shotScreen()},render:()=>e("i",{class:"el-icon el-icon-scissors f-18",style:"vertical-align: middle;font-weight: 600;"})},{name:"uploadImage",title:"发送图片"},{name:"sendVoice",title:"发送语音",click:()=>{this.VoiceStatus=!0},render:()=>e("i",{class:"el-icon el-icon-microphone f-18",style:"vertical-align: middle;font-weight: 600;"})},{name:"uploadVideo",title:"发送视频",click:()=>{var t=this.$refs.uploadVideo;t.click()},render:()=>e("i",{class:"el-icon el-icon-video-play f-18",style:"vertical-align: middle;font-weight: 600;"},[e("input",{style:"display:none",attrs:{type:"file",accept:"video/*"},ref:"uploadVideo",on:{change:t=>{this.uploadVideo(t)}}})])},{name:"uploadFile",title:"发送文件"},{name:"msgBox",title:"消息管理器",click:()=>{this.ChatRecordMap={},this.messageBox=!0,this.componentKey+=1},render:()=>e("i",{class:"el-icon el-icon-time f-18",style:"vertical-align: middle;"}),isRight:!0}];i.initEditorTools(s),i.initEmoji(F),this.$api.imApi.getContactsAPI().then((s=>{const n=s.data;this.contacts=n;var a={};if(n.forEach(((e,s)=>{e.type&&(a.type=e.type,a.content=e.lastContent,n[s]["lastContent"]=i.lastContentRender(a)),e.unread&&!t&&1==e.is_notice&&(this.unread+=e.unread),e.is_at&&(this.atUnread+=e.is_at)})),2==this.globalConfig.sysInfo.runMode){const t={id:"system",displayName:"新邀请",name_py:"xinyaoqing",avatar:xe,is_group:2,index:"[1]系统消息",click(t){t()},renderContainer:()=>e(Ce),lastSendTime:s.page,lastContent:s.page?"新的申请":"",unread:parseInt(s.count),is_notice:1};this.unread+=s.count,n.push({...t})}this.$store.commit("initContacts",n),i.initContacts(n),this.lastMessages=i.lastMessages,this.initMenus(i)}))}))},shotScreen(){new we.Z({enableWebRtc:!0,level:999999,completeCallback:this.callback,closeCallback:this.closeShotScreen})},closeShotScreen(){console.log("关闭截图")},callback(t){let e=new Image;e.src=t.base64,e.onload=()=>{let t=this.convertImageToCanvas(e),i=t.toDataURL("image/jpeg"),s=window.atob(i.split(",")[1]),n=new ArrayBuffer(s.length),a=new Uint8Array(n);for(let e=0;e',"发送截图",{dangerouslyUseHTMLString:!0,confirmButtonText:"发送",showCancelButton:!0,callback:(t,e)=>{if("confirm"==t){let t={content:URL.createObjectURL(r),fromUser:this.user,id:$.NW(),sendTime:ke(),status:"going",toContactId:this.currentChat.id,type:"image"};this.diySendMessage(t,r)}else e.close()}})}},convertImageToCanvas(t){let e=document.createElement("canvas");return e.width=t.width,e.height=t.height,e.getContext("2d").drawImage(t,0,0),e},initMenus(t){const e=this.$createElement;let i=[{name:"messages",unread:this.unread},{name:"contacts"},{name:"files",title:"文件",unread:0,render:t=>e("i",{class:"el-icon-folder"}),renderContainer:()=>e(Nt,{attrs:{title:this.dialogTitle}})},{name:"mobile",title:"客户端下载",unread:0,render:t=>e("i",{class:"el-icon-mobile"}),click:()=>{window.open(window.BASE_URL+"downapp","_blank")},isBottom:!0},{name:"setting",title:"设置",unread:0,render:t=>e("i",{class:"el-icon-setting"}),renderContainer:()=>e(Gt),isBottom:!0}];this.fullScreen&&i.push({name:"fullscrren",title:"全屏/窗口",unread:0,click:()=>{this.isFullscreen=!this.isFullscreen},render:t=>e("i",{class:"el-icon-full-screen"})}),(Ie.role>0||this.globalConfig.demon_mode)&&i.push({name:"manage",title:"后台管理",unread:0,click:()=>{this.$route.path.indexOf("manage")>-1?this.$emit("close"):this.$router.push("/manage/index")},render:t=>e("i",{class:"el-icon-s-operation"}),isBottom:!0}),t.initMenus(i)},getContact(t,e=null){const{IMUI:i}=this.$refs;let s=i.findContact(t);return!s&&e&&e.contactInfo&&(s=e.contactInfo,i.appendContact(s)),s},wrapKey(t){return 1==this.setting.sendKey?13==t.keyCode&&t.ctrlKey:13==t.keyCode&&!t.ctrlKey&&!t.shiftKey},setSendKey(t){return 1==this.setting.sendKey?13==t.keyCode&&!t.ctrlKey&&!t.shiftKey:13==t.keyCode&&t.ctrlKey},handleMessageClick(t,e,i,s){if("status"==e)return s.updateMessage({id:i.id,status:"going"}),i.status="going",void this.diySendMessage(i,this.curFile);if("avatar"!=e){if("voice"==i.type){if(!this.playAudio)return this.currentMessage=i,this.playVoice(i,s);this.playAudio.pause(),this.playAudio=null,s.updateMessage({id:this.currentMessage.id,status:"successd",isPlay:0}),i.id!=this.currentMessage.id&&(this.currentMessage=i,this.playVoice(i,s))}var n=["image","file","video"];if(n.includes(i.type)){if(!i.preview)return this.$message.error("没有配置预览接口");this.$preview(i.preview)}else"webrtc"==i.type&&this.called(parseFloat(i.extends.type))}else{if(1==i.is_group&&0==this.currentChat.setting.profile&&this.currentChat.role>2)return void this.$message.error("已开启隐私,无法查看资料");if(i.fromUser.id==this.user.id)return;this.$user(i.fromUser.id)}},playVoice(t,e){this.playAudio=new Audio(t.content),this.playAudio.play(),e.updateMessage({id:t.id,status:"succeed",isPlay:1})},openChat(t,e){this.keywords="",e.changeContact(t)},handleChangeContact(t,e){e.updateContact({id:t.id,unread:0}),1==t.is_notice&&(this.unread-=t.unread);const{IMUI:i}=this.$refs;this.initMenus(i),this.params.page=1,this.displayName=t.displayName,this.oldName=t.displayName,this.currentChat=t,1==t.is_group&&(this.group_id!=t.id?this.getGroupUserList(t.id):this.setAtUserList(this.groupUser)),this.is_group=t.is_group,1==this.is_group?(this.group_id=t.id,this.notice=t.notice):i.setAtUserList([],!1);for(var s=[],n=i.getMessages(t.id),a=0;n.length>a;a++)0==n[a].is_read&&n[a].fromUser.id!=this.user.id&&(n[a]["contactInfo"]={},s.push(n[a]));s.length>0&&(this.$api.imApi.setMsgIsReadAPI({is_group:t.is_group,toContactId:t.id,messages:s,fromUser:t.id}),this.setLocalMsgIsRead(s)),e.closeDrawer()},setAtUserList(t){let e=[],i=!1;t.forEach((t=>{t.user_id!=this.user.id?e.push(t.userInfo):t.role<3&&(i=!0)})),this.$refs.IMUI.setAtUserList(e,i)},uploadVideo(t){if(!this.nospeak())return this.$message.error(this.noSimpleTips),!1;let e,i=t.srcElement.files[0],s=URL.createObjectURL(i),n=new Audio(s);n.addEventListener("loadedmetadata",(function(t){e=n.duration}));let a={content:s,fromUser:this.user,id:$.NW(),sendTime:ke(),status:"going",toContactId:this.currentChat.id,type:"video",extends:{duration:e}};this.diySendMessage(a,i),this.$refs.uploadVideo.value=""},sendVoice(t,e){if(!this.globalConfig.chatInfo.simpleChat&&0==this.is_group||!this.nospeak())return this.$message.error(this.noSimpleTips),!1;let i={content:URL.createObjectURL(e),fromUser:this.user,id:$.NW(),sendTime:ke(),status:"going",toContactId:this.currentChat.id,type:"voice",isPlay:0,extends:{duration:t}};this.VoiceStatus=!1,this.diySendMessage(i,e)},removeContact(t){const{IMUI:e}=this.$refs,i=e.getCurrentContact();i.id==t&&e.changeContact(null),e.removeContact(t)},diySendMessage(t,e){const{IMUI:i}=this.$refs;i.appendMessage(t,!0),this.handleSend(t,(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{status:"succeed"};i.updateContact({id:t.toContactId,lastContent:i.lastContentRender(t),lastSendTime:t.sendTime}),i.CacheDraft.remove(t.toContactId),i.updateMessage(Object.assign(t,e))}),e)},nospeak(){return!(1==this.is_group&&this.currentChat.setting.nospeak>0)||(1==this.currentChat.setting.nospeak&&this.currentChat.role<3||2==this.currentChat.setting.nospeak&&1==this.currentChat.role)},handleSend(t,e,i){const{IMUI:s}=this.$refs;if(t.is_group=this.is_group,this.curFile=i,!this.nospeak())return s.removeMessage(t.id),this.$message.error(this.noSimpleTips),!1;this.quote&&(t.pid=this.quote.msg_id,t.extends=this.quote);let n=new FormData;if(i){if(i.size>1024*this.globalConfig.fileUpload.size*1024)return s.removeMessage(t.id),this.$message.error("上传的内容不等大于"+this.globalConfig.fileUpload.size+"MB!");n.append("file",i),n.append("message",JSON.stringify(t)),this.$api.imApi.sendFileAPI(n).then((t=>{0==t.code?(s.setEditorValue(""),s.updateMessage(t.data),e()):e({status:"failed"})})).catch((t=>{e({status:"failed"})}))}else this.closeQuote(),this.$api.imApi.sendMessageAPI(t).then((t=>{0==t.code?(s.setEditorValue(""),s.updateMessage(t.data),e()):e({status:"failed"})})).catch((t=>{e({status:"failed"})}))},handlePullMessages(t,e,i){let s=this.params,n=i.getMessages(t.id);return n.length>0?(s.last_id=n[0].msg_id,s.page=1):s.last_id=0,s.toContactId=t.id,s.is_group=t.is_group,this.$api.imApi.getMessageListAPI(s).then((t=>{this.params.page++;let i=!1,s=t.data;s.length{e([],!0)})),!0},publishNotice(){this.noticeBox=!1,this.$api.imApi.setNoticeAPI({id:this.group_id,notice:this.notice}).then((t=>{0==t.code&&this.$message({type:"success",message:"发布成功!"})}))},openMsgBox(){this.ChatRecordMap={is_at:1},this.messageBox=!0,this.componentKey+=1,this.$refs.IMUI.updateContact({id:this.currentChat.id,is_at:0});let t=this.currentChat.is_at;this.atUnread-=t,this.currentChat.is_at=0},openNotice(){var t="
"+this.notice+"
";this.$alert(t,"群公告",{confirmButtonText:"确定",dangerouslyUseHTMLString:!0}).then((()=>{})).catch((()=>{}))},openCreateGroup(){this.isAdd=1,this.dialogTitle="创建群聊",this.userIds=[],this.createChatBox=!0},changeOwner(){this.isAdd=2,this.dialogTitle="转让群聊",this.createChatBox=!0},openAddGroupUser(){var t=$.Nj(this.groupUser,"user_id");this.isAdd=0,this.userIds=t,this.dialogTitle="添加群成员",this.createChatBox=!0},manageGroup(t,e,i){this.createChatBox=!1;let s=this.globalConfig.chatInfo.groupUserMax;if(0==e){if(t.length+this.groupUser.length>s&&s>0)return this.$message.error("群成员不能大于"+s+"人!");this.$api.imApi.addGroupUserAPI({user_ids:t,id:this.group_id})}else if(1==e){if(t.length>s&&s>0)return this.$message.error("群成员不能大于"+s+"人!");this.$api.imApi.addGroupAPI({user_ids:t,name:i}).then((t=>{const e=t.data,{IMUI:i}=this.$refs;0==t.code&&(i.appendContact(e),i.changeContact(e.id))}))}else this.$api.imApi.changeOwnerAPI({user_id:t[0],id:this.group_id}).then((e=>{const{IMUI:i}=this.$refs;0==e.code&&(this.$message({type:"success",message:e.msg}),this.groupSetting=!1,i.updateContact({id:this.group_id,role:3,owner_id:t[0]}),i.changeContact(null))}))},forwardUser(t){if(t.length>5)return this.$message.error("转发的人数不能超过5人!");this.forwardBox=!1;var e=this.currentMessage;this.$api.imApi.forwardMessageAPI({user_ids:t,msg_id:e.msg_id})},getGroupUserList(t){this.$api.imApi.groupUserListAPI({group_id:t}).then((t=>{if(0==t.code){let e=t.data;this.groupUser=e,this.setAtUserList(e),this.groupUserCount=e.length}}))},saveGroupName(t){if(this.displayName.length<1)return this.$notify({title:"警告",message:"名称不能为空!",type:"warning"}),this.isEdit=!1,!1;if(this.displayName!=this.oldName){const{IMUI:e}=this.$refs;this.$api.imApi.editGroupNameAPI({id:t.id,displayName:this.displayName}).then((i=>{e.updateContact({id:t.id,displayName:this.displayName})}))}this.isEdit=!1},openGroupSetting(t){this.groupSetting=!0,this.contactSetting=t||this.currentChat,this.componentKey++},closeSearch(){var t=this;setTimeout((function(){t.searchResult=!1}),300)},searchContact(t){""!=this.keywords&&(this.searchList=$.iu(t,["displayName","name_py"],this.keywords))},setLocalMsgIsRead(t){const{IMUI:e}=this.$refs;for(let i=0;t.length>i;i++){const s={id:t[i]["id"],is_read:1,status:"succeed",sendTime:parseInt(t[i]["sendTime"])+1,content:t[i]["content"]};e.updateMessage(s)}},popNotice(t){let e=this;const{IMUI:i}=this.$refs;if("granted"==Notification.permission){let s=t.fromUser.displayName||t.fromUser.realname,n=i.lastContentRender(t),a=new Notification("收到一条新消息",{body:s+":"+n,icon:t.fromUser.avatar});a.onclick=function(t){e.$nextTick((()=>{setTimeout((()=>{}),500)})),window.focus(),a.close()}}else{const t=document.getElementById("chatAudio");t.currentTime=0,t.play()}},recieveMsg(t){const{IMUI:e}=this.$refs,i=e.getCurrentContact();if(i.id==t.toContactId&&"system"!=i.id){var s=[];s.push(t),this.$api.imApi.setMsgIsReadAPI({toContactId:i.id,is_group:i.is_group,messages:s,fromUser:t.fromUser.id})}else if(this.user.id!=t.fromUser.id){let i=this.getContact(t.toContactId);1==i.is_notice&&this.unread++,this.initMenus(e)}this.user.id==t.toContactId&&(t.toContactId=t.toUser),"system"==t.toContactId&&e.updateContact({id:t.toContactId,lastContent:e.lastContentRender(t),lastSendTime:t.sendTime,unread:"+1"}),e.appendMessage(t,this.isBottom)},openMessageBox(){this.messageBox=!0,this.componentKey+=1},openSetting(){const{IMUI:t}=this.$refs;t.changeMenu("setting")},setNoSpeak(){this.noSpeakBox=!1,this.$api.imApi.setNoSpeakAPI(this.noSpeakData)},handleCommand(t){"addGroup"==t?this.openCreateGroup():this.addFriendBox=!0},rtcMsg(t){let e="",i="",s="";this.wsData&&(i=this.wsData.msg_id??"",s=this.wsData.id??"");let n=!0;switch(t.event){case"calling":s=$.NW();break;case"hangup":907==t.code&&this.$message.error("对方忙线中"),t.isbtn||(n=!1),this.wsData="",this.webrtcLock=!1;break;case"iceCandidate":let i={};i["candidate"]=t["iceCandidate"]["candidate"],i["sdpMLineIndex"]=t["iceCandidate"]["sdpMLineIndex"],i["sdpMid"]=t["iceCandidate"]["sdpMid"],e=JSON.stringify(i);break;case"mediaDevices":n=!1;break}n&&this.$api.imApi.sendToMsg({id:s,msg_id:i,toContactId:this.caller.id,type:this.is_video?1:0,event:t.event,status:t.status??"",code:t.code??"",callTime:t.callTime??"",sdp:t.sdp??"",iceCandidate:e}).then((e=>{0==e.code&&"calling"==t.event&&(this.wsData=e.data,o().set("wsData",e.data),this.recieveMsg(e.data)),"907"==e.data.extends.code&&this.$message.error("对方不在线")}))},reconnect(){this.$refs.socket.initWebSocket()},closeSocket(){this.$refs.socket.close()},closeQuote(){this.quote=""},noSpeakExp(t){return 1e3*t>(new Date).getTime()&&$.hT("m-d H:i",t)},eventBottom(t){this.isBottom=t},logout(){this.$confirm("你确定要退出聊天室吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$store.dispatch("LogOut").then((()=>{this.$router.push({path:"/login"})}))})).catch((()=>{this.$message({type:"info",message:"已取消退出"})}))}}},_e=Ae,Ee=(0,d.Z)(_e,j,R,!1,null,"6c5c2dba",null),Se=Ee.exports;var Te={name:"app",components:{rainagdIm:Se},props:{dialogTableVisible:{type:Boolean,default:!1}},data(){return{unread:0,dialogIsShow:!0}},computed:{formatTime(){return function(t){return timeFormat(t)}}},watch:{dialogTableVisible(t){t&&this.$nextTick((()=>{this.dialogIsShow=t}))}},created(){},mounted(){},methods:{closeDialog(){this.appList=!1,this.$nextTick((()=>{this.$emit("update:dialogTableVisible",!1)}))},contactSync(t){this.dialogIsShow=!0,this.$emit("update:dialogTableVisible",!0)}}},Ne=Te,Me=(0,d.Z)(Ne,D,P,!1,null,"6e7fdceb",null),Le=Me.exports,Ue={name:"Index",components:{Message:Le},data(){return{dialogTableVisible:!1,unread:0,allContacts:[],activeName:"0",techStack:[{icon:"el-icon-cpu",text:"后端:TP6+Mysql+workerman+webRTC中继服务。 [开源]"},{icon:"el-icon-news",text:"前端:vue2+element-ui+lemon-imui。 [开源]"},{icon:"el-icon-mobile",text:"移动端:uniapp for vue3+pinia。支持编译为小程序+h5+APP。[联系作者,捐赠获取]"},{icon:"el-icon-monitor",text:"桌面端:vue2(web端修改版)+electron。[联系作者,捐赠获取]"}],introduce:[{icon:"el-icon-chat-dot-square",text:this.$packageData.name+"是一个开源的即时通信demo(存在一定的BUG),主要用于学习交流,为大家提供即时通讯的开发思路,许多功能需要自行开发,开发的初衷旨在快速建立企业内部通讯系统、内网交流、社交交流。"},{icon:"el-icon-cpu",text:"不建议用于商业用途,如确有需要商用,请联系作者授权,自行开发代码量必须要高于原代码量的30%以上,并注明相关的版权问题。"},{icon:"el-icon-office-building",text:"支持企业模式:类似于企业微信,初始化联系人是加载企业内的所有人员,无须加好友可以直接进行对话、创建群聊等,适用于企业内部通讯。"},{icon:"el-icon-chat-line-round",text:"支持社交模式:类似于微信或QQ,需要添加好友才能进行对话,适用于社交交流。社交模式支持加好友、删除好友、改备注等功能。"},{icon:"el-icon-discover",text:"选择适合自己项目的模式,然后在后台设置即可。社交模式体验需要自行搭建部署哦,可以在项目地址中看到相关的截图。"}]}},computed:{...(0,v.rn)({chatSocket:t=>t.unread,getContacts:t=>t.allContacts})},watch:{chatSocket(t){this.unread=t},getContacts(t){this.allContacts=t}},methods:{handleClick(t,e){console.log(t,e)},showMessageBox(){this.dialogTableVisible?this.dialogTableVisible=!1:this.dialogTableVisible=!0},scrollTo(){window.scrollTo(0,document.body.scrollHeight)},downApp(){window.open(window.BASE_URL+"downapp")}}},Oe=Ue,De=(0,d.Z)(Oe,U,O,!1,null,"2b35c012",null),Pe=De.exports,je=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-container",style:"background-image:url("+t.Background+")"},[e("raingadIm",{attrs:{fullScreen:!0}})],1)},Re=[],Be=i.p+"assets/img/login-background.4d69904c.jpg",Fe={name:"app",components:{raingadIm:Se},data(){return{Background:Be}}},$e=Fe,He=(0,d.Z)($e,je,Re,!1,null,"f0e47f02",null),Ve=He.exports,Ge=function(){var t=this,e=t._self._c;return e("div",{staticClass:"login-wrapper",style:"background-image:url("+t.Background+")"},[e("div",{staticClass:"form-box"},[e("div",{staticClass:"form-title"},[e("img",{attrs:{src:t.globalConfig.sysInfo.logo?t.globalConfig.sysInfo.logo:t.$packageData.logo,width:"100",alt:"icon"}}),e("p",{staticClass:"mt-10 f-20"},[t._v(t._s(t.globalConfig.sysInfo.name))])]),e("el-form",{ref:"loginForm",staticClass:"login-form",attrs:{model:t.loginForm,rules:t.loginRules,"label-width":"0px"}},[e("el-form-item",{attrs:{prop:"account"}},[e("el-input",{ref:"account",attrs:{type:"text","auto-complete":"off",placeholder:"请输入账号","prefix-icon":"el-icon-user"},model:{value:t.loginForm.account,callback:function(e){t.$set(t.loginForm,"account",e)},expression:"loginForm.account"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:!t.forget,expression:"!forget"}],attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","auto-complete":"off",placeholder:"请输入密码","prefix-icon":"el-icon-lock"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleLogin.apply(null,arguments)}},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}})],1),e("el-form-item",{directives:[{name:"show",rawName:"v-show",value:t.forget,expression:"forget"}],attrs:{prop:"code"}},[e("el-input",{attrs:{placeholder:"请输入验证码",maxlength:"6"},model:{value:t.loginForm.code,callback:function(e){t.$set(t.loginForm,"code",e)},expression:"loginForm.code"}},[e("el-button",{attrs:{slot:"append",loading:t.coding},on:{click:function(e){return t.sendCode()}},slot:"append"},[t._v("发送验证码")])],1)],1),t.globalConfig.demon_mode?e("div",{staticClass:"c-666",staticStyle:{"font-size":"12px"}},[t._v("演示账号:13800000002~13800000020,密码:123456")]):t._e(),e("el-form-item",[e("div",{staticClass:"remenber"},[e("el-checkbox",{model:{value:t.loginForm.rememberMe,callback:function(e){t.$set(t.loginForm,"rememberMe",e)},expression:"loginForm.rememberMe"}},[t._v("记住我")]),e("el-button",{attrs:{type:"text"},on:{click:function(e){t.forget=!t.forget}}},[t._v(t._s(t.forget?"密码登陆":"忘记密码"))])],1)]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%"},attrs:{loading:t.loading,size:"small",type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleLogin.apply(null,arguments)}}},[t.loading?e("span",[t._v("登 录 中...")]):e("span",[t._v("登 录")])])],1),1==t.globalConfig.sysInfo.regtype?e("el-form-item",[e("el-button",{staticStyle:{width:"100%"},attrs:{size:"small",plain:""},on:{click:function(e){return t.$router.push("/register")}}},[t._v(" 注册 ")])],1):t._e(),e("div",{staticClass:"c-999",attrs:{align:"center"}},[t._v(t._s(t.globalConfig.sysInfo.name)+" for "+t._s(t.$packageData.version))]),e("el-button",{staticClass:"mt-10",staticStyle:{width:"100%"},attrs:{plain:""},on:{click:function(e){return t.downapp()}}},[e("span",[t._v("下载客户端")])])],1)],1)])},Ke=[],ze={name:"Login",data(){return{Background:Be,forget:!1,loginForm:{account:"",password:"",code:"",rememberMe:!0},loginRules:{account:[{required:!0,trigger:"blur",message:"用户名不能为空"}],password:[{required:!0,trigger:"blur",message:"密码不能为空"}]},loading:!1,coding:!1,redirect:void 0}},computed:{...(0,v.rn)({globalConfig:t=>t.globalConfig})},watch:{$route:{handler:function(t){this.redirect=t.query&&t.query.redirect},immediate:!0},forget(t){t&&(this.loginForm.password="123456")}},mounted(){this.$nextTick((()=>{let t=this.$route.query.token;if(t)return this.dologin({token:t});if(this.globalConfig.demon_mode){const t=Math.floor(19*Math.random()+2);this.loginForm.account=138e8+t,this.loginForm.password="123456",this.$refs.account.focus()}const e=o().get("LoginAccount");e&&(this.loginForm.account=e.account,this.loginForm.password=e.password,this.loginForm.rememberMe=!0,this.$refs.account.focus())}))},methods:{handleLogin(){!this.forget||this.loginForm.code?this.$refs.loginForm.validate((t=>{const e={account:this.loginForm.account,password:this.loginForm.password,code:this.loginForm.code};this.loginForm.rememberMe?o().set("LoginAccount",e):o().rm("LoginAccount"),t&&this.dologin(e)})):this.$message.error("请输入验证码")},dologin(t){this.loading=!0,this.$store.dispatch("Login",t).then((t=>{window.location.reload()})).catch((()=>{this.loading=!1}))},sendCode(){if(!this.loginForm.account)return void this.$message.error("请输入账号");this.coding=!0;let t={account:this.loginForm.account,type:1};this.$store.dispatch("sendCode",t).then((t=>{this.$message.success("发送成功"),this.coding=!1})).catch((()=>{this.coding=!1}))},downapp(){window.open(window.BASE_URL+"downapp")}}},Qe=ze,Ye=(0,d.Z)(Qe,Ge,Ke,!1,null,null,null),Je=Ye.exports,qe=function(){var t=this,e=t._self._c;return e("div",{staticClass:"login-wrapper",style:"background-image:url("+t.Background+")"},[e("div",{staticClass:"form-box"},[e("div",{staticClass:"form-title"},[e("div",{staticClass:"f-14 cur-handle",on:{click:function(e){return t.$router.push("/login")}}},[e("i",{staticClass:"el-icon-back"},[t._v("返回")])]),t._m(0),e("div")]),e("el-form",{ref:"regForm",staticClass:"login-form",attrs:{model:t.regForm,rules:t.loginRules,"label-width":"0px"}},[e("el-form-item",{attrs:{prop:"account"}},[e("el-input",{ref:"account",attrs:{type:"text","auto-complete":"off",placeholder:t.placeholder,"prefix-icon":"el-icon-user"},on:{input:t.handleInput},model:{value:t.regForm.account,callback:function(e){t.$set(t.regForm,"account",e)},expression:"regForm.account"}})],1),e("el-form-item",{attrs:{prop:"realname"}},[e("el-input",{ref:"realname",attrs:{type:"text","auto-complete":"off",placeholder:"请输入用户名/昵称","prefix-icon":"el-icon-user"},model:{value:t.regForm.realname,callback:function(e){t.$set(t.regForm,"realname",e)},expression:"regForm.realname"}})],1),0!=t.globalConfig.sysInfo.regauth?e("el-form-item",{attrs:{prop:"code"}},[e("el-input",{attrs:{placeholder:"请输入验证码",maxlength:"6"},model:{value:t.regForm.code,callback:function(e){t.$set(t.regForm,"code",e)},expression:"regForm.code"}},[e("el-button",{attrs:{slot:"append",loading:t.loading},on:{click:function(e){return t.sendCode(!0)}},slot:"append"},[t._v("发送验证码")])],1)],1):t._e(),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","show-password":"","auto-complete":"off",placeholder:"请输入密码","prefix-icon":"el-icon-lock"},model:{value:t.regForm.password,callback:function(e){t.$set(t.regForm,"password",e)},expression:"regForm.password"}})],1),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","show-password":"","auto-complete":"off",placeholder:"请再次输入密码","prefix-icon":"el-icon-lock"},model:{value:t.regForm.repass,callback:function(e){t.$set(t.regForm,"repass",e)},expression:"regForm.repass"}})],1),e("el-form-item",[e("el-button",{staticStyle:{width:"100%"},attrs:{loading:t.loading,size:"small",type:"primary"},nativeOn:{click:function(e){return e.preventDefault(),t.handleRegist.apply(null,arguments)}}},[t.loading?e("span",[t._v("注 册 中...")]):e("span",[t._v("注册")])])],1),e("div",{staticClass:"c-999",attrs:{align:"center"}},[t._v(t._s(t.globalConfig.sysInfo.name)+" for "+t._s(t.$packageData.version))])],1)],1)])},We=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"mr-40"},[e("b",[t._v("注册用户")])])}],Ze={name:"Register",data(){return{Background:Be,placeholder:"请输入账号:4-32个字符",regForm:{account:"",realname:"",password:"",repass:"",code:""},loginRules:{account:[{min:4,max:32,message:"长度在 4 到 32 个字符",trigger:"blur"}],realname:[{required:!0,message:"请输入用户名/昵称",trigger:"blur"},{min:2,max:16,message:"长度在 2 到 16 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,max:16,message:"长度在 6 到 16 个字符",trigger:"blur"}]},loading:!1,redirect:void 0}},computed:{...(0,v.rn)({globalConfig:t=>t.globalConfig})},watch:{$route:{handler:function(t){this.redirect=t.query&&t.query.redirect},immediate:!0}},mounted(){let t=this.globalConfig.sysInfo.regauth??0,e="请输入账号:4-32个字符";switch(parseInt(t)){case 1:e="请输入正确的手机号";break;case 2:e="请输入正确的邮箱";break;case 3:e="请输入正确的手机号或者邮箱";break;default:e="请输入正确的账号"}let i={required:!0,message:e,trigger:"blur"};this.loginRules.account.push(i);let s={type:"email",message:e,trigger:"blur",validator:this.validateContact},n={type:"phone",message:e,trigger:"blur",validator:this.validateContact};1==t?(this.placeholder="请输入手机号",this.loginRules.account.push(n)):2==t?(this.placeholder="请输入邮箱账号",this.loginRules.account.push(s)):3==t&&(this.placeholder="请输入手机号/邮箱",this.loginRules.account.push(s),this.loginRules.account.push(n))},methods:{handleInput(t){const e=t.replace(/[\u4e00-\u9fa5]/g,"");this.regForm.account=e},validateContact(t,e,i){e?/^1[3456789]\d{9}$/.test(e)||/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(e)?i():i(new Error("请输入正确的手机号或邮箱")):i()},handleRegist(){this.$refs.regForm.validate((t=>{if(this.regForm.password!=this.regForm.repass)return this.$message.error("两次密码不一致"),!1;const e={account:this.regForm.account,realname:this.regForm.realname,password:this.regForm.password,code:this.regForm.code,inviteCode:this.$route.query.inviteCode??""};if(!t)return this.$message.error("请检查输入项");this.loading=!0,this.$api.commonApi.register(e).then((t=>{this.loading=!1,0===t.code&&(this.$message.success("注册成功"),this.$router.push("/login"))})).catch((t=>{this.loading=!1}))}))},sendCode(){if(!this.regForm.account)return void this.$message.error("请输入账号");this.coding=!0;let t={account:this.regForm.account,type:2};this.$store.dispatch("sendCode",t).then((t=>{this.$message.success("发送成功"),this.coding=!1})).catch((()=>{this.coding=!1}))}}},Xe=Ze,ti=(0,d.Z)(Xe,qe,We,!1,null,"021f4740",null),ei=ti.exports,ii=function(){var t=this,e=t._self._c;return e("div",{staticClass:"main-container"},[e("el-container",{staticStyle:{height:"100vh",border:"1px solid #eee"}},[e("el-header",{staticStyle:{"text-align":"right","font-size":"12px","border-bottom":"1px solid #e6e6e6"}},[e("el-row",{style:{height:"60px"},attrs:{type:"flex",justify:"space-between",align:"middle"}},[e("el-col",{staticClass:"logo",attrs:{span:8}},[e("div",{staticClass:"image"},[e("img",{attrs:{src:t.globalConfig.sysInfo.logo,alt:"logo"}})]),e("div",{staticClass:"f-20 ml-5"},[t._v(t._s(t.globalConfig.sysInfo.name)+" 管理中心")])]),e("el-col",{staticClass:"text-right",attrs:{span:16}},[e("div",{staticClass:"user"},[e("span",{staticClass:"message"},[e("router-link",{attrs:{to:"/chat"}},[e("el-button",[t._v(" 进入聊天 ")])],1)],1),e("span",{staticClass:"message",on:{click:function(e){return t.showMessageBox()}}},[e("el-badge",{attrs:{value:t.unread,max:99,hidden:!t.unread}},[e("i",{staticClass:"el-icon-chat-line-round f-24",attrs:{circle:""}})])],1),e("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[e("div",{staticClass:"lz-flex lz-align-items-center cur-handle"},[e("span",{staticClass:"avatar"},[e("img",{attrs:{src:t.$store.state.userInfo.avatar,alt:"avatar"}})]),e("span",{staticClass:"username"},[t._v(t._s(t.$store.state.userInfo.realname))]),e("i",{staticClass:"el-icon-arrow-down el-icon--right"})]),e("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[e("el-dropdown-item",{attrs:{command:"profile"}},[t._v("个人信息")]),e("el-dropdown-item",{attrs:{command:"logout"}},[t._v("退出登录")])],1)],1)],1)])],1)],1),e("el-container",[e("el-aside",{staticClass:"main-aside",style:{width:t.asideWidth}},[e("div",{staticClass:"aside-menu"},[e("el-scrollbar",[e("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{border:"none"},attrs:{"default-active":t.active,mode:"vertical","ext-color":"#fff",collapse:t.isCollapse},on:{select:t.handleMenuSelect}},[t._l(t.routes,(function(i,s){return[e("el-menu-item",{key:s,attrs:{index:i.path}},[e("i",{class:i.meta.icon}),e("span",{attrs:{slot:"title"},slot:"title"},[t._v(t._s(i.meta.title))])])]}))],2)],1)],1),e("div",{staticClass:"aside-bottom",on:{click:t.handleCollapse}},[e("span",{staticClass:"el-icon-s-fold f-18"})])]),e("el-main",{staticStyle:{"background-color":"#f5f5f5",padding:"0"}},[e("el-scrollbar",[e("transition",{attrs:{name:"fade",mode:"out-in"}},[e("router-view",{key:t.key})],1)],1)],1)],1)],1),e("Message",{ref:"Message",attrs:{dialogTableVisible:t.dialogTableVisible},on:{"update:dialogTableVisible":function(e){t.dialogTableVisible=e},"update:dialog-table-visible":function(e){t.dialogTableVisible=e}}})],1)},si=[],ni={name:"Index",components:{Message:Le},data(){return{dialogTableVisible:!1,unread:0,allContacts:[],isCollapse:!1,asideWidth:"200px",active:"",routes:[]}},computed:{...(0,v.rn)({chatSocket:t=>t.unread,getContacts:t=>t.allContacts,globalConfig:t=>t.globalConfig}),key(){return this.$route.path}},watch:{chatSocket(t){this.unread=t},getContacts(t){this.allContacts=t},isCollapse(t){this.asideWidth=t?"65px":"200px"}},mounted(){this.isCollapse=o().get("isCollapse")||!1,this.active=this.$route.path;const t=this.$router.options.routes.filter((t=>"manage"==t.name));this.routes=t[0].children,window.addEventListener("resize",this.handleResize)},methods:{handleResize(){window.innerWidth<900?this.isCollapse=!0:this.isCollapse=!1},handleMenuSelect(t){this.active=t,this.$route.path!=t&&this.$router.push(t)},showMessageBox(){this.dialogTableVisible?this.dialogTableVisible=!1:this.dialogTableVisible=!0},handleCommand(t){"profile"==t?this.$user(this.$store.state.userInfo.user_id):this.$confirm("你确定要退出聊天室吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.$store.dispatch("LogOut").then((()=>{this.$router.push({path:"/login"})}))})).catch((()=>{this.$message({type:"info",message:"已取消退出"})}))},handleCollapse(){this.isCollapse=!this.isCollapse,o().set("isCollapse",this.isCollapse)}}},ai=ni,ri=(0,d.Z)(ai,ii,si,!1,null,"482b879c",null),oi=ri.exports,ci=[{path:"/manage",name:"manage",component:oi,meta:{title:"管理"},icon:"el-icon-s-tools",children:[{path:"/manage/index",name:"index",component:()=>i.e(585).then(i.bind(i,4585)),meta:{title:"概况",icon:"el-icon-data-line"}},{path:"/manage/setting",name:"setting",component:()=>Promise.all([i.e(647),i.e(789)]).then(i.bind(i,3585)),meta:{title:"设置",icon:"el-icon-setting"}},{path:"/manage/user",name:"user",component:()=>Promise.all([i.e(647),i.e(687)]).then(i.bind(i,4368)),meta:{title:"成员",icon:"el-icon-user"}},{path:"/manage/message",name:"user",component:()=>Promise.all([i.e(647),i.e(982)]).then(i.bind(i,196)),meta:{title:"消息",icon:"el-icon-chat-dot-round"}},{path:"/manage/group",name:"group",component:()=>i.e(173).then(i.bind(i,4173)),meta:{title:"群聊",icon:"el-icon-chat-dot-square"}},{path:"/manage/files",name:"files",component:()=>i.e(567).then(i.bind(i,7567)),meta:{title:"文件",icon:"el-icon-folder-opened"}}]}];s["default"].use(L.ZP);const li=[{path:"/",name:"home",component:Ve,meta:{title:"聊天"}},{path:"/chat",name:"chat",component:Ve,meta:{title:"聊天演示页"}},{path:"/demo",name:"demo",component:Pe,meta:{title:"演示页"}},{path:"/login",name:"login",component:Je,meta:{title:"登录"}},{path:"/register",name:"register",component:ei,meta:{title:"注册"}},{path:"*",redirect:"/404",hidden:!0},{path:"/404",component:()=>i.e(133).then(i.bind(i,4133)),hidden:!0}],di=()=>new L.ZP({mode:"hash",scrollBehavior:()=>({y:0}),routes:[...li,...ci]}),ui=di();function hi(){const t=di();ui.matcher=t.matcher}var pi=ui,mi=i(6265),gi=i.n(mi);const fi={loadingCache:function(){if(o().get("authToken")&&!gi().defaults.headers.authToken){const t=o().get("UserInfo");t&&Di.commit("SET_USERINFO",t)}Di.commit("SET_APPNAME",o().get("systemName")),Di.commit("SET_APPLOGO",o().get("systemLogo"))},updateAxiosCache:function(){gi().defaults.headers.authToken=o().get("authToken"),gi().defaults.headers.sessionId=o().get("sessionId")},updateAxiosHeaders:function(){gi().defaults.headers.authToken=o().get("authToken"),gi().defaults.headers.sessionId=o().get("sessionId")},rmAxiosCache:function(){o().rm("authToken"),o().rm("sessionId")}};var vi=fi;function bi(){return new Promise(((t,e)=>{vi.rmAxiosCache(),delete gi().defaults.headers.authToken,delete gi().defaults.headers.sessionId,t(!0)}))}function yi(t,e){return new Promise(((i,s)=>{gi().defaults.headers.authToken=t,gi().defaults.headers.sessionId=e,i(!0)}))}function Ci(){return o().get("authToken")&&!gi().defaults.headers.authToken&&vi.updateAxiosCache(),!!o().get("authToken")}var xi=i(5410),wi=i.n(xi),ki=i(9070);const Ii=(0,ki.debounce)(500,(()=>{bi().then((()=>{location.reload()})).catch((()=>{location.reload()}))})),Ai=(0,ki.debounce)(500,((t,e="error")=>{(0,p.Message)({message:t,duration:1500,type:e})})),_i=(0,ki.debounce)(1e3,(t=>{p.MessageBox.confirm(t,"提示",{confirmButtonText:"确定",showCancelButton:!1,type:"warning"}).then((()=>{Ii()})).catch((()=>{}))}));gi().defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8";const Ei=window.location.protocol+"//"+window.location.host+"/";window.BASE_URL=Ei;const Si=gi().create({baseURL:Ei,timeout:6e4});Si.interceptors.request.use((t=>{const e=o().get("sessionId"),i=o().get("authToken");e&&i&&(t.headers["sessionId"]=e,t.headers["Authorization"]=i);const s=t.headers["Content-Type"]&&-1!==t.headers["Content-Type"].indexOf("application/json");if(s)void 0!==t.data&&null!==t.data||(t.data={});else{const e=t.headers["Content-Type"]&&-1!==t.headers["Content-Type"].indexOf("multipart/form-data");t.data=e?t.data:wi().stringify(t.data)}return t}),(t=>Promise.reject(t))),Si.interceptors.response.use((t=>{const e=t.data;if(200!==t.status||"blob"!==t.config.responseType)return 0!==e.code?(-1===e.code?_i(e.msg):[400,402,403,404,405,502,500].includes(e.code)?Ai(e.msg,"warning"):Ai(e.msg),e):e;if(t.headers["content-disposition"]||t.headers["content-type"]&&-1!=t.headers["content-type"].indexOf("application/pdf"))return t;{const e=new Blob([t.data],{type:"application/json"}),i=new FileReader;i.onload=function(){const t=JSON.parse(this.result);t.msg&&Ai(t.msg,1==t.code?"success":"error")},i.readAsText(e)}}),(t=>{if(t.response){const e=t.response;500==e.status?Ai("服务器返回错误,请检查!"):e.data&&e.data.msg&&Ai(e.data.msg)}return Promise.reject(t)}));var Ti=Si;const Ni={loginAPI:t=>Ti({url:"common/pub/login",method:"post",data:t}),logoutAPI:()=>Ti({url:"common/pub/logout",method:"post"}),bindClientIdAPI:t=>Ti({url:"common/pub/bindUid",method:"post",data:t}),offlineAPI:t=>Ti({url:"common/pub/offline",method:"post",data:t}),bindGroupAPI:t=>Ti({url:"common/pub/bindGroup",method:"post",data:t}),sendCode:t=>Ti({url:"common/pub/sendCode",method:"post",data:t}),getSystemInfo:t=>Ti({url:"common/pub/getSystemInfo",method:"post",data:t}),register:t=>Ti({url:"common/pub/register",method:"post",data:t}),uploadAvatar:t=>Ti({url:"common/upload/uploadAvatar",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}}),publishNotice:t=>Ti({url:"manage/index/publishNotice",method:"post",data:t}),getNoticeList:t=>Ti({url:"manage/index/noticeList",method:"post",data:t}),delNotice:t=>Ti({url:"manage/index/delNotice",method:"post",data:t})};var Mi=Ni;s["default"].use(v.ZP);const Li={userInfo:null,allAuth:null,socketAction:"",contactSync:"",toContactId:0,unread:0,allContacts:[],globalConfig:[],wsStatus:!0,setting:{sendKey:"1",theme:"default",isVoice:!0,avatarCricle:!1,hideMessageName:!1,hideMessageTime:!1}},Ui={SET_USERINFO:(t,e)=>{o().set("UserInfo",e),t.userInfo=e,e.setting&&(t.setting=e.setting)},SET_AUTH:(t,e)=>{const i=e.authToken,s=e.sessionId;o().set("authToken",i),o().set("sessionId",s),yi(i,s)},catchSocketAction(t,e){t.socketAction=e},updateUnread:(t,e)=>{t.unread=parseInt(e)},initContacts:(t,e)=>{t.allContacts=e},openChat:(t,e)=>{t.toContactId=e,t.contactSync=Math.random().toString(36).substr(-8)},updateSetting(t,e){t.userInfo.setting=e,t.setting=e},setGlobalConfig(t,e){t.globalConfig=e}},Oi={Login({commit:t,dispatch:e},i){return new Promise(((s,n)=>{Mi.loginAPI(i).then((e=>{const i=e.data||i;t("SET_AUTH",i),t("SET_USERINFO",i.userInfo),s(e)})).catch((t=>{e("LogOut"),n(t)}))}))},LogOut({commit:t}){return new Promise(((t,e)=>{Mi.logoutAPI().then((()=>{o().rm("authToken"),o().rm("sessionId"),o().rm("UserInfo"),bi(),hi(),t()})).catch((t=>{e(t)}))}))},getSystemInfo({commit:t}){return new Promise(((e,i)=>{Mi.getSystemInfo().then((i=>{0==i.code&&(o().set("globalConfig",i.data),t("setGlobalConfig",i.data),e(i))})).catch((t=>{i(t)}))}))},sendCode({commit:t},e){return new Promise(((t,i)=>{Mi.sendCode(e).then((e=>{t(e)})).catch((t=>{i(t)}))}))}};var Di=new v.ZP.Store({state:Li,mutations:Ui,actions:Oi}),Pi=i(5602),ji=i.n(Pi),Ri=i(1081);s["default"].directive("outside",Ri.Z);var Bi=i(530),Fi=i.n(Bi);const $i=["/login","/register"],Hi=["/","/demo","/chat"];pi.beforeEach(((t,e,i)=>{if(t.meta.disabled)i(!1);else if(Fi().start(),Ci()){let e=o().get("globalConfig"),s=e.demon_mode,n="";s&&(n="/demo");let a=o().get("UserInfo");$i.includes(t.path)||"/"==t.path&&n?(i({path:n}),Fi().done()):Hi.includes(t.path)&&0==e.sysInfo.state?(a&&a.role>0||s?i({path:"/manage/index"}):i({path:"/404",query:{msg:e.sysInfo.closeTips}}),Fi().done()):-1!==t.path.indexOf("manage")?a&&a.role>0||s?i():(p.Message.error("您没有权限访问该页面"),i(!1),Fi().done()):i()}else-1!==$i.indexOf(t.path)?i():(i("/login"),Fi().done())})),pi.afterEach((()=>{Fi().done()})),pi.onError((t=>{const e=/Loading chunk (\d)+ failed/g,i=t.message.match(e),s=pi.history.pending.fullPath;i&&pi.replace(s)}));var Vi,Gi,Ki,zi,Qi,Yi,Ji,qi,Wi,Zi,Xi=JSON.parse('{"name":"Raingad-IM","version":"5.5.0","description":"一款基于vue2.0的即时聊天工具","logo":"/assets/img/logo.png","frontUrl":"https://gitee.com/raingad/im-chat-front","backstageUrl":"https://gitee.com/raingad/im-instant-chat","mobileUrl":"https://im.raingad.com/h5","author":"Raingad","license":"Apache2.0","qqGroupUrl":"https://jq.qq.com/?_wv=1027&k=jMQAt9lh","private":true,"funcList":[{"icon":"el-icon-chat-line-round","text":"支持单聊和群聊,支持发送表情、图片、语音、视频和文件消息"},{"icon":"el-icon-potato-strips","text":"单聊支持消息已读未读的状态显示,在线状态显示"},{"icon":"el-icon-user","text":"群聊创建、删除和群成员管理、群公告、群禁言、@群成员等"},{"icon":"el-icon-ice-cream-round","text":"支持置顶联系人,消息免打扰;支持设置新消息声音提醒,浏览器通知"},{"icon":"el-icon-video-camera","text":"支持一对一音视频通话(已打通web端和移动端,小程序不支持)"},{"icon":"el-icon-milk-tea","text":"支持文件、图片和绝大部分媒体文件在线预览"},{"icon":"el-icon-mobile-phone","text":"支持移动端(由uniapp开发,可打包H5、APP和小程序),支持简易后台管理"},{"icon":"el-icon-coffee-cup","text":"支持企业模式和社交模式,社交模式支持注册、添加好友功能"}],"scripts":{"serve":"vue-cli-service serve","build":"vue-cli-service build","lint":"vue-cli-service lint"},"dependencies":{"axios":"^0.21.4","core-js":"^3.8.3","cropperjs":"^1.5.13","element-ui":"^2.15.13","js-audio-recorder":"^1.0.7","js-web-screen-shot":"^1.9.8-rc.3","lockr":"^0.8.5","nprogress":"^0.2.0","v-clipboard":"^2.2.3","vue":"^2.6.14","vue-canvas-poster":"^1.2.1","vue-qr":"^4.0.9","vue-router":"^3.5.1","vuex":"^3.6.2"},"devDependencies":{"@babel/core":"^7.12.16","@babel/eslint-parser":"^7.12.16","@vue/cli-plugin-babel":"~5.0.0","@vue/cli-plugin-eslint":"~5.0.0","@vue/cli-plugin-router":"~5.0.0","@vue/cli-plugin-vuex":"~5.0.0","@vue/cli-service":"~5.0.0","eslint":"^7.32.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^4.0.0","eslint-plugin-vue":"^8.0.3","prettier":"^2.4.1","sass":"^1.32.7","sass-loader":"^12.0.0","vue-template-compiler":"^2.6.14"},"rules":{"generator-star-spacing":"off","no-tabs":"off","no-unused-vars":"off","no-console":"off","no-irregular-whitespace":"off","no-debugger":"off"}}'),ts=i(8701),es=i.n(ts),is={name:"lemonMessageVoice",inheritAttrs:!1,inject:["IMUI"],render(){const t=arguments[0];return t("lemon-message-basic",es()([{class:"lemon-message-voice"},{props:{...this.$attrs}},{attrs:{reverse:this.$attrs.reverse,message:this.$attrs.message,hideName:this.$attrs.hideName,hideTime:this.$attrs.hideTime},scopedSlots:{content:e=>t("div",{class:["voice-card lz-flex lz-justify-content-start lz-align-items-center",{"im-rows-reverse":this.$attrs.reverse}],style:{width:3*e.extends.duration+"px"}},[t("div",{class:["iconfont icon-im-yuyin f-16",{"voice-icon":e.isPlay},{rotate180:this.$attrs.reverse}]}),"  ",t("div",[e.extends.duration,'"'])])}}]))}},ss=is,ns=(0,d.Z)(ss,Vi,Gi,!1,null,null,null),as=ns.exports,rs={name:"lemonMessageVideo",inheritAttrs:!1,inject:["IMUI"],render(){const t=arguments[0];return t("lemon-message-basic",es()([{class:"lemon-message-video"},{props:{...this.$attrs}},{attrs:{reverse:this.$attrs.reverse,message:this.$attrs.message,hideName:this.$attrs.hideName,hideTime:this.$attrs.hideTime},scopedSlots:{content:e=>t("div",{class:["video-card"],style:{}},[t("el-image",{style:"max-height: 200px",attrs:{src:e.extends.poster,fit:"cover"}},[t("div",{slot:"error",class:"image-slot"},[t("i",{class:"el-icon-picture-outline"})])]),t("div",{class:"video-shadow"},[t("div",{class:"el-icon el-icon-video-play c-white f-28 video-icon"})])])}}]))}},os=rs,cs=(0,d.Z)(os,Ki,zi,!1,null,null,null),ls=cs.exports,ds={name:"lemonMessageWebrtc",inheritAttrs:!1,inject:["IMUI"],render(){const t=arguments[0];return t("lemon-message-basic",es()([{class:"lemon-message-webrtc"},{props:{...this.$attrs}},{attrs:{reverse:this.$attrs.reverse,message:this.$attrs.message,hideName:this.$attrs.hideName,hideTime:this.$attrs.hideTime},scopedSlots:{content:e=>t("div",{class:["voice-card lz-flex lz-justify-content-start lz-align-items-center",{"im-rows-reverse":this.$attrs.reverse}],style:""},[t("div",{class:["el-icon f-16",{"el-icon-phone-outline":0==e.extends.type},{"el-icon-video-camera":1==e.extends.type},{rotate180:this.$attrs.reverse}]}),"  ",t("div",[e.content])])}}]))}},us=ds,hs=(0,d.Z)(us,Qi,Yi,!1,null,null,null),ps=hs.exports,ms=i(3817),gs={name:"lemonMessageFile",inheritAttrs:!1,render(){const t=arguments[0];return t("lemon-message-basic",es()([{class:"lemon-message-file"},{props:{...this.$attrs}},{scopedSlots:{content:e=>[t("div",{class:"lemon-message-file__inner"},[t("p",{class:"lemon-message-file__name"},[e.fileName]),t("p",{class:"lemon-message-file__byte"},[(0,ms.hR)(e.fileSize)])]),t("div",{class:"lemon-message-file__sfx"},[t("img",{attrs:{src:e.extUrl},style:"width:34px;height:42px"})])]}}]))}},fs=gs,vs=(0,d.Z)(fs,Ji,qi,!1,null,"8e81f66c",null),bs=vs.exports,ys={name:"lemonMessageText",inheritAttrs:!1,inject:["IMUI"],render(){const t=arguments[0];return t("lemon-message-basic",es()([{class:"lemon-message-text"},{props:{...this.$attrs}},{scopedSlots:{content:e=>{const i=this.IMUI.emojiNameToImage(e.content),s=e.extends&&e.extends.content;return t("div",[t("span",es()([{},{domProps:{innerHTML:i}}])),s?t("div",{class:"message-quote"},[t("span",[e.extends.content])]):""])}}}]))}},Cs=ys,xs=(0,d.Z)(Cs,Wi,Zi,!1,null,"bf5aa10c",null),ws=xs.exports;const ks=function(){return document.addEventListener?function(t,e,i){t&&e&&i&&t.addEventListener(e,i,!1)}:function(t,e,i){t&&e&&i&&t.attachEvent("on"+e,i)}}(),Is=(function(){document.removeEventListener}(),[]),As="@@wkClickoutsideContext";let _s,Es=0;function Ss(t,e,i){return function(s={},n={}){!(i&&i.context&&s.target&&n.target)||t.contains(s.target)||t.contains(n.target)||t===s.target||i.context.popperElm&&(i.context.popperElm.contains(s.target)||i.context.popperElm.contains(n.target))||(e.expression&&t[As].methodName&&i.context[t[As].methodName]?i.context[t[As].methodName]():t[As].bindingFn&&t[As].bindingFn())}}!s["default"].prototype.$isServer&&ks(document,"mousedown",(t=>_s=t)),!s["default"].prototype.$isServer&&ks(document,"mouseup",(t=>{Is.forEach((e=>e[As].documentHandler(t,_s)))}));var Ts={bind(t,e,i){Is.push(t);const s=Es++;t[As]={id:s,documentHandler:Ss(t,e,i),methodName:e.expression,bindingFn:e.value}},update(t,e,i){t[As].documentHandler=Ss(t,e,i),t[As].methodName=e.expression,t[As].bindingFn=e.value},unbind(t){const e=Is.length;for(let i=0;iTi({url:"/manage/Task/getTaskList",method:"post",data:t}),startTask:t=>Ti({url:"/manage/Task/startTask",method:"post",data:t}),stopTask:t=>Ti({url:"/manage/Task/stopTask",method:"post",data:t}),getTaskLog:t=>Ti({url:"/manage/Task/getTaskLog",method:"post",data:t}),clearTaskLog:t=>Ti({url:"/manage/Task/clearTaskLog",method:"post",data:t})};var Ms=Ns;const Ls={setConfig:t=>Ti({url:"manage/config/setConfig",method:"post",data:t}),getConfig:t=>Ti({url:"manage/config/getConfig",method:"post",data:t}),getAllConfig:t=>Ti({url:"manage/config/getAllConfig",method:"post",data:t}),getInviteLink:t=>Ti({url:"manage/config/getInviteLink",method:"post",data:t}),sendTestEmail:t=>Ti({url:"manage/config/sendTestEmail",method:"post",data:t})};var Us=Ls;const Os={getUserList:t=>Ti({url:"/manage/User/index",method:"post",data:t}),addUser:t=>Ti({url:"/manage/User/add",method:"post",data:t}),editUser:t=>Ti({url:"/manage/User/edit",method:"post",data:t}),delUser:t=>Ti({url:"/manage/User/del",method:"post",data:t}),getUserDetail:t=>Ti({url:"/manage/User/detail",method:"post",data:t}),editPassword:t=>Ti({url:"/manage/User/editPassword",method:"post",data:t}),setStatus:t=>Ti({url:"/manage/User/setStatus",method:"post",data:t}),setRole:t=>Ti({url:"/manage/User/setRole",method:"post",data:t})};var Ds=Os;const Ps={getGroupList:t=>Ti({url:"/manage/Group/index",method:"post",data:t}),addGroupUser:t=>Ti({url:"/manage/Group/addGroupUser",method:"post",data:t}),delGroupUser:t=>Ti({url:"/manage/Group/delGroupUser",method:"post",data:t}),changeOwner:t=>Ti({url:"/manage/Group/changeOwner",method:"post",data:t}),setManager:t=>Ti({url:"/manage/Group/setManager",method:"post",data:t}),delGroup:t=>Ti({url:"/manage/Group/del",method:"post",data:t})};var js=Ps;const Rs={getContactsAPI:t=>Ti({url:"enterprise/im/getContacts",method:"post",data:t}),sendMessageAPI:t=>Ti({url:"enterprise/im/sendMessage",method:"post",data:t}),forwardMessageAPI:t=>Ti({url:"enterprise/im/forwardMessage",method:"post",data:t}),sendToMsg:t=>Ti({url:"enterprise/im/sendToMsg",method:"post",data:t})};Rs.forwardMessageAPI=t=>Ti({url:"enterprise/im/forwardMessage",method:"post",data:t}),Rs.sendFileAPI=t=>Ti({url:"common/upload/uploadFile",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"}}),Rs.getMessageListAPI=t=>Ti({url:"enterprise/im/getMessageList",method:"post",data:t}),Rs.setMsgIsReadAPI=t=>Ti({url:"enterprise/im/setMsgIsRead",method:"post",data:t}),Rs.undoMessageAPI=t=>Ti({url:"enterprise/im/undoMessage",method:"post",data:t}),Rs.delMessageAPI=t=>Ti({url:"enterprise/im/delMessage",method:"post",data:t}),Rs.removeMessageAPI=t=>Ti({url:"enterprise/im/removeMessage",method:"post",data:t}),Rs.settingAPI=t=>Ti({url:"enterprise/im/setting",method:"post",data:t}),Rs.editGroupNameAPI=t=>Ti({url:"enterprise/group/editGroupName",method:"post",data:t}),Rs.setNoSpeakAPI=t=>Ti({url:"enterprise/group/setNoSpeak",method:"post",data:t}),Rs.groupUserListAPI=t=>Ti({url:"enterprise/group/groupuserlist",method:"post",data:t}),Rs.getAllUserAPI=t=>Ti({url:"enterprise/group/getAllUser",method:"post",data:t}),Rs.addGroupAPI=t=>Ti({url:"enterprise/group/add",method:"post",data:t}),Rs.setManagerAPI=t=>Ti({url:"enterprise/group/setManager",method:"post",data:t}),Rs.removeUserAPI=t=>Ti({url:"enterprise/group/removeUser",method:"post",data:t}),Rs.addGroupUserAPI=t=>Ti({url:"enterprise/group/addGroupUser",method:"post",data:t}),Rs.removeGrouprAPI=t=>Ti({url:"enterprise/group/removeGroup",method:"post",data:t}),Rs.setNoticeAPI=t=>Ti({url:"enterprise/group/setNotice",method:"post",data:t}),Rs.groupSettingAPI=t=>Ti({url:"enterprise/group/groupSetting",method:"post",data:t}),Rs.clearMessageAPI=t=>Ti({url:"enterprise/group/clearMessage",method:"post",data:t}),Rs.getGroupInfoAPI=t=>Ti({url:"enterprise/group/groupInfo",method:"post",data:t}),Rs.changeOwnerAPI=t=>Ti({url:"enterprise/group/changeOwner",method:"post",data:t}),Rs.isNoticeAPI=t=>Ti({url:"enterprise/im/isNotice",method:"post",data:t}),Rs.setChatTopAPI=t=>Ti({url:"enterprise/im/setChatTop",method:"post",data:t}),Rs.getUserInfo=t=>Ti({url:"enterprise/im/getUserInfo",method:"post",data:t}),Rs.getFileList=t=>Ti({url:"enterprise/files/index",method:"post",data:t}),Rs.updateUserInfo=t=>Ti({url:"enterprise/im/updateUserInfo",method:"post",data:t}),Rs.editAccount=t=>Ti({url:"enterprise/im/editAccount",method:"post",data:t}),Rs.editPassword=t=>Ti({url:"enterprise/im/editpassword",method:"post",data:t}),Rs.searchUser=t=>Ti({url:"enterprise/im/searchUser",method:"post",data:t}),Rs.userList=t=>Ti({url:"enterprise/im/userList",method:"post",data:t}),Rs.contactInfo=t=>Ti({url:"enterprise/im/getContactInfo",method:"post",data:t});var Bs=Rs;const Fs={getApplyList:t=>Ti({url:"enterprise/friend/index",method:"post",data:t}),addFriend:t=>Ti({url:"enterprise/friend/add",method:"post",data:t}),delFriend:t=>Ti({url:"enterprise/friend/del",method:"post",data:t}),acceptFriend:t=>Ti({url:"enterprise/friend/update",method:"post",data:t}),setNickname:t=>Ti({url:"enterprise/friend/setNickname",method:"post",data:t}),getApplyMsg:t=>Ti({url:"enterprise/friend/getApplyMsg",method:"post",data:t})};var $s=Fs;const Hs={getMessageList:t=>Ti({url:"manage/message/index",method:"post",data:t}),getContacts:t=>Ti({url:"manage/message/getContacts",method:"post",data:t}),dealMsg:t=>Ti({url:"manage/message/dealMsg",method:"post",data:t})};var Vs=Hs,Gs={taskApi:Ms,configApi:Us,userApi:Ds,groupApi:js,imApi:Bs,commonApi:Mi,friendApi:$s,messageApi:Vs};s["default"].use(w),s["default"].use(T),s["default"].use(m(),{size:"small"}),s["default"].use(M()),s["default"].use(Di),s["default"].use(ji()),s["default"].config.productionTip=!1,s["default"].prototype.$packageData=Xi,s["default"].component(ls.name,ls),s["default"].component(as.name,as),s["default"].component(ps.name,ps),s["default"].component(bs.name,bs),s["default"].component(ws.name,ws),s["default"].directive("elclickoutside",Ts),s["default"].prototype.$api=Gs,new s["default"]({el:"#app",router:pi,store:Di,components:{App:h},template:""})},3817:function(t,e,i){"use strict";function s(t){let e=new Array(" B"," KB"," MB"," GB"," TB"),i=t+"B";for(let s=0;t>=1024&&s<4;s++)t/=1024,i=t.toFixed(2)+e[s+1];return i}function n(t){var e="https://file.lcoce.com/ext/",i=t.split("."),s=i[i.length-1],n=s.toUpperCase(),a=["jpg","jpeg","png","bmp","gif","pdf","mp3","wav","wmv","amr","mp4","3gp","avi","m2v","mkv","mov","webp","ppt","pptx","doc","docx","xls","xlsx","pdf"];return a.includes(n)?e+n+".png":e+"icon/document.svg"}function a(t,e){let i=document.createElement("a"),s=t.split(".").pop(),n=["jpg","jpeg","png","bmp","gif","pdf","mp3","wav","wmv","amr","mp4","3gp","avi","m2v","mkv","mov","webp"];-1!==n.indexOf(s)?i.download=e||"pic":i.download=e||"file",i.href=t,i.click()}i.d(e,{AC:function(){return n},LR:function(){return a},hR:function(){return s}})},2325:function(t,e,i){"use strict";i.d(e,{I8:function(){return s},L4:function(){return r},NW:function(){return l},Nj:function(){return a},hT:function(){return c},i$:function(){return o},iu:function(){return n},nZ:function(){return d},xb:function(){return u}});i(2801),i(7658),i(3408),i(4590);function s(t){return JSON.parse(JSON.stringify(t))}function n(t,e,i){if("object"!==typeof t)return!1;for(var s=[],n=0;t.length>n;n++)if("object"==typeof e)for(var a=0;e.length>a;a++){var r=e[a],o=t[n][r];if(-1!=o.indexOf(i)){s.push(t[n]);break}}else{o=t[n][e];-1!=o.indexOf(i)&&s.push(t[n])}return s}function a(t,e,i){i="undefined"!==typeof i&&i;for(var s=[],n=0;n=s)return c("H:i",t/1e3);if(i>=n&&i=a&&i=r&&i>0},W:function(){var t,e=o.z(),s=364+o.L()-e,n=(new Date(i.getFullYear()+"/1/1").getDay()||7)-1;return s<=2&&(i.getDay()||7)-1<=2-s?1:e<=2&&n>=4&&e>=6-n?(t=new Date(i.getFullYear()-1+"/12/31"),c("W",Math.round(t.getTime()/1e3))):1+(n<=3?(e+n)/7:(e-(7-n))/7)>>0},F:function(){return r[o.n()]},m:function(){return s(o.n(),2)},M:function(){return o.F().substr(0,3)},n:function(){return i.getMonth()+1},t:function(){var t;return 2===(t=i.getMonth()+1)?28+o.L():1&t&&t<8||!(1&t)&&t>7?31:30},L:function(){var t=o.Y();return 3&t||!(t%100)&&t%400?0:1},Y:function(){return i.getFullYear()},y:function(){return(i.getFullYear()+"").slice(2)},a:function(){return i.getHours()>11?"pm":"am"},A:function(){return o.a().toUpperCase()},B:function(){var t=60*(i.getTimezoneOffset()+60),e=3600*i.getHours()+60*i.getMinutes()+i.getSeconds()+t,s=Math.floor(e/86.4);return s>1e3&&(s-=1e3),s<0&&(s+=1e3),1===String(s).length&&(s="00"+s),2===String(s).length&&(s="0"+s),s},g:function(){return i.getHours()%12||12},G:function(){return i.getHours()},h:function(){return s(o.g(),2)},H:function(){return s(i.getHours(),2)},i:function(){return s(i.getMinutes(),2)},s:function(){return s(i.getSeconds(),2)},O:function(){var t=s(Math.abs(i.getTimezoneOffset()/60*100),4);return t=i.getTimezoneOffset()>0?"-"+t:"+"+t,t},P:function(){var t=o.O();return t.substr(0,3)+":"+t.substr(3,2)},c:function(){return o.Y()+"-"+o.m()+"-"+o.d()+"T"+o.h()+":"+o.i()+":"+o.s()+o.P()},U:function(){return Math.round(i.getTime()/1e3)}};let l="";return t.replace(/[\\]?([a-zA-Z])/g,(function(t,e){return l=t!==e?e:o[e]?o[e]():e,l}))}function l(){var t=(new Date).getTime(),e="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var i=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"==e?i:3&i|8).toString(16)}));return e}function d(t,e){let i="[暂不支持的消息类型]";switch(t){case"text":i="[文本]";break;case"image":i="[图片]";break;case"voice":i="[语音]";break;case"video":i="[视频]";break;case"file":i="[文件]";break;case"location":i="[位置]";break;case"contact":i="[个人名片]";break;case"webrtc":i=e?"[正在请求与您视频通话]":"[正在请求与您语音通话]";break}return i}function u(t){return null===t||(void 0===t||("[object Array]"===Object.prototype.toString.call(t)?0===t.length:"[object Object]"===Object.prototype.toString.call(t)?0===Object.keys(t).length:"string"===typeof t&&""===t.trim()))}},5617:function(t){"use strict";t.exports="data:image/png;base64,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"},9072:function(t){"use strict";t.exports="data:image/png;base64,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"},8421:function(t){"use strict";t.exports="data:image/png;base64,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"},8516:function(t){"use strict";t.exports="data:image/png;base64,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"},2414:function(t){"use strict";t.exports="data:image/png;base64,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"},2942:function(t){"use strict";t.exports="data:image/png;base64,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"},7420:function(t,e,i){"use strict";t.exports=i.p+"assets/media/calling.69742e4c.mp3"},1739:function(t,e,i){"use strict";t.exports=i.p+"assets/media/guaduan.c0b3124b.mp3"},444:function(t,e,i){"use strict";t.exports=i.p+"assets/media/notify.3d49176d.mp3"},1315:function(t,e,i){"use strict";t.exports=i.p+"assets/media/notify.7668dd76.ogg"},8611:function(t,e,i){"use strict";t.exports=i.p+"assets/media/notify.e6953ff1.wav"},4654:function(){}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var a=e[s]={id:s,loaded:!1,exports:{}};return t[s].call(a.exports,a,a.exports,i),a.loaded=!0,a.exports}i.m=t,function(){i.amdO={}}(),function(){var t=[];i.O=function(e,s,n,a){if(!s){var r=1/0;for(d=0;d=a)&&Object.keys(i.O).every((function(t){return i.O[t](s[c])}))?s.splice(c--,1):(o=!1,a0&&t[d-1][2]>a;d--)t[d]=t[d-1];t[d]=[s,n,a]}}(),function(){i.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return i.d(e,{a:e}),e}}(),function(){i.d=function(t,e){for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})}}(),function(){i.f={},i.e=function(t){return Promise.all(Object.keys(i.f).reduce((function(e,s){return i.f[s](t,e),e}),[]))}}(),function(){i.u=function(t){return"assets/js/"+t+"."+{133:"3a1dfa9e",173:"9e08cf23",567:"a6404721",585:"dea7864f",647:"d01223a0",687:"70d7eca3",789:"34f6ec0f",982:"0e09100e"}[t]+".js"}}(),function(){i.miniCssF=function(t){return"assets/css/"+t+"."+{133:"7f9367b6",173:"fc941ab9",567:"74d1a927",585:"8fcf2825",687:"d8d9e482",789:"62ab164a",982:"f6ad2033"}[t]+".css"}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={},e="Raingad-IM:";i.l=function(s,n,a,r){if(t[s])t[s].push(n);else{var o,c;if(void 0!==a)for(var l=document.getElementsByTagName("script"),d=0;dc)if(s=A[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in A)&&A[c]===n)return e||c||0;return!e&&-1}}},4499:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},4731:function(e){var t=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},1821:function(e,t,n){var i=n(1449);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},1605:function(e){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},5810:function(e,t,n){e.exports=!n(3777)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},2571:function(e,t,n){var i=n(9151),r=n(9362).document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},5568:function(e){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},2052:function(e,t,n){var i=n(9656),r=n(2614),o=n(3416);e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),A=o.f,l=0;while(s.length>l)A.call(e,a=s[l++])&&t.push(a)}return t}},9901:function(e,t,n){var i=n(9362),r=n(4731),o=n(1821),a=n(6519),s=n(3571),A="prototype",l=function(e,t,n){var c,u,h,d=e&l.F,f=e&l.G,p=e&l.S,g=e&l.P,m=e&l.B,v=e&l.W,y=f?r:r[t]||(r[t]={}),b=y[A],w=f?i:p?i[t]:(i[t]||{})[A];for(c in f&&(n=t),n)u=!d&&w&&void 0!==w[c],u&&s(y,c)||(h=u?w[c]:n[c],y[c]=f&&"function"!=typeof w[c]?n[c]:m&&u?o(h,i):v&&w[c]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[A]=e[A],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[c]=h,e&l.R&&b&&!b[c]&&a(b,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},3777:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},9362:function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},3571:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},6519:function(e,t,n){var i=n(1738),r=n(8051);e.exports=n(5810)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},203:function(e,t,n){var i=n(9362).document;e.exports=i&&i.documentElement},3254:function(e,t,n){e.exports=!n(5810)&&!n(3777)((function(){return 7!=Object.defineProperty(n(2571)("div"),"a",{get:function(){return 7}}).a}))},2312:function(e,t,n){var i=n(4499);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},7539:function(e,t,n){var i=n(4499);e.exports=Array.isArray||function(e){return"Array"==i(e)}},9151:function(e){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},9163:function(e,t,n){"use strict";var i=n(4055),r=n(8051),o=n(420),a={};n(6519)(a,n(5346)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},4346:function(e,t,n){"use strict";var i=n(7346),r=n(9901),o=n(1865),a=n(6519),s=n(3135),A=n(9163),l=n(420),c=n(1146),u=n(5346)("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",p="values",g=function(){return this};e.exports=function(e,t,n,m,v,y,b){A(n,t,m);var w,B,C,x=function(e){if(!h&&e in E)return E[e];switch(e){case f:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S=v==p,k=!1,E=e.prototype,F=E[u]||E[d]||v&&E[v],Q=F||x(v),U=v?S?x("entries"):Q:void 0,O="Array"==t&&E.entries||F;if(O&&(C=c(O.call(new e)),C!==Object.prototype&&C.next&&(l(C,_,!0),i||"function"==typeof C[u]||a(C,u,g))),S&&F&&F.name!==p&&(k=!0,Q=function(){return F.call(this)}),i&&!b||!h&&!k&&E[u]||a(E,u,Q),s[t]=Q,s[_]=g,v)if(w={values:S?Q:x(p),keys:y?Q:x(f),entries:U},b)for(B in w)B in E||o(E,B,w[B]);else r(r.P+r.F*(h||k),t,w);return w}},4098:function(e){e.exports=function(e,t){return{value:t,done:!!e}}},3135:function(e){e.exports={}},7346:function(e){e.exports=!0},5965:function(e,t,n){var i=n(3535)("meta"),r=n(9151),o=n(3571),a=n(1738).f,s=0,A=Object.isExtensible||function(){return!0},l=!n(3777)((function(){return A(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},u=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!A(e))return"F";if(!t)return"E";c(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!A(e))return!0;if(!t)return!1;c(e)}return e[i].w},d=function(e){return l&&f.NEED&&A(e)&&!o(e,i)&&c(e),e},f=e.exports={KEY:i,NEED:!1,fastKey:u,getWeak:h,onFreeze:d}},266:function(e,t,n){"use strict";var i=n(5810),r=n(9656),o=n(2614),a=n(3416),s=n(9411),A=n(2312),l=Object.assign;e.exports=!l||n(3777)((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i}))?function(e,t){var n=s(e),l=arguments.length,c=1,u=o.f,h=a.f;while(l>c){var d,f=A(arguments[c++]),p=u?r(f).concat(u(f)):r(f),g=p.length,m=0;while(g>m)d=p[m++],i&&!h.call(f,d)||(n[d]=f[d])}return n}:l},4055:function(e,t,n){var i=n(6504),r=n(121),o=n(5568),a=n(6210)("IE_PROTO"),s=function(){},A="prototype",l=function(){var e,t=n(2571)("iframe"),i=o.length,r="<",a=">";t.style.display="none",n(203).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),l=e.F;while(i--)delete l[A][o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[A]=i(e),n=new s,s[A]=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},1738:function(e,t,n){var i=n(6504),r=n(3254),o=n(4866),a=Object.defineProperty;t.f=n(5810)?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},121:function(e,t,n){var i=n(1738),r=n(6504),o=n(9656);e.exports=n(5810)?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,A=0;while(s>A)i.f(e,n=a[A++],t[n]);return e}},8437:function(e,t,n){var i=n(3416),r=n(8051),o=n(4874),a=n(4866),s=n(3571),A=n(3254),l=Object.getOwnPropertyDescriptor;t.f=n(5810)?l:function(e,t){if(e=o(e),t=a(t,!0),A)try{return l(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},2029:function(e,t,n){var i=n(4874),r=n(1471).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},1471:function(e,t,n){var i=n(6152),r=n(5568).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},2614:function(e,t){t.f=Object.getOwnPropertySymbols},1146:function(e,t,n){var i=n(3571),r=n(9411),o=n(6210)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},6152:function(e,t,n){var i=n(3571),r=n(4874),o=n(4389)(!1),a=n(6210)("IE_PROTO");e.exports=function(e,t){var n,s=r(e),A=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(t.length>A)i(s,n=t[A++])&&(~o(l,n)||l.push(n));return l}},9656:function(e,t,n){var i=n(6152),r=n(5568);e.exports=Object.keys||function(e){return i(e,r)}},3416:function(e,t){t.f={}.propertyIsEnumerable},8051:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},1865:function(e,t,n){e.exports=n(6519)},420:function(e,t,n){var i=n(1738).f,r=n(3571),o=n(5346)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},6210:function(e,t,n){var i=n(7571)("keys"),r=n(3535);e.exports=function(e){return i[e]||(i[e]=r(e))}},7571:function(e,t,n){var i=n(4731),r=n(9362),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(7346)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},2222:function(e,t,n){var i=n(1485),r=n(1605);e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),A=i(n),l=s.length;return A<0||A>=l?e?"":void 0:(o=s.charCodeAt(A),o<55296||o>56319||A+1===l||(a=s.charCodeAt(A+1))<56320||a>57343?e?s.charAt(A):o:e?s.slice(A,A+2):a-56320+(o-55296<<10)+65536)}}},9838:function(e,t,n){var i=n(1485),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},1485:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},4874:function(e,t,n){var i=n(2312),r=n(1605);e.exports=function(e){return i(r(e))}},8317:function(e,t,n){var i=n(1485),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},9411:function(e,t,n){var i=n(1605);e.exports=function(e){return Object(i(e))}},4866:function(e,t,n){var i=n(9151);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},3535:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+n).toString(36))}},1875:function(e,t,n){var i=n(9362),r=n(4731),o=n(7346),a=n(7613),s=n(1738).f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},7613:function(e,t,n){t.f=n(5346)},5346:function(e,t,n){var i=n(7571)("wks"),r=n(3535),o=n(9362).Symbol,a="function"==typeof o,s=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};s.store=i},1092:function(e,t,n){"use strict";var i=n(5345),r=n(4098),o=n(3135),a=n(4874);e.exports=n(4346)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},529:function(e,t,n){var i=n(9901);i(i.S+i.F,"Object",{assign:n(266)})},464:function(){},3036:function(e,t,n){"use strict";var i=n(2222)(!0);n(4346)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},3835:function(e,t,n){"use strict";var i=n(9362),r=n(3571),o=n(5810),a=n(9901),s=n(1865),A=n(5965).KEY,l=n(3777),c=n(7571),u=n(420),h=n(3535),d=n(5346),f=n(7613),p=n(1875),g=n(2052),m=n(7539),v=n(6504),y=n(9151),b=n(9411),w=n(4874),B=n(4866),C=n(8051),x=n(4055),_=n(2029),S=n(8437),k=n(2614),E=n(1738),F=n(9656),Q=S.f,U=E.f,O=_.f,I=i.Symbol,D=i.JSON,T=D&&D.stringify,P="prototype",M=d("_hidden"),H=d("toPrimitive"),L={}.propertyIsEnumerable,N=c("symbol-registry"),R=c("symbols"),j=c("op-symbols"),$=Object[P],V="function"==typeof I&&!!k.f,K=i.QObject,z=!K||!K[P]||!K[P].findChild,W=o&&l((function(){return 7!=x(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Q($,t);i&&delete $[t],U(e,t,n),i&&e!==$&&U($,t,i)}:U,G=function(e){var t=R[e]=x(I[P]);return t._k=e,t},Y=V&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,n){return e===$&&X(j,t,n),v(e),t=B(t,!0),v(n),r(R,t)?(n.enumerable?(r(e,M)&&e[M][t]&&(e[M][t]=!1),n=x(n,{enumerable:C(0,!1)})):(r(e,M)||U(e,M,C(1,{})),e[M][t]=!0),W(e,t,n)):U(e,t,n)},J=function(e,t){v(e);var n,i=g(t=w(t)),r=0,o=i.length;while(o>r)X(e,n=i[r++],t[n]);return e},q=function(e,t){return void 0===t?x(e):J(x(e),t)},Z=function(e){var t=L.call(this,e=B(e,!0));return!(this===$&&r(R,e)&&!r(j,e))&&(!(t||!r(this,e)||!r(R,e)||r(this,M)&&this[M][e])||t)},ee=function(e,t){if(e=w(e),t=B(t,!0),e!==$||!r(R,t)||r(j,t)){var n=Q(e,t);return!n||!r(R,t)||r(e,M)&&e[M][t]||(n.enumerable=!0),n}},te=function(e){var t,n=O(w(e)),i=[],o=0;while(n.length>o)r(R,t=n[o++])||t==M||t==A||i.push(t);return i},ne=function(e){var t,n=e===$,i=O(n?j:w(e)),o=[],a=0;while(i.length>a)!r(R,t=i[a++])||n&&!r($,t)||o.push(R[t]);return o};V||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(j,n),r(this,M)&&r(this[M],e)&&(this[M][e]=!1),W(this,e,C(1,n))};return o&&z&&W($,e,{configurable:!0,set:t}),G(e)},s(I[P],"toString",(function(){return this._k})),S.f=ee,E.f=X,n(1471).f=_.f=te,n(3416).f=Z,k.f=ne,o&&!n(7346)&&s($,"propertyIsEnumerable",Z,!0),f.f=function(e){return G(d(e))}),a(a.G+a.W+a.F*!V,{Symbol:I});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=F(d.store),ae=0;oe.length>ae;)p(oe[ae++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return r(N,e+="")?N[e]:N[e]=I(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!V,"Object",{create:q,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l((function(){k.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return k.f(b(e))}}),D&&a(a.S+a.F*(!V||l((function(){var e=I();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(y(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,T.apply(D,i)}}),I[P][H]||n(6519)(I[P],H,I[P].valueOf),u(I,"Symbol"),u(Math,"Math",!0),u(i.JSON,"JSON",!0)},4427:function(e,t,n){n(1875)("asyncIterator")},9089:function(e,t,n){n(1875)("observable")},6740:function(e,t,n){n(1092);for(var i=n(9362),r=n(6519),o=n(3135),a=n(5346)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),A=0;Ac)if(s=A[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in A)&&A[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9671:function(e,t,n){var i=n(9974),r=n(8361),o=n(7908),a=n(6244),s=function(e){var t=1==e;return function(n,s,A){var l,c,u=o(n),h=r(u),d=i(s,A),f=a(h);while(f-- >0)if(l=h[f],c=d(l,f,u),c)switch(e){case 0:return l;case 1:return f}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},3658:function(e,t,n){"use strict";var i=n(9781),r=n(3157),o=TypeError,a=Object.getOwnPropertyDescriptor,s=i&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=s?function(e,t){if(r(e)&&!a(e,"length").writable)throw o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},206:function(e,t,n){var i=n(1702);e.exports=i([].slice)},4326:function(e,t,n){var i=n(84),r=i({}.toString),o=i("".slice);e.exports=function(e){return o(r(e),8,-1)}},648:function(e,t,n){var i=n(1694),r=n(614),o=n(4326),a=n(5112),s=a("toStringTag"),A=Object,l="Arguments"==o(function(){return arguments}()),c=function(e,t){try{return e[t]}catch(n){}};e.exports=i?o:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=c(t=A(e),s))?n:l?o(t):"Object"==(i=o(t))&&r(t.callee)?"Arguments":i}},9920:function(e,t,n){var i=n(2597),r=n(3887),o=n(1236),a=n(3070);e.exports=function(e,t,n){for(var s=r(t),A=a.f,l=o.f,c=0;cn)throw t("Maximum allowed index exceeded");return e}},3678:function(e){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},6833:function(e,t,n){var i=n(8113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(i)},5268:function(e,t,n){var i=n(4326),r=n(7854);e.exports="process"==i(r.process)},8113:function(e,t,n){var i=n(5005);e.exports=i("navigator","userAgent")||""},7392:function(e,t,n){var i,r,o=n(7854),a=n(8113),s=o.process,A=o.Deno,l=s&&s.versions||A&&A.version,c=l&&l.v8;c&&(i=c.split("."),r=i[0]>0&&i[0]<4?1:+(i[0]+i[1])),!r&&a&&(i=a.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/),i&&(r=+i[1]))),e.exports=r},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1060:function(e,t,n){var i=n(1702),r=Error,o=i("".replace),a=function(e){return String(r(e).stack)}("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,A=s.test(a);e.exports=function(e,t){if(A&&"string"==typeof e&&!r.prepareStackTrace)while(t--)e=o(e,s,"");return e}},2109:function(e,t,n){var i=n(7854),r=n(1236).f,o=n(8880),a=n(8052),s=n(3072),A=n(9920),l=n(4705);e.exports=function(e,t){var n,c,u,h,d,f,p=e.target,g=e.global,m=e.stat;if(c=g?i:m?i[p]||s(p,{}):(i[p]||{}).prototype,c)for(u in t){if(d=t[u],e.dontCallGetSet?(f=r(c,u),h=f&&f.value):h=c[u],n=l(g?u:p+(m?".":"#")+u,e.forced),!n&&void 0!==h){if(typeof d==typeof h)continue;A(d,h)}(e.sham||h&&h.sham)&&o(d,"sham",!0),a(c,u,d,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},2104:function(e,t,n){var i=n(4374),r=Function.prototype,o=r.apply,a=r.call;e.exports="object"==typeof Reflect&&Reflect.apply||(i?a.bind(o):function(){return a.apply(o,arguments)})},9974:function(e,t,n){var i=n(1702),r=n(9662),o=n(4374),a=i(i.bind);e.exports=function(e,t){return r(e),void 0===t?e:o?a(e,t):function(){return e.apply(t,arguments)}}},4374:function(e,t,n){var i=n(7293);e.exports=!i((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},6916:function(e,t,n){var i=n(4374),r=Function.prototype.call;e.exports=i?r.bind(r):function(){return r.apply(r,arguments)}},6530:function(e,t,n){var i=n(9781),r=n(2597),o=Function.prototype,a=i&&Object.getOwnPropertyDescriptor,s=r(o,"name"),A=s&&"something"===function(){}.name,l=s&&(!i||i&&a(o,"name").configurable);e.exports={EXISTS:s,PROPER:A,CONFIGURABLE:l}},84:function(e,t,n){var i=n(4374),r=Function.prototype,o=r.call,a=i&&r.bind.bind(o,o);e.exports=i?a:function(e){return function(){return o.apply(e,arguments)}}},1702:function(e,t,n){var i=n(4326),r=n(84);e.exports=function(e){if("Function"===i(e))return r(e)}},5005:function(e,t,n){var i=n(7854),r=n(614),o=function(e){return r(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e]):i[e]&&i[e][t]}},8173:function(e,t,n){var i=n(9662),r=n(8554);e.exports=function(e,t){var n=e[t];return r(n)?void 0:i(n)}},7854:function(e,t,n){var i=function(e){return e&&e.Math==Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(e,t,n){var i=n(1702),r=n(7908),o=i({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(r(e),t)}},3501:function(e){e.exports={}},490:function(e,t,n){var i=n(5005);e.exports=i("document","documentElement")},4664:function(e,t,n){var i=n(9781),r=n(7293),o=n(317);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},8361:function(e,t,n){var i=n(1702),r=n(7293),o=n(4326),a=Object,s=i("".split);e.exports=r((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?s(e,""):a(e)}:a},9587:function(e,t,n){var i=n(614),r=n(111),o=n(7674);e.exports=function(e,t,n){var a,s;return o&&i(a=t.constructor)&&a!==n&&r(s=a.prototype)&&s!==n.prototype&&o(e,s),e}},2788:function(e,t,n){var i=n(1702),r=n(614),o=n(5465),a=i(Function.toString);r(o.inspectSource)||(o.inspectSource=function(e){return a(e)}),e.exports=o.inspectSource},9909:function(e,t,n){var i,r,o,a=n(4811),s=n(7854),A=n(111),l=n(8880),c=n(2597),u=n(5465),h=n(6200),d=n(3501),f="Object already initialized",p=s.TypeError,g=s.WeakMap,m=function(e){return o(e)?r(e):i(e,{})},v=function(e){return function(t){var n;if(!A(t)||(n=r(t)).type!==e)throw p("Incompatible receiver, "+e+" required");return n}};if(a||u.state){var y=u.state||(u.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,i=function(e,t){if(y.has(e))throw p(f);return t.facade=e,y.set(e,t),t},r=function(e){return y.get(e)||{}},o=function(e){return y.has(e)}}else{var b=h("state");d[b]=!0,i=function(e,t){if(c(e,b))throw p(f);return t.facade=e,l(e,b,t),t},r=function(e){return c(e,b)?e[b]:{}},o=function(e){return c(e,b)}}e.exports={set:i,get:r,has:o,enforce:m,getterFor:v}},3157:function(e,t,n){var i=n(4326);e.exports=Array.isArray||function(e){return"Array"==i(e)}},614:function(e,t,n){var i=n(4154),r=i.all;e.exports=i.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}},4705:function(e,t,n){var i=n(7293),r=n(614),o=/#|\.prototype\./,a=function(e,t){var n=A[s(e)];return n==c||n!=l&&(r(t)?i(t):!!t)},s=a.normalize=function(e){return String(e).replace(o,".").toLowerCase()},A=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";e.exports=a},8554:function(e){e.exports=function(e){return null===e||void 0===e}},111:function(e,t,n){var i=n(614),r=n(4154),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:i(e)||e===o}:function(e){return"object"==typeof e?null!==e:i(e)}},1913:function(e){e.exports=!1},2190:function(e,t,n){var i=n(5005),r=n(614),o=n(7976),a=n(3307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return r(t)&&o(t.prototype,s(e))}},6244:function(e,t,n){var i=n(7466);e.exports=function(e){return i(e.length)}},6339:function(e,t,n){var i=n(7293),r=n(614),o=n(2597),a=n(9781),s=n(6530).CONFIGURABLE,A=n(2788),l=n(9909),c=l.enforce,u=l.get,h=Object.defineProperty,d=a&&!i((function(){return 8!==h((function(){}),"length",{value:8}).length})),f=String(String).split("String"),p=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||s&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),d&&n&&o(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(r){}var i=c(e);return o(i,"source")||(i.source=f.join("string"==typeof t?t:"")),e};Function.prototype.toString=p((function(){return r(this)&&u(this).source||A(this)}),"toString")},4758:function(e){var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var i=+e;return(i>0?n:t)(i)}},6277:function(e,t,n){var i=n(1340);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:i(e)}},30:function(e,t,n){var i,r=n(9670),o=n(6048),a=n(748),s=n(3501),A=n(490),l=n(317),c=n(6200),u=">",h="<",d="prototype",f="script",p=c("IE_PROTO"),g=function(){},m=function(e){return h+f+u+e+h+"/"+f+u},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=l("iframe"),n="java"+f+":";return t.style.display="none",A.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},b=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}b="undefined"!=typeof document?document.domain&&i?v(i):y():v(i);var e=a.length;while(e--)delete b[d][a[e]];return b()};s[p]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(g[d]=r(e),n=new g,g[d]=null,n[p]=e):n=b(),void 0===t?n:o.f(n,t)}},6048:function(e,t,n){var i=n(9781),r=n(3353),o=n(3070),a=n(9670),s=n(5656),A=n(1956);t.f=i&&!r?Object.defineProperties:function(e,t){a(e);var n,i=s(t),r=A(t),l=r.length,c=0;while(l>c)o.f(e,n=r[c++],i[n]);return e}},3070:function(e,t,n){var i=n(9781),r=n(4664),o=n(3353),a=n(9670),s=n(4948),A=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u="enumerable",h="configurable",d="writable";t.f=i?o?function(e,t,n){if(a(e),t=s(t),a(n),"function"===typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var i=c(e,t);i&&i[d]&&(e[t]=n.value,n={configurable:h in n?n[h]:i[h],enumerable:u in n?n[u]:i[u],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(a(e),t=s(t),a(n),r)try{return l(e,t,n)}catch(i){}if("get"in n||"set"in n)throw A("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var i=n(9781),r=n(6916),o=n(5296),a=n(9114),s=n(5656),A=n(4948),l=n(2597),c=n(4664),u=Object.getOwnPropertyDescriptor;t.f=i?u:function(e,t){if(e=s(e),t=A(t),c)try{return u(e,t)}catch(n){}if(l(e,t))return a(!r(o.f,e,t),e[t])}},8006:function(e,t,n){var i=n(6324),r=n(748),o=r.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var i=n(2597),r=n(614),o=n(7908),a=n(6200),s=n(8544),A=a("IE_PROTO"),l=Object,c=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=o(e);if(i(t,A))return t[A];var n=t.constructor;return r(n)&&t instanceof n?n.prototype:t instanceof l?c:null}},7976:function(e,t,n){var i=n(1702);e.exports=i({}.isPrototypeOf)},6324:function(e,t,n){var i=n(1702),r=n(2597),o=n(5656),a=n(1318).indexOf,s=n(3501),A=i([].push);e.exports=function(e,t){var n,i=o(e),l=0,c=[];for(n in i)!r(s,n)&&r(i,n)&&A(c,n);while(t.length>l)r(i,n=t[l++])&&(~a(c,n)||A(c,n));return c}},1956:function(e,t,n){var i=n(6324),r=n(748);e.exports=Object.keys||function(e){return i(e,r)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);t.f=r?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var i=n(1702),r=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=i(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),e(n,[]),t=n instanceof Array}catch(a){}return function(n,i){return r(n),o(i),t?e(n,i):n.__proto__=i,n}}():void 0)},2140:function(e,t,n){var i=n(6916),r=n(614),o=n(111),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&r(n=e.toString)&&!o(s=i(n,e)))return s;if(r(n=e.valueOf)&&!o(s=i(n,e)))return s;if("string"!==t&&r(n=e.toString)&&!o(s=i(n,e)))return s;throw a("Can't convert object to primitive value")}},3887:function(e,t,n){var i=n(5005),r=n(1702),o=n(8006),a=n(5181),s=n(9670),A=r([].concat);e.exports=i("Reflect","ownKeys")||function(e){var t=o.f(s(e)),n=a.f;return n?A(t,n(e)):t}},7066:function(e,t,n){"use strict";var i=n(9670);e.exports=function(){var e=i(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},4488:function(e,t,n){var i=n(8554),r=TypeError;e.exports=function(e){if(i(e))throw r("Can't call method on "+e);return e}},6200:function(e,t,n){var i=n(2309),r=n(9711),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},5465:function(e,t,n){var i=n(7854),r=n(3072),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},2309:function(e,t,n){var i=n(1913),r=n(5465);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.0",mode:i?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(e,t,n){var i=n(7392),r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},261:function(e,t,n){var i,r,o,a,s=n(7854),A=n(2104),l=n(9974),c=n(614),u=n(2597),h=n(7293),d=n(490),f=n(206),p=n(317),g=n(8053),m=n(6833),v=n(5268),y=s.setImmediate,b=s.clearImmediate,w=s.process,B=s.Dispatch,C=s.Function,x=s.MessageChannel,_=s.String,S=0,k={},E="onreadystatechange";try{i=s.location}catch(I){}var F=function(e){if(u(k,e)){var t=k[e];delete k[e],t()}},Q=function(e){return function(){F(e)}},U=function(e){F(e.data)},O=function(e){s.postMessage(_(e),i.protocol+"//"+i.host)};y&&b||(y=function(e){g(arguments.length,1);var t=c(e)?e:C(e),n=f(arguments,1);return k[++S]=function(){A(t,void 0,n)},r(S),S},b=function(e){delete k[e]},v?r=function(e){w.nextTick(Q(e))}:B&&B.now?r=function(e){B.now(Q(e))}:x&&!m?(o=new x,a=o.port2,o.port1.onmessage=U,r=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&i&&"file:"!==i.protocol&&!h(O)?(r=O,s.addEventListener("message",U,!1)):r=E in p("script")?function(e){d.appendChild(p("script"))[E]=function(){d.removeChild(this),F(e)}}:function(e){setTimeout(Q(e),0)}),e.exports={set:y,clear:b}},1400:function(e,t,n){var i=n(9303),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},5656:function(e,t,n){var i=n(8361),r=n(4488);e.exports=function(e){return i(r(e))}},9303:function(e,t,n){var i=n(4758);e.exports=function(e){var t=+e;return t!==t||0===t?0:i(t)}},7466:function(e,t,n){var i=n(9303),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},7908:function(e,t,n){var i=n(4488),r=Object;e.exports=function(e){return r(i(e))}},7593:function(e,t,n){var i=n(6916),r=n(111),o=n(2190),a=n(8173),s=n(2140),A=n(5112),l=TypeError,c=A("toPrimitive");e.exports=function(e,t){if(!r(e)||o(e))return e;var n,A=a(e,c);if(A){if(void 0===t&&(t="default"),n=i(A,e,t),!r(n)||o(n))return n;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},4948:function(e,t,n){var i=n(7593),r=n(2190);e.exports=function(e){var t=i(e,"string");return r(t)?t:t+""}},1694:function(e,t,n){var i=n(5112),r=i("toStringTag"),o={};o[r]="z",e.exports="[object z]"===String(o)},1340:function(e,t,n){var i=n(648),r=String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return r(e)}},6330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},9711:function(e,t,n){var i=n(1702),r=0,o=Math.random(),a=i(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++r+o,36)}},3307:function(e,t,n){var i=n(6293);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,n){var i=n(9781),r=n(7293);e.exports=i&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8053:function(e){var t=TypeError;e.exports=function(e,n){if(e1?arguments[1]:void 0)}}),o("findLastIndex")},7635:function(e,t,n){"use strict";var i=n(2109),r=n(9671).findLast,o=n(1223);i({target:"Array",proto:!0},{findLast:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},7658:function(e,t,n){"use strict";var i=n(2109),r=n(7908),o=n(6244),a=n(3658),s=n(7207),A=n(7293),l=A((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}();i({target:"Array",proto:!0,arity:1,forced:l||c},{push:function(e){var t=r(this),n=o(t),i=arguments.length;s(n+i);for(var A=0;A1?arguments[1]:void 0)}))},3408:function(e,t,n){"use strict";var i=n(260),r=n(9671).findLast,o=i.aTypedArray,a=i.exportTypedArrayMethod;a("findLast",(function(e){return r(o(this),e,arguments.length>1?arguments[1]:void 0)}))},1091:function(e,t,n){var i=n(2109),r=n(7854),o=n(261).clear;i({global:!0,bind:!0,enumerable:!0,forced:r.clearImmediate!==o},{clearImmediate:o})},2801:function(e,t,n){"use strict";var i=n(2109),r=n(7854),o=n(5005),a=n(9114),s=n(3070).f,A=n(2597),l=n(5787),c=n(9587),u=n(6277),h=n(3678),d=n(1060),f=n(9781),p=n(1913),g="DOMException",m=o("Error"),v=o(g),y=function(){l(this,b);var e=arguments.length,t=u(e<1?void 0:arguments[0]),n=u(e<2?void 0:arguments[1],"Error"),i=new v(t,n),r=m(t);return r.name=g,s(i,"stack",a(1,d(r.stack,1))),c(i,this,y),i},b=y.prototype=v.prototype,w="stack"in m(g),B="stack"in new v(1,2),C=v&&f&&Object.getOwnPropertyDescriptor(r,g),x=!!C&&!(C.writable&&C.configurable),_=w&&!x&&!B;i({global:!0,constructor:!0,forced:p||_},{DOMException:_?y:v});var S=o(g),k=S.prototype;if(k.constructor!==S)for(var E in p||s(k,"constructor",a(1,S)),h)if(A(h,E)){var F=h[E],Q=F.s;A(S,Q)||s(S,Q,a(6,F.c))}},4633:function(e,t,n){n(1091),n(2986)},2986:function(e,t,n){var i=n(2109),r=n(7854),o=n(261).set;i({global:!0,bind:!0,enumerable:!0,forced:r.setImmediate!==o},{setImmediate:o})},8701:function(e){"use strict";function t(){return t=Object.assign?Object.assign.bind():function(e){for(var t,n=1;n=a)return e;switch(e){case"%s":return String(t[i++]);case"%d":return Number(t[i++]);case"%j":try{return JSON.stringify(t[i++])}catch(n){return"[Circular]"}break;default:return e}})),A=t[i];i()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},w={integer:function(e){return w.number(e)&&parseInt(e,10)===e},float:function(e){return w.number(e)&&!w.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===("undefined"===typeof e?"undefined":(0,r.Z)(e))&&!w.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&!!e.match(b.email)&&e.length<255},url:function(e){return"string"===typeof e&&!!e.match(b.url)},hex:function(e){return"string"===typeof e&&!!e.match(b.hex)}};function B(e,t,n,i,o){if(e.required&&void 0===t)m(e,t,n,i,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],A=e.type;a.indexOf(A)>-1?w[A](t)||i.push(s(o.messages.types[A],e.fullField,e.type)):A&&("undefined"===typeof t?"undefined":(0,r.Z)(t))!==e.type&&i.push(s(o.messages.types[A],e.fullField,e.type))}}var C=B;function x(e,t,n,i,r){var o="number"===typeof e.len,a="number"===typeof e.min,A="number"===typeof e.max,l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=t,u=null,h="number"===typeof t,d="string"===typeof t,f=Array.isArray(t);if(h?u="number":d?u="string":f&&(u="array"),!u)return!1;f&&(c=t.length),d&&(c=t.replace(l,"_").length),o?c!==e.len&&i.push(s(r.messages[u].len,e.fullField,e.len)):a&&!A&&ce.max?i.push(s(r.messages[u].max,e.fullField,e.max)):a&&A&&(ce.max)&&i.push(s(r.messages[u].range,e.fullField,e.min,e.max))}var _=x,S="enum";function k(e,t,n,i,r){e[S]=Array.isArray(e[S])?e[S]:[],-1===e[S].indexOf(t)&&i.push(s(r.messages[S],e.fullField,e[S].join(", ")))}var E=k;function F(e,t,n,i,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){var o=new RegExp(e.pattern);o.test(t)||i.push(s(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var Q=F,U={required:m,whitespace:y,type:C,range:_,enum:E,pattern:Q};function O(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t,"string")&&!e.required)return n();U.required(e,t,i,o,r,"string"),l(t,"string")||(U.type(e,t,i,o,r),U.range(e,t,i,o,r),U.pattern(e,t,i,o,r),!0===e.whitespace&&U.whitespace(e,t,i,o,r))}n(o)}var I=O;function D(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&U.type(e,t,i,o,r)}n(o)}var T=D;function P(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&(U.type(e,t,i,o,r),U.range(e,t,i,o,r))}n(o)}var M=P;function H(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&U.type(e,t,i,o,r)}n(o)}var L=H;function N(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),l(t)||U.type(e,t,i,o,r)}n(o)}var R=N;function j(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&(U.type(e,t,i,o,r),U.range(e,t,i,o,r))}n(o)}var $=j;function V(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&(U.type(e,t,i,o,r),U.range(e,t,i,o,r))}n(o)}var K=V;function z(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t,"array")&&!e.required)return n();U.required(e,t,i,o,r,"array"),l(t,"array")||(U.type(e,t,i,o,r),U.range(e,t,i,o,r))}n(o)}var W=z;function G(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),void 0!==t&&U.type(e,t,i,o,r)}n(o)}var Y=G,X="enum";function J(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();U.required(e,t,i,o,r),t&&U[X](e,t,i,o,r)}n(o)}var q=J;function Z(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t,"string")&&!e.required)return n();U.required(e,t,i,o,r),l(t,"string")||U.pattern(e,t,i,o,r)}n(o)}var ee=Z;function te(e,t,n,i,r){var o=[],a=e.required||!e.required&&i.hasOwnProperty(e.field);if(a){if(l(t)&&!e.required)return n();if(U.required(e,t,i,o,r),!l(t)){var s=void 0;s="number"===typeof t?new Date(t):t,U.type(e,s,i,o,r),s&&U.range(e,s.getTime(),i,o,r)}}n(o)}var ne=te;function ie(e,t,n,i,o){var a=[],s=Array.isArray(t)?"array":"undefined"===typeof t?"undefined":(0,r.Z)(t);U.required(e,t,i,a,o,s),n(a)}var re=ie;function oe(e,t,n,i,r){var o=e.type,a=[],s=e.required||!e.required&&i.hasOwnProperty(e.field);if(s){if(l(t,o)&&!e.required)return n();U.required(e,t,i,a,r,o),l(t,o)||U.type(e,t,i,a,r)}n(a)}var ae=oe,se={string:I,method:T,number:M,boolean:L,regexp:R,integer:$,float:K,array:W,object:Y,enum:q,pattern:ee,date:ne,url:ae,hex:ae,email:ae,required:re};function Ae(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var le=Ae();function ce(e){this.rules=null,this._messages=le,this.define(e)}ce.prototype={messages:function(e){return e&&(this._messages=p(Ae(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof e?"undefined":(0,r.Z)(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,n=void 0;for(t in e)e.hasOwnProperty(t)&&(n=e[t],this.rules[t]=Array.isArray(n)?n:[n])},validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments[2],A=e,l=n,c=o;if("function"===typeof l&&(c=l,l={}),this.rules&&0!==Object.keys(this.rules).length){if(l.messages){var u=this.messages();u===le&&(u=Ae()),p(u,l.messages),l.messages=u}else l.messages=this.messages();var h=void 0,g=void 0,m={},v=l.keys||Object.keys(this.rules);v.forEach((function(n){h=t.rules[n],g=A[n],h.forEach((function(r){var o=r;"function"===typeof o.transform&&(A===e&&(A=(0,i.Z)({},A)),g=A[n]=o.transform(g)),o="function"===typeof o?{validator:o}:(0,i.Z)({},o),o.validator=t.getValidationMethod(o),o.field=n,o.fullField=o.fullField||n,o.type=t.getType(o),o.validator&&(m[n]=m[n]||[],m[n].push({rule:o,value:g,source:A,field:n}))}))}));var y={};d(m,l,(function(e,t){var n=e.rule,o=("object"===n.type||"array"===n.type)&&("object"===(0,r.Z)(n.fields)||"object"===(0,r.Z)(n.defaultField));function A(e,t){return(0,i.Z)({},t,{fullField:n.fullField+"."+e})}function c(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=r;if(Array.isArray(c)||(c=[c]),c.length&&a("async-validator:",c),c.length&&n.message&&(c=[].concat(n.message)),c=c.map(f(n)),l.first&&c.length)return y[n.field]=1,t(c);if(o){if(n.required&&!e.value)return c=n.message?[].concat(n.message).map(f(n)):l.error?[l.error(n,s(l.messages.required,n.field))]:[],t(c);var u={};if(n.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(u[h]=n.defaultField);for(var d in u=(0,i.Z)({},u,e.rule.fields),u)if(u.hasOwnProperty(d)){var p=Array.isArray(u[d])?u[d]:[u[d]];u[d]=p.map(A.bind(null,d))}var g=new ce(u);g.messages(l.messages),e.rule.options&&(e.rule.options.messages=l.messages,e.rule.options.error=l.error),g.validate(e.value,e.rule.options||l,(function(e){t(e&&e.length?c.concat(e):e)}))}else t(c)}o=o&&(n.required||!n.required&&e.value),n.field=e.field;var u=n.validator(n,e.value,c,e.source,l);u&&u.then&&u.then((function(){return c()}),(function(e){return c(e)}))}),(function(e){b(e)}))}else c&&c();function b(e){var t=void 0,n=void 0,i=[],r={};function o(e){Array.isArray(e)?i=i.concat.apply(i,e):i.push(e)}for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),i.forEach(["post","put","patch"],(function(e){c.headers[e]=i.merge(a)})),e.exports=c},5955:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),i=0;i=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},5431:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6298:function(e,t,n){"use strict";var i=n(8593),r={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){r[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},a=i.version.split(".");function s(e,t){for(var n=t?t.split("."):a,i=e.split("."),r=0;r<3;r++){if(n[r]>i[r])return!0;if(n[r]0){var o=i[r],a=t[o];if(a){var s=e[o],A=void 0===s||a(s,o,e);if(!0!==A)throw new TypeError("option "+o+" must be "+A)}else if(!0!==n)throw Error("Unknown option "+o)}}r.transitional=function(e,t,n){var r=t&&s(t);function a(e,t){return"[Axios v"+i.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,s){if(!1===e)throw new Error(a(i," has been removed in "+t));return r&&!o[i]&&(o[i]=!0,console.warn(a(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,s)}},e.exports={isOlderVersion:s,assertOptions:A,validators:r}},6642:function(e,t,n){"use strict";var i=n(5955),r=Object.prototype.toString;function o(e){return"[object Array]"===r.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function A(e){return"[object ArrayBuffer]"===r.call(e)}function l(e){return"undefined"!==typeof FormData&&e instanceof FormData}function c(e){var t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function u(e){return"string"===typeof e}function h(e){return"number"===typeof e}function d(e){return null!==e&&"object"===typeof e}function f(e){if("[object Object]"!==r.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function p(e){return"[object Date]"===r.call(e)}function g(e){return"[object File]"===r.call(e)}function m(e){return"[object Blob]"===r.call(e)}function v(e){return"[object Function]"===r.call(e)}function y(e){return d(e)&&v(e.pipe)}function b(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams}function w(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function B(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)}function C(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),o(e))for(var n=0,i=e.length;n-1?r(n):n}},1542:function(e,t,n){"use strict";var i=n(9148),r=n(8692),o=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),s=r("%Reflect.apply%",!0)||i.call(a,o),A=r("%Object.getOwnPropertyDescriptor%",!0),l=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(l)try{l({},"a",{value:1})}catch(h){l=null}e.exports=function(e){var t=s(i,a,arguments);if(A&&l){var n=A(t,"length");n.configurable&&l(t,"length",{value:1+c(0,e.length-(arguments.length-1))})}return t};var u=function(){return s(i,o,arguments)};l?l(e.exports,"apply",{value:u}):e.exports.apply=u},255:function(e,t,n){n(7658),n(2801),n(3408),n(4590), +/*! + * Cropper.js v1.5.13 + * https://fengyuanchen.github.io/cropperjs + * + * Copyright 2015-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2022-11-20T05:30:46.114Z + */ +function(t,n){e.exports=n()}(0,(function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var n=1;ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n
',he=Number.isNaN||f.isNaN;function de(e){return"number"===typeof e&&!he(e)}var fe=function(e){return e>0&&e<1/0};function pe(e){return"undefined"===typeof e}function ge(e){return"object"===n(e)&&null!==e}var me=Object.prototype.hasOwnProperty;function ve(e){if(!ge(e))return!1;try{var t=e.constructor,n=t.prototype;return t&&n&&me.call(n,"isPrototypeOf")}catch(i){return!1}}function ye(e){return"function"===typeof e}var be=Array.prototype.slice;function we(e){return Array.from?Array.from(e):be.call(e)}function Be(e,t){return e&&ye(t)&&(Array.isArray(e)||de(e.length)?we(e).forEach((function(n,i){t.call(e,n,i,e)})):ge(e)&&Object.keys(e).forEach((function(n){t.call(e,e[n],n,e)}))),e}var Ce=Object.assign||function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i0&&n.forEach((function(t){ge(t)&&Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},xe=/\.\d*(?:0|9){12}\d*$/;function _e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return xe.test(e)?Math.round(e*t)/t:e}var Se=/^width|height|left|top|marginLeft|marginTop$/;function ke(e,t){var n=e.style;Be(t,(function(e,t){Se.test(t)&&de(e)&&(e="".concat(e,"px")),n[t]=e}))}function Ee(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Fe(e,t){if(t)if(de(e.length))Be(e,(function(e){Fe(e,t)}));else if(e.classList)e.classList.add(t);else{var n=e.className.trim();n?n.indexOf(t)<0&&(e.className="".concat(n," ").concat(t)):e.className=t}}function Qe(e,t){t&&(de(e.length)?Be(e,(function(e){Qe(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Ue(e,t,n){t&&(de(e.length)?Be(e,(function(e){Ue(e,t,n)})):n?Fe(e,t):Qe(e,t))}var Oe=/([a-z\d])([A-Z])/g;function Ie(e){return e.replace(Oe,"$1-$2").toLowerCase()}function De(e,t){return ge(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(Ie(t)))}function Te(e,t,n){ge(n)?e[t]=n:e.dataset?e.dataset[t]=n:e.setAttribute("data-".concat(Ie(t)),n)}function Pe(e,t){if(ge(e[t]))try{delete e[t]}catch(n){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(n){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(Ie(t)))}var Me=/\s\s*/,He=function(){var e=!1;if(d){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});f.addEventListener("test",n,i),f.removeEventListener("test",n,i)}return e}();function Le(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Me).forEach((function(t){if(!He){var o=e.listeners;o&&o[t]&&o[t][n]&&(r=o[t][n],delete o[t][n],0===Object.keys(o[t]).length&&delete o[t],0===Object.keys(o).length&&delete e.listeners)}e.removeEventListener(t,r,i)}))}function Ne(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=n;t.trim().split(Me).forEach((function(t){if(i.once&&!He){var o=e.listeners,a=void 0===o?{}:o;r=function(){delete a[t][n],e.removeEventListener(t,r,i);for(var o=arguments.length,s=new Array(o),A=0;AMath.abs(i)&&(i=l)}))})),i}function Ye(e,n){var i=e.pageX,r=e.pageY,o={endX:i,endY:r};return n?o:t({startX:i,startY:r},o)}function Xe(e){var t=0,n=0,i=0;return Be(e,(function(e){var r=e.startX,o=e.startY;t+=r,n+=o,i+=1})),t/=i,n/=i,{pageX:t,pageY:n}}function Je(e){var t=e.aspectRatio,n=e.height,i=e.width,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",o=fe(i),a=fe(n);if(o&&a){var s=n*t;"contain"===r&&s>i||"cover"===r&&s90?{width:A,height:s}:{width:s,height:A}}function Ze(e,t,n,i){var r=t.aspectRatio,o=t.naturalWidth,a=t.naturalHeight,A=t.rotate,l=void 0===A?0:A,c=t.scaleX,u=void 0===c?1:c,h=t.scaleY,d=void 0===h?1:h,f=n.aspectRatio,p=n.naturalWidth,g=n.naturalHeight,m=i.fillColor,v=void 0===m?"transparent":m,y=i.imageSmoothingEnabled,b=void 0===y||y,w=i.imageSmoothingQuality,B=void 0===w?"low":w,C=i.maxWidth,x=void 0===C?1/0:C,_=i.maxHeight,S=void 0===_?1/0:_,k=i.minWidth,E=void 0===k?0:k,F=i.minHeight,Q=void 0===F?0:F,U=document.createElement("canvas"),O=U.getContext("2d"),I=Je({aspectRatio:f,width:x,height:S}),D=Je({aspectRatio:f,width:E,height:Q},"cover"),T=Math.min(I.width,Math.max(D.width,p)),P=Math.min(I.height,Math.max(D.height,g)),M=Je({aspectRatio:r,width:x,height:S}),H=Je({aspectRatio:r,width:E,height:Q},"cover"),L=Math.min(M.width,Math.max(H.width,o)),N=Math.min(M.height,Math.max(H.height,a)),R=[-L/2,-N/2,L,N];return U.width=_e(T),U.height=_e(P),O.fillStyle=v,O.fillRect(0,0,T,P),O.save(),O.translate(T/2,P/2),O.rotate(l*Math.PI/180),O.scale(u,d),O.imageSmoothingEnabled=b,O.imageSmoothingQuality=B,O.drawImage.apply(O,[e].concat(s(R.map((function(e){return Math.floor(_e(e))}))))),O.restore(),U}var et=String.fromCharCode;function tt(e,t,n){var i="";n+=t;for(var r=t;r0)n.push(et.apply(null,we(r.subarray(0,i)))),r=r.subarray(i);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function ot(e){var t,n=new DataView(e);try{var i,r,o;if(255===n.getUint8(0)&&216===n.getUint8(1)){var a=n.byteLength,s=2;while(s+1=8&&(o=l+u)}}}if(o){var h,d,f=n.getUint16(o,i);for(d=0;d=0?r:Ae),height:Math.max(n.offsetHeight,o>=0?o:le)};this.containerData=a,ke(i,{width:a.width,height:a.height}),Fe(e,O),Qe(i,O)},initCanvas:function(){var e=this.containerData,t=this.imageData,n=this.options.viewMode,i=Math.abs(t.rotate)%180===90,r=i?t.naturalHeight:t.naturalWidth,o=i?t.naturalWidth:t.naturalHeight,a=r/o,s=e.width,A=e.height;e.height*a>e.width?3===n?s=e.height*a:A=e.width/a:3===n?A=e.width/a:s=e.height*a;var l={aspectRatio:a,naturalWidth:r,naturalHeight:o,width:s,height:A};this.canvasData=l,this.limited=1===n||2===n,this.limitCanvas(!0,!0),l.width=Math.min(Math.max(l.width,l.minWidth),l.maxWidth),l.height=Math.min(Math.max(l.height,l.minHeight),l.maxHeight),l.left=(e.width-l.width)/2,l.top=(e.height-l.height)/2,l.oldLeft=l.left,l.oldTop=l.top,this.initialCanvasData=Ce({},l)},limitCanvas:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,o=this.cropBoxData,a=n.viewMode,s=r.aspectRatio,A=this.cropped&&o;if(e){var l=Number(n.minCanvasWidth)||0,c=Number(n.minCanvasHeight)||0;a>1?(l=Math.max(l,i.width),c=Math.max(c,i.height),3===a&&(c*s>l?l=c*s:c=l/s)):a>0&&(l?l=Math.max(l,A?o.width:0):c?c=Math.max(c,A?o.height:0):A&&(l=o.width,c=o.height,c*s>l?l=c*s:c=l/s));var u=Je({aspectRatio:s,width:l,height:c});l=u.width,c=u.height,r.minWidth=l,r.minHeight=c,r.maxWidth=1/0,r.maxHeight=1/0}if(t)if(a>(A?0:1)){var h=i.width-r.width,d=i.height-r.height;r.minLeft=Math.min(0,h),r.minTop=Math.min(0,d),r.maxLeft=Math.max(0,h),r.maxTop=Math.max(0,d),A&&this.limited&&(r.minLeft=Math.min(o.left,o.left+(o.width-r.width)),r.minTop=Math.min(o.top,o.top+(o.height-r.height)),r.maxLeft=o.left,r.maxTop=o.top,2===a&&(r.width>=i.width&&(r.minLeft=Math.min(0,h),r.maxLeft=Math.max(0,h)),r.height>=i.height&&(r.minTop=Math.min(0,d),r.maxTop=Math.max(0,d))))}else r.minLeft=-r.width,r.minTop=-r.height,r.maxLeft=i.width,r.maxTop=i.height},renderCanvas:function(e,t){var n=this.canvasData,i=this.imageData;if(t){var r=qe({width:i.naturalWidth*Math.abs(i.scaleX||1),height:i.naturalHeight*Math.abs(i.scaleY||1),degree:i.rotate||0}),o=r.width,a=r.height,s=n.width*(o/n.naturalWidth),A=n.height*(a/n.naturalHeight);n.left-=(s-n.width)/2,n.top-=(A-n.height)/2,n.width=s,n.height=A,n.aspectRatio=o/a,n.naturalWidth=o,n.naturalHeight=a,this.limitCanvas(!0,!1)}(n.width>n.maxWidth||n.widthn.maxHeight||n.heightt.width?r.height=r.width/n:r.width=r.height*n),this.cropBoxData=r,this.limitCropBox(!0,!0),r.width=Math.min(Math.max(r.width,r.minWidth),r.maxWidth),r.height=Math.min(Math.max(r.height,r.minHeight),r.maxHeight),r.width=Math.max(r.minWidth,r.width*i),r.height=Math.max(r.minHeight,r.height*i),r.left=t.left+(t.width-r.width)/2,r.top=t.top+(t.height-r.height)/2,r.oldLeft=r.left,r.oldTop=r.top,this.initialCropBoxData=Ce({},r)},limitCropBox:function(e,t){var n=this.options,i=this.containerData,r=this.canvasData,o=this.cropBoxData,a=this.limited,s=n.aspectRatio;if(e){var A=Number(n.minCropBoxWidth)||0,l=Number(n.minCropBoxHeight)||0,c=a?Math.min(i.width,r.width,r.width+r.left,i.width-r.left):i.width,u=a?Math.min(i.height,r.height,r.height+r.top,i.height-r.top):i.height;A=Math.min(A,i.width),l=Math.min(l,i.height),s&&(A&&l?l*s>A?l=A/s:A=l*s:A?l=A/s:l&&(A=l*s),u*s>c?u=c/s:c=u*s),o.minWidth=Math.min(A,c),o.minHeight=Math.min(l,u),o.maxWidth=c,o.maxHeight=u}t&&(a?(o.minLeft=Math.max(0,r.left),o.minTop=Math.max(0,r.top),o.maxLeft=Math.min(i.width,r.left+r.width)-o.width,o.maxTop=Math.min(i.height,r.top+r.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=i.width-o.width,o.maxTop=i.height-o.height))},renderCropBox:function(){var e=this.options,t=this.containerData,n=this.cropBoxData;(n.width>n.maxWidth||n.widthn.maxHeight||n.height=t.width&&n.height>=t.height?b:v),ke(this.cropBox,Ce({width:n.width,height:n.height},We({translateX:n.left,translateY:n.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),Re(this.element,j,this.getData())}},At={initPreview:function(){var e=this.element,t=this.crossOrigin,n=this.options.preview,i=t?this.crossOriginUrl:this.url,r=e.alt||"The image to preview",o=document.createElement("img");if(t&&(o.crossOrigin=t),o.src=i,o.alt=r,this.viewBox.appendChild(o),this.viewBoxImage=o,n){var a=n;"string"===typeof n?a=e.ownerDocument.querySelectorAll(n):n.querySelector&&(a=[n]),this.previews=a,Be(a,(function(e){var n=document.createElement("img");Te(e,H,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(n.crossOrigin=t),n.src=i,n.alt=r,n.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(n)}))}},resetPreview:function(){Be(this.previews,(function(e){var t=De(e,H);ke(e,{width:t.width,height:t.height}),e.innerHTML=t.html,Pe(e,H)}))},preview:function(){var e=this.imageData,t=this.canvasData,n=this.cropBoxData,i=n.width,r=n.height,o=e.width,a=e.height,s=n.left-t.left-e.left,A=n.top-t.top-e.top;this.cropped&&!this.disabled&&(ke(this.viewBoxImage,Ce({width:o,height:a},We(Ce({translateX:-s,translateY:-A},e)))),Be(this.previews,(function(t){var n=De(t,H),l=n.width,c=n.height,u=l,h=c,d=1;i&&(d=l/i,h=r*d),r&&h>c&&(d=c/r,u=i*d,h=c),ke(t,{width:u,height:h}),ke(t.getElementsByTagName("img")[0],Ce({width:o*d,height:a*d},We(Ce({translateX:-s*d,translateY:-A*d},e))))})))}},lt={bind:function(){var e=this.element,t=this.options,n=this.cropper;ye(t.cropstart)&&Ne(e,K,t.cropstart),ye(t.cropmove)&&Ne(e,V,t.cropmove),ye(t.cropend)&&Ne(e,$,t.cropend),ye(t.crop)&&Ne(e,j,t.crop),ye(t.zoom)&&Ne(e,ne,t.zoom),Ne(n,X,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&Ne(n,te,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Ne(n,z,this.onDblclick=this.dblclick.bind(this)),Ne(e.ownerDocument,J,this.onCropMove=this.cropMove.bind(this)),Ne(e.ownerDocument,q,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&Ne(window,ee,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,n=this.cropper;ye(t.cropstart)&&Le(e,K,t.cropstart),ye(t.cropmove)&&Le(e,V,t.cropmove),ye(t.cropend)&&Le(e,$,t.cropend),ye(t.crop)&&Le(e,j,t.crop),ye(t.zoom)&&Le(e,ne,t.zoom),Le(n,X,this.onCropStart),t.zoomable&&t.zoomOnWheel&&Le(n,te,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&Le(n,z,this.onDblclick),Le(e.ownerDocument,J,this.onCropMove),Le(e.ownerDocument,q,this.onCropEnd),t.responsive&&Le(window,ee,this.onResize)}},ct={resize:function(){if(!this.disabled){var e,t,n=this.options,i=this.container,r=this.containerData,o=i.offsetWidth/r.width,a=i.offsetHeight/r.height,s=Math.abs(o-1)>Math.abs(a-1)?o:a;if(1!==s)n.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),n.restore&&(this.setCanvasData(Be(e,(function(t,n){e[n]=t*s}))),this.setCropBoxData(Be(t,(function(e,n){t[n]=e*s}))))}},dblclick:function(){this.disabled||this.options.dragMode===R||this.setDragMode(Ee(this.dragBox,Q)?N:L)},wheel:function(e){var t=this,n=Number(this.options.wheelZoomRatio)||.1,i=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?i=e.deltaY>0?1:-1:e.wheelDelta?i=-e.wheelDelta/120:e.detail&&(i=e.detail>0?1:-1),this.zoom(-i*n,e)))},cropStart:function(e){var t=e.buttons,n=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(de(t)&&1!==t||de(n)&&0!==n||e.ctrlKey))){var i,r=this.options,o=this.pointers;e.changedTouches?Be(e.changedTouches,(function(e){o[e.identifier]=Ye(e)})):o[e.pointerId||0]=Ye(e),i=Object.keys(o).length>1&&r.zoomable&&r.zoomOnTouch?w:De(e.target,M),re.test(i)&&!1!==Re(this.element,K,{originalEvent:e,action:i})&&(e.preventDefault(),this.action=i,this.cropping=!1,i===y&&(this.cropping=!0,Fe(this.dragBox,T)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var n=this.pointers;e.preventDefault(),!1!==Re(this.element,V,{originalEvent:e,action:t})&&(e.changedTouches?Be(e.changedTouches,(function(e){Ce(n[e.identifier]||{},Ye(e,!0))})):Ce(n[e.pointerId||0]||{},Ye(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,n=this.pointers;e.changedTouches?Be(e.changedTouches,(function(e){delete n[e.identifier]})):delete n[e.pointerId||0],t&&(e.preventDefault(),Object.keys(n).length||(this.action=""),this.cropping&&(this.cropping=!1,Ue(this.dragBox,T,this.cropped&&this.options.modal)),Re(this.element,$,{originalEvent:e,action:t}))}}},ut={change:function(e){var t,n=this.options,i=this.canvasData,r=this.containerData,o=this.cropBoxData,a=this.pointers,s=this.action,A=n.aspectRatio,l=o.left,c=o.top,u=o.width,h=o.height,d=l+u,f=c+h,p=0,g=0,m=r.width,Q=r.height,U=!0;!A&&e.shiftKey&&(A=u&&h?u/h:1),this.limited&&(p=o.minLeft,g=o.minTop,m=p+Math.min(r.width,i.width,i.left+i.width),Q=g+Math.min(r.height,i.height,i.top+i.height));var I=a[Object.keys(a)[0]],D={x:I.endX-I.startX,y:I.endY-I.startY},T=function(e){switch(e){case B:d+D.x>m&&(D.x=m-d);break;case C:l+D.xQ&&(D.y=Q-f);break}};switch(s){case v:l+=D.x,c+=D.y;break;case B:if(D.x>=0&&(d>=m||A&&(c<=g||f>=Q))){U=!1;break}T(B),u+=D.x,u<0&&(s=C,u=-u,l-=u),A&&(h=u/A,c+=(o.height-h)/2);break;case _:if(D.y<=0&&(c<=g||A&&(l<=p||d>=m))){U=!1;break}T(_),h-=D.y,c+=D.y,h<0&&(s=x,h=-h,c-=h),A&&(u=h*A,l+=(o.width-u)/2);break;case C:if(D.x<=0&&(l<=p||A&&(c<=g||f>=Q))){U=!1;break}T(C),u-=D.x,l+=D.x,u<0&&(s=B,u=-u,l-=u),A&&(h=u/A,c+=(o.height-h)/2);break;case x:if(D.y>=0&&(f>=Q||A&&(l<=p||d>=m))){U=!1;break}T(x),h+=D.y,h<0&&(s=_,h=-h,c-=h),A&&(u=h*A,l+=(o.width-u)/2);break;case S:if(A){if(D.y<=0&&(c<=g||d>=m)){U=!1;break}T(_),h-=D.y,c+=D.y,u=h*A}else T(_),T(B),D.x>=0?dg&&(h-=D.y,c+=D.y):(h-=D.y,c+=D.y);u<0&&h<0?(s=F,h=-h,u=-u,c-=h,l-=u):u<0?(s=k,u=-u,l-=u):h<0&&(s=E,h=-h,c-=h);break;case k:if(A){if(D.y<=0&&(c<=g||l<=p)){U=!1;break}T(_),h-=D.y,c+=D.y,u=h*A,l+=o.width-u}else T(_),T(C),D.x<=0?l>p?(u-=D.x,l+=D.x):D.y<=0&&c<=g&&(U=!1):(u-=D.x,l+=D.x),D.y<=0?c>g&&(h-=D.y,c+=D.y):(h-=D.y,c+=D.y);u<0&&h<0?(s=E,h=-h,u=-u,c-=h,l-=u):u<0?(s=S,u=-u,l-=u):h<0&&(s=F,h=-h,c-=h);break;case F:if(A){if(D.x<=0&&(l<=p||f>=Q)){U=!1;break}T(C),u-=D.x,l+=D.x,h=u/A}else T(x),T(C),D.x<=0?l>p?(u-=D.x,l+=D.x):D.y>=0&&f>=Q&&(U=!1):(u-=D.x,l+=D.x),D.y>=0?f=0&&(d>=m||f>=Q)){U=!1;break}T(B),u+=D.x,h=u/A}else T(x),T(B),D.x>=0?d=0&&f>=Q&&(U=!1):u+=D.x,D.y>=0?f0?s=D.y>0?E:S:D.x<0&&(l-=u,s=D.y>0?F:k),D.y<0&&(c-=h),this.cropped||(Qe(this.cropBox,O),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}U&&(o.width=u,o.height=h,o.left=l,o.top=c,this.action=s,this.renderCropBox()),Be(a,(function(e){e.startX=e.endX,e.startY=e.endY}))}},ht={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Fe(this.dragBox,T),Qe(this.cropBox,O),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Ce({},this.initialImageData),this.canvasData=Ce({},this.initialCanvasData),this.cropBoxData=Ce({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Ce(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Qe(this.dragBox,T),Fe(this.cropBox,O)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,Be(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Qe(this.cropper,U)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Fe(this.cropper,U)),this},destroy:function(){var e=this.element;return e[m]?(e[m]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=n.left,r=n.top;return this.moveTo(pe(e)?e:i+Number(e),pe(t)?t:r+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.canvasData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(de(e)&&(n.left=e,i=!0),de(t)&&(n.top=t,i=!0),i&&this.renderCanvas(!0)),this},zoom:function(e,t){var n=this.canvasData;return e=Number(e),e=e<0?1/(1-e):1+e,this.zoomTo(n.width*e/n.naturalWidth,null,t)},zoomTo:function(e,t,n){var i=this.options,r=this.canvasData,o=r.width,a=r.height,s=r.naturalWidth,A=r.naturalHeight;if(e=Number(e),e>=0&&this.ready&&!this.disabled&&i.zoomable){var l=s*e,c=A*e;if(!1===Re(this.element,ne,{ratio:e,oldRatio:o/s,originalEvent:n}))return this;if(n){var u=this.pointers,h=je(this.cropper),d=u&&Object.keys(u).length?Xe(u):{pageX:n.pageX,pageY:n.pageY};r.left-=(l-o)*((d.pageX-h.left-r.left)/o),r.top-=(c-a)*((d.pageY-h.top-r.top)/a)}else ve(t)&&de(t.x)&&de(t.y)?(r.left-=(l-o)*((t.x-r.left)/o),r.top-=(c-a)*((t.y-r.top)/a)):(r.left-=(l-o)/2,r.top-=(c-a)/2);r.width=l,r.height=c,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return e=Number(e),de(e)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,de(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(de(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=this.imageData,i=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(de(e)&&(n.scaleX=e,i=!0),de(t)&&(n.scaleY=t,i=!0),i&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.options,i=this.imageData,r=this.canvasData,o=this.cropBoxData;if(this.ready&&this.cropped){e={x:o.left-r.left,y:o.top-r.top,width:o.width,height:o.height};var a=i.width/i.naturalWidth;if(Be(e,(function(t,n){e[n]=t/a})),t){var s=Math.round(e.y+e.height),A=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=A-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return n.rotatable&&(e.rotate=i.rotate||0),n.scalable&&(e.scaleX=i.scaleX||1,e.scaleY=i.scaleY||1),e},setData:function(e){var t=this.options,n=this.imageData,i=this.canvasData,r={};if(this.ready&&!this.disabled&&ve(e)){var o=!1;t.rotatable&&de(e.rotate)&&e.rotate!==n.rotate&&(n.rotate=e.rotate,o=!0),t.scalable&&(de(e.scaleX)&&e.scaleX!==n.scaleX&&(n.scaleX=e.scaleX,o=!0),de(e.scaleY)&&e.scaleY!==n.scaleY&&(n.scaleY=e.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var a=n.width/n.naturalWidth;de(e.x)&&(r.left=e.x*a+i.left),de(e.y)&&(r.top=e.y*a+i.top),de(e.width)&&(r.width=e.width*a),de(e.height)&&(r.height=e.height*a),this.setCropBoxData(r)}return this},getContainerData:function(){return this.ready?Ce({},this.containerData):{}},getImageData:function(){return this.sized?Ce({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&Be(["left","top","width","height","naturalWidth","naturalHeight"],(function(n){t[n]=e[n]})),t},setCanvasData:function(e){var t=this.canvasData,n=t.aspectRatio;return this.ready&&!this.disabled&&ve(e)&&(de(e.left)&&(t.left=e.left),de(e.top)&&(t.top=e.top),de(e.width)?(t.width=e.width,t.height=e.width/n):de(e.height)&&(t.height=e.height,t.width=e.height*n),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,n,i=this.cropBoxData,r=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&ve(e)&&(de(e.left)&&(i.left=e.left),de(e.top)&&(i.top=e.top),de(e.width)&&e.width!==i.width&&(t=!0,i.width=e.width),de(e.height)&&e.height!==i.height&&(n=!0,i.height=e.height),r&&(t?i.height=i.width/r:n&&(i.width=i.height*r)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,n=Ze(this.image,this.imageData,t,e);if(!this.cropped)return n;var i=this.getData(),r=i.x,o=i.y,a=i.width,A=i.height,l=n.width/Math.floor(t.naturalWidth);1!==l&&(r*=l,o*=l,a*=l,A*=l);var c=a/A,u=Je({aspectRatio:c,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),h=Je({aspectRatio:c,width:e.minWidth||0,height:e.minHeight||0},"cover"),d=Je({aspectRatio:c,width:e.width||(1!==l?n.width:a),height:e.height||(1!==l?n.height:A)}),f=d.width,p=d.height;f=Math.min(u.width,Math.max(h.width,f)),p=Math.min(u.height,Math.max(h.height,p));var g=document.createElement("canvas"),m=g.getContext("2d");g.width=_e(f),g.height=_e(p),m.fillStyle=e.fillColor||"transparent",m.fillRect(0,0,f,p);var v=e.imageSmoothingEnabled,y=void 0===v||v,b=e.imageSmoothingQuality;m.imageSmoothingEnabled=y,b&&(m.imageSmoothingQuality=b);var w,B,C,x,_,S,k=n.width,E=n.height,F=r,Q=o;F<=-a||F>k?(F=0,w=0,C=0,_=0):F<=0?(C=-F,F=0,w=Math.min(k,a+F),_=w):F<=k&&(C=0,w=Math.min(a,k-F),_=w),w<=0||Q<=-A||Q>E?(Q=0,B=0,x=0,S=0):Q<=0?(x=-Q,Q=0,B=Math.min(E,A+Q),S=B):Q<=E&&(x=0,B=Math.min(A,E-Q),S=B);var U=[F,Q,w,B];if(_>0&&S>0){var O=f/a;U.push(C*O,x*O,_*O,S*O)}return m.drawImage.apply(m,[n].concat(s(U.map((function(e){return Math.floor(_e(e))}))))),g},setAspectRatio:function(e){var t=this.options;return this.disabled||pe(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,n=this.dragBox,i=this.face;if(this.ready&&!this.disabled){var r=e===L,o=t.movable&&e===N;e=r||o?e:R,t.dragMode=e,Te(n,M,e),Ue(n,Q,r),Ue(n,P,o),t.cropBoxMovable||(Te(i,M,e),Ue(i,Q,r),Ue(i,P,o))}return this}},dt=f.Cropper,ft=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),!t||!se.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=Ce({},ce,ve(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return o(e,[{key:"init",value:function(){var e,t=this.element,n=t.tagName.toLowerCase();if(!t[m]){if(t[m]=this,"img"===n){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===n&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var n=this.element,i=this.options;if(i.rotatable||i.scalable||(i.checkOrientation=!1),i.checkOrientation&&window.ArrayBuffer)if(oe.test(e))ae.test(e)?this.read(it(e)):this.clone();else{var r=new XMLHttpRequest,o=this.clone.bind(this);this.reloading=!0,this.xhr=r,r.onabort=o,r.onerror=o,r.ontimeout=o,r.onprogress=function(){r.getResponseHeader("content-type")!==ie&&r.abort()},r.onload=function(){t.read(r.response)},r.onloadend=function(){t.reloading=!1,t.xhr=null},i.checkCrossOrigin&&Ke(e)&&n.crossOrigin&&(e=ze(e)),r.open("GET",e,!0),r.responseType="arraybuffer",r.withCredentials="use-credentials"===n.crossOrigin,r.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,n=this.imageData,i=ot(e),r=0,o=1,a=1;if(i>1){this.url=rt(e,ie);var s=at(i);r=s.rotate,o=s.scaleX,a=s.scaleY}t.rotatable&&(n.rotate=r),t.scalable&&(n.scaleX=o,n.scaleY=a),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,n=e.crossOrigin,i=t;this.options.checkCrossOrigin&&Ke(t)&&(n||(n="anonymous"),i=ze(t)),this.crossOrigin=n,this.crossOriginUrl=i;var r=document.createElement("img");n&&(r.crossOrigin=n),r.src=i||t,r.alt=e.alt||"The image to crop",this.image=r,r.onload=this.start.bind(this),r.onerror=this.stop.bind(this),Fe(r,I),e.parentNode.insertBefore(r,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var n=f.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(f.navigator.userAgent),i=function(t,n){Ce(e.imageData,{naturalWidth:t,naturalHeight:n,aspectRatio:t/n}),e.initialImageData=Ce({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||n){var r=document.createElement("img"),o=document.body||document.documentElement;this.sizingImage=r,r.onload=function(){i(r.width,r.height),n||o.removeChild(r)},r.src=t.src,n||(r.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",o.appendChild(r))}else i(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,n=this.image,i=e.parentNode,r=document.createElement("div");r.innerHTML=ue;var o=r.querySelector(".".concat(m,"-container")),a=o.querySelector(".".concat(m,"-canvas")),s=o.querySelector(".".concat(m,"-drag-box")),A=o.querySelector(".".concat(m,"-crop-box")),l=A.querySelector(".".concat(m,"-face"));this.container=i,this.cropper=o,this.canvas=a,this.dragBox=s,this.cropBox=A,this.viewBox=o.querySelector(".".concat(m,"-view-box")),this.face=l,a.appendChild(n),Fe(e,O),i.insertBefore(o,e.nextSibling),Qe(n,I),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Fe(A,O),t.guides||Fe(A.getElementsByClassName("".concat(m,"-dashed")),O),t.center||Fe(A.getElementsByClassName("".concat(m,"-center")),O),t.background&&Fe(o,"".concat(m,"-bg")),t.highlight||Fe(l,D),t.cropBoxMovable&&(Fe(l,P),Te(l,M,v)),t.cropBoxResizable||(Fe(A.getElementsByClassName("".concat(m,"-line")),O),Fe(A.getElementsByClassName("".concat(m,"-point")),O)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),ye(t.ready)&&Ne(e,Z,t.ready,{once:!0}),Re(e,Z)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var e=this.cropper.parentNode;e&&e.removeChild(this.cropper),Qe(this.element,O)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=dt,e}},{key:"setDefaults",value:function(e){Ce(ce,ve(e)&&e)}}]),e}();return Ce(ft.prototype,st,At,lt,ct,ut,ht),ft}))},7669:function(e,t,n){"use strict";n(7658);var i=function(e){return r(e)&&!o(e)};function r(e){return!!e&&"object"===typeof e}function o(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||A(e)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function A(e){return e.$$typeof===s}function l(e){return Array.isArray(e)?[]:{}}function c(e,t){var n=t&&!0===t.clone;return n&&i(e)?d(l(e),e,t):e}function u(e,t,n){var r=e.slice();return t.forEach((function(t,o){"undefined"===typeof r[o]?r[o]=c(t,n):i(t)?r[o]=d(e[o],t,n):-1===e.indexOf(t)&&r.push(c(t,n))})),r}function h(e,t,n){var r={};return i(e)&&Object.keys(e).forEach((function(t){r[t]=c(e[t],n)})),Object.keys(t).forEach((function(o){i(t[o])&&e[o]?r[o]=d(e[o],t[o],n):r[o]=c(t[o],n)})),r}function d(e,t,n){var i=Array.isArray(t),r=Array.isArray(e),o=n||{arrayMerge:u},a=i===r;if(a){if(i){var s=o.arrayMerge||u;return s(e,t,n)}return h(e,t,n)}return c(t,n)}d.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return d(e,n,t)}))};var f=d;e.exports=f},9358:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=97)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},97:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},r=[];i._withStripped=!0;var o={name:"ElButtonGroup"},a=o,s=n(0),A=Object(s["a"])(a,i,r,!1,null,null,null);A.options.__file="packages/button/src/button-group.vue";var l=A.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},1540:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=96)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},96:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},a=o,s=n(0),A=Object(s["a"])(a,i,r,!1,null,null,null);A.options.__file="packages/button/src/button.vue";var l=A.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},8509:function(e,t,n){n(541),n(7658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},15:function(e,t){e.exports=n(5095)},18:function(e,t){e.exports=n(4359)},21:function(e,t){e.exports=n(6927)},26:function(e,t){e.exports=n(8737)},3:function(e,t){e.exports=n(5402)},31:function(e,t){e.exports=n(4510)},41:function(e,t){e.exports=n(9506)},52:function(e,t){e.exports=n(8192)},6:function(e,t){e.exports=n(3647)},61:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},r=[];i._withStripped=!0;var o,a,s=n(26),A=n.n(s),l=n(15),c=n.n(l),u=n(18),h=n.n(u),d=n(52),f=n.n(d),p=n(3),g=function(e){return e.stopPropagation()},m={inject:["panel"],components:{ElCheckbox:h.a,ElRadio:f.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=g),e("el-checkbox",A()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(p["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:g}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,l=this.nodeId,c=s.expandTrigger,u=s.checkStrictly,h=s.multiple,d=!u&&a,f={on:{}};return"click"===c?f.on.click=this.handleExpand:(f.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},f.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||u||h||(f.on.click=this.handleCheckChange),e("li",A()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":u,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":d}},f]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},v=m,y=n(0),b=Object(y["a"])(v,o,a,!1,null,null,null);b.options.__file="packages/cascader-panel/src/cascader-node.vue";var w,B,C=b.exports,x=n(6),_=n.n(x),S={name:"ElCascaderMenu",mixins:[_.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(p["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,A=s.offsetWidth,l=s.offsetHeight,c=t.offsetTop,u=c+t.offsetHeight;i.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map((function(n,r){var o=n.hasChildren;return e("cascader-node",A()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))}));return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",A()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},k=S,E=Object(y["a"])(k,w,B,!1,null,null,null);E.options.__file="packages/cascader-panel/src/cascader-menu.vue";var F=E.exports,Q=n(21),U=function(){function e(e,t){for(var n=0;n1?t-1:0),i=1;i1?i-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},U(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(Q["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),T=D;function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=function e(t,n){return t.reduce((function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t}),[])},H=function(){function e(t,n){P(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(p["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new T(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new T(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(p["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:M(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(p["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),L=H,N=n(9),R=n.n(N),j=n(41),$=n.n(j),V=n(31),K=n.n(V),z=Object.assign||function(e){for(var t=1;t0){var A=n.store.getNodeByValue(o);A.data[s]||n.lazyLoad(A,(function(){n.handleExpand(A)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");K()(n,i)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(y["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},9:function(e,t){e.exports=n(7734)}})},7199:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(8816)},93:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[a.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},A=s,l=n(0),c=Object(l["a"])(A,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var u=c.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},4359:function(e,t,n){n(7658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=91)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(8816)},91:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElCheckbox",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},A=s,l=n(0),c=Object(l["a"])(A,i,r,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox.vue";var u=c.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},8499:function(e,t,n){n(7658),n(541),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=46)}([function(e,t){e.exports=n(3026)},function(e,t){e.exports=n(3766)},function(e,t){e.exports=n(5402)},function(e,t){e.exports=n(8816)},function(e,t){e.exports=n(3647)},function(e,t){e.exports=n(4857)},function(e,t){e.exports=n(3032)},function(e,t){e.exports=n(7734)},function(e,t){e.exports=n(5981)},function(e,t){e.exports=n(4511)},function(e,t){e.exports=n(9305)},function(e,t){e.exports=n(3630)},function(e,t){e.exports=n(4582)},function(e,t){e.exports=n(1540)},function(e,t){e.exports=n(4359)},function(e,t){e.exports=n(2740)},function(e,t){e.exports=n(1639)},function(e,t){e.exports=n(8973)},function(e,t){e.exports=n(5095)},function(e,t){e.exports=n(6927)},function(e,t){e.exports=n(9992)},function(e,t){e.exports=n(7374)},function(e,t){e.exports=n(1937)},function(e,t){e.exports=n(9528)},function(e,t){e.exports=n(8737)},function(e,t){e.exports=n(2895)},function(e,t){e.exports=n(488)},function(e,t){e.exports=n(4510)},function(e,t){e.exports=n(6128)},function(e,t){e.exports=n(9358)},function(e,t){e.exports=n(3256)},function(e,t){e.exports=n(8667)},function(e,t){e.exports=n(7199)},function(e,t){e.exports=n(5050)},function(e,t){e.exports=n(7509)},function(e,t){e.exports=n(9506)},function(e,t){e.exports=n(9070)},function(e,t){e.exports=n(2572)},function(e,t){e.exports=n(7342)},function(e,t){e.exports=n(4451)},function(e,t){e.exports=n(5408)},function(e,t){e.exports=n(2480)},function(e,t){e.exports=n(3892)},function(e,t){e.exports=n(8509)},function(e,t){e.exports=n(8192)},function(e,t){e.exports=n(8902)},function(e,t,n){e.exports=n(47)},function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{staticClass:"el-pager",on:{click:e.onPagerClick}},[e.pageCount>0?n("li",{staticClass:"number",class:{active:1===e.currentPage,disabled:e.disabled}},[e._v("1")]):e._e(),e.showPrevMore?n("li",{staticClass:"el-icon more btn-quickprev",class:[e.quickprevIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("left")},mouseleave:function(t){e.quickprevIconClass="el-icon-more"}}}):e._e(),e._l(e.pagers,(function(t){return n("li",{key:t,staticClass:"number",class:{active:e.currentPage===t,disabled:e.disabled}},[e._v(e._s(t))])})),e.showNextMore?n("li",{staticClass:"el-icon more btn-quicknext",class:[e.quicknextIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("right")},mouseleave:function(t){e.quicknextIconClass="el-icon-more"}}}):e._e(),e.pageCount>1?n("li",{staticClass:"number",class:{active:e.currentPage===e.pageCount,disabled:e.disabled}},[e._v(e._s(e.pageCount))]):e._e()],2)},r=[];i._withStripped=!0;var o={name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(e){e||(this.quickprevIconClass="el-icon-more")},showNextMore:function(e){e||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(e){var t=e.target;if("UL"!==t.tagName&&!this.disabled){var n=Number(e.target.textContent),i=this.pageCount,r=this.currentPage,o=this.pagerCount-2;-1!==t.className.indexOf("more")&&(-1!==t.className.indexOf("quickprev")?n=r-o:-1!==t.className.indexOf("quicknext")&&(n=r+o)),isNaN(n)||(n<1&&(n=1),n>i&&(n=i)),n!==r&&this.$emit("change",n)}},onMouseenter:function(e){this.disabled||("left"===e?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var e=this.pagerCount,t=(e-1)/2,n=Number(this.currentPage),i=Number(this.pageCount),r=!1,o=!1;i>e&&(n>e-t&&(r=!0),n4&&e<22&&e%2===1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=this.layout;if(!t)return null;if(this.hideOnSinglePage&&(!this.internalPageCount||1===this.internalPageCount))return null;var n=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),i={prev:e("prev"),jumper:e("jumper"),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:e("next"),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:e("slot",[this.$slots.default?this.$slots.default:""]),total:e("total")},r=t.split(",").map((function(e){return e.trim()})),o=e("div",{class:"el-pagination__rightwrapper"}),a=!1;return n.children=n.children||[],o.children=o.children||[],r.forEach((function(e){"->"!==e?a?o.children.push(i[e]):n.children.push(i[e]):a=!0})),a&&n.children.unshift(o),n},components:{Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[m.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){Object(v["valueEquals"])(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=e.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(e){var t=this;return e("span",{class:"el-pagination__sizes"},[e("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",size:"mini",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map((function(n){return e("el-option",{attrs:{value:n,label:n+t.t("el.pagination.pagesize")}})}))])])},components:{ElSelect:u.a,ElOption:d.a},methods:{handleChange:function(e){e!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=e=parseInt(e,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("update:pageSize",e),this.$parent.$emit("size-change",e))}}},Jumper:{mixins:[m.a],components:{ElInput:p.a},data:function(){return{userInput:null}},watch:{"$parent.internalCurrentPage":function(){this.userInput=null}},methods:{handleKeyup:function(e){var t=e.keyCode,n=e.target;13===t&&this.handleChange(n.value)},handleInput:function(e){this.userInput=e},handleChange:function(e){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(e),this.$parent.emitChange(),this.userInput=null}},render:function(e){return e("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),e("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:null!==this.userInput?this.userInput:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},nativeOn:{keyup:this.handleKeyup},on:{input:this.handleInput,change:this.handleChange}}),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[m.a],render:function(e){return"number"===typeof this.$parent.total?e("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:l},methods:{handleCurrentChange:function(e){this.internalCurrentPage=this.getValidCurrentPage(e),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var e=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var e=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(e){e=parseInt(e,10);var t="number"===typeof this.internalPageCount,n=void 0;return t?e<1?n=1:e>this.internalPageCount&&(n=this.internalPageCount):(isNaN(e)||e<1)&&(n=1),(void 0===n&&isNaN(e)||0===n)&&(n=1),void 0===n?e:n},emitChange:function(){var e=this;this.$nextTick((function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)}))}},computed:{internalPageCount:function(){return"number"===typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"===typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=this.getValidCurrentPage(e)}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e){this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;e>0&&0===t?this.internalCurrentPage=1:t>e&&(this.internalCurrentPage=0===e?1:e,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}},install:function(e){e.component(y.name,y)}},b=y,w=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{key:e.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[n("div",{staticClass:"el-dialog__header"},[e._t("title",[n("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?n("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?n("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])},B=[];w._withStripped=!0;var C=n(11),x=n.n(C),_=n(9),S=n.n(_),k=n(3),E=n.n(k),F={name:"ElDialog",mixins:[x.a,E.a,S.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick((function(){t.$refs.dialog.scrollTop=0})),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick((function(){t.key++})))}},computed:{style:function(){var e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},Q=F,U=s(Q,w,B,!1,null,null,null);U.options.__file="packages/dialog/src/component.vue";var O=U.exports;O.install=function(e){e.component(O.name,O)};var I=O,D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":e.suggestionVisible,"aria-owns":e.id}},[n("el-input",e._b({ref:"input",on:{input:e.handleInput,change:e.handleChange,focus:e.handleFocus,blur:e.handleBlur,clear:e.handleClear},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex-1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex+1)},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleKeyEnter(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:e.close(t)}]}},"el-input",[e.$props,e.$attrs],!1),[e.$slots.prepend?n("template",{slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?n("template",{slot:"append"},[e._t("append")],2):e._e(),e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),e.$slots.suffix?n("template",{slot:"suffix"},[e._t("suffix")],2):e._e()],2),n("el-autocomplete-suggestions",{ref:"suggestions",class:[e.popperClass?e.popperClass:""],attrs:{"visible-arrow":"","popper-options":e.popperOptions,"append-to-body":e.popperAppendToBody,placement:e.placement,id:e.id}},e._l(e.suggestions,(function(t,i){return n("li",{key:i,class:{highlighted:e.highlightedIndex===i},attrs:{id:e.id+"-item-"+i,role:"option","aria-selected":e.highlightedIndex===i},on:{click:function(n){e.select(t)}}},[e._t("default",[e._v("\n "+e._s(t[e.valueKey])+"\n ")],{item:t})],2)})),0)],1)},T=[];D._withStripped=!0;var P=n(17),M=n.n(P),H=n(10),L=n.n(H),N=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":!e.parent.hideLoading&&e.parent.loading},style:{width:e.dropdownWidth},attrs:{role:"region"}},[n("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[!e.parent.hideLoading&&e.parent.loading?n("li",[n("i",{staticClass:"el-icon-loading"})]):e._t("default")],2)],1)])},R=[];N._withStripped=!0;var j=n(5),$=n.n(j),V=n(18),K=n.n(V),z={components:{ElScrollbar:K.a},mixins:[$.a,E.a],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(e){this.dispatch("ElAutocomplete","item-click",e)}},updated:function(){var e=this;this.$nextTick((function(t){e.popperJS&&e.updatePopper()}))},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input||this.$parent.$refs.input.$refs.textarea,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var e=this;this.$on("visible",(function(t,n){e.dropdownWidth=n+"px",e.showPopper=t}))}},W=z,G=s(W,N,R,!1,null,null,null);G.options.__file="packages/autocomplete/src/autocomplete-suggestions.vue";var Y=G.exports,X=n(23),J=n.n(X),q={name:"ElAutocomplete",mixins:[E.a,J()("input"),S.a],inheritAttrs:!1,componentName:"ElAutocomplete",components:{ElInput:p.a,ElAutocompleteSuggestions:Y},directives:{Clickoutside:L.a},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,clearable:{type:Boolean,default:!1},disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"},hideLoading:Boolean,popperAppendToBody:{type:Boolean,default:!0},highlightFirstItem:{type:Boolean,default:!1}},data:function(){return{activated:!1,suggestions:[],loading:!1,highlightedIndex:-1,suggestionDisabled:!1}},computed:{suggestionVisible:function(){var e=this.suggestions,t=Array.isArray(e)&&e.length>0;return(t||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+Object(v["generateId"])()}},watch:{suggestionVisible:function(e){var t=this.getInput();t&&this.broadcast("ElAutocompleteSuggestions","visible",[e,t.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(e){var t=this;this.suggestionDisabled||(this.loading=!0,this.fetchSuggestions(e,(function(e){t.loading=!1,t.suggestionDisabled||(Array.isArray(e)?(t.suggestions=e,t.highlightedIndex=t.highlightFirstItem?0:-1):console.error("[Element Error][Autocomplete]autocomplete suggestions must be an array"))})))},handleInput:function(e){if(this.$emit("input",e),this.suggestionDisabled=!1,!this.triggerOnFocus&&!e)return this.suggestionDisabled=!0,void(this.suggestions=[]);this.debouncedGetData(e)},handleChange:function(e){this.$emit("change",e)},handleFocus:function(e){this.activated=!0,this.$emit("focus",e),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(e){this.$emit("blur",e)},handleClear:function(){this.activated=!1,this.$emit("clear")},close:function(e){this.activated=!1},handleKeyEnter:function(e){var t=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),n=t.querySelectorAll(".el-autocomplete-suggestion__list li"),i=n[e],r=t.scrollTop,o=i.offsetTop;o+i.scrollHeight>r+t.clientHeight&&(t.scrollTop+=i.scrollHeight),o=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!1}),"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,n=e.target,i=this.menuItemsArray.indexOf(n),r=this.menuItemsArray.length-1,o=void 0;[38,40].indexOf(t)>-1?(o=38===t?0!==i?i-1:0:i-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach((function(e){e.setAttribute("tabindex","-1")}))},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,n=this.show,i=this.hide,r=this.handleClick,o=this.splitButton,a=this.handleTriggerKeyDown,s=this.handleItemKeyDown;this.triggerElm=o?this.$refs.trigger.$el:this.$slots.default[0].elm;var A=this.dropdownElm;this.triggerElm.addEventListener("keydown",a),A.addEventListener("keydown",s,!0),o||(this.triggerElm.addEventListener("focus",(function(){e.focusing=!0})),this.triggerElm.addEventListener("blur",(function(){e.focusing=!1})),this.triggerElm.addEventListener("click",(function(){e.focusing=!1}))),"hover"===t?(this.triggerElm.addEventListener("mouseenter",n),this.triggerElm.addEventListener("mouseleave",i),A.addEventListener("mouseenter",n),A.addEventListener("mouseleave",i)):"click"===t&&this.triggerElm.addEventListener("click",r)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(e){var t=this,n=this.hide,i=this.splitButton,r=this.type,o=this.dropdownSize,a=this.disabled,s=function(e){t.$emit("click",e),n()},A=null;if(i)A=e("el-button-group",[e("el-button",{attrs:{type:r,size:o,disabled:a},nativeOn:{click:s}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:r,size:o,disabled:a},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]);else{A=this.$slots.default;var l=A[0].data||{},c=l.attrs,u=void 0===c?{}:c;a&&!u.disabled&&(u.disabled=!0,l.attrs=u)}var h=a?null:this.$slots.dropdown;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:n}],attrs:{"aria-disabled":a}},[A,h])}},ce=le,ue=s(ce,ne,ie,!1,null,null,null);ue.options.__file="packages/dropdown/src/dropdown.vue";var he=ue.exports;he.install=function(e){e.component(he.name,he)};var de=he,fe=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("ul",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[e.size&&"el-dropdown-menu--"+e.size]},[e._t("default")],2)])},pe=[];fe._withStripped=!0;var ge={name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[$.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",(function(){e.showPopper&&e.updatePopper()})),this.$on("visible",(function(t){e.showPopper=t}))},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}},me=ge,ve=s(me,fe,pe,!1,null,null,null);ve.options.__file="packages/dropdown/src/dropdown-menu.vue";var ye=ve.exports;ye.install=function(e){e.component(ye.name,ye)};var be=ye,we=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?n("i",{class:e.icon}):e._e(),e._t("default")],2)},Be=[];we._withStripped=!0;var Ce={name:"ElDropdownItem",mixins:[E.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},xe=Ce,_e=s(xe,we,Be,!1,null,null,null);_e.options.__file="packages/dropdown/src/dropdown-item.vue";var Se=_e.exports;Se.install=function(e){e.component(Se.name,Se)};var ke=Se,Ee=Ee||{};Ee.Utils=Ee.Utils||{},Ee.Utils.focusFirstDescendant=function(e){for(var t=0;t=0;t--){var n=e.childNodes[t];if(Ee.Utils.attemptFocus(n)||Ee.Utils.focusLastDescendant(n))return!0}return!1},Ee.Utils.attemptFocus=function(e){if(!Ee.Utils.isFocusable(e))return!1;Ee.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return Ee.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},Ee.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ee.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a=0;t--)e.splice(t,0,e[t]);e=e.join("")}return/^[0-9a-fA-F]{6}$/.test(e)?{red:parseInt(e.slice(0,2),16),green:parseInt(e.slice(2,4),16),blue:parseInt(e.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(e,t){var n=this.getColorChannels(e),i=n.red,r=n.green,o=n.blue;return t>0?(i*=1-t,r*=1-t,o*=1-t):(i+=(255-i)*t,r+=(255-r)*t,o+=(255-o)*t),"rgb("+Math.round(i)+", "+Math.round(r)+", "+Math.round(o)+")"},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},openMenu:function(e,t){var n=this.openedMenus;-1===n.indexOf(e)&&(this.uniqueOpened&&(this.openedMenus=n.filter((function(e){return-1!==t.indexOf(e)}))),this.openedMenus.push(e))},closeMenu:function(e){var t=this.openedMenus.indexOf(e);-1!==t&&this.openedMenus.splice(t,1)},handleSubmenuClick:function(e){var t=e.index,n=e.indexPath,i=-1!==this.openedMenus.indexOf(t);i?(this.closeMenu(t),this.$emit("close",t,n)):(this.openMenu(t,n),this.$emit("open",t,n))},handleItemClick:function(e){var t=this,n=e.index,i=e.indexPath,r=this.activeIndex,o=null!==e.index;o&&(this.activeIndex=e.index),this.$emit("select",n,i,e),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&o&&this.routeToItem(e,(function(e){if(t.activeIndex=r,e){if("NavigationDuplicated"===e.name)return;console.error(e)}}))},initOpenedMenu:function(){var e=this,t=this.activeIndex,n=this.items[t];if(n&&"horizontal"!==this.mode&&!this.collapse){var i=n.indexPath;i.forEach((function(t){var n=e.submenus[t];n&&e.openMenu(t,n.indexPath)}))}},routeToItem:function(e,t){var n=e.route||e.index;try{this.$router.push(n,(function(){}),t)}catch(i){console.error(i)}},open:function(e){var t=this,n=this.submenus[e.toString()].indexPath;n.forEach((function(e){return t.openMenu(e,n)}))},close:function(e){this.closeMenu(e)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new Me(this.$el),this.$watch("items",this.updateActiveIndex)}},Ne=Le,Re=s(Ne,Te,Pe,!1,null,null,null);Re.options.__file="packages/menu/src/menu.vue";var je=Re.exports;je.install=function(e){e.component(je.name,je)};var $e,Ve,Ke=je,ze=n(21),We=n.n(ze),Ge={inject:["rootMenu"],computed:{indexPath:function(){var e=[this.index],t=this.$parent;while("ElMenu"!==t.$options.componentName)t.index&&e.unshift(t.index),t=t.$parent;return e},parentMenu:function(){var e=this.$parent;while(e&&-1===["ElMenu","ElSubmenu"].indexOf(e.$options.componentName))e=e.$parent;return e},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var e=20,t=this.$parent;if(this.rootMenu.collapse)e=20;else while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return{paddingLeft:e+"px"}}}},Ye={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:$.a.props.offset,boundariesPadding:$.a.props.boundariesPadding,popperOptions:$.a.props.popperOptions},data:$.a.data,methods:$.a.methods,beforeDestroy:$.a.beforeDestroy,deactivated:$.a.deactivated},Xe={name:"ElSubmenu",componentName:"ElSubmenu",mixins:[Ge,E.a,Ye],components:{ElCollapseTransition:We.a},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(e){var t=this;this.isMenuPopup&&this.$nextTick((function(e){t.updatePopper()}))}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var e=!1,t=this.submenus,n=this.items;return Object.keys(n).forEach((function(t){n[t].active&&(e=!0)})),Object.keys(t).forEach((function(n){t[n].active&&(e=!0)})),e},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){var e=!0,t=this.$parent;while(t&&t!==this.rootMenu){if(["ElSubmenu","ElMenuItemGroup"].indexOf(t.$options.componentName)>-1){e=!1;break}t=t.$parent}return e}},methods:{handleCollapseToggle:function(e){e?this.initPopper():this.doDestroy()},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},handleClick:function(){var e=this.rootMenu,t=this.disabled;"hover"===e.menuTrigger&&"horizontal"===e.mode||e.collapse&&"vertical"===e.mode||t||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.showTimeout;if("ActiveXObject"in window||"focus"!==e.type||e.relatedTarget){var i=this.rootMenu,r=this.disabled;"click"===i.menuTrigger&&"horizontal"===i.mode||!i.collapse&&"vertical"===i.mode||r||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.rootMenu.openMenu(t.index,t.indexPath)}),n),this.appendToBody&&this.$parent.$el.dispatchEvent(new MouseEvent("mouseenter")))}},handleMouseleave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=this.rootMenu;"click"===n.menuTrigger&&"horizontal"===n.mode||!n.collapse&&"vertical"===n.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){!e.mouseInChild&&e.rootMenu.closeMenu(e.index)}),this.hideTimeout),this.appendToBody&&t&&"ElSubmenu"===this.$parent.$options.name&&this.$parent.handleMouseleave(!0))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var e=this;this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",(function(){e.mouseInChild=!0,clearTimeout(e.timeout)})),this.$on("mouse-leave-child",(function(){e.mouseInChild=!1,clearTimeout(e.timeout)}))},mounted:function(){this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(e){var t=this,n=this.active,i=this.opened,r=this.paddingStyle,o=this.titleStyle,a=this.backgroundColor,s=this.rootMenu,A=this.currentPlacement,l=this.menuTransitionName,c=this.mode,u=this.disabled,h=this.popperClass,d=this.$slots,f=this.isFirstLevel,p=e("transition",{attrs:{name:l}},[e("div",{ref:"menu",directives:[{name:"show",value:i}],class:["el-menu--"+c,h],on:{mouseenter:function(e){return t.handleMouseenter(e,100)},mouseleave:function(){return t.handleMouseleave(!0)},focus:function(e){return t.handleMouseenter(e,100)}}},[e("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+A],style:{backgroundColor:s.backgroundColor||""}},[d.default])])]),g=e("el-collapse-transition",[e("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:i}],style:{backgroundColor:s.backgroundColor||""}},[d.default])]),m="horizontal"===s.mode&&f||"vertical"===s.mode&&!s.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return e("li",{class:{"el-submenu":!0,"is-active":n,"is-opened":i,"is-disabled":u},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":i},on:{mouseenter:this.handleMouseenter,mouseleave:function(){return t.handleMouseleave(!1)},focus:this.handleMouseenter}},[e("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[r,o,{backgroundColor:a}]},[d.title,e("i",{class:["el-submenu__icon-arrow",m]})]),this.isMenuPopup?p:g])}},Je=Xe,qe=s(Je,$e,Ve,!1,null,null,null);qe.options.__file="packages/menu/src/submenu.vue";var Ze=qe.exports;Ze.install=function(e){e.component(Ze.name,Ze)};var et=Ze,tt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-menu-item",class:{"is-active":e.active,"is-disabled":e.disabled},style:[e.paddingStyle,e.itemStyle,{backgroundColor:e.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:e.handleClick,mouseenter:e.onMouseEnter,focus:e.onMouseEnter,blur:e.onMouseLeave,mouseleave:e.onMouseLeave}},["ElMenu"===e.parentMenu.$options.componentName&&e.rootMenu.collapse&&e.$slots.title?n("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[n("div",{attrs:{slot:"content"},slot:"content"},[e._t("title")],2),n("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[e._t("default")],2)]):[e._t("default"),e._t("title")]],2)},nt=[];tt._withStripped=!0;var it=n(26),rt=n.n(it),ot={name:"ElMenuItem",componentName:"ElMenuItem",mixins:[Ge,E.a],components:{ElTooltip:rt.a},props:{index:{default:null,validator:function(e){return"string"===typeof e||null===e}},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var e={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(e.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),e},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}},at=ot,st=s(at,tt,nt,!1,null,null,null);st.options.__file="packages/menu/src/menu-item.vue";var At=st.exports;At.install=function(e){e.component(At.name,At)};var lt=At,ct=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-menu-item-group"},[n("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:e.levelPadding+"px"}},[e.$slots.title?e._t("title"):[e._v(e._s(e.title))]],2),n("ul",[e._t("default")],2)])},ut=[];ct._withStripped=!0;var ht={name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var e=20,t=this.$parent;if(this.rootMenu.collapse)return 20;while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return e}}},dt=ht,ft=s(dt,ct,ut,!1,null,null,null);ft.options.__file="packages/menu/src/menu-item-group.vue";var pt=ft.exports;pt.install=function(e){e.component(pt.name,pt)};var gt=pt,mt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},vt=[];mt._withStripped=!0;var yt=void 0,bt="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",wt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function Bt(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=wt.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;yt||(yt=document.createElement("textarea"),document.body.appendChild(yt));var i=Bt(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;yt.setAttribute("style",s+";"+bt),yt.value=e.value||e.placeholder||"";var A=yt.scrollHeight,l={};"border-box"===a?A+=o:"content-box"===a&&(A-=r),yt.value="";var c=yt.scrollHeight-r;if(null!==t){var u=c*t;"border-box"===a&&(u=u+r+o),A=Math.max(u,A),l.minHeight=u+"px"}if(null!==n){var h=c*n;"border-box"===a&&(h=h+r+o),A=Math.min(h,A)}return l.height=A+"px",yt.parentNode&&yt.parentNode.removeChild(yt),yt=null,l}var xt=n(7),_t=n.n(xt),St=n(19),kt={name:"ElInput",componentName:"ElInput",mixins:[E.a,S.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return _t()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=Ct(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:Ct(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(St["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},Pt=Tt,Mt=s(Pt,Ot,It,!1,null,null,null);Mt.options.__file="packages/input-number/src/input-number.vue";var Ht=Mt.exports;Ht.install=function(e){e.component(Ht.name,Ht)};var Lt=Ht,Nt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},Rt=[];Nt._withStripped=!0;var jt={name:"ElRadio",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},$t=jt,Vt=s($t,Nt,Rt,!1,null,null,null);Vt.options.__file="packages/radio/src/radio.vue";var Kt=Vt.exports;Kt.install=function(e){e.component(Kt.name,Kt)};var zt=Kt,Wt=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n(e._elTag,{tag:"component",staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:e.handleKeydown}},[e._t("default")],2)},Gt=[];Wt._withStripped=!0;var Yt=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),Xt={name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[E.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},_elTag:function(){var e=(this.$vnode.data||{}).tag;return e&&"component"!==e||(e="div"),e},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var e=this;this.$on("handleChange",(function(t){e.$emit("change",t)}))},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,(function(e){return e.checked}))&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,n="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",i=this.$el.querySelectorAll(n),r=i.length,o=[].indexOf.call(i,t),a=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case Yt.LEFT:case Yt.UP:e.stopPropagation(),e.preventDefault(),0===o?(a[r-1].click(),a[r-1].focus()):(a[o-1].click(),a[o-1].focus());break;case Yt.RIGHT:case Yt.DOWN:o===r-1?(e.stopPropagation(),e.preventDefault(),a[0].click(),a[0].focus()):(a[o+1].click(),a[o+1].focus());break;default:break}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}},Jt=Xt,qt=s(Jt,Wt,Gt,!1,null,null,null);qt.options.__file="packages/radio/src/radio-group.vue";var Zt=qt.exports;Zt.install=function(e){e.component(Zt.name,Zt)};var en=Zt,tn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio-button",class:[e.size?"el-radio-button--"+e.size:"",{"is-active":e.value===e.label},{"is-disabled":e.isDisabled},{"is-focus":e.focus}],attrs:{role:"radio","aria-checked":e.value===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.value=e.isDisabled?e.value:e.label}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.value,e.label)},on:{change:[function(t){e.value=e.label},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),n("span",{staticClass:"el-radio-button__inner",style:e.value===e.label?e.activeStyle:null,on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},nn=[];tn._withStripped=!0;var rn={name:"ElRadioButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.dispatch("ElRadioGroup","handleChange",e.value)}))}}},on=rn,an=s(on,tn,nn,!1,null,null,null);an.options.__file="packages/radio/src/radio-button.vue";var sn=an.exports;sn.install=function(e){e.component(sn.name,sn)};var An=sn,ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[n("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[n("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},cn=[];ln._withStripped=!0;var un={name:"ElCheckbox",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},hn=un,dn=s(hn,ln,cn,!1,null,null,null);dn.options.__file="packages/checkbox/src/checkbox.vue";var fn=dn.exports;fn.install=function(e){e.component(fn.name,fn)};var pn=fn,gn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-checkbox-button",class:[e.size?"el-checkbox-button--"+e.size:"",{"is-disabled":e.isDisabled},{"is-checked":e.isChecked},{"is-focus":e.focus}],attrs:{role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled}},[e.trueLabel||e.falseLabel?n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,r=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var o=null,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,r=!!i.checked;if(Array.isArray(n)){var o=e.label,a=e._i(n,o);i.checked?a<0&&(e.model=n.concat([o])):a>-1&&(e.model=n.slice(0,a).concat(n.slice(a+1)))}else e.model=r},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox-button__inner",style:e.isChecked?e.activeStyle:null},[e._t("default",[e._v(e._s(e.label))])],2):e._e()])},mn=[];gn._withStripped=!0;var vn={name:"ElCheckboxButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t._checkboxGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()}},yn=vn,bn=s(yn,gn,mn,!1,null,null,null);bn.options.__file="packages/checkbox/src/checkbox-button.vue";var wn=bn.exports;wn.install=function(e){e.component(wn.name,wn)};var Bn=wn,Cn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},xn=[];Cn._withStripped=!0;var _n={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[E.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},Sn=_n,kn=s(Sn,Cn,xn,!1,null,null,null);kn.options.__file="packages/checkbox/src/checkbox-group.vue";var En=kn.exports;En.install=function(e){e.component(En.name,En)};var Fn=En,Qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-switch",class:{"is-disabled":e.switchDisabled,"is-checked":e.checked},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled},on:{click:function(t){return t.preventDefault(),e.switchValue(t)}}},[n("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:e.id,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled},on:{change:e.handleChange,keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.switchValue(t)}}}),e.inactiveIconClass||e.inactiveText?n("span",{class:["el-switch__label","el-switch__label--left",e.checked?"":"is-active"]},[e.inactiveIconClass?n("i",{class:[e.inactiveIconClass]}):e._e(),!e.inactiveIconClass&&e.inactiveText?n("span",{attrs:{"aria-hidden":e.checked}},[e._v(e._s(e.inactiveText))]):e._e()]):e._e(),n("span",{ref:"core",staticClass:"el-switch__core",style:{width:e.coreWidth+"px"}}),e.activeIconClass||e.activeText?n("span",{class:["el-switch__label","el-switch__label--right",e.checked?"is-active":""]},[e.activeIconClass?n("i",{class:[e.activeIconClass]}):e._e(),!e.activeIconClass&&e.activeText?n("span",{attrs:{"aria-hidden":!e.checked}},[e._v(e._s(e.activeText))]):e._e()]):e._e()])},Un=[];Qn._withStripped=!0;var On={name:"ElSwitch",mixins:[J()("input"),S.a,E.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(e){var t=this,n=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",n),this.$emit("change",n),this.$nextTick((function(){t.$refs.input&&(t.$refs.input.checked=t.checked)}))},setBackgroundColor:function(){var e=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=e,this.$refs.core.style.backgroundColor=e},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},In=On,Dn=s(In,Qn,Un,!1,null,null,null);Dn.options.__file="packages/switch/src/component.vue";var Tn=Dn.exports;Tn.install=function(e){e.component(Tn.name,Tn)};var Pn=Tn,Mn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},Hn=[];Mn._withStripped=!0;var Ln=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},Nn=[];Ln._withStripped=!0;var Rn={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[$.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},jn=Rn,$n=s(jn,Ln,Nn,!1,null,null,null);$n.options.__file="packages/select/src/select-dropdown.vue";var Vn=$n.exports,Kn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},zn=[];Kn._withStripped=!0;var Wn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn={mixins:[E.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":Wn(e))&&"object"===("undefined"===typeof t?"undefined":Wn(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(v["getValueByPath"])(e,n)===Object(v["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(v["getValueByPath"])(e,n)===Object(v["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(v["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},Yn=Gn,Xn=s(Yn,Kn,zn,!1,null,null,null);Xn.options.__file="packages/select/src/option.vue";var Jn=Xn.exports,qn=n(30),Zn=n.n(qn),ei=n(15),ti=n(27),ni=n.n(ti),ii={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},ri={mixins:[E.a,m.a,J()("reference"),ii],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(v["isIE"])()&&!Object(v["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:p.a,ElSelectMenu:Vn,ElOption:Jn,ElTag:Zn.a,ElScrollbar:K.a},directives:{Clickoutside:L.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(v["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(St["isKorean"])(i)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");ni()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(v["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),i="[object null]"===Object.prototype.toString.call(e).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o],s=n?Object(v["getValueByPath"])(a.value,this.valueKey)===Object(v["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var A=n||i||r?"":String(e),l={value:e,currentLabel:A};return this.multiple&&(l.hitState=!1),l},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],i=e.$refs.tags,r=i?Math.round(i.getBoundingClientRect().height):0,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(i?r+(r>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,e.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var i=this.valueKey,r=-1;return e.some((function(e,n){return Object(v["getValueByPath"])(e,i)===Object(v["getValueByPath"])(t,i)&&(r=n,!0)})),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(v["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=M()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=M()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(ei["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},i=t.$el.querySelector("input");this.initialInputHeight=i.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(ei["removeResizeListener"])(this.$el,this.handleResize)}},oi=ri,ai=s(oi,Mn,Hn,!1,null,null,null);ai.options.__file="packages/select/src/select.vue";var si=ai.exports;si.install=function(e){e.component(si.name,si)};var Ai=si;Jn.install=function(e){e.component(Jn.name,Jn)};var li=Jn,ci=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[n("li",{staticClass:"el-select-group__title"},[e._v(e._s(e.label))]),n("li",[n("ul",{staticClass:"el-select-group"},[e._t("default")],2)])])},ui=[];ci._withStripped=!0;var hi={mixins:[E.a],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(e){this.broadcast("ElOption","handleGroupDisabled",e)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some((function(e){return!0===e.visible}))}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}},di=hi,fi=s(di,ci,ui,!1,null,null,null);fi.options.__file="packages/select/src/option-group.vue";var pi=fi.exports;pi.install=function(e){e.component(pi.name,pi)};var gi=pi,mi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},vi=[];mi._withStripped=!0;var yi={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},bi=yi,wi=s(bi,mi,vi,!1,null,null,null);wi.options.__file="packages/button/src/button.vue";var Bi=wi.exports;Bi.install=function(e){e.component(Bi.name,Bi)};var Ci=Bi,xi=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-button-group"},[e._t("default")],2)},_i=[];xi._withStripped=!0;var Si={name:"ElButtonGroup"},ki=Si,Ei=s(ki,xi,_i,!1,null,null,null);Ei.options.__file="packages/button/src/button-group.vue";var Fi=Ei.exports;Fi.install=function(e){e.component(Fi.name,Fi)};var Qi=Fi,Ui=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-table",class:[{"el-table--fit":e.fit,"el-table--striped":e.stripe,"el-table--border":e.border||e.isGroup,"el-table--hidden":e.isHidden,"el-table--group":e.isGroup,"el-table--fluid-height":e.maxHeight,"el-table--scrollable-x":e.layout.scrollX,"el-table--scrollable-y":e.layout.scrollY,"el-table--enable-row-hover":!e.store.states.isComplex,"el-table--enable-row-transition":0!==(e.store.states.data||[]).length&&(e.store.states.data||[]).length<100},e.tableSize?"el-table--"+e.tableSize:""],on:{mouseleave:function(t){e.handleMouseLeave(t)}}},[n("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[e._t("default")],2),e.showHeader?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[n("table-header",{ref:"tableHeader",style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"default-sort":e.defaultSort}})],1):e._e(),n("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[e.layout.scrollX?"is-scrolling-"+e.scrollPosition:"is-scrolling-none"],style:[e.bodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{context:e.context,store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.data&&0!==e.data.length?e._e():n("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:e.emptyBlockStyle},[n("span",{staticClass:"el-table__empty-text"},[e._t("empty",[e._v(e._s(e.emptyText||e.t("el.table.emptyText")))])],2)]),e.$slots.append?n("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[e._t("append")],2):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[n("table-footer",{style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,"default-sort":e.defaultSort}})],1):e._e(),e.fixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:e.layout.fixedWidth?e.layout.fixedWidth+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"fixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"left",store:e.store,stripe:e.stripe,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"row-style":e.rowStyle}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:e.layout.rightFixedWidth?e.layout.rightFixedWidth+"px":"",right:e.layout.scrollY?(e.border?e.layout.gutterWidth:e.layout.gutterWidth||0)+"px":""},e.fixedHeight]},[e.showHeader?n("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[n("table-header",{ref:"rightFixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,store:e.store}})],1):e._e(),n("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[n("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"right",store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.$slots.append?n("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?n("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[n("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?n("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:e.layout.scrollY?e.layout.gutterWidth+"px":"0",height:e.layout.headerHeight+"px"}}):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])},Oi=[];Ui._withStripped=!0;var Ii=n(14),Di=n.n(Ii),Ti=n(36),Pi=n(39),Mi=n.n(Pi),Hi="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,Li=function(e,t){e&&e.addEventListener&&e.addEventListener(Hi?"DOMMouseScroll":"mousewheel",(function(e){var n=Mi()(e);t&&t.apply(this,[e,n])}))},Ni={bind:function(e,t){Li(e,t.value)}},Ri=n(6),ji=n.n(Ri),$i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vi=function(e){var t=e.target;while(t&&"HTML"!==t.tagName.toUpperCase()){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},Ki=function(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":$i(e))},zi=function(e,t,n,i,r){if(!t&&!i&&(!r||Array.isArray(r)&&!r.length))return e;n="string"===typeof n?"descending"===n?-1:1:n&&n<0?-1:1;var o=i?null:function(n,i){return r?(Array.isArray(r)||(r=[r]),r.map((function(t){return"string"===typeof t?Object(v["getValueByPath"])(n,t):t(n,i,e)}))):("$key"!==t&&Ki(n)&&"$value"in n&&(n=n.$value),[Ki(n)?Object(v["getValueByPath"])(n,t):n])},a=function(e,t){if(i)return i(e.value,t.value);for(var n=0,r=e.key.length;nt.key[n])return 1}return 0};return e.map((function(e,t){return{value:e,index:t,key:o?o(e,t):null}})).sort((function(e,t){var i=a(e,t);return i||(i=e.index-t.index),i*n})).map((function(e){return e.value}))},Wi=function(e,t){var n=null;return e.columns.forEach((function(e){e.id===t&&(n=e)})),n},Gi=function(e,t){for(var n=null,i=0;i2&&void 0!==arguments[2]?arguments[2]:"children",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",r=function(e){return!(Array.isArray(e)&&e.length)};function o(e,a,s){t(e,a,s),a.forEach((function(e){if(e[i])t(e,null,s+1);else{var a=e[n];r(a)||o(e,a,s+1)}}))}e.forEach((function(e){if(e[i])t(e,null,0);else{var a=e[n];r(a)||o(e,a,0)}}))}var ar={data:function(){return{states:{defaultExpandAll:!1,expandRows:[]}}},methods:{updateExpandRows:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,i=e.rowKey,r=e.defaultExpandAll,o=e.expandRows;if(r)this.states.expandRows=n.slice();else if(i){var a=Ji(o,i);this.states.expandRows=n.reduce((function(e,t){var n=Xi(t,i),r=a[n];return r&&e.push(t),e}),[])}else this.states.expandRows=[]},toggleRowExpansion:function(e,t){var n=rr(this.states.expandRows,e,t);n&&(this.table.$emit("expand-change",e,this.states.expandRows.slice()),this.scheduleLayout())},setExpandRowKeys:function(e){this.assertRowKey();var t=this.states,n=t.data,i=t.rowKey,r=Ji(n,i);this.states.expandRows=e.reduce((function(e,t){var n=r[t];return n&&e.push(n.row),e}),[])},isRowExpanded:function(e){var t=this.states,n=t.expandRows,i=void 0===n?[]:n,r=t.rowKey;if(r){var o=Ji(i,r);return!!o[Xi(e,r)]}return-1!==i.indexOf(e)}}},sr={data:function(){return{states:{_currentRowKey:null,currentRow:null}}},methods:{setCurrentRowKey:function(e){this.assertRowKey(),this.states._currentRowKey=e,this.setCurrentRowByKey(e)},restoreCurrentRowKey:function(){this.states._currentRowKey=null},setCurrentRowByKey:function(e){var t=this.states,n=t.data,i=void 0===n?[]:n,r=t.rowKey,o=null;r&&(o=Object(v["arrayFind"])(i,(function(t){return Xi(t,r)===e}))),t.currentRow=o},updateCurrentRow:function(e){var t=this.states,n=this.table,i=t.currentRow;if(e&&e!==i)return t.currentRow=e,void n.$emit("current-change",e,i);!e&&i&&(t.currentRow=null,n.$emit("current-change",null,i))},updateCurrentRowData:function(){var e=this.states,t=this.table,n=e.rowKey,i=e._currentRowKey,r=e.data||[],o=e.currentRow;if(-1===r.indexOf(o)&&o){if(n){var a=Xi(o,n);this.setCurrentRowByKey(a)}else e.currentRow=null;null===e.currentRow&&t.$emit("current-change",null,o)}else i&&(this.setCurrentRowByKey(i),this.restoreCurrentRowKey())}}},Ar=Object.assign||function(e){for(var t=1;t0&&t[0]&&"selection"===t[0].type&&!t[0].fixed&&(t[0].fixed=!0,e.fixedColumns.unshift(t[0]));var n=t.filter((function(e){return!e.fixed}));e.originColumns=[].concat(e.fixedColumns).concat(n).concat(e.rightFixedColumns);var i=ur(n),r=ur(e.fixedColumns),o=ur(e.rightFixedColumns);e.leafColumnsLength=i.length,e.fixedLeafColumnsLength=r.length,e.rightFixedLeafColumnsLength=o.length,e.columns=[].concat(r).concat(i).concat(o),e.isComplex=e.fixedColumns.length>0||e.rightFixedColumns.length>0},scheduleLayout:function(e){e&&this.updateColumns(),this.table.debouncedUpdateLayout()},isSelected:function(e){var t=this.states.selection,n=void 0===t?[]:t;return n.indexOf(e)>-1},clearSelection:function(){var e=this.states;e.isAllSelected=!1;var t=e.selection;t.length&&(e.selection=[],this.table.$emit("selection-change",[]))},cleanSelection:function(){var e=this.states,t=e.data,n=e.rowKey,i=e.selection,r=void 0;if(n){r=[];var o=Ji(i,n),a=Ji(t,n);for(var s in o)o.hasOwnProperty(s)&&!a[s]&&r.push(o[s].row)}else r=i.filter((function(e){return-1===t.indexOf(e)}));if(r.length){var A=i.filter((function(e){return-1===r.indexOf(e)}));e.selection=A,this.table.$emit("selection-change",A.slice())}},toggleRowSelection:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=rr(this.states.selection,e,t);if(i){var r=(this.states.selection||[]).slice();n&&this.table.$emit("select",r,e),this.table.$emit("selection-change",r)}},_toggleAllSelection:function(){var e=this.states,t=e.data,n=void 0===t?[]:t,i=e.selection,r=e.selectOnIndeterminate?!e.isAllSelected:!(e.isAllSelected||i.length);e.isAllSelected=r;var o=!1;n.forEach((function(t,n){e.selectable?e.selectable.call(null,t,n)&&rr(i,t,r)&&(o=!0):rr(i,t,r)&&(o=!0)})),o&&this.table.$emit("selection-change",i?i.slice():[]),this.table.$emit("select-all",i)},updateSelectionByRowKey:function(){var e=this.states,t=e.selection,n=e.rowKey,i=e.data,r=Ji(t,n);i.forEach((function(e){var i=Xi(e,n),o=r[i];o&&(t[o.index]=e)}))},updateAllSelected:function(){var e=this.states,t=e.selection,n=e.rowKey,i=e.selectable,r=e.data||[];if(0!==r.length){var o=void 0;n&&(o=Ji(t,n));for(var a=function(e){return o?!!o[Xi(e,n)]:-1!==t.indexOf(e)},s=!0,A=0,l=0,c=r.length;l1?n-1:0),r=1;r1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Table is required.");var n=new dr;return n.table=e,n.toggleAllSelection=M()(10,n._toggleAllSelection),Object.keys(t).forEach((function(e){n.states[e]=t[e]})),n}function pr(e){var t={};return Object.keys(e).forEach((function(n){var i=e[n],r=void 0;"string"===typeof i?r=function(){return this.store.states[i]}:"function"===typeof i?r=function(){return i.call(this,this.store.states)}:console.error("invalid value type"),r&&(t[n]=r)})),t}var gr=n(31),mr=n.n(gr);function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var yr=function(){function e(t){for(var n in vr(this,e),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=mr()(),t)t.hasOwnProperty(n)&&(this[n]=t[n]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return e.prototype.updateScrollY=function(){var e=this.height;if(null===e)return!1;var t=this.table.bodyWrapper;if(this.table.$el&&t){var n=t.querySelector(".el-table__body"),i=this.scrollY,r=n.offsetHeight>this.bodyHeight;return this.scrollY=r,i!==r}return!1},e.prototype.setHeight=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!ji.a.prototype.$isServer){var i=this.table.$el;if(e=nr(e),this.height=e,!i&&(e||0===e))return ji.a.nextTick((function(){return t.setHeight(e,n)}));"number"===typeof e?(i.style[n]=e+"px",this.updateElsHeight()):"string"===typeof e&&(i.style[n]=e,this.updateElsHeight())}},e.prototype.setMaxHeight=function(e){this.setHeight(e,"max-height")},e.prototype.getFlattenColumns=function(){var e=[],t=this.table.columns;return t.forEach((function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e},e.prototype.updateElsHeight=function(){var e=this;if(!this.table.$ready)return ji.a.nextTick((function(){return e.updateElsHeight()}));var t=this.table.$refs,n=t.headerWrapper,i=t.appendWrapper,r=t.footerWrapper;if(this.appendHeight=i?i.offsetHeight:0,!this.showHeader||n){var o=n?n.querySelector(".el-table__header tr"):null,a=this.headerDisplayNone(o),s=this.headerHeight=this.showHeader?n.offsetHeight:0;if(this.showHeader&&!a&&n.offsetWidth>0&&(this.table.columns||[]).length>0&&s<2)return ji.a.nextTick((function(){return e.updateElsHeight()}));var A=this.tableHeight=this.table.$el.clientHeight,l=this.footerHeight=r?r.offsetHeight:0;null!==this.height&&(this.bodyHeight=A-s-l+(r?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var c=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?A-(c?0:this.gutterWidth):A,this.updateScrollY(),this.notifyObservers("scrollable")}},e.prototype.headerDisplayNone=function(e){if(!e)return!0;var t=e;while("DIV"!==t.tagName){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},e.prototype.updateColumnsWidth=function(){if(!ji.a.prototype.$isServer){var e=this.fit,t=this.table.$el.clientWidth,n=0,i=this.getFlattenColumns(),r=i.filter((function(e){return"number"!==typeof e.width}));if(i.forEach((function(e){"number"===typeof e.width&&e.realWidth&&(e.realWidth=null)})),r.length>0&&e){i.forEach((function(e){n+=e.width||e.minWidth||80}));var o=this.scrollY?this.gutterWidth:0;if(n<=t-o){this.scrollX=!1;var a=t-o-n;if(1===r.length)r[0].realWidth=(r[0].minWidth||80)+a;else{var s=r.reduce((function(e,t){return e+(t.minWidth||80)}),0),A=a/s,l=0;r.forEach((function(e,t){if(0!==t){var n=Math.floor((e.minWidth||80)*A);l+=n,e.realWidth=(e.minWidth||80)+n}})),r[0].realWidth=(r[0].minWidth||80)+a-l}}else this.scrollX=!0,r.forEach((function(e){e.realWidth=e.minWidth}));this.bodyWidth=Math.max(n,t),this.table.resizeState.width=this.bodyWidth}else i.forEach((function(e){e.width||e.minWidth?e.realWidth=e.width||e.minWidth:e.realWidth=80,n+=e.realWidth})),this.scrollX=n>t,this.bodyWidth=n;var c=this.store.states.fixedColumns;if(c.length>0){var u=0;c.forEach((function(e){u+=e.realWidth||e.width})),this.fixedWidth=u}var h=this.store.states.rightFixedColumns;if(h.length>0){var d=0;h.forEach((function(e){d+=e.realWidth||e.width})),this.rightFixedWidth=d}this.notifyObservers("columns")}},e.prototype.addObserver=function(e){this.observers.push(e)},e.prototype.removeObserver=function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)},e.prototype.notifyObservers=function(e){var t=this,n=this.observers;n.forEach((function(n){switch(e){case"columns":n.onColumnsChange(t);break;case"scrollable":n.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event "+e+".")}}))},e}(),br=yr,wr={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var e=this.layout;if(!e&&this.table&&(e=this.table.layout),!e)throw new Error("Can not find table layout.");return e}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(e){var t=this.$el.querySelectorAll("colgroup > col");if(t.length){var n=e.getFlattenColumns(),i={};n.forEach((function(e){i[e.id]=e}));for(var r=0,o=t.length;r col[name=gutter]"),n=0,i=t.length;n=this.leftFixedLeafCount:"right"===this.fixed?e=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,n,i){var r=1,o=1,a=this.table.spanMethod;if("function"===typeof a){var s=a({row:e,column:t,rowIndex:n,columnIndex:i});Array.isArray(s)?(r=s[0],o=s[1]):"object"===("undefined"===typeof s?"undefined":xr(s))&&(r=s.rowspan,o=s.colspan)}return{rowspan:r,colspan:o}},getRowStyle:function(e,t){var n=this.table.rowStyle;return"function"===typeof n?n.call(null,{row:e,rowIndex:t}):n||null},getRowClass:function(e,t){var n=["el-table__row"];this.table.highlightCurrentRow&&e===this.store.states.currentRow&&n.push("current-row"),this.stripe&&t%2===1&&n.push("el-table__row--striped");var i=this.table.rowClassName;return"string"===typeof i?n.push(i):"function"===typeof i&&n.push(i.call(null,{row:e,rowIndex:t})),this.store.states.expandRows.indexOf(e)>-1&&n.push("expanded"),n},getCellStyle:function(e,t,n,i){var r=this.table.cellStyle;return"function"===typeof r?r.call(null,{rowIndex:e,columnIndex:t,row:n,column:i}):r},getCellClass:function(e,t,n,i){var r=[i.id,i.align,i.className];this.isColumnHidden(t)&&r.push("is-hidden");var o=this.table.cellClassName;return"string"===typeof o?r.push(o):"function"===typeof o&&r.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:i})),r.push("el-table__cell"),r.join(" ")},getColspanRealWidth:function(e,t,n){if(t<1)return e[n].realWidth;var i=e.map((function(e){var t=e.realWidth;return t})).slice(n,n+t);return i.reduce((function(e,t){return e+t}),-1)},handleCellMouseEnter:function(e,t){var n=this.table,i=Vi(e);if(i){var r=Yi(n,i),o=n.hoverState={cell:i,column:r,row:t};n.$emit("cell-mouse-enter",o.row,o.column,o.cell,e)}var a=e.target.querySelector(".cell");if(Object(He["hasClass"])(a,"el-tooltip")&&a.childNodes.length){var s=document.createRange();s.setStart(a,0),s.setEnd(a,a.childNodes.length);var A=s.getBoundingClientRect().width,l=(parseInt(Object(He["getStyle"])(a,"paddingLeft"),10)||0)+(parseInt(Object(He["getStyle"])(a,"paddingRight"),10)||0);if((A+l>a.offsetWidth||a.scrollWidth>a.offsetWidth)&&this.$refs.tooltip){var c=this.$refs.tooltip;this.tooltipContent=i.innerText||i.textContent,c.referenceElm=i,c.$refs.popper&&(c.$refs.popper.style.display="none"),c.doDestroy(),c.setExpectedState(!0),this.activateTooltip(c)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;t&&(t.setExpectedState(!1),t.handleClosePopper());var n=Vi(e);if(n){var i=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",i.row,i.column,i.cell,e)}},handleMouseEnter:M()(30,(function(e){this.store.commit("setHoverRow",e)})),handleMouseLeave:M()(30,(function(){this.store.commit("setHoverRow",null)})),handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,n){var i=this.table,r=Vi(e),o=void 0;r&&(o=Yi(i,r),o&&i.$emit("cell-"+n,t,o,r,e)),i.$emit("row-"+n,t,o,e)},rowRender:function(e,t,n){var i=this,r=this.$createElement,o=this.treeIndent,a=this.columns,s=this.firstDefaultColumnIndex,A=this.getRowClass(e,t),l=!0;n&&(A.push("el-table__row--level-"+n.level),l=n.display);var c=l?null:{display:"none"};return r(Cr,{style:[c,this.getRowStyle(e,t)],class:A,key:this.getKeyOfRow(e,t),nativeOn:{dblclick:function(t){return i.handleDoubleClick(t,e)},click:function(t){return i.handleClick(t,e)},contextmenu:function(t){return i.handleContextMenu(t,e)},mouseenter:function(e){return i.handleMouseEnter(t)},mouseleave:this.handleMouseLeave},attrs:{columns:a,row:e,index:t,store:this.store,context:this.context||this.table.$vnode.context,firstDefaultColumnIndex:s,treeRowData:n,treeIndent:o,columnsHidden:this.columnsHidden,getSpan:this.getSpan,getColspanRealWidth:this.getColspanRealWidth,getCellStyle:this.getCellStyle,getCellClass:this.getCellClass,handleCellMouseEnter:this.handleCellMouseEnter,handleCellMouseLeave:this.handleCellMouseLeave,isSelected:this.store.isSelected(e),isExpanded:this.store.states.expandRows.indexOf(e)>-1,fixed:this.fixed}})},wrappedRowRender:function(e,t){var n=this,i=this.$createElement,r=this.store,o=r.isRowExpanded,a=r.assertRowKey,s=r.states,A=s.treeData,l=s.lazyTreeNodeMap,c=s.childrenColumnName,u=s.rowKey;if(this.hasExpandColumn&&o(e)){var h=this.table.renderExpanded,d=this.rowRender(e,t);return h?[[d,i("tr",{key:"expanded-row__"+d.key},[i("td",{attrs:{colspan:this.columnsCount},class:"el-table__cell el-table__expanded-cell"},[h(this.$createElement,{row:e,$index:t,store:this.store})])])]]:(console.error("[Element Error]renderExpanded is required."),d)}if(Object.keys(A).length){a();var f=Xi(e,u),p=A[f],g=null;p&&(g={expanded:p.expanded,level:p.level,display:!0},"boolean"===typeof p.lazy&&("boolean"===typeof p.loaded&&p.loaded&&(g.noLazyChildren=!(p.children&&p.children.length)),g.loading=p.loading));var m=[this.rowRender(e,t,g)];if(p){var v=0,y=function e(i,r){i&&i.length&&r&&i.forEach((function(i){var o={display:r.display&&r.expanded,level:r.level+1},a=Xi(i,u);if(void 0===a||null===a)throw new Error("for nested data item, row-key is required.");if(p=_r({},A[a]),p&&(o.expanded=p.expanded,p.level=p.level||o.level,p.display=!(!p.expanded||!o.display),"boolean"===typeof p.lazy&&("boolean"===typeof p.loaded&&p.loaded&&(o.noLazyChildren=!(p.children&&p.children.length)),o.loading=p.loading)),v++,m.push(n.rowRender(i,t+v,o)),p){var s=l[a]||i[c];e(s,p)}}))};p.display=!0;var b=l[f]||e[c];y(b,p)}return m}return this.rowRender(e,t)}}},kr=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"}},[e.multiple?n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("div",{staticClass:"el-table-filter__content"},[n("el-scrollbar",{attrs:{"wrap-class":"el-table-filter__wrap"}},[n("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:e.filteredValue,callback:function(t){e.filteredValue=t},expression:"filteredValue"}},e._l(e.filters,(function(t){return n("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.text))])})),1)],1)],1),n("div",{staticClass:"el-table-filter__bottom"},[n("button",{class:{"is-disabled":0===e.filteredValue.length},attrs:{disabled:0===e.filteredValue.length},on:{click:e.handleConfirm}},[e._v(e._s(e.t("el.table.confirmFilter")))]),n("button",{on:{click:e.handleReset}},[e._v(e._s(e.t("el.table.resetFilter")))])])]):n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[n("ul",{staticClass:"el-table-filter__list"},[n("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===e.filterValue||null===e.filterValue},on:{click:function(t){e.handleSelect(null)}}},[e._v(e._s(e.t("el.table.clearFilter")))]),e._l(e.filters,(function(t){return n("li",{key:t.value,staticClass:"el-table-filter__list-item",class:{"is-active":e.isActive(t)},attrs:{label:t.value},on:{click:function(n){e.handleSelect(t.value)}}},[e._v(e._s(t.text))])}))],2)])])},Er=[];kr._withStripped=!0;var Fr=[];!ji.a.prototype.$isServer&&document.addEventListener("click",(function(e){Fr.forEach((function(t){var n=e.target;t&&t.$el&&(n===t.$el||t.$el.contains(n)||t.handleOutsideClick&&t.handleOutsideClick(e))}))}));var Qr={open:function(e){e&&Fr.push(e)},close:function(e){var t=Fr.indexOf(e);-1!==t&&Fr.splice(e,1)}},Ur=n(32),Or=n.n(Ur),Ir={name:"ElTableFilterPanel",mixins:[$.a,m.a],directives:{Clickoutside:L.a},components:{ElCheckbox:Di.a,ElCheckboxGroup:Or.a,ElScrollbar:K.a},props:{placement:{type:String,default:"bottom-end"}},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout((function(){e.showPopper=!1}),16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){this.filterValue=e,"undefined"!==typeof e&&null!==e?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&("undefined"!==typeof e&&null!==e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var e=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",(function(){e.updatePopper()})),this.$watch("showPopper",(function(t){e.column&&(e.column.filterOpened=t),t?Qr.open(e):Qr.close(e)}))},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)1;return r&&(this.$parent.isGroup=!0),e("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map((function(t){return e("col",{attrs:{name:t.id},key:t.id})})),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("thead",{class:[{"is-group":r,"has-gutter":this.hasGutter}]},[this._l(i,(function(n,i){return e("tr",{style:t.getHeaderRowStyle(i),class:t.getHeaderRowClass(i)},[n.map((function(r,o){return e("th",{attrs:{colspan:r.colSpan,rowspan:r.rowSpan},on:{mousemove:function(e){return t.handleMouseMove(e,r)},mouseout:t.handleMouseOut,mousedown:function(e){return t.handleMouseDown(e,r)},click:function(e){return t.handleHeaderClick(e,r)},contextmenu:function(e){return t.handleHeaderContextMenu(e,r)}},style:t.getHeaderCellStyle(i,o,n,r),class:t.getHeaderCellClass(i,o,n,r),key:r.id},[e("div",{class:["cell",r.filteredValue&&r.filteredValue.length>0?"highlight":"",r.labelClassName]},[r.renderHeader?r.renderHeader.call(t._renderProxy,e,{column:r,$index:o,store:t.store,_self:t.$parent.$vnode.context}):r.label,r.sortable?e("span",{class:"caret-wrapper",on:{click:function(e){return t.handleSortClick(e,r)}}},[e("i",{class:"sort-caret ascending",on:{click:function(e){return t.handleSortClick(e,r,"ascending")}}}),e("i",{class:"sort-caret descending",on:{click:function(e){return t.handleSortClick(e,r,"descending")}}})]):"",r.filterable?e("span",{class:"el-table__column-filter-trigger",on:{click:function(e){return t.handleFilterClick(e,r)}}},[e("i",{class:["el-icon-arrow-down",r.filterOpened?"el-icon-arrow-up":""]})]):""])])})),t.hasGutter?e("th",{class:"el-table__cell gutter"}):""])}))])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:Di.a},computed:Mr({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},pr({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),created:function(){this.filterPanels={}},mounted:function(){var e=this;this.$nextTick((function(){var t=e.defaultSort,n=t.prop,i=t.order,r=!0;e.store.commit("sort",{prop:n,order:i,init:r})}))},beforeDestroy:function(){var e=this.filterPanels;for(var t in e)e.hasOwnProperty(t)&&e[t]&&e[t].$destroy(!0)},methods:{isCellHidden:function(e,t){for(var n=0,i=0;i=this.leftFixedLeafCount:"right"===this.fixed?n=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"===typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],n=this.table.headerRowClassName;return"string"===typeof n?t.push(n):"function"===typeof n&&t.push(n.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,n,i){var r=this.table.headerCellStyle;return"function"===typeof r?r.call(null,{rowIndex:e,columnIndex:t,row:n,column:i}):r},getHeaderCellClass:function(e,t,n,i){var r=[i.id,i.order,i.headerAlign,i.className,i.labelClassName];0===e&&this.isCellHidden(t,n)&&r.push("is-hidden"),i.children||r.push("is-leaf"),i.sortable&&r.push("is-sortable");var o=this.table.headerCellClassName;return"string"===typeof o?r.push(o):"function"===typeof o&&r.push(o.call(null,{rowIndex:e,columnIndex:t,row:n,column:i})),r.push("el-table__cell"),r.join(" ")},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var n=e.target,i="TH"===n.tagName?n:n.parentNode;if(!Object(He["hasClass"])(i,"noclick")){i=i.querySelector(".el-table__column-filter-trigger")||i;var r=this.$parent,o=this.filterPanels[t.id];o&&t.filterOpened?o.showPopper=!1:(o||(o=new ji.a(Pr),this.filterPanels[t.id]=o,t.filterPlacement&&(o.placement=t.filterPlacement),o.table=r,o.cell=i,o.column=t,!this.$isServer&&o.$mount(document.createElement("div"))),setTimeout((function(){o.showPopper=!0}),16))}},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filterable&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(e,t){var n=this;if(!this.$isServer&&!(t.children&&t.children.length>0)&&this.draggingColumn&&this.border){this.dragging=!0,this.$parent.resizeProxyVisible=!0;var i=this.$parent,r=i.$el,o=r.getBoundingClientRect().left,a=this.$el.querySelector("th."+t.id),s=a.getBoundingClientRect(),A=s.left-o+30;Object(He["addClass"])(a,"noclick"),this.dragState={startMouseLeft:e.clientX,startLeft:s.right-o,startColumnLeft:s.left-o,tableLeft:o};var l=i.$refs.resizeProxy;l.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var c=function(e){var t=e.clientX-n.dragState.startMouseLeft,i=n.dragState.startLeft+t;l.style.left=Math.max(A,i)+"px"},u=function r(){if(n.dragging){var o=n.dragState,s=o.startColumnLeft,A=o.startLeft,u=parseInt(l.style.left,10),h=u-s;t.width=t.realWidth=h,i.$emit("header-dragend",t.width,A-s,t,e),n.store.scheduleLayout(),document.body.style.cursor="",n.dragging=!1,n.draggingColumn=null,n.dragState={},i.resizeProxyVisible=!1}document.removeEventListener("mousemove",c),document.removeEventListener("mouseup",r),document.onselectstart=null,document.ondragstart=null,setTimeout((function(){Object(He["removeClass"])(a,"noclick")}),0)};document.addEventListener("mousemove",c),document.addEventListener("mouseup",u)}},handleMouseMove:function(e,t){if(!(t.children&&t.children.length>0)){var n=e.target;while(n&&"TH"!==n.tagName)n=n.parentNode;if(t&&t.resizable&&!this.dragging&&this.border){var i=n.getBoundingClientRect(),r=document.body.style;i.width>12&&i.right-e.pageX<8?(r.cursor="col-resize",Object(He["hasClass"])(n,"is-sortable")&&(n.style.cursor="col-resize"),this.draggingColumn=t):this.dragging||(r.cursor="",Object(He["hasClass"])(n,"is-sortable")&&(n.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(e){var t=e.order,n=e.sortOrders;if(""===t)return n[0];var i=n.indexOf(t||null);return n[i>n.length-2?0:i+1]},handleSortClick:function(e,t,n){e.stopPropagation();var i=t.order===n?null:n||this.toggleOrder(t),r=e.target;while(r&&"TH"!==r.tagName)r=r.parentNode;if(r&&"TH"===r.tagName&&Object(He["hasClass"])(r,"noclick"))Object(He["removeClass"])(r,"noclick");else if(t.sortable){var o=this.store.states,a=o.sortProp,s=void 0,A=o.sortingColumn;(A!==t||A===t&&null===A.order)&&(A&&(A.order=null),o.sortingColumn=t,a=t.property),s=t.order=i||null,o.sortProp=a,o.sortOrder=s,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},Rr=Object.assign||function(e){for(var t=1;t=this.leftFixedLeafCount;if("right"===this.fixed){for(var i=0,r=0;r=this.columnsCount-this.rightFixedCount)},getRowClasses:function(e,t){var n=[e.id,e.align,e.labelClassName];return e.className&&n.push(e.className),this.isCellHidden(t,this.columns,e)&&n.push("is-hidden"),e.children||n.push("is-leaf"),n}}},$r=Object.assign||function(e){for(var t=1;t0){var i=n.scrollTop;t.pixelY<0&&0!==i&&e.preventDefault(),t.pixelY>0&&n.scrollHeight-n.clientHeight>i&&e.preventDefault(),n.scrollTop+=Math.ceil(t.pixelY/5)}else n.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var n=t.pixelX,i=t.pixelY;Math.abs(n)>=Math.abs(i)&&(this.bodyWrapper.scrollLeft+=t.pixelX/5)},syncPostion:function(){var e=this.bodyWrapper,t=e.scrollLeft,n=e.scrollTop,i=e.offsetWidth,r=e.scrollWidth,o=this.$refs,a=o.headerWrapper,s=o.footerWrapper,A=o.fixedBodyWrapper,l=o.rightFixedBodyWrapper;a&&(a.scrollLeft=t),s&&(s.scrollLeft=t),A&&(A.scrollTop=n),l&&(l.scrollTop=n);var c=r-i-1;this.scrollPosition=t>=c?"right":0===t?"left":"middle"},throttleSyncPostion:Object(Ti["throttle"])(16,(function(){this.syncPostion()})),onScroll:function(e){var t=window.requestAnimationFrame;t?t(this.syncPostion):this.throttleSyncPostion()},bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(ei["addResizeListener"])(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(ei["removeResizeListener"])(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,n=this.resizeState,i=n.width,r=n.height,o=t.offsetWidth;i!==o&&(e=!0);var a=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&r!==a&&(e=!0),e&&(this.resizeState.width=o,this.resizeState.height=a,this.doLayout())}},doLayout:function(){this.shouldUpdateHeight&&this.layout.updateElsHeight(),this.layout.updateColumnsWidth()},sort:function(e,t){this.store.commit("sort",{prop:e,order:t})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")}},computed:$r({tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},bodyWidth:function(){var e=this.layout,t=e.bodyWidth,n=e.scrollY,i=e.gutterWidth;return t?t-(n?i:0)+"px":""},bodyHeight:function(){var e=this.layout,t=e.headerHeight,n=void 0===t?0:t,i=e.bodyHeight,r=e.footerHeight,o=void 0===r?0:r;if(this.height)return{height:i?i+"px":""};if(this.maxHeight){var a=nr(this.maxHeight);if("number"===typeof a)return{"max-height":a-o-(this.showHeader?n:0)+"px"}}return{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var e=nr(this.maxHeight);if("number"===typeof e)return e=this.layout.scrollX?e-this.layout.gutterWidth:e,this.showHeader&&(e-=this.layout.headerHeight),e-=this.layout.footerHeight,{"max-height":e+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}},emptyBlockStyle:function(){if(this.data&&this.data.length)return null;var e="100%";return this.layout.appendHeight&&(e="calc(100% - "+this.layout.appendHeight+"px)"),{width:this.bodyWidth,height:e}}},pr({selection:"selection",columns:"columns",tableData:"data",fixedColumns:"fixedColumns",rightFixedColumns:"rightFixedColumns"})),watch:{height:{immediate:!0,handler:function(e){this.layout.setHeight(e)}},maxHeight:{immediate:!0,handler:function(e){this.layout.setMaxHeight(e)}},currentRowKey:{immediate:!0,handler:function(e){this.rowKey&&this.store.setCurrentRowKey(e)}},data:{immediate:!0,handler:function(e){this.store.commit("setData",e)}},expandRowKeys:{immediate:!0,handler:function(e){e&&this.store.setExpandRowKeysAdapter(e)}}},created:function(){var e=this;this.tableId="el-table_"+Vr++,this.debouncedUpdateLayout=Object(Ti["debounce"])(50,(function(){return e.doLayout()}))},mounted:function(){var e=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach((function(t){t.filteredValue&&t.filteredValue.length&&e.store.commit("filterChange",{column:t,values:t.filteredValue,silent:!0})})),this.$ready=!0},destroyed:function(){this.unbindEvents()},data:function(){var e=this.treeProps,t=e.hasChildren,n=void 0===t?"hasChildren":t,i=e.children,r=void 0===i?"children":i;this.store=fr(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate,indent:this.indent,lazy:this.lazy,lazyColumnIdentifier:n,childrenColumnName:r});var o=new br({store:this.store,table:this,fit:this.fit,showHeader:this.showHeader});return{layout:o,isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}},zr=Kr,Wr=s(zr,Ui,Oi,!1,null,null,null);Wr.options.__file="packages/table/src/table.vue";var Gr=Wr.exports;Gr.install=function(e){e.component(Gr.name,Gr)};var Yr=Gr,Xr={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Jr={selection:{renderHeader:function(e,t){var n=t.store;return e("el-checkbox",{attrs:{disabled:n.states.data&&0===n.states.data.length,indeterminate:n.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},on:{input:this.toggleAllSelection}})},renderCell:function(e,t){var n=t.row,i=t.column,r=t.isSelected,o=t.store,a=t.$index;return e("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},attrs:{value:r,disabled:!!i.selectable&&!i.selectable.call(null,n,a)},on:{input:function(){o.commit("rowSelectedChanged",n)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,t){var n=t.column;return n.label||"#"},renderCell:function(e,t){var n=t.$index,i=t.column,r=n+1,o=i.index;return"number"===typeof o?r=n+o:"function"===typeof o&&(r=o(n)),e("div",[r])},sortable:!1},expand:{renderHeader:function(e,t){var n=t.column;return n.label||""},renderCell:function(e,t){var n=t.row,i=t.store,r=t.isExpanded,o=["el-table__expand-icon"];r&&o.push("el-table__expand-icon--expanded");var a=function(e){e.stopPropagation(),i.toggleRowExpansion(n)};return e("div",{class:o,on:{click:a}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function qr(e,t){var n=t.row,i=t.column,r=t.$index,o=i.property,a=o&&Object(v["getPropByPath"])(n,o).v;return i&&i.formatter?i.formatter(n,i,a,r):a}function Zr(e,t){var n=t.row,i=t.treeNode,r=t.store;if(!i)return null;var o=[],a=function(e){e.stopPropagation(),r.loadOrToggle(n)};if(i.indent&&o.push(e("span",{class:"el-table__indent",style:{"padding-left":i.indent+"px"}})),"boolean"!==typeof i.expanded||i.noLazyChildren)o.push(e("span",{class:"el-table__placeholder"}));else{var s=["el-table__expand-icon",i.expanded?"el-table__expand-icon--expanded":""],A=["el-icon-arrow-right"];i.loading&&(A=["el-icon-loading"]),o.push(e("div",{class:s,on:{click:a}},[e("i",{class:A})]))}return o}var eo=Object.assign||function(e){for(var t=1;t-1}))}}},data:function(){return{isSubColumn:!1,columns:[]}},computed:{owner:function(){var e=this.$parent;while(e&&!e.tableId)e=e.$parent;return e},columnOrTableParent:function(){var e=this.$parent;while(e&&!e.tableId&&!e.columnId)e=e.$parent;return e},realWidth:function(){return er(this.width)},realMinWidth:function(){return tr(this.minWidth)},realAlign:function(){return this.align?"is-"+this.align:null},realHeaderAlign:function(){return this.headerAlign?"is-"+this.headerAlign:this.realAlign}},methods:{getPropsData:function(){for(var e=this,t=arguments.length,n=Array(t),i=0;i3&&void 0!==arguments[3]?arguments[3]:"-";if(!e)return null;var r=(po[n]||po["default"]).parser,o=t||Ao[n];return r(e,o,i)},vo=function(e,t,n){if(!e)return null;var i=(po[n]||po["default"]).formatter,r=t||Ao[n];return i(e,r)},yo=function(e,t){var n=function(e,t){var n=e instanceof Date,i=t instanceof Date;return n&&i?e.getTime()===t.getTime():!n&&!i&&e===t},i=e instanceof Array,r=t instanceof Array;return i&&r?e.length===t.length&&e.every((function(e,i){return n(e,t[i])})):!i&&!r&&n(e,t)},bo=function(e){return"string"===typeof e||e instanceof String},wo=function(e){return null===e||void 0===e||bo(e)||Array.isArray(e)&&2===e.length&&e.every(bo)},Bo={mixins:[E.a,so],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:wo},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:wo},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:p.a},directives:{Clickoutside:L.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e)}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)},value:function(e,t){yo(e,t)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",e)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,n=e.length;t0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.userInput=null,e.pickerVisible=e.picker.visible=n,e.emitInput(t),e.picker.resetView&&e.picker.resetView()})),this.picker.$on("select-range",(function(t,n,i){0!==e.refInput.length&&(i&&"min"!==i?"max"===i&&(e.refInput[1].setSelectionRange(t,n),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,n),e.refInput[0].focus()))}))},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"===typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){yo(e,this.valueOnOpen)||(this.$emit("change",e),this.valueOnOpen=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",e))},emitInput:function(e){var t=this.formatToValue(e);yo(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}},Co=Bo,xo=s(Co,ro,oo,!1,null,null,null);xo.options.__file="packages/date-picker/src/picker.vue";var _o=xo.exports,So=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":e.handleEnter,"after-leave":e.handleLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-picker__time-header"},[n("span",{staticClass:"el-date-picker__editor-wrap"},[n("el-input",{attrs:{placeholder:e.t("el.datepicker.selectDate"),value:e.visibleDate,size:"small"},on:{input:function(t){return e.userInputDate=t},change:e.handleVisibleDateChange}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleTimePickClose,expression:"handleTimePickClose"}],staticClass:"el-date-picker__editor-wrap"},[n("el-input",{ref:"input",attrs:{placeholder:e.t("el.datepicker.selectTime"),value:e.visibleTime,size:"small"},on:{focus:function(t){e.timePickerVisible=!0},input:function(t){return e.userInputTime=t},change:e.handleVisibleTimeChange}}),n("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.timePickerVisible},on:{pick:e.handleTimePick,mounted:e.proxyTimePickerDataProperties}})],1)]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==e.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===e.currentView||"month"===e.currentView}},[n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevYear")},on:{click:e.prevYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevMonth")},on:{click:e.prevMonth}}),n("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:e.showYearPicker}},[e._v(e._s(e.yearLabel))]),n("span",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===e.currentView},attrs:{role:"button"},on:{click:e.showMonthPicker}},[e._v(e._s(e.t("el.datepicker.month"+(e.month+1))))]),n("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextYear")},on:{click:e.nextYear}}),n("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextMonth")},on:{click:e.nextMonth}})]),n("div",{staticClass:"el-picker-panel__content"},[n("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":e.selectionMode,"first-day-of-week":e.firstDayOfWeek,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"cell-class-name":e.cellClassName,"disabled-date":e.disabledDate},on:{pick:e.handleDatePick}}),n("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===e.currentView,expression:"currentView === 'year'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleYearPick}}),n("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===e.currentView,expression:"currentView === 'month'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleMonthPick}})],1)])],2),n("div",{directives:[{name:"show",rawName:"v-show",value:e.footerVisible&&("date"===e.currentView||"month"===e.currentView||"year"===e.currentView),expression:"footerVisible && (currentView === 'date' || currentView === 'month' || currentView === 'year')"}],staticClass:"el-picker-panel__footer"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==e.selectionMode&&"months"!==e.selectionMode&&"years"!==e.selectionMode,expression:"selectionMode !== 'dates' && selectionMode !== 'months' && selectionMode !== 'years'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.changeToNow}},[e._v("\n "+e._s(e.t("el.datepicker.now"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:e.confirm}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1)])])},ko=[];So._withStripped=!0;var Eo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-panel__content",class:{"has-seconds":e.showSeconds}},[n("time-spinner",{ref:"spinner",attrs:{"arrow-control":e.useArrow,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,date:e.date},on:{change:e.handleChange,"select-range":e.setSelectionRange}})],1),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:e.handleCancel}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn",class:{confirm:!e.disabled},attrs:{type:"button"},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},Fo=[];Eo._withStripped=!0;var Qo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-time-spinner",class:{"has-seconds":e.showSeconds}},[e.arrowControl?e._e():[n("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("hours")},mousemove:function(t){e.adjustCurrentSpinner("hours")}}},e._l(e.hoursList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.hours,disabled:t},on:{click:function(n){e.handleClick("hours",{value:i,disabled:t})}}},[e._v(e._s(("0"+(e.amPmMode?i%12||12:i)).slice(-2))+e._s(e.amPm(i)))])})),0),n("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("minutes")},mousemove:function(t){e.adjustCurrentSpinner("minutes")}}},e._l(e.minutesList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.minutes,disabled:!t},on:{click:function(t){e.handleClick("minutes",{value:i,disabled:!1})}}},[e._v(e._s(("0"+i).slice(-2)))])})),0),n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("seconds")},mousemove:function(t){e.adjustCurrentSpinner("seconds")}}},e._l(60,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:i===e.seconds},on:{click:function(t){e.handleClick("seconds",{value:i,disabled:!1})}}},[e._v(e._s(("0"+i).slice(-2)))])})),0)],e.arrowControl?[n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("hours")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"hours",staticClass:"el-time-spinner__list"},e._l(e.arrowHourList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.hours,disabled:e.hoursList[t]}},[e._v(e._s(void 0===t?"":("0"+(e.amPmMode?t%12||12:t)).slice(-2)+e.amPm(t)))])})),0)]),n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("minutes")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},e._l(e.arrowMinuteList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.minutes}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]),e.showSeconds?n("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("seconds")}}},[n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),n("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),n("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},e._l(e.arrowSecondList,(function(t,i){return n("li",{key:i,staticClass:"el-time-spinner__item",class:{active:t===e.seconds}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]):e._e()]:e._e()],2)},Uo=[];Qo._withStripped=!0;var Oo={components:{ElScrollbar:K.a},directives:{repeatClick:Dt},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return Object(ao["getRangeHours"])(this.selectableRange)},minutesList:function(){return Object(ao["getRangeMinutes"])(this.selectableRange,this.hours)},arrowHourList:function(){var e=this.hours;return[e>0?e-1:void 0,e,e<23?e+1:void 0]},arrowMinuteList:function(){var e=this.minutes;return[e>0?e-1:void 0,e,e<59?e+1:void 0]},arrowSecondList:function(){var e=this.seconds;return[e>0?e-1:void 0,e,e<59?e+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var e=this;this.$nextTick((function(){!e.arrowControl&&e.bindScrollEvent()}))},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(e,t){switch(e){case"hours":this.$emit("change",Object(ao["modifyTime"])(this.date,t,this.minutes,this.seconds));break;case"minutes":this.$emit("change",Object(ao["modifyTime"])(this.date,this.hours,t,this.seconds));break;case"seconds":this.$emit("change",Object(ao["modifyTime"])(this.date,this.hours,this.minutes,t));break}},handleClick:function(e,t){var n=t.value,i=t.disabled;i||(this.modifyDateField(e,n),this.emitSelectRange(e),this.adjustSpinner(e,n))},emitSelectRange:function(e){"hours"===e?this.$emit("select-range",0,2):"minutes"===e?this.$emit("select-range",3,5):"seconds"===e&&this.$emit("select-range",6,8),this.currentScrollbar=e},bindScrollEvent:function(){var e=this,t=function(t){e.$refs[t].wrap.onscroll=function(n){e.handleScroll(t,n)}};t("hours"),t("minutes"),t("seconds")},handleScroll:function(e){var t=Math.min(Math.round((this.$refs[e].wrap.scrollTop-(.5*this.scrollBarHeight(e)-10)/this.typeItemHeight(e)+3)/this.typeItemHeight(e)),"hours"===e?23:59);this.modifyDateField(e,t)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(e){this.adjustSpinner(e,this[e])},adjustSpinner:function(e,t){if(!this.arrowControl){var n=this.$refs[e].wrap;n&&(n.scrollTop=Math.max(0,t*this.typeItemHeight(e)))}},scrollDown:function(e){var t=this;this.currentScrollbar||this.emitSelectRange("hours");var n=this.currentScrollbar,i=this.hoursList,r=this[n];if("hours"===this.currentScrollbar){var o=Math.abs(e);e=e>0?1:-1;var a=i.length;while(a--&&o)r=(r+e+i.length)%i.length,i[r]||o--;if(i[r])return}else r=(r+e+60)%60;this.modifyDateField(n,r),this.adjustSpinner(n,r),this.$nextTick((function(){return t.emitSelectRange(t.currentScrollbar)}))},amPm:function(e){var t="a"===this.amPmMode.toLowerCase();if(!t)return"";var n="A"===this.amPmMode,i=e<12?" am":" pm";return n&&(i=i.toUpperCase()),i},typeItemHeight:function(e){return this.$refs[e].$el.querySelector("li").offsetHeight},scrollBarHeight:function(e){return this.$refs[e].$el.offsetHeight}}},Io=Oo,Do=s(Io,Qo,Uo,!1,null,null,null);Do.options.__file="packages/date-picker/src/basic/time-spinner.vue";var To=Do.exports,Po={mixins:[m.a],components:{TimeSpinner:To},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(e){var t=this;e?(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.spinner.emitSelectRange("hours")}))):this.needInitAdjust=!0},value:function(e){var t=this,n=void 0;e instanceof Date?n=Object(ao["limitTimeRange"])(e,this.selectableRange,this.format):e||(n=this.defaultValue?new Date(this.defaultValue):new Date),this.date=n,this.visible&&this.needInitAdjust&&(this.$nextTick((function(e){return t.adjustSpinners()})),this.needInitAdjust=!1)},selectableRange:function(e){this.$refs.spinner.selectableRange=e},defaultValue:function(e){Object(ao["isDate"])(this.value)||(this.date=e?new Date(e):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(e){this.visible&&(this.date=Object(ao["clearMilliseconds"])(e),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(e,t){this.$emit("select-range",e,t),this.selectionRange=[e,t]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(!t){var n=Object(ao["clearMilliseconds"])(Object(ao["limitTimeRange"])(this.date,this.selectableRange,this.format));this.$emit("pick",n,e,t)}},handleKeydown:function(e){var t=e.keyCode,n={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var i=n[t];return this.changeSelectionRange(i),void e.preventDefault()}if(38===t||40===t){var r=n[t];return this.$refs.spinner.scrollDown(r),void e.preventDefault()}},isValidValue:function(e){return Object(ao["timeWithinRange"])(e,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(e){var t=[0,3].concat(this.showSeconds?[6]:[]),n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=t.indexOf(this.selectionRange[0]),r=(i+e+t.length)%t.length;this.$refs.spinner.emitSelectRange(n[r])}},mounted:function(){var e=this;this.$nextTick((function(){return e.handleConfirm(!0,!0)})),this.$emit("mounted")}},Mo=Po,Ho=s(Mo,Eo,Fo,!1,null,null,null);Ho.options.__file="packages/date-picker/src/panel/time.vue";var Lo=Ho.exports,No=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick}},[n("tbody",[n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])]),n("tr",[n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])]),n("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[n("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])]),n("td"),n("td")])])])},Ro=[];No._withStripped=!0;var jo=function(e){var t=Object(ao["getDayCountOfYear"])(e),n=new Date(e,0,1);return Object(ao["range"])(t).map((function(e){return Object(ao["nextDate"])(n,e)}))},$o={props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&Object(ao["isDate"])(e)}},date:{},selectionMode:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(e){var t={},n=new Date;return t.disabled="function"===typeof this.disabledDate&&jo(e).every(this.disabledDate),t.current=Object(v["arrayFindIndex"])(Object(v["coerceTruthyValueToArray"])(this.value),(function(t){return t.getFullYear()===e}))>=0,t.today=n.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,t},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName){if(Object(He["hasClass"])(t.parentNode,"disabled"))return;var n=t.textContent||t.innerText;if("years"===this.selectionMode){var i=this.value||[],r=Object(v["arrayFindIndex"])(i,(function(e){return e.getFullYear()===Number(n)})),o=r>-1?[].concat(i.slice(0,r),i.slice(r+1)):[].concat(i,[new Date(n)]);this.$emit("pick",o)}else this.$emit("pick",Number(n))}}}},Vo=$o,Ko=s(Vo,No,Ro,!1,null,null,null);Ko.options.__file="packages/date-picker/src/basic/year-table.vue";var zo=Ko.exports,Wo=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-month-table",on:{click:e.handleMonthTableClick,mousemove:e.handleMouseMove}},[n("tbody",e._l(e.rows,(function(t,i){return n("tr",{key:i},e._l(t,(function(t,i){return n("td",{key:i,class:e.getCellStyle(t)},[n("div",[n("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months."+e.months[t.text])))])])])})),0)})),0)])},Go=[];Wo._withStripped=!0;var Yo=function(e,t){var n=Object(ao["getDayCountOfMonth"])(e,t),i=new Date(e,t,1);return Object(ao["range"])(n).map((function(e){return Object(ao["nextDate"])(i,e)}))},Xo=function(e){return new Date(e.getFullYear(),e.getMonth())},Jo=function(e){return"number"===typeof e||"string"===typeof e?Xo(new Date(e)).getTime():e instanceof Date?Xo(e).getTime():NaN},qo=function(e,t){var n="function"===typeof t?Object(v["arrayFindIndex"])(e,t):e.indexOf(t);return n>=0?[].concat(e.slice(0,n),e.slice(n+1)):e},Zo={props:{disabledDate:{},value:{},selectionMode:{default:"month"},minDate:{},maxDate:{},defaultValue:{validator:function(e){return null===e||Object(ao["isDate"])(e)||Array.isArray(e)&&e.every(ao["isDate"])}},date:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},mixins:[m.a],watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){Jo(e)!==Jo(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){Jo(e)!==Jo(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{months:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],tableRows:[[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.date.getFullYear()===n.getFullYear()&&Number(e.text)===n.getMonth()},getCellStyle:function(e){var t=this,n={},i=this.date.getFullYear(),r=new Date,o=e.text,a=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[];return n.disabled="function"===typeof this.disabledDate&&Yo(i,o).every(this.disabledDate),n.current=Object(v["arrayFindIndex"])(Object(v["coerceTruthyValueToArray"])(this.value),(function(e){return e.getFullYear()===i&&e.getMonth()===o}))>=0,n.today=r.getFullYear()===i&&r.getMonth()===o,n.default=a.some((function(n){return t.cellMatchesDate(e,n)})),e.inRange&&(n["in-range"]=!0,e.start&&(n["start-date"]=!0),e.end&&(n["end-date"]=!0)),n},getMonthOfCell:function(e){var t=this.date.getFullYear();return new Date(t,e,1)},markRange:function(e,t){e=Jo(e),t=Jo(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var i=this.rows,r=0,o=i.length;r=e&&u<=t,l.start=e&&u===e,l.end=t&&u===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex,i=t.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getMonthOfCell(4*n+i)}}))}}},handleMonthTableClick:function(e){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName&&!Object(He["hasClass"])(t,"disabled")){var n=t.cellIndex,i=t.parentNode.rowIndex,r=4*i+n,o=this.getMonthOfCell(r);if("range"===this.selectionMode)this.rangeState.selecting?(o>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:o}):this.$emit("pick",{minDate:o,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:o,maxDate:null}),this.rangeState.selecting=!0);else if("months"===this.selectionMode){var a=this.value||[],s=this.date.getFullYear(),A=Object(v["arrayFindIndex"])(a,(function(e){return e.getFullYear()===s&&e.getMonth()===r}))>=0?qo(a,(function(e){return e.getTime()===o.getTime()})):[].concat(a,[o]);this.$emit("pick",A)}else this.$emit("pick",r)}}},computed:{rows:function(){for(var e=this,t=this.tableRows,n=this.disabledDate,i=[],r=Jo(new Date),o=0;o<3;o++)for(var a=t[o],s=function(t){var s=a[t];s||(s={row:o,column:t,type:"normal",inRange:!1,start:!1,end:!1}),s.type="normal";var A=4*o+t,l=new Date(e.date.getFullYear(),A).getTime();s.inRange=l>=Jo(e.minDate)&&l<=Jo(e.maxDate),s.start=e.minDate&&l===Jo(e.minDate),s.end=e.maxDate&&l===Jo(e.maxDate);var c=l===r;c&&(s.type="today"),s.text=A;var u=new Date(l);s.disabled="function"===typeof n&&n(u),s.selected=Object(v["arrayFind"])(i,(function(e){return e.getTime()===u.getTime()})),e.$set(a,t,s)},A=0;A<4;A++)s(A);return t}}},ea=Zo,ta=s(ea,Wo,Go,!1,null,null,null);ta.options.__file="packages/date-picker/src/basic/month-table.vue";var na=ta.exports,ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===e.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:e.handleClick,mousemove:e.handleMouseMove}},[n("tbody",[n("tr",[e.showWeekNumber?n("th",[e._v(e._s(e.t("el.datepicker.week")))]):e._e(),e._l(e.WEEKS,(function(t,i){return n("th",{key:i},[e._v(e._s(e.t("el.datepicker.weeks."+t)))])}))],2),e._l(e.rows,(function(t,i){return n("tr",{key:i,staticClass:"el-date-table__row",class:{current:e.isWeekActive(t[1])}},e._l(t,(function(t,i){return n("td",{key:i,class:e.getCellClasses(t)},[n("div",[n("span",[e._v("\n "+e._s(t.text)+"\n ")])])])})),0)}))],2)])},ra=[];ia._withStripped=!0;var oa=["sun","mon","tue","wed","thu","fri","sat"],aa=function(e){return"number"===typeof e||"string"===typeof e?Object(ao["clearTime"])(new Date(e)).getTime():e instanceof Date?Object(ao["clearTime"])(e).getTime():NaN},sa=function(e,t){var n="function"===typeof t?Object(v["arrayFindIndex"])(e,t):e.indexOf(t);return n>=0?[].concat(e.slice(0,n),e.slice(n+1)):e},Aa={mixins:[m.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return e>=1&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||Object(ao["isDate"])(e)||Array.isArray(e)&&e.every(ao["isDate"])}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},cellClassName:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return e>3?7-e:-e},WEEKS:function(){var e=this.firstDayOfWeek;return oa.concat(oa).slice(e,e+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return Object(ao["getStartDateOfMonth"])(this.year,this.month)},rows:function(){var e=this,t=new Date(this.year,this.month,1),n=Object(ao["getFirstDayOfMonth"])(t),i=Object(ao["getDayCountOfMonth"])(t.getFullYear(),t.getMonth()),r=Object(ao["getDayCountOfMonth"])(t.getFullYear(),0===t.getMonth()?11:t.getMonth()-1);n=0===n?7:n;for(var o=this.offsetDay,a=this.tableRows,s=1,A=this.startDate,l=this.disabledDate,c=this.cellClassName,u="dates"===this.selectionMode?Object(v["coerceTruthyValueToArray"])(this.value):[],h=aa(new Date),d=0;d<6;d++){var f=a[d];this.showWeekNumber&&(f[0]||(f[0]={type:"week",text:Object(ao["getWeekNumber"])(Object(ao["nextDate"])(A,7*d+1))}));for(var p=function(t){var a=f[e.showWeekNumber?t+1:t];a||(a={row:d,column:t,type:"normal",inRange:!1,start:!1,end:!1}),a.type="normal";var p=7*d+t,g=Object(ao["nextDate"])(A,p-o).getTime();a.inRange=g>=aa(e.minDate)&&g<=aa(e.maxDate),a.start=e.minDate&&g===aa(e.minDate),a.end=e.maxDate&&g===aa(e.maxDate);var m=g===h;if(m&&(a.type="today"),d>=0&&d<=1){var y=n+o<0?7+n+o:n+o;t+7*d>=y?a.text=s++:(a.text=r-(y-t%7)+1+7*d,a.type="prev-month")}else s<=i?a.text=s++:(a.text=s++-i,a.type="next-month");var b=new Date(g);a.disabled="function"===typeof l&&l(b),a.selected=Object(v["arrayFind"])(u,(function(e){return e.getTime()===b.getTime()})),a.customClass="function"===typeof c&&c(b),e.$set(f,e.showWeekNumber?t+1:t,a)},g=0;g<7;g++)p(g);if("week"===this.selectionMode){var m=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,b=this.isWeekActive(f[m+1]);f[m].inRange=b,f[m].start=b,f[y].inRange=b,f[y].end=b}}return a}},watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){aa(e)!==aa(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){aa(e)!==aa(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var n=new Date(t);return this.year===n.getFullYear()&&this.month===n.getMonth()&&Number(e.text)===n.getDate()},getCellClasses:function(e){var t=this,n=this.selectionMode,i=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],r=[];return"normal"!==e.type&&"today"!==e.type||e.disabled?r.push(e.type):(r.push("available"),"today"===e.type&&r.push("today")),"normal"===e.type&&i.some((function(n){return t.cellMatchesDate(e,n)}))&&r.push("default"),"day"!==n||"normal"!==e.type&&"today"!==e.type||!this.cellMatchesDate(e,this.value)||r.push("current"),!e.inRange||"normal"!==e.type&&"today"!==e.type&&"week"!==this.selectionMode||(r.push("in-range"),e.start&&r.push("start-date"),e.end&&r.push("end-date")),e.disabled&&r.push("disabled"),e.selected&&r.push("selected"),e.customClass&&r.push(e.customClass),r.join(" ")},getDateOfCell:function(e,t){var n=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return Object(ao["nextDate"])(this.startDate,n)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),n=t.getFullYear(),i=t.getMonth();if("prev-month"===e.type&&(t.setMonth(0===i?11:i-1),t.setFullYear(0===i?n-1:n)),"next-month"===e.type&&(t.setMonth(11===i?0:i+1),t.setFullYear(11===i?n+1:n)),t.setDate(parseInt(e.text,10)),Object(ao["isDate"])(this.value)){var r=(this.value.getDay()-this.firstDayOfWeek+7)%7-1,o=Object(ao["prevDate"])(this.value,r);return o.getTime()===t.getTime()}return!1},markRange:function(e,t){e=aa(e),t=aa(t)||e;var n=[Math.min(e,t),Math.max(e,t)];e=n[0],t=n[1];for(var i=this.startDate,r=this.rows,o=0,a=r.length;o=e&&h<=t,c.start=e&&h===e,c.end=t&&h===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,i=t.cellIndex;this.rows[n][i].disabled||n===this.lastRow&&i===this.lastColumn||(this.lastRow=n,this.lastColumn=i,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getDateOfCell(n,i)}}))}}},handleClick:function(e){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var n=t.parentNode.rowIndex-1,i="week"===this.selectionMode?1:t.cellIndex,r=this.rows[n][i];if(!r.disabled&&"week"!==r.type){var o=this.getDateOfCell(n,i);if("range"===this.selectionMode)this.rangeState.selecting?(o>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:o}):this.$emit("pick",{minDate:o,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:o,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",o);else if("week"===this.selectionMode){var a=Object(ao["getWeekNumber"])(o),s=o.getFullYear()+"w"+a;this.$emit("pick",{year:o.getFullYear(),week:a,value:s,date:o})}else if("dates"===this.selectionMode){var A=this.value||[],l=r.selected?sa(A,(function(e){return e.getTime()===o.getTime()})):[].concat(A,[o]);this.$emit("pick",l)}}}}}},la=Aa,ca=s(la,ia,ra,!1,null,null,null);ca.options.__file="packages/date-picker/src/basic/date-table.vue";var ua=ca.exports,ha={mixins:[m.a],directives:{Clickoutside:L.a},watch:{showTime:function(e){var t=this;e&&this.$nextTick((function(e){var n=t.$refs.input.$el;n&&(t.pickerWidth=n.getBoundingClientRect().width+10)}))},value:function(e){"dates"===this.selectionMode&&this.value||"months"===this.selectionMode&&this.value||"years"===this.selectionMode&&this.value||(Object(ao["isDate"])(e)?this.date=new Date(e):this.date=this.getDefaultValue())},defaultValue:function(e){Object(ao["isDate"])(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick((function(){return t.$refs.timepicker.adjustSpinners()}))},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e?this.currentView="date":"years"===e?this.currentView="year":"months"===e&&(this.currentView="month")}},methods:{proxyTimePickerDataProperties:function(){var e=this,t=function(t){e.$refs.timepicker.format=t},n=function(t){e.$refs.timepicker.value=t},i=function(t){e.$refs.timepicker.date=t},r=function(t){e.$refs.timepicker.selectableRange=t};this.$watch("value",n),this.$watch("date",i),this.$watch("selectableRange",r),t(this.timeFormat),n(this.value),i(this.date),r(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(e){for(var t=this,n=arguments.length,i=Array(n>1?n-1:0),r=1;r0)||Object(ao["timeWithinRange"])(e,this.selectableRange,this.format||"HH:mm:ss")}},components:{TimePicker:Lo,YearTable:zo,MonthTable:na,DateTable:ua,ElInput:p.a,ElButton:ae.a},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",cellClassName:"",selectableRange:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return Object(ao["getWeekNumber"])(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode||"months"===this.selectionMode||"years"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:Object(ao["formatDate"])(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:Object(ao["formatDate"])(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var e=this.t("el.datepicker.year");if("year"===this.currentView){var t=10*Math.floor(this.year/10);return e?t+" "+e+" - "+(t+9)+" "+e:t+" - "+(t+9)}return this.year+" "+e},timeFormat:function(){return this.format?Object(ao["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(ao["extractDateFormat"])(this.format):"yyyy-MM-dd"}}},da=ha,fa=s(da,So,ko,!1,null,null,null);fa.options.__file="packages/date-picker/src/panel/date.vue";var pa=fa.exports,ga=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[e.showTime?n("div",{staticClass:"el-date-range-picker__time-header"},[n("span",{staticClass:"el-date-range-picker__editors-wrap"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),value:e.minVisibleDate},on:{input:function(t){return e.handleDateInput(t,"min")},change:function(t){return e.handleDateChange(t,"min")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMinTimeClose,expression:"handleMinTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),value:e.minVisibleTime},on:{focus:function(t){e.minTimePickerVisible=!0},input:function(t){return e.handleTimeInput(t,"min")},change:function(t){return e.handleTimeChange(t,"min")}}}),n("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.minTimePickerVisible},on:{pick:e.handleMinTimePick,mounted:function(t){e.$refs.minTimePicker.format=e.timeFormat}}})],1)]),n("span",{staticClass:"el-icon-arrow-right"}),n("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[n("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),value:e.maxVisibleDate,readonly:!e.minDate},on:{input:function(t){return e.handleDateInput(t,"max")},change:function(t){return e.handleDateChange(t,"max")}}})],1),n("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMaxTimeClose,expression:"handleMaxTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[n("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),value:e.maxVisibleTime,readonly:!e.minDate},on:{focus:function(t){e.minDate&&(e.maxTimePickerVisible=!0)},input:function(t){return e.handleTimeInput(t,"max")},change:function(t){return e.handleTimeChange(t,"max")}}}),n("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.maxTimePickerVisible},on:{pick:e.handleMaxTimePick,mounted:function(t){e.$refs.maxTimePicker.format=e.timeFormat}}})],1)])]):e._e(),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevMonth}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.leftNextMonth}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.rightPrevMonth}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:e.rightNextMonth}}),n("div",[e._v(e._s(e.rightLabel))])]),n("date-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2),e.showTime?n("div",{staticClass:"el-picker-panel__footer"},[n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.handleClear}},[e._v("\n "+e._s(e.t("el.datepicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm(!1)}}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1):e._e()])])},ma=[];ga._withStripped=!0;var va=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(ao["nextDate"])(new Date(e),1)]:[new Date,Object(ao["nextDate"])(new Date,1)]},ya={mixins:[m.a],directives:{Clickoutside:L.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return null!==this.dateUserInput.min?this.dateUserInput.min:this.minDate?Object(ao["formatDate"])(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return null!==this.dateUserInput.max?this.dateUserInput.max:this.maxDate||this.minDate?Object(ao["formatDate"])(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return null!==this.timeUserInput.min?this.timeUserInput.min:this.minDate?Object(ao["formatDate"])(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return null!==this.timeUserInput.max?this.timeUserInput.max:this.maxDate||this.minDate?Object(ao["formatDate"])(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?Object(ao["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(ao["extractDateFormat"])(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var e=(this.leftMonth+1)%12,t=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+t,e)=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(ao["nextMonth"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",cellClassName:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1,dateUserInput:{min:null,max:null},timeUserInput:{min:null,max:null}}},watch:{minDate:function(e){var t=this;this.dateUserInput.min=null,this.timeUserInput.min=null,this.$nextTick((function(){if(t.$refs.maxTimePicker&&t.maxDate&&t.maxDatethis.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Object(ao["modifyDate"])(this.maxDate,n.getFullYear(),n.getMonth(),n.getDate()),this.maxDatethis.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Object(ao["modifyTime"])(this.maxDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.maxDate1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(ao["modifyWithTimeString"])(e.minDate,i[0]),o=Object(ao["modifyWithTimeString"])(e.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=r,setTimeout((function(){t.maxDate=o,t.minDate=r}),10),n&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleMinTimePick:function(e,t,n){this.minDate=this.minDate||new Date,e&&(this.minDate=Object(ao["modifyTime"])(this.minDate,e.getHours(),e.getMinutes(),e.getSeconds())),n||(this.minTimePickerVisible=t),(!this.maxDate||this.maxDate&&this.maxDate.getTime()this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=Object(ao["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["nextMonth"])(this.leftDate))},leftPrevMonth:function(){this.leftDate=Object(ao["prevMonth"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["nextMonth"])(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=Object(ao["nextYear"])(this.rightDate):(this.leftDate=Object(ao["nextYear"])(this.leftDate),this.rightDate=Object(ao["nextMonth"])(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Object(ao["nextMonth"])(this.rightDate):(this.leftDate=Object(ao["nextMonth"])(this.leftDate),this.rightDate=Object(ao["nextMonth"])(this.leftDate))},leftNextYear:function(){this.leftDate=Object(ao["nextYear"])(this.leftDate)},leftNextMonth:function(){this.leftDate=Object(ao["nextMonth"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(ao["prevYear"])(this.rightDate)},rightPrevMonth:function(){this.rightDate=Object(ao["prevMonth"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(ao["isDate"])(e[0])&&Object(ao["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate&&null==this.maxDate&&(this.rangeState.selecting=!1),this.minDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{TimePicker:Lo,DateTable:ua,ElInput:p.a,ElButton:ae.a}},ba=ya,wa=s(ba,ga,ma,!1,null,null,null);wa.options.__file="packages/date-picker/src/panel/date-range.vue";var Ba=wa.exports,Ca=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts},e.popperClass]},[n("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?n("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,i){return n("button",{key:i,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(n){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),n("div",{staticClass:"el-picker-panel__body"},[n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[n("div",{staticClass:"el-date-range-picker__header"},[n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),n("div",[e._v(e._s(e.leftLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),n("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[n("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),n("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),n("div",[e._v(e._s(e.rightLabel))])]),n("month-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2)])])},xa=[];Ca._withStripped=!0;var _a=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(ao["nextMonth"])(new Date(e))]:[new Date,Object(ao["nextMonth"])(new Date)]},Sa={mixins:[m.a],directives:{Clickoutside:L.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")},leftYear:function(){return this.leftDate.getFullYear()},rightYear:function(){return this.rightDate.getFullYear()===this.leftDate.getFullYear()?this.leftDate.getFullYear()+1:this.rightDate.getFullYear()},enableYearArrow:function(){return this.unlinkPanels&&this.rightYear>this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(ao["nextYear"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(ao["isDate"])(e[0])?new Date(e[0]):null,this.maxDate=Object(ao["isDate"])(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),n=this.maxDate.getFullYear();this.rightDate=t===n?Object(ao["nextYear"])(this.maxDate):this.maxDate}else this.rightDate=Object(ao["nextYear"])(this.leftDate);else this.leftDate=_a(this.defaultValue)[0],this.rightDate=Object(ao["nextYear"])(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=_a(e),n=t[0],i=t[1];this.leftDate=n,this.rightDate=e&&e[1]&&n.getFullYear()!==i.getFullYear()&&this.unlinkPanels?i:Object(ao["nextYear"])(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=_a(this.defaultValue)[0],this.rightDate=Object(ao["nextYear"])(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=this.defaultTime||[],r=Object(ao["modifyWithTimeString"])(e.minDate,i[0]),o=Object(ao["modifyWithTimeString"])(e.maxDate,i[1]);this.maxDate===o&&this.minDate===r||(this.onPick&&this.onPick(e),this.maxDate=o,this.minDate=r,setTimeout((function(){t.maxDate=o,t.minDate=r}),10),n&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},leftPrevYear:function(){this.leftDate=Object(ao["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(ao["prevYear"])(this.rightDate))},rightNextYear:function(){this.unlinkPanels||(this.leftDate=Object(ao["nextYear"])(this.leftDate)),this.rightDate=Object(ao["nextYear"])(this.rightDate)},leftNextYear:function(){this.leftDate=Object(ao["nextYear"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(ao["prevYear"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(ao["isDate"])(e[0])&&Object(ao["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(ao["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{MonthTable:na,ElInput:p.a,ElButton:ae.a}},ka=Sa,Ea=s(ka,Ca,xa,!1,null,null,null);Ea.options.__file="packages/date-picker/src/panel/month-range.vue";var Fa=Ea.exports,Qa=function(e){return"daterange"===e||"datetimerange"===e?Ba:"monthrange"===e?Fa:pa},Ua={mixins:[_o],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=Qa(e),this.mountPicker()):this.panel=Qa(e)}},created:function(){this.panel=Qa(this.type)},install:function(e){e.component(Ua.name,Ua)}},Oa=Ua,Ia=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:e.popperClass,style:{width:e.width+"px"}},[n("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},e._l(e.items,(function(t){return n("div",{key:t.value,staticClass:"time-select-item",class:{selected:e.value===t.value,disabled:t.disabled,default:t.value===e.defaultValue},attrs:{disabled:t.disabled},on:{click:function(n){e.handleClick(t)}}},[e._v(e._s(t.value))])})),0)],1)])},Da=[];Ia._withStripped=!0;var Ta=function(e){var t=(e||"").split(":");if(t.length>=2){var n=parseInt(t[0],10),i=parseInt(t[1],10);return{hours:n,minutes:i}}return null},Pa=function(e,t){var n=Ta(e),i=Ta(t),r=n.minutes+60*n.hours,o=i.minutes+60*i.hours;return r===o?0:r>o?1:-1},Ma=function(e){return(e.hours<10?"0"+e.hours:e.hours)+":"+(e.minutes<10?"0"+e.minutes:e.minutes)},Ha=function(e,t){var n=Ta(e),i=Ta(t),r={hours:n.hours,minutes:n.minutes};return r.minutes+=i.minutes,r.hours+=i.hours,r.hours+=Math.floor(r.minutes/60),r.minutes=r.minutes%60,Ma(r)},La={components:{ElScrollbar:K.a},watch:{value:function(e){var t=this;e&&this.$nextTick((function(){return t.scrollToOption()}))}},methods:{handleClick:function(e){e.disabled||this.$emit("pick",e.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",t=this.$refs.popper.querySelector(".el-picker-panel__content");ni()(t,t.querySelector(e))},handleMenuEnter:function(){var e=this,t=-1!==this.items.map((function(e){return e.value})).indexOf(this.value),n=-1!==this.items.map((function(e){return e.value})).indexOf(this.defaultValue),i=(t?".selected":n&&".default")||".time-select-item:not(.disabled)";this.$nextTick((function(){return e.scrollToOption(i)}))},scrollDown:function(e){var t=this.items,n=t.length,i=t.length,r=t.map((function(e){return e.value})).indexOf(this.value);while(i--)if(r=(r+e+n)%n,!t[r].disabled)return void this.$emit("pick",t[r].value,!0)},isValidValue:function(e){return-1!==this.items.filter((function(e){return!e.disabled})).map((function(e){return e.value})).indexOf(e)},handleKeydown:function(e){var t=e.keyCode;if(38===t||40===t){var n={40:1,38:-1},i=n[t.toString()];return this.scrollDown(i),void e.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var e=this.start,t=this.end,n=this.step,i=[];if(e&&t&&n){var r=e;while(Pa(r,t)<=0)i.push({value:r,disabled:Pa(r,this.minTime||"-1:-1")<=0||Pa(r,this.maxTime||"100:100")>=0}),r=Ha(r,n)}return i}}},Na=La,Ra=s(Na,Ia,Da,!1,null,null,null);Ra.options.__file="packages/date-picker/src/panel/time-select.vue";var ja=Ra.exports,$a={mixins:[_o],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=ja},install:function(e){e.component($a.name,$a)}},Va=$a,Ka=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:e.popperClass},[n("div",{staticClass:"el-time-range-picker__content"},[n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.startTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.minDate},on:{change:e.handleMinChange,"select-range":e.setMinSelectionRange}})],1)]),n("div",{staticClass:"el-time-range-picker__cell"},[n("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.endTime")))]),n("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[n("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.maxDate},on:{change:e.handleMaxChange,"select-range":e.setMaxSelectionRange}})],1)])]),n("div",{staticClass:"el-time-panel__footer"},[n("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(t){e.handleCancel()}}},[e._v(e._s(e.t("el.datepicker.cancel")))]),n("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},za=[];Ka._withStripped=!0;var Wa=Object(ao["parseDate"])("00:00:00","HH:mm:ss"),Ga=Object(ao["parseDate"])("23:59:59","HH:mm:ss"),Ya=function(e){return Object(ao["modifyDate"])(Wa,e.getFullYear(),e.getMonth(),e.getDate())},Xa=function(e){return Object(ao["modifyDate"])(Ga,e.getFullYear(),e.getMonth(),e.getDate())},Ja=function(e,t){return new Date(Math.min(e.getTime()+t,Xa(e).getTime()))},qa={mixins:[m.a],components:{TimeSpinner:To},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=Ja(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=Ja(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.minSpinner.emitSelectRange("hours")})))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=Object(ao["clearMilliseconds"])(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=Object(ao["clearMilliseconds"])(e),this.handleChange()},handleChange:function(){this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[Ya(this.minDate),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,Xa(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.minSpinner.selectableRange,n=this.$refs.maxSpinner.selectableRange;this.minDate=Object(ao["limitTimeRange"])(this.minDate,t,this.format),this.maxDate=Object(ao["limitTimeRange"])(this.maxDate,n,this.format),this.$emit("pick",[this.minDate,this.maxDate],e)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(e){var t=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],n=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),i=t.indexOf(this.selectionRange[0]),r=(i+e+t.length)%t.length,o=t.length/2;r-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(v["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(He["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(He["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object(He["on"])(n,"focusin",this.handleFocus),Object(He["on"])(t,"focusout",this.handleBlur),Object(He["on"])(n,"focusout",this.handleBlur)),Object(He["on"])(t,"keydown",this.handleKeydown),Object(He["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(He["on"])(t,"click",this.doToggle),Object(He["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(He["on"])(t,"mouseenter",this.handleMouseEnter),Object(He["on"])(n,"mouseenter",this.handleMouseEnter),Object(He["on"])(t,"mouseleave",this.handleMouseLeave),Object(He["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(He["on"])(t,"focusin",this.doShow),Object(He["on"])(t,"focusout",this.doClose)):(Object(He["on"])(t,"mousedown",this.doShow),Object(He["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(He["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(He["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(He["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(He["off"])(e,"click",this.doToggle),Object(He["off"])(e,"mouseup",this.doClose),Object(He["off"])(e,"mousedown",this.doShow),Object(He["off"])(e,"focusin",this.doShow),Object(He["off"])(e,"focusout",this.doClose),Object(He["off"])(e,"mousedown",this.doShow),Object(He["off"])(e,"mouseup",this.doClose),Object(He["off"])(e,"mouseleave",this.handleMouseLeave),Object(He["off"])(e,"mouseenter",this.handleMouseEnter),Object(He["off"])(document,"click",this.handleDocumentClick)}},ss=as,As=s(ss,rs,os,!1,null,null,null);As.options.__file="packages/popover/src/main.vue";var ls=As.exports,cs=function(e,t,n){var i=t.expression?t.value:t.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=e:r.$refs.reference=e)},us={bind:function(e,t,n){cs(e,t,n)},inserted:function(e,t,n){cs(e,t,n)}};ji.a.directive("popover",us),ls.install=function(e){e.directive("popover",us),e.component(ls.name,ls)},ls.directive=us;var hs=ls,ds={name:"ElTooltip",mixins:[$.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(v["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new ji.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=M()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(He["on"])(this.referenceElm,"mouseenter",this.show),Object(He["on"])(this.referenceElm,"mouseleave",this.hide),Object(He["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(He["on"])(this.referenceElm,"blur",this.handleBlur),Object(He["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(He["addClass"])(this.referenceElm,"focusing"):Object(He["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n0){Us=Is.shift();var t=Us.options;for(var n in t)t.hasOwnProperty(n)&&(Os[n]=t[n]);void 0===t.callback&&(Os.callback=Ds);var i=Os.callback;Os.callback=function(t,n){i(t,n),e()},Object(ks["isVNode"])(Os.message)?(Os.$slots.default=[Os.message],Os.message=null):delete Os.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach((function(e){void 0===Os[e]&&(Os[e]=!0)})),document.body.appendChild(Os.$el),ji.a.nextTick((function(){Os.visible=!0}))}},Ms=function e(t,n){if(!ji.a.prototype.$isServer){if("string"===typeof t||Object(ks["isVNode"])(t)?(t={message:t},"string"===typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!n&&(n=t.callback),"undefined"!==typeof Promise)return new Promise((function(i,r){Is.push({options:_t()({},Fs,e.defaults,t),callback:n,resolve:i,reject:r}),Ps()}));Is.push({options:_t()({},Fs,e.defaults,t),callback:n}),Ps()}};Ms.setDefaults=function(e){Ms.defaults=e},Ms.alert=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),Ms(_t()({title:t,message:e,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},n))},Ms.confirm=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),Ms(_t()({title:t,message:e,$type:"confirm",showCancelButton:!0},n))},Ms.prompt=function(e,t,n){return"object"===("undefined"===typeof t?"undefined":Es(t))?(n=t,t=""):void 0===t&&(t=""),Ms(_t()({title:t,message:e,showCancelButton:!0,showInput:!0,$type:"prompt"},n))},Ms.close=function(){Os.doClose(),Os.visible=!1,Is=[],Us=null};var Hs=Ms,Ls=Hs,Ns=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[e._t("default")],2)},Rs=[];Ns._withStripped=!0;var js={name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var e=this.$el.querySelectorAll(".el-breadcrumb__item");e.length&&e[e.length-1].setAttribute("aria-current","page")}},$s=js,Vs=s($s,Ns,Rs,!1,null,null,null);Vs.options.__file="packages/breadcrumb/src/breadcrumb.vue";var Ks=Vs.exports;Ks.install=function(e){e.component(Ks.name,Ks)};var zs=Ks,Ws=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"el-breadcrumb__item"},[n("span",{ref:"link",class:["el-breadcrumb__inner",e.to?"is-link":""],attrs:{role:"link"}},[e._t("default")],2),e.separatorClass?n("i",{staticClass:"el-breadcrumb__separator",class:e.separatorClass}):n("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[e._v(e._s(e.separator))])])},Gs=[];Ws._withStripped=!0;var Ys={name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var e=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass;var t=this.$refs.link;t.setAttribute("role","link"),t.addEventListener("click",(function(t){var n=e.to,i=e.$router;n&&i&&(e.replace?i.replace(n):i.push(n))}))}},Xs=Ys,Js=s(Xs,Ws,Gs,!1,null,null,null);Js.options.__file="packages/breadcrumb/src/breadcrumb-item.vue";var qs=Js.exports;qs.install=function(e){e.component(qs.name,qs)};var Zs=qs,eA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("form",{staticClass:"el-form",class:[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]},[e._t("default")],2)},tA=[];eA._withStripped=!0;var nA={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(e){e.removeValidateEvents(),e.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var e=Math.max.apply(Math,this.potentialLabelWidthArr);return e?e+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var e=this;this.$on("el.form.addField",(function(t){t&&e.fields.push(t)})),this.$on("el.form.removeField",(function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)}))},methods:{resetFields:function(){this.model?this.fields.forEach((function(e){e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?"string"===typeof e?this.fields.filter((function(t){return e===t.prop})):this.fields.filter((function(t){return e.indexOf(t.prop)>-1})):this.fields;t.forEach((function(e){e.clearValidate()}))},validate:function(e){var t=this;if(this.model){var n=void 0;"function"!==typeof e&&window.Promise&&(n=new window.Promise((function(t,n){e=function(e,i){e?t(e):n(i)}})));var i=!0,r=0;0===this.fields.length&&e&&e(!0);var o={};return this.fields.forEach((function(n){n.validate("",(function(n,a){n&&(i=!1),o=_t()({},o,a),"function"===typeof e&&++r===t.fields.length&&e(i,o)}))})),n||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(e,t){e=[].concat(e);var n=this.fields.filter((function(t){return-1!==e.indexOf(t.prop)}));n.length?n.forEach((function(e){e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(e){var t=this.potentialLabelWidthArr.indexOf(e);if(-1===t)throw new Error("[ElementForm]unpected width ",e);return t},registerLabelWidth:function(e,t){if(e&&t){var n=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(n,1,e)}else e&&this.potentialLabelWidthArr.push(e)},deregisterLabelWidth:function(e){var t=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(t,1)}}},iA=nA,rA=s(iA,eA,tA,!1,null,null,null);rA.options.__file="packages/form/src/form.vue";var oA=rA.exports;oA.install=function(e){e.component(oA.name,oA)};var aA=oA,sA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required,"is-no-asterisk":e.elForm&&e.elForm.hideRequiredAsterisk},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[n("label-wrap",{attrs:{"is-auto-width":e.labelStyle&&"auto"===e.labelStyle.width,"update-all":"auto"===e.form.labelWidth}},[e.label||e.$slots.label?n("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e()]),n("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?e._t("error",[n("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"===typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")])],{error:e.validateMessage}):e._e()],2)],2)],1)},AA=[];sA._withStripped=!0;var lA,cA,uA=n(41),hA=n.n(uA),dA={props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var e=arguments[0],t=this.$slots.default;if(!t)return null;if(this.isAutoWidth){var n=this.elForm.autoLabelWidth,i={};if(n&&"auto"!==n){var r=parseInt(n,10)-this.computedWidth;r&&(i.marginLeft=r+"px")}return e("div",{class:"el-form-item__label-wrap",style:i},[t])}return t[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var e=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(e))}return 0},updateLabelWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===e?this.computedWidth=this.getLabelWidth():"remove"===e&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(e,t){this.updateAll&&(this.elForm.registerLabelWidth(e,t),this.elFormItem.updateComputedLabelWidth(e))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},fA=dA,pA=s(fA,lA,cA,!1,null,null,null);pA.options.__file="packages/form/src/label-wrap.vue";var gA=pA.exports,mA={name:"ElFormItem",componentName:"ElFormItem",mixins:[E.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:gA},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e},rules:function(e){e&&0!==e.length||void 0!==this.required||this.clearValidate()}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var n=this.labelWidth||this.form.labelWidth;return"auto"===n?"auto"===this.labelWidth?e.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(e.marginLeft=this.elForm.autoLabelWidth):e.marginLeft=n,e},form:function(){var e=this.$parent,t=e.$options.componentName;while("ElForm"!==t)"ElFormItem"===t&&(this.isNested=!0),e=e.$parent,t=e.$options.componentName;return e},fieldValue:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),Object(v["getPropByPath"])(e,t,!0).v}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every((function(e){return!e.required||(t=!0,!1)})),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v["noop"];this.validateDisabled=!1;var i=this.getFilteredRule(e);if((!i||0===i.length)&&void 0===this.required)return n(),!0;this.validateState="validating";var r={};i&&i.length>0&&i.forEach((function(e){delete e.trigger})),r[this.prop]=i;var o=new hA.a(r),a={};a[this.prop]=this.fieldValue,o.validate(a,{firstFields:!0},(function(e,i){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",n(t.validateMessage,i),t.elForm&&t.elForm.$emit("validate",t.prop,!e,t.validateMessage||null)}))},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.form.model,n=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var r=Object(v["getPropByPath"])(t,i,!0);this.validateDisabled=!0,Array.isArray(n)?r.o[r.k]=[].concat(this.initialValue):r.o[r.k]=this.initialValue,this.$nextTick((function(){e.validateDisabled=!1})),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,n=void 0!==this.required?{required:!!this.required}:[],i=Object(v["getPropByPath"])(e,this.prop||"");return e=e?i.o[this.prop||""]||i.v:[],[].concat(t||e||[]).concat(n)},getFilteredRule:function(e){var t=this.getRules();return t.filter((function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)})).map((function(e){return _t()({},e)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(e){this.computedLabelWidth=e?e+"px":""},addValidateEvents:function(){var e=this.getRules();(e.length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},vA=mA,yA=s(vA,sA,AA,!1,null,null,null);yA.options.__file="packages/form/src/form-item.vue";var bA=yA.exports;bA.install=function(e){e.component(bA.name,bA)};var wA=bA,BA=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-tabs__active-bar",class:"is-"+e.rootTabs.tabPosition,style:e.barStyle})},CA=[];BA._withStripped=!0;var xA={name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var e=this,t={},n=0,i=0,r=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",o="width"===r?"x":"y",a=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))};this.tabs.every((function(t,o){var s=Object(v["arrayFind"])(e.$parent.$refs.tabs||[],(function(e){return e.id.replace("tab-","")===t.paneName}));if(!s)return!1;if(t.active){i=s["client"+a(r)];var A=window.getComputedStyle(s);return"width"===r&&e.tabs.length>1&&(i-=parseFloat(A.paddingLeft)+parseFloat(A.paddingRight)),"width"===r&&(n+=parseFloat(A.paddingLeft)),!1}return n+=s["client"+a(r)],!0}));var s="translate"+a(o)+"("+n+"px)";return t[r]=i+"px",t.transform=s,t.msTransform=s,t.webkitTransform=s,t}}}},_A=xA,SA=s(_A,BA,CA,!1,null,null,null);SA.options.__file="packages/tabs/src/tab-bar.vue";var kA=SA.exports;function EA(){}var FA,QA,UA=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))},OA={name:"TabNav",components:{TabBar:kA},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:EA},onTabRemove:{type:Function,default:EA},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){var e=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y";return{transform:"translate"+e+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var e=this.$refs.navScroll["offset"+UA(this.sizeName)],t=this.navOffset;if(t){var n=t>e?t-e:0;this.navOffset=n}},scrollNext:function(){var e=this.$refs.nav["offset"+UA(this.sizeName)],t=this.$refs.navScroll["offset"+UA(this.sizeName)],n=this.navOffset;if(!(e-n<=t)){var i=e-n>2*t?n+t:e-t;this.navOffset=i}},scrollToActiveTab:function(){if(this.scrollable){var e=this.$refs.nav,t=this.$el.querySelector(".is-active");if(t){var n=this.$refs.navScroll,i=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),r=t.getBoundingClientRect(),o=n.getBoundingClientRect(),a=i?e.offsetWidth-o.width:e.offsetHeight-o.height,s=this.navOffset,A=s;i?(r.lefto.right&&(A=s+r.right-o.right)):(r.topo.bottom&&(A=s+(r.bottom-o.bottom))),A=Math.max(A,0),this.navOffset=Math.min(A,a)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+UA(e)],n=this.$refs.navScroll["offset"+UA(e)],i=this.navOffset;if(n0&&(this.navOffset=0)}},changeTab:function(e){var t=e.keyCode,n=void 0,i=void 0,r=void 0;-1!==[37,38,39,40].indexOf(t)&&(r=e.currentTarget.querySelectorAll("[role=tab]"),i=Array.prototype.indexOf.call(r,e.target),n=37===t||38===t?0===i?r.length-1:i-1:i0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var n=this.$slots.default.filter((function(e){return e.tag&&e.componentOptions&&"ElTabPane"===e.componentOptions.Ctor.options.name})),i=n.map((function(e){var t=e.componentInstance;return t})),r=!(i.length===this.panes.length&&i.every((function(t,n){return t===e.panes[n]})));(t||r)&&(this.panes=i)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(e,t,n){e.disabled||(this.setCurrentName(t),this.$emit("tab-click",e,n))},handleTabRemove:function(e,t){e.disabled||(t.stopPropagation(),this.$emit("edit",e.name,"remove"),this.$emit("tab-remove",e.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(e){var t=this,n=function(){t.currentName=e,t.$emit("input",e)};if(this.currentName!==e&&this.beforeLeave){var i=this.beforeLeave(e,this.currentName);i&&i.then?i.then((function(){n(),t.$refs.nav&&t.$refs.nav.removeFocus()}),(function(){})):!1!==i&&n()}else n()}},render:function(e){var t,n=this.type,i=this.handleTabClick,r=this.handleTabRemove,o=this.handleTabAdd,a=this.currentName,s=this.panes,A=this.editable,l=this.addable,c=this.tabPosition,u=this.stretch,h=A||l?e("span",{class:"el-tabs__new-tab",on:{click:o,keydown:function(e){13===e.keyCode&&o()}},attrs:{tabindex:"0"}},[e("i",{class:"el-icon-plus"})]):null,d={props:{currentName:a,onTabClick:i,onTabRemove:r,editable:A,type:n,panes:s,stretch:u},ref:"nav"},f=e("div",{class:["el-tabs__header","is-"+c]},[h,e("tab-nav",d)]),p=e("div",{class:"el-tabs__content"},[this.$slots.default]);return e("div",{class:(t={"el-tabs":!0,"el-tabs--card":"card"===n},t["el-tabs--"+c]=!0,t["el-tabs--border-card"]="border-card"===n,t)},["bottom"!==c?[f,p]:[p,f]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},LA=HA,NA=s(LA,TA,PA,!1,null,null,null);NA.options.__file="packages/tabs/src/tabs.vue";var RA=NA.exports;RA.install=function(e){e.component(RA.name,RA)};var jA=RA,$A=function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.lazy||e.loaded||e.active?n("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!e.active,id:"pane-"+e.paneName,"aria-labelledby":"tab-"+e.paneName}},[e._t("default")],2):e._e()},VA=[];$A._withStripped=!0;var KA={name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var e=this.$parent.currentName===(this.name||this.index);return e&&(this.loaded=!0),e},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},zA=KA,WA=s(zA,$A,VA,!1,null,null,null);WA.options.__file="packages/tabs/src/tab-pane.vue";var GA=WA.exports;GA.install=function(e){e.component(GA.name,GA)};var YA,XA,JA=GA,qA={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},ZA=qA,el=s(ZA,YA,XA,!1,null,null,null);el.options.__file="packages/tag/src/tag.vue";var tl=el.exports;tl.install=function(e){e.component(tl.name,tl)};var nl=tl,il=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":e.highlightCurrent,"is-dragging":!!e.dragState.draggingNode,"is-drop-not-allow":!e.dragState.allowDrop,"is-drop-inner":"inner"===e.dragState.dropType},attrs:{role:"tree"}},[e._l(e.root.childNodes,(function(t){return n("el-tree-node",{key:e.getNodeKey(t),attrs:{node:t,props:e.props,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent},on:{"node-expand":e.handleNodeExpand}})})),e.isEmpty?n("div",{staticClass:"el-tree__empty-block"},[n("span",{staticClass:"el-tree__empty-text"},[e._v(e._s(e.emptyText))])]):e._e(),n("div",{directives:[{name:"show",rawName:"v-show",value:e.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)},rl=[];il._withStripped=!0;var ol="$treeNodeId",al=function(e,t){t&&!t[ol]&&Object.defineProperty(t,ol,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},sl=function(e,t){return e?t[e]:t[ol]},Al=function(e,t){var n=e;while(n&&"BODY"!==n.tagName){if(n.__vue__&&n.__vue__.$options.name===t)return n.__vue__;n=n.parentNode}return null},ll=function(){function e(e,t){for(var n=0;n0&&i.lazy&&i.defaultExpandAll&&this.expand(),Array.isArray(this.data)||al(this,this.data),this.data){var a=i.defaultExpandedKeys,s=i.key;s&&a&&-1!==a.indexOf(this.key)&&this.expand(null,i.autoExpandParent),s&&void 0!==i.currentNodeKey&&this.key===i.currentNodeKey&&(i.currentNode=this,i.currentNode.isCurrent=!0),i.lazy&&i._initDefaultCheckedNode(this),this.updateLeafState()}}return e.prototype.setData=function(e){Array.isArray(e)||al(this,e),this.data=e,this.childNodes=[];var t=void 0;t=0===this.level&&this.data instanceof Array?this.data:dl(this,"children")||[];for(var n=0,i=t.length;n1&&void 0!==arguments[1])||arguments[1],n=function n(i){for(var r=i.childNodes||[],o=!1,a=0,s=r.length;a-1&&t.splice(n,1);var i=this.childNodes.indexOf(e);i>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(i,1)),this.updateLeafState()},e.prototype.removeChildByData=function(e){for(var t=null,n=0;n0)i.expanded=!0,i=i.parent}n.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData((function(e){e instanceof Array&&(n.checked?n.setChecked(!0,!0):n.store.checkStrictly||hl(n),i())})):i()},e.prototype.doCreateChildren=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e){t.insertChild(_t()({data:e},n),void 0,!0)}))},e.prototype.collapse=function(){this.expanded=!1},e.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},e.prototype.updateLeafState=function(){if(!0!==this.store.lazy||!0===this.loaded||"undefined"===typeof this.isLeafByUser){var e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser},e.prototype.setChecked=function(e,t,n,i){var r=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var o=ul(this.childNodes),a=o.all,s=o.allWithoutDisable;this.isLeaf||a||!s||(this.checked=!1,e=!1);var A=function(){if(t){for(var n=r.childNodes,o=0,a=n.length;o0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var n=this.store.props,i="children";return n&&(i=n.children||"children"),void 0===t[i]&&(t[i]=null),e&&!t[i]&&(t[i]=[]),t[i]},e.prototype.updateChildren=function(){var e=this,t=this.getChildren()||[],n=this.childNodes.map((function(e){return e.data})),i={},r=[];t.forEach((function(e,t){var o=e[ol],a=!!o&&Object(v["arrayFindIndex"])(n,(function(e){return e[ol]===o}))>=0;a?i[o]={index:t,data:e}:r.push({index:t,data:e})})),this.store.lazy||n.forEach((function(t){i[t[ol]]||e.removeChildByData(t)})),r.forEach((function(t){var n=t.index,i=t.data;e.insertChild({data:i},n)})),this.updateLeafState()},e.prototype.loadData=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(n).length)e&&e.call(this);else{this.loading=!0;var i=function(i){t.childNodes=[],t.doCreateChildren(i,n),t.loaded=!0,t.loading=!1,t.updateLeafState(),e&&e.call(t,i)};this.store.load(this,i)}},ll(e,[{key:"label",get:function(){return dl(this,"label")}},{key:"key",get:function(){var e=this.store.key;return this.data?this.data[e]:null}},{key:"disabled",get:function(){return dl(this,"disabled")}},{key:"nextSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}}]),e}(),gl=pl,ml="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var yl=function(){function e(t){var n=this;for(var i in vl(this,e),this.currentNode=null,this.currentNodeKey=null,t)t.hasOwnProperty(i)&&(this[i]=t[i]);if(this.nodesMap={},this.root=new gl({data:this.data,store:this}),this.lazy&&this.load){var r=this.load;r(this.root,(function(e){n.root.doCreateChildren(e),n._initDefaultCheckedNodes()}))}else this._initDefaultCheckedNodes()}return e.prototype.filter=function(e){var t=this.filterNodeMethod,n=this.lazy,i=function i(r){var o=r.root?r.root.childNodes:r.childNodes;if(o.forEach((function(n){n.visible=t.call(n,e,n.data,n),i(n)})),!r.visible&&o.length){var a=!0;a=!o.some((function(e){return e.visible})),r.root?r.root.visible=!1===a:r.visible=!1===a}e&&(!r.visible||r.isLeaf||n||r.expand())};i(this)},e.prototype.setData=function(e){var t=e!==this.root.data;t?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()},e.prototype.getNode=function(e){if(e instanceof gl)return e;var t="object"!==("undefined"===typeof e?"undefined":ml(e))?e:sl(this.key,e);return this.nodesMap[t]||null},e.prototype.insertBefore=function(e,t){var n=this.getNode(t);n.parent.insertBefore({data:e},n)},e.prototype.insertAfter=function(e,t){var n=this.getNode(t);n.parent.insertAfter({data:e},n)},e.prototype.remove=function(e){var t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))},e.prototype.append=function(e,t){var n=t?this.getNode(t):this.root;n&&n.insertChild({data:e})},e.prototype._initDefaultCheckedNodes=function(){var e=this,t=this.defaultCheckedKeys||[],n=this.nodesMap;t.forEach((function(t){var i=n[t];i&&i.setChecked(!0,!e.checkStrictly)}))},e.prototype._initDefaultCheckedNode=function(e){var t=this.defaultCheckedKeys||[];-1!==t.indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)},e.prototype.setDefaultCheckedKey=function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())},e.prototype.registerNode=function(e){var t=this.key;if(t&&e&&e.data){var n=e.key;void 0!==n&&(this.nodesMap[e.key]=e)}},e.prototype.deregisterNode=function(e){var t=this,n=this.key;n&&e&&e.data&&(e.childNodes.forEach((function(e){t.deregisterNode(e)})),delete this.nodesMap[e.key])},e.prototype.getCheckedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[],i=function i(r){var o=r.root?r.root.childNodes:r.childNodes;o.forEach((function(r){(r.checked||t&&r.indeterminate)&&(!e||e&&r.isLeaf)&&n.push(r.data),i(r)}))};return i(this),n},e.prototype.getCheckedKeys=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map((function(t){return(t||{})[e.key]}))},e.prototype.getHalfCheckedNodes=function(){var e=[],t=function t(n){var i=n.root?n.root.childNodes:n.childNodes;i.forEach((function(n){n.indeterminate&&e.push(n.data),t(n)}))};return t(this),e},e.prototype.getHalfCheckedKeys=function(){var e=this;return this.getHalfCheckedNodes().map((function(t){return(t||{})[e.key]}))},e.prototype._getAllNodes=function(){var e=[],t=this.nodesMap;for(var n in t)t.hasOwnProperty(n)&&e.push(t[n]);return e},e.prototype.updateChildren=function(e,t){var n=this.nodesMap[e];if(n){for(var i=n.childNodes,r=i.length-1;r>=0;r--){var o=i[r];this.remove(o.data)}for(var a=0,s=t.length;a1&&void 0!==arguments[1]&&arguments[1],n=arguments[2],i=this._getAllNodes().sort((function(e,t){return t.level-e.level})),r=Object.create(null),o=Object.keys(n);i.forEach((function(e){return e.setChecked(!1,!1)}));for(var a=0,s=i.length;a-1;if(c){var u=A.parent;while(u&&u.level>0)r[u.data[e]]=!0,u=u.parent;A.isLeaf||this.checkStrictly?A.setChecked(!0,!1):(A.setChecked(!0,!0),t&&function(){A.setChecked(!1,!1);var e=function e(t){var n=t.childNodes;n.forEach((function(t){t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(A)}())}else A.checked&&!r[l]&&A.setChecked(!1,!1)}},e.prototype.setCheckedNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.key,i={};e.forEach((function(e){i[(e||{})[n]]=!0})),this._setCheckedKeys(n,t,i)},e.prototype.setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var n=this.key,i={};e.forEach((function(e){i[e]=!0})),this._setCheckedKeys(n,t,i)},e.prototype.setDefaultExpandedKeys=function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach((function(e){var n=t.getNode(e);n&&n.expand(null,t.autoExpandParent)}))},e.prototype.setChecked=function(e,t,n){var i=this.getNode(e);i&&i.setChecked(!!t,n)},e.prototype.getCurrentNode=function(){return this.currentNode},e.prototype.setCurrentNode=function(e){var t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0},e.prototype.setUserCurrentNode=function(e){var t=e[this.key],n=this.nodesMap[t];this.setCurrentNode(n)},e.prototype.setCurrentNodeKey=function(e){if(null===e||void 0===e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var t=this.getNode(e);t&&this.setCurrentNode(t)},e}(),bl=yl,wl=function(){var e=this,t=this,n=t.$createElement,i=t._self._c||n;return i("div",{directives:[{name:"show",rawName:"v-show",value:t.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":t.expanded,"is-current":t.node.isCurrent,"is-hidden":!t.node.visible,"is-focusable":!t.node.disabled,"is-checked":!t.node.disabled&&t.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.draggable},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)},contextmenu:function(t){return e.handleContextMenu(t)},dragstart:function(e){return e.stopPropagation(),t.handleDragStart(e)},dragover:function(e){return e.stopPropagation(),t.handleDragOver(e)},dragend:function(e){return e.stopPropagation(),t.handleDragEnd(e)},drop:function(e){return e.stopPropagation(),t.handleDrop(e)}}},[i("div",{staticClass:"el-tree-node__content",style:{"padding-left":(t.node.level-1)*t.tree.indent+"px"}},[i("span",{class:[{"is-leaf":t.node.isLeaf,expanded:!t.node.isLeaf&&t.expanded},"el-tree-node__expand-icon",t.tree.iconClass?t.tree.iconClass:"el-icon-caret-right"],on:{click:function(e){return e.stopPropagation(),t.handleExpandIconClick(e)}}}),t.showCheckbox?i("el-checkbox",{attrs:{indeterminate:t.node.indeterminate,disabled:!!t.node.disabled},on:{change:t.handleCheckChange},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:t.node.checked,callback:function(e){t.$set(t.node,"checked",e)},expression:"node.checked"}}):t._e(),t.node.loading?i("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):t._e(),i("node-content",{attrs:{node:t.node}})],1),i("el-collapse-transition",[!t.renderAfterExpand||t.childNodeRendered?i("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":t.expanded}},t._l(t.node.childNodes,(function(e){return i("el-tree-node",{key:t.getNodeKey(e),attrs:{"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:e},on:{"node-expand":t.handleChildNodeExpand}})})),1):t._e()])],1)},Bl=[];wl._withStripped=!0;var Cl={name:"ElTreeNode",componentName:"ElTreeNode",mixins:[E.a],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1}},components:{ElCollapseTransition:We.a,ElCheckbox:Di.a,NodeContent:{props:{node:{required:!0}},render:function(e){var t=this.$parent,n=t.tree,i=this.node,r=i.data,o=i.store;return t.renderContent?t.renderContent.call(t._renderProxy,e,{_self:n.$vnode.context,node:i,data:r,store:o}):n.$scopedSlots.default?n.$scopedSlots.default({node:i,data:r}):e("span",{class:"el-tree-node__label"},[i.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(e){this.handleSelectChange(this.node.checked,e)},"node.checked":function(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded":function(e){var t=this;this.$nextTick((function(){return t.expanded=e})),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(e){return sl(this.tree.nodeKey,e.data)},handleSelectChange:function(e,t){this.oldChecked!==e&&this.oldIndeterminate!==t&&this.tree.$emit("check-change",this.node.data,e,t),this.oldChecked=e,this.indeterminate=t},handleClick:function(){var e=this.tree.store;e.setCurrentNode(this.node),this.tree.$emit("current-change",e.currentNode?e.currentNode.data:null,e.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(e){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(e.stopPropagation(),e.preventDefault()),this.tree.$emit("node-contextmenu",e,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(e,t){var n=this;this.node.setChecked(t.target.checked,!this.tree.checkStrictly),this.$nextTick((function(){var e=n.tree.store;n.tree.$emit("check",n.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})}))},handleChildNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.tree.$emit("node-expand",e,t,n)},handleDragStart:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",e,this)},handleDragOver:function(e){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",e,this),e.preventDefault())},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",e,this)}},created:function(){var e=this,t=this.$parent;t.isTree?this.tree=t:this.tree=t.tree;var n=this.tree;n||console.warn("Can not find node's tree.");var i=n.props||{},r=i["children"]||"children";this.$watch("node.data."+r,(function(){e.node.updateChildren()})),this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",(function(t){e.node!==t&&e.node.collapse()}))}},xl=Cl,_l=s(xl,wl,Bl,!1,null,null,null);_l.options.__file="packages/tree/src/tree-node.vue";var Sl=_l.exports,kl={name:"ElTree",mixins:[E.a],components:{ElTreeNode:Sl},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return Object(ms["t"])("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},iconClass:String},computed:{children:{set:function(e){this.data=e},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)},isEmpty:function(){var e=this.root.childNodes;return!e||0===e.length||e.every((function(e){var t=e.visible;return!t}))}},watch:{defaultCheckedKeys:function(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys:function(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},data:function(e){this.store.setData(e)},checkboxItems:function(e){Array.prototype.forEach.call(e,(function(e){e.setAttribute("tabindex",-1)}))},checkStrictly:function(e){this.store.checkStrictly=e}},methods:{filter:function(e){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e)},getNodeKey:function(e){return sl(this.nodeKey,e.data)},getNodePath:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var t=this.store.getNode(e);if(!t)return[];var n=[t.data],i=t.parent;while(i&&i!==this.root)n.push(i.data),i=i.parent;return n.reverse()},getCheckedNodes:function(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys:function(e){return this.store.getCheckedKeys(e)},getCurrentNode:function(){var e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckedNodes:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(e,t)},setCheckedKeys:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t)},setChecked:function(e,t,n){this.store.setChecked(e,t,n)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode:function(e){return this.store.getNode(e)},remove:function(e){this.store.remove(e)},append:function(e,t){this.store.append(e,t)},insertBefore:function(e,t){this.store.insertBefore(e,t)},insertAfter:function(e,t){this.store.insertAfter(e,t)},handleNodeExpand:function(e,t,n){this.broadcast("ElTreeNode","tree-node-expand",t),this.$emit("node-expand",e,t,n)},updateKeyChildren:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var e=this.$el.querySelectorAll(".is-checked[role=treeitem]");e.length?e[0].setAttribute("tabindex",0):this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handleKeydown:function(e){var t=e.target;if(-1!==t.className.indexOf("el-tree-node")){var n=e.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var i=this.treeItemArray.indexOf(t),r=void 0;[38,40].indexOf(n)>-1&&(e.preventDefault(),r=38===n?0!==i?i-1:0:i-1&&(e.preventDefault(),t.click());var o=t.querySelector('[type="checkbox"]');[13,32].indexOf(n)>-1&&o&&(e.preventDefault(),o.click())}}},created:function(){var e=this;this.isTree=!0,this.store=new bl({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var t=this.dragState;this.$on("tree-node-drag-start",(function(n,i){if("function"===typeof e.allowDrag&&!e.allowDrag(i.node))return n.preventDefault(),!1;n.dataTransfer.effectAllowed="move";try{n.dataTransfer.setData("text/plain","")}catch(r){}t.draggingNode=i,e.$emit("node-drag-start",i.node,n)})),this.$on("tree-node-drag-over",(function(n,i){var r=Al(n.target,"ElTreeNode"),o=t.dropNode;o&&o!==r&&Object(He["removeClass"])(o.$el,"is-drop-inner");var a=t.draggingNode;if(a&&r){var s=!0,A=!0,l=!0,c=!0;"function"===typeof e.allowDrop&&(s=e.allowDrop(a.node,r.node,"prev"),c=A=e.allowDrop(a.node,r.node,"inner"),l=e.allowDrop(a.node,r.node,"next")),n.dataTransfer.dropEffect=A?"move":"none",(s||A||l)&&o!==r&&(o&&e.$emit("node-drag-leave",a.node,o.node,n),e.$emit("node-drag-enter",a.node,r.node,n)),(s||A||l)&&(t.dropNode=r),r.node.nextSibling===a.node&&(l=!1),r.node.previousSibling===a.node&&(s=!1),r.node.contains(a.node,!1)&&(A=!1),(a.node===r.node||a.node.contains(r.node))&&(s=!1,A=!1,l=!1);var u=r.$el.getBoundingClientRect(),h=e.$el.getBoundingClientRect(),d=void 0,f=s?A?.25:l?.45:1:-1,p=l?A?.75:s?.55:0:1,g=-9999,m=n.clientY-u.top;d=mu.height*p?"after":A?"inner":"none";var v=r.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),y=e.$refs.dropIndicator;"before"===d?g=v.top-h.top:"after"===d&&(g=v.bottom-h.top),y.style.top=g+"px",y.style.left=v.right-h.left+"px","inner"===d?Object(He["addClass"])(r.$el,"is-drop-inner"):Object(He["removeClass"])(r.$el,"is-drop-inner"),t.showDropIndicator="before"===d||"after"===d,t.allowDrop=t.showDropIndicator||c,t.dropType=d,e.$emit("node-drag-over",a.node,r.node,n)}})),this.$on("tree-node-drag-end",(function(n){var i=t.draggingNode,r=t.dropType,o=t.dropNode;if(n.preventDefault(),n.dataTransfer.dropEffect="move",i&&o){var a={data:i.node.data};"none"!==r&&i.node.remove(),"before"===r?o.node.parent.insertBefore(a,o.node):"after"===r?o.node.parent.insertAfter(a,o.node):"inner"===r&&o.node.insertChild(a),"none"!==r&&e.store.registerNode(a),Object(He["removeClass"])(o.$el,"is-drop-inner"),e.$emit("node-drag-end",i.node,o.node,r,n),"none"!==r&&e.$emit("node-drop",i.node,o.node,r,n)}i&&!o&&e.$emit("node-drag-end",i.node,null,r,n),t.showDropIndicator=!1,t.draggingNode=null,t.dropNode=null,t.allowDrop=!0}))},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},El=kl,Fl=s(El,il,rl,!1,null,null,null);Fl.options.__file="packages/tree/src/tree.vue";var Ql=Fl.exports;Ql.install=function(e){e.component(Ql.name,Ql)};var Ul=Ql,Ol=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-alert-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-alert",class:[e.typeClass,e.center?"is-center":"","is-"+e.effect],attrs:{role:"alert"}},[e.showIcon?n("i",{staticClass:"el-alert__icon",class:[e.iconClass,e.isBigIcon]}):e._e(),n("div",{staticClass:"el-alert__content"},[e.title||e.$slots.title?n("span",{staticClass:"el-alert__title",class:[e.isBoldTitle]},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e.$slots.default&&!e.description?n("p",{staticClass:"el-alert__description"},[e._t("default")],2):e._e(),e.description&&!e.$slots.default?n("p",{staticClass:"el-alert__description"},[e._v(e._s(e.description))]):e._e(),n("i",{directives:[{name:"show",rawName:"v-show",value:e.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==e.closeText,"el-icon-close":""===e.closeText},on:{click:function(t){e.close()}}},[e._v(e._s(e.closeText))])])])])},Il=[];Ol._withStripped=!0;var Dl={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},Tl={name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(e){return-1!==["light","dark"].indexOf(e)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return Dl[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},Pl=Tl,Ml=s(Pl,Ol,Il,!1,null,null,null);Ml.options.__file="packages/alert/src/main.vue";var Hl=Ml.exports;Hl.install=function(e){e.component(Hl.name,Hl)};var Ll=Hl,Nl=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-notification-fade"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-notification",e.customClass,e.horizontalClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(t){e.clearTimer()},mouseleave:function(t){e.startTimer()},click:e.click}},[e.type||e.iconClass?n("i",{staticClass:"el-notification__icon",class:[e.typeClass,e.iconClass]}):e._e(),n("div",{staticClass:"el-notification__group",class:{"is-with-icon":e.typeClass||e.iconClass}},[n("h2",{staticClass:"el-notification__title",domProps:{textContent:e._s(e.title)}}),n("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}],staticClass:"el-notification__content"},[e._t("default",[e.dangerouslyUseHTMLString?n("p",{domProps:{innerHTML:e._s(e.message)}}):n("p",[e._v(e._s(e.message))])])],2),e.showClose?n("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(t){return t.stopPropagation(),e.close(t)}}}):e._e()])])])},Rl=[];Nl._withStripped=!0;var jl={success:"success",info:"info",warning:"warning",error:"error"},$l={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&jl[this.type]?"el-icon-"+jl[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var e;return e={},e[this.verticalProperty]=this.verticalOffset+"px",e}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"===typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){46===e.keyCode||8===e.keyCode?this.clearTimer():27===e.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},Vl=$l,Kl=s(Vl,Nl,Rl,!1,null,null,null);Kl.options.__file="packages/notification/src/main.vue";var zl=Kl.exports,Wl=ji.a.extend(zl),Gl=void 0,Yl=[],Xl=1,Jl=function e(t){if(!ji.a.prototype.$isServer){t=_t()({},t);var n=t.onClose,i="notification_"+Xl++,r=t.position||"top-right";t.onClose=function(){e.close(i,n)},Gl=new Wl({data:t}),Object(ks["isVNode"])(t.message)&&(Gl.$slots.default=[t.message],t.message="REPLACED_BY_VNODE"),Gl.id=i,Gl.$mount(),document.body.appendChild(Gl.$el),Gl.visible=!0,Gl.dom=Gl.$el,Gl.dom.style.zIndex=C["PopupManager"].nextZIndex();var o=t.offset||0;return Yl.filter((function(e){return e.position===r})).forEach((function(e){o+=e.$el.offsetHeight+16})),o+=16,Gl.verticalOffset=o,Yl.push(Gl),Gl}};["success","warning","info","error"].forEach((function(e){Jl[e]=function(t){return("string"===typeof t||Object(ks["isVNode"])(t))&&(t={message:t}),t.type=e,Jl(t)}})),Jl.close=function(e,t){var n=-1,i=Yl.length,r=Yl.filter((function(t,i){return t.id===e&&(n=i,!0)}))[0];if(r&&("function"===typeof t&&t(r),Yl.splice(n,1),!(i<=1)))for(var o=r.position,a=r.dom.offsetHeight,s=n;s=0;e--)Yl[e].close()};var ql=Jl,Zl=ql,ec=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-slider",class:{"is-vertical":e.vertical,"el-slider--with-input":e.showInput},attrs:{role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled}},[e.showInput&&!e.range?n("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.inputSize},on:{change:e.emitChange},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}):e._e(),n("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":e.showInput,disabled:e.sliderDisabled},style:e.runwayStyle,on:{click:e.onSliderClick}},[n("div",{staticClass:"el-slider__bar",style:e.barStyle}),n("slider-button",{ref:"button1",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}),e.range?n("slider-button",{ref:"button2",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.secondValue,callback:function(t){e.secondValue=t},expression:"secondValue"}}):e._e(),e._l(e.stops,(function(t,i){return e.showStops?n("div",{key:i,staticClass:"el-slider__stop",style:e.getStopStyle(t)}):e._e()})),e.markList.length>0?[n("div",e._l(e.markList,(function(t,i){return n("div",{key:i,staticClass:"el-slider__stop el-slider__marks-stop",style:e.getStopStyle(t.position)})})),0),n("div",{staticClass:"el-slider__marks"},e._l(e.markList,(function(t,i){return n("slider-marker",{key:i,style:e.getStopStyle(t.position),attrs:{mark:t.mark}})})),1)]:e._e()],2)],1)},tc=[];ec._withStripped=!0;var nc=n(42),ic=n.n(nc),rc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:e.hovering,dragging:e.dragging},style:e.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave,mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.handleMouseEnter,blur:e.handleMouseLeave,keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.onLeftKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.onRightKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.onLeftKeyDown(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.onRightKeyDown(t))}]}},[n("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":e.tooltipClass,disabled:!e.showTooltip}},[n("span",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.formatValue))]),n("div",{staticClass:"el-slider__button",class:{hover:e.hovering,dragging:e.dragging}})])],1)},oc=[];rc._withStripped=!0;var ac={name:"ElSliderButton",components:{ElTooltip:rt.a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(e){this.$parent.dragging=e}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(e){this.dragging=!0,this.isClick=!0,"touchstart"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?this.startY=e.clientY:this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var t=0;"touchmove"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?(this.currentY=e.clientY,t=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=e.clientX,t=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){var e=this;this.dragging&&(setTimeout((function(){e.dragging=!1,e.hideTooltip(),e.isClick||(e.setPosition(e.newPosition),e.$parent.emitChange())}),0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){var t=this;if(null!==e&&!isNaN(e)){e<0?e=0:e>100&&(e=100);var n=100/((this.max-this.min)/this.step),i=Math.round(e/n),r=i*n*(this.max-this.min)*.01+this.min;r=parseFloat(r.toFixed(this.precision)),this.$emit("input",r),this.$nextTick((function(){t.displayTooltip(),t.$refs.tooltip&&t.$refs.tooltip.updatePopper()})),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},sc=ac,Ac=s(sc,rc,oc,!1,null,null,null);Ac.options.__file="packages/slider/src/button.vue";var lc=Ac.exports,cc={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var e=arguments[0],t="string"===typeof this.mark?this.mark:this.mark.label;return e("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[t])}},uc={name:"ElSlider",mixins:[E.a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:ic.a,SliderButton:lc,SliderMarker:cc},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(e,t){this.dragging||Array.isArray(e)&&Array.isArray(t)&&e.every((function(e,n){return e===t[n]}))||this.setValues()},dragging:function(e){e||this.setValues()},firstValue:function(e){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",e)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var e=this;return this.range?![this.minValue,this.maxValue].every((function(t,n){return t===e.oldValue[n]})):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var e=this.value;this.range&&Array.isArray(e)?e[1]this.max?this.$emit("input",[this.max,this.max]):e[0]this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!==typeof e||isNaN(e)||(ethis.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))}},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(this.range){var n=void 0;n=Math.abs(this.minValue-t)this.secondValue?"button1":"button2",this.$refs[n].setPosition(e)}else this.$refs.button1.setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var n=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-n)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)}))},getStopStyle:function(e){return this.vertical?{bottom:e+"%"}:{left:e+"%"}}},computed:{stops:function(){var e=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var t=(this.max-this.min)/this.step,n=100*this.step/(this.max-this.min),i=[],r=1;r100*(e.maxValue-e.min)/(e.max-e.min)})):i.filter((function(t){return t>100*(e.firstValue-e.min)/(e.max-e.min)}))},markList:function(){var e=this;if(!this.marks)return[];var t=Object.keys(this.marks);return t.map(parseFloat).sort((function(e,t){return e-t})).filter((function(t){return t<=e.max&&t>=e.min})).map((function(t){return{point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}}))},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map((function(e){var t=(""+e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],e=this.firstValue+"-"+this.secondValue):("number"!==typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,e=this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},hc=uc,dc=s(hc,ec,tc,!1,null,null,null);dc.options.__file="packages/slider/src/main.vue";var fc=dc.exports;fc.install=function(e){e.component(fc.name,fc)};var pc=fc,gc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[n("div",{staticClass:"el-loading-spinner"},[e.spinner?n("i",{class:e.spinner}):n("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?n("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])},mc=[];gc._withStripped=!0;var vc={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},yc=vc,bc=s(yc,gc,mc,!1,null,null,null);bc.options.__file="packages/loading/src/loading.vue";var wc=bc.exports,Bc=n(33),Cc=n.n(Bc),xc=ji.a.extend(wc),_c={install:function(e){if(!e.prototype.$isServer){var t=function(t,i){i.value?e.nextTick((function(){i.modifiers.fullscreen?(t.originalPosition=Object(He["getStyle"])(document.body,"position"),t.originalOverflow=Object(He["getStyle"])(document.body,"overflow"),t.maskStyle.zIndex=C["PopupManager"].nextZIndex(),Object(He["addClass"])(t.mask,"is-fullscreen"),n(document.body,t,i)):(Object(He["removeClass"])(t.mask,"is-fullscreen"),i.modifiers.body?(t.originalPosition=Object(He["getStyle"])(document.body,"position"),["top","left"].forEach((function(e){var n="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[n]+document.documentElement[n]-parseInt(Object(He["getStyle"])(document.body,"margin-"+e),10)+"px"})),["height","width"].forEach((function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"})),n(document.body,t,i)):(t.originalPosition=Object(He["getStyle"])(t,"position"),n(t,t,i)))})):(Cc()(t.instance,(function(e){if(t.instance.hiding){t.domVisible=!1;var n=i.modifiers.fullscreen||i.modifiers.body?document.body:t;Object(He["removeClass"])(n,"el-loading-parent--relative"),Object(He["removeClass"])(n,"el-loading-parent--hidden"),t.instance.hiding=!1}}),300,!0),t.instance.visible=!1,t.instance.hiding=!0)},n=function(t,n,i){n.domVisible||"none"===Object(He["getStyle"])(n,"display")||"hidden"===Object(He["getStyle"])(n,"visibility")?n.domVisible&&!0===n.instance.hiding&&(n.instance.visible=!0,n.instance.hiding=!1):(Object.keys(n.maskStyle).forEach((function(e){n.mask.style[e]=n.maskStyle[e]})),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(He["addClass"])(t,"el-loading-parent--relative"),i.modifiers.fullscreen&&i.modifiers.lock&&Object(He["addClass"])(t,"el-loading-parent--hidden"),n.domVisible=!0,t.appendChild(n.mask),e.nextTick((function(){n.instance.hiding?n.instance.$emit("after-leave"):n.instance.visible=!0})),n.domInserted=!0)};e.directive("loading",{bind:function(e,n,i){var r=e.getAttribute("element-loading-text"),o=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),s=e.getAttribute("element-loading-custom-class"),A=i.context,l=new xc({el:document.createElement("div"),data:{text:A&&A[r]||r,spinner:A&&A[o]||o,background:A&&A[a]||a,customClass:A&&A[s]||s,fullscreen:!!n.modifiers.fullscreen}});e.instance=l,e.mask=l.$el,e.maskStyle={},n.value&&t(e,n)},update:function(e,n){e.instance.setText(e.getAttribute("element-loading-text")),n.oldValue!==n.value&&t(e,n)},unbind:function(e,n){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:n.modifiers})),e.instance&&e.instance.$destroy()}})}}},Sc=_c,kc=ji.a.extend(wc),Ec={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},Fc=void 0;kc.prototype.originalPosition="",kc.prototype.originalOverflow="",kc.prototype.close=function(){var e=this;this.fullscreen&&(Fc=void 0),Cc()(this,(function(t){var n=e.fullscreen||e.body?document.body:e.target;Object(He["removeClass"])(n,"el-loading-parent--relative"),Object(He["removeClass"])(n,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()}),300),this.visible=!1};var Qc=function(e,t,n){var i={};e.fullscreen?(n.originalPosition=Object(He["getStyle"])(document.body,"position"),n.originalOverflow=Object(He["getStyle"])(document.body,"overflow"),i.zIndex=C["PopupManager"].nextZIndex()):e.body?(n.originalPosition=Object(He["getStyle"])(document.body,"position"),["top","left"].forEach((function(t){var n="top"===t?"scrollTop":"scrollLeft";i[t]=e.target.getBoundingClientRect()[t]+document.body[n]+document.documentElement[n]+"px"})),["height","width"].forEach((function(t){i[t]=e.target.getBoundingClientRect()[t]+"px"}))):n.originalPosition=Object(He["getStyle"])(t,"position"),Object.keys(i).forEach((function(e){n.$el.style[e]=i[e]}))},Uc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ji.a.prototype.$isServer){if(e=_t()({},Ec,e),"string"===typeof e.target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&Fc)return Fc;var t=e.body?document.body:e.target,n=new kc({el:document.createElement("div"),data:e});return Qc(e,t,n),"absolute"!==n.originalPosition&&"fixed"!==n.originalPosition&&"sticky"!==n.originalPosition&&Object(He["addClass"])(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(He["addClass"])(t,"el-loading-parent--hidden"),t.appendChild(n.$el),ji.a.nextTick((function(){n.visible=!0})),e.fullscreen&&(Fc=n),n}},Oc=Uc,Ic={install:function(e){e.use(Sc),e.prototype.$loading=Oc},directive:Sc,service:Oc},Dc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("i",{class:"el-icon-"+e.name})},Tc=[];Dc._withStripped=!0;var Pc={name:"ElIcon",props:{name:String}},Mc=Pc,Hc=s(Mc,Dc,Tc,!1,null,null,null);Hc.options.__file="packages/icon/src/icon.vue";var Lc=Hc.exports;Lc.install=function(e){e.component(Lc.name,Lc)};var Nc=Lc,Rc={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:String},computed:{style:function(){var e={};return this.gutter&&(e.marginLeft="-"+this.gutter/2+"px",e.marginRight=e.marginLeft),e}},render:function(e){return e(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"",this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(e){e.component(Rc.name,Rc)}},jc=Rc,$c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Vc={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){var e=this.$parent;while(e&&"ElRow"!==e.$options.componentName)e=e.$parent;return e?e.gutter:0}},render:function(e){var t=this,n=[],i={};return this.gutter&&(i.paddingLeft=this.gutter/2+"px",i.paddingRight=i.paddingLeft),["span","offset","pull","push"].forEach((function(e){(t[e]||0===t[e])&&n.push("span"!==e?"el-col-"+e+"-"+t[e]:"el-col-"+t[e])})),["xs","sm","md","lg","xl"].forEach((function(e){if("number"===typeof t[e])n.push("el-col-"+e+"-"+t[e]);else if("object"===$c(t[e])){var i=t[e];Object.keys(i).forEach((function(t){n.push("span"!==t?"el-col-"+e+"-"+t+"-"+i[t]:"el-col-"+e+"-"+i[t])}))}})),e(this.tag,{class:["el-col",n],style:i},this.$slots.default)},install:function(e){e.component(Vc.name,Vc)}},Kc=Vc,zc=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,(function(t){return n("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(n){if(!("button"in n)&&e._k(n.keyCode,"delete",[8,46],n.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?n("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),n("a",{staticClass:"el-upload-list__item-name",on:{click:function(n){e.handleClick(t)}}},[n("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),n("label",{staticClass:"el-upload-list__item-status-label"},[n("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():n("i",{staticClass:"el-icon-close",on:{click:function(n){e.$emit("remove",t)}}}),e.disabled?e._e():n("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?n("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?n("span",{staticClass:"el-upload-list__item-preview",on:{click:function(n){e.handlePreview(t)}}},[n("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():n("span",{staticClass:"el-upload-list__item-delete",on:{click:function(n){e.$emit("remove",t)}}},[n("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)})),0)},Wc=[];zc._withStripped=!0;var Gc=n(34),Yc=n.n(Gc),Xc={name:"ElUploadList",mixins:[m.a],data:function(){return{focusing:!1}},components:{ElProgress:Yc.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},Jc=Xc,qc=s(Jc,zc,Wc,!1,null,null,null);qc.options.__file="packages/upload/src/upload-list.vue";var Zc=qc.exports,eu=n(24),tu=n.n(eu);function nu(e,t,n){var i=void 0;i=n.response?""+(n.response.error||n.response):n.responseText?""+n.responseText:"fail to post "+e+" "+n.status;var r=new Error(i);return r.status=n.status,r.method="post",r.url=e,r}function iu(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(n){return t}}function ru(e){if("undefined"!==typeof XMLHttpRequest){var t=new XMLHttpRequest,n=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var i=new FormData;e.data&&Object.keys(e.data).forEach((function(t){i.append(t,e.data[t])})),i.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(nu(n,e,t));e.onSuccess(iu(t))},t.open("post",n,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var r=e.headers||{};for(var o in r)r.hasOwnProperty(o)&&null!==r[o]&&t.setRequestHeader(o,r[o]);return t.send(i),t}}var ou=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},au=[];ou._withStripped=!0;var su={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter((function(e){var n=e.type,i=e.name,r=i.indexOf(".")>-1?"."+i.split(".").pop():"",o=n.replace(/\/.*$/,"");return t.split(",").map((function(e){return e.trim()})).filter((function(e){return e})).some((function(e){return/\..+$/.test(e)?r===e:/\/\*$/.test(e)?o===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&n===e}))}))):this.$emit("file",e.dataTransfer.files)}}}},Au=su,lu=s(Au,ou,au,!1,null,null,null);lu.options.__file="packages/upload/src/upload-dragger.vue";var cu,uu,hu=lu.exports,du={inject:["uploader"],components:{UploadDragger:hu},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:ru},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var n=Array.prototype.slice.call(e);this.multiple||(n=n.slice(0,1)),0!==n.length&&n.forEach((function(e){t.onStart(e),t.autoUpload&&t.upload(e)}))}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var n=this.beforeUpload(e);n&&n.then?n.then((function(n){var i=Object.prototype.toString.call(n);if("[object File]"===i||"[object Blob]"===i){for(var r in"[object Blob]"===i&&(n=new File([n],e.name,{type:e.type})),e)e.hasOwnProperty(r)&&(n[r]=e[r]);t.post(n)}else t.post(e)}),(function(){t.onRemove(null,e)})):!1!==n?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var n=e;e.uid&&(n=e.uid),t[n]&&t[n].abort()}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort(),delete t[e]}))},post:function(e){var t=this,n=e.uid,i={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(n){t.onProgress(n,e)},onSuccess:function(i){t.onSuccess(i,e),delete t.reqs[n]},onError:function(i){t.onError(i,e),delete t.reqs[n]}},r=this.httpRequest(i);this.reqs[n]=r,r&&r.then&&r.then(i.onSuccess,i.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,n=this.drag,i=this.name,r=this.handleChange,o=this.multiple,a=this.accept,s=this.listType,A=this.uploadFiles,l=this.disabled,c=this.handleKeydown,u={class:{"el-upload":!0},on:{click:t,keydown:c}};return u.class["el-upload--"+s]=!0,e("div",tu()([u,{attrs:{tabindex:"0"}}]),[n?e("upload-dragger",{attrs:{disabled:l},on:{file:A}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:i,multiple:o,accept:a},ref:"input",on:{change:r}})])}},fu=du,pu=s(fu,cu,uu,!1,null,null,null);pu.options.__file="packages/upload/src/upload.vue";var gu=pu.exports;function mu(){}var vu,yu,bu={name:"ElUpload",mixins:[S.a],components:{ElProgress:Yc.a,UploadList:Zc,Upload:gu},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:mu},onChange:{type:Function,default:mu},onPreview:{type:Function},onSuccess:{type:Function,default:mu},onProgress:{type:Function,default:mu},onError:{type:Function,default:mu},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:mu}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map((function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(t){console.error("[Element Error][Upload]",t)}return e})))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map((function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e}))}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(n){return void console.error("[Element Error][Upload]",n)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var n=this.getFile(t);this.onProgress(e,n,this.uploadFiles),n.status="uploading",n.percentage=e.percent||0},handleSuccess:function(e,t){var n=this.getFile(t);n&&(n.status="success",n.response=e,this.onSuccess(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles))},handleError:function(e,t){var n=this.getFile(t),i=this.uploadFiles;n.status="fail",i.splice(i.indexOf(n),1),this.onError(e,n,this.uploadFiles),this.onChange(n,this.uploadFiles)},handleRemove:function(e,t){var n=this;t&&(e=this.getFile(t));var i=function(){n.abort(e);var t=n.uploadFiles;t.splice(t.indexOf(e),1),n.onRemove(e,t)};if(this.beforeRemove){if("function"===typeof this.beforeRemove){var r=this.beforeRemove(e,this.uploadFiles);r&&r.then?r.then((function(){i()}),mu):!1!==r&&i()}}else i()},getFile:function(e){var t=this.uploadFiles,n=void 0;return t.every((function(t){return n=e.uid===t.uid?t:null,!n})),n},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter((function(e){return"ready"===e.status})).forEach((function(t){e.$refs["upload-inner"].upload(t.raw)}))},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach((function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)}))},render:function(e){var t=this,n=void 0;this.showFileList&&(n=e(Zc,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var i={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},r=this.$slots.trigger||this.$slots.default,o=e("upload",i,[r]);return e("div",["picture-card"===this.listType?n:"",this.$slots.trigger?[o,this.$slots.default]:o,this.$slots.tip,"picture-card"!==this.listType?n:""])}},wu=bu,Bu=s(wu,vu,yu,!1,null,null,null);Bu.options.__file="packages/upload/src/index.vue";var Cu=Bu.exports;Cu.install=function(e){e.component(Cu.name,Cu)};var xu=Cu,_u=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},Su=[];_u._withStripped=!0;var ku={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),n=0;ne)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e}))}}},Eu=ku,Fu=s(Eu,_u,Su,!1,null,null,null);Fu.options.__file="packages/progress/src/progress.vue";var Qu=Fu.exports;Qu.install=function(e){e.component(Qu.name,Qu)};var Uu=Qu,Ou=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"el-spinner"},[n("svg",{staticClass:"el-spinner-inner",style:{width:e.radius/2+"px",height:e.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[n("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:e.strokeColor,"stroke-width":e.strokeWidth}})])])},Iu=[];Ou._withStripped=!0;var Du={name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},Tu=Du,Pu=s(Tu,Ou,Iu,!1,null,null,null);Pu.options.__file="packages/spinner/src/spinner.vue";var Mu=Pu.exports;Mu.install=function(e){e.component(Mu.name,Mu)};var Hu=Mu,Lu=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?n("i",{class:e.iconClass}):n("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?n("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):n("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?n("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},Nu=[];Lu._withStripped=!0;var Ru={success:"success",info:"info",warning:"warning",error:"error"},ju={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+Ru[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},$u=ju,Vu=s($u,Lu,Nu,!1,null,null,null);Vu.options.__file="packages/message/src/main.vue";var Ku=Vu.exports,zu=n(16),Wu=Object.assign||function(e){for(var t=1;tXu.length-1))for(var a=i;a=0;e--)Xu[e].close()};var Zu=qu,eh=Zu,th=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-badge"},[e._t("default"),n("transition",{attrs:{name:"el-zoom-in-center"}},[n("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:[e.type?"el-badge__content--"+e.type:null,{"is-fixed":e.$slots.default,"is-dot":e.isDot}],domProps:{textContent:e._s(e.content)}})])],2)},nh=[];th._withStripped=!0;var ih={name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(e){return["primary","success","warning","info","danger"].indexOf(e)>-1}}},computed:{content:function(){if(!this.isDot){var e=this.value,t=this.max;return"number"===typeof e&&"number"===typeof t&&t0&&e-1this.value,n=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||n},getIconStyle:function(e){var t=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,n=e.keyCode;38===n||39===n?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==n&&40!==n||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var n=t.target;Object(He["hasClass"])(n,"el-rate__item")&&(n=n.querySelector(".el-rate__icon")),Object(He["hasClass"])(n,"el-rate__decimal")&&(n=n.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=n.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},vh=mh,yh=s(vh,ph,gh,!1,null,null,null);yh.options.__file="packages/rate/src/main.vue";var bh=yh.exports;bh.install=function(e){e.component(bh.name,bh)};var wh=bh,Bh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-steps",class:[!e.simple&&"el-steps--"+e.direction,e.simple&&"el-steps--simple"]},[e._t("default")],2)},Ch=[];Bh._withStripped=!0;var xh={name:"ElSteps",mixins:[S.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach((function(e,t){e.index=t}))}}},_h=xh,Sh=s(_h,Bh,Ch,!1,null,null,null);Sh.options.__file="packages/steps/src/steps.vue";var kh=Sh.exports;kh.install=function(e){e.component(kh.name,kh)};var Eh=kh,Fh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[n("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[n("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[n("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),n("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?n("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():n("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):n("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),n("div",{staticClass:"el-step__main"},[n("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?n("div",{staticClass:"el-step__arrow"}):n("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])},Qh=[];Fh._withStripped=!0;var Uh={name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);t>=0&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent,n=t.steps.length,i="number"===typeof this.space?this.space+"px":this.space?this.space:100/(n-(this.isCenter?0:1))+"%";return e.flexBasis=i,this.isVertical||(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px"),e}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,n={};n.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,n.transitionDelay=-150*this.index+"ms"),n.borderWidth=t&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?n.height=t+"%":n.width=t+"%",this.lineStyle=n}},mounted:function(){var e=this,t=this.$watch("index",(function(n){e.$watch("$parent.active",e.updateStatus,{immediate:!0}),e.$watch("$parent.processStatus",(function(){var t=e.$parent.active;e.updateStatus(t)}),{immediate:!0}),t()}))}},Oh=Uh,Ih=s(Oh,Fh,Qh,!1,null,null,null);Ih.options.__file="packages/steps/src/step.vue";var Dh=Ih.exports;Dh.install=function(e){e.component(Dh.name,Dh)};var Th=Dh,Ph=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:e.carouselClasses,on:{mouseenter:function(t){return t.stopPropagation(),e.handleMouseEnter(t)},mouseleave:function(t){return t.stopPropagation(),e.handleMouseLeave(t)}}},[n("div",{staticClass:"el-carousel__container",style:{height:e.height}},[e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-left"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex>0),expression:"(arrow === 'always' || hover) && (loop || activeIndex > 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("left")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex-1)}}},[n("i",{staticClass:"el-icon-arrow-left"})])]):e._e(),e.arrowDisplay?n("transition",{attrs:{name:"carousel-arrow-right"}},[n("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex0}))},carouselClasses:function(){var e=["el-carousel","el-carousel--"+this.direction];return"card"===this.type&&e.push("el-carousel--card"),e},indicatorsClasses:function(){var e=["el-carousel__indicators","el-carousel__indicators--"+this.direction];return this.hasLabel&&e.push("el-carousel__indicators--labels"),"outside"!==this.indicatorPosition&&"card"!==this.type||e.push("el-carousel__indicators--outside"),e}},watch:{items:function(e){e.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(e,t){this.resetItemPosition(t),t>-1&&this.$emit("change",e,t)},autoplay:function(e){e?this.startTimer():this.pauseTimer()},loop:function(){this.setActiveItem(this.activeIndex)},interval:function(){this.pauseTimer(),this.startTimer()}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(e,t){var n=this.items.length;return t===n-1&&e.inStage&&this.items[0].active||e.inStage&&this.items[t+1]&&this.items[t+1].active?"left":!!(0===t&&e.inStage&&this.items[n-1].active||e.inStage&&this.items[t-1]&&this.items[t-1].active)&&"right"},handleButtonEnter:function(e){var t=this;"vertical"!==this.direction&&this.items.forEach((function(n,i){e===t.itemInStage(n,i)&&(n.hover=!0)}))},handleButtonLeave:function(){"vertical"!==this.direction&&this.items.forEach((function(e){e.hover=!1}))},updateItems:function(){this.items=this.$children.filter((function(e){return"ElCarouselItem"===e.$options.name}))},resetItemPosition:function(e){var t=this;this.items.forEach((function(n,i){n.translateItem(i,t.activeIndex,e)}))},playSlides:function(){this.activeIndex0&&(e=this.items.indexOf(t[0]))}if(e=Number(e),isNaN(e)||e!==Math.floor(e))console.warn("[Element Warn][Carousel]index must be an integer.");else{var n=this.items.length,i=this.activeIndex;this.activeIndex=e<0?this.loop?n-1:0:e>=n?this.loop?0:n-1:e,i===this.activeIndex&&this.resetItemPosition(i),this.resetTimer()}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(e){this.activeIndex=e},handleIndicatorHover:function(e){"hover"===this.trigger&&e!==this.activeIndex&&(this.activeIndex=e)}},created:function(){var e=this;this.throttledArrowClick=Lh()(300,!0,(function(t){e.setActiveItem(t)})),this.throttledIndicatorHover=Lh()(300,(function(t){e.handleIndicatorHover(t)}))},mounted:function(){var e=this;this.updateItems(),this.$nextTick((function(){Object(ei["addResizeListener"])(e.$el,e.resetItemPosition),e.initialIndex=0&&(e.activeIndex=e.initialIndex),e.startTimer()}))},beforeDestroy:function(){this.$el&&Object(ei["removeResizeListener"])(this.$el,this.resetItemPosition),this.pauseTimer()}},Rh=Nh,jh=s(Rh,Ph,Mh,!1,null,null,null);jh.options.__file="packages/carousel/src/main.vue";var $h=jh.exports;$h.install=function(e){e.component($h.name,$h)};var Vh=$h,Kh={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function zh(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var Wh={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return Kh[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:zh({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(He["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(He["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(He["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(He["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},Gh={name:"ElScrollbar",components:{Bar:Wh},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=mr()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(v["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var o=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),a=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[o]]),s=void 0;return s=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[o]])]:[a,e(Wh,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(Wh,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},s)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(ei["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(ei["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(Gh.name,Gh)}},Yh=Gh,Xh=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":e.active,"el-carousel__item--card":"card"===e.$parent.type,"is-in-stage":e.inStage,"is-hover":e.hover,"is-animating":e.animating},style:e.itemStyle,on:{click:e.handleItemClick}},["card"===e.$parent.type?n("div",{directives:[{name:"show",rawName:"v-show",value:!e.active,expression:"!active"}],staticClass:"el-carousel__mask"}):e._e(),e._t("default")],2)},Jh=[];Xh._withStripped=!0;var qh=.83,Zh={name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(e,t,n){return 0===t&&e===n-1?-1:t===n-1&&0===e?n:e=n/2?n+1:e>t+1&&e-t>=n/2?-2:e},calcCardTranslate:function(e,t){var n=this.$parent.$el.offsetWidth;return this.inStage?n*((2-qh)*(e-t)+1)/4:e2&&this.$parent.loop&&(e=this.processIndex(e,t,o)),"card"===i)"vertical"===r&&console.warn("[Element Warn][Carousel]vertical direction is not supported in card mode"),this.inStage=Math.round(Math.abs(e-t))<=1,this.active=e===t,this.translate=this.calcCardTranslate(e,t),this.scale=this.active?1:qh;else{this.active=e===t;var a="vertical"===r;this.translate=this.calcTranslate(e,t,a),this.scale=1}this.ready=!0},handleItemClick:function(){var e=this.$parent;if(e&&"card"===e.type){var t=e.items.indexOf(this);e.setActiveItem(t)}}},computed:{parentDirection:function(){return this.$parent.direction},itemStyle:function(){var e="vertical"===this.parentDirection?"translateY":"translateX",t=e+"("+this.translate+"px) scale("+this.scale+")",n={transform:t};return Object(v["autoprefixer"])(n)}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}},ed=Zh,td=s(ed,Xh,Jh,!1,null,null,null);td.options.__file="packages/carousel/src/item.vue";var nd=td.exports;nd.install=function(e){e.component(nd.name,nd)};var id=nd,rd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[e._t("default")],2)},od=[];rd._withStripped=!0;var ad={name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(e){this.activeNames=[].concat(e)}},methods:{setActiveNames:function(e){e=[].concat(e);var t=this.accordion?e[0]:e;this.activeNames=e,this.$emit("input",t),this.$emit("change",t)},handleItemClick:function(e){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==e.name?e.name:"");else{var t=this.activeNames.slice(0),n=t.indexOf(e.name);n>-1?t.splice(n,1):t.push(e.name),this.setActiveNames(t)}}},created:function(){this.$on("item-click",this.handleItemClick)}},sd=ad,Ad=s(sd,rd,od,!1,null,null,null);Ad.options.__file="packages/collapse/src/collapse.vue";var ld=Ad.exports;ld.install=function(e){e.component(ld.name,ld)};var cd=ld,ud=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-collapse-item",class:{"is-active":e.isActive,"is-disabled":e.disabled}},[n("div",{attrs:{role:"tab","aria-expanded":e.isActive,"aria-controls":"el-collapse-content-"+e.id,"aria-describedby":"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__header",class:{focusing:e.focusing,"is-active":e.isActive},attrs:{role:"button",id:"el-collapse-head-"+e.id,tabindex:e.disabled?void 0:0},on:{click:e.handleHeaderClick,keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.handleEnterClick(t))},focus:e.handleFocus,blur:function(t){e.focusing=!1}}},[e._t("title",[e._v(e._s(e.title))]),n("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":e.isActive}})],2)]),n("el-collapse-transition",[n("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!e.isActive,"aria-labelledby":"el-collapse-head-"+e.id,id:"el-collapse-content-"+e.id}},[n("div",{staticClass:"el-collapse-item__content"},[e._t("default")],2)])])],1)},hd=[];ud._withStripped=!0;var dd={name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[E.a],components:{ElCollapseTransition:We.a},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1,id:Object(v["generateId"])()}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1}},methods:{handleFocus:function(){var e=this;setTimeout((function(){e.isClick?e.isClick=!1:e.focusing=!0}),50)},handleHeaderClick:function(){this.disabled||(this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0)},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}},fd=dd,pd=s(fd,ud,hd,!1,null,null,null);pd.options.__file="packages/collapse/src/collapse-item.vue";var gd=pd.exports;gd.install=function(e){e.component(gd.name,gd)};var md=gd,vd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.toggleDropDownVisible(!1)},expression:"() => toggleDropDownVisible(false)"}],ref:"reference",class:["el-cascader",e.realSize&&"el-cascader--"+e.realSize,{"is-disabled":e.isDisabled}],on:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1},click:function(){return e.toggleDropDownVisible(!e.readonly||void 0)},keydown:e.handleKeyDown}},[n("el-input",{ref:"input",class:{"is-focus":e.dropDownVisible},attrs:{size:e.realSize,placeholder:e.placeholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.handleInput},model:{value:e.multiple?e.presentText:e.inputValue,callback:function(t){e.multiple?e.presentText:e.inputValue=t},expression:"multiple ? presentText : inputValue"}},[n("template",{slot:"suffix"},[e.clearBtnVisible?n("i",{key:"clear",staticClass:"el-input__icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.handleClear(t)}}}):n("i",{key:"arrow-down",class:["el-input__icon","el-icon-arrow-down",e.dropDownVisible&&"is-reverse"],on:{click:function(t){t.stopPropagation(),e.toggleDropDownVisible()}}})])],2),e.multiple?n("div",{staticClass:"el-cascader__tags"},[e._l(e.presentTags,(function(t){return n("el-tag",{key:t.key,attrs:{type:"info",size:e.tagSize,hit:t.hitState,closable:t.closable,"disable-transitions":""},on:{close:function(n){e.deleteTag(t)}}},[n("span",[e._v(e._s(t.text))])])})),e.filterable&&!e.isDisabled?n("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"el-cascader__search-input",attrs:{type:"text",placeholder:e.presentTags.length?"":e.placeholder},domProps:{value:e.inputValue},on:{input:[function(t){t.target.composing||(e.inputValue=t.target.value.trim())},function(t){return e.handleInput(e.inputValue,t)}],click:function(t){t.stopPropagation(),e.toggleDropDownVisible(!0)},keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.handleDelete(t)},blur:function(t){e.$forceUpdate()}}}):e._e()],2):e._e(),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.handleDropdownLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],ref:"popper",class:["el-popper","el-cascader__dropdown",e.popperClass]},[n("el-cascader-panel",{directives:[{name:"show",rawName:"v-show",value:!e.filtering,expression:"!filtering"}],ref:"panel",attrs:{options:e.options,props:e.config,border:!1,"render-label":e.$scopedSlots.default},on:{"expand-change":e.handleExpandChange,close:function(t){e.toggleDropDownVisible(!1)}},model:{value:e.checkedValue,callback:function(t){e.checkedValue=t},expression:"checkedValue"}}),e.filterable?n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.filtering,expression:"filtering"}],ref:"suggestionPanel",staticClass:"el-cascader__suggestion-panel",attrs:{tag:"ul","view-class":"el-cascader__suggestion-list"},nativeOn:{keydown:function(t){return e.handleSuggestionKeyDown(t)}}},[e.suggestions.length?e._l(e.suggestions,(function(t,i){return n("li",{key:t.uid,class:["el-cascader__suggestion-item",t.checked&&"is-checked"],attrs:{tabindex:-1},on:{click:function(t){e.handleSuggestionClick(i)}}},[n("span",[e._v(e._s(t.text))]),t.checked?n("i",{staticClass:"el-icon-check"}):e._e()])})):e._t("empty",[n("li",{staticClass:"el-cascader__empty-text"},[e._v(e._s(e.t("el.cascader.noMatch")))])])],2):e._e()],1)])],1)},yd=[];vd._withStripped=!0;var bd=n(43),wd=n.n(bd),Bd=n(35),Cd=n.n(Bd),xd=Cd.a.keys,_d={expandTrigger:{newProp:"expandTrigger",type:String},changeOnSelect:{newProp:"checkStrictly",type:Boolean},hoverThreshold:{newProp:"hoverThreshold",type:Number}},Sd={props:{placement:{type:String,default:"bottom-start"},appendToBody:$.a.props.appendToBody,visibleArrow:{type:Boolean,default:!0},arrowOffset:$.a.props.arrowOffset,offset:$.a.props.offset,boundariesPadding:$.a.props.boundariesPadding,popperOptions:$.a.props.popperOptions,transformOrigin:$.a.props.transformOrigin},methods:$.a.methods,data:$.a.data,beforeDestroy:$.a.beforeDestroy},kd={medium:36,small:32,mini:28},Ed={name:"ElCascader",directives:{Clickoutside:L.a},mixins:[Sd,E.a,m.a,S.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:p.a,ElTag:Zn.a,ElScrollbar:K.a,ElCascaderPanel:wd.a},props:{value:{},options:Array,props:Object,size:String,placeholder:{type:String,default:function(){return Object(ms["t"])("el.cascader.placeholder")}},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:Function,separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},popperClass:String},data:function(){return{dropDownVisible:!1,checkedValue:this.value,inputHover:!1,inputValue:null,presentText:null,presentTags:[],checkedNodes:[],filtering:!1,suggestions:[],inputInitialHeight:0,pressDeleteCount:0}},computed:{realSize:function(){var e=(this.elFormItem||{}).elFormItemSize;return this.size||e||(this.$ELEMENT||{}).size},tagSize:function(){return["small","mini"].indexOf(this.realSize)>-1?"mini":"small"},isDisabled:function(){return this.disabled||(this.elForm||{}).disabled},config:function(){var e=this.props||{},t=this.$attrs;return Object.keys(_d).forEach((function(n){var i=_d[n],r=i.newProp,o=i.type,a=t[n]||t[Object(v["kebabCase"])(n)];Object(St["isDef"])(n)&&!Object(St["isDef"])(e[r])&&(o===Boolean&&""===a&&(a=!0),e[r]=a)})),e},multiple:function(){return this.config.multiple},leafOnly:function(){return!this.config.checkStrictly},readonly:function(){return!this.filterable||this.multiple},clearBtnVisible:function(){return!(!this.clearable||this.isDisabled||this.filtering||!this.inputHover)&&(this.multiple?!!this.checkedNodes.filter((function(e){return!e.isDisabled})).length:!!this.presentText)},panel:function(){return this.$refs.panel}},watch:{disabled:function(){this.computePresentContent()},value:function(e){Object(v["isEqual"])(e,this.checkedValue)||(this.checkedValue=e,this.computePresentContent())},checkedValue:function(e){var t=this.value,n=this.dropDownVisible,i=this.config,r=i.checkStrictly,o=i.multiple;Object(v["isEqual"])(e,t)&&!Object(zu["isUndefined"])(t)||(this.computePresentContent(),o||r||!n||this.toggleDropDownVisible(!1),this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",[e]))},options:{handler:function(){this.$nextTick(this.computePresentContent)},deep:!0},presentText:function(e){this.inputValue=e},presentTags:function(e,t){this.multiple&&(e.length||t.length)&&this.$nextTick(this.updateStyle)},filtering:function(e){this.$nextTick(this.updatePopper)}},mounted:function(){var e=this,t=this.$refs.input;t&&t.$el&&(this.inputInitialHeight=t.$el.offsetHeight||kd[this.realSize]||40),this.isEmptyValue(this.value)||this.computePresentContent(),this.filterHandler=M()(this.debounce,(function(){var t=e.inputValue;if(t){var n=e.beforeFilter(t);n&&n.then?n.then(e.getSuggestions):!1!==n?e.getSuggestions():e.filtering=!1}else e.filtering=!1})),Object(ei["addResizeListener"])(this.$el,this.updateStyle)},beforeDestroy:function(){Object(ei["removeResizeListener"])(this.$el,this.updateStyle)},methods:{getMigratingConfig:function(){return{props:{"expand-trigger":"expand-trigger is removed, use `props.expandTrigger` instead.","change-on-select":"change-on-select is removed, use `props.checkStrictly` instead.","hover-threshold":"hover-threshold is removed, use `props.hoverThreshold` instead"},events:{"active-item-change":"active-item-change is renamed to expand-change"}}},toggleDropDownVisible:function(e){var t=this;if(!this.isDisabled){var n=this.dropDownVisible,i=this.$refs.input;e=Object(St["isDef"])(e)?e:!n,e!==n&&(this.dropDownVisible=e,e&&this.$nextTick((function(){t.updatePopper(),t.panel.scrollIntoView()})),i.$refs.input.setAttribute("aria-expanded",e),this.$emit("visible-change",e))}},handleDropdownLeave:function(){this.filtering=!1,this.inputValue=this.presentText,this.doDestroy()},handleKeyDown:function(e){switch(e.keyCode){case xd.enter:this.toggleDropDownVisible();break;case xd.down:this.toggleDropDownVisible(!0),this.focusFirstNode(),e.preventDefault();break;case xd.esc:case xd.tab:this.toggleDropDownVisible(!1);break}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleInput:function(e,t){!this.dropDownVisible&&this.toggleDropDownVisible(!0),t&&t.isComposing||(e?this.filterHandler():this.filtering=!1)},handleClear:function(){this.presentText="",this.panel.clearCheckedNodes()},handleExpandChange:function(e){this.$nextTick(this.updatePopper.bind(this)),this.$emit("expand-change",e),this.$emit("active-item-change",e)},focusFirstNode:function(){var e=this;this.$nextTick((function(){var t=e.filtering,n=e.$refs,i=n.popper,r=n.suggestionPanel,o=null;if(t&&r)o=r.$el.querySelector(".el-cascader__suggestion-item");else{var a=i.querySelector(".el-cascader-menu");o=a.querySelector('.el-cascader-node[tabindex="-1"]')}o&&(o.focus(),!t&&o.click())}))},computePresentContent:function(){var e=this;this.$nextTick((function(){e.config.multiple?(e.computePresentTags(),e.presentText=e.presentTags.length?" ":null):e.computePresentText()}))},isEmptyValue:function(e){var t=this.multiple,n=this.panel.config.emitPath;return!(!t&&!n)&&Object(v["isEmpty"])(e)},computePresentText:function(){var e=this.checkedValue,t=this.config;if(!this.isEmptyValue(e)){var n=this.panel.getNodeByValue(e);if(n&&(t.checkStrictly||n.isLeaf))return void(this.presentText=n.getText(this.showAllLevels,this.separator))}this.presentText=null},computePresentTags:function(){var e=this.isDisabled,t=this.leafOnly,n=this.showAllLevels,i=this.separator,r=this.collapseTags,o=this.getCheckedNodes(t),a=[],s=function(t){return{node:t,key:t.uid,text:t.getText(n,i),hitState:!1,closable:!e&&!t.isDisabled}};if(o.length){var A=o[0],l=o.slice(1),c=l.length;a.push(s(A)),c&&(r?a.push({key:-1,text:"+ "+c,closable:!1}):l.forEach((function(e){return a.push(s(e))})))}this.checkedNodes=o,this.presentTags=a},getSuggestions:function(){var e=this,t=this.filterMethod;Object(zu["isFunction"])(t)||(t=function(e,t){return e.text.includes(t)});var n=this.panel.getFlattedNodes(this.leafOnly).filter((function(n){return!n.isDisabled&&(n.text=n.getText(e.showAllLevels,e.separator)||"",t(n,e.inputValue))}));this.multiple?this.presentTags.forEach((function(e){e.hitState=!1})):n.forEach((function(t){t.checked=Object(v["isEqual"])(e.checkedValue,t.getValueByOption())})),this.filtering=!0,this.suggestions=n,this.$nextTick(this.updatePopper)},handleSuggestionKeyDown:function(e){var t=e.keyCode,n=e.target;switch(t){case xd.enter:n.click();break;case xd.up:var i=n.previousElementSibling;i&&i.focus();break;case xd.down:var r=n.nextElementSibling;r&&r.focus();break;case xd.esc:case xd.tab:this.toggleDropDownVisible(!1);break}},handleDelete:function(){var e=this.inputValue,t=this.pressDeleteCount,n=this.presentTags,i=n.length-1,r=n[i];this.pressDeleteCount=e?0:t+1,r&&this.pressDeleteCount&&(r.hitState?this.deleteTag(r):r.hitState=!0)},handleSuggestionClick:function(e){var t=this.multiple,n=this.suggestions[e];if(t){var i=n.checked;n.doCheck(!i),this.panel.calculateMultiCheckedValue()}else this.checkedValue=n.getValueByOption(),this.toggleDropDownVisible(!1)},deleteTag:function(e){var t=this.checkedValue,n=e.node.getValueByOption(),i=t.find((function(e){return Object(v["isEqual"])(e,n)}));this.checkedValue=t.filter((function(e){return!Object(v["isEqual"])(e,n)})),this.$emit("remove-tag",i)},updateStyle:function(){var e=this.$el,t=this.inputInitialHeight;if(!this.$isServer&&e){var n=this.$refs.suggestionPanel,i=e.querySelector(".el-input__inner");if(i){var r=e.querySelector(".el-cascader__tags"),o=null;if(n&&(o=n.$el)){var a=o.querySelector(".el-cascader__suggestion-list");a.style.minWidth=i.offsetWidth+"px"}if(r){var s=Math.round(r.getBoundingClientRect().height),A=Math.max(s+6,t)+"px";i.style.height=A,this.dropDownVisible&&this.updatePopper()}}}},getCheckedNodes:function(e){return this.panel.getCheckedNodes(e)}}},Fd=Ed,Qd=s(Fd,vd,yd,!1,null,null,null);Qd.options.__file="packages/cascader/src/cascader.vue";var Ud=Qd.exports;Ud.install=function(e){e.component(Ud.name,Ud)};var Od=Ud,Id=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.hide,expression:"hide"}],class:["el-color-picker",e.colorDisabled?"is-disabled":"",e.colorSize?"el-color-picker--"+e.colorSize:""]},[e.colorDisabled?n("div",{staticClass:"el-color-picker__mask"}):e._e(),n("div",{staticClass:"el-color-picker__trigger",on:{click:e.handleTrigger}},[n("span",{staticClass:"el-color-picker__color",class:{"is-alpha":e.showAlpha}},[n("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:e.displayedColor}}),e.value||e.showPanelColor?e._e():n("span",{staticClass:"el-color-picker__empty el-icon-close"})]),n("span",{directives:[{name:"show",rawName:"v-show",value:e.value||e.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),n("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",e.popperClass||""],attrs:{color:e.color,"show-alpha":e.showAlpha,predefine:e.predefine},on:{pick:e.confirmValue,clear:e.clearValue},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}})],1)},Dd=[];Id._withStripped=!0;var Td="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Md=function(e,t,n){return[e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Hd=function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)},Ld=function(e){return"string"===typeof e&&-1!==e.indexOf("%")},Nd=function(e,t){Hd(e)&&(e="100%");var n=Ld(e);return e=Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)},Rd={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},jd=function(e){var t=e.r,n=e.g,i=e.b,r=function(e){e=Math.min(Math.round(e),255);var t=Math.floor(e/16),n=e%16;return""+(Rd[t]||t)+(Rd[n]||n)};return isNaN(t)||isNaN(n)||isNaN(i)?"":"#"+r(t)+r(n)+r(i)},$d={A:10,B:11,C:12,D:13,E:14,F:15},Vd=function(e){return 2===e.length?16*($d[e[0].toUpperCase()]||+e[0])+($d[e[1].toUpperCase()]||+e[1]):$d[e[1].toUpperCase()]||+e[1]},Kd=function(e,t,n){t/=100,n/=100;var i=t,r=Math.max(n,.01),o=void 0,a=void 0;return n*=2,t*=n<=1?n:2-n,i*=r<=1?r:2-r,a=(n+t)/2,o=0===n?2*i/(r+i):2*t/(n+t),{h:e,s:100*o,v:100*a}},zd=function(e,t,n){e=Nd(e,255),t=Nd(t,255),n=Nd(n,255);var i=Math.max(e,t,n),r=Math.min(e,t,n),o=void 0,a=void 0,s=i,A=i-r;if(a=0===i?0:A/i,i===r)o=0;else{switch(i){case e:o=(t-n)/A+(t2?parseFloat(e):parseInt(e,10)}));if(4===i.length?this._alpha=Math.floor(100*parseFloat(i[3])):3===i.length&&(this._alpha=100),i.length>=3){var r=Kd(i[0],i[1],i[2]),o=r.h,a=r.s,s=r.v;n(o,a,s)}}else if(-1!==e.indexOf("hsv")){var A=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));4===A.length?this._alpha=Math.floor(100*parseFloat(A[3])):3===A.length&&(this._alpha=100),A.length>=3&&n(A[0],A[1],A[2])}else if(-1!==e.indexOf("rgb")){var l=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));if(4===l.length?this._alpha=Math.floor(100*parseFloat(l[3])):3===l.length&&(this._alpha=100),l.length>=3){var c=zd(l[0],l[1],l[2]),u=c.h,h=c.s,d=c.v;n(u,h,d)}}else if(-1!==e.indexOf("#")){var f=e.replace("#","").trim();if(!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(f))return;var p=void 0,g=void 0,m=void 0;3===f.length?(p=Vd(f[0]+f[0]),g=Vd(f[1]+f[1]),m=Vd(f[2]+f[2])):6!==f.length&&8!==f.length||(p=Vd(f.substring(0,2)),g=Vd(f.substring(2,4)),m=Vd(f.substring(4,6))),8===f.length?this._alpha=Math.floor(Vd(f.substring(6))/255*100):3!==f.length&&6!==f.length||(this._alpha=100);var v=zd(p,g,m),y=v.h,b=v.s,w=v.v;n(y,b,w)}},e.prototype.compare=function(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1},e.prototype.doOnChange=function(){var e=this._hue,t=this._saturation,n=this._value,i=this._alpha,r=this.format;if(this.enableAlpha)switch(r){case"hsl":var o=Md(e,t/100,n/100);this.value="hsla("+e+", "+Math.round(100*o[1])+"%, "+Math.round(100*o[2])+"%, "+i/100+")";break;case"hsv":this.value="hsva("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%, "+i/100+")";break;default:var a=Wd(e,t,n),s=a.r,A=a.g,l=a.b;this.value="rgba("+s+", "+A+", "+l+", "+i/100+")"}else switch(r){case"hsl":var c=Md(e,t/100,n/100);this.value="hsl("+e+", "+Math.round(100*c[1])+"%, "+Math.round(100*c[2])+"%)";break;case"hsv":this.value="hsv("+e+", "+Math.round(t)+"%, "+Math.round(n)+"%)";break;case"rgb":var u=Wd(e,t,n),h=u.r,d=u.g,f=u.b;this.value="rgb("+h+", "+d+", "+f+")";break;default:this.value=jd(Wd(e,t,n))}},e}(),Yd=Gd,Xd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[n("div",{staticClass:"el-color-dropdown__main-wrapper"},[n("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:e.color,vertical:""}}),n("sv-panel",{ref:"sl",attrs:{color:e.color}})],1),e.showAlpha?n("alpha-slider",{ref:"alpha",attrs:{color:e.color}}):e._e(),e.predefine?n("predefine",{attrs:{color:e.color,colors:e.predefine}}):e._e(),n("div",{staticClass:"el-color-dropdown__btns"},[n("span",{staticClass:"el-color-dropdown__value"},[n("el-input",{attrs:{"validate-event":!1,size:"mini"},on:{blur:e.handleConfirm},nativeOn:{keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleConfirm(t)}},model:{value:e.customInput,callback:function(t){e.customInput=t},expression:"customInput"}})],1),n("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(t){e.$emit("clear")}}},[e._v("\n "+e._s(e.t("el.colorpicker.clear"))+"\n ")]),n("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:e.confirmValue}},[e._v("\n "+e._s(e.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])},Jd=[];Xd._withStripped=!0;var qd=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-svpanel",style:{backgroundColor:e.background}},[n("div",{staticClass:"el-color-svpanel__white"}),n("div",{staticClass:"el-color-svpanel__black"}),n("div",{staticClass:"el-color-svpanel__cursor",style:{top:e.cursorTop+"px",left:e.cursorLeft+"px"}},[n("div")])])},Zd=[];qd._withStripped=!0;var ef=!1,tf=function(e,t){if(!ji.a.prototype.$isServer){var n=function(e){t.drag&&t.drag(e)},i=function e(i){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,ef=!1,t.end&&t.end(i)};e.addEventListener("mousedown",(function(e){ef||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",n),document.addEventListener("mouseup",i),ef=!0,t.start&&t.start(e))}))}},nf={name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){var e=this.color.get("hue"),t=this.color.get("value");return{hue:e,value:t}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var e=this.color.get("saturation"),t=this.color.get("value"),n=this.$el,i=n.clientWidth,r=n.clientHeight;this.cursorLeft=e*i/100,this.cursorTop=(100-t)*r/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(e){var t=this.$el,n=t.getBoundingClientRect(),i=e.clientX-n.left,r=e.clientY-n.top;i=Math.max(0,i),i=Math.min(i,n.width),r=Math.max(0,r),r=Math.min(r,n.height),this.cursorLeft=i,this.cursorTop=r,this.color.set({saturation:i/n.width*100,value:100-r/n.height*100})}},mounted:function(){var e=this;tf(this.$el,{drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}},rf=nf,of=s(rf,qd,Zd,!1,null,null,null);of.options.__file="packages/color-picker/src/components/sv-panel.vue";var af=of.exports,sf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":e.vertical}},[n("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:e.handleClick}}),n("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},Af=[];sf._withStripped=!0;var lf={name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){var e=this.color.get("hue");return e}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,n=e.target;n!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb,i=void 0;if(this.vertical){var r=e.clientY-t.top;r=Math.min(r,t.height-n.offsetHeight/2),r=Math.max(n.offsetHeight/2,r),i=Math.round((r-n.offsetHeight/2)/(t.height-n.offsetHeight)*360)}else{var o=e.clientX-t.left;o=Math.min(o,t.width-n.offsetWidth/2),o=Math.max(n.offsetWidth/2,o),i=Math.round((o-n.offsetWidth/2)/(t.width-n.offsetWidth)*360)}this.color.set("hue",i)},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var e=this,t=this.$refs,n=t.bar,i=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};tf(n,r),tf(i,r),this.update()}},cf=lf,uf=s(cf,sf,Af,!1,null,null,null);uf.options.__file="packages/color-picker/src/components/hue-slider.vue";var hf=uf.exports,df=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":e.vertical}},[n("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:e.background},on:{click:e.handleClick}}),n("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},ff=[];df._withStripped=!0;var pf={name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,n=e.target;n!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),n=this.$refs.thumb;if(this.vertical){var i=e.clientY-t.top;i=Math.max(n.offsetHeight/2,i),i=Math.min(i,t.height-n.offsetHeight/2),this.color.set("alpha",Math.round((i-n.offsetHeight/2)/(t.height-n.offsetHeight)*100))}else{var r=e.clientX-t.left;r=Math.max(n.offsetWidth/2,r),r=Math.min(r,t.width-n.offsetWidth/2),this.color.set("alpha",Math.round((r-n.offsetWidth/2)/(t.width-n.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetWidth-n.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var n=this.$refs.thumb;return Math.round(t*(e.offsetHeight-n.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var e=this.color.toRgb(),t=e.r,n=e.g,i=e.b;return"linear-gradient(to right, rgba("+t+", "+n+", "+i+", 0) 0%, rgba("+t+", "+n+", "+i+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var e=this,t=this.$refs,n=t.bar,i=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};tf(n,r),tf(i,r),this.update()}},gf=pf,mf=s(gf,df,ff,!1,null,null,null);mf.options.__file="packages/color-picker/src/components/alpha-slider.vue";var vf=mf.exports,yf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-color-predefine"},[n("div",{staticClass:"el-color-predefine__colors"},e._l(e.rgbaColors,(function(t,i){return n("div",{key:e.colors[i],staticClass:"el-color-predefine__color-selector",class:{selected:t.selected,"is-alpha":t._alpha<100},on:{click:function(t){e.handleSelect(i)}}},[n("div",{style:{"background-color":t.value}})])})),0)])},bf=[];yf._withStripped=!0;var wf={props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(e){this.color.fromString(this.colors[e])},parseColors:function(e,t){return e.map((function(e){var n=new Yd;return n.enableAlpha=!0,n.format="rgba",n.fromString(e),n.selected=n.value===t.value,n}))}},watch:{"$parent.currentColor":function(e){var t=new Yd;t.fromString(e),this.rgbaColors.forEach((function(e){e.selected=t.compare(e)}))},colors:function(e){this.rgbaColors=this.parseColors(e,this.color)},color:function(e){this.rgbaColors=this.parseColors(this.colors,e)}}},Bf=wf,Cf=s(Bf,yf,bf,!1,null,null,null);Cf.options.__file="packages/color-picker/src/components/predefine.vue";var xf=Cf.exports,_f={name:"el-color-picker-dropdown",mixins:[$.a,m.a],components:{SvPanel:af,HueSlider:hf,AlphaSlider:vf,ElInput:p.a,ElButton:ae.a,Predefine:xf},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var e=this.$parent;return e.value||e.showPanelColor?e.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(e){var t=this;!0===e&&this.$nextTick((function(){var e=t.$refs,n=e.sl,i=e.hue,r=e.alpha;n&&n.update(),i&&i.update(),r&&r.update()}))},currentColor:{immediate:!0,handler:function(e){this.customInput=e}}}},Sf=_f,kf=s(Sf,Xd,Jd,!1,null,null,null);kf.options.__file="packages/color-picker/src/components/picker-dropdown.vue";var Ef=kf.exports,Ff={name:"ElColorPicker",mixins:[E.a],props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:L.a},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){e?e&&e!==this.color.value&&this.color.fromString(e):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(e){if(this.showPicker){var t=new Yd({enableAlpha:this.showAlpha,format:this.colorFormat});t.fromString(this.value);var n=this.displayedRgb(t,this.showAlpha);e!==n&&this.$emit("active-change",e)}}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(){var e=this.color.value;this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),null!==this.value&&this.dispatch("ElFormItem","el.form.change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var e=this;this.$nextTick((function(t){e.value?e.color.fromString(e.value):e.showPanelColor=!1}))},displayedRgb:function(e,t){if(!(e instanceof Yd))throw Error("color should be instance of Color Class");var n=e.toRgb(),i=n.r,r=n.g,o=n.b;return t?"rgba("+i+", "+r+", "+o+", "+e.get("alpha")/100+")":"rgb("+i+", "+r+", "+o+")"}},mounted:function(){var e=this.value;e&&this.color.fromString(e),this.popperElm=this.$refs.dropdown.$el},data:function(){var e=new Yd({enableAlpha:this.showAlpha,format:this.colorFormat});return{color:e,showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:Ef}},Qf=Ff,Uf=s(Qf,Id,Dd,!1,null,null,null);Uf.options.__file="packages/color-picker/src/main.vue";var Of=Uf.exports;Of.install=function(e){e.component(Of.name,Of)};var If=Of,Df=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer"},[n("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),n("div",{staticClass:"el-transfer__buttons"},[n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft(t)}}},[n("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?n("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),n("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight(t)}}},[void 0!==e.buttonTexts[1]?n("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),n("i",{staticClass:"el-icon-arrow-right"})])],1),n("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},Tf=[];Df._withStripped=!0;var Pf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-transfer-panel"},[n("p",{staticClass:"el-transfer-panel__header"},[n("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleAllCheckedChange},model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}},[e._v("\n "+e._s(e.title)+"\n "),n("span",[e._v(e._s(e.checkedSummary))])])],1),n("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?n("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[n("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),n("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,(function(t){return n("el-checkbox",{key:t[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:t[e.keyProp],disabled:t[e.disabledProp]}},[n("option-content",{attrs:{option:t}})],1)})),1),n("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),n("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?n("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},Mf=[];Pf._withStripped=!0;var Hf={mixins:[m.a],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:Or.a,ElCheckbox:Di.a,ElInput:p.a,OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t},n=t(this),i=n.$parent||n;return n.renderContent?n.renderContent(e,this.option):i.$scopedSlots.default?i.$scopedSlots.default({option:this.option}):e("span",[this.option[n.labelProp]||this.option[n.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){if(this.updateAllChecked(),this.checkChangeByUser){var n=e.concat(t).filter((function(n){return-1===e.indexOf(n)||-1===t.indexOf(n)}));this.$emit("checked-change",e,n)}else this.$emit("checked-change",e),this.checkChangeByUser=!0},data:function(){var e=this,t=[],n=this.filteredData.map((function(t){return t[e.keyProp]}));this.checked.forEach((function(e){n.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var n=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var i=[],r=this.checkableData.map((function(e){return e[n.keyProp]}));e.forEach((function(e){r.indexOf(e)>-1&&i.push(e)})),this.checkChangeByUser=!1,this.checked=i}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var n=t[e.labelProp]||t[e.keyProp].toString();return n.toLowerCase().indexOf(e.query.toLowerCase())>-1}))},checkableData:function(){var e=this;return this.filteredData.filter((function(t){return!t[e.disabledProp]}))},checkedSummary:function(){var e=this.checked.length,t=this.data.length,n=this.format,i=n.noChecked,r=n.hasChecked;return i&&r?e>0?r.replace(/\${checked}/g,e).replace(/\${total}/g,t):i.replace(/\${total}/g,t):e+"/"+t},isIndeterminate:function(){var e=this.checked.length;return e>0&&e0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map((function(t){return t[e.keyProp]}));this.allChecked=t.length>0&&t.every((function(t){return e.checked.indexOf(t)>-1}))},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map((function(e){return e[t.keyProp]})):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},Lf=Hf,Nf=s(Lf,Pf,Mf,!1,null,null,null);Nf.options.__file="packages/transfer/src/transfer-panel.vue";var Rf=Nf.exports,jf={name:"ElTransfer",mixins:[E.a,m.a,S.a],components:{TransferPanel:Rf,ElButton:ae.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce((function(t,n){return(t[n[e]]=n)&&t}),{})},sourceData:function(){var e=this;return this.data.filter((function(t){return-1===e.value.indexOf(t[e.props.key])}))},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter((function(t){return e.value.indexOf(t[e.props.key])>-1})):this.value.reduce((function(t,n){var i=e.dataObj[n];return i&&t.push(i),t}),[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach((function(t){var n=e.indexOf(t);n>-1&&e.splice(n,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),n=[],i=this.props.key;this.data.forEach((function(t){var r=t[i];e.leftChecked.indexOf(r)>-1&&-1===e.value.indexOf(r)&&n.push(r)})),t="unshift"===this.targetOrder?n.concat(t):t.concat(n),this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},$f=jf,Vf=s($f,Df,Tf,!1,null,null,null);Vf.options.__file="packages/transfer/src/main.vue";var Kf=Vf.exports;Kf.install=function(e){e.component(Kf.name,Kf)};var zf=Kf,Wf=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"el-container",class:{"is-vertical":e.isVertical}},[e._t("default")],2)},Gf=[];Wf._withStripped=!0;var Yf={name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some((function(e){var t=e.componentOptions&&e.componentOptions.tag;return"el-header"===t||"el-footer"===t})))}}},Xf=Yf,Jf=s(Xf,Wf,Gf,!1,null,null,null);Jf.options.__file="packages/container/src/main.vue";var qf=Jf.exports;qf.install=function(e){e.component(qf.name,qf)};var Zf=qf,ep=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("header",{staticClass:"el-header",style:{height:e.height}},[e._t("default")],2)},tp=[];ep._withStripped=!0;var np={name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},ip=np,rp=s(ip,ep,tp,!1,null,null,null);rp.options.__file="packages/header/src/main.vue";var op=rp.exports;op.install=function(e){e.component(op.name,op)};var ap=op,sp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("aside",{staticClass:"el-aside",style:{width:e.width}},[e._t("default")],2)},Ap=[];sp._withStripped=!0;var lp={name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}},cp=lp,up=s(cp,sp,Ap,!1,null,null,null);up.options.__file="packages/aside/src/main.vue";var hp=up.exports;hp.install=function(e){e.component(hp.name,hp)};var dp=hp,fp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("main",{staticClass:"el-main"},[e._t("default")],2)},pp=[];fp._withStripped=!0;var gp={name:"ElMain",componentName:"ElMain"},mp=gp,vp=s(mp,fp,pp,!1,null,null,null);vp.options.__file="packages/main/src/main.vue";var yp=vp.exports;yp.install=function(e){e.component(yp.name,yp)};var bp=yp,wp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("footer",{staticClass:"el-footer",style:{height:e.height}},[e._t("default")],2)},Bp=[];wp._withStripped=!0;var Cp={name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},xp=Cp,_p=s(xp,wp,Bp,!1,null,null,null);_p.options.__file="packages/footer/src/main.vue";var Sp=_p.exports;Sp.install=function(e){e.component(Sp.name,Sp)};var kp,Ep,Fp=Sp,Qp={name:"ElTimeline",props:{reverse:{type:Boolean,default:!1}},provide:function(){return{timeline:this}},render:function(){var e=arguments[0],t=this.reverse,n={"el-timeline":!0,"is-reverse":t},i=this.$slots.default||[];return t&&(i=i.reverse()),e("ul",{class:n},[i])}},Up=Qp,Op=s(Up,kp,Ep,!1,null,null,null);Op.options.__file="packages/timeline/src/main.vue";var Ip=Op.exports;Ip.install=function(e){e.component(Ip.name,Ip)};var Dp=Ip,Tp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{staticClass:"el-timeline-item"},[n("div",{staticClass:"el-timeline-item__tail"}),e.$slots.dot?e._e():n("div",{staticClass:"el-timeline-item__node",class:["el-timeline-item__node--"+(e.size||""),"el-timeline-item__node--"+(e.type||"")],style:{backgroundColor:e.color}},[e.icon?n("i",{staticClass:"el-timeline-item__icon",class:e.icon}):e._e()]),e.$slots.dot?n("div",{staticClass:"el-timeline-item__dot"},[e._t("dot")],2):e._e(),n("div",{staticClass:"el-timeline-item__wrapper"},[e.hideTimestamp||"top"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-top"},[e._v("\n "+e._s(e.timestamp)+"\n ")]),n("div",{staticClass:"el-timeline-item__content"},[e._t("default")],2),e.hideTimestamp||"bottom"!==e.placement?e._e():n("div",{staticClass:"el-timeline-item__timestamp is-bottom"},[e._v("\n "+e._s(e.timestamp)+"\n ")])])])},Pp=[];Tp._withStripped=!0;var Mp={name:"ElTimelineItem",inject:["timeline"],props:{timestamp:String,hideTimestamp:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:String,color:String,size:{type:String,default:"normal"},icon:String}},Hp=Mp,Lp=s(Hp,Tp,Pp,!1,null,null,null);Lp.options.__file="packages/timeline/src/item.vue";var Np=Lp.exports;Np.install=function(e){e.component(Np.name,Np)};var Rp=Np,jp=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",e._b({class:["el-link",e.type?"el-link--"+e.type:"",e.disabled&&"is-disabled",e.underline&&!e.disabled&&"is-underline"],attrs:{href:e.disabled?null:e.href},on:{click:e.handleClick}},"a",e.$attrs,!1),[e.icon?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",{staticClass:"el-link--inner"},[e._t("default")],2):e._e(),e.$slots.icon?[e.$slots.icon?e._t("icon"):e._e()]:e._e()],2)},$p=[];jp._withStripped=!0;var Vp={name:"ElLink",props:{type:{type:String,default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:String,icon:String},methods:{handleClick:function(e){this.disabled||this.href||this.$emit("click",e)}}},Kp=Vp,zp=s(Kp,jp,$p,!1,null,null,null);zp.options.__file="packages/link/src/main.vue";var Wp=zp.exports;Wp.install=function(e){e.component(Wp.name,Wp)};var Gp=Wp,Yp=function(e,t){var n=t._c;return n("div",t._g(t._b({class:[t.data.staticClass,"el-divider","el-divider--"+t.props.direction]},"div",t.data.attrs,!1),t.listeners),[t.slots().default&&"vertical"!==t.props.direction?n("div",{class:["el-divider__text","is-"+t.props.contentPosition]},[t._t("default")],2):t._e()])},Xp=[];Yp._withStripped=!0;var Jp={name:"ElDivider",props:{direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},contentPosition:{type:String,default:"center",validator:function(e){return-1!==["left","center","right"].indexOf(e)}}}},qp=Jp,Zp=s(qp,Yp,Xp,!0,null,null,null);Zp.options.__file="packages/divider/src/main.vue";var eg=Zp.exports;eg.install=function(e){e.component(eg.name,eg)};var tg=eg,ng=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-image"},[e.loading?e._t("placeholder",[n("div",{staticClass:"el-image__placeholder"})]):e.error?e._t("error",[n("div",{staticClass:"el-image__error"},[e._v(e._s(e.t("el.image.error")))])]):n("img",e._g(e._b({staticClass:"el-image__inner",class:{"el-image__inner--center":e.alignCenter,"el-image__preview":e.preview},style:e.imageStyle,attrs:{src:e.src},on:{click:e.clickHandler}},"img",e.$attrs,!1),e.$listeners)),e.preview?[e.showViewer?n("image-viewer",{attrs:{"z-index":e.zIndex,"initial-index":e.imageIndex,"on-close":e.closeViewer,"url-list":e.previewSrcList}}):e._e()]:e._e()],2)},ig=[];ng._withStripped=!0;var rg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"viewer-fade"}},[n("div",{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:{"z-index":e.viewerZIndex},attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-image-viewer__mask",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleMaskClick(t)}}}),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:e.hide}},[n("i",{staticClass:"el-icon-close"})]),e.isSingle?e._e():[n("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[n("i",{staticClass:"el-icon-arrow-left"})]),n("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[n("i",{staticClass:"el-icon-arrow-right"})])],n("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[n("div",{staticClass:"el-image-viewer__actions__inner"},[n("i",{staticClass:"el-icon-zoom-out",on:{click:function(t){e.handleActions("zoomOut")}}}),n("i",{staticClass:"el-icon-zoom-in",on:{click:function(t){e.handleActions("zoomIn")}}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{class:e.mode.icon,on:{click:e.toggleMode}}),n("i",{staticClass:"el-image-viewer__actions__divider"}),n("i",{staticClass:"el-icon-refresh-left",on:{click:function(t){e.handleActions("anticlocelise")}}}),n("i",{staticClass:"el-icon-refresh-right",on:{click:function(t){e.handleActions("clocelise")}}})])]),n("div",{staticClass:"el-image-viewer__canvas"},e._l(e.urlList,(function(t,i){return i===e.index?n("img",{key:t,ref:"img",refInFor:!0,staticClass:"el-image-viewer__img",style:e.imgStyle,attrs:{src:e.currentImg,referrerpolicy:"no-referrer"},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()})),0)],2)])},og=[];rg._withStripped=!0;var ag=Object.assign||function(e){for(var t=1;te?this.zIndex:e}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},currentImg:function(e){var t=this;this.$nextTick((function(e){var n=t.$refs.img[0];n.complete||(t.loading=!0)}))}},methods:{hide:function(){this.deviceSupportUninstall(),this.onClose()},deviceSupportInstall:function(){var e=this;this._keyDownHandler=function(t){t.stopPropagation();var n=t.keyCode;switch(n){case 27:e.hide();break;case 32:e.toggleMode();break;case 37:e.prev();break;case 38:e.handleActions("zoomIn");break;case 39:e.next();break;case 40:e.handleActions("zoomOut");break}},this._mouseWheelHandler=Object(v["rafThrottle"])((function(t){var n=t.wheelDelta?t.wheelDelta:-t.detail;n>0?e.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):e.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})})),Object(He["on"])(document,"keydown",this._keyDownHandler),Object(He["on"])(document,Ag,this._mouseWheelHandler)},deviceSupportUninstall:function(){Object(He["off"])(document,"keydown",this._keyDownHandler),Object(He["off"])(document,Ag,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(e){this.loading=!1},handleImgError:function(e){this.loading=!1,e.target.alt="加载失败"},handleMouseDown:function(e){var t=this;if(!this.loading&&0===e.button){var n=this.transform,i=n.offsetX,r=n.offsetY,o=e.pageX,a=e.pageY;this._dragHandler=Object(v["rafThrottle"])((function(e){t.transform.offsetX=i+e.pageX-o,t.transform.offsetY=r+e.pageY-a})),Object(He["on"])(document,"mousemove",this._dragHandler),Object(He["on"])(document,"mouseup",(function(e){Object(He["off"])(document,"mousemove",t._dragHandler)})),e.preventDefault()}},handleMaskClick:function(){this.maskClosable&&this.hide()},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var e=Object.keys(sg),t=Object.values(sg),n=t.indexOf(this.mode),i=(n+1)%e.length;this.mode=sg[e[i]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var e=this.urlList.length;this.index=(this.index-1+e)%e}},next:function(){if(!this.isLast||this.infinite){var e=this.urlList.length;this.index=(this.index+1)%e}},handleActions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var n=ag({zoomRate:.2,rotateDeg:90,enableTransition:!0},t),i=n.zoomRate,r=n.rotateDeg,o=n.enableTransition,a=this.transform;switch(e){case"zoomOut":a.scale>.2&&(a.scale=parseFloat((a.scale-i).toFixed(3)));break;case"zoomIn":a.scale=parseFloat((a.scale+i).toFixed(3));break;case"clocelise":a.deg+=r;break;case"anticlocelise":a.deg-=r;break}a.enableTransition=o}}},mounted:function(){this.deviceSupportInstall(),this.appendToBody&&document.body.appendChild(this.$el),this.$refs["el-image-viewer__wrapper"].focus()},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},cg=lg,ug=s(cg,rg,og,!1,null,null,null);ug.options.__file="packages/image/src/image-viewer.vue";var hg=ug.exports,dg=function(){return void 0!==document.documentElement.style.objectFit},fg={NONE:"none",CONTAIN:"contain",COVER:"cover",FILL:"fill",SCALE_DOWN:"scale-down"},pg="",gg={name:"ElImage",mixins:[m.a],inheritAttrs:!1,components:{ImageViewer:hg},props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},initialIndex:Number},data:function(){return{loading:!0,error:!1,show:!this.lazy,imageWidth:0,imageHeight:0,showViewer:!1}},computed:{imageStyle:function(){var e=this.fit;return!this.$isServer&&e?dg()?{"object-fit":e}:this.getImageStyle(e):{}},alignCenter:function(){return!this.$isServer&&!dg()&&this.fit!==fg.FILL},preview:function(){var e=this.previewSrcList;return Array.isArray(e)&&e.length>0},imageIndex:function(){var e=0,t=this.initialIndex;if(t>=0)return e=t,e;var n=this.previewSrcList.indexOf(this.src);return n>=0?(e=n,e):e}},watch:{src:function(e){this.show&&this.loadImage()},show:function(e){e&&this.loadImage()}},mounted:function(){this.lazy?this.addLazyLoadListener():this.loadImage()},beforeDestroy:function(){this.lazy&&this.removeLazyLoadListener()},methods:{loadImage:function(){var e=this;if(!this.$isServer){this.loading=!0,this.error=!1;var t=new Image;t.onload=function(n){return e.handleLoad(n,t)},t.onerror=this.handleError.bind(this),Object.keys(this.$attrs).forEach((function(n){var i=e.$attrs[n];t.setAttribute(n,i)})),t.src=this.src}},handleLoad:function(e,t){this.imageWidth=t.width,this.imageHeight=t.height,this.loading=!1,this.error=!1},handleError:function(e){this.loading=!1,this.error=!0,this.$emit("error",e)},handleLazyLoad:function(){Object(He["isInContainer"])(this.$el,this._scrollContainer)&&(this.show=!0,this.removeLazyLoadListener())},addLazyLoadListener:function(){if(!this.$isServer){var e=this.scrollContainer,t=null;t=Object(zu["isHtmlElement"])(e)?e:Object(zu["isString"])(e)?document.querySelector(e):Object(He["getScrollContainer"])(this.$el),t&&(this._scrollContainer=t,this._lazyLoadHandler=Lh()(200,this.handleLazyLoad),Object(He["on"])(t,"scroll",this._lazyLoadHandler),this.handleLazyLoad())}},removeLazyLoadListener:function(){var e=this._scrollContainer,t=this._lazyLoadHandler;!this.$isServer&&e&&t&&(Object(He["off"])(e,"scroll",t),this._scrollContainer=null,this._lazyLoadHandler=null)},getImageStyle:function(e){var t=this.imageWidth,n=this.imageHeight,i=this.$el,r=i.clientWidth,o=i.clientHeight;if(!t||!n||!r||!o)return{};var a=t/n,s=r/o;if(e===fg.SCALE_DOWN){var A=tr)return console.warn("[ElementCalendar]end time should be greater than start time"),[];if(Object(ao["validateRangeInOneMonth"])(i,r))return[[i,r]];var o=[],a=new Date(i.getFullYear(),i.getMonth()+1,1),s=this.toDate(a.getTime()-Ig);if(!Object(ao["validateRangeInOneMonth"])(a,r))return console.warn("[ElementCalendar]start time and end time interval must not exceed two months"),[];o.push([i,s]);var A=this.realFirstDayOfWeek,l=a.getDay(),c=0;return l!==A&&(0===A?c=7-l:(c=A-l,c=c>0?c:7+c)),a=this.toDate(a.getTime()+c*Ig),a.getDate()6?0:Math.floor(this.firstDayOfWeek)}},data:function(){return{selectedDay:"",now:new Date}}},Tg=Dg,Pg=s(Tg,wg,Bg,!1,null,null,null);Pg.options.__file="packages/calendar/src/main.vue";var Mg=Pg.exports;Mg.install=function(e){e.component(Mg.name,Mg)};var Hg=Mg,Lg=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-fade-in"}},[e.visible?n("div",{staticClass:"el-backtop",style:{right:e.styleRight,bottom:e.styleBottom},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)}}},[e._t("default",[n("el-icon",{attrs:{name:"caret-top"}})])],2):e._e()])},Ng=[];Lg._withStripped=!0;var Rg=function(e){return Math.pow(e,3)},jg=function(e){return e<.5?Rg(2*e)/2:1-Rg(2*(1-e))/2},$g={name:"ElBacktop",props:{visibilityHeight:{type:Number,default:200},target:[String],right:{type:Number,default:40},bottom:{type:Number,default:40}},data:function(){return{el:null,container:null,visible:!1}},computed:{styleBottom:function(){return this.bottom+"px"},styleRight:function(){return this.right+"px"}},mounted:function(){this.init(),this.throttledScrollHandler=Lh()(300,this.onScroll),this.container.addEventListener("scroll",this.throttledScrollHandler)},methods:{init:function(){if(this.container=document,this.el=document.documentElement,this.target){if(this.el=document.querySelector(this.target),!this.el)throw new Error("target is not existed: "+this.target);this.container=this.el}},onScroll:function(){var e=this.el.scrollTop;this.visible=e>=this.visibilityHeight},handleClick:function(e){this.scrollToTop(),this.$emit("click",e)},scrollToTop:function(){var e=this.el,t=Date.now(),n=e.scrollTop,i=window.requestAnimationFrame||function(e){return setTimeout(e,16)},r=function r(){var o=(Date.now()-t)/500;o<1?(e.scrollTop=n*(1-jg(o)),i(r)):e.scrollTop=0};i(r)}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},Vg=$g,Kg=s(Vg,Lg,Ng,!1,null,null,null);Kg.options.__file="packages/backtop/src/main.vue";var zg=Kg.exports;zg.install=function(e){e.component(zg.name,zg)};var Wg=zg,Gg=function(e,t){if(e===window&&(e=document.documentElement),1!==e.nodeType)return[];var n=window.getComputedStyle(e,null);return t?n[t]:n},Yg=function(e){return Object.keys(e||{}).map((function(t){return[t,e[t]]}))},Xg=function(e,t){return e===window||e===document?document.documentElement[t]:e[t]},Jg=function(e){return Xg(e,"offsetHeight")},qg=function(e){return Xg(e,"clientHeight")},Zg="ElInfiniteScroll",em={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},tm=function(e,t){return Object(zu["isHtmlElement"])(e)?Yg(em).reduce((function(n,i){var r=i[0],o=i[1],a=o.type,s=o.default,A=e.getAttribute("infinite-scroll-"+r);switch(A=Object(zu["isUndefined"])(t[A])?A:t[A],a){case Number:A=Number(A),A=Number.isNaN(A)?s:A;break;case Boolean:A=Object(zu["isDefined"])(A)?"false"!==A&&Boolean(A):s;break;default:A=a(A)}return n[r]=A,n}),{}):{}},nm=function(e){return e.getBoundingClientRect().top},im=function(e){var t=this[Zg],n=t.el,i=t.vm,r=t.container,o=t.observer,a=tm(n,i),s=a.distance,A=a.disabled;if(!A){var l=r.getBoundingClientRect();if(l.width||l.height){var c=!1;if(r===n){var u=r.scrollTop+qg(r);c=r.scrollHeight-u<=s}else{var h=Jg(n)+nm(n)-nm(r),d=Jg(r),f=Number.parseFloat(Gg(r,"borderBottomWidth"));c=h-d+f<=s}c&&Object(zu["isFunction"])(e)?e.call(i):o&&(o.disconnect(),this[Zg].observer=null)}}},rm={name:"InfiniteScroll",inserted:function(e,t,n){var i=t.value,r=n.context,o=Object(He["getScrollContainer"])(e,!0),a=tm(e,r),s=a.delay,A=a.immediate,l=M()(s,im.bind(e,i));if(e[Zg]={el:e,vm:r,container:o,onScroll:l},o&&(o.addEventListener("scroll",l),A)){var c=e[Zg].observer=new MutationObserver(l);c.observe(o,{childList:!0,subtree:!0}),l()}},unbind:function(e){var t=e[Zg],n=t.container,i=t.onScroll;n&&n.removeEventListener("scroll",i)},install:function(e){e.directive(rm.name,rm)}},om=rm,am=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-page-header"},[n("div",{staticClass:"el-page-header__left",on:{click:function(t){e.$emit("back")}}},[n("i",{staticClass:"el-icon-back"}),n("div",{staticClass:"el-page-header__title"},[e._t("title",[e._v(e._s(e.title))])],2)]),n("div",{staticClass:"el-page-header__content"},[e._t("content",[e._v(e._s(e.content))])],2)])},sm=[];am._withStripped=!0;var Am={name:"ElPageHeader",props:{title:{type:String,default:function(){return Object(ms["t"])("el.pageHeader.title")}},content:String}},lm=Am,cm=s(lm,am,sm,!1,null,null,null);cm.options.__file="packages/page-header/src/main.vue";var um=cm.exports;um.install=function(e){e.component(um.name,um)};var hm=um,dm=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},fm=[];dm._withStripped=!0;var pm,gm,mm=n(44),vm=n.n(mm),ym=function(e){return e.stopPropagation()},bm={inject:["panel"],components:{ElCheckbox:Di.a,ElRadio:vm.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,o=r.multiple,a=r.checkStrictly;!a&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),o){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,o=i.multiple;return o?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=ym),e("el-checkbox",tu()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(v["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:ym}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,o=this.isLeaf,a=this.isDisabled,s=this.config,A=this.nodeId,l=s.expandTrigger,c=s.checkStrictly,u=s.multiple,h=!c&&a,d={on:{}};return"click"===l?d.on.click=this.handleExpand:(d.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},d.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!o||a||c||u||(d.on.click=this.handleCheckChange),e("li",tu()([{attrs:{role:"menuitem",id:A,"aria-expanded":n,tabindex:h?null:-1},class:{"el-cascader-node":!0,"is-selectable":c,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":h}},d]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},wm=bm,Bm=s(wm,pm,gm,!1,null,null,null);Bm.options.__file="packages/cascader-panel/src/cascader-node.vue";var Cm,xm,_m=Bm.exports,Sm={name:"ElCascaderMenu",mixins:[m.a],inject:["panel"],components:{ElScrollbar:K.a,CascaderNode:_m},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(v["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),o=r.left,a=e.clientX-o,s=this.$el,A=s.offsetWidth,l=s.offsetHeight,c=t.offsetTop,u=c+t.offsetHeight;i.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map((function(n,r){var o=n.hasChildren;return e("cascader-node",tu()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":o,"aria-owns":o?t:null}},i]))}));return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",tu()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},km=Sm,Em=s(km,Cm,xm,!1,null,null,null);Em.options.__file="packages/cascader-panel/src/cascader-menu.vue";var Fm=Em.exports,Qm=function(){function e(e,t){for(var n=0;n1?t-1:0),i=1;i1?i-1:0),o=1;o0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},Qm(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,o=r.lazy,a=r.leaf;if(o){var s=Object(St["isDef"])(e[a])?e[a]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),Dm=Im;function Tm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Pm=function e(t,n){return t.reduce((function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t}),[])},Mm=function(){function e(t,n){Tm(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(v["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new Dm(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new Dm(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(v["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:Pm(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(v["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),Hm=Mm,Lm=Object.assign||function(e){for(var t=1;t0){var A=n.store.getNodeByValue(o);A.data[s]||n.lazyLoad(A,(function(){n.handleExpand(A)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");ni()(n,i)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},Gm=Wm,Ym=s(Gm,dm,fm,!1,null,null,null);Ym.options.__file="packages/cascader-panel/src/cascader-panel.vue";var Xm=Ym.exports;Xm.install=function(e){e.component(Xm.name,Xm)};var Jm,qm,Zm=Xm,ev={name:"ElAvatar",props:{size:{type:[Number,String],validator:function(e){return"string"===typeof e?["large","medium","small"].includes(e):"number"===typeof e}},shape:{type:String,default:"circle",validator:function(e){return["circle","square"].includes(e)}},icon:String,src:String,alt:String,srcSet:String,error:Function,fit:{type:String,default:"cover"}},data:function(){return{isImageExist:!0}},computed:{avatarClass:function(){var e=this.size,t=this.icon,n=this.shape,i=["el-avatar"];return e&&"string"===typeof e&&i.push("el-avatar--"+e),t&&i.push("el-avatar--icon"),n&&i.push("el-avatar--"+n),i.join(" ")}},methods:{handleError:function(){var e=this.error,t=e?e():void 0;!1!==t&&(this.isImageExist=!1)},renderAvatar:function(){var e=this.$createElement,t=this.icon,n=this.src,i=this.alt,r=this.isImageExist,o=this.srcSet,a=this.fit;return r&&n?e("img",{attrs:{src:n,alt:i,srcSet:o},on:{error:this.handleError},style:{"object-fit":a}}):t?e("i",{class:t}):this.$slots.default}},render:function(){var e=arguments[0],t=this.avatarClass,n=this.size,i="number"===typeof n?{height:n+"px",width:n+"px",lineHeight:n+"px"}:{};return e("span",{class:t,style:i},[this.renderAvatar()])}},tv=ev,nv=s(tv,Jm,qm,!1,null,null,null);nv.options.__file="packages/avatar/src/main.vue";var iv=nv.exports;iv.install=function(e){e.component(iv.name,iv)};var rv=iv,ov=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"el-drawer-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-drawer__wrapper",attrs:{tabindex:"-1"}},[n("div",{staticClass:"el-drawer__container",class:e.visible&&"el-drawer__open",attrs:{role:"document",tabindex:"-1"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[n("div",{ref:"drawer",staticClass:"el-drawer",class:[e.direction,e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,attrs:{"aria-modal":"true","aria-labelledby":"el-drawer__title","aria-label":e.title,role:"dialog",tabindex:"-1"}},[e.withHeader?n("header",{staticClass:"el-drawer__header",attrs:{id:"el-drawer__title"}},[e._t("title",[n("span",{attrs:{role:"heading",title:e.title}},[e._v(e._s(e.title))])]),e.showClose?n("button",{staticClass:"el-drawer__close-btn",attrs:{"aria-label":"close "+(e.title||"drawer"),type:"button"},on:{click:e.closeDrawer}},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2):e._e(),e.rendered?n("section",{staticClass:"el-drawer__body"},[e._t("default")],2):e._e()])])])])},av=[];ov._withStripped=!0;var sv={name:"ElDrawer",mixins:[x.a,E.a],props:{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Function},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},direction:{type:String,default:"rtl",validator:function(e){return-1!==["ltr","rtl","ttb","btt"].indexOf(e)}},modalAppendToBody:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},size:{type:[Number,String],default:"30%"},title:{type:String,default:""},visible:{type:Boolean},wrapperClosable:{type:Boolean,default:!0},withHeader:{type:Boolean,default:!0}},computed:{isHorizontal:function(){return"rtl"===this.direction||"ltr"===this.direction},drawerSize:function(){return"number"===typeof this.size?this.size+"px":this.size}},data:function(){return{closed:!1,prevActiveElement:null}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.appendToBody&&document.body.appendChild(this.$el),this.prevActiveElement=document.activeElement):(this.closed||(this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1)),this.$nextTick((function(){t.prevActiveElement&&t.prevActiveElement.focus()})))}},methods:{afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1),this.closed=!0)},handleWrapperClick:function(){this.wrapperClosable&&this.closeDrawer()},closeDrawer:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},handleClose:function(){this.closeDrawer()}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},Av=sv,lv=s(Av,ov,av,!1,null,null,null);lv.options.__file="packages/drawer/src/main.vue";var cv=lv.exports;cv.install=function(e){e.component(cv.name,cv)};var uv=cv,hv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-statistic"},[e.title||e.$slots.title?n("div",{staticClass:"head"},[e._t("title",[n("span",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n ")])])],2):e._e(),n("div",{staticClass:"con"},[e.prefix||e.$slots.prefix?n("span",{staticClass:"prefix"},[e._t("prefix",[e._v("\n "+e._s(e.prefix)+"\n ")])],2):e._e(),n("span",{staticClass:"number",style:e.valueStyle},[e._t("formatter",[e._v(" "+e._s(e.disposeValue))])],2),e.suffix||e.$slots.suffix?n("span",{staticClass:"suffix"},[e._t("suffix",[e._v("\n "+e._s(e.suffix)+"\n ")])],2):e._e()])])},dv=[];hv._withStripped=!0;var fv=n(28),pv={name:"ElStatistic",data:function(){return{disposeValue:"",timeTask:null,REFRESH_INTERVAL:1e3/30}},props:{decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:""},precision:{type:Number,default:null},value:{type:[String,Number],default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},title:{type:[String,Number],default:""},timeIndices:{type:Boolean,default:!1},valueStyle:{type:Object,default:function(){return{}}},format:{type:String,default:"HH:mm:ss:SSS"},rate:{type:Number,default:1e3}},created:function(){this.branch()},watch:{value:function(){this.branch()}},methods:{branch:function(){var e=this.timeIndices,t=this.countDown,n=this.dispose;e?t():n()},magnification:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",i=String(t).length-1,r=new RegExp("\\d{1,"+i+"}(?=(\\d{"+i+"})+$)","g"),o=String(e).replace(r,"$&,").split(",").join(n);return o},dispose:function(){var e=this.value,t=this.precision,n=this.groupSeparator,i=this.rate;if(!Object(fv["isNumber"])(e))return!1;var r=String(e).split("."),o=r[0],a=r[1];t&&(a=""+(a||"")+1..toFixed(t).replace(".","").slice(1),a=a.slice(0,t));var s=0;return n&&(o=this.magnification(o,i,n)),s=[o,a].join(a?this.decimalSeparator:""),this.disposeValue=s,s},diffDate:function(e,t){return Math.max(e-t,0)},suspend:function(e){return e?this.timeTask&&(clearInterval(this.timeTask),this.timeTask=null):this.branch(),this.disposeValue},formatTimeStr:function(e){var t=this.format,n=/\[[^\]]*]/g,i=(t.match(n)||[]).map((function(e){return e.slice(1,-1)})),r=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],o=Object(fv["reduce"])(r,(function(t,n){var i=n[0];return t.replace(new RegExp(i+"+","g"),(function(t){var i=Object(fv["chain"])(e).divide(n[1]).floor(0).value();return e-=Object(fv["multiply"])(i,n[1]),Object(fv["padStart"])(String(i),String(t).length,0)}))}),t),a=0;return o.replace(n,(function(){var e=i[a];return a+=1,e}))},stopTime:function(e){var t=!0;return e?(this.$emit("change",e),t=!1):(t=!0,this.suspend(!0),this.$emit("finish",!0)),t},countDown:function(){var e=this.REFRESH_INTERVAL,t=this.timeTask,n=this.diffDate,i=this.formatTimeStr,r=this.stopTime,o=this.suspend;if(!t){var a=this;this.timeTask=setInterval((function(){var e=n(a.value,Date.now());a.disposeValue=i(e),r(e)}),e),this.$once("hook:beforeDestroy",(function(){o(!0)}))}}}},gv=pv,mv=s(gv,hv,dv,!1,null,null,null);mv.options.__file="packages/statistic/src/main.vue";var vv=mv.exports;vv.install=function(e){e.component(vv.name,vv)};var yv=vv,bv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("el-popover",e._b({attrs:{trigger:"click"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},"el-popover",e.$attrs,!1),[n("div",{staticClass:"el-popconfirm"},[n("p",{staticClass:"el-popconfirm__main"},[e.hideIcon?e._e():n("i",{staticClass:"el-popconfirm__icon",class:e.icon,style:{color:e.iconColor}}),e._v("\n "+e._s(e.title)+"\n ")]),n("div",{staticClass:"el-popconfirm__action"},[n("el-button",{attrs:{size:"mini",type:e.cancelButtonType},on:{click:e.cancel}},[e._v("\n "+e._s(e.displayCancelButtonText)+"\n ")]),n("el-button",{attrs:{size:"mini",type:e.confirmButtonType},on:{click:e.confirm}},[e._v("\n "+e._s(e.displayConfirmButtonText)+"\n ")])],1)]),e._t("reference",null,{slot:"reference"})],2)},wv=[];bv._withStripped=!0;var Bv=n(45),Cv=n.n(Bv),xv={name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:Cv.a,ElButton:ae.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(ms["t"])("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(ms["t"])("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},_v=xv,Sv=s(_v,bv,wv,!1,null,null,null);Sv.options.__file="packages/popconfirm/src/main.vue";var kv=Sv.exports;kv.install=function(e){e.component(kv.name,kv)};var Ev=kv,Fv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.uiLoading?[n("div",e._b({class:["el-skeleton",e.animated?"is-animated":""]},"div",e.$attrs,!1),[e._l(e.count,(function(t){return[e.loading?e._t("template",e._l(e.rows,(function(i){return n("el-skeleton-item",{key:t+"-"+i,class:{"el-skeleton__paragraph":1!==i,"is-first":1===i,"is-last":i===e.rows&&e.rows>1},attrs:{variant:"p"}})}))):e._e()]}))],2)]:[e._t("default",null,null,e.$attrs)]],2)},Qv=[];Fv._withStripped=!0;var Uv={name:"ElSkeleton",props:{animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:4},loading:{type:Boolean,default:!0},throttle:{type:Number,default:0}},watch:{loading:{handler:function(e){var t=this;this.throttle<=0?this.uiLoading=e:e?(clearTimeout(this.timeoutHandle),this.timeoutHandle=setTimeout((function(){t.uiLoading=t.loading}),this.throttle)):this.uiLoading=e},immediate:!0}},data:function(){return{uiLoading:this.throttle<=0&&this.loading}}},Ov=Uv,Iv=s(Ov,Fv,Qv,!1,null,null,null);Iv.options.__file="packages/skeleton/src/index.vue";var Dv=Iv.exports;Dv.install=function(e){e.component(Dv.name,Dv)};var Tv=Dv,Pv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-skeleton__item","el-skeleton__"+e.variant]},["image"===e.variant?n("img-placeholder"):e._e()],1)},Mv=[];Pv._withStripped=!0;var Hv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{d:"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z"}})])},Lv=[];Hv._withStripped=!0;var Nv={name:"ImgPlaceholder"},Rv=Nv,jv=s(Rv,Hv,Lv,!1,null,null,null);jv.options.__file="packages/skeleton/src/img-placeholder.vue";var $v,Vv=jv.exports,Kv={name:"ElSkeletonItem",props:{variant:{type:String,default:"text"}},components:($v={},$v[Vv.name]=Vv,$v)},zv=Kv,Wv=s(zv,Pv,Mv,!1,null,null,null);Wv.options.__file="packages/skeleton/src/item.vue";var Gv=Wv.exports;Gv.install=function(e){e.component(Gv.name,Gv)};var Yv=Gv,Xv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-empty"},[n("div",{staticClass:"el-empty__image",style:e.imageStyle},[e.image?n("img",{attrs:{src:e.image,ondragstart:"return false"}}):e._t("image",[n("img-empty")])],2),n("div",{staticClass:"el-empty__description"},[e.$slots.description?e._t("description"):n("p",[e._v(e._s(e.emptyDescription))])],2),e.$slots.default?n("div",{staticClass:"el-empty__bottom"},[e._t("default")],2):e._e()])},Jv=[];Xv._withStripped=!0;var qv=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[n("defs",[n("linearGradient",{attrs:{id:"linearGradient-1-"+e.id,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#EEEFF3",offset:"100%"}})],1),n("linearGradient",{attrs:{id:"linearGradient-2-"+e.id,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"}},[n("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),n("stop",{attrs:{"stop-color":"#E9EBEF",offset:"100%"}})],1),n("rect",{attrs:{id:"path-3-"+e.id,x:"0",y:"0",width:"17",height:"36"}})],1),n("g",{attrs:{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[n("g",{attrs:{id:"B-type",transform:"translate(-1268.000000, -535.000000)"}},[n("g",{attrs:{id:"Group-2",transform:"translate(1268.000000, 535.000000)"}},[n("path",{attrs:{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"#F7F8FC"}}),n("polygon",{attrs:{id:"Rectangle-Copy-14",fill:"#E5E7E9",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"}}),n("g",{attrs:{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"}},[n("polygon",{attrs:{id:"Rectangle-Copy-10",fill:"#E5E7E9",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"}}),n("polygon",{attrs:{id:"Rectangle-Copy-11",fill:"#EDEEF2",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"}}),n("rect",{attrs:{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-"+e.id+")",transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"}}),n("polygon",{attrs:{id:"Rectangle-Copy-13",fill:"#F8F9FB",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"}})]),n("rect",{attrs:{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-"+e.id+")",x:"13",y:"45",width:"40",height:"36"}}),n("g",{attrs:{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"}},[n("mask",{attrs:{id:"mask-4-"+e.id,fill:"white"}},[n("use",{attrs:{"xlink:href":"#path-3-"+e.id}})]),n("use",{attrs:{id:"Mask",fill:"#E0E3E9",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+e.id}}),n("polygon",{attrs:{id:"Rectangle-Copy",fill:"#D5D7DE",mask:"url(#mask-4-"+e.id+")",transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"}})]),n("polygon",{attrs:{id:"Rectangle-Copy-18",fill:"#F8F9FB",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"}})])])])])},Zv=[];qv._withStripped=!0;var ey=0,ty={name:"ImgEmpty",data:function(){return{id:++ey}}},ny=ty,iy=s(ny,qv,Zv,!1,null,null,null);iy.options.__file="packages/empty/src/img-empty.vue";var ry,oy=iy.exports,ay={name:"ElEmpty",components:(ry={},ry[oy.name]=oy,ry),props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},computed:{emptyDescription:function(){return this.description||Object(ms["t"])("el.empty.description")},imageStyle:function(){return{width:this.imageSize?this.imageSize+"px":""}}}},sy=ay,Ay=s(sy,Xv,Jv,!1,null,null,null);Ay.options.__file="packages/empty/src/index.vue";var ly=Ay.exports;ly.install=function(e){e.component(ly.name,ly)};var cy,uy=ly,hy=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3];return e.props||(e.props={}),t>n&&(e.props.span=n),i&&(e.props.span=n),e},getRows:function(){var e=this,t=(this.$slots.default||[]).filter((function(e){return e.tag&&e.componentOptions&&"ElDescriptionsItem"===e.componentOptions.Ctor.options.name})),n=t.map((function(t){return{props:e.getOptionProps(t),slots:e.getSlots(t),vnode:t}})),i=[],r=[],o=this.column;return n.forEach((function(n,a){var s=n.props.span||1;if(a===t.length-1)return r.push(e.filledNode(n,s,o,!0)),void i.push(r);s1&&void 0!==arguments[1]?arguments[1]:{};vs.a.use(t.locale),vs.a.i18n(t.i18n),qy.forEach((function(t){e.component(t.name,t)})),e.use(om),e.use(Ic.directive),e.prototype.$ELEMENT={size:t.size||"",zIndex:t.zIndex||2e3},e.prototype.$loading=Ic.service,e.prototype.$msgbox=Ls,e.prototype.$alert=Ls.alert,e.prototype.$confirm=Ls.confirm,e.prototype.$prompt=Ls.prompt,e.prototype.$notify=Zl,e.prototype.$message=eh};"undefined"!==typeof window&&window.Vue&&Zy(window.Vue);t["default"]={version:"2.15.13",locale:vs.a.use,i18n:vs.a.i18n,install:Zy,CollapseTransition:We.a,Loading:Ic,Pagination:b,Dialog:I,Autocomplete:re,Dropdown:de,DropdownMenu:be,DropdownItem:ke,Menu:Ke,Submenu:et,MenuItem:lt,MenuItemGroup:gt,Input:Ut,InputNumber:Lt,Radio:zt,RadioGroup:en,RadioButton:An,Checkbox:pn,CheckboxButton:Bn,CheckboxGroup:Fn,Switch:Pn,Select:Ai,Option:li,OptionGroup:gi,Button:Ci,ButtonGroup:Qi,Table:Yr,TableColumn:io,DatePicker:Oa,TimeSelect:Va,TimePicker:is,Popover:hs,Tooltip:fs,MessageBox:Ls,Breadcrumb:zs,BreadcrumbItem:Zs,Form:aA,FormItem:wA,Tabs:jA,TabPane:JA,Tag:nl,Tree:Ul,Alert:Ll,Notification:Zl,Slider:pc,Icon:Nc,Row:jc,Col:Kc,Upload:xu,Progress:Uu,Spinner:Hu,Message:eh,Badge:sh,Card:fh,Rate:wh,Steps:Eh,Step:Th,Carousel:Vh,Scrollbar:Yh,CarouselItem:id,Collapse:cd,CollapseItem:md,Cascader:Od,ColorPicker:If,Transfer:zf,Container:Zf,Header:ap,Aside:dp,Main:bp,Footer:Fp,Timeline:Dp,TimelineItem:Rp,Link:Gp,Divider:tg,Image:bg,Calendar:Hg,Backtop:Wg,InfiniteScroll:om,PageHeader:hm,CascaderPanel:Zm,Avatar:rv,Drawer:uv,Statistic:yv,Popconfirm:Ev,Skeleton:Tv,SkeletonItem:Yv,Empty:uy,Descriptions:gy,DescriptionsItem:vy,Result:Jy}}])["default"]},3892:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n(5981)},2:function(e,t){e.exports=n(3766)},22:function(e,t){e.exports=n(9528)},3:function(e,t){e.exports=n(5402)},30:function(e,t,n){"use strict";var i=n(2),r=n(3);t["a"]={bind:function(e,t,n){var o=null,a=void 0,s=Object(r["isMac"])()?100:200,A=function(){return n.context[t.expression].apply()},l=function(){Date.now()-a=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,r=n(t);return void 0!==i?(r>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),r)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},u=c,h=n(0),d=Object(h["a"])(u,i,r,!1,null,null,null);d.options.__file="packages/input-number/src/input-number.vue";var f=d.exports;f.install=function(e){e.component(f.name,f)};t["default"]=f}})},5981:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=75)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},11:function(e,t){e.exports=n(4511)},21:function(e,t){e.exports=n(6927)},4:function(e,t){e.exports=n(8816)},75:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?n("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?n("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?n("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?n("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?n("span",{staticClass:"el-input__suffix"},[n("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?n("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?n("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?n("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?n("span",{staticClass:"el-input__count"},[n("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?n("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?n("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:n("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?n("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(11),A=n.n(s),l=void 0,c="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",u=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function h(e){var t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),i=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),o=u.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";");return{contextStyle:o,paddingSize:i,borderSize:r,boxSizing:n}}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;l||(l=document.createElement("textarea"),document.body.appendChild(l));var i=h(e),r=i.paddingSize,o=i.borderSize,a=i.boxSizing,s=i.contextStyle;l.setAttribute("style",s+";"+c),l.value=e.value||e.placeholder||"";var A=l.scrollHeight,u={};"border-box"===a?A+=o:"content-box"===a&&(A-=r),l.value="";var d=l.scrollHeight-r;if(null!==t){var f=d*t;"border-box"===a&&(f=f+r+o),A=Math.max(f,A),u.minHeight=f+"px"}if(null!==n){var p=d*n;"border-box"===a&&(p=p+r+o),A=Math.min(p,A)}return u.height=A+"px",l.parentNode&&l.parentNode.removeChild(l),l=null,u}var f=n(9),p=n.n(f),g=n(21),m={name:"ElInput",componentName:"ElInput",mixins:[a.a,A.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return p()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=d(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:d(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(g["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i1?t-1:0),a=1;a=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":A(e))&&"object"===("undefined"===typeof t?"undefined":A(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=l,u=n(0),h=Object(u["a"])(c,i,r,!1,null,null,null);h.options.__file="packages/select/src/option.vue";t["a"]=h.exports},4:function(e,t){e.exports=n(8816)},54:function(e,t,n){"use strict";n.r(t);var i=n(33);i["a"].install=function(e){e.component(i["a"].name,i["a"])},t["default"]=i["a"]}})},8902:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=78)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},2:function(e,t){e.exports=n(3766)},3:function(e,t){e.exports=n(5402)},5:function(e,t){e.exports=n(4857)},7:function(e,t){e.exports=n(3032)},78:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)},r=[];i._withStripped=!0;var o=n(5),a=n.n(o),s=n(2),A=n(3),l={name:"ElPopover",mixins:[a.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(A["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(s["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(s["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object(s["on"])(n,"focusin",this.handleFocus),Object(s["on"])(t,"focusout",this.handleBlur),Object(s["on"])(n,"focusout",this.handleBlur)),Object(s["on"])(t,"keydown",this.handleKeydown),Object(s["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(s["on"])(t,"click",this.doToggle),Object(s["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(s["on"])(t,"mouseenter",this.handleMouseEnter),Object(s["on"])(n,"mouseenter",this.handleMouseEnter),Object(s["on"])(t,"mouseleave",this.handleMouseLeave),Object(s["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(s["on"])(t,"focusin",this.doShow),Object(s["on"])(t,"focusout",this.doClose)):(Object(s["on"])(t,"mousedown",this.doShow),Object(s["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(s["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(s["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(s["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(s["off"])(e,"click",this.doToggle),Object(s["off"])(e,"mouseup",this.doClose),Object(s["off"])(e,"mousedown",this.doShow),Object(s["off"])(e,"focusin",this.doShow),Object(s["off"])(e,"focusout",this.doClose),Object(s["off"])(e,"mousedown",this.doShow),Object(s["off"])(e,"mouseup",this.doClose),Object(s["off"])(e,"mouseleave",this.handleMouseLeave),Object(s["off"])(e,"mouseenter",this.handleMouseEnter),Object(s["off"])(document,"click",this.handleDocumentClick)}},c=l,u=n(0),h=Object(u["a"])(c,i,r,!1,null,null,null);h.options.__file="packages/popover/src/main.vue";var d=h.exports,f=function(e,t,n){var i=t.expression?t.value:t.arg,r=n.context.$refs[i];r&&(Array.isArray(r)?r[0].$refs.reference=e:r.$refs.reference=e)},p={bind:function(e,t,n){f(e,t,n)},inserted:function(e,t,n){f(e,t,n)}},g=n(7),m=n.n(g);m.a.directive("popover",p),d.install=function(e){e.directive("popover",p),e.component(d.name,d)},d.directive=p;t["default"]=d}})},7509:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=104)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},104:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?n("div",{staticClass:"el-progress-bar"},[n("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[n("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?n("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):n("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[n("svg",{attrs:{viewBox:"0 0 100 100"}},[n("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),n("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?n("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?n("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},r=[];i._withStripped=!0;var o={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),n=0;ne)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e}))}}},a=o,s=n(0),A=Object(s["a"])(a,i,r,!1,null,null,null);A.options.__file="packages/progress/src/progress.vue";var l=A.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},8192:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=88)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(8816)},88:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[n("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[n("span",{staticClass:"el-radio__inner"}),n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),n("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s={name:"ElRadio",mixins:[a.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},A=s,l=n(0),c=Object(l["a"])(A,i,r,!1,null,null,null);c.options.__file="packages/radio/src/radio.vue";var u=c.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},5095:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=133)}({133:function(e,t,n){"use strict";n.r(t);var i=n(16),r=n(39),o=n.n(r),a=n(3),s=n(2),A={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function l(e){var t=e.move,n=e.size,i=e.bar,r={},o="translate"+i.axis+"("+t+"%)";return r[i.size]=n,r.transform=o,r.msTransform=o,r.webkitTransform=o,r}var c={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return A[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,n=this.move,i=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+i.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:l({size:t,move:n,bar:i})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]/2,i=100*(t-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=i*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(s["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(s["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var n=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]-t,r=100*(n-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=r*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(s["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(s["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},u={name:"ElScrollbar",components:{Bar:c},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=o()(),n=this.wrapStyle;if(t){var i="-"+t+"px",r="margin-bottom: "+i+"; margin-right: "+i+";";Array.isArray(this.wrapStyle)?(n=Object(a["toObject"])(this.wrapStyle),n.marginRight=n.marginBottom=i):"string"===typeof this.wrapStyle?n+=r:n=r}var s=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),A=e("div",{ref:"wrap",style:n,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[s]]),l=void 0;return l=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:n},[[s]])]:[A,e(c,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(c,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},l)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,n=this.wrap;n&&(e=100*n.clientHeight/n.scrollHeight,t=100*n.clientWidth/n.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(i["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(i["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(u.name,u)}};t["default"]=u},16:function(e,t){e.exports=n(2740)},2:function(e,t){e.exports=n(3766)},3:function(e,t){e.exports=n(5402)},39:function(e,t){e.exports=n(8667)}})},2572:function(e,t,n){n(7658),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=62)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n(5981)},12:function(e,t){e.exports=n(9305)},15:function(e,t){e.exports=n(5095)},16:function(e,t){e.exports=n(2740)},19:function(e,t){e.exports=n(8973)},21:function(e,t){e.exports=n(6927)},22:function(e,t){e.exports=n(9528)},3:function(e,t){e.exports=n(5402)},31:function(e,t){e.exports=n(4510)},33:function(e,t,n){"use strict";var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[n("span",[e._v(e._s(e.currentLabel))])])],2)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(3),A="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l={mixins:[a.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,r=n.valueKey;if(!this.created&&!i){if(r&&"object"===("undefined"===typeof e?"undefined":A(e))&&"object"===("undefined"===typeof t?"undefined":A(t))&&e[r]===t[r])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(s["getValueByPath"])(e,n)===Object(s["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(s["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],r=this.select.cachedOptions.indexOf(this),o=i.indexOf(this);r>-1&&o<0&&this.select.cachedOptions.splice(r,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=l,u=n(0),h=Object(u["a"])(c,i,r,!1,null,null,null);h.options.__file="packages/select/src/option.vue";t["a"]=h.exports},38:function(e,t){e.exports=n(3256)},4:function(e,t){e.exports=n(8816)},5:function(e,t){e.exports=n(4857)},6:function(e,t){e.exports=n(3647)},62:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},r=[];i._withStripped=!0;var o=n(4),a=n.n(o),s=n(22),A=n.n(s),l=n(6),c=n.n(l),u=n(10),h=n.n(u),d=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},f=[];d._withStripped=!0;var p=n(5),g=n.n(p),m={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[g.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},v=m,y=n(0),b=Object(y["a"])(v,d,f,!1,null,null,null);b.options.__file="packages/select/src/select-dropdown.vue";var w=b.exports,B=n(33),C=n(38),x=n.n(C),_=n(15),S=n.n(_),k=n(19),E=n.n(k),F=n(12),Q=n.n(F),U=n(16),O=n(31),I=n.n(O),D=n(3),T={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},P=n(21),M={mixins:[a.a,c.a,A()("reference"),T],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(D["isIE"])()&&!Object(D["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:h.a,ElSelectMenu:w,ElOption:B["a"],ElTag:x.a,ElScrollbar:S.a},directives:{Clickoutside:Q.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(D["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(P["isKorean"])(i)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");I()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(D["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),i="[object null]"===Object.prototype.toString.call(e).toLowerCase(),r="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),o=this.cachedOptions.length-1;o>=0;o--){var a=this.cachedOptions[o],s=n?Object(D["getValueByPath"])(a.value,this.valueKey)===Object(D["getValueByPath"])(e,this.valueKey):a.value===e;if(s){t=a;break}}if(t)return t;var A=n||i||r?"":String(e),l={value:e,currentLabel:A};return this.multiple&&(l.hitState=!1),l},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],i=e.$refs.tags,r=i?Math.round(i.getBoundingClientRect().height):0,o=e.initialInputHeight||40;n.style.height=0===e.selected.length?o+"px":Math.max(i?r+(r>o?6:0):0,o)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var i=(this.value||[]).slice(),r=this.getValueIndex(i,e.value);r>-1?i.splice(r,1):(this.multipleLimit<=0||i.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var i=this.valueKey,r=-1;return e.some((function(e,n){return Object(D["getValueByPath"])(e,i)===Object(D["getValueByPath"])(t,i)&&(r=n,!0)})),r}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(D["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=E()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=E()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(U["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},i=t.$el.querySelector("input");this.initialInputHeight=i.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(U["removeResizeListener"])(this.$el,this.handleResize)}},H=M,L=Object(y["a"])(H,i,r,!1,null,null,null);L.options.__file="packages/select/src/select.vue";var N=L.exports;N.install=function(e){e.component(N.name,N)};t["default"]=N}})},3256:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=132)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}n.d(t,"a",(function(){return i}))},132:function(e,t,n){"use strict";n.r(t);var i,r,o={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,n=this.tagSize,i=this.hit,r=this.effect,o=["el-tag",t?"el-tag--"+t:"",n?"el-tag--"+n:"",r?"el-tag--"+r:"",i&&"is-hit"],a=e("span",{class:o,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?a:e("transition",{attrs:{name:"el-zoom-in-center"}},[a])}},a=o,s=n(0),A=Object(s["a"])(a,i,r,!1,null,null,null);A.options.__file="packages/tag/src/tag.vue";var l=A.exports;l.install=function(e){e.component(l.name,l)};t["default"]=l}})},488:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),r=n.n(i),o=n(19),a=n.n(o),s=n(2),A=n(3),l=n(7),c=n.n(l),u={name:"ElTooltip",mixins:[r.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(A["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=a()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(s["on"])(this.referenceElm,"mouseenter",this.show),Object(s["on"])(this.referenceElm,"mouseleave",this.hide),Object(s["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(s["on"])(this.referenceElm,"blur",this.handleBlur),Object(s["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(s["addClass"])(this.referenceElm,"focusing"):Object(s["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var r=!1,o=function(){r||(r=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",o):e.$on("after-leave",o),setTimeout((function(){o()}),n+100)}},5408:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=n(9506),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}var s,A=A||{};A.Dialog=function(e,t,n){var r=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"===typeof t?this.focusAfterClosed=document.getElementById(t):"object"===("undefined"===typeof t?"undefined":i(t))?this.focusAfterClosed=t:this.focusAfterClosed=null,"string"===typeof n?this.focusFirst=document.getElementById(n):"object"===("undefined"===typeof n?"undefined":i(n))?this.focusFirst=n:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():o.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,s=function(e){r.trapFocus(e)},this.addListeners()},A.Dialog.prototype.addListeners=function(){document.addEventListener("focus",s,!0)},A.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",s,!0)},A.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout((function(){e.focusAfterClosed.focus()}))},A.Dialog.prototype.trapFocus=function(e){o.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(o.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&o.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t["default"]=A.Dialog},9506:function(e,t){"use strict";t.__esModule=!0;var n=n||{};n.Utils=n.Utils||{},n.Utils.focusFirstDescendant=function(e){for(var t=0;t=0;t--){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusLastDescendant(i))return!0}return!1},n.Utils.attemptFocus=function(e){if(!n.Utils.isFocusable(e))return!1;n.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return n.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},n.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},n.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),r=arguments.length,o=Array(r>2?r-2:0),a=2;a0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||e.contains(i.target)||e.contains(r.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(t.expression&&e[A].methodName&&n.context[e[A].methodName]?n.context[e[A].methodName]():e[A].bindingFn&&e[A].bindingFn())}}!r.default.prototype.$isServer&&(0,o.on)(document,"mousedown",(function(e){return l=e})),!r.default.prototype.$isServer&&(0,o.on)(document,"mouseup",(function(e){s.forEach((function(t){return t[A].documentHandler(e,l)}))})),t["default"]={bind:function(e,t,n){s.push(e);var i=c++;e[A]={id:i,documentHandler:u(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[A].documentHandler=u(e,t,n),e[A].methodName=t.expression,e[A].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)});t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var n=new Date(e,t,1),i=n.getDay();return p(n,0===i?7:i)},t.getWeekNumber=function(e){if(!h(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],n=[];if((e||[]).forEach((function(e){var t=e.map((function(e){return e.getHours()}));n=n.concat(l(t[0],t[1]))})),n.length)for(var i=0;i<24;i++)t[i]=-1===n.indexOf(i);else for(var r=0;r<24;r++)t[r]=!1;return t},t.getPrevMonthLastDays=function(e,t){if(t<=0)return[];var n=new Date(e.getTime());n.setDate(0);var i=n.getDate();return m(t).map((function(e,n){return i-(t-n-1)}))},t.getMonthDays=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=t.getDate();return m(n).map((function(e,t){return t+1}))};function g(e,t,n,i){for(var r=t;r0?e.forEach((function(e){var i=e[0],r=e[1],o=i.getHours(),a=i.getMinutes(),s=r.getHours(),A=r.getMinutes();o===t&&s!==t?g(n,a,60,!0):o===t&&s===t?g(n,a,A+1,!0):o!==t&&s===t?g(n,0,A+1,!0):ot&&g(n,0,60,!0)})):g(n,0,60,!0),n};var m=t.range=function(e){return Array.apply(null,{length:e}).map((function(e,t){return t}))},v=t.modifyDate=function(e,t,n,i){return new Date(t,n,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},y=t.modifyTime=function(e,t,n,i){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,n,i,e.getMilliseconds())},b=(t.modifyWithTimeString=function(e,t){return null!=e&&t?(t=d(t,"HH:mm:ss"),y(e,t.getHours(),t.getMinutes(),t.getSeconds())):e},t.clearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.clearMilliseconds=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),0)},t.limitTimeRange=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===t.length)return e;var i=function(e){return r.default.parse(r.default.format(e,n),n)},o=i(e),a=t.map((function(e){return e.map(i)}));if(a.some((function(e){return o>=e[0]&&o<=e[1]})))return e;var s=a[0][0],A=a[0][0];a.forEach((function(e){s=new Date(Math.min(e[0],s)),A=new Date(Math.max(e[1],s))}));var l=o1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return w(e,n-t,i)},t.nextYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return w(e,n+t,i)},t.extractDateFormat=function(e){return e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},t.extractTimeFormat=function(e){return e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},t.validateRangeInOneMonth=function(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}},9992:function(e,t,n){"use strict";var i;n(7658),function(r){var o={},a=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,s="\\d\\d?",A="\\d{3}",l="\\d{4}",c="[^\\s]+",u=/\[([^]*?)\]/gm,h=function(){};function d(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")}function f(e,t){for(var n=[],i=0,r=e.length;i3?0:(e-e%10!==10)*e%10]}};var w={D:function(e){return e.getDay()},DD:function(e){return g(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return g(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return g(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return g(String(e.getFullYear()),4).substr(2)},yyyy:function(e){return g(e.getFullYear(),4)},h:function(e){return e.getHours()%12||12},hh:function(e){return g(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return g(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return g(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return g(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return g(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return g(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+g(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},B={d:[s,function(e,t){e.day=t}],Do:[s+c,function(e,t){e.day=parseInt(t,10)}],M:[s,function(e,t){e.month=t-1}],yy:[s,function(e,t){var n=new Date,i=+(""+n.getFullYear()).substr(0,2);e.year=""+(t>68?i-1:i)+t}],h:[s,function(e,t){e.hour=t}],m:[s,function(e,t){e.minute=t}],s:[s,function(e,t){e.second=t}],yyyy:[l,function(e,t){e.year=t}],S:["\\d",function(e,t){e.millisecond=100*t}],SS:["\\d{2}",function(e,t){e.millisecond=10*t}],SSS:[A,function(e,t){e.millisecond=t}],D:[s,h],ddd:[c,h],MMM:[c,p("monthNamesShort")],MMMM:[c,p("monthNames")],a:[c,function(e,t,n){var i=t.toLowerCase();i===n.amPm[0]?e.isPm=!1:i===n.amPm[1]&&(e.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,t){var n,i=(t+"").match(/([+-]|\d\d)/gi);i&&(n=60*i[1]+parseInt(i[2],10),e.timezoneOffset="+"===i[0]?n:-n)}]};B.dd=B.d,B.dddd=B.ddd,B.DD=B.D,B.mm=B.m,B.hh=B.H=B.HH=B.h,B.MM=B.M,B.ss=B.s,B.A=B.a,o.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(e,t,n){var i=n||o.i18n;if("number"===typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");t=o.masks[t]||t||o.masks["default"];var r=[];return t=t.replace(u,(function(e,t){return r.push(t),"@@@"})),t=t.replace(a,(function(t){return t in w?w[t](e,i):t.slice(1,t.length-1)})),t.replace(/@@@/g,(function(){return r.shift()}))},o.parse=function(e,t,n){var i=n||o.i18n;if("string"!==typeof t)throw new Error("Invalid format in fecha.parse");if(t=o.masks[t]||t,e.length>1e3)return null;var r={},s=[],A=[];t=t.replace(u,(function(e,t){return A.push(t),"@@@"}));var l=d(t).replace(a,(function(e){if(B[e]){var t=B[e];return s.push(t[1]),"("+t[0]+")"}return e}));l=l.replace(/@@@/g,(function(){return A.shift()}));var c=e.match(new RegExp(l,"i"));if(!c)return null;for(var h=1;h-1}function g(e,t){if(e){for(var n=e.className,i=(t||"").split(" "),r=0,o=i.length;ri.top&&n.right>i.left&&n.left + * Copyright JS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(){var o,a="4.17.10",s=200,A="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",c="__lodash_hash_undefined__",u=500,h="__lodash_placeholder__",d=1,f=2,p=4,g=1,m=2,v=1,y=2,b=4,w=8,B=16,C=32,x=64,_=128,S=256,k=512,E=30,F="...",Q=800,U=16,O=1,I=2,D=3,T=1/0,P=9007199254740991,M=17976931348623157e292,H=NaN,L=4294967295,N=L-1,R=L>>>1,j=[["ary",_],["bind",v],["bindKey",y],["curry",w],["curryRight",B],["flip",k],["partial",C],["partialRight",x],["rearg",S]],$="[object Arguments]",V="[object Array]",K="[object AsyncFunction]",z="[object Boolean]",W="[object Date]",G="[object DOMException]",Y="[object Error]",X="[object Function]",J="[object GeneratorFunction]",q="[object Map]",Z="[object Number]",ee="[object Null]",te="[object Object]",ne="[object Promise]",ie="[object Proxy]",re="[object RegExp]",oe="[object Set]",ae="[object String]",se="[object Symbol]",Ae="[object Undefined]",le="[object WeakMap]",ce="[object WeakSet]",ue="[object ArrayBuffer]",he="[object DataView]",de="[object Float32Array]",fe="[object Float64Array]",pe="[object Int8Array]",ge="[object Int16Array]",me="[object Int32Array]",ve="[object Uint8Array]",ye="[object Uint8ClampedArray]",be="[object Uint16Array]",we="[object Uint32Array]",Be=/\b__p \+= '';/g,Ce=/\b(__p \+=) '' \+/g,xe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_e=/&(?:amp|lt|gt|quot|#39);/g,Se=/[&<>"']/g,ke=RegExp(_e.source),Ee=RegExp(Se.source),Fe=/<%-([\s\S]+?)%>/g,Qe=/<%([\s\S]+?)%>/g,Ue=/<%=([\s\S]+?)%>/g,Oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ie=/^\w*$/,De=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Te=/[\\^$.*+?()[\]{}|]/g,Pe=RegExp(Te.source),Me=/^\s+|\s+$/g,He=/^\s+/,Le=/\s+$/,Ne=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Re=/\{\n\/\* \[wrapped with (.+)\] \*/,je=/,? & /,$e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ve=/\\(\\)?/g,Ke=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ge=/^0b[01]+$/i,Ye=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Je=/^(?:0|[1-9]\d*)$/,qe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ze=/($^)/,et=/['\n\r\u2028\u2029\\]/g,tt="\\ud800-\\udfff",nt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",rt="\\u20d0-\\u20ff",ot=nt+it+rt,at="\\u2700-\\u27bf",st="a-z\\xdf-\\xf6\\xf8-\\xff",At="\\xac\\xb1\\xd7\\xf7",lt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ct="\\u2000-\\u206f",ut=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",dt="\\ufe0e\\ufe0f",ft=At+lt+ct+ut,pt="['’]",gt="["+tt+"]",mt="["+ft+"]",vt="["+ot+"]",yt="\\d+",bt="["+at+"]",wt="["+st+"]",Bt="[^"+tt+ft+yt+at+st+ht+"]",Ct="\\ud83c[\\udffb-\\udfff]",xt="(?:"+vt+"|"+Ct+")",_t="[^"+tt+"]",St="(?:\\ud83c[\\udde6-\\uddff]){2}",kt="[\\ud800-\\udbff][\\udc00-\\udfff]",Et="["+ht+"]",Ft="\\u200d",Qt="(?:"+wt+"|"+Bt+")",Ut="(?:"+Et+"|"+Bt+")",Ot="(?:"+pt+"(?:d|ll|m|re|s|t|ve))?",It="(?:"+pt+"(?:D|LL|M|RE|S|T|VE))?",Dt=xt+"?",Tt="["+dt+"]?",Pt="(?:"+Ft+"(?:"+[_t,St,kt].join("|")+")"+Tt+Dt+")*",Mt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ht="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Lt=Tt+Dt+Pt,Nt="(?:"+[bt,St,kt].join("|")+")"+Lt,Rt="(?:"+[_t+vt+"?",vt,St,kt,gt].join("|")+")",jt=RegExp(pt,"g"),$t=RegExp(vt,"g"),Vt=RegExp(Ct+"(?="+Ct+")|"+Rt+Lt,"g"),Kt=RegExp([Et+"?"+wt+"+"+Ot+"(?="+[mt,Et,"$"].join("|")+")",Ut+"+"+It+"(?="+[mt,Et+Qt,"$"].join("|")+")",Et+"?"+Qt+"+"+Ot,Et+"+"+It,Ht,Mt,yt,Nt].join("|"),"g"),zt=RegExp("["+Ft+tt+ot+dt+"]"),Wt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Gt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Yt=-1,Xt={};Xt[de]=Xt[fe]=Xt[pe]=Xt[ge]=Xt[me]=Xt[ve]=Xt[ye]=Xt[be]=Xt[we]=!0,Xt[$]=Xt[V]=Xt[ue]=Xt[z]=Xt[he]=Xt[W]=Xt[Y]=Xt[X]=Xt[q]=Xt[Z]=Xt[te]=Xt[re]=Xt[oe]=Xt[ae]=Xt[le]=!1;var Jt={};Jt[$]=Jt[V]=Jt[ue]=Jt[he]=Jt[z]=Jt[W]=Jt[de]=Jt[fe]=Jt[pe]=Jt[ge]=Jt[me]=Jt[q]=Jt[Z]=Jt[te]=Jt[re]=Jt[oe]=Jt[ae]=Jt[se]=Jt[ve]=Jt[ye]=Jt[be]=Jt[we]=!0,Jt[Y]=Jt[X]=Jt[le]=!1;var qt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Zt={"&":"&","<":"<",">":">",'"':""","'":"'"},en={"&":"&","<":"<",">":">",""":'"',"'":"'"},tn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nn=parseFloat,rn=parseInt,on="object"===("undefined"===typeof n.g?"undefined":r(n.g))&&n.g&&n.g.Object===Object&&n.g,an="object"===("undefined"===typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,sn=on||an||Function("return this")(),An="object"===r(t)&&t&&!t.nodeType&&t,ln=An&&"object"===r(e)&&e&&!e.nodeType&&e,cn=ln&&ln.exports===An,un=cn&&on.process,hn=function(){try{var e=ln&&ln.require&&ln.require("util").types;return e||un&&un.binding&&un.binding("util")}catch(t){}}(),dn=hn&&hn.isArrayBuffer,fn=hn&&hn.isDate,pn=hn&&hn.isMap,gn=hn&&hn.isRegExp,mn=hn&&hn.isSet,vn=hn&&hn.isTypedArray;function yn(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function bn(e,t,n,i){var r=-1,o=null==e?0:e.length;while(++r-1}function Sn(e,t,n){var i=-1,r=null==e?0:e.length;while(++i-1);return n}function qn(e,t){var n=e.length;while(n--&&Mn(t,e[n],0)>-1);return n}function Zn(e,t){var n=e.length,i=0;while(n--)e[n]===t&&++i;return i}var ei=jn(qt),ti=jn(Zt);function ni(e){return"\\"+tn[e]}function ii(e,t){return null==e?o:e[t]}function ri(e){return zt.test(e)}function oi(e){return Wt.test(e)}function ai(e){var t,n=[];while(!(t=e.next()).done)n.push(t.value);return n}function si(e){var t=-1,n=Array(e.size);return e.forEach((function(e,i){n[++t]=[i,e]})),n}function Ai(e,t){return function(n){return e(t(n))}}function li(e,t){var n=-1,i=e.length,r=0,o=[];while(++n-1}function ji(e,t){var n=this.__data__,i=cr(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}function $i(e){var t=-1,n=null==e?0:e.length;this.clear();while(++t=t?e:t)),e}function mr(e,t,n,i,r,a){var s,A=t&d,l=t&f,c=t&p;if(n&&(s=r?n(e,i,r,a):n(e)),s!==o)return s;if(!Cc(e))return e;var u=sc(e);if(u){if(s=ts(e),!A)return ra(e,s)}else{var h=Ja(e),g=h==X||h==J;if(hc(e))return Go(e,A);if(h==te||h==$||g&&!r){if(s=l||g?{}:ns(e),!A)return l?sa(e,dr(s,e)):aa(e,hr(s,e))}else{if(!Jt[h])return r?e:{};s=is(e,h,A)}}a||(a=new qi);var m=a.get(e);if(m)return m;if(a.set(e,s),Pc(e))return e.forEach((function(i){s.add(mr(i,t,n,i,e,a))})),s;if(_c(e))return e.forEach((function(i,r){s.set(r,mr(i,t,n,r,e,a))})),s;var v=c?l?Na:La:l?Bu:wu,y=u?o:v(e);return wn(y||e,(function(i,r){y&&(r=i,i=e[r]),lr(s,r,mr(i,t,n,r,e,a))})),s}function vr(e){var t=wu(e);return function(n){return yr(n,e,t)}}function yr(e,t,n){var i=n.length;if(null==e)return!i;e=it(e);while(i--){var r=n[i],a=t[r],s=e[r];if(s===o&&!(r in e)||!a(s))return!1}return!0}function br(e,t,n){if("function"!==typeof e)throw new at(l);return xs((function(){e.apply(o,n)}),t)}function wr(e,t,n,i){var r=-1,o=_n,a=!0,A=e.length,l=[],c=t.length;if(!A)return l;n&&(t=kn(t,Gn(n))),i?(o=Sn,a=!1):t.length>=s&&(o=Xn,a=!1,t=new Yi(t));e:while(++rr?0:r+n),i=i===o||i>r?r:Wc(i),i<0&&(i+=r),i=n>i?0:Gc(i);while(n0&&n(s)?t>1?Er(s,t-1,n,i,r):En(r,s):i||(r[r.length]=s)}return r}var Fr=ua(),Qr=ua(!0);function Ur(e,t){return e&&Fr(e,t,wu)}function Or(e,t){return e&&Qr(e,t,wu)}function Ir(e,t){return xn(t,(function(t){return bc(e[t])}))}function Dr(e,t){t=Vo(t,e);var n=0,i=t.length;while(null!=e&&nt}function Hr(e,t){return null!=e&&ht.call(e,t)}function Lr(e,t){return null!=e&&t in it(e)}function Nr(e,t,n){return e>=Vt(t,n)&&e=120&&h.length>=120)?new Yi(A&&h):o}h=e[0];var d=-1,f=l[0];e:while(++d-1)s!==e&&St.call(s,A,1),St.call(e,A,1)}return e}function mo(e,t){var n=e?t.length:0,i=n-1;while(n--){var r=t[n];if(n==i||r!==o){var o=r;as(r)?St.call(e,r,1):Po(e,r)}}return e}function vo(e,t){return e+Tt(Wt()*(t-e+1))}function yo(e,t,i,r){var o=-1,a=Rt(Dt((t-e)/(i||1)),0),s=n(a);while(a--)s[r?a:++o]=e,e+=i;return s}function bo(e,t){var n="";if(!e||t<1||t>P)return n;do{t%2&&(n+=e),t=Tt(t/2),t&&(e+=e)}while(t);return n}function wo(e,t){return _s(bs(e,t,Fh),e+"")}function Bo(e){return or(Nu(e))}function Co(e,t){var n=Nu(e);return Es(n,gr(t,0,n.length))}function xo(e,t,n,i){if(!Cc(e))return e;t=Vo(t,e);var r=-1,a=t.length,s=a-1,A=e;while(null!=A&&++ro?0:o+t),i=i>o?o:i,i<0&&(i+=o),o=t>i?0:i-t>>>0,t>>>=0;var a=n(o);while(++r>>1,a=e[o];null!==a&&!Hc(a)&&(n?a<=t:a=s){var c=t?null:Fa(e);if(c)return ui(c);a=!1,r=Xn,l=new Yi}else l=t?[]:A;e:while(++i=i?e:Eo(e,t,n)}var Wo=Ut||function(e){return sn.clearTimeout(e)};function Go(e,t){if(t)return e.slice();var n=e.length,i=Bt?Bt(n):new e.constructor(n);return e.copy(i),i}function Yo(e){var t=new e.constructor(e.byteLength);return new wt(t).set(new wt(e)),t}function Xo(e,t){var n=t?Yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Jo(e){var t=new e.constructor(e.source,ze.exec(e));return t.lastIndex=e.lastIndex,t}function qo(e){return yi?it(yi.call(e)):{}}function Zo(e,t){var n=t?Yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function ea(e,t){if(e!==t){var n=e!==o,i=null===e,r=e===e,a=Hc(e),s=t!==o,A=null===t,l=t===t,c=Hc(t);if(!A&&!c&&!a&&e>t||a&&s&&l&&!A&&!c||i&&s&&l||!n&&l||!r)return 1;if(!i&&!a&&!c&&e=s)return A;var l=n[i];return A*("desc"==l?-1:1)}}return e.index-t.index}function na(e,t,i,r){var o=-1,a=e.length,s=i.length,A=-1,l=t.length,c=Rt(a-s,0),u=n(l+c),h=!r;while(++A1?n[r-1]:o,s=r>2?n[2]:o;a=e.length>3&&"function"===typeof a?(r--,a):o,s&&ss(n[0],n[1],s)&&(a=r<3?o:a,r=1),t=it(t);while(++i-1?r[a?t[s]:s]:o}}function va(e){return Ha((function(t){var n=t.length,i=n,r=Si.prototype.thru;e&&t.reverse();while(i--){var a=t[i];if("function"!==typeof a)throw new at(l);if(r&&!s&&"wrapper"==ja(a))var s=new Si([],!0)}i=s?i:n;while(++i1&&v.reverse(),h&&cA))return!1;var c=a.get(e);if(c&&a.get(t))return c==t;var u=-1,h=!0,d=n&m?new Yi:o;a.set(e,t),a.set(t,e);while(++u1?"& ":"")+t[i],t=t.join(n>2?", ":" "),e.replace(Ne,"{\n/* [wrapped with "+t+"] */\n")}function os(e){return sc(e)||ac(e)||!!(kt&&e&&e[kt])}function as(e,t){var n="undefined"===typeof e?"undefined":r(e);return t=null==t?P:t,!!t&&("number"==n||"symbol"!=n&&Je.test(e))&&e>-1&&e%1==0&&e0){if(++t>=Q)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Es(e,t){var n=-1,i=e.length,r=i-1;t=t===o?i:t;while(++n1?e[t-1]:o;return n="function"===typeof n?(e.pop(),n):o,TA(e,n)}));function VA(e){var t=Ci(e);return t.__chain__=!0,t}function KA(e,t){return t(e),e}function zA(e,t){return t(e)}var WA=Ha((function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,r=function(t){return pr(t,e)};return!(t>1||this.__actions__.length)&&i instanceof ki&&as(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:zA,args:[r],thisArg:o}),new Si(i,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(r)}));function GA(){return VA(this)}function YA(){return new Si(this.value(),this.__chain__)}function XA(){this.__values__===o&&(this.__values__=Kc(this.value()));var e=this.__index__>=this.__values__.length,t=e?o:this.__values__[this.__index__++];return{done:e,value:t}}function JA(){return this}function qA(e){var t,n=this;while(n instanceof _i){var i=Is(n);i.__index__=0,i.__values__=o,t?r.__wrapped__=i:t=i;var r=i;n=n.__wrapped__}return r.__wrapped__=e,t}function ZA(){var e=this.__wrapped__;if(e instanceof ki){var t=e;return this.__actions__.length&&(t=new ki(this)),t=t.reverse(),t.__actions__.push({func:zA,args:[dA],thisArg:o}),new Si(t,this.__chain__)}return this.thru(dA)}function el(){return Lo(this.__wrapped__,this.__actions__)}var tl=Aa((function(e,t,n){ht.call(e,n)?++e[n]:fr(e,n,1)}));function nl(e,t,n){var i=sc(e)?Cn:xr;return n&&ss(e,t,n)&&(t=o),i(e,Va(t,3))}function il(e,t){var n=sc(e)?xn:kr;return n(e,Va(t,3))}var rl=ma(Ks),ol=ma(zs);function al(e,t){return Er(pl(e,t),1)}function sl(e,t){return Er(pl(e,t),T)}function Al(e,t,n){return n=n===o?1:Wc(n),Er(pl(e,t),n)}function ll(e,t){var n=sc(e)?wn:Br;return n(e,Va(t,3))}function cl(e,t){var n=sc(e)?Bn:Cr;return n(e,Va(t,3))}var ul=Aa((function(e,t,n){ht.call(e,n)?e[n].push(t):fr(e,n,[t])}));function hl(e,t,n,i){e=lc(e)?e:Nu(e),n=n&&!i?Wc(n):0;var r=e.length;return n<0&&(n=Rt(r+n,0)),Mc(e)?n<=r&&e.indexOf(t,n)>-1:!!r&&Mn(e,t,n)>-1}var dl=wo((function(e,t,i){var r=-1,o="function"===typeof t,a=lc(e)?n(e.length):[];return Br(e,(function(e){a[++r]=o?yn(t,e,i):$r(e,t,i)})),a})),fl=Aa((function(e,t,n){fr(e,n,t)}));function pl(e,t){var n=sc(e)?kn:oo;return n(e,Va(t,3))}function gl(e,t,n,i){return null==e?[]:(sc(t)||(t=null==t?[]:[t]),n=i?o:n,sc(n)||(n=null==n?[]:[n]),uo(e,t,n))}var ml=Aa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));function vl(e,t,n){var i=sc(e)?Fn:$n,r=arguments.length<3;return i(e,Va(t,4),n,r,Br)}function yl(e,t,n){var i=sc(e)?Qn:$n,r=arguments.length<3;return i(e,Va(t,4),n,r,Cr)}function bl(e,t){var n=sc(e)?xn:kr;return n(e,Nl(Va(t,3)))}function wl(e){var t=sc(e)?or:Bo;return t(e)}function Bl(e,t,n){t=(n?ss(e,t,n):t===o)?1:Wc(t);var i=sc(e)?ar:Co;return i(e,t)}function Cl(e){var t=sc(e)?sr:ko;return t(e)}function xl(e){if(null==e)return 0;if(lc(e))return Mc(e)?pi(e):e.length;var t=Ja(e);return t==q||t==oe?e.size:no(e).length}function _l(e,t,n){var i=sc(e)?Un:Fo;return n&&ss(e,t,n)&&(t=o),i(e,Va(t,3))}var Sl=wo((function(e,t){if(null==e)return[];var n=t.length;return n>1&&ss(e,t[0],t[1])?t=[]:n>2&&ss(t[0],t[1],t[2])&&(t=[t[0]]),uo(e,Er(t,1),[])})),kl=Ot||function(){return sn.Date.now()};function El(e,t){if("function"!==typeof t)throw new at(l);return e=Wc(e),function(){if(--e<1)return t.apply(this,arguments)}}function Fl(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,Ua(e,_,o,o,o,o,t)}function Ql(e,t){var n;if("function"!==typeof t)throw new at(l);return e=Wc(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Ul=wo((function(e,t,n){var i=v;if(n.length){var r=li(n,$a(Ul));i|=C}return Ua(e,i,t,n,r)})),Ol=wo((function(e,t,n){var i=v|y;if(n.length){var r=li(n,$a(Ol));i|=C}return Ua(t,i,e,n,r)}));function Il(e,t,n){t=n?o:t;var i=Ua(e,w,o,o,o,o,o,t);return i.placeholder=Il.placeholder,i}function Dl(e,t,n){t=n?o:t;var i=Ua(e,B,o,o,o,o,o,t);return i.placeholder=Dl.placeholder,i}function Tl(e,t,n){var i,r,a,s,A,c,u=0,h=!1,d=!1,f=!0;if("function"!==typeof e)throw new at(l);function p(t){var n=i,a=r;return i=r=o,u=t,s=e.apply(a,n),s}function g(e){return u=e,A=xs(y,t),h?p(e):s}function m(e){var n=e-c,i=e-u,r=t-n;return d?Vt(r,a-i):r}function v(e){var n=e-c,i=e-u;return c===o||n>=t||n<0||d&&i>=a}function y(){var e=kl();if(v(e))return b(e);A=xs(y,m(e))}function b(e){return A=o,f&&i?p(e):(i=r=o,s)}function w(){A!==o&&Wo(A),u=0,i=c=r=A=o}function B(){return A===o?s:b(kl())}function C(){var e=kl(),n=v(e);if(i=arguments,r=this,c=e,n){if(A===o)return g(c);if(d)return A=xs(y,t),p(c)}return A===o&&(A=xs(y,t)),s}return t=Yc(t)||0,Cc(n)&&(h=!!n.leading,d="maxWait"in n,a=d?Rt(Yc(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),C.cancel=w,C.flush=B,C}var Pl=wo((function(e,t){return br(e,1,t)})),Ml=wo((function(e,t,n){return br(e,Yc(t)||0,n)}));function Hl(e){return Ua(e,k)}function Ll(e,t){if("function"!==typeof e||null!=t&&"function"!==typeof t)throw new at(l);var n=function n(){var i=arguments,r=t?t.apply(this,i):i[0],o=n.cache;if(o.has(r))return o.get(r);var a=e.apply(this,i);return n.cache=o.set(r,a)||o,a};return n.cache=new(Ll.Cache||$i),n}function Nl(e){if("function"!==typeof e)throw new at(l);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Rl(e){return Ql(2,e)}Ll.Cache=$i;var jl=Ko((function(e,t){t=1==t.length&&sc(t[0])?kn(t[0],Gn(Va())):kn(Er(t,1),Gn(Va()));var n=t.length;return wo((function(i){var r=-1,o=Vt(i.length,n);while(++r=t})),ac=Vr(function(){return arguments}())?Vr:function(e){return xc(e)&&ht.call(e,"callee")&&!_t.call(e,"callee")},sc=n.isArray,Ac=dn?Gn(dn):Kr;function lc(e){return null!=e&&Bc(e.length)&&!bc(e)}function cc(e){return xc(e)&&lc(e)}function uc(e){return!0===e||!1===e||xc(e)&&Pr(e)==z}var hc=Mt||Wh,dc=fn?Gn(fn):zr;function fc(e){return xc(e)&&1===e.nodeType&&!Ic(e)}function pc(e){if(null==e)return!0;if(lc(e)&&(sc(e)||"string"===typeof e||"function"===typeof e.splice||hc(e)||Lc(e)||ac(e)))return!e.length;var t=Ja(e);if(t==q||t==oe)return!e.size;if(ds(e))return!no(e).length;for(var n in e)if(ht.call(e,n))return!1;return!0}function gc(e,t){return Wr(e,t)}function mc(e,t,n){n="function"===typeof n?n:o;var i=n?n(e,t):o;return i===o?Wr(e,t,o,n):!!i}function vc(e){if(!xc(e))return!1;var t=Pr(e);return t==Y||t==G||"string"===typeof e.message&&"string"===typeof e.name&&!Ic(e)}function yc(e){return"number"===typeof e&&Ht(e)}function bc(e){if(!Cc(e))return!1;var t=Pr(e);return t==X||t==J||t==K||t==ie}function wc(e){return"number"===typeof e&&e==Wc(e)}function Bc(e){return"number"===typeof e&&e>-1&&e%1==0&&e<=P}function Cc(e){var t="undefined"===typeof e?"undefined":r(e);return null!=e&&("object"==t||"function"==t)}function xc(e){return null!=e&&"object"===("undefined"===typeof e?"undefined":r(e))}var _c=pn?Gn(pn):Yr;function Sc(e,t){return e===t||Xr(e,t,za(t))}function kc(e,t,n){return n="function"===typeof n?n:o,Xr(e,t,za(t),n)}function Ec(e){return Oc(e)&&e!=+e}function Fc(e){if(hs(e))throw new $e(A);return Jr(e)}function Qc(e){return null===e}function Uc(e){return null==e}function Oc(e){return"number"===typeof e||xc(e)&&Pr(e)==Z}function Ic(e){if(!xc(e)||Pr(e)!=te)return!1;var t=Ct(e);if(null===t)return!0;var n=ht.call(t,"constructor")&&t.constructor;return"function"===typeof n&&n instanceof n&&ut.call(n)==gt}var Dc=gn?Gn(gn):qr;function Tc(e){return wc(e)&&e>=-P&&e<=P}var Pc=mn?Gn(mn):Zr;function Mc(e){return"string"===typeof e||!sc(e)&&xc(e)&&Pr(e)==ae}function Hc(e){return"symbol"===("undefined"===typeof e?"undefined":r(e))||xc(e)&&Pr(e)==se}var Lc=vn?Gn(vn):eo;function Nc(e){return e===o}function Rc(e){return xc(e)&&Ja(e)==le}function jc(e){return xc(e)&&Pr(e)==ce}var $c=Sa(ro),Vc=Sa((function(e,t){return e<=t}));function Kc(e){if(!e)return[];if(lc(e))return Mc(e)?gi(e):ra(e);if(Et&&e[Et])return ai(e[Et]());var t=Ja(e),n=t==q?si:t==oe?ui:Nu;return n(e)}function zc(e){if(!e)return 0===e?e:0;if(e=Yc(e),e===T||e===-T){var t=e<0?-1:1;return t*M}return e===e?e:0}function Wc(e){var t=zc(e),n=t%1;return t===t?n?t-n:t:0}function Gc(e){return e?gr(Wc(e),0,L):0}function Yc(e){if("number"===typeof e)return e;if(Hc(e))return H;if(Cc(e)){var t="function"===typeof e.valueOf?e.valueOf():e;e=Cc(t)?t+"":t}if("string"!==typeof e)return 0===e?e:+e;e=e.replace(Me,"");var n=Ge.test(e);return n||Xe.test(e)?rn(e.slice(2),n?2:8):We.test(e)?H:+e}function Xc(e){return oa(e,Bu(e))}function Jc(e){return e?gr(Wc(e),-P,P):0===e?e:0}function qc(e){return null==e?"":Do(e)}var Zc=la((function(e,t){if(ds(t)||lc(t))oa(t,wu(t),e);else for(var n in t)ht.call(t,n)&&lr(e,n,t[n])})),eu=la((function(e,t){oa(t,Bu(t),e)})),tu=la((function(e,t,n,i){oa(t,Bu(t),e,i)})),nu=la((function(e,t,n,i){oa(t,wu(t),e,i)})),iu=Ha(pr);function ru(e,t){var n=xi(e);return null==t?n:hr(n,t)}var ou=wo((function(e,t){e=it(e);var n=-1,i=t.length,r=i>2?t[2]:o;r&&ss(t[0],t[1],r)&&(i=1);while(++n1),t})),oa(e,Na(e),n),i&&(n=mr(n,d|f|p,Da));var r=t.length;while(r--)Po(n,t[r]);return n}));function Eu(e,t){return Qu(e,Nl(Va(t)))}var Fu=Ha((function(e,t){return null==e?{}:ho(e,t)}));function Qu(e,t){if(null==e)return{};var n=kn(Na(e),(function(e){return[e]}));return t=Va(t),fo(e,n,(function(e,n){return t(e,n[0])}))}function Uu(e,t,n){t=Vo(t,e);var i=-1,r=t.length;r||(r=1,e=o);while(++it){var i=e;e=t,t=i}if(n||e%1||t%1){var r=Wt();return Vt(e+r*(t-e+nn("1e-"+((r+"").length-1))),t)}return vo(e,t)}var Ku=fa((function(e,t,n){return t=t.toLowerCase(),e+(n?zu(t):t)}));function zu(e){return yh(qc(e).toLowerCase())}function Wu(e){return e=qc(e),e&&e.replace(qe,ei).replace($t,"")}function Gu(e,t,n){e=qc(e),t=Do(t);var i=e.length;n=n===o?i:gr(Wc(n),0,i);var r=n;return n-=t.length,n>=0&&e.slice(n,r)==t}function Yu(e){return e=qc(e),e&&Ee.test(e)?e.replace(Se,ti):e}function Xu(e){return e=qc(e),e&&Pe.test(e)?e.replace(Te,"\\$&"):e}var Ju=fa((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),qu=fa((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Zu=da("toLowerCase");function eh(e,t,n){e=qc(e),t=Wc(t);var i=t?pi(e):0;if(!t||i>=t)return e;var r=(t-i)/2;return Ca(Tt(r),n)+e+Ca(Dt(r),n)}function th(e,t,n){e=qc(e),t=Wc(t);var i=t?pi(e):0;return t&&i>>0,n?(e=qc(e),e&&("string"===typeof t||null!=t&&!Dc(t))&&(t=Do(t),!t&&ri(e))?zo(gi(e),0,n):e.split(t,n)):[]}var Ah=fa((function(e,t,n){return e+(n?" ":"")+yh(t)}));function lh(e,t,n){return e=qc(e),n=null==n?0:gr(Wc(n),0,e.length),t=Do(t),e.slice(n,n+t.length)==t}function ch(e,t,n){var i=Ci.templateSettings;n&&ss(e,t,n)&&(t=o),e=qc(e),t=tu({},t,i,Oa);var r,a,s=tu({},t.imports,i.imports,Oa),A=wu(s),l=Yn(s,A),c=0,u=t.interpolate||Ze,h="__p += '",d=rt((t.escape||Ze).source+"|"+u.source+"|"+(u===Ue?Ke:Ze).source+"|"+(t.evaluate||Ze).source+"|$","g"),f="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Yt+"]")+"\n";e.replace(d,(function(t,n,i,o,s,A){return i||(i=o),h+=e.slice(c,A).replace(et,ni),n&&(r=!0,h+="' +\n__e("+n+") +\n'"),s&&(a=!0,h+="';\n"+s+";\n__p += '"),i&&(h+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),c=A+t.length,t})),h+="';\n";var p=t.variable;p||(h="with (obj) {\n"+h+"\n}\n"),h=(a?h.replace(Be,""):h).replace(Ce,"$1").replace(xe,"$1;"),h="function("+(p||"obj")+") {\n"+(p?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(r?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=wh((function(){return tt(A,f+"return "+h).apply(o,l)}));if(g.source=h,vc(g))throw g;return g}function uh(e){return qc(e).toLowerCase()}function hh(e){return qc(e).toUpperCase()}function dh(e,t,n){if(e=qc(e),e&&(n||t===o))return e.replace(Me,"");if(!e||!(t=Do(t)))return e;var i=gi(e),r=gi(t),a=Jn(i,r),s=qn(i,r)+1;return zo(i,a,s).join("")}function fh(e,t,n){if(e=qc(e),e&&(n||t===o))return e.replace(Le,"");if(!e||!(t=Do(t)))return e;var i=gi(e),r=qn(i,gi(t))+1;return zo(i,0,r).join("")}function ph(e,t,n){if(e=qc(e),e&&(n||t===o))return e.replace(He,"");if(!e||!(t=Do(t)))return e;var i=gi(e),r=Jn(i,gi(t));return zo(i,r).join("")}function gh(e,t){var n=E,i=F;if(Cc(t)){var r="separator"in t?t.separator:r;n="length"in t?Wc(t.length):n,i="omission"in t?Do(t.omission):i}e=qc(e);var a=e.length;if(ri(e)){var s=gi(e);a=s.length}if(n>=a)return e;var A=n-pi(i);if(A<1)return i;var l=s?zo(s,0,A).join(""):e.slice(0,A);if(r===o)return l+i;if(s&&(A+=l.length-A),Dc(r)){if(e.slice(A).search(r)){var c,u=l;r.global||(r=rt(r.source,qc(ze.exec(r))+"g")),r.lastIndex=0;while(c=r.exec(u))var h=c.index;l=l.slice(0,h===o?A:h)}}else if(e.indexOf(Do(r),A)!=A){var d=l.lastIndexOf(r);d>-1&&(l=l.slice(0,d))}return l+i}function mh(e){return e=qc(e),e&&ke.test(e)?e.replace(_e,mi):e}var vh=fa((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),yh=da("toUpperCase");function bh(e,t,n){return e=qc(e),t=n?o:t,t===o?oi(e)?bi(e):Dn(e):e.match(t)||[]}var wh=wo((function(e,t){try{return yn(e,o,t)}catch(n){return vc(n)?n:new $e(n)}})),Bh=Ha((function(e,t){return wn(t,(function(t){t=Qs(t),fr(e,t,Ul(e[t],e))})),e}));function Ch(e){var t=null==e?0:e.length,n=Va();return e=t?kn(e,(function(e){if("function"!==typeof e[1])throw new at(l);return[n(e[0]),e[1]]})):[],wo((function(n){var i=-1;while(++iP)return[];var n=L,i=Vt(e,L);t=Va(t),e-=L;var r=zn(i,t);while(++n0||t<0)?new ki(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(t=Wc(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},ki.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},ki.prototype.toArray=function(){return this.take(L)},Ur(ki.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),r=Ci[i?"take"+("last"==t?"Right":""):t],a=i||/^find/.test(t);r&&(Ci.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,A=t instanceof ki,l=s[0],c=A||sc(t),u=function(e){var t=r.apply(Ci,En([e],s));return i&&h?t[0]:t};c&&n&&"function"===typeof l&&1!=l.length&&(A=c=!1);var h=this.__chain__,d=!!this.__actions__.length,f=a&&!h,p=A&&!d;if(!a&&c){t=p?t:new ki(this);var g=e.apply(t,s);return g.__actions__.push({func:zA,args:[u],thisArg:o}),new Si(g,h)}return f&&p?e.apply(this,s):(g=this.thru(u),f?i?g.value()[0]:g.value():g)})})),wn(["pop","push","shift","sort","splice","unshift"],(function(e){var t=st[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",i=/^(?:pop|shift)$/.test(e);Ci.prototype[e]=function(){var e=arguments;if(i&&!this.__chain__){var r=this.value();return t.apply(sc(r)?r:[],e)}return this[n]((function(n){return t.apply(sc(n)?n:[],e)}))}})),Ur(ki.prototype,(function(e,t){var n=Ci[t];if(n){var i=n.name+"",r=un[i]||(un[i]=[]);r.push({name:t,func:n})}})),un[ya(o,y).name]=[{name:"wrapper",func:o}],ki.prototype.clone=Ei,ki.prototype.reverse=Fi,ki.prototype.value=Qi,Ci.prototype.at=WA,Ci.prototype.chain=GA,Ci.prototype.commit=YA,Ci.prototype.next=XA,Ci.prototype.plant=qA,Ci.prototype.reverse=ZA,Ci.prototype.toJSON=Ci.prototype.valueOf=Ci.prototype.value=el,Ci.prototype.first=Ci.prototype.head,Et&&(Ci.prototype[Et]=JA),Ci},Bi=wi();"object"===r(n.amdO)&&n.amdO?(sn._=Bi,i=function(){return Bi}.call(t,n,t,e),i===o||(e.exports=i)):ln?((ln.exports=Bi)._=Bi,An._=Bi):sn._=Bi}).call(void 0)},7734:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===a.length)throw"ERROR: the given `parent` doesn't exists!";a=a[0]}return a.length>1&&a instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),a=a[0]),a.appendChild(r),r;function s(e,t){t.forEach((function(t){e.classList.add(t)}))}function A(e,t){t.forEach((function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")}))}},n.prototype._getPosition=function(e,t){var n=A(t);if(this._options.forceAbsolute)return"absolute";var i=c(t,n);return i?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var r={};r.position=this.state.position;var o="fixed"===r.position,a=p(t,A(e),o),s=i(e);return-1!==["right","left"].indexOf(n)?(r.top=a.top+a.height/2-s.height/2,r.left="left"===n?a.left-s.width:a.right):(r.left=a.left+a.width/2-s.width/2,r.top="top"===n?a.top-s.height:a.bottom),r.width=s.width,r.height=s.height,{popper:r,reference:a}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=l(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,i){var r,o,a={};if("window"===i){var s=e.document.body,c=e.document.documentElement;o=Math.max(s.scrollHeight,s.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),r=Math.max(s.scrollWidth,s.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),a={top:0,right:r,bottom:o,left:0}}else if("viewport"===i){var u=A(this._popper),h=l(this._popper),f=d(u),p=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},g=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},m="fixed"===t.offsets.popper.position?0:p(h),v="fixed"===t.offsets.popper.position?0:g(h);a={top:0-(f.top-m),right:e.document.documentElement.clientWidth-(f.left-v),bottom:e.document.documentElement.clientHeight-(f.top-m),left:0-(f.left-v)}}else a=A(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:d(i);return a.left+=n,a.right-=n,a.top=a.top+n,a.bottom=a.bottom-n,a},n.prototype.runModifiers=function(e,t,n){var i=t.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,a(this._options.modifiers,n))),i.forEach(function(t){h(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=a(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter((function(e){return e===t})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},i=Math.round(e.offsets.popper.left),r=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=g("transform"))?(n[t]="translate3d("+i+"px, "+r+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=r),Object.assign(n,e.styles),u(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&u(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var r=e.offsets.reference,a=o(e.offsets.popper),s={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},A=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(a,s[A][i])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=o(e.offsets.popper),i={left:function(){var t=n.left;return n.lefte.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.tope.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach((function(t){e.offsets.popper=Object.assign(n,i[t]())})),e},n.prototype.modifiers.keepTogether=function(e){var t=o(e.offsets.popper),n=e.offsets.reference,i=Math.floor;return t.righti(n.right)&&(e.offsets.popper.left=i(n.right)),t.bottomi(n.bottom)&&(e.offsets.popper.top=i(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=r(t),i=e.placement.split("-")[1]||"",a=[];return a="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,a.forEach(function(s,A){if(t===s&&a.length!==A+1){t=e.placement.split("-")[0],n=r(t);var l=o(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(l[n])||!c&&Math.floor(e.offsets.reference[t])s[d]&&(e.offsets.popper[u]+=A[u]+f-s[d]);var p=A[u]+(n||A[c]/2-f/2),g=p-s[u];return g=Math.max(Math.min(s[c]-f-8,g),8),r[u]=g,r[h]="",e.offsets.arrow=r,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),i):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,i=e.zIndex;if(i&&(A.default.zIndex=i),n&&(this._closing&&(A.default.closeModal(this._popupId),this._closing=!1),A.default.openModal(this._popupId,A.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,u.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,u.getStyle)(document.body,"paddingRight"),10)),f=(0,c.default)();var r=document.documentElement.clientHeight0&&(r||"scroll"===o)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+f+"px"),(0,u.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=A.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){A.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,u.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=A.default},8084:function(e,t,n){"use strict";n(7658),t.__esModule=!0;var i=n(3032),r=a(i),o=n(3766);function a(e){return e&&e.__esModule?e:{default:e}}var s=!1,A=!1,l=void 0,c=function(){if(!r.default.prototype.$isServer){var e=h.modalDom;return e?s=!0:(s=!1,e=document.createElement("div"),h.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){h.doOnModalClick&&h.doOnModalClick()}))),e}},u={},h={modalFade:!0,getInstance:function(e){return u[e]},register:function(e,t){e&&t&&(u[e]=t)},deregister:function(e){e&&(u[e]=null,delete u[e])},nextZIndex:function(){return h.zIndex++},modalStack:[],doOnModalClick:function(){var e=h.modalStack[h.modalStack.length-1];if(e){var t=h.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,a){if(!r.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=a;for(var A=this.modalStack,l=0,u=A.length;l0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var r=i.modalClass.trim().split(/\s+/);r.forEach((function(e){return(0,o.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var a=t.length-1;a>=0;a--)if(t[a].id===e){t.splice(a,1);break}}0===t.length&&(this.modalFade&&(0,o.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",h.modalDom=void 0),(0,o.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(h,"zIndex",{configurable:!0,get:function(){return A||(l=l||(r.default.prototype.$ELEMENT||{}).zIndex||2e3,A=!0),l},set:function(e){l=e}});var d=function(){if(!r.default.prototype.$isServer&&h.modalStack.length>0){var e=h.modalStack[h.modalStack.length-1];if(!e)return;var t=h.getInstance(e.id);return t}};r.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=d();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=h},2740:function(e,t,n){"use strict";n(7658),t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n(566),r=a(i),o=n(9070);function a(e){return e&&e.__esModule?e:{default:e}}var s="undefined"===typeof window,A=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var o=r,a=o.target.__resizeListeners__||[];a.length&&a.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){s||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default((0,o.debounce)(16,A)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4510:function(e,t,n){"use strict";n(7658),t.__esModule=!0,t["default"]=a;var i=n(3032),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!r.default.prototype.$isServer)if(t){var n=[],i=t.offsetParent;while(i&&e!==i&&e.contains(i))n.push(i),i=i.offsetParent;var o=t.offsetTop+n.reduce((function(e,t){return e+t.offsetTop}),0),a=o+t.offsetHeight,s=e.scrollTop,A=s+e.clientHeight;oA&&(e.scrollTop=a-e.clientHeight)}else e.scrollTop=0}},8667:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(r.default.prototype.$isServer)return 0;if(void 0!==a)return a;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),a=t-i,a};var i=n(3032),r=o(i);function o(e){return e&&e.__esModule?e:{default:e}}var a=void 0},6927:function(e,t){"use strict";function n(e){return void 0!==e&&null!==e}function i(e){var t=/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi;return t.test(e)}t.__esModule=!0,t.isDef=n,t.isKorean=i},1639:function(e,t,n){"use strict";n(3408),n(4590),t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=s,t.isObject=A,t.isHtmlElement=l;var r=n(3032),o=a(r);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return"[object String]"===Object.prototype.toString.call(e)}function A(e){return"[object Object]"===Object.prototype.toString.call(e)}function l(e){return e&&e.nodeType===Node.ELEMENT_NODE}var c=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":i(Int8Array))||!o.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=c=function(e){return"function"===typeof e||!1}),t.isFunction=c;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},5402:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=l,t.hasOwn=c,t.toObject=h,t.getPropByPath=d,t.rafThrottle=v,t.objToArray=y;var r=n(3032),o=s(r),a=n(1639);function s(e){return e&&e.__esModule?e:{default:e}}var A=Object.prototype.hasOwnProperty;function l(){}function c(e,t){return A.call(e,t)}function u(e,t){for(var n in t)e[n]=t[n];return e}function h(e){for(var t={},n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var f=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},p=(t.arrayFind=function(e,t){var n=f(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!o.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!o.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!o.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,a.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,a.isObject)(e),i=(0,a.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),g=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var i=document.createElement("div");t&&i.setAttribute(t,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",e.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",A),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},1081:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});n(7658);var i=n(3032);const r=i["default"].prototype.$isServer,o=(r||Number(document.documentMode),function(){return!r&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}());(function(){!r&&document.removeEventListener})();const a=[],s="@@clickoutsideContext";let A,l=0;function c(e,t,n){return function(i={},r={}){!(n&&n.context&&i.target&&r.target)||e.contains(i.target)||e.contains(r.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(t.expression&&e[s].methodName&&n.context[e[s].methodName]?n.context[e[s].methodName]():e[s].bindingFn&&e[s].bindingFn())}}!i["default"].prototype.$isServer&&o(document,"mousedown",(e=>A=e)),!i["default"].prototype.$isServer&&o(document,"mouseup",(e=>{a.forEach((t=>t[s].documentHandler(e,A)))}));var u={bind(e,t,n){a.push(e);const i=l++;e[s]={id:i,documentHandler:c(e,t,n),methodName:t.expression,bindingFn:t.value}},update(e,t,n){e[s].documentHandler=c(e,t,n),e[s].methodName=t.expression,e[s].bindingFn=t.value},unbind(e){let t=a.length;for(let n=0;n1&&"boolean"!==typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===x(/^%?[^%]*%?$/,e))throw new r("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=k(e),i=n.length>0?n[0]:"",o=E("%"+i+"%",t),s=o.name,l=o.value,c=!1,u=o.alias;u&&(i=u[0],w(n,b([0,1],u)));for(var h=1,d=!0;h=n.length){var v=A(l,f);d=!!v,l=d&&"get"in v&&!("originalValue"in v.get)?v.get:l[f]}else d=y(l,f),l=l[f];d&&!c&&(p[s]=l)}}return l}},2763:function(e,t,n){"use strict";var i="undefined"!==typeof Symbol&&Symbol,r=n(3994);e.exports=function(){return"function"===typeof i&&("function"===typeof Symbol&&("symbol"===typeof i("foo")&&("symbol"===typeof Symbol("bar")&&r())))}},3994:function(e){"use strict";e.exports=function(){if("function"!==typeof Symbol||"function"!==typeof Object.getOwnPropertySymbols)return!1;if("symbol"===typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"===typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;var i=42;for(t in e[t]=i,e)return!1;if("function"===typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"===typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"===typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==i||!0!==o.enumerable)return!1}return!0}},5769:function(e,t,n){"use strict";var i=n(9148);e.exports=i.call(Function.call,Object.prototype.hasOwnProperty)},2121:function(e,t,n){n(3408),n(4590),n(7658),function(t,n){e.exports=n()}(0,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=1)}([function(e,t,n){"use strict";function i(e,t,n){for(var i=0;it?t:n,A=o,l=new ArrayBuffer(44+e.byteLength),c=new DataView(l),u=r,h=0;i(c,h,"RIFF"),h+=4,c.setUint32(h,36+e.byteLength,a),i(c,h+=4,"WAVE"),i(c,h+=4,"fmt "),h+=4,c.setUint32(h,16,a),h+=4,c.setUint16(h,1,a),h+=2,c.setUint16(h,u,a),h+=2,c.setUint32(h,s,a),h+=4,c.setUint32(h,u*s*(A/8),a),h+=4,c.setUint16(h,u*(A/8),a),h+=2,c.setUint16(h,A,a),i(c,h+=2,"data"),h+=4,c.setUint32(h,e.byteLength,a),h+=4;for(var d=0;d44&&s.default.play(e.buffer)},t.prototype.getPlayTime=function(){return s.default.getPlayTime()},t.prototype.pausePlay=function(){!this.isrecording&&this.isplaying&&(this.isplaying=!1,this.onpauseplay&&this.onpauseplay(),s.default.pausePlay())},t.prototype.resumePlay=function(){this.isrecording||this.isplaying||(this.isplaying=!0,this.onresumeplay&&this.onresumeplay(),s.default.resumePlay())},t.prototype.stopPlay=function(){this.isrecording||(this.isplaying=!1,this.onstopplay&&this.onstopplay(),s.default.stopPlay())},t.prototype.destroy=function(){return s.default.destroyPlay(),this.destroyRecord()},t.prototype.getRecordAnalyseData=function(){return this.getAnalyseData()},t.prototype.getPlayAnalyseData=function(){return s.default.getAnalyseData()},t.prototype.getPCM=function(){this.stop();var e=this.getData();return e=a.compress(e,this.inputSampleRate,this.outputSampleRate),a.encodePCM(e,this.oututSampleBits,this.littleEdian)},t.prototype.getPCMBlob=function(){return new Blob([this.getPCM()])},t.prototype.downloadPCM=function(e){void 0===e&&(e="recorder");var t=this.getPCMBlob();o.downloadPCM(t,e)},t.prototype.getWAV=function(){var e=this.getPCM();return a.encodeWAV(e,this.inputSampleRate,this.outputSampleRate,this.config.numChannels,this.oututSampleBits,this.littleEdian)},t.prototype.getWAVBlob=function(){return new Blob([this.getWAV()],{type:"audio/wav"})},t.prototype.downloadWAV=function(e){void 0===e&&(e="recorder");var t=this.getWAVBlob();o.downloadWAV(t,e)},t.prototype.download=function(e,t,n){o.download(e,t,n)},t.prototype.getChannelData=function(){var e=this.getPCM(),t=e.byteLength,n=this.littleEdian,i={left:null,right:null};if(2===this.config.numChannels){var r=new DataView(new ArrayBuffer(t/2)),o=new DataView(new ArrayBuffer(t/2));if(16===this.config.sampleBits)for(var a=0;a0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]0&&n.putImageData(t.getHistory()[t.getHistory().length-1].data,0,0),t.setUndoClickNum(t.getUndoClickNum()+1),t.getHistory().length-1<=0&&(t.setUndoClickNum(0),t.setUndoStatus(!1))}function l(e,t,n){void 0===n&&(n=document.body);var i=n.getBoundingClientRect();return{left:e||Math.abs(i.left),top:t||Math.abs(i.top)}}var c,u=!0,h=null,d=!1,f=0,p=0,g=!1,m=null,v={r:0,g:0,b:0,a:.6},y=!0,b="#2CABFF",w=null,B=function(){function e(){d&&(u=!0,f=0,p=0,b="#2CABFF",g=!1,y=!0,h=null,d=!1,m=null,w=null)}return e.prototype.setInitStatus=function(e){d=e},e.prototype.getInitStatus=function(){return d},e.prototype.getWebRtcStatus=function(){return u},e.prototype.setWebRtcStatus=function(e){u=e},e.prototype.setScreenShotDom=function(e){m=e},e.prototype.getCutBoxBdColor=function(){return b},e.prototype.setCutBoxBdColor=function(e){b=e},e.prototype.getScreenShotDom=function(){return m},e.prototype.getScreenFlow=function(){return h},e.prototype.setScreenFlow=function(e){h=e},e.prototype.getCanvasSize=function(){return{canvasWidth:f,canvasHeight:p}},e.prototype.setCanvasSize=function(e,t){f=e,p=t},e.prototype.getShowScreenDataStatus=function(){return g},e.prototype.setShowScreenDataStatus=function(e){g=e},e.prototype.setMaskColor=function(e){v.r=e.r,v.g=e.g,v.b=e.b,v.a=e.a},e.prototype.getMaskColor=function(){return v},e.prototype.setWriteImgState=function(e){y=e},e.prototype.getWriteImgState=function(){return y},e.prototype.setSaveCallback=function(e){w=e},e.prototype.getSaveCallback=function(){return w},e}(),C=!1,x=!1,_=!1,S="#F53340",k="",E=2,F=0,Q=[],U=!1,O={startX:0,startY:0,width:0,height:0},I=null,D=null,T=null,P=null,M=null,H=null,L=null,N=null,R=null,j=null,$=null,V=!1,K=!1,z="",W=!1,G=!1,Y=function(){function e(){K&&(K=!1,I=null,x=!1,D=null,P=null,H=null,M=null,T=null,O={startX:0,startY:0,width:0,height:0},_=!1,W=!1,G=!1,U=!1,S="#F53340",k="",E=2,Q=[],F=0,L=null,N=null,R=null,j=null)}return e.prototype.setInitStatus=function(e){K=e},e.prototype.setScreenShotInfo=function(e,t){this.getScreenShotContainer(),null!=I&&(V&&document.body.classList.add("__screenshot-lock-scroll"),I.width=e,I.height=t)},e.prototype.setScreenShotPosition=function(e,t){if(this.getScreenShotContainer(),null!=I){var n=l(e,t),i=n.left,r=n.top;I.style.left=i+"px",I.style.top=r+"px"}},e.prototype.showScreenShotPanel=function(){this.getScreenShotContainer(),null!=I&&(I.style.display="block")},e.prototype.getScreenShotContainer=function(){return I=document.getElementById("screenShotContainer")},e.prototype.getToolController=function(){return D=document.getElementById("toolPanel")},e.prototype.getCutBoxSizeContainer=function(){return T=document.getElementById("cutBoxSizePanel")},e.prototype.getTextInputController=function(){return P=document.getElementById("textInputPanel")},e.prototype.getTextStatus=function(){return!1},e.prototype.getScreenShotImageController=function(){return $},e.prototype.setScreenShotImageController=function(e){$=e},e.prototype.setToolStatus=function(e){D=this.getToolController(),D.style.display=e?"block":"none"},e.prototype.setCutBoxSizeStatus=function(e){null!=T&&(T.style.display=e?"flex":"none")},e.prototype.setCutBoxSizePosition=function(e,t){if(null!=T){var n=l(e,t),i=n.left,r=n.top;T.style.left=i+"px";var o=0;I&&(o=parseInt(I.style.top)),T.style.top=r+o+"px"}},e.prototype.setTextEditState=function(e){G=e},e.prototype.getTextEditState=function(){return G},e.prototype.setCutBoxSize=function(e,t){if(null!=T){var n=T.childNodes;if(n.length>0)n[0].innerText="".concat(e," * ").concat(t);else{var i=document.createElement("p");i.innerText="".concat(e," * ").concat(t),T.appendChild(i)}}},e.prototype.setTextStatus=function(e){null!=(P=this.getTextInputController())&&(P.style.display=e?"block":"none")},e.prototype.setToolInfo=function(e,t){D=document.getElementById("toolPanel");var n=l(e,t),i=n.left,r=n.top;D.style.left=i+"px";var o=0;I&&(o=parseInt(I.style.top)),D.style.top=r+o+"px"},e.prototype.getToolClickStatus=function(){return _},e.prototype.setToolClickStatus=function(e){_=e},e.prototype.setResetScrollbarState=function(e){W=e},e.prototype.getResetScrollbarState=function(){return W},e.prototype.getCutOutBoxPosition=function(){return O},e.prototype.getDragging=function(){return x},e.prototype.setDragging=function(e){x=e},e.prototype.getDraggingTrim=function(){return C},e.prototype.getToolPositionStatus=function(){return U},e.prototype.setToolPositionStatus=function(e){U=e},e.prototype.setDraggingTrim=function(e){C=e},e.prototype.setCutOutBoxPosition=function(e,t,n,i){O.startX=e,O.startY=t,O.width=n,O.height=i},e.prototype.setOptionStatus=function(e){if(M=this.getOptionIcoController(),H=this.getOptionController(),null!=M&&null!=H){if(e)return M.style.display="block",void(H.style.display="block");M.style.display="none",H.style.display="none"}},e.prototype.hiddenOptionIcoStatus=function(){null!=(M=this.getOptionIcoController())&&(M.style.display="none")},e.prototype.getOptionIcoController=function(){return M=document.getElementById("optionIcoController")},e.prototype.getOptionController=function(){return H=document.getElementById("optionPanel")},e.prototype.setOptionPosition=function(e){if(M=this.getOptionIcoController(),H=this.getOptionController(),null!=M&&null!=H){var t=this.getToolPosition();if(null!=t){var n=t.left+e+"px",i=t.top+44+"px",r=t.left+"px",o=t.top+44+6+"px";M.style.left=n,M.style.top=i,H.style.left=r,H.style.top=o}}},e.prototype.getToolPosition=function(){if(null!=(D=this.getToolController()))return{left:D.offsetLeft,top:D.offsetTop}},e.prototype.getSelectedColor=function(){return S},e.prototype.setSelectedColor=function(e){S=e,null!=(R=this.getColorSelectPanel())&&(R.style.backgroundColor=S)},e.prototype.getColorSelectPanel=function(){return R=document.getElementById("colorSelectPanel")},e.prototype.getToolName=function(){return k},e.prototype.setToolName=function(e){k=e},e.prototype.getPenSize=function(){return E},e.prototype.setPenSize=function(e){E=e},e.prototype.getBorderSize=function(){return 10},e.prototype.getHistory=function(){return Q},e.prototype.shiftHistory=function(){return Q.shift()},e.prototype.popHistory=function(){return Q.pop()},e.prototype.pushHistory=function(e){Q.push(e)},e.prototype.getUndoClickNum=function(){return F},e.prototype.setUndoClickNum=function(e){F=e},e.prototype.getColorPanel=function(){return L=document.getElementById("colorPanel")},e.prototype.setColorPanelStatus=function(e){null!=(L=this.getColorPanel())&&(L.style.display=e?"flex":"none")},e.prototype.getNoScrollStatus=function(){return V},e.prototype.setNoScrollStatus=function(e){null!=e&&(V=e)},e.prototype.setActiveToolName=function(e){z=e},e.prototype.getActiveToolName=function(){return z},e.prototype.setTextInfo=function(e){c=e},e.prototype.getTextInfo=function(){return c},e.prototype.getMaxUndoNum=function(){return 15},e.prototype.getRightPanel=function(){return N=document.getElementById("rightPanel")},e.prototype.setRightPanel=function(e){null!=(N=this.getRightPanel())&&(N.style.display=e?"flex":"none")},e.prototype.setUndoStatus=function(e){if(null!=(j=this.getUndoController())){if(e)return j.classList.add("undo"),j.classList.remove("undo-disabled"),void j.addEventListener("click",this.cancelEvent);j.classList.add("undo-disabled"),j.classList.remove("undo"),j.removeEventListener("click",this.cancelEvent)}},e.prototype.cancelEvent=function(){A()},e.prototype.getUndoController=function(){return j=document.getElementById("undoPanel")},e.prototype.destroyDOM=function(){if(null!=I&&null!=D&&null!=M&&null!=H&&null!=P&&null!=T){var e=new B;V&&document.body.classList.remove("__screenshot-lock-scroll"),document.body.removeChild(I),document.body.removeChild(D),document.body.removeChild(M),document.body.removeChild(H),document.body.removeChild(P),document.body.removeChild(T),W&&(document.documentElement.classList.remove("hidden-screen-shot-scroll"),document.body.classList.remove("hidden-screen-shot-scroll")),e.setInitStatus(!0)}},e}();function X(e,t,n){var i=window.devicePixelRatio||1;e.width=Math.round(t*i),e.height=Math.round(n*i),e.style.width=t+"px",e.style.height=n+"px";var r=e.getContext("2d");return r&&r.scale(i,i),r}function J(e){var t,n=new Y,i=new B,r=null===(t=n.getScreenShotContainer())||void 0===t?void 0:t.getContext("2d"),o=n.getCutOutBoxPosition(),a=o.startX,s=o.startY,A=o.width,l=o.height,c="";return r&&(e?function(e,t,n,i,r){var o=window.devicePixelRatio||1,a=e.getImageData(t*o,n*o,i*o,r*o),s=document.createElement("canvas"),A=X(s,i,r);if(A){A.putImageData(a,0,0);var l=document.createElement("a");l.href=s.toDataURL("png"),l.download="".concat((new Date).getTime(),".png"),l.click()}}(r,a,s,A,l):c=function(e,t,n,i,r,o,a){void 0===o&&(o=.75),void 0===a&&(a=!0);var s=window.devicePixelRatio||1,A=e.getImageData(t*s,n*s,i*s,r*s),l=document.createElement("canvas"),c=X(l,i,r);return c?(c.putImageData(A,0,0),a&&(null==l||l.toBlob((function(e){var t,n;if(null!=e){var i=window.ClipboardItem;if(null==i)return l.toDataURL("png");var r=new i(((t={})[e.type]=e,t));null===(n=navigator.clipboard)||void 0===n||n.write([r]).then((function(){return"写入成功"}))}}),"image/png",o)),l.toDataURL("png")):""}(r,a,s,A,l,.75,i.getWriteImgState())),c}function q(e,t,n,i,r,o,a,s,A){void 0===A&&(A=!0);var l=null==a?void 0:a.width,c=null==a?void 0:a.height,u=window.devicePixelRatio||1,h=new B;if(l&&c&&s&&a){r.clearRect(0,0,l,c),r.save();var d=h.getMaskColor();if(r.fillStyle="rgba(0, 0, 0, .6)",d&&(r.fillStyle="rgba(".concat(d.r,", ").concat(d.g,", ").concat(d.b,", ").concat(d.a,")")),r.fillRect(0,0,l,c),r.globalCompositeOperation="source-atop",r.clearRect(e,t,n,i),r.globalCompositeOperation="source-over",r.fillStyle=h.getCutBoxBdColor(),A){var f=o;r.fillRect(e-f/2,t-f/2,f,f),r.fillRect(e-f/2+n/2,t-f/2,f,f),r.fillRect(e-f/2+n,t-f/2,f,f),r.fillRect(e-f/2,t-f/2+i/2,f,f),r.fillRect(e-f/2+n,t-f/2+i/2,f,f),r.fillRect(e-f/2,t-f/2+i,f,f),r.fillRect(e-f/2+n/2,t-f/2+i,f,f),r.fillRect(e-f/2+n,t-f/2+i,f,f)}r.restore(),r.save(),r.globalCompositeOperation="destination-over";var p={imgWidth:parseInt(null==a?void 0:a.style.width),imgHeight:parseInt(null==a?void 0:a.style.height)},g=p.imgWidth,m=p.imgHeight,v=h.getScreenShotDom();return null!=v&&(g=v.clientWidth,m=v.clientHeight),h.getWebRtcStatus()||null!=v||(g=s.width/u,m=s.height/u),r.drawImage(s,0,0,g,m),r.restore(),n>0&&i>0?{startX:e,startY:t,width:n,height:i}:n<0&&i<0?{startX:e+n,startY:t+i,width:Math.abs(n),height:Math.abs(i)}:n>0&&i<0?{startX:e,startY:t+i,width:n,height:Math.abs(i)}:n<0&&i>0?{startX:e+n,startY:t,width:Math.abs(n),height:i}:{startX:e,startY:t,width:n,height:i}}}function Z(e,t,n,i,r,o){o.save(),o.lineWidth=1,o.fillStyle=i,o.textBaseline="middle",o.font="bold ".concat(r,"px none"),o.fillText(e,t,n),o.restore()}function ee(){var e=new Y,t=e.getScreenShotContainer();if(null!=t){var n=t.getContext("2d"),i=t;e.getHistory().length>e.getMaxUndoNum()&&e.shiftHistory(),e.pushHistory({data:n.getImageData(0,0,i.width,i.height)}),e.setUndoStatus(!0)}}function te(e,t,n){var i=new Y;s(n,t,!0);var r=2;switch(e){case"small":r=2;break;case"medium":r=5;break;case"big":r=10}return i.setPenSize(r),r}function ne(){(new Y).setColorPanelStatus(!0)}var ie=function(){function e(e){if(this.screenShotController=document.createElement("canvas"),this.toolController=document.createElement("div"),this.optionIcoController=document.createElement("div"),this.optionController=document.createElement("div"),this.cutBoxSizeContainer=document.createElement("div"),this.textInputController=document.createElement("div"),this.completeCallback=null==e?void 0:e.completeCallback,this.closeCallback=null==e?void 0:e.closeCallback,this.hiddenIcoArr=[],e&&Object.prototype.hasOwnProperty.call(e,"completeCallback")||(this.completeCallback=function(e){sessionStorage.setItem("screenShotImg",JSON.stringify(e))}),null==e?void 0:e.hiddenToolIco)for(var t in e.hiddenToolIco)e.hiddenToolIco[t]&&this.filterHideIcon(t);this.setAllControllerId(),this.setOptionIcoClassName(),this.toolbar=a,this.setToolBarIco(),this.setBrushSelectPanel(),this.setTextInputPanel(),this.setDomToBody(),this.hiddenAllDom()}return e.prototype.setToolBarIco=function(){for(var e=this,t=function(t){for(var i=n.toolbar[t],r=!1,o=0;o0&&(this.toolController.style.minWidth="24px")},e.prototype.setBrushSelectPanel=function(){var e=document.createElement("div");e.className="brush-select-panel";for(var t=0;t<3;t++){var n=document.createElement("div");switch(n.className="item-panel",t){case 0:n.classList.add("brush-small"),n.classList.add("brush-small-active"),n.addEventListener("click",(function(e){te("small",1,e)}));break;case 1:n.classList.add("brush-medium"),n.addEventListener("click",(function(e){te("medium",2,e)}));break;case 2:n.classList.add("brush-big"),n.addEventListener("click",(function(e){te("big",3,e)}))}e.appendChild(n)}var i=document.createElement("div");i.className="right-panel";var r=document.createElement("div");r.className="color-select-panel",r.id="colorSelectPanel",r.addEventListener("click",(function(){ne()}));var o=document.createElement("div");o.id="colorPanel",o.className="color-panel",o.style.display="none";var a=function(e){var t=document.createElement("div");t.className="color-item",t.addEventListener("click",(function(){!function(e){var t=new Y,n="#F53440";switch(e){case 1:n="#F53440";break;case 2:n="#F65E95";break;case 3:n="#D254CF";break;case 4:n="#12A9D7";break;case 5:n="#30A345";break;case 6:n="#FACF50";break;case 7:n="#F66632";break;case 8:n="#989998";break;case 9:n="#000000";break;case 10:n="#FEFFFF"}t.setSelectedColor(n),t.setColorPanelStatus(!1)}(e+1)})),t.setAttribute("data-index",e+""),o.appendChild(t)};for(t=0;t<10;t++)a(t);i.appendChild(o),i.appendChild(r),i.id="rightPanel";var s=document.createElement("div");s.className="pull-down-arrow",s.addEventListener("click",(function(){ne()})),i.appendChild(s),this.optionController.appendChild(e),this.optionController.appendChild(i)},e.prototype.setTextInputPanel=function(){this.textInputController.contentEditable="true",this.textInputController.spellcheck=!1},e.prototype.setAllControllerId=function(){this.screenShotController.id="screenShotContainer",this.toolController.id="toolPanel",this.optionIcoController.id="optionIcoController",this.optionController.id="optionPanel",this.cutBoxSizeContainer.id="cutBoxSizePanel",this.textInputController.id="textInputPanel"},e.prototype.hiddenAllDom=function(){this.screenShotController.style.display="none",this.toolController.style.display="none",this.optionIcoController.style.display="none",this.optionController.style.display="none",this.cutBoxSizeContainer.style.display="none",this.textInputController.style.display="none"},e.prototype.setDomToBody=function(){document.body.appendChild(this.screenShotController),document.body.appendChild(this.toolController),document.body.appendChild(this.optionIcoController),document.body.appendChild(this.optionController),document.body.appendChild(this.cutBoxSizeContainer),document.body.appendChild(this.textInputController)},e.prototype.setOptionIcoClassName=function(){this.optionIcoController.className="ico-panel"},e.prototype.filterHideIcon=function(e){"rightTop"===e?this.hiddenIcoArr.push("right-top"):this.hiddenIcoArr.push(e)},e}();function re(e){return e>0?e:0}function oe(e,t,n){return re(e)+t>n?re(n-t):re(e)}!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&i.firstChild?i.insertBefore(r,i.firstChild):i.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}('#screenShotContainer{cursor:crosshair;left:0;position:absolute;top:0}#toolPanel{background:#fff;box-sizing:content-box;height:24px;left:0;min-width:392px;padding:10px;position:absolute;top:0;z-index:9999}#toolPanel .item-panel{float:left;height:24px;margin-right:15px;width:24px}#toolPanel .item-panel:last-child{margin-right:0}#toolPanel .square{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAORJREFUaAXtmLENwkAQBA0iI6ULeqAKmqMHCiCmBzrBMdzK+fvlXVsgzUsX3d3u/2z2w8CBAAQgAAEItAmcqn2veld9Nip5yVPezbNrdqemhM5Vz47Z5MilxF5VV1dUNG6uyIJ9ecq7efbN7tQ8dsysNTLr3fOAtS4X0eUBEYyGCAkY8CKrJBDBaIiQgAEvskoCEYyGCAkY8CKrJBDBaIiQgAEvskoCEYyGCAkY8CKrJBDBaIiQgAEvstqTwBhxWiYy633o0H3UjD5at/4flae87aMv7p/9XrdfhwAEIAABCPw1gS8CdEV3aG1wFQAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .square:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAARFJREFUaAXtmLENwkAMRe8QUoTogIoV2AGJjgHoWICRYABm4Dq2oaIkoFSHja6M4lN+FBD5lNj+//x+KjvHHwmQAAmQwJAJeGv55TUuqup1lL5tjHFq9XdR996XohOKYnK4bfy9SXPcVNRaevxKHn+2eruqi5eTJdbJewfpzsPzMbuUJ0ikxbB6qrc1OrIa+vps6t6R420uUCf8S/9xgW+nwQSYAEiAnxAIEB5nAjBCUIAJgADhcSYAIwQFmAAIEB5nAjBCUIAJgADhcSYAIwQFmAAIEB7//wTSoRUm1UYgx9s87opx0ENr3/dR9VRva3FzAT1x65VYBPc5t0rLMKeeyH/O6zn97CEBEiABEhgugTemKDubNjFCTQAAAABJRU5ErkJggg==")}#toolPanel .square-active,#toolPanel .square:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAPJJREFUaAXtmDEOwjAMRRuEVCFWJm7D1r0cgiNxlG7chokVoU4hkTJWcdQfKCovY2x/x+9nctNwIAABCEDgnwk4a/jjzR/G8XUNeZ33fm/l14g7555BZ2jb3eV+co+c5jYXjLH4+PDw3sqrGU+g+tA7yp5z2ptcMMW6gpxPpZi9zQG+9W2mCJT0NgeYEv6lOwZY2g0cwAGRAF9IBCiX44CMUBTAARGgXI4DMkJRAAdEgHI5DsgIRQEcEAHK5TggIxQFcEAEKJev34G0aJVJzREo6V3iwDCneaUas7e5nY4r7rQlXmS9XgkEMhCAAAQgsFICb9uiLZTmm16RAAAAAElFTkSuQmCC")}#toolPanel .round{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAi5JREFUaAXtmL9OwzAYxAsS7cLGwp+dSkh0ZmFgYusjdehD8BIsiBegEkM3xo4siDIjmFjgfk2uA1LSlDhpLXzS1VFj3/n77MR2Op2ElIGUgZSBlIH/nIGdgMF3pXUlDsUz8Tinis4850zlvfggfolbgUP14kZ8F78rkrq0oe3G0JPzWPwU3fEnXY9ERuJU3M/JNf9xjzquT1s00GoVZG4quiO3uu6v0QPq0sbt0WptNAYye8nNn1VeiH8FbdEgEDTPxUZBltz5ia4PArihgZaDaGwkejJhqDGaiHtiKKA1EdHGA6/g4GHDgCEPkfnfHUTT0wmvoGBY/bZh3jYFtEkSXkGnEu9shHlzNA2/nfAMgq5UvEj1gyiWi+BBsvDEuzaupYAgC1Bb8GKHdyl2S+9mN4d5nbsKdUNVsZe9C3WrBMDGDDxmRSu/9rJ3oWmVANhVgtesaOXXXvauZfqh1jwDbMzaAl544l2KKiNggZBnB2sWlfYiiFJUCWCeKxyVKoW9aa+3VbLrBHCySizgfXs5eYXSVQKY5a0vC1XC37CXvWs5bPVCViWy6LcSBBn1Zo4Aot9OE8RY5L0c5YGGAHriVCSIiRjdkVJ9XkylaA/1BAAGooNgOtU5YtLW52A0G/+sIo8FeKg9nZhSUX3YykLIngkebB/2CYST1Ejc+k+L6uMSjAbrhM/NBLKKwT7uetu67E2NC1ZsMs8xMKrP6zViTk1TBlIGUgZSBjacgR/CFam/GpziJgAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .round:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA4hJREFUaAXtWEFrE0EUfrNJTVJBRK1oK6JYEVoQigr1IFKwBxVE0ZP+C6+KB9Gr/0JPFUUQDxaK9GCgSg9SQawI0lalKlKwSUyy4/smOzEEMm+SbJXQncsm+2a+b743b2feG6KkJR5IPJB4IPHAZvaAikv86ILesvqpNFGl8AIpGiFNg/wcNPiaVvj3Cr97m6LgycD+zMzCqPodB3fXAgZm9J6wVLxFOrymibb5TIpJ10gF94NM9vbqhPriM6ZVn44FDL/XmZ8f1m9oUte11ltBwGDzWgWPA6JZSqtllcqs4L2ulgapoodColNKhxdZ6Jjpr9QvRfre9kP9dxcPqxLetds6EmC8Xiw80qTHQahITSkKbn47m33nM4Fdz4pHNIV3ePyVaHw+yOYudbIabQvYPV06Wi1XnzL5PlLqI6Xo6o/J/rzPxJv77Hi+Pk5VekBaH2QnLKXTqXNfJzNvmvu5/rclIPL8HCbPhC+yfbnLy2fUdxeBZBua1juL5cJDxjwNEbwSJ9pZCQ5Xv4aYD2thYyZ/YCA32e3kwQwMYMEhcAw4wOU3KyJvAbUPlmOewwaef31clX1JpH7AAiawWcQ4uKQx1u4VQrWtsrBodpu0OtlpzFvSVk/zTVT0S8W7U5DJDfuEktcKYJ/H5HmZpzZq8hAFbHCAy5wtrZQ2vBcF4ITFIYUx2Cobxm7IzzoHcxpugUUUgPQAJyzH2rzvPi9wOs3gABc4we3szEZRgMltuCNOWAksLrvlstwuXFEAx80IALjjrAsoTludK+J2YcsCkFWicW7jAorVZrkstwNcFhClxDYxc2DFZqpz2XTcgSwLiAbrPiSb/6bVufhUkxhlAShG0IqlvRJYbPa/XJ8lTFkAKik0zuclsNjslstyO4BlAVwGYjyKEQdOrKY6V8TtAhcFoIYFACopF1CcNstluV3YogAU4Pz1rqEMRCXlAovDVqvWaAyc4JYwRQHm9oALcAChDJQAu7XXOZjT5+bCa2vs+XQaeTluD4x3uYZFGditp5vHG0zUx9zA5VMLoK8YQuiEhqsPztXzKMBRwx57xcdNTA1YwIyK+zy4fKG9QsiC9XRRDxFY1lRf6jyvxBJuEQqVwpwpA63CNp8YCwxgARPXKr6hY6naWgE7KFqJ3rzYsiJ6+mrRisCztsX24OVuowj8/l/X683zSP4nHkg8kHgg8cDm8sAfhkzSnCu/+OAAAAAASUVORK5CYII=")}#toolPanel .round-active,#toolPanel .round:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAqJJREFUaAXtWDFLHEEUfrNn3LsIIRYGOcQml8YDu0BKr7BREKzzL2wDFopt/kXqQCBdwDZgKWeTsxE5FRsREr2Eu8l8uzewCLvvzbp7q9xMM3M7b973vjdzM+89It+8B7wHvAe8B6bZA6oo8u2unr0+G3SGNNoiRSukqWn6ZqRfU9+M++bbSY2CbwvL4WG3rf4Wgf1oAguHenE0uN8lPfqoiV5JjDKgt6SCL0FY37vuqEvJmjSZ3ARav3R4c/rnkya1o7WeSwPI+q6U+q1If3799uVB750aZMmmzeUiEHn9/u6rJv0hTbHLd0XqZ1BvbOfZDWcCb34MVof/ht+N8UsuRnKyhsT5zExt42o9POZkk/NOBMaePyraeGsQSJideO+yE4FdzPU486P42BTq+SQuHAMMYCW/Z43FBOI/bDFnPssg/K+AlSWTnBMdofiqvOvlvW2SgJIxbqcgbLQkR0m0A7jnJ2U8CAIrelsEbFkCeGHxSAl0FStiMCNsRitLAOGB9IVlsJymgQlsbhFLIIptOC0lzUuwWQJRYFaSgaxaBIVM4wkgqqyqCbB5AjYkroKEAJsnUIXhFtO8anaY1vMEkIxU1y44aJ4AMqmqmgCbJ2DSwKrsRwrKYbMEkMNySsqal2CzBJCAm4jvtiwj0/QCE9hp8/Y7SyCqHpgE3C6YWG8wJZULlgAMRvUAIe6kjI/D6fqeBE9EAHE5qgcShUXIAEuSCwBLRACCKH2geoBxmQ0YwJJiiAmgboPSBxJvqXJXuXFSv+1SIxITgDHY1tqL2mYZJKATZRXp0bHOEeXEVtj2T6mw5bQDlgC8NN9qrAWK9h9zO0W3jdEBXa6et7bk2gG7GH1csXiGxd0kCYyrKq8/tMP/9h7wHvAe8B6YLg/8B7td+kBEJNs9AAAAAElFTkSuQmCC")}#toolPanel .right-top{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAgNJREFUaAXtmE0rRkEUx6/XsrC1okRPYWWhbCQWFmxsbCyelKysZGFnISWSlJBIkpT0ZO8T2Nmy8QGQkrzn7X8yU9N97h0z923uZE79u3PPPXPmd05zPeN6njPXAdcB1wHXgf/cgQqDxddi7QLULqgJ4xNoFVKyLAqoB0kbJILSuBWqgvz2Cked3xl2Xx32IIa/C3OLEAdu1Mx1qxmfePgpMn7HEM1XtkrlSPXAKYTeqIeXRV6UeSSONAoggH4oahFaBUhqi/2oAxmuId3t1Bt75QQTRCmiIcH1E0mlU8Sd7oppvAN+hks4zvzOkPvc7H/ORz+UOxB/Dx6FMfeJV4rNlW2AhgPOY/zXdprOEz2dZzj8ggAmK2JQiDM6XBLgFwNIwopoDojN3EVbhXd+WbK6v4gnxGZxuJQged6sAL8ijfx9KBZxrhCfasgMsvPOK5/nMYeKuILmIGNGBzgOv2aMIuLCkwL8esQcxqZNYOUvVsCmMYqIC49h3ieD38LV+F8QnTpGBXj6+bcKfgTAHxC9tLu2wQ8D+J3B7+GaxWkWyyRjQ0jzBlHn9yGr4AcA/MLgD2yD7wPwM4M/xDXoYxTc+bQeYPF/Qo4wtgq+G8APEO35Y9vgOwF8z+BLuKbxCRJp07NtpKbO05di6+CpLS3QOFRDN85cB1wHXAdcB1wH8tqBH3D6o7sgJgNQAAAAAElFTkSuQmCC");background-size:cover}#toolPanel .right-top:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAwdJREFUaAXtmD1s00AUx9+7JCgBIdEoNJ1QyoDqAQkJNkCqYGgEMwMDCwsLLOyUAitsMDCzsVUdSghVJTYkmJBI+VhgoOJTgiLH+fA93nNICFHjnGNXMZKfFPt89+z7/d/dO58DkFgSgSQCSQSSCISIAIa4N9StpXXK2m7zELmuRZosjWgxzDQhvs5AdvHTAn426SBt4hTGh0H32U7daiPOAZKFRBYQWj+d+iwAqd6ziYDkgmi+hfYBLp3ptfkUIhWwRKTuVRtl7eqzgMCgxKD2jNc/AwqhBylHxDYCvuXiKxZWA1AbXLlJ5FaR4LgP8z9NkQq4W7Gva4LFDnCnH4a0GXCDo14DxT/NsOlUrTS1692LY9jqp5lZrZeaUoH4q7/erxypACI8ITFm6DWF6nY6Q7WPp7IfEDmmA/Zt4FouXYUWaC4Q8IiY2d85aObv66UQ7osD084T6anN07n328EPewhpbXltCDydzCxSAV/Kux8CKp5ClOJAPiis2ufNMDpempO8U5KcMLNIBUiX38u5W2OL4NXJw0Y1OQGhRPwZAaTsZAWMI6JYoWlOnjyvAD++lnHTGwmDQ+RTqL/PINPJRcebPijLbQDbUQHCkVKpFU7qrZGJ3VuBzBNYnr+jAvY/bh5xdWuN30x7ObGf+YngPVC8RqAHz/Oa3wXLs4XsSd/VSdOcRBSU+QrkuXs3RXwYhC8Vcudk2+CXE90RUGnzt7BgR76dHgbfH6P8o/o1IH2Tu3d5Dl/AbG7FdewtHinnykJuzxKibCiMLNIcMIEXqsGRcBv1G1JPRG+CwMs9kQkwhZdOxfpFMPlVqeMReCrnIBaJgKDwXUARoRRcQgT5+nqZIbzTbTM9h86BceFNAUf5hRIwaXgRN7aAOMCPLSAu8GMJiBN8YAFxgw8kII7wxgLiCm8kIM7wIwXEHd5XwP8ALwJSchi0YrVxuK3b6/KRLR8j3f38oF8crrf9a7HVbl9muNjDDw1g8YlzMF+pXzz6nDJDnZKGJAJJBJIIJBFIIhCDCPwGO3q+e4PmVA0AAAAASUVORK5CYII=")}#toolPanel .right-top-active,#toolPanel .right-top:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjBJREFUaAXtmDlLA0EUgN/brMaINiEqgoIoglEEQf+A4AXWlja2WuRPWPtPBLXywsZSS402NlYeSSPGHJt9zrisSOIeM9llR5wpsuy8zcz3vTmYXQBddAZ0BnQGdAb+cwYwKfmZG+ouPdYn69jMA2EegNgVRsGA/fJq715YrtgFcpfUT9XKFFgGA2SQCBw0TwATDDrVCoqI1dJab6a13uve9ArI1udO3heIcPMLlmXWfquMOG3ZzoWR+xUWfvGLt8YiF6Am7BLQitNRAG0rDbtHouIv1Z5VhmdENmCaBUR4lv07ICYrUFpOF8k0F2Ulkh8BlvryUvpWVgINI9kRcKeOrIQBPXduG2Gu0a+BH70KSyCUn1ZRaP3EKsBduISV7loPtSZIbAHz9mMXGDipz5m1xiEhbgdKoNgWGrsAh2/ajXMiGEYbFoMWtqHSCLjw7NiQZceDg7GBTCFoTYjuQLGNQBt8LrNxvYAN3qGfRMoWn0KRH+b84LmAW7JntWm0rAs2vQZ5HQJWXtcyfWy0hM4fkS7isPAcuH0k6F4UnrcTmYAIPO+YF1eC5f+B7VBHTq3YbyRTSAZeDNP76Y4FkoTnWh0JJA3fkYAK8NICqsBLCagELyygGryQgIrwoQVUhQ8loDJ8oIDq8L4CfwGeC7R9m+SVQ6e1Wcu2Lr5fRn6c53lcpfLrp8WGZe0wSOdNSmF4z0QOnVXHs8cfW/NX1OX5kA7oDOgM6AzoDOgMKJCBTz35SoU1TFsiAAAAAElFTkSuQmCC")}#toolPanel .brush{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAArJJREFUaAXtl7tu1UAURS+IDokkvEOABkENFVADEl+UXwglXb4EiY6UvN+PyzMlFZCCBhpYi3ikKWznWJixI3ykfce58mTWGc/Zx3c2m2LagWkHph2YdmAX78Ap2G+hp2gN7Ue7Ji5D+gP9ynSP6wU0+rgI4U+Uw6fr0SexAvhmA/zokxD+fQX/hHHeksjonsQJYN9VwA8ZF9Fx9Lr6Lu1+PprEKApb+LcV6CPGJZRipyRupBuHGpdZOB2Vx1wfrAFpS+JFzf3FvhLsDfJYeObr4Pn6TzQlsZ5uKD0eY8EEb6M6FAAwiTlKdfCJ6yOBeb3fInwqzmdcR+CFsLA9ZiawiU6j4nGUFV8hIZ6jwygSwj9AzvuIfM0oHj7ul0gIiy8Krysl+A9cn0TFQ3ihE3z07ApvX3CeTW4QeHfa4yKET8BjFAldyb7gPJucnbp4CG+hCuHZ7wKfCtYmZ7MrHrqLFim8rqP7RMJ59gXnDQbv408Q+r0eHok8aT3fTl08hE+PX4gofH7cuiTda4K6Rio8H390B3WlVOget2jS3Npf5JbX5ezmFmuhR2ulP3L+k50y+bWWF3UNXUlrtWC7WCy39xd5m7fZRP16FPALAN9H7mCXNu8x8bg4zw7tMSoeB1jRn3VC+IIVbfMWqIXqPAt3EHh/i96tILq8HQqvRQpvh9Y6B4lLrCrEZxR9L9dS59U8O7RNa7C4zsomcDtIoCtprc6xQxeB38tCTaHzGFvbQ+un8HfQOST8FfQF/fPoIwEtdQMJ7+vFVfQVFYm2BOy6xrftofZTV9pAZ5GvF0XhWW+2z4+G2OkIJfgzzBf+GmpLtmGZv/s6ksAFllhFJpTrPH/rOr5eCL+FRhXr0OgobbJDm9Rg0fYEbkJljexB7m6d7LLf0RTTDkw7MO3Af7oDvwFjWdeSB4jgWgAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .brush:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOFJREFUaAXtmVtzU1UUgNfaSZOckwFKW8ql6DDeRaugCOMDTE5vMuMP4J/4pk/+AB/9J9RSmqI8OCqKBUUEsYNQSymYjvScxKRnudZOT8xkcrJ3GhJ8yOnDydnXb133pQD9p6+Bvgb6GuhroAMNYAd9O+46dImeg2Lpc6JwTBGcTyrn0wcf4GY7Az8zAUbP++9XABYBKBUBo8Jv9ihn5s40bkRlprcyNehG/fCCf6qMcKkeXuahkE5uhMHcCxdoj+28PbfA8EV/jMp4mWmPxEG2Y4meWkDgocxuI/AqcRUBbzYToh1L9EyAkbnNQwyfJ6KXEOHK7lTaUxknx79vtBJi/xeUbVYflfVEAIGnLRT4lxn4+2zWnV72sPDQw1WVdidaCVGh4OMIttm76wKMzNJBCnGBgF7hgPvBAXf67mn8K4IxCQGAH0Ztm727KsC+PB0gCBZY868CwlUH3al7Z/FxI4hBiMuN7eu/uybA6DztD0uBuM1rDP+jk2wOH8HUhKgPbIW/D7iZT6I2zd5dEUDgtyp+FR5gieEn70/ho2YA9WUcrUVA5UsZZ6jljMLc6hl8WN+m8XeysaDTb84ao5Wyzz4Pr/NY1zIZhvfM8EfyNPh3MbjAsXKc8e+kFeRWpp0/TDwJU4N26g98SfvKZT/Pfd5gFV5n+IkVD9dNYzz/Fe194mv4E6z53yADubUp956pn9Q/NQsI/D++vwBUhU+5DH/GDn5z02fNw7uIeJvS4D327OBFgKeylTiUp5FikeEBxnnEnwbQneBd5ZpM0Oo5PEtDATA8wTsMfwsGwHs06d5v1aexrmMLbMNf5IHHWRs/J9uBJ3+eNX+c3eZXVOStT2ZXGgFN3x3FwNg8DRfLvsC/LatpYsCdWJsxa176BaHuV4VPMPxM+/Ai3I5dSMzvA0MQHGPz/6LSjie53KQxDV/R/VhovIngeOtn8U9Tv7j6HQmgfTcyP0MwfM4Gvs7d3mpH6Dh4KW97IZOUpwMv8l3WoA28ZKntQGd4uGFrsVbwUtdWEAu8TnmSNSTwtO+azV9LsQBvSqAnkhwrHj4wwdnUW7uQXilLnDVI5+tbnDVyNoEnK3OZauuDdYq1gZc2VgLULfMn2Hdvc77O2eTrbsNbCSAH7I2KXubfk2WeeJm3WSn1hq66JzrKarouK7NpY2ar9fp2LdeBoa9pdynQ8CdlgyV7FBt4OQeEvCfiReooT3YtlXUnuwEvgsRmITmLYiGY4/28hs/w7tAaXp8D9G50STZ03YIXAWKzUFkF41ChUxwkq+kkejZbWzk+bh9i5AQmhxirrbSA7PSJtUBiSw3KoMQgDH/XNIE+uFOwyBarHh8tDzGmcU31sQIQhloA9v2CaZDarcP2wd0FuxOYaVyb+lgBgKgqALYWQN+0hbiobx34yiTu4G4Ds5M2sTFApPYChIAh1a5AGicYyvuHofTfZZXc99RfmTS278Z3rACAbAHOgxyMTV1I4LEIovkXeW9z5VnAi0JiBeBg1C4kB47hWf+jqkBqkIG5nAaxRMe47iAvbt/tSjvTy6dbu1o3tN9SAEQV8j8emJXOMeg5bQ12qeipGge/3ZVxZuSaMCrv9TvWAkj4GUMqdiH+wwJ/Fzgg+K0KfP3N77BAKWeJ4Z/0Gro/X18DfQ30NfD/0cC/yGVeCCJ5w/QAAAAASUVORK5CYII=")}#toolPanel .brush-active,#toolPanel .brush:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA45JREFUaAXtmFtPE0EUx8/ZFuwuQS5yE9EYjJdoiLeoL2rYUpAPZXwwfgA/DiBQ1BfjXcQbKhoFREQsUXYLpXs8U9xkQzLb2d22+LDtw+zOnDPz+59zdnZagPgTRyCOQByBOAIRIoARfCO7dt2j9oKVv0lEfQxyP6npt75fw/UgE++agO5R62DegSkA6nWBEfFhU0IfmhvENbevXKuVM6jGeGvW6tlwIOuFF+twJi6uFe2x3jvUpLpuzTOwb8I6AJtwl4COyCCDZKKmGSjBF2DKDz5oJmqWgbax9W5ycIrL5Kgs8jv7RSaSqKf9HuyaZKAEX8RsEHg3E1uOfX2nMO991QW0jdB+jvwkl80x78Kq1wRw2c+2qgLas9RFYE9y5I/7QfiNcRnN+I1XTUDHOHU6G7YomxN+AL5jiJ/qjNQNP5uqCBDwxS0rGjzgXCqB/UtX8YefgITfYJixzlHqKBYZHuBkGP9tH4bXoH9xyPhabo6KCiidbQoWv2HhVLmFZeMI+BFS0L+cMeZlNt7+ipWQgN+0rEmgCPCIH4jhV001eCGkIhnozlLbhs3wAH3e6AS55t3mPdSBuZo2FoL4Rc6AgM/nrYlI8ICzqFH/z4Fg8EJopAwcGKd9+UIJ/nSQqHltueZnMUHmylDDordf9Tr0WahnhFotYHiCM6qL7bTjsnmHoJsrw/ht55jqfVLV0Gsn4G2yxrkvCvxbbY9u/jBxyTt30OvAz8Ch+9Rig3WH9/mzQRdz7RHhTSXgxXyBBAj49XWGJzjnwgRtuWZfJ5JG5Mi76yoLOJyl5n/w513nwC3Cq6RmmMsZ/B7YV+Kg9AwI+N95W5RNJPg6NMSPk2UJS6jusruQ+IG9tiXg6UKoFYQTwky9YaTLHczCzO9bQq0PaK/4lyASPMDLasFvx0Yim0+VDVtkT/B5/pLERKV7OpUyBhZNXFExDmMjzUBBs/siwSO80OuMdDXhhWCpgERRaw4TkZIPwnM9aQwsZPBn6DkUHaUCCJ1QAnhXeGZAbeCFRqkA/p8vsAB+wz7V0cjMD+OqYgAjm0nfA0RaC4CjvADDP2loMAa/XMFfyk4VMJRnANUzsFvwQr9UAO9ASiXE5/nHjXuMTK0j7yZPKgBRK1s/DP+oMaUPfjYx505Y61b6DCDhbT77aHwM4C/m+D4H6HCr5VAT906O6vVphv9Ta+h4vTgCcQTiCPw/EfgLJV9RSXPyCEcAAAAASUVORK5CYII=")}#toolPanel .mosaicPen{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAOtJREFUaAXtmckNwjAQRcNSBg3QCkVRIXQBZxogghlxQ7Zl8YKSSG8kX2bx8r4PtmYYNAlIQAJLJXCOjT1jvGYet1j/FKNom6L348zN7xrx3tC1N7GSdwz/I8ahEq+6pyJfXaAzcIm83EvRtkXvipweYG6xVEAFIAGvEASIy1UAI4QTqAAEiMtVACOEE6xegdb58w2eb3Fqf/1XrF4BD0DvF61XAUqQ1qsAJUjrVYASpPUqQAnSehWgBGm9ClCCtH7fmOAesWwuTPEnaCzTFRq7sr6Ssq2T7Z2pPiS/zpOdomx3aRKQgAQWSOANmudym8Lt+O8AAAAASUVORK5CYII=");background-size:cover}#toolPanel .mosaicPen:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAXxJREFUaAXtWU1Kw0AUfm90UeyuIih4Add6ATeinkP0TIrnqOLGC+gtFASxu0o2zpgpSUngvaTtS6YtfFkl37zf78tiZh4RHjAABsDAOhlgLfnBS3btvX8MIRxpNilwJv50O+72+2IwlvLtSmDEiuIPtfVlcGZ6X8a+ZhvoxP/5hxw7ruHFh9pAhfkxDfhucr73IQVowkZP0xDXfy6HZ012TWv7z9O3EOhUs3Hawhxfsfi5f88vrQ2swnzPNdfCtzZQs97ADzSwblGgABQwMoBfyEig2R0KmCk0BoACRgLN7uqBptwKmzN0FGByNRRr3fpfSD3QROLiScpyGClV1NhbRJwyhma79QqgAU3aVDgUSMW0lgcKaMykwqFAKqa1PFBAYyYVDgX6ZHr0+iteqVdzbqwCs+KzcF8tVnpXt9NxMkL5cCHez0uOi2D5vf7sadsSi7GywpkoMPOXaJODagNxrBMnI03DBS1ol3gs3jl302VMxAIDYAAMdMfAP+EdVKaWg/p6AAAAAElFTkSuQmCC")}#toolPanel .mosaicPen-active,#toolPanel .mosaicPen:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAV9JREFUaAXtmU1KBDEQhauiC9GdIih4Add6BhnmHOKhxHOoeAY9hjAgLkfcTGo6Mo2ZpivW2F3GgZdNJ5VKVfK9XuSHCAUEQAAEahJgLfnx0+c0xngnIqeaz1/Ymfg17ISbt6u9+758u33GZFtN/kTr38TOTC+b+K/5Cp3HRbxtbGdr9lVDXcA3ef4gkv2+wVbb++Tg0urb9Tt6nD+L0EXX3rZDW9G/wyavxx2nx7CAcRJ5RcECvMha40IBKykvPyjgRdYaFwpYSXn5QQEvsta4UMBKystP3U6PmfDwYS6/jddspYtl63+hogLpJDXkMDKEfBF71rn1CmABmZpVqlCgCvYsKRTIYFSpQoEq2LOkUCCDUaUKBapgz5L+cwXS1X65qNvp9DJCzeNCup8vh9B7fzqM6CPbnq+rfWHmWWvpftUFpGed9DJSelzoBvNop8mHEK49YiMmCIAACAwnsARsm0C5E2sdIAAAAABJRU5ErkJggg==")}#toolPanel .separateLine{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAAoCAYAAADUgSt0AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABlJREFUeNpi4WUQTWMAAiYGKBhl0IIBEGAA+zwA23Qf36YAAAAASUVORK5CYII=");background-size:cover;width:1px}#toolPanel .text{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAupJREFUaAXtmE2ITlEYx8dn1EiUSYkSKRNRzMpEUayQolgZpXyVBStqdmY1ZDGyIKywsSCFSSE7Y2OiFBuTCPlokPIR/j+et+68zX3Pe+49933vne5T/857znme//M/5z33nHNvS0tp5QyUM1DOwFidgXUa2Edhd1EHeE/C/whDwgShUNYutYivYHOh1EvsKRP/1sr+Ig2gVWKHTfhqld+E38JCoRC2VypZOvdN7Tmrn7B67otBE7zdlK6w+geVU60tt0WniX2jcnJE5QNr3xVpy+XPSyb0WJW6ndb+sKo9V9U2qfku/BLmVimbovp7gWejo6ovN9WjJvBqjKJe678Q09/U5vHK/kJghtcLo9kCNbKdsq3OHM2hmW2blBzxz4VxNYTcNL/DNXya0nXLhB1yZN9ofq6BOmjCdkeXxgwHdXSpbXD4Nqz7uDKxfM7XmfGI+V+r0z9TN7ZHTlgGsLLOTLPkV9lu59UZk5lbl5gRP+CZ4aLF9XjGBXdHOAPo8mReZXFct6NXDk+adO7RSxpLydceKYDB7/ANjPpPjFY8fx8w/36V8z1jcb8hLBP2C5eFhhrbJScqMxgCS5OqT/oPcC3mbs9XB9ZxUmMiZgv8C/uSkvjGcVV4JjDznKxpbLGC4fkiTEtD5BPLZY2kQwIna1q7IwL4Ks9UWj5nPNdlEnKihrCtIoHvSQgyFwcvKrywcJLyAhPCeA5fCQxijS+h7xLYowR8ZbsivPNNFuPPhJy1Ph7mzGySmHlZZ6Y4SUPaHJH9FH4I7EqZGJ9JED+YCfv/fxX+7oz4/32oIgHLKAtbK1L4Xwos06C2RGyQDwutQZlHkj1VlTxbRjanr5024r70VDUZDlqe2zW9PDs5IT8bcbtnrK/7dAV8Ffh6scg3OM6frY2/9W6cQ+D2M5bvZCjeyr19WyhCB89yG8AnlUFedgZE9FjgHGiUXVei1wI33tTGlhZ8W3Oo4oaQ9KrvoC67yxkYWzPwF7rCpZtbo68bAAAAAElFTkSuQmCC");background-size:cover}#toolPanel .text:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOpJREFUaAXtWd1vG0UQ3zk7ju0koCROUkWhUFEqQVB4KH1rKVGIXQlUgSoEDy1qpVI+/4VK+SMQFLUIgQQtEkKt+LLr0FQUeIAi8ZUCUkE0qBWJ46A0sc92zzf87i6Oncj4bs/rB5D9cre3szO/38zuzO5aiPav7YG2B9oe+F96oP+8PtH3aW4pltSPtpKg1jLlZT4O3b2m4ONPMgdaZYdaobhvunifuGXMVnQTicez+7rOVdoqny2JABnlFy2QAL5gg2Vht1UCr+hSHoGBGe42C/nrLMRtAU3ba5qcZBLhgNB2ZPaFr1YMq3oqjwAX8wct8HD/pUwi8rkgPi2YqSzMF1SBrtWjnIDJwgaqkXjVMoRpZD+F4MMjX3Gk1riKd6UEBtL6boAaA+j5oZHIBxbAxUTXt0T0tWDRl79ZeFoF6FodSgmUy1xZrKdmR6m0bojIiQav9693NfuijMBQigfh5QOYNOVOotdrgfWEwu8JElkW/GD/dG5XbV+z78oIGFxAxeUQps9HNxLRP2uB/TFOBcH0pv3NUJtSlRCYYtaY+ZgFkDVtbdHWUhAiGNJOYEUjCPTUSJL7Nvb6bykh8Eoy/xig34nFejU72ZmuB2dhIvwbZFJgECkI/Ug9GT/flBAwyZkW8O9rIIEyUP9XSa0QeB4RU1JEmyYw+FnhbizcOAnSo90RZ57Xxy9ejkc/huw1gN8+lCzG/0VM6nPTBIxbqLCWN4nPzO2hvxtZnyJCsJwMVSazknIbDXHta4rAXTMcxry25zNplYrb2GZHV/gUolBiFo8Op/WtjaXde5sisFJAZUWFhVe/WYx3XXY3J8RfD1EGqfZ9EA8Uy+ZzXsY0kmmKAECsTQOn0jYyVNsXqEbr6Ogsh2r7ZN99E4ilcjuREnehwi71hMNnZAwvxKNfYtz3mEaD83M6qrf/X9DvUBh/yRlLqRWjtK0/XZRTZRqfQMcDprBT8Gm5wVVpX7l46yXuza3qOLSo2R53BINj85OdP1ZheX/zFYH8qn7EBo/pAw/Meze3SZJFL4raFqNsp1RfBx7pCFgVNJbSf8XzHk0T+7Hf/3ATLM9NTLt72TCuoHqvUndkeHE3rXgevCYovYhhdNICj43ZnFNZZU1W5bFv+hngZ6Cvm1fzz1R7vL9JEyDTqaDEdMKqrN5N1ZdEDbd3r5hKvqaQFIHhVP4OZA7sPKkU1MJv1Ick93UsFDmLKNxAQRyNndf3yo0WQopAkRmVkwNWJZ1P0IKssXryF8fJIOaTVh+uYKT3R54J7LzMHbBh33PWVNJ6mKS/4Rx3EmvKwMAncK+0RUaBZwLXsvoBTJ8hKP/BrqQyVlxksxPR60iH57Cr7SgXC8+6iG/o9kwA9z12eDGg7pFxg1Y/jerNxTGZy2BPBIZSxfvhnT3w0k0KR9/xg89tTDYRuYDF/AsK5MiFtL7fTb7S74mAwWuHD6K3M+O0Whms/Ikjqa1TYjG7Eoh9wT3w/kFLMQcDjgHlyB2FtwcjbyEKORY0EZsu7PBixpUA5/KHENYeKL649EjnFS9K/cr8PknLsPWufUQ1vF0GuxNg4dz3cIsW7ya2Aa3DThL4Z+ewl8OOKwFsGUo4fPy0bSBydpOtljQz8dB31u0eEoa+vCya/2vKSmkyaU0Fqync9D08w762+irst3W0PfBf8sA/GcCs3A4F3NoAAAAASUVORK5CYII=")}#toolPanel .text-active,#toolPanel .text:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABFBJREFUaAXtWd1rHFUUv2e/srumSpNNUkrUirSglbwU6UulhriJglRERIVWKmgltiCITxYhhfY/EBWKDwr65ENFhWxTuwU/HsQH8aMqSMFqimmaQtLd+Whm5/ib2S7sTnYyc+/cfajsPOzMPffe3zm/c8+5XytE/+l7oO+Bvgf+lx4YPmtODc3XV4cr9ZO9JJjqGXiD3xYs7hRMrz/LnO6Vnp4QGDpnP8iC93tGM/NgtWI9d1sRIKfxWrvBrsBo9Ogh3bgjVR50LWORBcKn9RAhhlK7lh/P/9kS6XprDyG2jYMdxnuWMlNDuKd0Gd2Oo52Ay2K2XUHrG6SeGv+OC62yrrdWAiML5j4YNiEQMkEDiXnAWLOPBOVJy1oJNBrcTF6ETHfD+M3ucnVpiCJ5wLEKj6675t+CRNaL+TAEytHelani92H1snJtI+Cw9TKyNbeZ8b5x66Q1mbUQmGNOYcGKFd8s3MnxeR6S9XRYey0E3pk3noT37+2WvBsUs0ibwnhjg1xRoIWASyIieTutY0GzGLHQPOlsvXkpMYHRr6z7haBpqNkwdYaqZh4aXbCfCK2XqEhMwFl3Z28lrpRHXXZPSNgZ2lRKaRBlR5Xza7axCN8rJCVxPkM7rpQLl4O4MuVEI3DDsp5XM94zkclyxVsyxnZrm4gAjOjYNndTsJkM24tDu3/F2pHgUSZQqtT34NDyMBLYVdWPmaj47z/WC6r9vX7KBJjF0aZiVsbw+oPE8SaO2q9SEt/zNW+t10wcWvRsj7OZzMRSeeBnFQoZlU5GzXzJN57EdXhgSQXD78NiKxaPbU7D9XKp6zkiClt6BLwVtFQx/8B7ZyolDlybuePzKCVh9cML9gPsOBeJqEaDhe3X9tGNsLZhcun4hdKyZzz2PZePTRe/DAOOI18pD/wG46vAG+Sa8WKcPsE20gTI9YdbENP7c6Q+A7UMwY7oXe8boaQUQlIEtleMuzH7YOdJNzOp/ActI5K8J3KFMxiFK2Cwu3TW3C+LJUXAZn4VvkoTiU+XZuiqrLJu7S9MkoMF7bRX57ryC2NsAnt+4Cx04NQlRDrVHHbvW8fDOTqNnHKA9TTulbbJYMYm8NeK+QzCZwzgP12dLn4roySqLc7Ii5gOP8Oqlm3Y1itR7dvrYxPAfY+/70EHP+naQbR8E/m4CKcjMpfBsQiMVeyH4J1H4KU1yhc/1mJwAGRlpnAeyfw7Fsjx8wvmgUB1aDEWAYebUyfi9KPlSaqFoiWtYPGeDyGRzJEESt/wFnj/oAfMmXRTQVJDQ/rflSl8iFGo48w8VTpn7Qpp1iGOJMB14xCGdQuAL1x/bOBiR2/NhUtlWoWuT+AwEg6OqjGeaAIs/PsezEC9Sd6AkelU1teD/xQOxznsRBLAluEmrgt/uW+kcCagqyfF5encj1gov8CEYa6uiuR/TXlTmsy0poPVHG76Hq2y0lZfh/4+Rt8Dt5MH/gPfHXmcyfgZhQAAAABJRU5ErkJggg==")}#toolPanel .save{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAY9JREFUaAXtWDFKQ0EQDSaNliFl5F9AyBEscgKLHMLGQ9jkCBYeIkUkNxAsLA0eQLAT7bQR8xYZEPmzM7t/d/iaWRgW9r19M/Mm+flkMPDlDrgDNR24gXiIP7u+UHmIauugmrKRsDdgZDSbxifAWmME+ASMjGbT+ARYa4wAn4CR0WwanwBrjRGw1xO4g8n0usztNAcOp/N7IqbuXSbwmposwn+LYNWgKZRfEORi7h6MaKpVKQifFWhgIeSoDl91aOK6enWKBIfgPGQ08Yg7Rwp9E8oJsrwjtN+DD3BnJpUlJDlPaOAiQTeZ2uW/nJWiiXVyRd8X1HXRxyAnzxiXnhCk8Xt/BjbJEf6hKV6npCKRIZzi/BNBOrSHszlzR3NMOiJXTYwoXQIjHdqXEb4GIh2RqyZGlIbAbhGkFd6bRhG+BiItkasmCkrHwLeI8LxvBK4GVtelJmqyFuS01tXlbbRgbflS3kC+d2Vu+gTK+Jiv4hPI967MzdivY3ju9n61fYQ2Pa66z7X12DYv7T87sAMM9Kzb7VMBMwAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .save:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuRJREFUaAXtWE1oE1EQntmkTXYLIok/KEGvQvVWKFgo5JKk9OShmoMepAp6KvTgxf+DFw+CPahIr5FCQT0U2xRK9VIU9VBQ8W6IKEktQjaJJjvOBgNJNtvd7PYFhbewZHfevO+b+Wb2vd0AyEMqIBUQpkBkpbRknsIIGDgoEhwIJoXiM7gimkA0vkxAtMJO+LICTgqJHpcVEK2wE76sgJNCosdlBUQr7IQvK+CkkOjx/74C6FWh6Ir+mohGvc5vnYcI74upoZFWm9trzxUgoB9uSRz9CLcdfWwcvH/QhPAiVGmTP1oiCDhTnNDmbDi6mqPZ0mUy4AEgbA8O4HRXJxdGzy1kYkdX9VNUp6ecQDWAwdHvqcFNF5xwMFs9XqP6W27BMACe3prQFt3M6+bjuYVMsGJCe4aoPOJ2CtWhtnD4HWndSFptsQ1Sf1NtoRE8wryf4E1cXwmYAOqe8Cy3wUcO6FiloN83bTsd5Z+Ve9x2w4j4ObxPm9nJ182Y7wRyJ7E8gME0B1ThwC5ElvUpO+JGy5FxqdFyEEznR1C383Vr952ASfQtGfoASLMNUqTHh9bKRzsDiKzrMTJo/q/9itvnpROn896SgNf/corJoYdchedchb3VX5SZIgo0yW4RKVCFTGPFQljqdcUycezisiTAJJONs8new68K6jS3Rw6Axtaz+s3m1Lls5RoQjfOG9TUU0s437T392sRlTaAn1HbnXAq3MIBneWk0DMKr+7Pl8QOr+hgHf8O0gaKcy8ex0D7L392uJmCGUkiorxSkO1wFhbPI1Ax4wtcB3nDuFhPqmr9wrbN3PQGTIp7UbgPiBu8PMVb/CD8bb06E1etWev8WIQksItbDCGlW/ZO53vOrwpmXcaz5D9eK4P1dyIrVZskntS9sGG4zCrgRUgEBcdpCygRspenTgKxAn4S2pZEVsJWmTwO2+0BkuUR9isEXTbcWeuELUezkfzk2sZlLdKmAjQJ/ANa802uhvjOOAAAAAElFTkSuQmCC")}#toolPanel .save:active{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAmNJREFUaAXtWL9rFEEUft/mcne7AYuY0v8gpDsQ7A7h7oIK6bxCi5AfrZDCLoWFjX+Bhf9BijRB0wixEVOkEIykDTkuGHKbNMkpqJO3p5tsuNnM3OwMKMzBcbPvx/fe+97sG26I/Mcz4BlwxsDk5tlG8nUWgIFLLsFJ0AOn+AweuA7gGt8X4JphFb7vgIoh13rfAdcMq/B9B1QMudb7DrhmWIXvO6BiyLX+v+8ATBm6vXn+SQhx19Q/6wfQTq81UcvKdNfGHRAkTnSDKO0ETpU2OQbGBVAFSwSKc3D1xaDTchkL+g7XLY0LiOtRBwEW/8BBXIfVeMJfH4Hlw/vhvoaH1MS4gASt14jWgeA1kRj9XRLsA3oTz0Zr0sw0hYUKSGKEt6ornMiuZrxLMwB71ano2aXAcFG4gM499MdRanNC33VzYOp/jFGp3a3hXNcnz65wAQnwt2blC0GsDIKke1sW8Ur3/KhV/iwzGVU2tHfTe5y4NfFwVDA+G9b5bJi7yY9n/gbP/Ec32ch0eXkN3wsVuMsJKVzoU7/GZ8QdWRKc/GGlEs3LdEpZTl5WtlAavNNCjDE8IcJvutourE5GJsuC4Gm3juPU3sav1QKShI4b4YcA4iUNxmR6Pggmn171GuF7G0lnMawXkIDXm9EL7sDHQRH8zBNqe6YarmYD21o7KWAN+FUFtZn1r8m8L4/j8VYdP20lncUZfomz2gLrbjM6YPfpAhBark46oBXZkpEvwBKRxjC+A8bUWXL0HbBEpDFM7jkw+e5s9L+JxmmYO8q20FtzOOee/3Juzov3ATwDMgYuAKebdW38MyGrAAAAAElFTkSuQmCC")}#toolPanel .close{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAUJJREFUaAXtmD0KwkAQhdPZWNho4wlEvIKnyDE8k3ewyE08hXaWWuh74MAihvzNbCY6C8MKgdnveybsJkURIxKIBCKBSCAS+JMEZvAsUYsMvnOLNQj/RJ1RS4sF0JMhnVB31BalOpg84a0kCF+9+18xm4TEphYSn/A7rGM2tCWywksqWhKjwGtJjAo/VMIFfF8JV/BdJVzCt5VwDd8kMQn4Ook1LlQo7uDcYU03KfRXGek+cUPHScFLAkxe4B/4vZcLU5jTe57wVgdAkyxSeN7zTN7iAJgFXh7Y9JmwfJ8YJJUmf0EngZemriWa4F1LtIV3KdEV3pVEX3gXEkPhR5XQgh9FQhs+q4QVfBYJa/g6CbXPmAeswAPZtx1WFteaV2gkZ6dSq+kGjY4o9e+VNYBMnvD852NEApFAJBAJRAK/m8ALlHeZDLF6LwcAAAAASUVORK5CYII=");background-size:cover}#toolPanel .close:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAjZJREFUaAXtmN1KAkEUx2d0V3EpCUUQuonozleIQC0Coa7qEXqlLrrpAYIgujEoBIleIKKLPugyNSwNdtGy055kY7VNZ2fPXESzIIoze+b3++/XYRnTm05AJ6AT0AnoBP5DAks3kMyc2FsLNZhT7ZurwYzoGjHRie17Z4N9wEG3Z5/n65AT3S/MPAwpW7WPBj2nna/2CiL7CgukE6lTxtkVA1bo23aNWgLh27f2IQBsMoAOsxJNUoGHIn9JWFZRhYQH7wJX3M+TaRilxxXeEhHgIpP8czB5PAJ4JFAGpUQX89fxfgfBN9aSl974tO/QAliQSiIqPLJICVBIUMBHEogiQQUfWUBGghKeRCCMBDU8mYCIhAp4UoFJEqrgyQWCJHjaWoeOveeOfT+kwtznseakTfo2OqnoyHOC8VfGYNad//WEpYRHBiUCWDh7AfPQca4RHjh/N0yz3CqbdRyj3ISbuTCL4jk/PG2G8BzAGLz1d6kbQGQiFxi/YDF5FQ2gFyipwDg8dpV42qjqYlGC7Brww7tFW4ZhlP0X7MiFTdDFekeARGAavLeYConIAqLwqiQiCYSFVyEhLSALTy0hJRAVnlIitAAVPJVEKAFqeAoJYQFV8FElhARUw/8mkU5ay/g+yhsP+hZqJZ7vnB1354pr++MJG1RU9j98v2Ryq+T1Tt2+szqtlpAAi8fPOGf7JjeK/vZgWnGZ8cY6b2LyLMa3M4upY5kaeh+dgE5AJ6AT0An8mQQ+AcXxBv2nkpz+AAAAAElFTkSuQmCC")}#toolPanel .undo-disabled{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAA/pJREFUaAXtmU9Ik2Ecx93cdJbEDlIQBKvoZOVBbzL8n5jdOowET4HQH8MOXZW6ehHFpAjqErJDR7P8w4QQdhiBhR2izFOHFTRkObO59fmt94Wx+bx73V5lg/eBn8//7+/3/T2/93n2PFZV2cn2gO0B2wO2B0rwgKOEuXlTV1dXT+7s7FxNp9PtSKPD4fCRn5CBlLcob5KvIysej+d1a2trNA/kgA2WEFhaWvKj9wHSh5EuMzZAIsm4eWS8u7v7nZk5+40piQCGn8PgSYD7BRyj/pK9pW2BcqSuru6r1+uNSV8sFvMmEonz9LXQd4WmXspu6SPN1dTUDLe1tX37XzX/t2gCy8vLNzDgKVKPQTFkwul0Tnd0dPw0oz4UCjWkUqk7zB9BvMyPI0NdXV2zZubrYwwJAAymI60P1nM8P0rfQ6nTH8TT94qNZ/luWJlJ8AIa3hgh9UjXVShXElhcXLyEcSEx1OVyzeBZidmqLOP3qA739PTMFFJiph99txg3hVSj1zQJJQGW+GIymfwoygH8hNxnyRuovkTE+ADGvyK3LEHiOmBBpJpwHDATTkoCa2trx6PRaDzbOkh8Z0VO03bbKs9n40tZW4nH6Iq73e7LhT5sZy6AXm9qavpN+Ydel1wzPgn42XA4nNnfs/utKItjwA+iq353d1dCyjApCcgsgPbb1lyAP4jH45/5Hm5SNsQw1K7olE0B3bL99qNDzhhlKqR8PwIZMAw/hTxjOw1HIpFjSg1FdMiOBoEJbaockMpkSAADlQQ0RAmxN83NzX+UGorskDMFEnIw9slWq4IxJKAIIcEK0zfo8/nOsGePUpZdydKkHYhyqrvk95UK3PB3C4Z9ASAzl3KCwiz5NNvbexWgle3oXgDvGnk7+QskLxkS6OzsXCHGp5m1UVtb+9zv9//KQzjEBpwVEQcijSo1hgQASDHxrmryYbfLj8Ht7W3ZDX0qXYbfgGrSUbXrv2RZAeWZU9YEzDiqrAnIHUJIEEJbKjJlTUAuQGI4IbRZkQQwvEUMZwXWK5IAhsvVUwisVBwBuXJidC/GJ+UFwxICgHpUQFa3a/dlufTPG11XTX/EnMiDe3t7H4x+WFlFQnQQ/yMa3rgRrmkCeCQA6AW5gBsBWtGnXfJlC50r9GZkmgCxKJeMOCQC2rXPClvzMARbdIgueSvKG5DTYJoAntgAdEibP6VdwHPgSqtqmJlrpOgqdB8WbaYJyGB5JQB4jGI1ErRyJTSszIuE6DDzIiE2KV8lpFOVst6GZI8uz4ctlfF6Ox4bwPgnxGv5Pi3qxqpyVqJyH3ezSWlPH/J6UFnP69kkpCwH0FH/gyPXBrtue8D2gO0B2wMH8sA/gAT1Qeh5oB4AAAAASUVORK5CYII=");background-size:cover}#toolPanel .undo{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAp1JREFUaAXtmb1LHEEYxs8oiSiIgWDtR2lsJI2FcKRIYZsqoiAIAYs0/gEe2Aip0wqWqfVIbReS1GlSXRMQIwgKgh+QPL+wLyzDLsrM7N0uzgvP7czsvM/7sTuzM3OtVpKUgZSBlIGUgYAMDAXoFqlOqXFFaAvzwrQwISAXQk/4KRwLX4RToRayLC8OhVvh7wNBX3TQHZjMynJXMKdvVD4SPghLAk/kaQbKtHGPPvQ1PThmhL7KO1m7FHDiXOgIL4SHCn3RQRcOuOCMKmVjZEdWMAo+C2TXV9CFw/jgjiILYjkTeOQjOUZz/k5tW7n20CJccBJIlCBeZmQQMnO8EVazNgy9FWILnBZE8Os0LjJ7rHb9nbXFzLybBLixx5gIHtjM0+a8XZn+Pgo2v6sYXWxMMDsFyTdpm+Pu9UT3NoUnQRaKlRnYNjsFfScsE67z+fp3GRsr9iOotSNt7PCx85Y9aeaddcu8YrvCsLeFckW+E3zseGW9p+n3Unadpv5VWBOeCVXKkcixt+Fr5HVGAMmVsC8sCv0SvkHYPvA1yAD9JGwLz31JAvRYOxHAjwCOgary7hPAn4F6EWCclSwBXJdxVDGHl9mqpL3uAUxmUV+URV/3AOYyx3tNDeBV5jir4UKp+xNgCY8c//9t2E+UpYQb86jbUGG9I26m0KDFXN6/dVV+Cd4LqzzZPWVsRFlO5+10VSEjLLGrFlvGYzOazIqJbR5BNGZL6UbPRpsAGrGpd523emOOVczhoqsFYWMiZGCja+88fFHOhIqcdts4I7IxUdujRddpt87AttmJ7LGHZRvITorNCNllSQwo08Y9+tAXHQBH8BmQOLyFow8+OH0/Xi87vPWNhCyvCG2hUX9wyN8kKQMpAykDjzED/wAOt9HUp+PK6gAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .undo:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABOlJREFUaAXtWU2IW1UUPufmZ/KSUcoknYhUqIouHEdcWLqxoDA2E/82goMFdzIgpcWFiriw1YWb2UilDAri30JmIYKlJhkLFQTpQhBGZ+NPZyitNm3mh2knL5kk93jOewam8b6Xl0wYI+TB5L137z0/37nnnXPuGYDBNbDAwAIDCwwssAML4A5o/0WaLtBoXVeeBNCPAeAYAe3n++3uQtpAwGUAWgRQ34VV7JtiBq+5c93/9gTA3rx9SBO9RghZIAoHUgexjgQ5hThzfdL6PhCNYdGOAKTPVe6p1RungOAphzdiDYEKgDgf0vAjKuuP1D5Yl7nSZdhD2r63oeARBnmYADN8j7h0cDaC6lgxYy057x38+AIgIuSLTPxSufILbPEPec0wICuJ6r1YNHb6z8exZFrfOnbneUpVtipHgfQrbIA9LOcmS5ouZeNftK71ezcC2H+eYhtVe5799SH2289jYevklQlcaTIaydtvseC3nXfEuQhax7v1Z/luamTzLtKUy0+dWJ203mnKanc3AkgWygdJ04VtxGuo8MR41JpdqFbedJXHBio6tpJJzG5b1/VjsrD5Mml8n40W4t0MDMIIIP1tdbxWry/w5HXW6Cf2ocOiGb9f5ud9/NTgl6nVyfiXXWtsIBzJl59jd5oTEArwSBB3UgY+0LCiy+44Dq9kExml4Fn20d9c5XkG4eeQUgsm2p2MiUFkV4WHfF/pgn13O35GAKVH8QYTljiOW6PnKF3KJM7ccZf1IFvldd6FDfbXhxsN/ctIrjwzcoH+ifPtRAWbd1ySvysJDjXS7FL+lxGAkLhJB6BOrhUWx3CLt3QmFInfz0Qf8RKO9/Qqrpd/3VuoZP3FdDYrQYEVWJfwLDnGj9oTALvLkhCqOtyyjdcmsFjKJl5SGD7AQhaJIK21/oqjScJPUCdzTkTjsCw0kiD9aD0BILoAOBPcAuAkkUoVNp/RUHuX9+kBlzmtccKq+QnqdE5yCifEmmR3CbVe9N4AgJwdINAOAEk8yYL9xqm8fVFr+Jq3N8OJpyLuRDE8IC7mJaSbcUmITlbn0sStr8xcPOsWRaElDQ12cziYzJc/q1bs5/mjHhI2HJF+Z+Vn48PWx5cO4ZqZdQ9GuSThgPG0WxzCJyaOngD0bUM/4E17k6PBuPyx2po/7DMhUKeLmaF5rxLDJKTbMamn6g4xjnnx8AQgoXQ0V36igTBNqJajGj69mrWWhRGH0l25pBgEXWYnkLLcfO2WLmbpbUbHFin616VylU22tZqNO+7bSuL5Ebcu7Nf3vgYgZwjXcLThZcC+BiAHIFG8WRWYQPQ1AOf05mgt52jz1dcAOAc4Zbw0Aczq84zXxH89LpnfOTfz4V86GF76dARAjppejHo97p6XKcIZP+d3XA0MIJm3X7xRtRf8CqtegXBkyGGfL2m7+PENDICLuikuKe5zDuB+HHsw5x7yOYQinG3XMwoMIBIOHZfWB39YU3IA74GeRhYOb5YhsqRXZFy0bTAwgOJE7CL747TQSvfAOYBvY9SLR+HpdiY49rOsII2uwABEQadLwC0PhhDiCmuulzvhWt7tSEhbJUhHQnTqqpjr+8aWIGt3pfL2ES5zP5DuAZuhv1qL7ZRvzvd9c7epaLv7/7a93gpMEtBu/4OjVYfB+8ACAwsMLDCwQEcW+BshWTaR4gPCwwAAAABJRU5ErkJggg==")}#toolPanel .confirm{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAN5JREFUaAXtmE0KwjAQhXsuvUZBxIU9RN17WZfeQNE3iwEXSqJmknnwAkMaOovvfSn9myYNGZABGZABGZABGagxMKNpX9OYsecEqAfqmhGuxOTwdzQeS83Zzq8AMvMGv6CoBjX862WzUGkHrOBH7ZjMu3l74h180WFubv4CaLv3nhnhjXmHuqGiQzQ3b/A+okOEwkeH6AIfFaIrfOsQQ+BbhRgK/2+IFPC/hkgF/22IlPC1IVLDl0JQwH8KQQX/LgTtB7i/O1H+PfCd2OBg6wvNMiADMiADMiADMkBg4Akg3m3A8SMAAwAAAABJRU5ErkJggg==");background-size:cover}#toolPanel .confirm:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAWBJREFUaAXtmDtOw0AQhmcCDa0xOQycgB4JIRokboCgBlo6JA5AQSoOsFruROlNQ3bZAQWCoyTY+/BG+t1Efmjn+z+vPesQYYMBGIABGIABGICBjQYqbU5qZc7aF47aB0rc9+A3ZN2rZffU5tttHyhtX+AtuQcitsx8VRrfWp5am+tKNa5SZravphdrLy7t5HbD+2mzveYBP9DDIG8bTBuR/9Xx9PQ8140INb/UidnRo7X2pVbNXeoQf5oU8eX78d5z15pLAUZMvtvxzBLdpgwRA35l2ANtTn33+5CHKkWI0GmzEnzxRKoQWeDnQWKHyAofO8Qg8LFCDAofGqII+L4hioLvGqJI+P+GKBp+U4jc8DwH6vMrfcKvOSZEbsevSe79EqT5+QDvubbpyhEUQIothvgu7v89yAQv9YIDyCC/IYhzwkvtaNtYm8PxmzmKNiAGggEYgAEYgAEYgIH0Bj4BteBmoOo+DxkAAAAASUVORK5CYII=")}.__screenshot-lock-scroll{height:100%!important;margin:0;overflow:hidden!important}.ico-panel{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #fff;height:0;left:23px;position:absolute;top:0;transform:rotate(180deg);width:0;z-index:9999}.ico-panel img{height:100%;width:100%}#optionPanel{background:#fff;border-radius:5px;box-sizing:content-box;height:20px;left:0;padding:10px;position:absolute;top:6px;z-index:9999}#optionPanel .brush-select-panel{float:left;height:20px}#optionPanel .brush-select-panel .item-panel{float:left;height:20px;margin-right:18px;width:20px}#optionPanel .brush-select-panel .item-panel:first-child{margin-left:2px}#optionPanel .brush-select-panel .item-panel:last-child{margin-right:0}#optionPanel .brush-select-panel .brush-small{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAKlJREFUeNrs18EKgkAUhWEnwmW1amObHqKeo0ftOfIh3OSmlba0xXSEK4SICAoz4X/gINwL8sE4C533Pok5myTyAAQIECBAgAAB/jdwO/cFO3dsH3v1qmY2LtWHWr/9KyxQOag3Nf2ZnQ17V6vQR3zp4bqktgv+DWYjuxO3eELKkd0zBmCuNgPzxnbBgZXd1kL9WIslbnAbx38xQIAAAQIECBDgqoFfAQYAhLQbgzDvXkAAAAAASUVORK5CYII=");background-size:cover}#optionPanel .brush-select-panel .brush-small-active,#optionPanel .brush-select-panel .brush-small:active,#optionPanel .brush-select-panel .brush-small:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAALhJREFUeNpi/P//P8NgBkwMgxyMOnDUgaMOHHXgqANHHTjqwFEHDm0HslBqAB+jGIhSBeIOIHaBCu8B4gogvv3p/yuKzGektMEKdKA6kDoBxAJoUh+A2ALowJsDHcVtWBzHABVro9RwaoTgRxCFQ/oLMAR5R3MxAbAHj9yuweDAamiGYMCSSaoHgwNvgHIrEK8D4s9QvA4qdmPAM8loVTfqwFEHjjpw1IGjDhx14KgDRx04pB0IEGAAHeMoHW2kl/cAAAAASUVORK5CYII=")}#optionPanel .brush-select-panel .brush-medium{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAS9JREFUeNrs2EsLgkAQB/BWupQQHXpczbp36/EB6ptH1M2D17RLhx6XQG9lszCBxEa5zoTQDPxvjv52RR1UWZbVqlxOreIlQAEKUID/Dqx/e2BL9d4t0MP0IS7kBkkgZ0iMub82XrMjLdBQGjXTdgO6jRlpC2QDiX51ixVkClkacMbNhyywR/0COIGMLfrG2MsK9C1xeaTPBdTHzgkezHmR6zoFd88lAOpzDDmAHuHrzeMA9giBXQ5ggxDY5ADeq/4tTgmvm3IAL4TAEwcwJgTGHMAdTillK8FzsTwkawLgGkcylm+xXnlQAhcU2T3baWYLCS36QuzlmahzpX/mrCAHnPE+zYRXhO1strzMRK0n5D0OEQNIJzdMPEf+CGHWL3klf7cEKEABClCApeohwADD8zb9WRTsHgAAAABJRU5ErkJggg==");background-size:cover}#optionPanel .brush-select-panel .brush-medium-active,#optionPanel .brush-select-panel .brush-medium:active,#optionPanel .brush-select-panel .brush-medium:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAU9JREFUeNpi/P//P8NgBkwMgxyMOnDUgaMOHHXgSHcgC7EK+RjFsAmzAXEAFFsCsRQQ/wLiJ0B8HojXA/FGqBgK+PT/FVH2MhJb1WFxYCAQdwGxCgGtd4C4HIjXkeNAcqKYGYg7oRaqEKEepGYtVA8zzaIYCbQBcRkZ+mB6ymmZSULIdByyI0NI0UBKGgRliLtALENhxnwKxErANPiL2iEYSgXHgYA0EIfRIooDqFi8BdDCgaZUdKAJLRwoQUUHStLCgb8YBgCQ4sDnVLT3OS0ceImKDjxDCwduoKIDN9DCgauhrRRKwVOoWTTJJEVUcGAhEP+kVV0M8nk3BY7rJiX0yG1uVQLxFDL0TYXqpXmT/y8Q50JbJXeIUH8HWo/nQPWSBChpUcOa/KHQ1rUxtCEAywhnoU3+1XRp8o/26kYdOOrAUQeOOnDUgVgBQIABAPYuSgtJpajwAAAAAElFTkSuQmCC")}#optionPanel .brush-select-panel .brush-big{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAaNJREFUeNrcmMFKw0AQhpOqRdGUCloD2lMv1T6B6RMI4sOK4BM0b1Clh56skFahpVaUaln/wBQkzKYmTbJTB75TSPJlN7uzM7ZSypIc9sYIVuxa0nsdUAcuqIIDUKZrczADExCAJ/CW5OFTNUolaIMGaIGThB80BF3QByoPwVPQptFaJ8JR7YDnrAS3gAfOM/69HoEPFusI7oIrcJzTGngB9+AzjWAod5PBlP5lym+jkqsEt8E1qBW0m4Q2d+A7KljS3OAVKGfRuzzuQkmzWpsG9uQmvTtW0KatxFS0yUEr2ChgUcRFlRy0ghcC0m9LJ+hQXjUdYQqtcIJ1QYeYM07QFSTocoKHggSrnOC+IEGHEywLEtyJyySi4rfgXJDXFyf4LkhwxgmOBQmOOcFAkGDACQ4ECQ44wamQURySC7vNPAgQ7MYdt/pUxJiKCTloBRUV1abCj3YduEwSVvw9A3I9bqHqUl2HSsGiYqSbuY0t3JexR62Po5zkXqn18ZG2N7PsMlxaQptH0TrBs7Jpv/mrMte/bGByx/LiWsBSQ7zgjwADAPqYqQ1c9nN+AAAAAElFTkSuQmCC");background-size:cover}#optionPanel .brush-select-panel .brush-big-active,#optionPanel .brush-select-panel .brush-big:active,#optionPanel .brush-select-panel .brush-big:hover{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAhRJREFUeNrUmLtPAkEQh+/UghCxw06JNuCjJURBK+OjsNVEW4KF6P+iYKGF9rYWhmClKKGg8wGNRu2kA4M25PyNGRKFPb0Fjlsm+SKG3MyXLLezs7phGJrK0acpHgP1D0P6sOyzY2AJRMAE8AEPf1cBz+ABZEAKPMkkLxtv33/1+hJbFOwHayAOZuh5i/WoSBYkwSmo2SG4ABIg0OaqFcAOuLAiaOU36AKHIN0BOY1zpDmnq92XxAsuQcyG33+Mc3tbFaQHr0DQxpc0yDW8soJucAb8XdhJ/FzLLSO4B0Jd3O5CXNOSIL2tUQf25CjX/lOQ/t93sHEkeK81FVznruBUBLgRmApuK9B+42aC1FtnFRCkFjouElyW6K12hs6HkCbBsEKnrLBIcEohwUmR4IhCgj6RoEchwcGeOfL/FKwo5PUuEnxVSPBFJHivkOCdSDCjkOC1SDDF05fTYbBLk+AjuFFAMMsuwm3mQAHB5K/G3DAX02HxtkPjZasz8zQN9mZzcY2Haqdit/HWQdRJaOI/cUDumAd6S1MdnWpzXZTLma2cmWAVrIJiF+SKXKsqe7NQAvMgb6NcnmuUWrn6oKBXaQ4c2SBHOSNcQ2tVkOIDbIHFDi15kXNRzk+Z49Z/keaxYIN3e9m2SM9sco605QlK8oZVaxhTV3iZaGMfpTT8XZmPTAU+hJxr7V4B98KJWsn4EmAAKPJ2SXt/mW0AAAAASUVORK5CYII=")}#optionPanel .right-panel{align-items:center;display:flex;float:left;margin-left:39px}#optionPanel .right-panel .color-panel{background:#fff;border:1px solid #e5e6e5;border-radius:5px;display:flex;flex-wrap:wrap;justify-content:center;position:absolute;right:28px;top:-225px;width:72px}#optionPanel .right-panel .color-panel .color-item{height:20px;margin-bottom:5px;width:62px}#optionPanel .right-panel .color-panel .color-item:first-child{background:#f53440;margin-top:5px}#optionPanel .right-panel .color-panel .color-item:nth-child(2){background:#f65e95}#optionPanel .right-panel .color-panel .color-item:nth-child(3){background:#d254cf}#optionPanel .right-panel .color-panel .color-item:nth-child(4){background:#12a9d7}#optionPanel .right-panel .color-panel .color-item:nth-child(5){background:#30a345}#optionPanel .right-panel .color-panel .color-item:nth-child(6){background:#facf50}#optionPanel .right-panel .color-panel .color-item:nth-child(7){background:#f66632}#optionPanel .right-panel .color-panel .color-item:nth-child(8){background:#989998}#optionPanel .right-panel .color-panel .color-item:nth-child(9){background:#000}#optionPanel .right-panel .color-panel .color-item:nth-child(10){background:#feffff;border:1px solid #e5e6e5}#optionPanel .right-panel .color-select-panel{background:#f53340;border:1px solid #e5e6e5;height:20px;width:62px}#optionPanel .right-panel .pull-down-arrow{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAQCAYAAAABOs/SAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAANNJREFUeNq01TEKwjAUxvHXOAhKJ3Fwc9PVzbWipxCdHLyMV9AD6A2EegRdvYBOnd3E70ELIcT2JU0C/1BI4AeB8pKUhlMiOqAtKijuGqEj2ne61D/jY1V2QZ+IaI7maKywrdETzdAVDSKi/Lp3tGP4hRYRcRPlly1Uech4FgG3onygtEvvwDijNxtqwiHxCp3YUBscAm9E/8FtcBFaB/vgYrQJdsGdUAkswZ1RKVyH6+hDivJKMCTa/CY9DV26DBlX2MTJB/WFK/yEvmjjM05/AgwANuZSRB8r5twAAAAASUVORK5CYII=");background-size:cover;height:8px;margin-left:10px;width:15px}#cutBoxSizePanel{align-items:center;background:rgba(0,0,0,.4);border-radius:3px;color:#fff;display:flex;font-size:14px;height:25px;justify-content:center;width:85px}#cutBoxSizePanel,#textInputPanel{left:0;position:absolute;top:0;z-index:9999}#textInputPanel{border:none;box-sizing:border-box;font-weight:700;margin:0;min-height:20px;min-width:20px;outline:none;padding:0}.hidden-screen-shot-scroll{height:100vh;overflow:hidden;width:100vw}');var ae=function(){function e(){this.beginPoint={x:0,y:0},this.stopPoint={x:0,y:0},this.polygonVertex=[],this.angle=0,this.arrowInfo={edgeLen:50,angle:30},this.size=1}return e.prototype.draw=function(e,t,n,i,r,o,a){switch(this.beginPoint.x=t,this.beginPoint.y=n,this.stopPoint.x=i,this.stopPoint.y=r,this.arrowCord(this.beginPoint,this.stopPoint),this.sideCord(),this.drawArrow(e,o),a){case 2:default:this.size=1;break;case 5:this.size=1.3;break;case 10:this.size=1.7}},e.prototype.arrowCord=function(e,t){this.polygonVertex[0]=e.x,this.polygonVertex[1]=e.y,this.polygonVertex[6]=t.x,this.polygonVertex[7]=t.y,this.getRadian(e,t),this.polygonVertex[8]=t.x-this.arrowInfo.edgeLen*Math.cos(Math.PI/180*(this.angle+this.arrowInfo.angle)),this.polygonVertex[9]=t.y-this.arrowInfo.edgeLen*Math.sin(Math.PI/180*(this.angle+this.arrowInfo.angle)),this.polygonVertex[4]=t.x-this.arrowInfo.edgeLen*Math.cos(Math.PI/180*(this.angle-this.arrowInfo.angle)),this.polygonVertex[5]=t.y-this.arrowInfo.edgeLen*Math.sin(Math.PI/180*(this.angle-this.arrowInfo.angle))},e.prototype.getRadian=function(e,t){this.angle=Math.atan2(t.y-e.y,t.x-e.x)/Math.PI*180,this.setArrowInfo(50*this.size,30*this.size),this.dynArrowSize()},e.prototype.sideCord=function(){var e={x:0,y:0};e.x=(this.polygonVertex[4]+this.polygonVertex[8])/2,e.y=(this.polygonVertex[5]+this.polygonVertex[9])/2,this.polygonVertex[2]=(this.polygonVertex[4]+e.x)/2,this.polygonVertex[3]=(this.polygonVertex[5]+e.y)/2,this.polygonVertex[10]=(this.polygonVertex[8]+e.x)/2,this.polygonVertex[11]=(this.polygonVertex[9]+e.y)/2},e.prototype.setArrowInfo=function(e,t){this.arrowInfo.edgeLen=e,this.arrowInfo.angle=t},e.prototype.dynArrowSize=function(){var e=this.stopPoint.x-this.beginPoint.x,t=this.stopPoint.y-this.beginPoint.y,n=Math.sqrt(Math.pow(e,2)+Math.pow(t,2));n<50?this.arrowInfo.edgeLen=n/2:n<250?this.arrowInfo.edgeLen/=2:n<500&&(this.arrowInfo.edgeLen=this.arrowInfo.edgeLen*n/500)},e.prototype.drawArrow=function(e,t){e.fillStyle=t,e.beginPath(),e.moveTo(this.polygonVertex[0],this.polygonVertex[1]),e.lineTo(this.polygonVertex[2],this.polygonVertex[3]),e.lineTo(this.polygonVertex[4],this.polygonVertex[5]),e.lineTo(this.polygonVertex[6],this.polygonVertex[7]),e.lineTo(this.polygonVertex[8],this.polygonVertex[9]),e.lineTo(this.polygonVertex[10],this.polygonVertex[11]),e.closePath(),e.fill()},e}(),se=function(e,t,n){var i=e.width,r=e.data,o=[];return o[0]=r[4*(n*i+t)],o[1]=r[4*(n*i+t)+1],o[2]=r[4*(n*i+t)+2],o[3]=r[4*(n*i+t)+3],o},Ae=function(e,t,n,i){var r=e.width,o=e.data;o[4*(n*r+t)]=i[0],o[4*(n*r+t)+1]=i[1],o[4*(n*r+t)+2]=i[2],o[4*(n*r+t)+3]=i[3]};function le(e,t){var n=t.startX,i=t.startY,r=t.width,o=t.height,a=e/2,s=[];return s[0]={x:n+a,y:i+a,width:r-e,height:o-e,index:1,option:1},s[1]={x:n+a,y:i,width:r-e,height:a,index:2,option:2},s[2]={x:n-a+r/2,y:i-a,width:e,height:a,index:2,option:2},s[3]={x:n+a,y:i-a+o,width:r-e,height:a,index:2,option:3},s[4]={x:n-a+r/2,y:i+o,width:e,height:a,index:2,option:3},s[5]={x:n,y:i+a,width:a,height:o-e,index:3,option:4},s[6]={x:n-a,y:i-a+o/2,width:a,height:e,index:3,option:4},s[7]={x:n-a+r,y:i+a,width:a,height:o-e,index:3,option:5},s[8]={x:n+r,y:i-a+o/2,width:a,height:e,index:3,option:5},s[9]={x:n-a,y:i-a,width:e,height:e,index:4,option:6},s[10]={x:n-a+r,y:i-a+o,width:e,height:e,index:4,option:7},s[11]={x:n-a+r,y:i-a,width:e,height:e,index:5,option:8},s[12]={x:n-a,y:i-a+o,width:e,height:e,index:5,option:9},s}"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self&&self;var ce={exports:{}};ce.exports=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};function t(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var n=function(){return n=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=55296&&r<=56319&&n>10),a%1024+56320)),(r+1===n||i.length>16384)&&(o+=String.fromCharCode.apply(String,i),i.length=0)}return o},u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),d=0;d>4,c[A++]=(15&i)<<4|r>>2,c[A++]=(3&r)<<6|63&o;return l},v=function(e){for(var t=e.length,n=[],i=0;i>b,x=(1<>b)+32,S=65536>>w,k=(1<=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>b])<>b)])<>w),t=this.index[t],t+=e>>b&k,t=((t=this.index[t])<T?(r.push(!0),a-=T):r.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(e))return i.push(o),n.push(X);if(a===L||a===K){if(0===o)return i.push(o),n.push(ce);var s=n[o-1];return-1===Ie.indexOf(s)?(i.push(i[o-1]),n.push(s)):(i.push(o),n.push(ce))}return i.push(o),a===ue?n.push("strict"===t?te:me):a===Be||a===le?n.push(ce):a===Ce?e>=131072&&e<=196605||e>=196608&&e<=262141?n.push(me):n.push(ce):void n.push(a)})),[i,n,r]},Me=function(e,t,n,i){var r=i[n];if(Array.isArray(e)?-1!==e.indexOf(r):e===r)for(var o=n;o<=i.length;){if((A=i[++o])===t)return!0;if(A!==V)break}if(r===V)for(o=n;o>0;){var a=i[--o];if(Array.isArray(e)?-1!==e.indexOf(a):e===a)for(var s=n;s<=i.length;){var A;if((A=i[++s])===t)return!0;if(A!==V)break}if(a!==V)break}return!1},He=function(e,t){for(var n=e;n>=0;){var i=t[n];if(i!==V)return i;n--}return 0},Le=function(e,t,n,i,r){if(0===n[i])return Se;var o=i-1;if(Array.isArray(r)&&!0===r[o])return Se;var a=o-1,s=o+1,A=t[o],l=a>=0?t[a]:0,c=t[s];if(A===M&&c===H)return Se;if(-1!==Qe.indexOf(A))return _e;if(-1!==Qe.indexOf(c))return Se;if(-1!==Ue.indexOf(c))return Se;if(He(o,t)===j)return ke;if(Ee.get(e[o])===K)return Se;if((A===he||A===de)&&Ee.get(e[s])===K)return Se;if(A===R||c===R)return Se;if(A===$)return Se;if(-1===[V,W,Y].indexOf(A)&&c===$)return Se;if(-1!==[J,q,Z,re,Ae].indexOf(c))return Se;if(He(o,t)===ne)return Se;if(Me(ie,ne,o,t))return Se;if(Me([J,q],te,o,t))return Se;if(Me(z,z,o,t))return Se;if(A===V)return ke;if(A===ie||c===ie)return Se;if(c===X||A===X)return ke;if(-1!==[W,Y,te].indexOf(c)||A===G)return Se;if(l===ge&&-1!==Te.indexOf(A))return Se;if(A===Ae&&c===ge)return Se;if(c===ee)return Se;if(-1!==Fe.indexOf(c)&&A===oe||-1!==Fe.indexOf(A)&&c===oe)return Se;if(A===se&&-1!==[me,he,de].indexOf(c)||-1!==[me,he,de].indexOf(A)&&c===ae)return Se;if(-1!==Fe.indexOf(A)&&-1!==Oe.indexOf(c)||-1!==Oe.indexOf(A)&&-1!==Fe.indexOf(c))return Se;if(-1!==[se,ae].indexOf(A)&&(c===oe||-1!==[ne,Y].indexOf(c)&&t[s+1]===oe)||-1!==[ne,Y].indexOf(A)&&c===oe||A===oe&&-1!==[oe,Ae,re].indexOf(c))return Se;if(-1!==[oe,Ae,re,J,q].indexOf(c))for(var u=o;u>=0;){if((h=t[u])===oe)return Se;if(-1===[Ae,re].indexOf(h))break;u--}if(-1!==[se,ae].indexOf(c))for(u=-1!==[J,q].indexOf(A)?a:o;u>=0;){var h;if((h=t[u])===oe)return Se;if(-1===[Ae,re].indexOf(h))break;u--}if(ve===A&&-1!==[ve,ye,fe,pe].indexOf(c)||-1!==[ye,fe].indexOf(A)&&-1!==[ye,be].indexOf(c)||-1!==[be,pe].indexOf(A)&&c===be)return Se;if(-1!==De.indexOf(A)&&-1!==[ee,ae].indexOf(c)||-1!==De.indexOf(c)&&A===se)return Se;if(-1!==Fe.indexOf(A)&&-1!==Fe.indexOf(c))return Se;if(A===re&&-1!==Fe.indexOf(c))return Se;if(-1!==Fe.concat(oe).indexOf(A)&&c===ne&&-1===xe.indexOf(e[s])||-1!==Fe.concat(oe).indexOf(c)&&A===q)return Se;if(A===we&&c===we){for(var d=n[o],f=1;d>0&&t[--d]===we;)f++;if(f%2!=0)return Se}return A===he&&c===de?Se:ke},Ne=function(e,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var n=Pe(e,t.lineBreak),i=n[0],r=n[1],o=n[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(r=r.map((function(e){return-1!==[oe,ce,Be].indexOf(e)?me:e})));var a="keep-all"===t.wordBreak?o.map((function(t,n){return t&&e[n]>=19968&&e[n]<=40959})):void 0;return[i,r,a]},Re=function(){function e(e,t,n,i){this.codePoints=e,this.required=t===_e,this.start=n,this.end=i}return e.prototype.slice=function(){return c.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),je=function(e,t){var n=l(e),i=Ne(n,t),r=i[0],o=i[1],a=i[2],s=n.length,A=0,c=0;return{next:function(){if(c>=s)return{done:!0,value:null};for(var e=Se;c=Tt&&e<=57},Wt=function(e){return e>=55296&&e<=57343},Gt=function(e){return zt(e)||e>=Rt&&e<=$t||e>=Pt&&e<=Ht},Yt=function(e){return e>=Pt&&e<=Nt},Xt=function(e){return e>=Rt&&e<=Kt},Jt=function(e){return Yt(e)||Xt(e)},qt=function(e){return e>=bt},Zt=function(e){return e===We||e===Xe||e===Je},en=function(e){return Jt(e)||qt(e)||e===at},tn=function(e){return en(e)||zt(e)||e===st},nn=function(e){return e>=Et&&e<=Ft||e===Qt||e>=Ut&&e<=Ot||e===It},rn=function(e,t){return e===Ye&&t!==We},on=function(e,t,n){return e===st?en(t)||rn(t,n):!!en(e)||!(e!==Ye||!rn(e,t))},an=function(e,t,n){return e===Ct||e===st?!!zt(t)||t===kt&&zt(n):zt(e===kt?t:e)},sn=function(e){var t=0,n=1;e[t]!==Ct&&e[t]!==st||(e[t]===st&&(n=-1),t++);for(var i=[];zt(e[t]);)i.push(e[t++]);var r=i.length?parseInt(c.apply(void 0,i),10):0;e[t]===kt&&t++;for(var o=[];zt(e[t]);)o.push(e[t++]);var a=o.length,s=a?parseInt(c.apply(void 0,o),10):0;e[t]!==jt&&e[t]!==Mt||t++;var A=1;e[t]!==Ct&&e[t]!==st||(e[t]===st&&(A=-1),t++);for(var l=[];zt(e[t]);)l.push(e[t++]);var u=l.length?parseInt(c.apply(void 0,l),10):0;return n*(r+s*Math.pow(10,-a))*Math.pow(10,A*u)},An={type:2},ln={type:3},cn={type:4},un={type:13},hn={type:8},dn={type:21},fn={type:9},pn={type:10},gn={type:11},mn={type:12},vn={type:14},yn={type:23},bn={type:1},wn={type:25},Bn={type:24},Cn={type:26},xn={type:27},_n={type:28},Sn={type:29},kn={type:31},En={type:32},Fn=function(){function e(){this._value=[]}return e.prototype.write=function(e){this._value=this._value.concat(l(e))},e.prototype.read=function(){for(var e=[],t=this.consumeToken();t!==En;)e.push(t),t=this.consumeToken();return e},e.prototype.consumeToken=function(){var e=this.consumeCodePoint();switch(e){case qe:return this.consumeStringToken(qe);case et:var t=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);if(tn(t)||rn(n,i)){var r=on(t,n,i)?Ve:$e;return{type:5,value:this.consumeName(),flags:r}}break;case tt:if(this.peekCodePoint(0)===Ze)return this.consumeCodePoint(),un;break;case it:return this.consumeStringToken(it);case rt:return An;case ot:return ln;case Bt:if(this.peekCodePoint(0)===Ze)return this.consumeCodePoint(),vn;break;case Ct:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case xt:return cn;case st:var o=e,a=this.peekCodePoint(0),s=this.peekCodePoint(1);if(an(o,a,s))return this.reconsumeCodePoint(e),this.consumeNumericToken();if(on(o,a,s))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();if(a===st&&s===ct)return this.consumeCodePoint(),this.consumeCodePoint(),Bn;break;case kt:if(an(e,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(e),this.consumeNumericToken();break;case Ge:if(this.peekCodePoint(0)===Bt)for(this.consumeCodePoint();;){var A=this.consumeCodePoint();if(A===Bt&&(A=this.consumeCodePoint())===Ge)return this.consumeToken();if(A===Dt)return this.consumeToken()}break;case _t:return Cn;case St:return xn;case lt:if(this.peekCodePoint(0)===At&&this.peekCodePoint(1)===st&&this.peekCodePoint(2)===st)return this.consumeCodePoint(),this.consumeCodePoint(),wn;break;case ut:var l=this.peekCodePoint(0),u=this.peekCodePoint(1),h=this.peekCodePoint(2);if(on(l,u,h))return{type:7,value:this.consumeName()};break;case ht:return _n;case Ye:if(rn(e,this.peekCodePoint(0)))return this.reconsumeCodePoint(e),this.consumeIdentLikeToken();break;case dt:return Sn;case ft:if(this.peekCodePoint(0)===Ze)return this.consumeCodePoint(),hn;break;case pt:return gn;case mt:return mn;case Lt:case Vt:var d=this.peekCodePoint(0),f=this.peekCodePoint(1);return d!==Ct||!Gt(f)&&f!==gt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(e),this.consumeIdentLikeToken();case vt:if(this.peekCodePoint(0)===Ze)return this.consumeCodePoint(),fn;if(this.peekCodePoint(0)===vt)return this.consumeCodePoint(),dn;break;case yt:if(this.peekCodePoint(0)===Ze)return this.consumeCodePoint(),pn;break;case Dt:return En}return Zt(e)?(this.consumeWhiteSpace(),kn):zt(e)?(this.reconsumeCodePoint(e),this.consumeNumericToken()):en(e)?(this.reconsumeCodePoint(e),this.consumeIdentLikeToken()):{type:6,value:c(e)}},e.prototype.consumeCodePoint=function(){var e=this._value.shift();return void 0===e?-1:e},e.prototype.reconsumeCodePoint=function(e){this._value.unshift(e)},e.prototype.peekCodePoint=function(e){return e>=this._value.length?-1:this._value[e]},e.prototype.consumeUnicodeRangeToken=function(){for(var e=[],t=this.consumeCodePoint();Gt(t)&&e.length<6;)e.push(t),t=this.consumeCodePoint();for(var n=!1;t===gt&&e.length<6;)e.push(t),t=this.consumeCodePoint(),n=!0;if(n)return{type:30,start:parseInt(c.apply(void 0,e.map((function(e){return e===gt?Tt:e}))),16),end:parseInt(c.apply(void 0,e.map((function(e){return e===gt?$t:e}))),16)};var i=parseInt(c.apply(void 0,e),16);if(this.peekCodePoint(0)===st&&Gt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var r=[];Gt(t)&&r.length<6;)r.push(t),t=this.consumeCodePoint();return{type:30,start:i,end:parseInt(c.apply(void 0,r),16)}}return{type:30,start:i,end:i}},e.prototype.consumeIdentLikeToken=function(){var e=this.consumeName();return"url"===e.toLowerCase()&&this.peekCodePoint(0)===rt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===rt?(this.consumeCodePoint(),{type:19,value:e}):{type:20,value:e}},e.prototype.consumeUrlToken=function(){var e=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===Dt)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===it||t===qe){var n=this.consumeStringToken(this.consumeCodePoint());return 0===n.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===Dt||this.peekCodePoint(0)===ot)?(this.consumeCodePoint(),{type:22,value:n.value}):(this.consumeBadUrlRemnants(),yn)}for(;;){var i=this.consumeCodePoint();if(i===Dt||i===ot)return{type:22,value:c.apply(void 0,e)};if(Zt(i))return this.consumeWhiteSpace(),this.peekCodePoint(0)===Dt||this.peekCodePoint(0)===ot?(this.consumeCodePoint(),{type:22,value:c.apply(void 0,e)}):(this.consumeBadUrlRemnants(),yn);if(i===qe||i===it||i===rt||nn(i))return this.consumeBadUrlRemnants(),yn;if(i===Ye){if(!rn(i,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),yn;e.push(this.consumeEscapedCodePoint())}else e.push(i)}},e.prototype.consumeWhiteSpace=function(){for(;Zt(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var e=this.consumeCodePoint();if(e===ot||e===Dt)return;rn(e,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(e){for(var t=5e4,n="";e>0;){var i=Math.min(t,e);n+=c.apply(void 0,this._value.splice(0,i)),e-=i}return this._value.shift(),n},e.prototype.consumeStringToken=function(e){for(var t="",n=0;;){var i=this._value[n];if(i===Dt||void 0===i||i===e)return{type:0,value:t+=this.consumeStringSlice(n)};if(i===We)return this._value.splice(0,n),bn;if(i===Ye){var r=this._value[n+1];r!==Dt&&void 0!==r&&(r===We?(t+=this.consumeStringSlice(n),n=-1,this._value.shift()):rn(i,r)&&(t+=this.consumeStringSlice(n),t+=c(this.consumeEscapedCodePoint()),n=-1))}n++}},e.prototype.consumeNumber=function(){var e=[],t=Ke,n=this.peekCodePoint(0);for(n!==Ct&&n!==st||e.push(this.consumeCodePoint());zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0);var i=this.peekCodePoint(1);if(n===kt&&zt(i))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ze;zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());n=this.peekCodePoint(0),i=this.peekCodePoint(1);var r=this.peekCodePoint(2);if((n===jt||n===Mt)&&((i===Ct||i===st)&&zt(r)||zt(i)))for(e.push(this.consumeCodePoint(),this.consumeCodePoint()),t=ze;zt(this.peekCodePoint(0));)e.push(this.consumeCodePoint());return[sn(e),t]},e.prototype.consumeNumericToken=function(){var e=this.consumeNumber(),t=e[0],n=e[1],i=this.peekCodePoint(0),r=this.peekCodePoint(1),o=this.peekCodePoint(2);return on(i,r,o)?{type:15,number:t,flags:n,unit:this.consumeName()}:i===nt?(this.consumeCodePoint(),{type:16,number:t,flags:n}):{type:17,number:t,flags:n}},e.prototype.consumeEscapedCodePoint=function(){var e=this.consumeCodePoint();if(Gt(e)){for(var t=c(e);Gt(this.peekCodePoint(0))&&t.length<6;)t+=c(this.consumeCodePoint());Zt(this.peekCodePoint(0))&&this.consumeCodePoint();var n=parseInt(t,16);return 0===n||Wt(n)||n>1114111?wt:n}return e===Dt?wt:e},e.prototype.consumeName=function(){for(var e="";;){var t=this.consumeCodePoint();if(tn(t))e+=c(t);else{if(!rn(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),e;e+=c(this.consumeEscapedCodePoint())}}},e}(),Qn=function(){function e(e){this._tokens=e}return e.create=function(t){var n=new Fn;return n.write(t),new e(n.read())},e.parseValue=function(t){return e.create(t).parseComponentValue()},e.parseValues=function(t){return e.create(t).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var e=this.consumeToken();31===e.type;)e=this.consumeToken();if(32===e.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(e);var t=this.consumeComponentValue();do{e=this.consumeToken()}while(31===e.type);if(32===e.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var e=[];;){var t=this.consumeComponentValue();if(32===t.type)return e;e.push(t),e.push()}},e.prototype.consumeComponentValue=function(){var e=this.consumeToken();switch(e.type){case 11:case 28:case 2:return this.consumeSimpleBlock(e.type);case 19:return this.consumeFunction(e)}return e},e.prototype.consumeSimpleBlock=function(e){for(var t={type:e,values:[]},n=this.consumeToken();;){if(32===n.type||Ln(n,e))return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue()),n=this.consumeToken()}},e.prototype.consumeFunction=function(e){for(var t={name:e.value,values:[],type:18};;){var n=this.consumeToken();if(32===n.type||3===n.type)return t;this.reconsumeToken(n),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var e=this._tokens.shift();return void 0===e?En:e},e.prototype.reconsumeToken=function(e){this._tokens.unshift(e)},e}(),Un=function(e){return 15===e.type},On=function(e){return 17===e.type},In=function(e){return 20===e.type},Dn=function(e){return 0===e.type},Tn=function(e,t){return In(e)&&e.value===t},Pn=function(e){return 31!==e.type},Mn=function(e){return 31!==e.type&&4!==e.type},Hn=function(e){var t=[],n=[];return e.forEach((function(e){if(4===e.type){if(0===n.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(n),void(n=[])}31!==e.type&&n.push(e)})),n.length&&t.push(n),t},Ln=function(e,t){return 11===t&&12===e.type||28===t&&29===e.type||2===t&&3===e.type},Nn=function(e){return 17===e.type||15===e.type},Rn=function(e){return 16===e.type||Nn(e)},jn=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},$n={type:17,number:0,flags:Ke},Vn={type:16,number:50,flags:Ke},Kn={type:16,number:100,flags:Ke},zn=function(e,t,n){var i=e[0],r=e[1];return[Wn(i,t),Wn(void 0!==r?r:i,n)]},Wn=function(e,t){if(16===e.type)return e.number/100*t;if(Un(e))switch(e.unit){case"rem":case"em":return 16*e.number;default:return e.number}return e.number},Gn="deg",Yn="grad",Xn="rad",Jn="turn",qn={name:"angle",parse:function(e,t){if(15===t.type)switch(t.unit){case Gn:return Math.PI*t.number/180;case Yn:return Math.PI/200*t.number;case Xn:return t.number;case Jn:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Zn=function(e){return 15===e.type&&(e.unit===Gn||e.unit===Yn||e.unit===Xn||e.unit===Jn)},ei=function(e){switch(e.filter(In).map((function(e){return e.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$n,$n];case"to top":case"bottom":return ti(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$n,Kn];case"to right":case"left":return ti(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Kn,Kn];case"to bottom":case"top":return ti(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Kn,$n];case"to left":case"right":return ti(270)}return 0},ti=function(e){return Math.PI*e/180},ni={name:"color",parse:function(e,t){if(18===t.type){var n=ci[t.name];if(void 0===n)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return n(e,t.values)}if(5===t.type){if(3===t.value.length){var i=t.value.substring(0,1),r=t.value.substring(1,2),o=t.value.substring(2,3);return oi(parseInt(i+i,16),parseInt(r+r,16),parseInt(o+o,16),1)}if(4===t.value.length){i=t.value.substring(0,1),r=t.value.substring(1,2),o=t.value.substring(2,3);var a=t.value.substring(3,4);return oi(parseInt(i+i,16),parseInt(r+r,16),parseInt(o+o,16),parseInt(a+a,16)/255)}if(6===t.value.length)return i=t.value.substring(0,2),r=t.value.substring(2,4),o=t.value.substring(4,6),oi(parseInt(i,16),parseInt(r,16),parseInt(o,16),1);if(8===t.value.length)return i=t.value.substring(0,2),r=t.value.substring(2,4),o=t.value.substring(4,6),a=t.value.substring(6,8),oi(parseInt(i,16),parseInt(r,16),parseInt(o,16),parseInt(a,16)/255)}if(20===t.type){var s=hi[t.value.toUpperCase()];if(void 0!==s)return s}return hi.TRANSPARENT}},ii=function(e){return 0==(255&e)},ri=function(e){var t=255&e,n=255&e>>8,i=255&e>>16,r=255&e>>24;return t<255?"rgba("+r+","+i+","+n+","+t/255+")":"rgb("+r+","+i+","+n+")"},oi=function(e,t,n,i){return(e<<24|t<<16|n<<8|Math.round(255*i)<<0)>>>0},ai=function(e,t){if(17===e.type)return e.number;if(16===e.type){var n=3===t?1:255;return 3===t?e.number/100*n:Math.round(e.number/100*n)}return 0},si=function(e,t){var n=t.filter(Mn);if(3===n.length){var i=n.map(ai),r=i[0],o=i[1],a=i[2];return oi(r,o,a,1)}if(4===n.length){var s=n.map(ai),A=(r=s[0],o=s[1],a=s[2],s[3]);return oi(r,o,a,A)}return 0};function Ai(e,t,n){return n<0&&(n+=1),n>=1&&(n-=1),n<1/6?(t-e)*n*6+e:n<.5?t:n<2/3?6*(t-e)*(2/3-n)+e:e}var li=function(e,t){var n=t.filter(Mn),i=n[0],r=n[1],o=n[2],a=n[3],s=(17===i.type?ti(i.number):qn.parse(e,i))/(2*Math.PI),A=Rn(r)?r.number/100:0,l=Rn(o)?o.number/100:0,c=void 0!==a&&Rn(a)?Wn(a,1):1;if(0===A)return oi(255*l,255*l,255*l,1);var u=l<=.5?l*(A+1):l+A-l*A,h=2*l-u,d=Ai(h,u,s+1/3),f=Ai(h,u,s),p=Ai(h,u,s-1/3);return oi(255*d,255*f,255*p,c)},ci={hsl:li,hsla:li,rgb:si,rgba:si},ui=function(e,t){return ni.parse(e,Qn.create(t).parseComponentValue())},hi={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},di={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(In(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},fi={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},pi=function(e,t){var n=ni.parse(e,t[0]),i=t[1];return i&&Rn(i)?{color:n,stop:i}:{color:n,stop:null}},gi=function(e,t){var n=e[0],i=e[e.length-1];null===n.stop&&(n.stop=$n),null===i.stop&&(i.stop=Kn);for(var r=[],o=0,a=0;ao?r.push(A):r.push(o),o=A}else r.push(null)}var l=null;for(a=0;ae.optimumDistance)?{optimumCorner:t,optimumDistance:s}:e}),{optimumDistance:r?1/0:-1/0,optimumCorner:null}).optimumCorner},wi=function(e,t,n,i,r){var o=0,a=0;switch(e.size){case 0:0===e.shape?o=a=Math.min(Math.abs(t),Math.abs(t-i),Math.abs(n),Math.abs(n-r)):1===e.shape&&(o=Math.min(Math.abs(t),Math.abs(t-i)),a=Math.min(Math.abs(n),Math.abs(n-r)));break;case 2:if(0===e.shape)o=a=Math.min(yi(t,n),yi(t,n-r),yi(t-i,n),yi(t-i,n-r));else if(1===e.shape){var s=Math.min(Math.abs(n),Math.abs(n-r))/Math.min(Math.abs(t),Math.abs(t-i)),A=bi(i,r,t,n,!0),l=A[0],c=A[1];a=s*(o=yi(l-t,(c-n)/s))}break;case 1:0===e.shape?o=a=Math.max(Math.abs(t),Math.abs(t-i),Math.abs(n),Math.abs(n-r)):1===e.shape&&(o=Math.max(Math.abs(t),Math.abs(t-i)),a=Math.max(Math.abs(n),Math.abs(n-r)));break;case 3:if(0===e.shape)o=a=Math.max(yi(t,n),yi(t,n-r),yi(t-i,n),yi(t-i,n-r));else if(1===e.shape){s=Math.max(Math.abs(n),Math.abs(n-r))/Math.max(Math.abs(t),Math.abs(t-i));var u=bi(i,r,t,n,!1);l=u[0],c=u[1],a=s*(o=yi(l-t,(c-n)/s))}}return Array.isArray(e.size)&&(o=Wn(e.size[0],i),a=2===e.size.length?Wn(e.size[1],r):o),[o,a]},Bi=function(e,t){var n=ti(180),i=[];return Hn(t).forEach((function(t,r){if(0===r){var o=t[0];if(20===o.type&&-1!==["top","left","right","bottom"].indexOf(o.value))return void(n=ei(t));if(Zn(o))return void(n=(qn.parse(e,o)+ti(270))%ti(360))}var a=pi(e,t);i.push(a)})),{angle:n,stops:i,type:1}},Ci="closest-side",xi="farthest-side",_i="closest-corner",Si="farthest-corner",ki="circle",Ei="ellipse",Fi="cover",Qi="contain",Ui=function(e,t){var n=0,i=3,r=[],o=[];return Hn(t).forEach((function(t,a){var s=!0;if(0===a?s=t.reduce((function(e,t){if(In(t))switch(t.value){case"center":return o.push(Vn),!1;case"top":case"left":return o.push($n),!1;case"right":case"bottom":return o.push(Kn),!1}else if(Rn(t)||Nn(t))return o.push(t),!1;return e}),s):1===a&&(s=t.reduce((function(e,t){if(In(t))switch(t.value){case ki:return n=0,!1;case Ei:return n=1,!1;case Qi:case Ci:return i=0,!1;case xi:return i=1,!1;case _i:return i=2,!1;case Fi:case Si:return i=3,!1}else if(Nn(t)||Rn(t))return Array.isArray(i)||(i=[]),i.push(t),!1;return e}),s)),s){var A=pi(e,t);r.push(A)}})),{size:i,shape:n,stops:r,position:o,type:2}},Oi=function(e){return 1===e.type},Ii=function(e){return 2===e.type},Di={name:"image",parse:function(e,t){if(22===t.type){var n={url:t.value,type:0};return e.cache.addImage(t.value),n}if(18===t.type){var i=Mi[t.name];if(void 0===i)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return i(e,t.values)}throw new Error("Unsupported image type "+t.type)}};function Ti(e){return!(20===e.type&&"none"===e.value||18===e.type&&!Mi[e.name])}var Pi,Mi={"linear-gradient":function(e,t){var n=ti(180),i=[];return Hn(t).forEach((function(t,r){if(0===r){var o=t[0];if(20===o.type&&"to"===o.value)return void(n=ei(t));if(Zn(o))return void(n=qn.parse(e,o))}var a=pi(e,t);i.push(a)})),{angle:n,stops:i,type:1}},"-moz-linear-gradient":Bi,"-ms-linear-gradient":Bi,"-o-linear-gradient":Bi,"-webkit-linear-gradient":Bi,"radial-gradient":function(e,t){var n=0,i=3,r=[],o=[];return Hn(t).forEach((function(t,a){var s=!0;if(0===a){var A=!1;s=t.reduce((function(e,t){if(A)if(In(t))switch(t.value){case"center":return o.push(Vn),e;case"top":case"left":return o.push($n),e;case"right":case"bottom":return o.push(Kn),e}else(Rn(t)||Nn(t))&&o.push(t);else if(In(t))switch(t.value){case ki:return n=0,!1;case Ei:return n=1,!1;case"at":return A=!0,!1;case Ci:return i=0,!1;case Fi:case xi:return i=1,!1;case Qi:case _i:return i=2,!1;case Si:return i=3,!1}else if(Nn(t)||Rn(t))return Array.isArray(i)||(i=[]),i.push(t),!1;return e}),s)}if(s){var l=pi(e,t);r.push(l)}})),{size:i,shape:n,stops:r,position:o,type:2}},"-moz-radial-gradient":Ui,"-ms-radial-gradient":Ui,"-o-radial-gradient":Ui,"-webkit-radial-gradient":Ui,"-webkit-gradient":function(e,t){var n=ti(180),i=[],r=1,o=0,a=3,s=[];return Hn(t).forEach((function(t,n){var o=t[0];if(0===n){if(In(o)&&"linear"===o.value)return void(r=1);if(In(o)&&"radial"===o.value)return void(r=2)}if(18===o.type)if("from"===o.name){var a=ni.parse(e,o.values[0]);i.push({stop:$n,color:a})}else if("to"===o.name)a=ni.parse(e,o.values[0]),i.push({stop:Kn,color:a});else if("color-stop"===o.name){var s=o.values.filter(Mn);if(2===s.length){a=ni.parse(e,s[1]);var A=s[0];On(A)&&i.push({stop:{type:16,number:100*A.number,flags:A.flags},color:a})}}})),1===r?{angle:(n+ti(180))%ti(360),stops:i,type:r}:{size:a,shape:o,stops:i,position:s,type:r}}},Hi={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,t){if(0===t.length)return[];var n=t[0];return 20===n.type&&"none"===n.value?[]:t.filter((function(e){return Mn(e)&&Ti(e)})).map((function(t){return Di.parse(e,t)}))}},Li={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,t){return t.map((function(e){if(In(e))switch(e.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Ni={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,t){return Hn(t).map((function(e){return e.filter(Rn)})).map(jn)}},Ri={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,t){return Hn(t).map((function(e){return e.filter(In).map((function(e){return e.value})).join(" ")})).map(ji)}},ji=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(e){e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover"}(Pi||(Pi={}));var $i,Vi={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,t){return Hn(t).map((function(e){return e.filter(Ki)}))}},Ki=function(e){return In(e)||Rn(e)},zi=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Wi=zi("top"),Gi=zi("right"),Yi=zi("bottom"),Xi=zi("left"),Ji=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(e,t){return jn(t.filter(Rn))}}},qi=Ji("top-left"),Zi=Ji("top-right"),er=Ji("bottom-right"),tr=Ji("bottom-left"),nr=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(e,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},ir=nr("top"),rr=nr("right"),or=nr("bottom"),ar=nr("left"),sr=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(e,t){return Un(t)?t.number:0}}},Ar=sr("top"),lr=sr("right"),cr=sr("bottom"),ur=sr("left"),hr={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},dr={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,t){return"rtl"===t?1:0}},fr={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,t){return t.filter(In).reduce((function(e,t){return e|pr(t.value)}),0)}},pr=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},gr={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},mr={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(e){e.NORMAL="normal",e.STRICT="strict"}($i||($i={}));var vr,yr={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"strict"===t?$i.STRICT:$i.NORMAL}},br={name:"line-height",initialValue:"normal",prefix:!1,type:4},wr=function(e,t){return In(e)&&"normal"===e.value?1.2*t:17===e.type?t*e.number:Rn(e)?Wn(e,t):t},Br={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,t){return 20===t.type&&"none"===t.value?null:Di.parse(e,t)}},Cr={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,t){return"inside"===t?0:1}},xr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},_r=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Sr=_r("top"),kr=_r("right"),Er=_r("bottom"),Fr=_r("left"),Qr={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,t){return t.filter(In).map((function(e){switch(e.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},Ur={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,t){return"break-word"===t?"break-word":"normal"}},Or=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Ir=Or("top"),Dr=Or("right"),Tr=Or("bottom"),Pr=Or("left"),Mr={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Hr={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Lr={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,t){return 1===t.length&&Tn(t[0],"none")?[]:Hn(t).map((function(t){for(var n={color:hi.TRANSPARENT,offsetX:$n,offsetY:$n,blur:$n},i=0,r=0;r1?1:0],this.overflowWrap=yo(e,Ur,t.overflowWrap),this.paddingTop=yo(e,Ir,t.paddingTop),this.paddingRight=yo(e,Dr,t.paddingRight),this.paddingBottom=yo(e,Tr,t.paddingBottom),this.paddingLeft=yo(e,Pr,t.paddingLeft),this.paintOrder=yo(e,ho,t.paintOrder),this.position=yo(e,Hr,t.position),this.textAlign=yo(e,Mr,t.textAlign),this.textDecorationColor=yo(e,Jr,null!==(n=t.textDecorationColor)&&void 0!==n?n:t.color),this.textDecorationLine=yo(e,qr,null!==(i=t.textDecorationLine)&&void 0!==i?i:t.textDecoration),this.textShadow=yo(e,Lr,t.textShadow),this.textTransform=yo(e,Nr,t.textTransform),this.transform=yo(e,Rr,t.transform),this.transformOrigin=yo(e,Kr,t.transformOrigin),this.visibility=yo(e,zr,t.visibility),this.webkitTextStrokeColor=yo(e,fo,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=yo(e,po,t.webkitTextStrokeWidth),this.wordBreak=yo(e,Wr,t.wordBreak),this.zIndex=yo(e,Gr,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},e.prototype.isTransparent=function(){return ii(this.backgroundColor)},e.prototype.isTransformed=function(){return null!==this.transform},e.prototype.isPositioned=function(){return 0!==this.position},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return 0!==this.float},e.prototype.isInlineLevel=function(){return ro(this.display,4)||ro(this.display,33554432)||ro(this.display,268435456)||ro(this.display,536870912)||ro(this.display,67108864)||ro(this.display,134217728)},e}(),mo=function(){function e(e,t){this.content=yo(e,oo,t.content),this.quotes=yo(e,lo,t.quotes)}return e}(),vo=function(){function e(e,t){this.counterIncrement=yo(e,ao,t.counterIncrement),this.counterReset=yo(e,so,t.counterReset)}return e}(),yo=function(e,t,n){var i=new Fn,r=null!=n?n.toString():t.initialValue;i.write(r);var o=new Qn(i.read());switch(t.type){case 2:var a=o.parseComponentValue();return t.parse(e,In(a)?a.value:t.initialValue);case 0:return t.parse(e,o.parseComponentValue());case 1:return t.parse(e,o.parseComponentValues());case 4:return o.parseComponentValue();case 3:switch(t.format){case"angle":return qn.parse(e,o.parseComponentValue());case"color":return ni.parse(e,o.parseComponentValue());case"image":return Di.parse(e,o.parseComponentValue());case"length":var s=o.parseComponentValue();return Nn(s)?s:$n;case"length-percentage":var A=o.parseComponentValue();return Rn(A)?A:$n;case"time":return Yr.parse(e,o.parseComponentValue())}}},bo="data-html2canvas-debug",wo=function(e){switch(e.getAttribute(bo)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Bo=function(e,t){var n=wo(e);return 1===n||t===n},Co=function(){function e(e,t){this.context=e,this.textNodes=[],this.elements=[],this.flags=0,Bo(t,3),this.styles=new go(e,window.getComputedStyle(t,null)),cs(t)&&(this.styles.animationDuration.some((function(e){return e>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=s(this.context,t),Bo(t,4)&&(this.flags|=16)}return e}(),xo="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",_o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",So="undefined"==typeof Uint8Array?[]:new Uint8Array(256),ko=0;ko<_o.length;ko++)So[_o.charCodeAt(ko)]=ko;for(var Eo=function(e){var t,n,i,r,o,a=.75*e.length,s=e.length,A=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(a):new Array(a),c=Array.isArray(l)?l:new Uint8Array(l);for(t=0;t>4,c[A++]=(15&i)<<4|r>>2,c[A++]=(3&r)<<6|63&o;return l},Fo=function(e){for(var t=e.length,n=[],i=0;i>Uo,To=(1<>Uo)+32,Mo=65536>>Oo,Ho=(1<=0){if(e<55296||e>56319&&e<=65535)return t=((t=this.index[e>>Uo])<>Uo)])<>Oo),t=this.index[t],t+=e>>Uo&Ho,t=((t=this.index[t])<=55296&&r<=56319&&n>10),a%1024+56320)),(r+1===n||i.length>16384)&&(o+=String.fromCharCode.apply(String,i),i.length=0)}return o},la=Ro(xo),ca="×",ua="÷",ha=function(e){return la.get(e)},da=function(e,t,n){var i=n-2,r=t[i],o=t[n-1],a=t[n];if(o===Go&&a===Yo)return ca;if(o===Go||o===Yo||o===Xo)return ua;if(a===Go||a===Yo||a===Xo)return ua;if(o===Zo&&-1!==[Zo,ea,na,ia].indexOf(a))return ca;if(!(o!==na&&o!==ea||a!==ea&&a!==ta))return ca;if((o===ia||o===ta)&&a===ta)return ca;if(a===ra||a===Jo)return ca;if(a===qo)return ca;if(o===Wo)return ca;if(o===ra&&a===oa){for(;r===Jo;)r=t[--i];if(r===oa)return ca}if(o===aa&&a===aa){for(var s=0;r===aa;)s++,r=t[--i];if(s%2==0)return ca}return ua},fa=function(e){var t=sa(e),n=t.length,i=0,r=0,o=t.map(ha);return{next:function(){if(i>=n)return{done:!0,value:null};for(var e=ca;ia.x||r.y>a.y;return a=r,0===t||s}));return e.body.removeChild(t),s},va=function(){return void 0!==(new Image).crossOrigin},ya=function(){return"string"==typeof(new XMLHttpRequest).responseType},ba=function(e){var t=new Image,n=e.createElement("canvas"),i=n.getContext("2d");if(!i)return!1;t.src="data:image/svg+xml,";try{i.drawImage(t,0,0),n.toDataURL()}catch(e){return!1}return!0},wa=function(e){return 0===e[0]&&255===e[1]&&0===e[2]&&255===e[3]},Ba=function(e){var t=e.createElement("canvas"),n=100;t.width=n,t.height=n;var i=t.getContext("2d");if(!i)return Promise.reject(!1);i.fillStyle="rgb(0, 255, 0)",i.fillRect(0,0,n,n);var r=new Image,o=t.toDataURL();r.src=o;var a=Ca(n,n,0,0,r);return i.fillStyle="red",i.fillRect(0,0,n,n),xa(a).then((function(t){i.drawImage(t,0,0);var r=i.getImageData(0,0,n,n).data;i.fillStyle="red",i.fillRect(0,0,n,n);var a=e.createElement("div");return a.style.backgroundImage="url("+o+")",a.style.height=n+"px",wa(r)?xa(Ca(n,n,0,0,a)):Promise.reject(!1)})).then((function(e){return i.drawImage(e,0,0),wa(i.getImageData(0,0,n,n).data)})).catch((function(){return!1}))},Ca=function(e,t,n,i,r){var o="http://www.w3.org/2000/svg",a=document.createElementNS(o,"svg"),s=document.createElementNS(o,"foreignObject");return a.setAttributeNS(null,"width",e.toString()),a.setAttributeNS(null,"height",t.toString()),s.setAttributeNS(null,"width","100%"),s.setAttributeNS(null,"height","100%"),s.setAttributeNS(null,"x",n.toString()),s.setAttributeNS(null,"y",i.toString()),s.setAttributeNS(null,"externalResourcesRequired","true"),a.appendChild(s),s.appendChild(r),a},xa=function(e){return new Promise((function(t,n){var i=new Image;i.onload=function(){return t(i)},i.onerror=n,i.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(e))}))},_a={get SUPPORT_RANGE_BOUNDS(){var e=ga(document);return Object.defineProperty(_a,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=_a.SUPPORT_RANGE_BOUNDS&&ma(document);return Object.defineProperty(_a,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=ba(document);return Object.defineProperty(_a,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e="function"==typeof Array.from&&"function"==typeof window.fetch?Ba(document):Promise.resolve(!1);return Object.defineProperty(_a,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=va();return Object.defineProperty(_a,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=ya();return Object.defineProperty(_a,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(_a,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(_a,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Sa=function(){function e(e,t){this.text=e,this.bounds=t}return e}(),ka=function(e,t,n,i){var r=Oa(t,n),o=[],s=0;return r.forEach((function(t){if(n.textDecorationLine.length||t.trim().length>0)if(_a.SUPPORT_RANGE_BOUNDS){var r=Fa(i,s,t.length).getClientRects();if(r.length>1){var A=Qa(t),l=0;A.forEach((function(t){o.push(new Sa(t,a.fromDOMRectList(e,Fa(i,l+s,t.length).getClientRects()))),l+=t.length}))}else o.push(new Sa(t,a.fromDOMRectList(e,r)))}else{var c=i.splitText(t.length);o.push(new Sa(t,Ea(e,i))),i=c}else _a.SUPPORT_RANGE_BOUNDS||(i=i.splitText(t.length));s+=t.length})),o},Ea=function(e,t){var n=t.ownerDocument;if(n){var i=n.createElement("html2canvaswrapper");i.appendChild(t.cloneNode(!0));var r=t.parentNode;if(r){r.replaceChild(i,t);var o=s(e,i);return i.firstChild&&r.replaceChild(i.firstChild,i),o}}return a.EMPTY},Fa=function(e,t,n){var i=e.ownerDocument;if(!i)throw new Error("Node has no owner document");var r=i.createRange();return r.setStart(e,t),r.setEnd(e,t+n),r},Qa=function(e){if(_a.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(e)).map((function(e){return e.segment}))}return pa(e)},Ua=function(e,t){if(_a.SUPPORT_NATIVE_TEXT_SEGMENTATION){var n=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(n.segment(e)).map((function(e){return e.segment}))}return Da(e,t)},Oa=function(e,t){return 0!==t.letterSpacing?Qa(e):Ua(e,t)},Ia=[32,160,4961,65792,65793,4153,4241],Da=function(e,t){for(var n,i=je(e,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),r=[],o=function(){if(n.value){var e=n.value.slice(),t=l(e),i="";t.forEach((function(e){-1===Ia.indexOf(e)?i+=c(e):(i.length&&r.push(i),r.push(c(e)),i="")})),i.length&&r.push(i)}};!(n=i.next()).done;)o();return r},Ta=function(){function e(e,t,n){this.text=Pa(t.data,n.textTransform),this.textBounds=ka(e,this.text,n,t)}return e}(),Pa=function(e,t){switch(t){case 1:return e.toLowerCase();case 3:return e.replace(Ma,Ha);case 2:return e.toUpperCase();default:return e}},Ma=/(^|\s|:|-|\(|\))([a-z])/g,Ha=function(e,t,n){return e.length>0?t+n.toUpperCase():e},La=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.src=n.currentSrc||n.src,i.intrinsicWidth=n.naturalWidth,i.intrinsicHeight=n.naturalHeight,i.context.cache.addImage(i.src),i}return t(n,e),n}(Co),Na=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.canvas=n,i.intrinsicWidth=n.width,i.intrinsicHeight=n.height,i}return t(n,e),n}(Co),Ra=function(e){function n(t,n){var i=e.call(this,t,n)||this,r=new XMLSerializer,o=s(t,n);return n.setAttribute("width",o.width+"px"),n.setAttribute("height",o.height+"px"),i.svg="data:image/svg+xml,"+encodeURIComponent(r.serializeToString(n)),i.intrinsicWidth=n.width.baseVal.value,i.intrinsicHeight=n.height.baseVal.value,i.context.cache.addImage(i.svg),i}return t(n,e),n}(Co),ja=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.value=n.value,i}return t(n,e),n}(Co),$a=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.start=n.start,i.reversed="boolean"==typeof n.reversed&&!0===n.reversed,i}return t(n,e),n}(Co),Va=[{type:15,flags:0,unit:"px",number:3}],Ka=[{type:16,flags:0,number:50}],za=function(e){return e.width>e.height?new a(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)n.textNodes.push(new Ta(e,r,n.styles));else if(ls(r))if(Ss(r)&&r.assignedNodes)r.assignedNodes().forEach((function(t){return is(e,t,n,i)}));else{var a=rs(e,r);a.styles.isVisible()&&(as(r,a,i)?a.flags|=4:ss(a.styles)&&(a.flags|=2),-1!==ns.indexOf(r.tagName)&&(a.flags|=8),n.elements.push(a),r.slot,r.shadowRoot?is(e,r.shadowRoot,a,i):xs(r)||gs(r)||_s(r)||is(e,r,a,i))}},rs=function(e,t){return bs(t)?new La(e,t):vs(t)?new Na(e,t):gs(t)?new Ra(e,t):hs(t)?new ja(e,t):ds(t)?new $a(e,t):fs(t)?new qa(e,t):_s(t)?new Za(e,t):xs(t)?new es(e,t):ws(t)?new ts(e,t):new Co(e,t)},os=function(e,t){var n=rs(e,t);return n.flags|=4,is(e,t,n,n),n},as=function(e,t,n){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||ms(e)&&n.styles.isTransparent()},ss=function(e){return e.isPositioned()||e.isFloating()},As=function(e){return e.nodeType===Node.TEXT_NODE},ls=function(e){return e.nodeType===Node.ELEMENT_NODE},cs=function(e){return ls(e)&&void 0!==e.style&&!us(e)},us=function(e){return"object"==typeof e.className},hs=function(e){return"LI"===e.tagName},ds=function(e){return"OL"===e.tagName},fs=function(e){return"INPUT"===e.tagName},ps=function(e){return"HTML"===e.tagName},gs=function(e){return"svg"===e.tagName},ms=function(e){return"BODY"===e.tagName},vs=function(e){return"CANVAS"===e.tagName},ys=function(e){return"VIDEO"===e.tagName},bs=function(e){return"IMG"===e.tagName},ws=function(e){return"IFRAME"===e.tagName},Bs=function(e){return"STYLE"===e.tagName},Cs=function(e){return"SCRIPT"===e.tagName},xs=function(e){return"TEXTAREA"===e.tagName},_s=function(e){return"SELECT"===e.tagName},Ss=function(e){return"SLOT"===e.tagName},ks=function(e){return e.tagName.indexOf("-")>0},Es=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(e){var t=this.counters[e];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(e){var t=this.counters[e];return t||[]},e.prototype.pop=function(e){var t=this;e.forEach((function(e){return t.counters[e].pop()}))},e.prototype.parse=function(e){var t=this,n=e.counterIncrement,i=e.counterReset,r=!0;null!==n&&n.forEach((function(e){var n=t.counters[e.counter];n&&0!==e.increment&&(r=!1,n.length||n.push(1),n[Math.max(0,n.length-1)]+=e.increment)}));var o=[];return r&&i.forEach((function(e){var n=t.counters[e.counter];o.push(e.counter),n||(n=t.counters[e.counter]=[]),n.push(e.reset)})),o},e}(),Fs={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Qs={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Us={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},Os={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Is=function(e,t,n,i,r,o){return en?zs(e,r,o.length>0):i.integers.reduce((function(t,n,r){for(;e>=n;)e-=n,t+=i.values[r];return t}),"")+o},Ds=function(e,t,n,i){var r="";do{n||e--,r=i(e)+r,e/=t}while(e*t>=t);return r},Ts=function(e,t,n,i,r){var o=n-t+1;return(e<0?"-":"")+(Ds(Math.abs(e),o,i,(function(e){return c(Math.floor(e%o)+t)}))+r)},Ps=function(e,t,n){void 0===n&&(n=". ");var i=t.length;return Ds(Math.abs(e),i,!1,(function(e){return t[Math.floor(e%i)]}))+n},Ms=1,Hs=2,Ls=4,Ns=8,Rs=function(e,t,n,i,r,o){if(e<-9999||e>9999)return zs(e,4,r.length>0);var a=Math.abs(e),s=r;if(0===a)return t[0]+s;for(var A=0;a>0&&A<=4;A++){var l=a%10;0===l&&ro(o,Ms)&&""!==s?s=t[l]+s:l>1||1===l&&0===A||1===l&&1===A&&ro(o,Hs)||1===l&&1===A&&ro(o,Ls)&&e>100||1===l&&A>1&&ro(o,Ns)?s=t[l]+(A>0?n[A-1]:"")+s:1===l&&A>0&&(s=n[A-1]+s),a=Math.floor(a/10)}return(e<0?i:"")+s},js="十百千萬",$s="拾佰仟萬",Vs="マイナス",Ks="마이너스",zs=function(e,t,n){var i=n?". ":"",r=n?"、":"",o=n?", ":"",a=n?" ":"";switch(t){case 0:return"•"+a;case 1:return"◦"+a;case 2:return"◾"+a;case 5:var s=Ts(e,48,57,!0,i);return s.length<4?"0"+s:s;case 4:return Ps(e,"〇一二三四五六七八九",r);case 6:return Is(e,1,3999,Fs,3,i).toLowerCase();case 7:return Is(e,1,3999,Fs,3,i);case 8:return Ts(e,945,969,!1,i);case 9:return Ts(e,97,122,!1,i);case 10:return Ts(e,65,90,!1,i);case 11:return Ts(e,1632,1641,!0,i);case 12:case 49:return Is(e,1,9999,Qs,3,i);case 35:return Is(e,1,9999,Qs,3,i).toLowerCase();case 13:return Ts(e,2534,2543,!0,i);case 14:case 30:return Ts(e,6112,6121,!0,i);case 15:return Ps(e,"子丑寅卯辰巳午未申酉戌亥",r);case 16:return Ps(e,"甲乙丙丁戊己庚辛壬癸",r);case 17:case 48:return Rs(e,"零一二三四五六七八九",js,"負",r,Hs|Ls|Ns);case 47:return Rs(e,"零壹貳參肆伍陸柒捌玖",$s,"負",r,Ms|Hs|Ls|Ns);case 42:return Rs(e,"零一二三四五六七八九",js,"负",r,Hs|Ls|Ns);case 41:return Rs(e,"零壹贰叁肆伍陆柒捌玖",$s,"负",r,Ms|Hs|Ls|Ns);case 26:return Rs(e,"〇一二三四五六七八九","十百千万",Vs,r,0);case 25:return Rs(e,"零壱弐参四伍六七八九","拾百千万",Vs,r,Ms|Hs|Ls);case 31:return Rs(e,"영일이삼사오육칠팔구","십백천만",Ks,o,Ms|Hs|Ls);case 33:return Rs(e,"零一二三四五六七八九","十百千萬",Ks,o,0);case 32:return Rs(e,"零壹貳參四五六七八九","拾百千",Ks,o,Ms|Hs|Ls);case 18:return Ts(e,2406,2415,!0,i);case 20:return Is(e,1,19999,Os,3,i);case 21:return Ts(e,2790,2799,!0,i);case 22:return Ts(e,2662,2671,!0,i);case 22:return Is(e,1,10999,Us,3,i);case 23:return Ps(e,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Ps(e,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Ts(e,3302,3311,!0,i);case 28:return Ps(e,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",r);case 29:return Ps(e,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",r);case 34:return Ts(e,3792,3801,!0,i);case 37:return Ts(e,6160,6169,!0,i);case 38:return Ts(e,4160,4169,!0,i);case 39:return Ts(e,2918,2927,!0,i);case 40:return Ts(e,1776,1785,!0,i);case 43:return Ts(e,3046,3055,!0,i);case 44:return Ts(e,3174,3183,!0,i);case 45:return Ts(e,3664,3673,!0,i);case 46:return Ts(e,3872,3881,!0,i);default:return Ts(e,48,57,!0,i)}},Ws="data-html2canvas-ignore",Gs=function(){function e(e,t,n){if(this.context=e,this.options=n,this.scrolledElements=[],this.referenceElement=t,this.counters=new Es,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(e,t){var n=this,o=Xs(e,t);if(!o.contentWindow)return Promise.reject("Unable to find iframe window");var a=e.defaultView.pageXOffset,s=e.defaultView.pageYOffset,A=o.contentWindow,l=A.document,c=Zs(o).then((function(){return i(n,void 0,void 0,(function(){var e,n;return r(this,(function(i){switch(i.label){case 0:return this.scrolledElements.forEach(rA),A&&(A.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||A.scrollY===t.top&&A.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(A.scrollX-t.left,A.scrollY-t.top,0,0))),e=this.options.onclone,void 0===(n=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:l.fonts&&l.fonts.ready?[4,l.fonts.ready]:[3,2];case 1:i.sent(),i.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,qs(l)]:[3,4];case 3:i.sent(),i.label=4;case 4:return"function"==typeof e?[2,Promise.resolve().then((function(){return e(l,n)})).then((function(){return o}))]:[2,o]}}))}))}));return l.open(),l.write(nA(document.doctype)+""),iA(this.referenceElement.ownerDocument,a,s),l.replaceChild(l.adoptNode(this.documentElement),l.documentElement),l.close(),c},e.prototype.createElementClone=function(e){if(Bo(e,2),vs(e))return this.createCanvasClone(e);if(ys(e))return this.createVideoClone(e);if(Bs(e))return this.createStyleClone(e);var t=e.cloneNode(!1);return bs(t)&&(bs(e)&&e.currentSrc&&e.currentSrc!==e.src&&(t.src=e.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),ks(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(e){var t=document.createElement("html2canvascustomelement");return tA(e.style,t),t},e.prototype.createStyleClone=function(e){try{var t=e.sheet;if(t&&t.cssRules){var n=[].slice.call(t.cssRules,0).reduce((function(e,t){return t&&"string"==typeof t.cssText?e+t.cssText:e}),""),i=e.cloneNode(!1);return i.textContent=n,i}}catch(e){if(this.context.logger.error("Unable to access cssRules property",e),"SecurityError"!==e.name)throw e}return e.cloneNode(!1)},e.prototype.createCanvasClone=function(e){var t;if(this.options.inlineImages&&e.ownerDocument){var n=e.ownerDocument.createElement("img");try{return n.src=e.toDataURL(),n}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",e)}}var i=e.cloneNode(!1);try{i.width=e.width,i.height=e.height;var r=e.getContext("2d"),o=i.getContext("2d");if(o)if(!this.options.allowTaint&&r)o.putImageData(r.getImageData(0,0,e.width,e.height),0,0);else{var a=null!==(t=e.getContext("webgl2"))&&void 0!==t?t:e.getContext("webgl");if(a){var s=a.getContextAttributes();!1===(null==s?void 0:s.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",e)}o.drawImage(e,0,0)}return i}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",e)}return i},e.prototype.createVideoClone=function(e){var t=e.ownerDocument.createElement("canvas");t.width=e.offsetWidth,t.height=e.offsetHeight;var n=t.getContext("2d");try{return n&&(n.drawImage(e,0,0,t.width,t.height),this.options.allowTaint||n.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",e)}var i=e.ownerDocument.createElement("canvas");return i.width=e.offsetWidth,i.height=e.offsetHeight,i},e.prototype.appendChildNode=function(e,t,n){ls(t)&&(Cs(t)||t.hasAttribute(Ws)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&ls(t)&&Bs(t)||e.appendChild(this.cloneNode(t,n))},e.prototype.cloneChildNodes=function(e,t,n){for(var i=this,r=e.shadowRoot?e.shadowRoot.firstChild:e.firstChild;r;r=r.nextSibling)if(ls(r)&&Ss(r)&&"function"==typeof r.assignedNodes){var o=r.assignedNodes();o.length&&o.forEach((function(e){return i.appendChildNode(t,e,n)}))}else this.appendChildNode(t,r,n)},e.prototype.cloneNode=function(e,t){if(As(e))return document.createTextNode(e.data);if(!e.ownerDocument)return e.cloneNode(!1);var n=e.ownerDocument.defaultView;if(n&&ls(e)&&(cs(e)||us(e))){var i=this.createElementClone(e);i.style.transitionProperty="none";var r=n.getComputedStyle(e),o=n.getComputedStyle(e,":before"),a=n.getComputedStyle(e,":after");this.referenceElement===e&&cs(i)&&(this.clonedReferenceElement=i),ms(i)&&cA(i);var s=this.counters.parse(new vo(this.context,r)),A=this.resolvePseudoContent(e,i,o,zo.BEFORE);ks(e)&&(t=!0),ys(e)||this.cloneChildNodes(e,i,t),A&&i.insertBefore(A,i.firstChild);var l=this.resolvePseudoContent(e,i,a,zo.AFTER);return l&&i.appendChild(l),this.counters.pop(s),(r&&(this.options.copyStyles||us(e))&&!ws(e)||t)&&tA(r,i),0===e.scrollTop&&0===e.scrollLeft||this.scrolledElements.push([i,e.scrollLeft,e.scrollTop]),(xs(e)||_s(e))&&(xs(i)||_s(i))&&(i.value=e.value),i}return e.cloneNode(!1)},e.prototype.resolvePseudoContent=function(e,t,n,i){var r=this;if(n){var o=n.content,a=t.ownerDocument;if(a&&o&&"none"!==o&&"-moz-alt-content"!==o&&"none"!==n.display){this.counters.parse(new vo(this.context,n));var s=new mo(this.context,n),A=a.createElement("html2canvaspseudoelement");tA(n,A),s.content.forEach((function(t){if(0===t.type)A.appendChild(a.createTextNode(t.value));else if(22===t.type){var n=a.createElement("img");n.src=t.value,n.style.opacity="1",A.appendChild(n)}else if(18===t.type){if("attr"===t.name){var i=t.values.filter(In);i.length&&A.appendChild(a.createTextNode(e.getAttribute(i[0].value)||""))}else if("counter"===t.name){var o=t.values.filter(Mn),l=o[0],c=o[1];if(l&&In(l)){var u=r.counters.getCounterValue(l.value),h=c&&In(c)?xr.parse(r.context,c.value):3;A.appendChild(a.createTextNode(zs(u,h,!1)))}}else if("counters"===t.name){var d=t.values.filter(Mn),f=(l=d[0],d[1]);if(c=d[2],l&&In(l)){var p=r.counters.getCounterValues(l.value),g=c&&In(c)?xr.parse(r.context,c.value):3,m=f&&0===f.type?f.value:"",v=p.map((function(e){return zs(e,g,!1)})).join(m);A.appendChild(a.createTextNode(v))}}}else if(20===t.type)switch(t.value){case"open-quote":A.appendChild(a.createTextNode(co(s.quotes,r.quoteDepth++,!0)));break;case"close-quote":A.appendChild(a.createTextNode(co(s.quotes,--r.quoteDepth,!1)));break;default:A.appendChild(a.createTextNode(t.value))}})),A.className=sA+" "+AA;var l=i===zo.BEFORE?" "+sA:" "+AA;return us(t)?t.className.baseValue+=l:t.className+=l,A}}},e.destroy=function(e){return!!e.parentNode&&(e.parentNode.removeChild(e),!0)},e}();!function(e){e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER"}(zo||(zo={}));var Ys,Xs=function(e,t){var n=e.createElement("iframe");return n.className="html2canvas-container",n.style.visibility="hidden",n.style.position="fixed",n.style.left="-10000px",n.style.top="0px",n.style.border="0",n.width=t.width.toString(),n.height=t.height.toString(),n.scrolling="no",n.setAttribute(Ws,"true"),e.body.appendChild(n),n},Js=function(e){return new Promise((function(t){e.complete?t():e.src?(e.onload=t,e.onerror=t):t()}))},qs=function(e){return Promise.all([].slice.call(e.images,0).map(Js))},Zs=function(e){return new Promise((function(t,n){var i=e.contentWindow;if(!i)return n("No window assigned for iframe");var r=i.document;i.onload=e.onload=function(){i.onload=e.onload=null;var n=setInterval((function(){r.body.childNodes.length>0&&"complete"===r.readyState&&(clearInterval(n),t(e))}),50)}}))},eA=["all","d","content"],tA=function(e,t){for(var n=e.length-1;n>=0;n--){var i=e.item(n);-1===eA.indexOf(i)&&t.style.setProperty(i,e.getPropertyValue(i))}return t},nA=function(e){var t="";return e&&(t+=""),t},iA=function(e,t,n){e&&e.defaultView&&(t!==e.defaultView.pageXOffset||n!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(t,n)},rA=function(e){var t=e[0],n=e[1],i=e[2];t.scrollLeft=n,t.scrollTop=i},oA=":before",aA=":after",sA="___html2canvas___pseudoelement_before",AA="___html2canvas___pseudoelement_after",lA='{\n content: "" !important;\n display: none !important;\n}',cA=function(e){uA(e,"."+sA+oA+lA+"\n ."+AA+aA+lA)},uA=function(e,t){var n=e.ownerDocument;if(n){var i=n.createElement("style");i.textContent=t,e.appendChild(i)}},hA=function(){function e(){}return e.getOrigin=function(t){var n=e._link;return n?(n.href=t,n.href=n.href,n.protocol+n.hostname+n.port):"about:blank"},e.isSameOrigin=function(t){return e.getOrigin(t)===e._origin},e.setContext=function(t){e._link=t.document.createElement("a"),e._origin=e.getOrigin(t.location.href)},e._origin="about:blank",e}(),dA=function(){function e(e,t){this.context=e,this._options=t,this._cache={}}return e.prototype.addImage=function(e){var t=Promise.resolve();return this.has(e)?t:bA(e)||mA(e)?((this._cache[e]=this.loadImage(e)).catch((function(){})),t):t},e.prototype.match=function(e){return this._cache[e]},e.prototype.loadImage=function(e){return i(this,void 0,void 0,(function(){var t,n,i,o,a=this;return r(this,(function(r){switch(r.label){case 0:return t=hA.isSameOrigin(e),n=!vA(e)&&!0===this._options.useCORS&&_a.SUPPORT_CORS_IMAGES&&!t,i=!vA(e)&&!t&&!bA(e)&&"string"==typeof this._options.proxy&&_a.SUPPORT_CORS_XHR&&!n,t||!1!==this._options.allowTaint||vA(e)||bA(e)||i||n?(o=e,i?[4,this.proxy(o)]:[3,2]):[2];case 1:o=r.sent(),r.label=2;case 2:return this.context.logger.debug("Added image "+e.substring(0,256)),[4,new Promise((function(e,t){var i=new Image;i.onload=function(){return e(i)},i.onerror=t,(yA(o)||n)&&(i.crossOrigin="anonymous"),i.src=o,!0===i.complete&&setTimeout((function(){return e(i)}),500),a._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+a._options.imageTimeout+"ms) loading image")}),a._options.imageTimeout)}))];case 3:return[2,r.sent()]}}))}))},e.prototype.has=function(e){return void 0!==this._cache[e]},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(e){var t=this,n=this._options.proxy;if(!n)throw new Error("No proxy defined");var i=e.substring(0,256);return new Promise((function(r,o){var a=_a.SUPPORT_RESPONSE_TYPE?"blob":"text",s=new XMLHttpRequest;s.onload=function(){if(200===s.status)if("text"===a)r(s.response);else{var e=new FileReader;e.addEventListener("load",(function(){return r(e.result)}),!1),e.addEventListener("error",(function(e){return o(e)}),!1),e.readAsDataURL(s.response)}else o("Failed to proxy resource "+i+" with status code "+s.status)},s.onerror=o;var A=n.indexOf("?")>-1?"&":"?";if(s.open("GET",""+n+A+"url="+encodeURIComponent(e)+"&responseType="+a),"text"!==a&&s instanceof XMLHttpRequest&&(s.responseType=a),t._options.imageTimeout){var l=t._options.imageTimeout;s.timeout=l,s.ontimeout=function(){return o("Timed out ("+l+"ms) proxying "+i)}}s.send()}))},e}(),fA=/^data:image\/svg\+xml/i,pA=/^data:image\/.*;base64,/i,gA=/^data:image\/.*/i,mA=function(e){return _a.SUPPORT_SVG_DRAWING||!wA(e)},vA=function(e){return gA.test(e)},yA=function(e){return pA.test(e)},bA=function(e){return"blob"===e.substr(0,4)},wA=function(e){return"svg"===e.substr(-3).toLowerCase()||fA.test(e)},BA=function(){function e(e,t){this.type=0,this.x=e,this.y=t}return e.prototype.add=function(t,n){return new e(this.x+t,this.y+n)},e}(),CA=function(e,t,n){return new BA(e.x+(t.x-e.x)*n,e.y+(t.y-e.y)*n)},xA=function(){function e(e,t,n,i){this.type=1,this.start=e,this.startControl=t,this.endControl=n,this.end=i}return e.prototype.subdivide=function(t,n){var i=CA(this.start,this.startControl,t),r=CA(this.startControl,this.endControl,t),o=CA(this.endControl,this.end,t),a=CA(i,r,t),s=CA(r,o,t),A=CA(a,s,t);return n?new e(this.start,i,a,A):new e(A,s,o,this.end)},e.prototype.add=function(t,n){return new e(this.start.add(t,n),this.startControl.add(t,n),this.endControl.add(t,n),this.end.add(t,n))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),_A=function(e){return 1===e.type},SA=function(){function e(e){var t=e.styles,n=e.bounds,i=zn(t.borderTopLeftRadius,n.width,n.height),r=i[0],o=i[1],a=zn(t.borderTopRightRadius,n.width,n.height),s=a[0],A=a[1],l=zn(t.borderBottomRightRadius,n.width,n.height),c=l[0],u=l[1],h=zn(t.borderBottomLeftRadius,n.width,n.height),d=h[0],f=h[1],p=[];p.push((r+s)/n.width),p.push((d+c)/n.width),p.push((o+f)/n.height),p.push((A+u)/n.height);var g=Math.max.apply(Math,p);g>1&&(r/=g,o/=g,s/=g,A/=g,c/=g,u/=g,d/=g,f/=g);var m=n.width-s,v=n.height-u,y=n.width-c,b=n.height-f,w=t.borderTopWidth,B=t.borderRightWidth,C=t.borderBottomWidth,x=t.borderLeftWidth,_=Wn(t.paddingTop,e.bounds.width),S=Wn(t.paddingRight,e.bounds.width),k=Wn(t.paddingBottom,e.bounds.width),E=Wn(t.paddingLeft,e.bounds.width);this.topLeftBorderDoubleOuterBox=r>0||o>0?kA(n.left+x/3,n.top+w/3,r-x/3,o-w/3,Ys.TOP_LEFT):new BA(n.left+x/3,n.top+w/3),this.topRightBorderDoubleOuterBox=r>0||o>0?kA(n.left+m,n.top+w/3,s-B/3,A-w/3,Ys.TOP_RIGHT):new BA(n.left+n.width-B/3,n.top+w/3),this.bottomRightBorderDoubleOuterBox=c>0||u>0?kA(n.left+y,n.top+v,c-B/3,u-C/3,Ys.BOTTOM_RIGHT):new BA(n.left+n.width-B/3,n.top+n.height-C/3),this.bottomLeftBorderDoubleOuterBox=d>0||f>0?kA(n.left+x/3,n.top+b,d-x/3,f-C/3,Ys.BOTTOM_LEFT):new BA(n.left+x/3,n.top+n.height-C/3),this.topLeftBorderDoubleInnerBox=r>0||o>0?kA(n.left+2*x/3,n.top+2*w/3,r-2*x/3,o-2*w/3,Ys.TOP_LEFT):new BA(n.left+2*x/3,n.top+2*w/3),this.topRightBorderDoubleInnerBox=r>0||o>0?kA(n.left+m,n.top+2*w/3,s-2*B/3,A-2*w/3,Ys.TOP_RIGHT):new BA(n.left+n.width-2*B/3,n.top+2*w/3),this.bottomRightBorderDoubleInnerBox=c>0||u>0?kA(n.left+y,n.top+v,c-2*B/3,u-2*C/3,Ys.BOTTOM_RIGHT):new BA(n.left+n.width-2*B/3,n.top+n.height-2*C/3),this.bottomLeftBorderDoubleInnerBox=d>0||f>0?kA(n.left+2*x/3,n.top+b,d-2*x/3,f-2*C/3,Ys.BOTTOM_LEFT):new BA(n.left+2*x/3,n.top+n.height-2*C/3),this.topLeftBorderStroke=r>0||o>0?kA(n.left+x/2,n.top+w/2,r-x/2,o-w/2,Ys.TOP_LEFT):new BA(n.left+x/2,n.top+w/2),this.topRightBorderStroke=r>0||o>0?kA(n.left+m,n.top+w/2,s-B/2,A-w/2,Ys.TOP_RIGHT):new BA(n.left+n.width-B/2,n.top+w/2),this.bottomRightBorderStroke=c>0||u>0?kA(n.left+y,n.top+v,c-B/2,u-C/2,Ys.BOTTOM_RIGHT):new BA(n.left+n.width-B/2,n.top+n.height-C/2),this.bottomLeftBorderStroke=d>0||f>0?kA(n.left+x/2,n.top+b,d-x/2,f-C/2,Ys.BOTTOM_LEFT):new BA(n.left+x/2,n.top+n.height-C/2),this.topLeftBorderBox=r>0||o>0?kA(n.left,n.top,r,o,Ys.TOP_LEFT):new BA(n.left,n.top),this.topRightBorderBox=s>0||A>0?kA(n.left+m,n.top,s,A,Ys.TOP_RIGHT):new BA(n.left+n.width,n.top),this.bottomRightBorderBox=c>0||u>0?kA(n.left+y,n.top+v,c,u,Ys.BOTTOM_RIGHT):new BA(n.left+n.width,n.top+n.height),this.bottomLeftBorderBox=d>0||f>0?kA(n.left,n.top+b,d,f,Ys.BOTTOM_LEFT):new BA(n.left,n.top+n.height),this.topLeftPaddingBox=r>0||o>0?kA(n.left+x,n.top+w,Math.max(0,r-x),Math.max(0,o-w),Ys.TOP_LEFT):new BA(n.left+x,n.top+w),this.topRightPaddingBox=s>0||A>0?kA(n.left+Math.min(m,n.width-B),n.top+w,m>n.width+B?0:Math.max(0,s-B),Math.max(0,A-w),Ys.TOP_RIGHT):new BA(n.left+n.width-B,n.top+w),this.bottomRightPaddingBox=c>0||u>0?kA(n.left+Math.min(y,n.width-x),n.top+Math.min(v,n.height-C),Math.max(0,c-B),Math.max(0,u-C),Ys.BOTTOM_RIGHT):new BA(n.left+n.width-B,n.top+n.height-C),this.bottomLeftPaddingBox=d>0||f>0?kA(n.left+x,n.top+Math.min(b,n.height-C),Math.max(0,d-x),Math.max(0,f-C),Ys.BOTTOM_LEFT):new BA(n.left+x,n.top+n.height-C),this.topLeftContentBox=r>0||o>0?kA(n.left+x+E,n.top+w+_,Math.max(0,r-(x+E)),Math.max(0,o-(w+_)),Ys.TOP_LEFT):new BA(n.left+x+E,n.top+w+_),this.topRightContentBox=s>0||A>0?kA(n.left+Math.min(m,n.width+x+E),n.top+w+_,m>n.width+x+E?0:s-x+E,A-(w+_),Ys.TOP_RIGHT):new BA(n.left+n.width-(B+S),n.top+w+_),this.bottomRightContentBox=c>0||u>0?kA(n.left+Math.min(y,n.width-(x+E)),n.top+Math.min(v,n.height+w+_),Math.max(0,c-(B+S)),u-(C+k),Ys.BOTTOM_RIGHT):new BA(n.left+n.width-(B+S),n.top+n.height-(C+k)),this.bottomLeftContentBox=d>0||f>0?kA(n.left+x+E,n.top+b,Math.max(0,d-(x+E)),f-(C+k),Ys.BOTTOM_LEFT):new BA(n.left+x+E,n.top+n.height-(C+k))}return e}();!function(e){e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Ys||(Ys={}));var kA=function(e,t,n,i,r){var o=(Math.sqrt(2)-1)/3*4,a=n*o,s=i*o,A=e+n,l=t+i;switch(r){case Ys.TOP_LEFT:return new xA(new BA(e,l),new BA(e,l-s),new BA(A-a,t),new BA(A,t));case Ys.TOP_RIGHT:return new xA(new BA(e,t),new BA(e+a,t),new BA(A,l-s),new BA(A,l));case Ys.BOTTOM_RIGHT:return new xA(new BA(A,t),new BA(A,t+s),new BA(e+a,l),new BA(e,l));case Ys.BOTTOM_LEFT:default:return new xA(new BA(A,l),new BA(A-a,l),new BA(e,t+s),new BA(e,t))}},EA=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},FA=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},QA=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},UA=function(){function e(e,t,n){this.offsetX=e,this.offsetY=t,this.matrix=n,this.type=0,this.target=6}return e}(),OA=function(){function e(e,t){this.path=e,this.target=t,this.type=1}return e}(),IA=function(){function e(e){this.opacity=e,this.type=2,this.target=6}return e}(),DA=function(e){return 0===e.type},TA=function(e){return 1===e.type},PA=function(e){return 2===e.type},MA=function(e,t){return e.length===t.length&&e.some((function(e,n){return e===t[n]}))},HA=function(e,t,n,i,r){return e.map((function(e,o){switch(o){case 0:return e.add(t,n);case 1:return e.add(t+i,n);case 2:return e.add(t+i,n+r);case 3:return e.add(t,n+r)}return e}))},LA=function(){function e(e){this.element=e,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),NA=function(){function e(e,t){if(this.container=e,this.parent=t,this.effects=[],this.curves=new SA(this.container),this.container.styles.opacity<1&&this.effects.push(new IA(this.container.styles.opacity)),null!==this.container.styles.transform){var n=this.container.bounds.left+this.container.styles.transformOrigin[0].number,i=this.container.bounds.top+this.container.styles.transformOrigin[1].number,r=this.container.styles.transform;this.effects.push(new UA(n,i,r))}if(0!==this.container.styles.overflowX){var o=EA(this.curves),a=QA(this.curves);MA(o,a)?this.effects.push(new OA(o,6)):(this.effects.push(new OA(o,2)),this.effects.push(new OA(a,4)))}}return e.prototype.getEffects=function(e){for(var t=-1===[2,3].indexOf(this.container.styles.position),n=this.parent,i=this.effects.slice(0);n;){var r=n.effects.filter((function(e){return!TA(e)}));if(t||0!==n.container.styles.position||!n.parent){if(i.unshift.apply(i,r),t=-1===[2,3].indexOf(n.container.styles.position),0!==n.container.styles.overflowX){var o=EA(n.curves),a=QA(n.curves);MA(o,a)||i.unshift(new OA(a,6))}}else i.unshift.apply(i,r);n=n.parent}return i.filter((function(t){return ro(t.target,e)}))},e}(),RA=function(e,t,n,i){e.container.elements.forEach((function(r){var o=ro(r.flags,4),a=ro(r.flags,2),s=new NA(r,e);ro(r.styles.display,2048)&&i.push(s);var A=ro(r.flags,8)?[]:i;if(o||a){var l=o||r.styles.isPositioned()?n:t,c=new LA(s);if(r.styles.isPositioned()||r.styles.opacity<1||r.styles.isTransformed()){var u=r.styles.zIndex.order;if(u<0){var h=0;l.negativeZIndex.some((function(e,t){return u>e.element.container.styles.zIndex.order?(h=t,!1):h>0})),l.negativeZIndex.splice(h,0,c)}else if(u>0){var d=0;l.positiveZIndex.some((function(e,t){return u>=e.element.container.styles.zIndex.order?(d=t+1,!1):d>0})),l.positiveZIndex.splice(d,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else r.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);RA(s,c,o?c:n,A)}else r.styles.isInlineLevel()?t.inlineLevel.push(s):t.nonInlineLevel.push(s),RA(s,t,n,A);ro(r.flags,8)&&jA(r,A)}))},jA=function(e,t){for(var n=e instanceof $a?e.start:1,i=e instanceof $a&&e.reversed,r=0;r0&&e.intrinsicHeight>0){var i=JA(e),r=QA(t);this.path(r),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,e.intrinsicWidth,e.intrinsicHeight,i.left,i.top,i.width,i.height),this.ctx.restore()}},n.prototype.renderNodeContent=function(e){return i(this,void 0,void 0,(function(){var t,i,o,s,A,l,c,u,h,d,f,p,g,m,v,y,b,w;return r(this,(function(r){switch(r.label){case 0:this.applyEffects(e.getEffects(4)),t=e.container,i=e.curves,o=t.styles,s=0,A=t.textNodes,r.label=1;case 1:return s0&&x>0&&(v=i.ctx.createPattern(p,"repeat"),i.renderRepeat(b,v,S,k))):Ii(n)&&(y=el(e,t,[null,null,null]),b=y[0],w=y[1],B=y[2],C=y[3],x=y[4],_=0===n.position.length?[Vn]:n.position,S=Wn(_[0],C),k=Wn(_[_.length-1],x),E=wi(n,S,k,C,x),F=E[0],Q=E[1],F>0&&Q>0&&(U=i.ctx.createRadialGradient(w+S,B+k,0,w+S,B+k,F),gi(n.stops,2*F).forEach((function(e){return U.addColorStop(e.stop,ri(e.color))})),i.path(b),i.ctx.fillStyle=U,F!==Q?(O=e.bounds.left+.5*e.bounds.width,I=e.bounds.top+.5*e.bounds.height,T=1/(D=Q/F),i.ctx.save(),i.ctx.translate(O,I),i.ctx.transform(1,0,0,D,0,0),i.ctx.translate(-O,-I),i.ctx.fillRect(w,T*(B-I)+I,C,x*T),i.ctx.restore()):i.ctx.fill())),r.label=6;case 6:return t--,[2]}}))},i=this,o=0,a=e.styles.backgroundImage.slice(0).reverse(),A.label=1;case 1:return o0?2!==l.style?[3,5]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,2)]:[3,11]:[3,13];case 4:return r.sent(),[3,11];case 5:return 3!==l.style?[3,7]:[4,this.renderDashedDottedBorder(l.color,l.width,a,e.curves,3)];case 6:return r.sent(),[3,11];case 7:return 4!==l.style?[3,9]:[4,this.renderDoubleBorder(l.color,l.width,a,e.curves)];case 8:return r.sent(),[3,11];case 9:return[4,this.renderSolidBorder(l.color,a,e.curves)];case 10:r.sent(),r.label=11;case 11:a++,r.label=12;case 12:return s++,[3,3];case 13:return[2]}}))}))},n.prototype.renderDashedDottedBorder=function(e,t,n,o,a){return i(this,void 0,void 0,(function(){var i,s,A,l,c,u,h,d,f,p,g,m,v,y,b,w;return r(this,(function(r){return this.ctx.save(),i=WA(o,n),s=VA(o,n),2===a&&(this.path(s),this.ctx.clip()),_A(s[0])?(A=s[0].start.x,l=s[0].start.y):(A=s[0].x,l=s[0].y),_A(s[1])?(c=s[1].end.x,u=s[1].end.y):(c=s[1].x,u=s[1].y),h=0===n||2===n?Math.abs(A-c):Math.abs(l-u),this.ctx.beginPath(),3===a?this.formatPath(i):this.formatPath(s.slice(0,2)),d=t<3?3*t:2*t,f=t<3?2*t:t,3===a&&(d=t,f=t),p=!0,h<=2*d?p=!1:h<=2*d+f?(d*=g=h/(2*d+f),f*=g):(m=Math.floor((h+f)/(d+f)),v=(h-m*d)/(m-1),f=(y=(h-(m+1)*d)/m)<=0||Math.abs(f-v)n.startX+n.width||t>n.startY+n.height)}var de=function(){function e(e,t){var n=this;this.toolController=null;var i=new Y,r=document.getElementById("textInputPanel");this.toolController=t,e.tabIndex=9999,document.body.addEventListener("keydown",(function(e){i.getTextEditState()?i.setTextEditState(!1):("Escape"===e.code&&n.triggerEvent("close"),"Enter"===e.code&&r&&"block"!==r.style.display&&n.triggerEvent("confirm"),(e.metaKey||e.ctrlKey)&&"KeyZ"===e.code&&n.triggerEvent("undo"))}))}return e.prototype.triggerEvent=function(e){if(null!=this.toolController)for(var t=0;t=i?t:i)-s),c=.5*((n>=r?n:r)-A),u=s+l,h=A+c;if(e.save(),e.beginPath(),e.lineWidth=o,e.strokeStyle=a,"function"!=typeof e.ellipse)throw"你的浏览器不支持ellipse,无法绘制椭圆";e.ellipse(u,h,l,c,0,0,2*Math.PI),e.stroke(),e.closePath(),e.restore()}(t.screenShotCanvas,s,A,i,r,t.data.getPenSize(),t.data.getSelectedColor());break;case"right-top":console.log(t.data.getPenSize()),t.drawArrow.draw(t.screenShotCanvas,i,r,s,A,t.data.getSelectedColor(),t.data.getPenSize());break;case"brush":h=t.screenShotCanvas,d=s,f=A,p=t.data.getPenSize(),g=t.data.getSelectedColor(),h.save(),h.lineWidth=p,h.strokeStyle=g,h.lineTo(d,f),h.stroke(),h.restore();break;case"mosaicPen":!function(e,t,n,i,r){for(var o=window.devicePixelRatio||1,a=r.getImageData(e*o,t*o,n*o,n*o),s=a.width/i,A=a.height/i,l=0;ls&&(g=a*s/m,m=s),g=t.wrcImgPosition.w>0?t.wrcImgPosition.w:g,m=t.wrcImgPosition.h>0?t.wrcImgPosition.h:m,null==u||u.drawImage(t.videoController,t.wrcImgPosition.x,t.wrcImgPosition.y,g,m);var v=s-m;if(t.hiddenScrollBar.state&&v>0&&t.hiddenScrollBar.fillState){u.beginPath();var y=a,b=v;t.hiddenScrollBar.fillWidth>0&&(y=t.hiddenScrollBar.fillWidth),t.hiddenScrollBar.fillHeight>0&&(b=t.hiddenScrollBar.fillHeight),u.rect(0,m,y,b),u.fillStyle=t.hiddenScrollBar.color,u.fill()}}t.initScreenShot(void 0,c,t.screenShotImageController);var w=null,B=null;t.captureStream&&(w=null===(r=t.captureStream.getVideoTracks()[0].getSettings())||void 0===r?void 0:r.displaySurface,B=t.captureStream.getVideoTracks()[0].label),e&&e({code:0,msg:"截图加载完成",displaySurface:w,displayLabel:B}),t.stopCapture()}}}),this.wrcReplyTime)},e.prototype.adjustContainerLevels=function(e){null==this.screenShotContainer||null==this.toolController||null==this.textInputController||null==this.optionIcoController||null==this.optionController||null==this.cutBoxSizeContainer||e<=0||(this.screenShotContainer.style.zIndex="".concat(e),this.toolController.style.zIndex="".concat(e+1),this.textInputController.style.zIndex="".concat(e+1),this.optionIcoController.style.zIndex="".concat(e+1),this.optionController.style.zIndex="".concat(e+1),this.cutBoxSizeContainer.style.zIndex="".concat(e+1))},e.prototype.initCropBox=function(e){var t=e.x,n=e.y,i=e.w,r=e.h;null!=this.screenShotContainer&&(this.drawGraphPosition={startX:t,startY:n,width:i,height:r},this.data.setCutOutBoxPosition(t,n,i,r),q(t,n,i,r,this.screenShotCanvas,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController),this.cutOutBoxBorderArr=le(this.data.getBorderSize(),this.drawGraphPosition),this.screenShotContainer.style.cursor="move",this.data.setToolStatus(!0),this.data.setCutBoxSizeStatus(!0),null!=this.toolController&&this.showToolBar())},e.prototype.getWindowContentData=function(e,t,n,i){var r=document.createElement("canvas");r.width=e,r.height=t;var o=X(r,e,t);if(o){o.drawImage(this.videoController,0,0);var a=t-i,s=n,A=t-a;return o.getImageData(0*this.dpr,a*this.dpr,s*this.dpr,A*this.dpr)}return null},e.prototype.registerContainerShortcuts=function(e){var t=this;e.addEventListener("keydown",(function(n){if(null!=t.screenShotCanvas&&((n.metaKey||n.ctrlKey)&&"Enter"===n.code||"Escape"===n.code)){t.data.setTextEditState(!0);var i=e.innerText;if(!i||""===i)return void t.data.setTextStatus(!1);Z(i,t.textInputPosition.mouseX,t.textInputPosition.mouseY,t.data.getSelectedColor(),t.fontSize,t.screenShotCanvas),e.innerHTML="",t.data.setTextStatus(!1),ee()}}))},e.prototype.showToolBar=function(){if(null!=this.toolController&&null!=this.screenShotContainer){var e=function(e,t,n,i){var r=(e.width-t)/2+e.startX;"left"===i&&(r=e.startX),"right"===i&&(r=e.startX+e.width-t),r<0&&(r=0),r+t>n&&(r=n-t);var o=e.startY+e.height+10;return(e.width<0&&e.height<0||e.width>0&&e.height<0)&&(o=e.startY+10),{mouseX:r,mouseY:o}}(this.drawGraphPosition,this.toolController.offsetWidth,this.screenShotContainer.width/this.dpr,this.placement),t=this.screenShotContainer.height/this.dpr;if(e.mouseY>t-64){if(e.mouseY-=this.drawGraphPosition.height+64,e.mouseY<0){var n=parseInt(this.screenShotContainer.style.height);e.mouseY=n-this.fullScreenDiffHeight}this.data.setToolPositionStatus(!0),this.data.setCutBoxSizeStatus(!1)}if(this.getFullScreenStatus){var i=parseInt(this.screenShotContainer.style.height),r=(this.drawGraphPosition.width/this.dpr-this.toolController.offsetWidth)/2;e.mouseY=i-this.fullScreenDiffHeight,e.mouseX=r}this.data.setToolInfo(e.mouseX+this.position.left,e.mouseY+this.position.top),this.data.setCutBoxSizePosition(this.drawGraphPosition.startX,this.drawGraphPosition.startY-35),this.data.setCutBoxSize(this.drawGraphPosition.width,this.drawGraphPosition.height),this.getFullScreenStatus=!1}},e.prototype.setGlobalParameter=function(){this.screenShotContainer=this.data.getScreenShotContainer(),this.toolController=this.data.getToolController(),this.textInputController=this.data.getTextInputController(),this.optionController=this.data.getOptionController(),this.optionIcoController=this.data.getOptionIcoController(),this.cutBoxSizeContainer=this.data.getCutBoxSizeContainer()},e.prototype.setOptionalParameter=function(e){var t,n;if(!0===(null==e?void 0:e.clickCutFullScreen)&&(this.clickCutFullScreen=!0),null!=(null==e?void 0:e.imgSrc)&&(this.imgSrc=e.imgSrc),!0===(null==e?void 0:e.loadCrossImg)&&(this.loadCrossImg=!0),(null==e?void 0:e.proxyUrl)&&(console.log("有地址",e.proxyUrl),this.proxyUrl=e.proxyUrl),null!=(null==e?void 0:e.position)&&(null!=(null===(t=e.position)||void 0===t?void 0:t.top)&&(this.position.top=e.position.top),null!=(null===(n=e.position)||void 0===n?void 0:n.left)&&(this.position.left=e.position.left)),(null==e?void 0:e.screenShotDom)&&(this.screenShotDom=e.screenShotDom),(null==e?void 0:e.wrcReplyTime)&&(this.wrcReplyTime=e.wrcReplyTime),(null==e?void 0:e.cropBoxInfo)&&(this.cropBoxInfo=e.cropBoxInfo),(null==e?void 0:e.toolPosition)&&(this.placement=e.toolPosition),null==e?void 0:e.wrcImgPosition){var i=e.wrcImgPosition,r=i.x,o=i.y;this.wrcImgPosition.x=-1*Math.abs(r),this.wrcImgPosition.y=-1*Math.abs(o)}if(null!=(null==e?void 0:e.hiddenScrollBar)){var a=e.hiddenScrollBar,s=a.state,A=a.color,l=a.fillWidth,c=a.fillHeight,u=a.fillState;this.hiddenScrollBar={state:s,color:A||"#000000",fillWidth:l||0,fillHeight:c||0,fillState:u||!1},s&&(this.data.setResetScrollbarState(!0),document.documentElement.classList.add("hidden-screen-shot-scroll"),document.body.classList.add("hidden-screen-shot-scroll"))}null!=(null==e?void 0:e.wrcWindowMode)&&(this.wrcWindowMode=e.wrcWindowMode),null!=(null==e?void 0:e.customRightClickEvent)&&(this.customRightClickEvent=e.customRightClickEvent)},e.prototype.operatingCutOutBox=function(e,t,n,i,r,o,a){if(null!=this.screenShotContainer){var s=this.movePosition,A=s.moveStartX,l=s.moveStartY;if(this.cutOutBoxBorderArr.length>0&&!this.data.getDraggingTrim()){var c=!1;a.beginPath();for(var u=0;uf&&(h=f-r),d+o>p&&(d=p-o),this.tempGraphPosition=q(h,d,r,o,a,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController)}else{var g=function(e,t,n,i,r,o,a){switch(a){case 2:return{tempStartX:n,tempStartY:t-(i+o)>0?i+o:t,tempWidth:r,tempHeight:re(o-(t-i))};case 3:return{tempStartX:n,tempStartY:i,tempWidth:r,tempHeight:re(t-i)};case 4:return{tempStartX:e-(n+r)>0?n+r:e,tempStartY:i,tempWidth:re(r-(e-n)),tempHeight:o};case 5:return{tempStartX:n,tempStartY:i,tempWidth:re(e-n),tempHeight:o};case 6:return{tempStartX:e-(n+r)>0?n+r:e,tempStartY:t-(i+o)>0?i+o:t,tempWidth:re(r-(e-n)),tempHeight:re(o-(t-i))};case 7:return{tempStartX:n,tempStartY:i,tempWidth:re(e-n),tempHeight:re(t-i)};case 8:return{tempStartX:n,tempStartY:t-(i+o)>0?i+o:t,tempWidth:re(e-n),tempHeight:re(o-(t-i))};case 9:return{tempStartX:e-(n+r)>0?n+r:e,tempStartY:i,tempWidth:re(r-(e-n)),tempHeight:re(t-i)}}}(e,t,n,i,r,o,this.borderOption),m=g.tempStartX,v=g.tempStartY,y=g.tempWidth,b=g.tempHeight;this.tempGraphPosition=q(m,v,y,b,a,this.data.getBorderSize(),this.screenShotContainer,this.screenShotImageController)}}},e.prototype.showLastHistory=function(){if(null!=this.screenShotCanvas){var e=this.screenShotCanvas;this.data.getHistory().length<=0&&ee(),e.putImageData(this.data.getHistory()[this.data.getHistory().length-1].data,0,0)}},e.prototype.drawPictures=function(e,t,n){var i=this,r=new Image;r.src=n,r.crossOrigin="Anonymous",r.onload=function(){var n;null!=i.screenShotContainer&&(null===(n=i.screenShotImageController.getContext("2d"))||void 0===n||n.drawImage(r,0,0,i.screenShotImageController.width,i.screenShotImageController.height),i.initScreenShot(e,t,i.screenShotImageController))}},e.prototype.initScreenShot=function(e,t,n){var i,r,o;null!=e&&e({code:0,msg:"截图加载完成"}),this.screenShotCanvas=t,this.data.setScreenShotImageController(n),function(e,t){var n=new B,i=new B,r=i.getCanvasSize(),o={width:parseFloat(window.getComputedStyle(document.body).width),height:parseFloat(window.getComputedStyle(document.body).height)},a=Math.max(o.width||0,Math.max(document.body.scrollWidth,document.documentElement.scrollWidth),Math.max(document.body.offsetWidth,document.documentElement.offsetWidth),Math.max(document.body.clientWidth,document.documentElement.clientWidth)),s=Math.max(o.height||0,Math.max(document.body.scrollHeight,document.documentElement.scrollHeight),Math.max(document.body.offsetHeight,document.documentElement.offsetHeight),Math.max(document.body.clientHeight,document.documentElement.clientHeight));e.clearRect(0,0,a,s),null!=t&&i.getShowScreenDataStatus()&&(0!==r.canvasWidth&&0!==r.canvasHeight?e.drawImage(t,0,0,r.canvasWidth,r.canvasHeight):e.drawImage(t,0,0,a,s)),e.save();var A=n.getMaskColor();e.fillStyle="rgba(0, 0, 0, .6)",A&&(e.fillStyle="rgba(".concat(A.r,", ").concat(A.g,", ").concat(A.b,", ").concat(A.a,")")),0!==r.canvasWidth&&0!==r.canvasHeight?e.fillRect(0,0,r.canvasWidth,r.canvasHeight):e.fillRect(0,0,a,s),e.restore()}(t,n),null===(i=this.screenShotContainer)||void 0===i||i.addEventListener("mousedown",this.mouseDownEvent),null===(r=this.screenShotContainer)||void 0===r||r.addEventListener("mousemove",this.mouseMoveEvent),null===(o=this.screenShotContainer)||void 0===o||o.addEventListener("mouseup",this.mouseUpEvent),null!=this.cropBoxInfo&&4==Object.keys(this.cropBoxInfo).length&&this.initCropBox(this.cropBoxInfo)},e}()},4462:function(e,t,n){n(7658),function(n,i){e.exports&&(t=e.exports=i(n,t))}(this,(function(e,t){"use strict";return Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length>>>0,n=Number(arguments[1])||0;for(n=n<0?Math.ceil(n):Math.floor(n),n<0&&(n+=t);n-1)return null;try{a.push(n),r=JSON.stringify({data:a}),localStorage.setItem(o,r)}catch(s){console.log(s),console&&console.warn("Lockr didn't successfully add the "+n+" to "+e+" set, because the localStorage is full.")}},t.smembers=function(e,t){var n,i=this._getPrefixedKey(e,t);try{n=JSON.parse(localStorage.getItem(i))}catch(r){n=null}return n&&n.data?n.data:[]},t.sismember=function(e,n,i){return t.smembers(e).indexOf(n)>-1},t.keys=function(){var e=[],n=Object.keys(localStorage);return 0===t.prefix.length?n:(n.forEach((function(n){-1!==n.indexOf(t.prefix)&&e.push(n.replace(t.prefix,""))})),e)},t.getAll=function(e){var n=t.keys();return e?n.reduce((function(e,n){var i={};return i[n]=t.get(n),e.push(i),e}),[]):n.map((function(e){return t.get(e)}))},t.srem=function(e,n,i){var r,o,a=this._getPrefixedKey(e,i),s=t.smembers(e,n);o=s.indexOf(n),o>-1&&s.splice(o,1),r=JSON.stringify({data:s});try{localStorage.setItem(a,r)}catch(A){console&&console.warn("Lockr couldn't remove the "+n+" from the set "+e)}},t.rm=function(e){var t=this._getPrefixedKey(e);localStorage.removeItem(t)},t.flush=function(){t.prefix.length?t.keys().forEach((function(e){localStorage.removeItem(t._getPrefixedKey(e))})):localStorage.clear()},t}))},4451:function(e,t,n){e.exports=n(9981)},1119:function(e){"use strict";var t=!("undefined"===typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},7490:function(e){var t,n,i,r,o,a,s,A,l,c,u,h,d,f,p,g=!1;function m(){if(!g){g=!0;var e=navigator.userAgent,m=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),v=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(h=/\b(iPhone|iP[ao]d)/.exec(e),d=/\b(iP[ao]d)/.exec(e),c=/Android/i.exec(e),f=/FBAN\/\w+;/i.exec(e),p=/Mobile/i.exec(e),u=!!/Win64/.exec(e),m){t=m[1]?parseFloat(m[1]):m[5]?parseFloat(m[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);a=y?parseFloat(y[1])+4:t,n=m[2]?parseFloat(m[2]):NaN,i=m[3]?parseFloat(m[3]):NaN,r=m[4]?parseFloat(m[4]):NaN,r?(m=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=m&&m[1]?parseFloat(m[1]):NaN):o=NaN}else t=n=i=o=r=NaN;if(v){if(v[1]){var b=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);s=!b||parseFloat(b[1].replace("_","."))}else s=!1;A=!!v[2],l=!!v[3]}else s=A=l=!1}}var v={ie:function(){return m()||t},ieCompatibilityMode:function(){return m()||a>t},ie64:function(){return v.ie()&&u},firefox:function(){return m()||n},opera:function(){return m()||i},webkit:function(){return m()||r},safari:function(){return v.webkit()},chrome:function(){return m()||o},windows:function(){return m()||A},osx:function(){return m()||s},linux:function(){return m()||l},iphone:function(){return m()||h},mobile:function(){return m()||h||d||c||p},nativeApp:function(){return m()||f},android:function(){return m()||c},ipad:function(){return m()||d}};e.exports=v},4935:function(e,t,n){"use strict";var i,r=n(1119); +/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ +function o(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}r.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},9981:function(e,t,n){"use strict";var i=n(7490),r=n(4935),o=10,a=40,s=800;function A(e){var t=0,n=0,i=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=t*o,r=n*o,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||r)&&e.deltaMode&&(1==e.deltaMode?(i*=a,r*=a):(i*=s,r*=s)),i&&!t&&(t=i<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:r}}A.getEventType=function(){return i.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=A},530:function(e,t,n){var i,r;n(7658),function(o,a){i=a,r="function"===typeof i?i.call(t,n,t,e):i,void 0===r||(e.exports=r)}(0,(function(){var e={version:"0.2.0"},t=e.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'
'};function n(e,t,n){return en?n:e}function i(e){return 100*(-1+e)}function r(e,n,r){var o;return o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"},o.transition="all "+n+"ms "+r,o}e.configure=function(e){var n,i;for(n in e)i=e[n],void 0!==i&&e.hasOwnProperty(n)&&(t[n]=i);return this},e.status=null,e.set=function(i){var s=e.isStarted();i=n(i,t.minimum,1),e.status=1===i?null:i;var A=e.render(!s),l=A.querySelector(t.barSelector),c=t.speed,u=t.easing;return A.offsetWidth,o((function(n){""===t.positionUsing&&(t.positionUsing=e.getPositioningCSS()),a(l,r(i,c,u)),1===i?(a(A,{transition:"none",opacity:1}),A.offsetWidth,setTimeout((function(){a(A,{transition:"all "+c+"ms linear",opacity:0}),setTimeout((function(){e.remove(),n()}),c)}),c)):setTimeout(n,c)})),this},e.isStarted=function(){return"number"===typeof e.status},e.start=function(){e.status||e.set(0);var n=function(){setTimeout((function(){e.status&&(e.trickle(),n())}),t.trickleSpeed)};return t.trickle&&n(),this},e.done=function(t){return t||e.status?e.inc(.3+.5*Math.random()).set(1):this},e.inc=function(t){var i=e.status;return i?("number"!==typeof t&&(t=(1-i)*n(Math.random()*i,.1,.95)),i=n(i+t,0,.994),e.set(i)):e.start()},e.trickle=function(){return e.inc(Math.random()*t.trickleRate)},function(){var t=0,n=0;e.promise=function(i){return i&&"resolved"!==i.state()?(0===n&&e.start(),t++,n++,i.always((function(){n--,0===n?(t=0,e.done()):e.set((t-n)/t)})),this):this}}(),e.render=function(n){if(e.isRendered())return document.getElementById("nprogress");A(document.documentElement,"nprogress-busy");var r=document.createElement("div");r.id="nprogress",r.innerHTML=t.template;var o,s=r.querySelector(t.barSelector),l=n?"-100":i(e.status||0),c=document.querySelector(t.parent);return a(s,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(o=r.querySelector(t.spinnerSelector),o&&u(o)),c!=document.body&&A(c,"nprogress-custom-parent"),c.appendChild(r),r},e.remove=function(){l(document.documentElement,"nprogress-busy"),l(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&u(e)},e.isRendered=function(){return!!document.getElementById("nprogress")},e.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var o=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),a=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function i(t){var n=document.body.style;if(t in n)return t;var i,r=e.length,o=t.charAt(0).toUpperCase()+t.slice(1);while(r--)if(i=e[r]+o,i in n)return i;return t}function r(e){return e=n(e),t[e]||(t[e]=i(e))}function o(e,t,n){t=r(t),e.style[t]=n}return function(e,t){var n,i,r=arguments;if(2==r.length)for(n in t)i=t[n],void 0!==i&&t.hasOwnProperty(n)&&o(e,n,i);else o(e,r[1],r[2])}}();function s(e,t){var n="string"==typeof e?e:c(e);return n.indexOf(" "+t+" ")>=0}function A(e,t){var n=c(e),i=n+t;s(n,t)||(e.className=i.substring(1))}function l(e,t){var n,i=c(e);s(e,t)&&(n=i.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function c(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function u(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return e}))},5812:function(e,t,n){n(7658);var i="function"===typeof Map&&Map.prototype,r=Object.getOwnPropertyDescriptor&&i?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=i&&r&&"function"===typeof r.get?r.get:null,a=i&&Map.prototype.forEach,s="function"===typeof Set&&Set.prototype,A=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&A&&"function"===typeof A.get?A.get:null,c=s&&Set.prototype.forEach,u="function"===typeof WeakMap&&WeakMap.prototype,h=u?WeakMap.prototype.has:null,d="function"===typeof WeakSet&&WeakSet.prototype,f=d?WeakSet.prototype.has:null,p="function"===typeof WeakRef&&WeakRef.prototype,g=p?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,v=Object.prototype.toString,y=Function.prototype.toString,b=String.prototype.match,w=String.prototype.slice,B=String.prototype.replace,C=String.prototype.toUpperCase,x=String.prototype.toLowerCase,_=RegExp.prototype.test,S=Array.prototype.concat,k=Array.prototype.join,E=Array.prototype.slice,F=Math.floor,Q="function"===typeof BigInt?BigInt.prototype.valueOf:null,U=Object.getOwnPropertySymbols,O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?Symbol.prototype.toString:null,I="function"===typeof Symbol&&"object"===typeof Symbol.iterator,D="function"===typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===I||"symbol")?Symbol.toStringTag:null,T=Object.prototype.propertyIsEnumerable,P=("function"===typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"===typeof e){var i=e<0?-F(-e):F(e);if(i!==e){var r=String(i),o=w.call(t,r.length+1);return B.call(r,n,"$&_")+"."+B.call(B.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return B.call(t,n,"$&_")}var H=n(4654),L=H.custom,N=X(L)?L:null;function R(e,t,n){var i="double"===(n.quoteStyle||t)?'"':"'";return i+e+i}function j(e){return B.call(String(e),/"/g,""")}function $(e){return"[object Array]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function V(e){return"[object Date]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function K(e){return"[object RegExp]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function z(e){return"[object Error]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function W(e){return"[object String]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function G(e){return"[object Number]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function Y(e){return"[object Boolean]"===ee(e)&&(!D||!("object"===typeof e&&D in e))}function X(e){if(I)return e&&"object"===typeof e&&e instanceof Symbol;if("symbol"===typeof e)return!0;if(!e||"object"!==typeof e||!O)return!1;try{return O.call(e),!0}catch(t){}return!1}function J(e){if(!e||"object"!==typeof e||!Q)return!1;try{return Q.call(e),!0}catch(t){}return!1}e.exports=function e(t,n,i,r){var s=n||{};if(Z(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Z(s,"maxStringLength")&&("number"===typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var A=!Z(s,"customInspect")||s.customInspect;if("boolean"!==typeof A&&"symbol"!==A)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Z(s,"indent")&&null!==s.indent&&"\t"!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Z(s,"numericSeparator")&&"boolean"!==typeof s.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=s.numericSeparator;if("undefined"===typeof t)return"undefined";if(null===t)return"null";if("boolean"===typeof t)return t?"true":"false";if("string"===typeof t)return le(t,s);if("number"===typeof t){if(0===t)return 1/0/t>0?"0":"-0";var h=String(t);return u?M(t,h):h}if("bigint"===typeof t){var d=String(t)+"n";return u?M(t,d):d}var f="undefined"===typeof s.depth?5:s.depth;if("undefined"===typeof i&&(i=0),i>=f&&f>0&&"object"===typeof t)return $(t)?"[Array]":"[Object]";var p=pe(s,i);if("undefined"===typeof r)r=[];else if(ne(r,t)>=0)return"[Circular]";function g(t,n,o){if(n&&(r=E.call(r),r.push(n)),o){var a={depth:s.depth};return Z(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,i+1,r)}return e(t,s,i+1,r)}if("function"===typeof t&&!K(t)){var v=te(t),y=me(t,g);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(y.length>0?" { "+k.call(y,", ")+" }":"")}if(X(t)){var b=I?B.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!==typeof t||I?b:ue(b)}if(Ae(t)){for(var C="<"+x.call(String(t.nodeName)),_=t.attributes||[],F=0;F<_.length;F++)C+=" "+_[F].name+"="+R(j(_[F].value),"double",s);return C+=">",t.childNodes&&t.childNodes.length&&(C+="..."),C+="",C}if($(t)){if(0===t.length)return"[]";var U=me(t,g);return p&&!fe(U)?"["+ge(U,p)+"]":"[ "+k.call(U,", ")+" ]"}if(z(t)){var L=me(t,g);return"cause"in Error.prototype||!("cause"in t)||T.call(t,"cause")?0===L.length?"["+String(t)+"]":"{ ["+String(t)+"] "+k.call(L,", ")+" }":"{ ["+String(t)+"] "+k.call(S.call("[cause]: "+g(t.cause),L),", ")+" }"}if("object"===typeof t&&A){if(N&&"function"===typeof t[N]&&H)return H(t,{depth:f-i});if("symbol"!==A&&"function"===typeof t.inspect)return t.inspect()}if(ie(t)){var q=[];return a.call(t,(function(e,n){q.push(g(n,t,!0)+" => "+g(e,t))})),de("Map",o.call(t),q,p)}if(ae(t)){var ce=[];return c.call(t,(function(e){ce.push(g(e,t))})),de("Set",l.call(t),ce,p)}if(re(t))return he("WeakMap");if(se(t))return he("WeakSet");if(oe(t))return he("WeakRef");if(G(t))return ue(g(Number(t)));if(J(t))return ue(g(Q.call(t)));if(Y(t))return ue(m.call(t));if(W(t))return ue(g(String(t)));if(!V(t)&&!K(t)){var ve=me(t,g),ye=P?P(t)===Object.prototype:t instanceof Object||t.constructor===Object,be=t instanceof Object?"":"null prototype",we=!ye&&D&&Object(t)===t&&D in t?w.call(ee(t),8,-1):be?"Object":"",Be=ye||"function"!==typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"",Ce=Be+(we||be?"["+k.call(S.call([],we||[],be||[]),": ")+"] ":"");return 0===ve.length?Ce+"{}":p?Ce+"{"+ge(ve,p)+"}":Ce+"{ "+k.call(ve,", ")+" }"}return String(t)};var q=Object.prototype.hasOwnProperty||function(e){return e in this};function Z(e,t){return q.call(e,t)}function ee(e){return v.call(e)}function te(e){if(e.name)return e.name;var t=b.call(y.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function ne(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,i=e.length;nt.maxStringLength){var n=e.length-t.maxStringLength,i="... "+n+" more character"+(n>1?"s":"");return le(w.call(e,0,t.maxStringLength),t)+i}var r=B.call(B.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ce);return R(r,"single",t)}function ce(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+C.call(t.toString(16))}function ue(e){return"Object("+e+")"}function he(e){return e+" { ? }"}function de(e,t,n,i){var r=i?ge(n,i):k.call(n,", ");return e+" ("+t+") {"+r+"}"}function fe(e){for(var t=0;t=0)return!1;return!0}function pe(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"===typeof e.indent&&e.indent>0))return null;n=k.call(Array(e.indent+1)," ")}return{base:n,prev:k.call(Array(t+1),n)}}function ge(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+k.call(e,","+n)+"\n"+t.prev}function me(e,t){var n=$(e),i=[];if(n){i.length=e.length;for(var r=0;r-1?e.split(","):e},l="utf8=%26%2310003%3B",c="utf8=%E2%9C%93",u=function(e,t){var n,u={},h=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=h.split(t.delimiter,d),p=-1,g=t.charset;if(t.charsetSentinel)for(n=0;n-1&&(v=o(v)?[v]:v),r.call(u,m)?u[m]=i.combine(u[m],v):u[m]=v}return u},h=function(e,t,n,i){for(var r=i?t:A(t,n),o=e.length-1;o>=0;--o){var a,s=e[o];if("[]"===s&&n.parseArrays)a=[].concat(r);else{a=n.plainObjects?Object.create(null):{};var l="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(l,10);n.parseArrays||""!==l?!isNaN(c)&&s!==l&&String(c)===l&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(a=[],a[c]=r):"__proto__"!==l&&(a[l]=r):a={0:r}}r=a}return r},d=function(e,t,n,i){if(e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,A=n.depth>0&&a.exec(o),l=A?o.slice(0,A.index):o,c=[];if(l){if(!n.plainObjects&&r.call(Object.prototype,l)&&!n.allowPrototypes)return;c.push(l)}var u=0;while(n.depth>0&&null!==(A=s.exec(o))&&u0?_.join(",")||null:void 0}];else if(A(d))D=d;else{var P=Object.keys(_);D=m?P.sort(m):P}for(var M=a&&A(_)&&1===_.length?n+"[]":n,H=0;H0?b+y:""}},2898:function(e,t,n){"use strict";n(7658);var i=n(9734),r=Object.prototype.hasOwnProperty,o=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){while(e.length>1){var t=e.pop(),n=t.obj[t.prop];if(o(n)){for(var i=[],r=0;r=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===i.RFC1738&&(40===c||41===c)?A+=s.charAt(l):c<128?A+=a[c]:c<2048?A+=a[192|c>>6]+a[128|63&c]:c<55296||c>=57344?A+=a[224|c>>12]+a[128|c>>6&63]+a[128|63&c]:(l+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(l)),A+=a[240|c>>18]+a[128|c>>12&63]+a[128|c>>6&63]+a[128|63&c])}return A},d=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],i=0;i0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=c.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),d=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),F="undefined"!==typeof WeakMap?new WeakMap:new i,Q=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=h.getInstance(),i=new E(t,n,this);F.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){Q.prototype[e]=function(){var t;return(t=F.get(this))[e].apply(t,arguments)}}));var U=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:Q}();t["default"]=U},4525:function(e,t,n){"use strict";var i=n(8692),r=n(5477),o=n(5812),a=i("%TypeError%"),s=i("%WeakMap%",!0),A=i("%Map%",!0),l=r("WeakMap.prototype.get",!0),c=r("WeakMap.prototype.set",!0),u=r("WeakMap.prototype.has",!0),h=r("Map.prototype.get",!0),d=r("Map.prototype.set",!0),f=r("Map.prototype.has",!0),p=function(e,t){for(var n,i=e;null!==(n=i.next);i=n)if(n.key===t)return i.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){var n=p(e,t);return n&&n.value},m=function(e,t,n){var i=p(e,t);i?i.value=n:e.next={key:t,next:e.next,value:n}},v=function(e,t){return!!p(e,t)};e.exports=function(){var e,t,n,i={assert:function(e){if(!i.has(e))throw new a("Side channel does not contain "+o(e))},get:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return l(e,i)}else if(A){if(t)return h(t,i)}else if(n)return g(n,i)},has:function(i){if(s&&i&&("object"===typeof i||"function"===typeof i)){if(e)return u(e,i)}else if(A){if(t)return f(t,i)}else if(n)return v(n,i);return!1},set:function(i,r){s&&i&&("object"===typeof i||"function"===typeof i)?(e||(e=new s),c(e,i,r)):A?(t||(t=new A),d(t,i,r)):(n||(n={key:{},next:null}),m(n,i,r))}};return i}},8973:function(e,t,n){var i=n(2895);e.exports=function(e,t,n){return void 0===n?i(e,t,!1):i(e,n,!1!==t)}},9070:function(e,t,n){var i=n(2895),r=n(8973);e.exports={throttle:i,debounce:r}},2895:function(e){e.exports=function(e,t,n,i){var r,o=0;function a(){var a=this,s=Number(new Date)-o,A=arguments;function l(){o=Number(new Date),n.apply(a,A)}function c(){r=void 0}i&&!r&&l(),r&&clearTimeout(r),void 0===i&&s>e?l():!0!==t&&(r=setTimeout(i?c:l,void 0===i?e-s:e))}return"boolean"!==typeof t&&(i=n,n=t,t=void 0),a}},5602:function(e){!function(t,n){e.exports=n()}(0,(function(){return function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){var t=void 0;if("string"!=typeof e)try{t=JSON.stringify(e)}catch(e){throw"Failed to copy value to clipboard. Unknown type."}else t=e;var n=document.createElement("textarea");if(n.value=t,n.setAttribute("readonly",""),n.style.cssText="position:fixed;pointer-events:none;z-index:-9999;opacity:0;",document.body.appendChild(n),navigator.userAgent.match(/ipad|ipod|iphone/i)){n.contentEditable=!0,n.readOnly=!0;var i=document.createRange();i.selectNodeContents(n);var r=window.getSelection();r.removeAllRanges(),r.addRange(i),n.setSelectionRange(0,999999)}else n.select();var o=!1;try{o=document.execCommand("copy")}catch(e){console.warn(e)}return document.body.removeChild(n),o};t.default={install:function(e){e.prototype.$clipboard=i;var t=function(e){return function(){return"$"+e++}}(1),n={},r=function(e){e&&(n[e]=null,delete n[e])},o=function(e){var i=t();return n[i]=e,i};e.directive("clipboard",{bind:function(e,t){var r=t.arg,a=t.value;switch(r){case"error":var s=o(a);return void(e.dataset.clipboardErrorHandler=s);case"success":var A=o(a);return void(e.dataset.clipboardSuccessHandler=A);default:var l=function(r){if(t.hasOwnProperty("value")){var o={value:"function"==typeof a?a():a,event:r},s=i(o.value)?e.dataset.clipboardSuccessHandler:e.dataset.clipboardErrorHandler,A=n[s];A&&A(o)}},c=o(l);return e.dataset.clipboardClickHandler=c,void e.addEventListener("click",n[c])}},unbind:function(e){var t=e.dataset,i=t.clipboardSuccessHandler,o=t.clipboardErrorHandler,a=t.clipboardClickHandler;r(i),r(o),a&&(e.removeEventListener("click",n[a]),r(a))}})}}}])}))},2484:function(e,t,n){n(7658),n(2801),n(2087),function(t,n){e.exports=n()}("undefined"!==typeof self&&self,(function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="fb15")}({"014b":function(e,t,n){"use strict";var i=n("e53d"),r=n("07e3"),o=n("8e60"),a=n("63b6"),s=n("9138"),A=n("ebfd").KEY,l=n("294c"),c=n("dbdb"),u=n("45f2"),h=n("62a0"),d=n("5168"),f=n("ccb9"),p=n("6718"),g=n("47ee"),m=n("9003"),v=n("e4ae"),y=n("f772"),b=n("241e"),w=n("36c3"),B=n("1bc3"),C=n("aebd"),x=n("a159"),_=n("0395"),S=n("bf0b"),k=n("9aa9"),E=n("d9f6"),F=n("c3a1"),Q=S.f,U=E.f,O=_.f,I=i.Symbol,D=i.JSON,T=D&&D.stringify,P="prototype",M=d("_hidden"),H=d("toPrimitive"),L={}.propertyIsEnumerable,N=c("symbol-registry"),R=c("symbols"),j=c("op-symbols"),$=Object[P],V="function"==typeof I&&!!k.f,K=i.QObject,z=!K||!K[P]||!K[P].findChild,W=o&&l((function(){return 7!=x(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Q($,t);i&&delete $[t],U(e,t,n),i&&e!==$&&U($,t,i)}:U,G=function(e){var t=R[e]=x(I[P]);return t._k=e,t},Y=V&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,n){return e===$&&X(j,t,n),v(e),t=B(t,!0),v(n),r(R,t)?(n.enumerable?(r(e,M)&&e[M][t]&&(e[M][t]=!1),n=x(n,{enumerable:C(0,!1)})):(r(e,M)||U(e,M,C(1,{})),e[M][t]=!0),W(e,t,n)):U(e,t,n)},J=function(e,t){v(e);var n,i=g(t=w(t)),r=0,o=i.length;while(o>r)X(e,n=i[r++],t[n]);return e},q=function(e,t){return void 0===t?x(e):J(x(e),t)},Z=function(e){var t=L.call(this,e=B(e,!0));return!(this===$&&r(R,e)&&!r(j,e))&&(!(t||!r(this,e)||!r(R,e)||r(this,M)&&this[M][e])||t)},ee=function(e,t){if(e=w(e),t=B(t,!0),e!==$||!r(R,t)||r(j,t)){var n=Q(e,t);return!n||!r(R,t)||r(e,M)&&e[M][t]||(n.enumerable=!0),n}},te=function(e){var t,n=O(w(e)),i=[],o=0;while(n.length>o)r(R,t=n[o++])||t==M||t==A||i.push(t);return i},ne=function(e){var t,n=e===$,i=O(n?j:w(e)),o=[],a=0;while(i.length>a)!r(R,t=i[a++])||n&&!r($,t)||o.push(R[t]);return o};V||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(j,n),r(this,M)&&r(this[M],e)&&(this[M][e]=!1),W(this,e,C(1,n))};return o&&z&&W($,e,{configurable:!0,set:t}),G(e)},s(I[P],"toString",(function(){return this._k})),S.f=ee,E.f=X,n("6abf").f=_.f=te,n("355d").f=Z,k.f=ne,o&&!n("b8e3")&&s($,"propertyIsEnumerable",Z,!0),f.f=function(e){return G(d(e))}),a(a.G+a.W+a.F*!V,{Symbol:I});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=F(d.store),ae=0;oe.length>ae;)p(oe[ae++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return r(N,e+="")?N[e]:N[e]=I(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!V,"Object",{create:q,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l((function(){k.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return k.f(b(e))}}),D&&a(a.S+a.F*(!V||l((function(){var e=I();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(y(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,T.apply(D,i)}}),I[P][H]||n("35e8")(I[P],H,I[P].valueOf),u(I,"Symbol"),u(Math,"Math",!0),u(i.JSON,"JSON",!0)},"01f9":function(e,t,n){"use strict";var i=n("2d00"),r=n("5ca1"),o=n("2aba"),a=n("32e9"),s=n("84f2"),A=n("41a0"),l=n("7f20"),c=n("38fd"),u=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",p="values",g=function(){return this};e.exports=function(e,t,n,m,v,y,b){A(n,t,m);var w,B,C,x=function(e){if(!h&&e in E)return E[e];switch(e){case f:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S=v==p,k=!1,E=e.prototype,F=E[u]||E[d]||v&&E[v],Q=F||x(v),U=v?S?x("entries"):Q:void 0,O="Array"==t&&E.entries||F;if(O&&(C=c(O.call(new e)),C!==Object.prototype&&C.next&&(l(C,_,!0),i||"function"==typeof C[u]||a(C,u,g))),S&&F&&F.name!==p&&(k=!0,Q=function(){return F.call(this)}),i&&!b||!h&&!k&&E[u]||a(E,u,Q),s[t]=Q,s[_]=g,v)if(w={values:S?Q:x(p),keys:y?Q:x(f),entries:U},b)for(B in w)B in E||o(E,B,w[B]);else r(r.P+r.F*(h||k),t,w);return w}},"02f4":function(e,t,n){var i=n("4588"),r=n("be13");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),A=i(n),l=s.length;return A<0||A>=l?e?"":void 0:(o=s.charCodeAt(A),o<55296||o>56319||A+1===l||(a=s.charCodeAt(A+1))<56320||a>57343?e?s.charAt(A):o:e?s.slice(A,A+2):a-56320+(o-55296<<10)+65536)}}},"0390":function(e,t,n){"use strict";var i=n("02f4")(!0);e.exports=function(e,t,n){return t+(n?i(e,t).length:1)}},"0395":function(e,t,n){var i=n("36c3"),r=n("6abf").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},"07e3":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"0bfb":function(e,t,n){"use strict";var i=n("cb7c");e.exports=function(){var e=i(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},"0d58":function(e,t,n){var i=n("ce10"),r=n("e11e");e.exports=Object.keys||function(e){return i(e,r)}},"0fc9":function(e,t,n){var i=n("3a38"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},1169:function(e,t,n){var i=n("2d95");e.exports=Array.isArray||function(e){return"Array"==i(e)}},"11e9":function(e,t,n){var i=n("52a7"),r=n("4630"),o=n("6821"),a=n("6a99"),s=n("69a8"),A=n("c69a"),l=Object.getOwnPropertyDescriptor;t.f=n("9e1e")?l:function(e,t){if(e=o(e),t=a(t,!0),A)try{return l(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},1495:function(e,t,n){var i=n("86cc"),r=n("cb7c"),o=n("0d58");e.exports=n("9e1e")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,A=0;while(s>A)i.f(e,n=a[A++],t[n]);return e}},1654:function(e,t,n){"use strict";var i=n("71c1")(!0);n("30f1")(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=i(t,n),this._i+=e.length,{value:e,done:!1})}))},1691:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},"17b2":function(e,t,n){var i=n("f504");"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var r=n("499e").default;r("f1f1a1ae",i,!0,{sourceMap:!1,shadowMode:!1})},1991:function(e,t,n){var i,r,o,a=n("9b43"),s=n("31f4"),A=n("fab2"),l=n("230e"),c=n("7726"),u=c.process,h=c.setImmediate,d=c.clearImmediate,f=c.MessageChannel,p=c.Dispatch,g=0,m={},v="onreadystatechange",y=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},b=function(e){y.call(e.data)};h&&d||(h=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return m[++g]=function(){s("function"==typeof e?e:Function(e),t)},i(g),g},d=function(e){delete m[e]},"process"==n("2d95")(u)?i=function(e){u.nextTick(a(y,e,1))}:p&&p.now?i=function(e){p.now(a(y,e,1))}:f?(r=new f,o=r.port2,r.port1.onmessage=b,i=a(o.postMessage,o,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(i=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):i=v in l("script")?function(e){A.appendChild(l("script"))[v]=function(){A.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:h,clear:d}},"1a26":function(e,t,n){"use strict";n.r(t),n.d(t,"api",(function(){return i}));n("4917"),n("ac4d"),n("8a81"),n("ac6a"),n("28a5"),n("f559");var i={isGradient:function(e){return!(!e||!e.startsWith("linear")&&!e.startsWith("radial"))},doGradient:function(e,t,n,i){e.startsWith("linear")?s(t,n,e,i):e.startsWith("radial")&&o(t,n,e,i)}};function r(e){var t=e.substring(0,e.length-1).split("%,"),n=[],i=[],r=!0,o=!1,a=void 0;try{for(var s,A=t[Symbol.iterator]();!(r=(s=A.next()).done);r=!0){var l=s.value;n.push(l.substring(0,l.lastIndexOf(" ")).trim()),i.push(l.substring(l.lastIndexOf(" "),l.length)/100)}}catch(c){o=!0,a=c}finally{try{r||null==A.return||A.return()}finally{if(o)throw a}}return{colors:n,percents:i}}function o(e,t,n,i){for(var o=r(n.match(/radial-gradient\((.+)\)/)[1]),a=i.createRadialGradient(0,0,0,0,0,e0&&r[1]<90?(a=t/2-(t/2*Math.tan((90-r[1])*Math.PI*2/360)-n/2)*Math.sin(2*(90-r[1])*Math.PI*2/360)/2,l=Math.tan((90-r[1])*Math.PI*2/360)*a,A=-a,s=-l):r[1]>-180&&r[1]<-90?(a=-t/2+(t/2*Math.tan((90-r[1])*Math.PI*2/360)-n/2)*Math.sin(2*(90-r[1])*Math.PI*2/360)/2,l=Math.tan((90-r[1])*Math.PI*2/360)*a,A=-a,s=-l):r[1]>90&&r[1]<180?(a=t/2+(-t/2*Math.tan((90-r[1])*Math.PI*2/360)-n/2)*Math.sin(2*(90-r[1])*Math.PI*2/360)/2,l=Math.tan((90-r[1])*Math.PI*2/360)*a,A=-a,s=-l):(a=-t/2-(-t/2*Math.tan((90-r[1])*Math.PI*2/360)-n/2)*Math.sin(2*(90-r[1])*Math.PI*2/360)/2,l=Math.tan((90-r[1])*Math.PI*2/360)*a,A=-a,s=-l),i=[a,s,A,l];break}return i}function s(e,t,n,i){for(var o=a(n,e,t),s=i.createLinearGradient(o[0],o[1],o[2],o[3]),A=n.match(/linear-gradient\((.+)\)/)[1],l=r(A.substring(A.indexOf(",")+1)),c=0;c")})),u=function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();e.exports=function(e,t,n){var h=s(e),d=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),f=d?!o((function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[l]=function(){return n}),n[h](""),!t})):void 0;if(!d||!f||"replace"===e&&!c||"split"===e&&!u){var p=/./[h],g=n(a,h,""[e],(function(e,t,n,i,r){return t.exec===A?d&&!r?{done:!0,value:p.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}})),m=g[0],v=g[1];i(String.prototype,e,m),r(RegExp.prototype,h,2==t?function(e,t){return v.call(e,this,t)}:function(e){return v.call(e,this)})}}},"230e":function(e,t,n){var i=n("d3f4"),r=n("7726").document,o=i(r)&&i(r.createElement);e.exports=function(e){return o?r.createElement(e):{}}},2350:function(e,t){function n(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"===typeof btoa){var o=i(r),a=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}function i(e){var t=btoa(unescape(encodeURIComponent(JSON.stringify(e)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return"/*# "+n+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var i=n(t,e);return t[2]?"@media "+t[2]+"{"+i+"}":i})).join("")},t.i=function(e,n){"string"===typeof e&&(e=[[null,e,""]]);for(var i={},r=0;r1||""[d](/.?/)[f]?function(e,t){var r=String(this);if(void 0===e&&0===t)return[];if(!i(e))return n.call(r,e,t);var o,a,s,A=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,d=void 0===t?g:t>>>0,m=new RegExp(e.source,c+"g");while(o=l.call(m,r)){if(a=m[p],a>u&&(A.push(r.slice(u,o.index)),o[f]>1&&o.index=d))break;m[p]===o.index&&m[p]++}return u===r[f]?!s&&m.test("")||A.push(""):A.push(r.slice(u)),A[f]>d?A.slice(0,d):A}:"0"[d](void 0,0)[f]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,i){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r,i):v.call(String(r),n,i)},function(e,t){var i=c(v,e,this,t,v!==n);if(i.done)return i.value;var l=r(e),h=String(this),d=o(l,RegExp),f=l.unicode,p=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(m?"y":"g"),y=new d(m?l:"^(?:"+l.source+")",p),b=void 0===t?g:t>>>0;if(0===b)return[];if(0===h.length)return null===A(y,h)?[h]:[];var w=0,B=0,C=[];while(B";t.style.display="none",n("fab2").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),l=e.F;while(i--)delete l[A][o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[A]=i(e),n=new s,s[A]=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},"2b4c":function(e,t,n){var i=n("5537")("wks"),r=n("ca5a"),o=n("7726").Symbol,a="function"==typeof o,s=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};s.store=i},"2d00":function(e,t){e.exports=!1},"2d95":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"30f1":function(e,t,n){"use strict";var i=n("b8e3"),r=n("63b6"),o=n("9138"),a=n("35e8"),s=n("481b"),A=n("8f60"),l=n("45f2"),c=n("53e2"),u=n("5168")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",p="values",g=function(){return this};e.exports=function(e,t,n,m,v,y,b){A(n,t,m);var w,B,C,x=function(e){if(!h&&e in E)return E[e];switch(e){case f:return function(){return new n(this,e)};case p:return function(){return new n(this,e)}}return function(){return new n(this,e)}},_=t+" Iterator",S=v==p,k=!1,E=e.prototype,F=E[u]||E[d]||v&&E[v],Q=F||x(v),U=v?S?x("entries"):Q:void 0,O="Array"==t&&E.entries||F;if(O&&(C=c(O.call(new e)),C!==Object.prototype&&C.next&&(l(C,_,!0),i||"function"==typeof C[u]||a(C,u,g))),S&&F&&F.name!==p&&(k=!0,Q=function(){return F.call(this)}),i&&!b||!h&&!k&&E[u]||a(E,u,Q),s[t]=Q,s[_]=g,v)if(w={values:S?Q:x(p),keys:y?Q:x(f),entries:U},b)for(B in w)B in E||o(E,B,w[B]);else r(r.P+r.F*(h||k),t,w);return w}},"31f4":function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},"32e9":function(e,t,n){var i=n("86cc"),r=n("4630");e.exports=n("9e1e")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"32fc":function(e,t,n){var i=n("e53d").document;e.exports=i&&i.documentElement},"335c":function(e,t,n){var i=n("6b4c");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"33a4":function(e,t,n){var i=n("84f2"),r=n("2b4c")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},"355d":function(e,t){t.f={}.propertyIsEnumerable},"35e8":function(e,t,n){var i=n("d9f6"),r=n("aebd");e.exports=n("8e60")?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},"36bd":function(e,t,n){"use strict";var i=n("4bf8"),r=n("77f1"),o=n("9def");e.exports=function(e){var t=i(this),n=o(t.length),a=arguments.length,s=r(a>1?arguments[1]:void 0,n),A=a>2?arguments[2]:void 0,l=void 0===A?n:r(A,n);while(l>s)t[s++]=e;return t}},"36c3":function(e,t,n){var i=n("335c"),r=n("25eb");e.exports=function(e){return i(r(e))}},3702:function(e,t,n){var i=n("481b"),r=n("5168")("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[r]===e)}},"37c8":function(e,t,n){t.f=n("2b4c")},3846:function(e,t,n){n("9e1e")&&"g"!=/./g.flags&&n("86cc").f(RegExp.prototype,"flags",{configurable:!0,get:n("0bfb")})},"38fd":function(e,t,n){var i=n("69a8"),r=n("4bf8"),o=n("613b")("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=r(e),i(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},"3a38":function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"3a72":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("2d00"),a=n("37c8"),s=n("86cc").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},"3b2b":function(e,t,n){var i=n("7726"),r=n("5dbc"),o=n("86cc").f,a=n("9093").f,s=n("aae3"),A=n("0bfb"),l=i.RegExp,c=l,u=l.prototype,h=/a/g,d=/a/g,f=new l(h)!==h;if(n("9e1e")&&(!f||n("79e5")((function(){return d[n("2b4c")("match")]=!1,l(h)!=h||l(d)==d||"/a/i"!=l(h,"i")})))){l=function(e,t){var n=this instanceof l,i=s(e),o=void 0===t;return!n&&i&&e.constructor===l&&o?e:r(f?new c(i&&!o?e.source:e,t):c((i=e instanceof l)?e.source:e,i&&o?A.call(e):t),n?this:u,l)};for(var p=function(e){e in l||o(l,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})},g=a(c),m=0;g.length>m;)p(g[m++]);u.constructor=l,l.prototype=u,n("2aba")(i,"RegExp",l)}n("7a56")("RegExp")},"40c3":function(e,t,n){var i=n("6b4c"),r=n("5168")("toStringTag"),o="Arguments"==i(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),r))?n:o?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),o=n("7f20"),a={};n("32e9")(a,n("2b4c")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},"454f":function(e,t,n){n("46a7");var i=n("584a").Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5eda")("keys",(function(){return function(e){return r(i(e))}}))},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"45f2":function(e,t,n){var i=n("d9f6").f,r=n("07e3"),o=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},"46a7":function(e,t,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},"47ee":function(e,t,n){var i=n("c3a1"),r=n("9aa9"),o=n("355d");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),A=o.f,l=0;while(s.length>l)A.call(e,a=s[l++])&&t.push(a)}return t}},"481b":function(e,t){e.exports={}},4917:function(e,t,n){"use strict";var i=n("cb7c"),r=n("9def"),o=n("0390"),a=n("5f1b");n("214f")("match",1,(function(e,t,n,s){return[function(n){var i=e(this),r=void 0==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},function(e){var t=s(n,e,this);if(t.done)return t.value;var A=i(e),l=String(this);if(!A.global)return a(A,l);var c=A.unicode;A.lastIndex=0;var u,h=[],d=0;while(null!==(u=a(A,l))){var f=String(u[0]);h[d]=f,""===f&&(A.lastIndex=o(l,r(A.lastIndex),c)),d++}return 0===d?null:h}]}))},"499e":function(e,t,n){"use strict";function i(e,t){for(var n=[],i={},r=0;rn.parts.length&&(i.parts.length=n.parts.length)}else{var a=[];for(r=0;ry;y++)if(g=t?v(a(f=e[y])[0],f[1]):v(e[y]),g===l||g===c)return g}else for(p=m.call(e);!(f=p.next()).done;)if(g=r(p,v,f.value,t),g===l||g===c)return g};t.BREAK=l,t.RETURN=c},"4bf8":function(e,t,n){var i=n("be13");e.exports=function(e){return Object(i(e))}},"4ee1":function(e,t,n){var i=n("5168")("iterator"),r=!1;try{var o=[7][i]();o["return"]=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(a){}return n}},"50ed":function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},5147:function(e,t,n){var i=n("2b4c")("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,!"/./"[e](t)}catch(r){}}return!0}},5168:function(e,t,n){var i=n("dbdb")("wks"),r=n("62a0"),o=n("e53d").Symbol,a="function"==typeof o,s=e.exports=function(e){return i[e]||(i[e]=a&&o[e]||(a?o:r)("Symbol."+e))};s.store=i},"520a":function(e,t,n){"use strict";var i=n("0bfb"),r=RegExp.prototype.exec,o=String.prototype.replace,a=r,s="lastIndex",A=function(){var e=/a/,t=/b*/g;return r.call(e,"a"),r.call(t,"a"),0!==e[s]||0!==t[s]}(),l=void 0!==/()??/.exec("")[1],c=A||l;c&&(a=function(e){var t,n,a,c,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),A&&(t=u[s]),a=r.call(u,e),A&&a&&(u[s]=u.global?a.index+a[0].length:t),l&&a&&a.length>1&&o.call(a[0],n,(function(){for(c=1;c1?arguments[1]:void 0,g=void 0!==p,m=0,v=c(h);if(g&&(p=i(p,f>2?arguments[2]:void 0,2)),void 0==v||d==Array&&s(v))for(t=A(h.length),n=new d(t);t>m;m++)l(n,m,g?p(h[m],m):h[m]);else for(u=v.call(h),n=new d;!(r=u.next()).done;m++)l(n,m,g?a(u,p,[r.value,m],!0):r.value);return n.length=m,n}})},"54a1":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("95d5")},"551c":function(e,t,n){"use strict";var i,r,o,a,s=n("2d00"),A=n("7726"),l=n("9b43"),c=n("23c6"),u=n("5ca1"),h=n("d3f4"),d=n("d8e8"),f=n("f605"),p=n("4a59"),g=n("ebd6"),m=n("1991").set,v=n("8079")(),y=n("a5b8"),b=n("9c80"),w=n("a25f"),B=n("bcaa"),C="Promise",x=A.TypeError,_=A.process,S=_&&_.versions,k=S&&S.v8||"",E=A[C],F="process"==c(_),Q=function(){},U=r=y.f,O=!!function(){try{var e=E.resolve(1),t=(e.constructor={})[n("2b4c")("species")]=function(e){e(Q,Q)};return(F||"function"==typeof PromiseRejectionEvent)&&e.then(Q)instanceof t&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(i){}}(),I=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},D=function(e,t){if(!e._n){e._n=!0;var n=e._c;v((function(){var i=e._v,r=1==e._s,o=0,a=function(t){var n,o,a,s=r?t.ok:t.fail,A=t.resolve,l=t.reject,c=t.domain;try{s?(r||(2==e._h&&M(e),e._h=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),a=!0)),n===t.promise?l(x("Promise-chain cycle")):(o=I(n))?o.call(n,A,l):A(n)):l(i)}catch(u){c&&!a&&c.exit(),l(u)}};while(n.length>o)a(n[o++]);e._c=[],e._n=!1,t&&!e._h&&T(e)}))}},T=function(e){m.call(A,(function(){var t,n,i,r=e._v,o=P(e);if(o&&(t=b((function(){F?_.emit("unhandledRejection",r,e):(n=A.onunhandledrejection)?n({promise:e,reason:r}):(i=A.console)&&i.error&&i.error("Unhandled promise rejection",r)})),e._h=F||P(e)?2:1),e._a=void 0,o&&t.e)throw t.v}))},P=function(e){return 1!==e._h&&0===(e._a||e._c).length},M=function(e){m.call(A,(function(){var t;F?_.emit("rejectionHandled",e):(t=A.onrejectionhandled)&&t({promise:e,reason:e._v})}))},H=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),D(t,!0))},L=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=I(e))?v((function(){var i={_w:n,_d:!1};try{t.call(e,l(L,i,1),l(H,i,1))}catch(r){H.call(i,r)}})):(n._v=e,n._s=1,D(n,!1))}catch(i){H.call({_w:n,_d:!1},i)}}};O||(E=function(e){f(this,E,C,"_h"),d(e),i.call(this);try{e(l(L,this,1),l(H,this,1))}catch(t){H.call(this,t)}},i=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},i.prototype=n("dcbc")(E.prototype,{then:function(e,t){var n=U(g(this,E));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=F?_.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&D(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new i;this.promise=e,this.resolve=l(L,e,1),this.reject=l(H,e,1)},y.f=U=function(e){return e===E||e===a?new o(e):r(e)}),u(u.G+u.W+u.F*!O,{Promise:E}),n("7f20")(E,C),n("7a56")(C),a=n("8378")[C],u(u.S+u.F*!O,C,{reject:function(e){var t=U(this),n=t.reject;return n(e),t.promise}}),u(u.S+u.F*(s||!O),C,{resolve:function(e){return B(s&&this===a?E:this,e)}}),u(u.S+u.F*!(O&&n("5cc5")((function(e){E.all(e)["catch"](Q)}))),C,{all:function(e){var t=this,n=U(t),i=n.resolve,r=n.reject,o=b((function(){var n=[],o=0,a=1;p(e,!1,(function(e){var s=o++,A=!1;n.push(void 0),a++,t.resolve(e).then((function(e){A||(A=!0,n[s]=e,--a||i(n))}),r)})),--a||i(n)}));return o.e&&r(o.v),n.promise},race:function(e){var t=this,n=U(t),i=n.reject,r=b((function(){p(e,!1,(function(e){t.resolve(e).then(n.resolve,i)}))}));return r.e&&i(r.v),n.promise}})},5537:function(e,t,n){var i=n("8378"),r=n("7726"),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("2d00")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},5559:function(e,t,n){var i=n("dbdb")("keys"),r=n("62a0");e.exports=function(e){return i[e]||(i[e]=r(e))}},"584a":function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},"5b4e":function(e,t,n){var i=n("36c3"),r=n("b447"),o=n("0fc9");e.exports=function(e){return function(t,n,a){var s,A=i(t),l=r(A.length),c=o(a,l);if(e&&n!=n){while(l>c)if(s=A[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in A)&&A[c]===n)return e||c||0;return!e&&-1}}},"5ca1":function(e,t,n){var i=n("7726"),r=n("8378"),o=n("32e9"),a=n("2aba"),s=n("9b43"),A="prototype",l=function(e,t,n){var c,u,h,d,f=e&l.F,p=e&l.G,g=e&l.S,m=e&l.P,v=e&l.B,y=p?i:g?i[t]||(i[t]={}):(i[t]||{})[A],b=p?r:r[t]||(r[t]={}),w=b[A]||(b[A]={});for(c in p&&(n=t),n)u=!f&&y&&void 0!==y[c],h=(u?y:n)[c],d=v&&u?s(h,i):m&&"function"==typeof h?s(Function.call,h):h,y&&a(y,c,h,e&l.U),b[c]!=h&&o(b,c,d),m&&w[c]!=h&&(w[c]=h)};i.core=r,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},"5cc5":function(e,t,n){var i=n("2b4c")("iterator"),r=!1;try{var o=[7][i]();o["return"]=function(){r=!0},Array.from(o,(function(){throw 2}))}catch(a){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o=[7],s=o[i]();s.next=function(){return{done:n=!0}},o[i]=function(){return s},e(o)}catch(a){}return n}},"5d58":function(e,t,n){e.exports=n("d8d6")},"5dbc":function(e,t,n){var i=n("d3f4"),r=n("8b97").set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&i(o)&&r&&r(e,o),e}},"5eda":function(e,t,n){var i=n("5ca1"),r=n("8378"),o=n("79e5");e.exports=function(e,t){var n=(r.Object||{})[e]||Object[e],a={};a[e]=t(n),i(i.S+i.F*o((function(){n(1)})),"Object",a)}},"5f1b":function(e,t,n){"use strict";var i=n("23c6"),r=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var o=n.call(e,t);if("object"!==typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==i(e))throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(e,t)}},"613b":function(e,t,n){var i=n("5537")("keys"),r=n("ca5a");e.exports=function(e){return i[e]||(i[e]=r(e))}},"626a":function(e,t,n){var i=n("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},"62a0":function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},"63b6":function(e,t,n){var i=n("e53d"),r=n("584a"),o=n("d864"),a=n("35e8"),s=n("07e3"),A="prototype",l=function(e,t,n){var c,u,h,d=e&l.F,f=e&l.G,p=e&l.S,g=e&l.P,m=e&l.B,v=e&l.W,y=f?r:r[t]||(r[t]={}),b=y[A],w=f?i:p?i[t]:(i[t]||{})[A];for(c in f&&(n=t),n)u=!d&&w&&void 0!==w[c],u&&s(y,c)||(h=u?w[c]:n[c],y[c]=f&&"function"!=typeof w[c]?n[c]:m&&u?o(h,i):v&&w[c]==h?function(e){var t=function(t,n,i){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,i)}return e.apply(this,arguments)};return t[A]=e[A],t}(h):g&&"function"==typeof h?o(Function.call,h):h,g&&((y.virtual||(y.virtual={}))[c]=h,e&l.R&&b&&!b[c]&&a(b,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},6718:function(e,t,n){var i=n("e53d"),r=n("584a"),o=n("b8e3"),a=n("ccb9"),s=n("d9f6").f;e.exports=function(e){var t=r.Symbol||(r.Symbol=o?{}:i.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},6762:function(e,t,n){"use strict";var i=n("5ca1"),r=n("c366")(!0);i(i.P,"Array",{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")("includes")},"67ab":function(e,t,n){var i=n("ca5a")("meta"),r=n("d3f4"),o=n("69a8"),a=n("86cc").f,s=0,A=Object.isExtensible||function(){return!0},l=!n("79e5")((function(){return A(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},u=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!A(e))return"F";if(!t)return"E";c(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!A(e))return!0;if(!t)return!1;c(e)}return e[i].w},d=function(e){return l&&f.NEED&&A(e)&&!o(e,i)&&c(e),e},f=e.exports={KEY:i,NEED:!1,fastKey:u,getWeak:h,onFreeze:d}},"67bb":function(e,t,n){e.exports=n("f921")},6821:function(e,t,n){var i=n("626a"),r=n("be13");e.exports=function(e){return i(r(e))}},"69a8":function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},"69d3":function(e,t,n){n("6718")("asyncIterator")},"6a99":function(e,t,n){var i=n("d3f4");e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},"6abf":function(e,t,n){var i=n("e6f3"),r=n("1691").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},"6b4c":function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},"6b54":function(e,t,n){"use strict";n("3846");var i=n("cb7c"),r=n("0bfb"),o=n("9e1e"),a="toString",s=/./[a],A=function(e){n("2aba")(RegExp.prototype,a,e,!0)};n("79e5")((function(){return"/a/b"!=s.call({source:"a",flags:"b"})}))?A((function(){var e=i(this);return"/".concat(e.source,"/","flags"in e?e.flags:!o&&e instanceof RegExp?r.call(e):void 0)})):s.name!=a&&A((function(){return s.call(this)}))},"6c1c":function(e,t,n){n("c367");for(var i=n("e53d"),r=n("35e8"),o=n("481b"),a=n("5168")("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),A=0;At&&(n=e,e=t,t=n),n=t,n*=t,n+=t,n>>=1,n+=e,v[n]=1}function B(e,t){var n;for(m[e+r*t]=1,n=-2;n<2;n++)m[e+n+r*(t-2)]=1,m[e-2+r*(t+n+1)]=1,m[e+2+r*(t+n)]=1,m[e+n+1+r*(t+2)]=1;for(n=0;n<2;n++)w(e-1,t+n),w(e+1,t-n),w(e-n,t-1),w(e+n,t+1)}function C(e){while(e>=255)e-=255,e=(e>>8)+(255&e);return e}var x=[];function _(e,t,n,i){var r,o,a;for(r=0;rt&&(n=e,e=t,t=n),n=t,n+=t*t,n>>=1,n+=e,v[n]}function k(e){var t,n,i,o;switch(e){case 0:for(n=0;n>1&1,t=0;t=5&&(n+=E+y[t]-5);for(t=3;te||3*y[t-3]>=4*y[t]||3*y[t+3]>=4*y[t])&&(n+=Q);return n}function I(){var e,t,n,i,o,a=0,s=0;for(t=0;tr*r)A-=r*r,l++;for(a+=l*U,e=0;e1)for(E=l[i],n=r-7;;){t=r-7;while(t>E-3){if(B(t,n),t6)for(E=c[i-7],y=17,t=0;t<6;t++)for(n=0;n<3;n++,y--)1&(y>11?i>>y-12:E>>y)?(m[5-t+r*(2-n+r-11)]=1,m[2-n+r-11+r*(5-t)]=1):(w(5-t,2-n+r-11),w(2-n+r-11,5-t));for(n=0;n=t-2&&(F=t-2,i>9&&F--),Q=F,i>9){p[Q+2]=0,p[Q+3]=0;while(Q--)E=p[Q],p[Q+3]|=255&E<<4,p[Q+2]=E>>4;p[2]|=255&F<<4,p[1]=F>>4,p[0]=64|F>>12}else{p[Q+1]=0,p[Q+2]=0;while(Q--)E=p[Q],p[Q+2]|=255&E<<4,p[Q+1]=E>>4;p[1]|=255&F<<4,p[0]=64|F>>4}Q=F+3-(i<10);while(Q0;U--)x[U]=x[U]?x[U-1]^f[C(d[x[U]]+Q)]:x[U-1];x[0]=f[C(d[x[0]]+Q)]}for(Q=0;Q<=A;Q++)x[Q]=d[x[Q]];for(y=t,n=0,Q=0;Q>=1)1&n&&(m[r-1-y+8*r]=1,y<6?m[8+r*y]=1:m[8+r*(y+1)]=1);for(y=0;y<7;y++,n>>=1)1&n&&(m[8+r*(r-7+y)]=1,y?m[6-y+8*r]=1:m[7+8*r]=1);return m}var T=null,P={get ecclevel(){return b},set ecclevel(e){b=e},get size(){return _size},set size(e){_size=e},get canvas(){return T},set canvas(e){T=e},getFrame:function(e){return D(e)},utf16to8:function(e){var t,n,i,r;for(t="",i=e.length,n=0;n=1&&r<=127?t+=e.charAt(n):r>2047?(t+=String.fromCharCode(224|r>>12&15),t+=String.fromCharCode(128|r>>6&63),t+=String.fromCharCode(128|r>>0&63)):(t+=String.fromCharCode(192|r>>6&31),t+=String.fromCharCode(128|r>>0&63));return t},draw:function(e,t,n,i,o,a,s,A,l,c){var u=this;if(b=c||b,t){var h=Math.min(o,a);e=u.utf16to8(e);var d=u.getFrame(e),f=h/r;s&&(t.fillStyle=s,t.fillRect(n,i,o,o)),t.fillStyle=A||"black";for(var p=0;p0){var t=!0,n=!1,i=void 0;try{for(var r,o=this.data.views[Symbol.iterator]();!(t=(r=o.next()).done);t=!0){var a=r.value;this._drawAbsolute(a)}}catch(s){n=!0,i=s}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}}e&&e()}},{key:"_background",value:function(){this.ctx.save();var e=this.style,t=e.width,n=e.height,i=this.data.background;this.ctx.translate(t/2,n/2),this._doClip(this.data.borderRadius,t,n),i?i.src?this.ctx.drawImage(i,-t/2,-n/2,t,n):i.startsWith("#")||i.startsWith("rgba")||"transparent"===i.toLowerCase()?(this.ctx.fillStyle=i,this.ctx.fillRect(-t/2,-n/2,t,n)):y.api.isGradient(i)&&(y.api.doGradient(i,t,n,this.ctx),this.ctx.fillRect(-t/2,-n/2,t,n)):(this.ctx.fillStyle="transparent",this.ctx.fillRect(-t/2,-n/2,t,n)),this.ctx.restore()}},{key:"_drawAbsolute",value:function(e){if(e&&e.type)switch(e.css&&e.css.length&&(e.css=Object.assign.apply(Object,h(e.css))),e.type){case"image":this._drawAbsImage(e);break;case"text":this._fillAbsText(e);break;case"rect":this._drawAbsRect(e);break;case"qrcode":this._drawQRCode(e);break;default:break}}},{key:"_border",value:function(e){var t=e.borderRadius,n=void 0===t?0:t,i=e.width,r=e.height,o=e.borderWidth,a=void 0===o?0:o,s=e.borderStyle,A=void 0===s?"solid":s,l=0,c=0,u=0,h=0,d=Math.min(i,r);if(n){var f=n.split(/\s+/);4===f.length?(l=Math.min(f[0].toPx(!1,d),i/2,r/2),c=Math.min(f[1].toPx(!1,d),i/2,r/2),u=Math.min(f[2].toPx(!1,d),i/2,r/2),h=Math.min(f[3].toPx(!1,d),i/2,r/2)):l=c=u=h=Math.min(n&&n.toPx(!1,d),i/2,r/2)}var p=a&&a.toPx(!1,d);this.ctx.lineWidth=p,"dashed"===A?this.ctx.setLineDash([4*p/3,4*p/3]):"dotted"===A&&this.ctx.setLineDash([p,p]);var g="solid"!==A;this.ctx.beginPath(),g&&0===l&&this.ctx.moveTo(-i/2-p,-r/2-p/2),0!==l&&this.ctx.arc(-i/2+l,-r/2+l,l+p/2,1*Math.PI,1.5*Math.PI),this.ctx.lineTo(0===c?g?i/2:i/2+p/2:i/2-c,-r/2-p/2),g&&0===c&&this.ctx.moveTo(i/2+p/2,-r/2-p),0!==c&&this.ctx.arc(i/2-c,-r/2+c,c+p/2,1.5*Math.PI,2*Math.PI),this.ctx.lineTo(i/2+p/2,0===u?g?r/2:r/2+p/2:r/2-u),g&&0===u&&this.ctx.moveTo(i/2+p,r/2+p/2),0!==u&&this.ctx.arc(i/2-u,r/2-u,u+p/2,0,.5*Math.PI),this.ctx.lineTo(0===h?g?-i/2:-i/2-p/2:-i/2+h,r/2+p/2),g&&0===h&&this.ctx.moveTo(-i/2-p/2,r/2+p),0!==h&&this.ctx.arc(-i/2+h,r/2-h,h+p/2,.5*Math.PI,1*Math.PI),this.ctx.lineTo(-i/2-p/2,0===l?g?-r/2:-r/2-p/2:-r/2+l),g&&0===l&&this.ctx.moveTo(-i/2-p,-r/2-p/2),g||this.ctx.closePath()}},{key:"_doClip",value:function(e,t,n,i){e&&t&&n&&(this.ctx.globalAlpha=0,this.ctx.fillStyle="white",this._border({borderRadius:e,width:t,height:n,borderStyle:i}),this.ctx.fill(),this.ctx.clip(),this.ctx.globalAlpha=1)}},{key:"_doBorder",value:function(e,t,n){if(e.css){var i=e.css,r=i.borderRadius,o=i.borderWidth,a=i.borderColor,s=i.borderStyle;o&&(this.ctx.save(),this._preProcess(e,!0),this.ctx.strokeStyle=a||"black",this._border({borderRadius:r,width:t,height:n,borderWidth:o,borderStyle:s}),this.ctx.stroke(),this.ctx.restore())}}},{key:"_preProcess",value:function(e,t){var n,i,r,o,a=0,s=this._doPaddings(e);switch(e.type){case"text":for(var A=e.text.split("\n"),l=0;ly?y:d;var b=Math.ceil((m+d)/y);a=y>a?y:a,f+=b,p[g]=b}f=e.css.maxLines=l?(o=r/A,s=Math.round((e.sHeight-o)/2)):(r=o*A,a=Math.round((e.sWidth-r)/2)),e.css&&"scaleToFill"===e.css.mode?this.ctx.drawImage(e.url,-n/2,-i/2,n,i):(this.ctx.drawImage(e.url,a,s,r,o,-n/2,-i/2,n,i),e.rect.startX=a/e.sWidth,e.rect.startY=s/e.sHeight,e.rect.endX=(a+r)/e.sWidth,e.rect.endY=(s+o)/e.sHeight),this.ctx.restore(),this._doBorder(e,n,i)}}},{key:"_fillAbsText",value:function(e){if(e.text){e.css.background&&this._doBackground(e),this.ctx.save();var t=this._preProcess(e,e.css.background&&e.css.borderRadius),n=t.width,i=t.height,r=t.extra;this.ctx.fillStyle=e.css.color||"black";var o=r.lines,a=r.lineHeight,s=r.textArray,A=r.linesArray,l=r.textIndent;if(e.id){for(var c=0,u=0;uc?h:c}this.globalWidth[e.id]=n?c=o)break;f=0==b?l:0,y=0==b?m:g;var w=s[p].substr(v,y),B=this.ctx.measureText(w).width;while(v+y<=s[p].length&&(n-B-f>e.css.fontSize.toPx()||B-n>e.css.fontSize.toPx())){if(Bn){if(w.length<=1)break;w=w.substring(0,w.length-1)}w+="...",B=this.ctx.measureText(w).width}this.ctx.textAlign=e.css.textAlign?e.css.textAlign:"left";var C=void 0,x=void 0;switch(e.css.textAlign){case"center":C=0,x=C-B/2+f;break;case"right":C=n/2,x=C-B+f;break;default:C=-n/2+f,x=C;break}var _=-i/2+(0===d?e.css.fontSize.toPx():e.css.fontSize.toPx()+d*a);d++,"stroke"===e.css.textStyle?this.ctx.strokeText(w,C,_,B):this.ctx.fillText(w,C,_,B);var S=e.css.fontSize.toPx();e.css.textDecoration&&(this.ctx.lineWidth=S/13,this.ctx.beginPath(),/\bunderline\b/.test(e.css.textDecoration)&&(this.ctx.moveTo(x,_),this.ctx.lineTo(x+B,_)),/\boverline\b/.test(e.css.textDecoration)&&(this.ctx.moveTo(x,_-S),this.ctx.lineTo(x+B,_-S)),/\bline-through\b/.test(e.css.textDecoration)&&(this.ctx.moveTo(x,_-S/3),this.ctx.lineTo(x+B,_-S/3)),this.ctx.closePath(),this.ctx.strokeStyle=e.css.color,this.ctx.stroke())}this.ctx.restore(),this._doBorder(e,n,i)}}},{key:"_drawAbsRect",value:function(e){this.ctx.save();var t=this._preProcess(e),n=t.width,i=t.height;y.api.isGradient(e.css.color)?y.api.doGradient(e.css.color,n,i,this.ctx):this.ctx.fillStyle=e.css.color;var r=e.css,o=r.borderRadius,a=r.borderStyle,s=r.borderWidth;this._border({borderRadius:o,width:n,height:i,borderWidth:s,borderStyle:a}),this.ctx.fill(),this.ctx.restore(),this._doBorder(e,n,i)}},{key:"_doShadow",value:function(e){if(e.css&&e.css.shadow){var t=e.css.shadow.replace(/,\s+/g,",").split(/\s+/);t.length>4?console.error("shadow don't spread option"):(this.ctx.shadowOffsetX=parseInt(t[0],10),this.ctx.shadowOffsetY=parseInt(t[1],10),this.ctx.shadowBlur=parseInt(t[2],10),this.ctx.shadowColor=t[3])}}},{key:"_getAngle",value:function(e){return Number(e)*Math.PI/180}}]),e}(),w=(n("456d"),n("6b54"),n("3b2b"),n("5d58")),B=n.n(w),C=n("67bb"),x=n.n(C);function _(e){return _="function"===typeof x.a&&"symbol"===typeof B.a?function(e){return typeof e}:function(e){return e&&"function"===typeof x.a&&e.constructor===x.a&&e!==x.a.prototype?"symbol":typeof e},_(e)}function S(e){return S="function"===typeof x.a&&"symbol"===_(B.a)?function(e){return _(e)}:function(e){return e&&"function"===typeof x.a&&e.constructor===x.a&&e!==x.a.prototype?"symbol":_(e)},S(e)}var k=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==S(t)&&"object"==S(n)){var i,r,o,a=Array.isArray(t),s=Array.isArray(n);if(a&&s){if(r=t.length,r!=n.length)return!1;for(i=r;0!==i--;)if(!e(t[i],n[i]))return!1;return!0}if(a!=s)return!1;var A=t instanceof Date,l=n instanceof Date;if(A!=l)return!1;if(A&&l)return t.getTime()==n.getTime();var c=t instanceof RegExp,u=n instanceof RegExp;if(c!=u)return!1;if(c&&u)return t.toString()==n.toString();var h=Object.keys(t);if(r=h.length,r!==Object.keys(n).length)return!1;for(i=r;0!==i--;)if(!Object.prototype.hasOwnProperty.call(n,h[i]))return!1;for(i=r;0!==i--;)if(o=h[i],!e(t[o],n[o]))return!1;return!0}return t!==t&&n!==n},E={name:"VueCanvasPoster",props:{painting:{type:Object,default:function(){return{}}},dirty:{type:Boolean,default:!1},widthPixels:{type:Number,default:750}},watch:{painting:{handler:function(e,t){this.isNeedRefresh(e,t)&&(this.paintCount=0,this.startPaint())},deep:!0,immediate:!0}},data:function(){return{paintCount:0,painterStyle:"",canvasWidthInPx:375,canvasHeightInPx:375,width:100,height:100,canvas:null,ctx:null}},render:function(e){return e("div",[e("canvas",{ref:"canvas",class:"canvas",style:this.painterStyle})])},mounted:function(){var e=this;this.$nextTick((function(){e.canvas=e.$refs.canvas,e.ctx=e.canvas.getContext("2d")}))},methods:{isEmpty:function(e){for(var t in e)return!1;return!0},isNeedRefresh:function(e,t){return!(!e||this.isEmpty(e)||this.dirty&&k(e,t))},startPaint:function(){var e=this;this.isEmpty(this.painting)||(F(1),this.downloadImages().then((function(t){var n=t.width,i=t.height;if(n&&i){e.canvasWidthInPx=n.toPx(),e.widthPixels&&(F(e.widthPixels/e.canvasWidthInPx),e.canvasWidthInPx=e.widthPixels),e.canvasHeightInPx=i.toPx(),e.painterStyle="width:".concat(e.canvasWidthInPx,"px;height:").concat(e.canvasHeightInPx,"px;"),e.canvas=e.$refs.canvas,e.canvas.width=e.canvasWidthInPx,e.canvas.height=e.canvasHeightInPx;var r=e.canvas.getContext("2d"),o=new b(r,t);o.paint((function(){var t=e.canvas.toDataURL("image/png");e.$emit("success",t)}))}else console.error("You should set width and height correctly for painter, width: ".concat(n,", height: ").concat(i))})).catch((function(t){e.$emit("fail",t)})))},downloadImages:function(){var e=this;return new Promise((function(t){var n=0,i=0,r=JSON.parse(JSON.stringify(e.painting));if(r.background&&(n++,e.loadImage(r.background).then((function(e){r.background=e,i++,n===i&&t(r)}),(function(e){i++,n===i&&t(r),console.log(e)}))),r.views){var o=!0,a=!1,s=void 0;try{for(var A,l=function(){var o=A.value;o&&"image"===o.type&&o.url&&(n++,e.loadImage(o.url).then((function(e){i++,o.url=e,o.sWidth=e.width,o.sHeight=e.height,n===i&&t(r)}),(function(e){i++,n===i&&t(r),console.log(e)})))},c=r.views[Symbol.iterator]();!(o=(A=c.next()).done);o=!0)l()}catch(u){a=!0,s=u}finally{try{o||null==c.return||c.return()}finally{if(a)throw s}}}0===n&&t(r)}))},loadImage:function(e){return new Promise((function(t,n){if(e.startsWith("#"))t(e);else{var i=new Image;i.onload=function(){return t(i)},i.onerror=function(){return n("下载图片失败 ".concat(e))},i.crossOrigin="anonymous",i.src=e,!0===i.complete&&setTimeout((function(){return t(i)}),500)}}))}}};function F(e){String.prototype.toPx=function(t,n){if("0"===this)return 0;var i;i=t?/^-?[0-9]+([.]{1}[0-9]+){0,1}(px|%)$/g:/^[0-9]+([.]{1}[0-9]+){0,1}(px|%)$/g;var r=i.exec(this),o=r[2],a=parseFloat(this),s=0;return"px"===o?s=Math.round(a*(e||1)):"%"===o&&(s=Math.round(a*n/100)),s}}var Q,U,O=E;n("7803");function I(e,t,n,i,r,o,a,s){var A,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(A=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},l._ssrRegister=A):r&&(A=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),A)if(l.functional){l._injectStyles=A;var c=l.render;l.render=function(e,t){return A.call(t),c(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,A):[A]}return{exports:e,options:l}}var D=I(O,Q,U,!1,null,"32b53ae9",null);t["a"]=D.exports},"71c1":function(e,t,n){var i=n("3a38"),r=n("25eb");e.exports=function(e){return function(t,n){var o,a,s=String(r(t)),A=i(n),l=s.length;return A<0||A>=l?e?"":void 0:(o=s.charCodeAt(A),o<55296||o>56319||A+1===l||(a=s.charCodeAt(A+1))<56320||a>57343?e?s.charAt(A):o:e?s.slice(A,A+2):a-56320+(o-55296<<10)+65536)}}},7333:function(e,t,n){"use strict";var i=n("9e1e"),r=n("0d58"),o=n("2621"),a=n("52a7"),s=n("4bf8"),A=n("626a"),l=Object.assign;e.exports=!l||n("79e5")((function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i}))?function(e,t){var n=s(e),l=arguments.length,c=1,u=o.f,h=a.f;while(l>c){var d,f=A(arguments[c++]),p=u?r(f).concat(u(f)):r(f),g=p.length,m=0;while(g>m)d=p[m++],i&&!h.call(f,d)||(n[d]=f[d])}return n}:l},"765d":function(e,t,n){n("6718")("observable")},7726:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"774e":function(e,t,n){e.exports=n("d2d5")},"77f1":function(e,t,n){var i=n("4588"),r=Math.max,o=Math.min;e.exports=function(e,t){return e=i(e),e<0?r(e+t,0):o(e,t)}},7803:function(e,t,n){"use strict";var i=n("17b2"),r=n.n(i);r.a},"794b":function(e,t,n){e.exports=!n("8e60")&&!n("294c")((function(){return 7!=Object.defineProperty(n("1ec9")("div"),"a",{get:function(){return 7}}).a}))},"79aa":function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},"79e5":function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},"7a56":function(e,t,n){"use strict";var i=n("7726"),r=n("86cc"),o=n("9e1e"),a=n("2b4c")("species");e.exports=function(e){var t=i[e];o&&t&&!t[a]&&r.f(t,a,{configurable:!0,get:function(){return this}})}},"7bbc":function(e,t,n){var i=n("6821"),r=n("9093").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return r(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):r(i(e))}},"7cd6":function(e,t,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");e.exports=n("584a").getIteratorMethod=function(e){if(void 0!=e)return e[r]||e["@@iterator"]||o[i(e)]}},"7e90":function(e,t,n){var i=n("d9f6"),r=n("e4ae"),o=n("c3a1");e.exports=n("8e60")?Object.defineProperties:function(e,t){r(e);var n,a=o(t),s=a.length,A=0;while(s>A)i.f(e,n=a[A++],t[n]);return e}},"7f20":function(e,t,n){var i=n("86cc").f,r=n("69a8"),o=n("2b4c")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},8079:function(e,t,n){var i=n("7726"),r=n("1991").set,o=i.MutationObserver||i.WebKitMutationObserver,a=i.process,s=i.Promise,A="process"==n("2d95")(a);e.exports=function(){var e,t,n,l=function(){var i,r;A&&(i=a.domain)&&i.exit();while(e){r=e.fn,e=e.next;try{r()}catch(o){throw e?n():t=void 0,o}}t=void 0,i&&i.enter()};if(A)n=function(){a.nextTick(l)};else if(!o||i.navigator&&i.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(l)}}else n=function(){r.call(i,l)};else{var u=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=u=!u}}return function(i){var r={fn:i,next:void 0};t&&(t.next=r),e||(e=r,n()),t=r}}},8378:function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},8436:function(e,t){e.exports=function(){}},"84f2":function(e,t){e.exports={}},"85f2":function(e,t,n){e.exports=n("454f")},"86cc":function(e,t,n){var i=n("cb7c"),r=n("c69a"),o=n("6a99"),a=Object.defineProperty;t.f=n("9e1e")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},"8a81":function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("9e1e"),a=n("5ca1"),s=n("2aba"),A=n("67ab").KEY,l=n("79e5"),c=n("5537"),u=n("7f20"),h=n("ca5a"),d=n("2b4c"),f=n("37c8"),p=n("3a72"),g=n("d4c0"),m=n("1169"),v=n("cb7c"),y=n("d3f4"),b=n("4bf8"),w=n("6821"),B=n("6a99"),C=n("4630"),x=n("2aeb"),_=n("7bbc"),S=n("11e9"),k=n("2621"),E=n("86cc"),F=n("0d58"),Q=S.f,U=E.f,O=_.f,I=i.Symbol,D=i.JSON,T=D&&D.stringify,P="prototype",M=d("_hidden"),H=d("toPrimitive"),L={}.propertyIsEnumerable,N=c("symbol-registry"),R=c("symbols"),j=c("op-symbols"),$=Object[P],V="function"==typeof I&&!!k.f,K=i.QObject,z=!K||!K[P]||!K[P].findChild,W=o&&l((function(){return 7!=x(U({},"a",{get:function(){return U(this,"a",{value:7}).a}})).a}))?function(e,t,n){var i=Q($,t);i&&delete $[t],U(e,t,n),i&&e!==$&&U($,t,i)}:U,G=function(e){var t=R[e]=x(I[P]);return t._k=e,t},Y=V&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},X=function(e,t,n){return e===$&&X(j,t,n),v(e),t=B(t,!0),v(n),r(R,t)?(n.enumerable?(r(e,M)&&e[M][t]&&(e[M][t]=!1),n=x(n,{enumerable:C(0,!1)})):(r(e,M)||U(e,M,C(1,{})),e[M][t]=!0),W(e,t,n)):U(e,t,n)},J=function(e,t){v(e);var n,i=g(t=w(t)),r=0,o=i.length;while(o>r)X(e,n=i[r++],t[n]);return e},q=function(e,t){return void 0===t?x(e):J(x(e),t)},Z=function(e){var t=L.call(this,e=B(e,!0));return!(this===$&&r(R,e)&&!r(j,e))&&(!(t||!r(this,e)||!r(R,e)||r(this,M)&&this[M][e])||t)},ee=function(e,t){if(e=w(e),t=B(t,!0),e!==$||!r(R,t)||r(j,t)){var n=Q(e,t);return!n||!r(R,t)||r(e,M)&&e[M][t]||(n.enumerable=!0),n}},te=function(e){var t,n=O(w(e)),i=[],o=0;while(n.length>o)r(R,t=n[o++])||t==M||t==A||i.push(t);return i},ne=function(e){var t,n=e===$,i=O(n?j:w(e)),o=[],a=0;while(i.length>a)!r(R,t=i[a++])||n&&!r($,t)||o.push(R[t]);return o};V||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(n){this===$&&t.call(j,n),r(this,M)&&r(this[M],e)&&(this[M][e]=!1),W(this,e,C(1,n))};return o&&z&&W($,e,{configurable:!0,set:t}),G(e)},s(I[P],"toString",(function(){return this._k})),S.f=ee,E.f=X,n("9093").f=_.f=te,n("52a7").f=Z,k.f=ne,o&&!n("2d00")&&s($,"propertyIsEnumerable",Z,!0),f.f=function(e){return G(d(e))}),a(a.G+a.W+a.F*!V,{Symbol:I});for(var ie="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ie.length>re;)d(ie[re++]);for(var oe=F(d.store),ae=0;oe.length>ae;)p(oe[ae++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return r(N,e+="")?N[e]:N[e]=I(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){z=!0},useSimple:function(){z=!1}}),a(a.S+a.F*!V,"Object",{create:q,defineProperty:X,defineProperties:J,getOwnPropertyDescriptor:ee,getOwnPropertyNames:te,getOwnPropertySymbols:ne});var se=l((function(){k.f(1)}));a(a.S+a.F*se,"Object",{getOwnPropertySymbols:function(e){return k.f(b(e))}}),D&&a(a.S+a.F*(!V||l((function(){var e=I();return"[null]"!=T([e])||"{}"!=T({a:e})||"{}"!=T(Object(e))}))),"JSON",{stringify:function(e){var t,n,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(n=t=i[1],(y(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),i[1]=t,T.apply(D,i)}}),I[P][H]||n("32e9")(I[P],H,I[P].valueOf),u(I,"Symbol"),u(Math,"Math",!0),u(i.JSON,"JSON",!0)},"8b97":function(e,t,n){var i=n("d3f4"),r=n("cb7c"),o=function(e,t){if(r(e),!i(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,i){try{i=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),i(e,[]),t=!(e instanceof Array)}catch(r){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:i(e,n),e}}({},!1):void 0),check:o}},"8e60":function(e,t,n){e.exports=!n("294c")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"8f60":function(e,t,n){"use strict";var i=n("a159"),r=n("aebd"),o=n("45f2"),a={};n("35e8")(a,n("5168")("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=i(a,{next:r(1,n)}),o(e,t+" Iterator")}},9003:function(e,t,n){var i=n("6b4c");e.exports=Array.isArray||function(e){return"Array"==i(e)}},9093:function(e,t,n){var i=n("ce10"),r=n("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},9138:function(e,t,n){e.exports=n("35e8")},"95d5":function(e,t,n){var i=n("40c3"),r=n("5168")("iterator"),o=n("481b");e.exports=n("584a").isIterable=function(e){var t=Object(e);return void 0!==t[r]||"@@iterator"in t||o.hasOwnProperty(i(t))}},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1e":function(e,t,n){e.exports=!n("79e5")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},a159:function(e,t,n){var i=n("e4ae"),r=n("7e90"),o=n("1691"),a=n("5559")("IE_PROTO"),s=function(){},A="prototype",l=function(){var e,t=n("1ec9")("iframe"),i=o.length,r="<",a=">";t.style.display="none",n("32fc").appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(r+"script"+a+"document.F=Object"+r+"/script"+a),e.close(),l=e.F;while(i--)delete l[A][o[i]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s[A]=i(e),n=new s,s[A]=null,n[a]=e):n=l(),void 0===t?n:r(n,t)}},a25f:function(e,t,n){var i=n("7726"),r=i.navigator;e.exports=r&&r.userAgent||""},a481:function(e,t,n){"use strict";var i=n("cb7c"),r=n("4bf8"),o=n("9def"),a=n("4588"),s=n("0390"),A=n("5f1b"),l=Math.max,c=Math.min,u=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,d=/\$([$&`']|\d\d?)/g,f=function(e){return void 0===e?e:String(e)};n("214f")("replace",2,(function(e,t,n,p){return[function(i,r){var o=e(this),a=void 0==i?void 0:i[t];return void 0!==a?a.call(i,o,r):n.call(String(o),i,r)},function(e,t){var r=p(n,e,this,t);if(r.done)return r.value;var u=i(e),h=String(this),d="function"===typeof t;d||(t=String(t));var m=u.global;if(m){var v=u.unicode;u.lastIndex=0}var y=[];while(1){var b=A(u,h);if(null===b)break;if(y.push(b),!m)break;var w=String(b[0]);""===w&&(u.lastIndex=s(h,o(u.lastIndex),v))}for(var B="",C=0,x=0;x=C&&(B+=h.slice(C,S)+U,C=S+_.length)}return B+h.slice(C)}];function g(e,t,i,o,a,s){var A=i+e.length,l=o.length,c=d;return void 0!==a&&(a=r(a),c=h),n.call(s,c,(function(n,r){var s;switch(r.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,i);case"'":return t.slice(A);case"<":s=a[r.slice(1,-1)];break;default:var c=+r;if(0===c)return n;if(c>l){var h=u(c/10);return 0===h?n:h<=l?void 0===o[h-1]?r.charAt(1):o[h-1]+r.charAt(1):n}s=o[c-1]}return void 0===s?"":s}))}}))},a5b8:function(e,t,n){"use strict";var i=n("d8e8");function r(e){var t,n;this.promise=new e((function(e,i){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=i})),this.resolve=i(t),this.reject=i(n)}e.exports.f=function(e){return new r(e)}},a745:function(e,t,n){e.exports=n("f410")},aa77:function(e,t,n){var i=n("5ca1"),r=n("be13"),o=n("79e5"),a=n("fdef"),s="["+a+"]",A="​…",l=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),u=function(e,t,n){var r={},s=o((function(){return!!a[e]()||A[e]()!=A})),l=r[e]=s?t(h):a[e];n&&(r[n]=l),i(i.P+i.F*s,"String",r)},h=u.trim=function(e,t){return e=String(r(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(c,"")),e};e.exports=u},aae3:function(e,t,n){var i=n("d3f4"),r=n("2d95"),o=n("2b4c")("match");e.exports=function(e){var t;return i(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==r(e))}},ac4d:function(e,t,n){n("3a72")("asyncIterator")},ac6a:function(e,t,n){for(var i=n("cadf"),r=n("0d58"),o=n("2aba"),a=n("7726"),s=n("32e9"),A=n("84f2"),l=n("2b4c"),c=l("iterator"),u=l("toStringTag"),h=A.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=r(d),p=0;p0?r(i(e),9007199254740991):0}},b8e3:function(e,t){e.exports=!0},bcaa:function(e,t,n){var i=n("cb7c"),r=n("d3f4"),o=n("a5b8");e.exports=function(e,t){if(i(e),r(t)&&t.constructor===e)return t;var n=o.f(e),a=n.resolve;return a(t),n.promise}},be13:function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},bf0b:function(e,t,n){var i=n("355d"),r=n("aebd"),o=n("36c3"),a=n("1bc3"),s=n("07e3"),A=n("794b"),l=Object.getOwnPropertyDescriptor;t.f=n("8e60")?l:function(e,t){if(e=o(e),t=a(t,!0),A)try{return l(e,t)}catch(n){}if(s(e,t))return r(!i.f.call(e,t),e[t])}},c207:function(e,t){},c366:function(e,t,n){var i=n("6821"),r=n("9def"),o=n("77f1");e.exports=function(e){return function(t,n,a){var s,A=i(t),l=r(A.length),c=o(a,l);if(e&&n!=n){while(l>c)if(s=A[c++],s!=s)return!0}else for(;l>c;c++)if((e||c in A)&&A[c]===n)return e||c||0;return!e&&-1}}},c367:function(e,t,n){"use strict";var i=n("8436"),r=n("50ed"),o=n("481b"),a=n("36c3");e.exports=n("30f1")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},c3a1:function(e,t,n){var i=n("e6f3"),r=n("1691");e.exports=Object.keys||function(e){return i(e,r)}},c5f6:function(e,t,n){"use strict";var i=n("7726"),r=n("69a8"),o=n("2d95"),a=n("5dbc"),s=n("6a99"),A=n("79e5"),l=n("9093").f,c=n("11e9").f,u=n("86cc").f,h=n("aa77").trim,d="Number",f=i[d],p=f,g=f.prototype,m=o(n("2aeb")(g))==d,v="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():h(t,3);var n,i,r,o=t.charCodeAt(0);if(43===o||45===o){if(n=t.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:i=2,r=49;break;case 79:case 111:i=8,r=55;break;default:return+t}for(var a,A=t.slice(2),l=0,c=A.length;lr)return NaN;return parseInt(A,i)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(m?A((function(){g.valueOf.call(n)})):o(n)!=d)?a(new p(y(t)),n,f):y(t)};for(var b,w=n("9e1e")?l(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),B=0;w.length>B;B++)r(p,b=w[B])&&!r(f,b)&&u(f,b,c(p,b));f.prototype=g,g.constructor=f,n("2aba")(i,d,f)}},c69a:function(e,t,n){e.exports=!n("9e1e")&&!n("79e5")((function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a}))},c8ba:function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(i){"object"===typeof window&&(n=window)}e.exports=n},c8bb:function(e,t,n){e.exports=n("54a1")},ca5a:function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},cadf:function(e,t,n){"use strict";var i=n("9c6c"),r=n("d53b"),o=n("84f2"),a=n("6821");e.exports=n("01f9")(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,r(1)):r(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),o.Arguments=o.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,t,n){var i=n("d3f4");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},ccb9:function(e,t,n){t.f=n("5168")},ce10:function(e,t,n){var i=n("69a8"),r=n("6821"),o=n("c366")(!1),a=n("613b")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),A=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(t.length>A)i(s,n=t[A++])&&(~o(l,n)||l.push(n));return l}},d2c8:function(e,t,n){var i=n("aae3"),r=n("be13");e.exports=function(e,t,n){if(i(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(r(e))}},d2d5:function(e,t,n){n("1654"),n("549b"),e.exports=n("584a").Array.from},d3f4:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},d4c0:function(e,t,n){var i=n("0d58"),r=n("2621"),o=n("52a7");e.exports=function(e){var t=i(e),n=r.f;if(n){var a,s=n(e),A=o.f,l=0;while(s.length>l)A.call(e,a=s[l++])&&t.push(a)}return t}},d53b:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},d75a:function(e,t,n){"use strict";(function(e){n.d(t,"c",(function(){return r}));var i=n("6ecc");function r(e){e.component("vue-canvas-poster",i["a"])}n.d(t,"a",(function(){return i["a"]}));var o={install:r};t["b"]=o;var a=null;"undefined"!==typeof window?a=window.Vue:"undefined"!==typeof e&&(a=e.Vue),a&&a.use(o)}).call(this,n("c8ba"))},d864:function(e,t,n){var i=n("79aa");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},d8d6:function(e,t,n){n("1654"),n("6c1c"),e.exports=n("ccb9").f("iterator")},d8e8:function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},d9f6:function(e,t,n){var i=n("e4ae"),r=n("794b"),o=n("1bc3"),a=Object.defineProperty;t.f=n("8e60")?Object.defineProperty:function(e,t,n){if(i(e),t=o(t,!0),i(n),r)try{return a(e,t,n)}catch(s){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},dbdb:function(e,t,n){var i=n("584a"),r=n("e53d"),o="__core-js_shared__",a=r[o]||(r[o]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n("b8e3")?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},dcbc:function(e,t,n){var i=n("2aba");e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},e11e:function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e4ae:function(e,t,n){var i=n("f772");e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},e53d:function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},e6f3:function(e,t,n){var i=n("07e3"),r=n("36c3"),o=n("5b4e")(!1),a=n("5559")("IE_PROTO");e.exports=function(e,t){var n,s=r(e),A=0,l=[];for(n in s)n!=a&&i(s,n)&&l.push(n);while(t.length>A)i(s,n=t[A++])&&(~o(l,n)||l.push(n));return l}},ebd6:function(e,t,n){var i=n("cb7c"),r=n("d8e8"),o=n("2b4c")("species");e.exports=function(e,t){var n,a=i(e).constructor;return void 0===a||void 0==(n=i(a)[o])?t:r(n)}},ebfd:function(e,t,n){var i=n("62a0")("meta"),r=n("f772"),o=n("07e3"),a=n("d9f6").f,s=0,A=Object.isExtensible||function(){return!0},l=!n("294c")((function(){return A(Object.preventExtensions({}))})),c=function(e){a(e,i,{value:{i:"O"+ ++s,w:{}}})},u=function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,i)){if(!A(e))return"F";if(!t)return"E";c(e)}return e[i].i},h=function(e,t){if(!o(e,i)){if(!A(e))return!0;if(!t)return!1;c(e)}return e[i].w},d=function(e){return l&&f.NEED&&A(e)&&!o(e,i)&&c(e),e},f=e.exports={KEY:i,NEED:!1,fastKey:u,getWeak:h,onFreeze:d}},f410:function(e,t,n){n("1af6"),e.exports=n("584a").Array.isArray},f504:function(e,t,n){t=e.exports=n("2350")(!1),t.push([e.i,".canvas[data-v-32b53ae9]{position:fixed;top:2000px}",""])},f559:function(e,t,n){"use strict";var i=n("5ca1"),r=n("9def"),o=n("d2c8"),a="startsWith",s=""[a];i(i.P+i.F*n("5147")(a),"String",{startsWith:function(e){var t=o(this,e,a),n=r(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),i=String(e);return s?s.call(t,i,n):t.slice(n,n+i.length)===i}})},f605:function(e,t){e.exports=function(e,t,n,i){if(!(e instanceof t)||void 0!==i&&i in e)throw TypeError(n+": incorrect invocation!");return e}},f6fd:function(e,t){(function(e){var t="currentScript",n=e.getElementsByTagName("script");t in e||Object.defineProperty(e,t,{get:function(){try{throw new Error}catch(i){var e,t=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(i.stack)||[!1])[1];for(e in n)if(n[e].src==t||"interactive"==n[e].readyState)return n[e];return null}}})})(document)},f751:function(e,t,n){var i=n("5ca1");i(i.S+i.F,"Object",{assign:n("7333")})},f772:function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},f921:function(e,t,n){n("014b"),n("c207"),n("69d3"),n("765d"),e.exports=n("584a").Symbol},fa5b:function(e,t,n){e.exports=n("5537")("native-function-to-string",Function.toString)},fab2:function(e,t,n){var i=n("7726").document;e.exports=i&&i.documentElement},fb15:function(e,t,n){"use strict";var i;(n.r(t),"undefined"!==typeof window)&&(n("f6fd"),(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=i[1]));var r=n("d75a");n.d(t,"install",(function(){return r["c"]})),n.d(t,"VueCanvasPoster",(function(){return r["a"]}));t["default"]=r["b"]},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})}))},2631:function(e,t,n){"use strict";n.d(t,{ZP:function(){return Bt}});n(7658),n(541);function i(e,t){for(var n in t)e[n]=t[n];return e}var r=/[!'()*]/g,o=function(e){return"%"+e.charCodeAt(0).toString(16)},a=/%2C/g,s=function(e){return encodeURIComponent(e).replace(r,o).replace(a,",")};function A(e){try{return decodeURIComponent(e)}catch(t){0}return e}function l(e,t,n){void 0===t&&(t={});var i,r=n||u;try{i=r(e||"")}catch(s){i={}}for(var o in t){var a=t[o];i[o]=Array.isArray(a)?a.map(c):c(a)}return i}var c=function(e){return null==e||"object"===typeof e?e:String(e)};function u(e){var t={};return e=e.trim().replace(/^(\?|#|&)/,""),e?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),i=A(n.shift()),r=n.length>0?A(n.join("=")):null;void 0===t[i]?t[i]=r:Array.isArray(t[i])?t[i].push(r):t[i]=[t[i],r]})),t):t}function h(e){var t=e?Object.keys(e).map((function(t){var n=e[t];if(void 0===n)return"";if(null===n)return s(t);if(Array.isArray(n)){var i=[];return n.forEach((function(e){void 0!==e&&(null===e?i.push(s(t)):i.push(s(t)+"="+s(e)))})),i.join("&")}return s(t)+"="+s(n)})).filter((function(e){return e.length>0})).join("&"):null;return t?"?"+t:""}var d=/\/?$/;function f(e,t,n,i){var r=i&&i.options.stringifyQuery,o=t.query||{};try{o=p(o)}catch(s){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:v(t,r),matched:e?m(e):[]};return n&&(a.redirectedFrom=v(n,r)),Object.freeze(a)}function p(e){if(Array.isArray(e))return e.map(p);if(e&&"object"===typeof e){var t={};for(var n in e)t[n]=p(e[n]);return t}return e}var g=f(null,{path:"/"});function m(e){var t=[];while(e)t.unshift(e),e=e.parent;return t}function v(e,t){var n=e.path,i=e.query;void 0===i&&(i={});var r=e.hash;void 0===r&&(r="");var o=t||h;return(n||"/")+o(i)+r}function y(e,t,n){return t===g?e===t:!!t&&(e.path&&t.path?e.path.replace(d,"")===t.path.replace(d,"")&&(n||e.hash===t.hash&&b(e.query,t.query)):!(!e.name||!t.name)&&(e.name===t.name&&(n||e.hash===t.hash&&b(e.query,t.query)&&b(e.params,t.params))))}function b(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e).sort(),i=Object.keys(t).sort();return n.length===i.length&&n.every((function(n,r){var o=e[n],a=i[r];if(a!==n)return!1;var s=t[n];return null==o||null==s?o===s:"object"===typeof o&&"object"===typeof s?b(o,s):String(o)===String(s)}))}function w(e,t){return 0===e.path.replace(d,"/").indexOf(t.path.replace(d,"/"))&&(!t.hash||e.hash===t.hash)&&B(e.query,t.query)}function B(e,t){for(var n in t)if(!(n in e))return!1;return!0}function C(e){for(var t=0;t=0&&(t=e.slice(i),e=e.slice(0,i));var r=e.indexOf("?");return r>=0&&(n=e.slice(r+1),e=e.slice(0,r)),{path:e,query:n,hash:t}}function F(e){return e.replace(/\/(?:\s*\/)+/g,"/")}var Q=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)},U=X,O=M,I=H,D=R,T=Y,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function M(e,t){var n,i=[],r=0,o=0,a="",s=t&&t.delimiter||"/";while(null!=(n=P.exec(e))){var A=n[0],l=n[1],c=n.index;if(a+=e.slice(o,c),o=c+A.length,l)a+=l[1];else{var u=e[o],h=n[2],d=n[3],f=n[4],p=n[5],g=n[6],m=n[7];a&&(i.push(a),a="");var v=null!=h&&null!=u&&u!==h,y="+"===g||"*"===g,b="?"===g||"*"===g,w=n[2]||s,B=f||p;i.push({name:d||r++,prefix:h||"",delimiter:w,optional:b,repeat:y,partial:v,asterisk:!!m,pattern:B?$(B):m?".*":"[^"+j(w)+"]+?"})}}return o1||!x.length)return 0===x.length?e():e("span",{},x)}if("a"===this.tag)C.on=B,C.attrs={href:A,"aria-current":v};else{var _=ae(this.$slots.default);if(_){_.isStatic=!1;var S=_.data=i({},_.data);for(var k in S.on=S.on||{},S.on){var E=S.on[k];k in B&&(S.on[k]=Array.isArray(E)?E:[E])}for(var F in B)F in S.on?S.on[F].push(B[F]):S.on[F]=b;var Q=_.data.attrs=i({},_.data.attrs);Q.href=A,Q["aria-current"]=v}else C.on=B}return e(this.tag,C,this.$slots.default)}};function oe(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(void 0===e.button||0===e.button)){if(e.currentTarget&&e.currentTarget.getAttribute){var t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ae(e){if(e)for(var t,n=0;n-1&&(s.params[u]=n.params[u]);return s.path=q(l.path,s.params,'named route "'+A+'"'),h(l,s,a)}if(s.path){s.params={};for(var d=0;d-1}function ze(e,t){return Ke(e)&&e._isRouter&&(null==t||e.type===t)}function We(e,t,n){var i=function(r){r>=e.length?n():e[r]?t(e[r],(function(){i(r+1)})):i(r+1)};i(0)}function Ge(e){return function(t,n,i){var r=!1,o=0,a=null;Ye(e,(function(e,t,n,s){if("function"===typeof e&&void 0===e.cid){r=!0,o++;var A,l=Ze((function(t){qe(t)&&(t=t.default),e.resolved="function"===typeof t?t:ee.extend(t),n.components[s]=t,o--,o<=0&&i()})),c=Ze((function(e){var t="Failed to resolve async component "+s+": "+e;a||(a=Ke(e)?e:new Error(t),i(a))}));try{A=e(l,c)}catch(h){c(h)}if(A)if("function"===typeof A.then)A.then(l,c);else{var u=A.component;u&&"function"===typeof u.then&&u.then(l,c)}}})),r||i()}}function Ye(e,t){return Xe(e.map((function(e){return Object.keys(e.components).map((function(n){return t(e.components[n],e.instances[n],e,n)}))})))}function Xe(e){return Array.prototype.concat.apply([],e)}var Je="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function qe(e){return e.__esModule||Je&&"Module"===e[Symbol.toStringTag]}function Ze(e){var t=!1;return function(){var n=[],i=arguments.length;while(i--)n[i]=arguments[i];if(!t)return t=!0,e.apply(this,n)}}var et=function(e,t){this.router=e,this.base=tt(t),this.current=g,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function tt(e){if(!e)if(Ae){var t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^https?:\/\/[^\/]+/,"")}else e="/";return"/"!==e.charAt(0)&&(e="/"+e),e.replace(/\/$/,"")}function nt(e,t){var n,i=Math.max(e.length,t.length);for(n=0;n0)){var t=this.router,n=t.options.scrollBehavior,i=De&&n;i&&this.listeners.push(Be());var r=function(){var n=e.current,r=ut(e.base);e.current===g&&r===e._startLocation||e.transitionTo(r,(function(e){i&&Ce(t,e,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},t.prototype.go=function(e){window.history.go(e)},t.prototype.push=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){Te(F(i.base+e.fullPath)),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){Pe(F(i.base+e.fullPath)),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.ensureURL=function(e){if(ut(this.base)!==this.current.fullPath){var t=F(this.base+this.current.fullPath);e?Te(t):Pe(t)}},t.prototype.getCurrentLocation=function(){return ut(this.base)},t}(et);function ut(e){var t=window.location.pathname,n=t.toLowerCase(),i=e.toLowerCase();return!e||n!==i&&0!==n.indexOf(F(i+"/"))||(t=t.slice(e.length)),(t||"/")+window.location.search+window.location.hash}var ht=function(e){function t(t,n,i){e.call(this,t,n),i&&dt(this.base)||ft()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.setupListeners=function(){var e=this;if(!(this.listeners.length>0)){var t=this.router,n=t.options.scrollBehavior,i=De&&n;i&&this.listeners.push(Be());var r=function(){var t=e.current;ft()&&e.transitionTo(pt(),(function(n){i&&Ce(e.router,n,t,!0),De||vt(n.fullPath)}))},o=De?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push((function(){window.removeEventListener(o,r)}))}},t.prototype.push=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){mt(e.fullPath),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this,r=this,o=r.current;this.transitionTo(e,(function(e){vt(e.fullPath),Ce(i.router,e,o,!1),t&&t(e)}),n)},t.prototype.go=function(e){window.history.go(e)},t.prototype.ensureURL=function(e){var t=this.current.fullPath;pt()!==t&&(e?mt(t):vt(t))},t.prototype.getCurrentLocation=function(){return pt()},t}(et);function dt(e){var t=ut(e);if(!/^\/#/.test(t))return window.location.replace(F(e+"/#"+t)),!0}function ft(){var e=pt();return"/"===e.charAt(0)||(vt("/"+e),!1)}function pt(){var e=window.location.href,t=e.indexOf("#");return t<0?"":(e=e.slice(t+1),e)}function gt(e){var t=window.location.href,n=t.indexOf("#"),i=n>=0?t.slice(0,n):t;return i+"#"+e}function mt(e){De?Te(gt(e)):window.location.hash=e}function vt(e){De?Pe(gt(e)):window.location.replace(gt(e))}var yt=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index+1).concat(e),i.index++,t&&t(e)}),n)},t.prototype.replace=function(e,t,n){var i=this;this.transitionTo(e,(function(e){i.stack=i.stack.slice(0,i.index).concat(e),t&&t(e)}),n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var i=this.stack[n];this.confirmTransition(i,(function(){var e=t.current;t.index=n,t.updateRoute(i),t.router.afterHooks.forEach((function(t){t&&t(i,e)}))}),(function(e){ze(e,Me.duplicated)&&(t.index=n)}))}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(et),bt=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=de(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!De&&!1!==e.fallback,this.fallback&&(t="hash"),Ae||(t="abstract"),this.mode=t,t){case"history":this.history=new ct(this,e.base);break;case"hash":this.history=new ht(this,e.base,this.fallback);break;case"abstract":this.history=new yt(this,e.base);break;default:0}},wt={currentRoute:{configurable:!0}};bt.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},wt.currentRoute.get=function(){return this.history&&this.history.current},bt.prototype.init=function(e){var t=this;if(this.apps.push(e),e.$once("hook:destroyed",(function(){var n=t.apps.indexOf(e);n>-1&&t.apps.splice(n,1),t.app===e&&(t.app=t.apps[0]||null),t.app||t.history.teardown()})),!this.app){this.app=e;var n=this.history;if(n instanceof ct||n instanceof ht){var i=function(e){var i=n.current,r=t.options.scrollBehavior,o=De&&r;o&&"fullPath"in e&&Ce(t,e,i,!1)},r=function(e){n.setupListeners(),i(e)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen((function(e){t.apps.forEach((function(t){t._route=e}))}))}},bt.prototype.beforeEach=function(e){return Ct(this.beforeHooks,e)},bt.prototype.beforeResolve=function(e){return Ct(this.resolveHooks,e)},bt.prototype.afterEach=function(e){return Ct(this.afterHooks,e)},bt.prototype.onReady=function(e,t){this.history.onReady(e,t)},bt.prototype.onError=function(e){this.history.onError(e)},bt.prototype.push=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.push(e,t,n)}));this.history.push(e,t,n)},bt.prototype.replace=function(e,t,n){var i=this;if(!t&&!n&&"undefined"!==typeof Promise)return new Promise((function(t,n){i.history.replace(e,t,n)}));this.history.replace(e,t,n)},bt.prototype.go=function(e){this.history.go(e)},bt.prototype.back=function(){this.go(-1)},bt.prototype.forward=function(){this.go(1)},bt.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map((function(e){return Object.keys(e.components).map((function(t){return e.components[t]}))}))):[]},bt.prototype.resolve=function(e,t,n){t=t||this.history.current;var i=Z(e,t,n,this),r=this.match(i,t),o=r.redirectedFrom||r.fullPath,a=this.history.base,s=xt(a,o,this.mode);return{location:i,route:r,href:s,normalizedTo:i,resolved:r}},bt.prototype.getRoutes=function(){return this.matcher.getRoutes()},bt.prototype.addRoute=function(e,t){this.matcher.addRoute(e,t),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},bt.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==g&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(bt.prototype,wt);var Bt=bt;function Ct(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function xt(e,t,n){var i="hash"===n?"#"+t:t;return e?F(e+"/"+i):i}bt.install=se,bt.version="3.6.5",bt.isNavigationFailure=ze,bt.NavigationFailureType=Me,bt.START_LOCATION=g,Ae&&window.Vue&&window.Vue.use(bt)},3032:function(e,t,n){"use strict";n.r(t),n.d(t,{EffectScope:function(){return hi},computed:function(){return yt},customRef:function(){return ct},default:function(){return ao},defineAsyncComponent:function(){return Mi},defineComponent:function(){return er},del:function(){return Ze},effectScope:function(){return di},getCurrentInstance:function(){return ve},getCurrentScope:function(){return pi},h:function(){return bi},inject:function(){return yi},isProxy:function(){return Re},isReactive:function(){return He},isReadonly:function(){return Ne},isRef:function(){return nt},isShallow:function(){return Le},markRaw:function(){return $e},mergeDefaults:function(){return fn},nextTick:function(){return Di},onActivated:function(){return zi},onBeforeMount:function(){return Ni},onBeforeUnmount:function(){return Vi},onBeforeUpdate:function(){return ji},onDeactivated:function(){return Wi},onErrorCaptured:function(){return qi},onMounted:function(){return Ri},onRenderTracked:function(){return Yi},onRenderTriggered:function(){return Xi},onScopeDispose:function(){return gi},onServerPrefetch:function(){return Gi},onUnmounted:function(){return Ki},onUpdated:function(){return $i},provide:function(){return mi},proxyRefs:function(){return At},reactive:function(){return Te},readonly:function(){return pt},ref:function(){return it},set:function(){return qe},shallowReactive:function(){return Pe},shallowReadonly:function(){return vt},shallowRef:function(){return rt},toRaw:function(){return je},toRef:function(){return ht},toRefs:function(){return ut},triggerRef:function(){return at},unref:function(){return st},useAttrs:function(){return un},useCssModule:function(){return Ti},useCssVars:function(){return Pi},useListeners:function(){return hn},useSlots:function(){return cn},version:function(){return Zi},watch:function(){return ci},watchEffect:function(){return oi},watchPostEffect:function(){return ai},watchSyncEffect:function(){return si}});n(7658),n(4633),n(541);var i=Object.freeze({}),r=Array.isArray;function o(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function s(e){return!0===e}function A(e){return!1===e}function l(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return"function"===typeof e}function u(e){return null!==e&&"object"===typeof e}var h=Object.prototype.toString;function d(e){return"[object Object]"===h.call(e)}function f(e){return"[object RegExp]"===h.call(e)}function p(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function g(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function m(e){return null==e?"":Array.isArray(e)||d(e)&&e.toString===h?JSON.stringify(e,null,2):String(e)}function v(e){var t=parseFloat(e);return isNaN(t)?e:t}function y(e,t){for(var n=Object.create(null),i=e.split(","),r=0;r-1)return e.splice(i,1)}}var C=Object.prototype.hasOwnProperty;function x(e,t){return C.call(e,t)}function _(e){var t=Object.create(null);return function(n){var i=t[n];return i||(t[n]=e(n))}}var S=/-(\w)/g,k=_((function(e){return e.replace(S,(function(e,t){return t?t.toUpperCase():""}))})),E=_((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),F=/\B([A-Z])/g,Q=_((function(e){return e.replace(F,"-$1").toLowerCase()}));function U(e,t){function n(n){var i=arguments.length;return i?i>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function O(e,t){return e.bind(t)}var I=Function.prototype.bind?O:U;function D(e,t){t=t||0;var n=e.length-t,i=new Array(n);while(n--)i[n]=e[n+t];return i}function T(e,t){for(var n in t)e[n]=t[n];return e}function P(e){for(var t={},n=0;n0,oe=ne&&ne.indexOf("edge/")>0;ne&&ne.indexOf("android");var ae=ne&&/iphone|ipad|ipod|ios/.test(ne);ne&&/chrome\/\d+/.test(ne),ne&&/phantomjs/.test(ne);var se,Ae=ne&&ne.match(/firefox\/(\d+)/),le={}.watch,ce=!1;if(te)try{var ue={};Object.defineProperty(ue,"passive",{get:function(){ce=!0}}),window.addEventListener("test-passive",null,ue)}catch(Du){}var he=function(){return void 0===se&&(se=!te&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),se},de=te&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function fe(e){return"function"===typeof e&&/native code/.test(e.toString())}var pe,ge="undefined"!==typeof Symbol&&fe(Symbol)&&"undefined"!==typeof Reflect&&fe(Reflect.ownKeys);pe="undefined"!==typeof Set&&fe(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var me=null;function ve(){return me&&{proxy:me}}function ye(e){void 0===e&&(e=null),e||me&&me._scope.off(),me=e,e&&e._scope.on()}var be=function(){function e(e,t,n,i,r,o,a,s){this.tag=e,this.data=t,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),we=function(e){void 0===e&&(e="");var t=new be;return t.text=e,t.isComment=!0,t};function Be(e){return new be(void 0,void 0,void 0,String(e))}function Ce(e){var t=new be(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}var xe=0,_e=[],Se=function(){for(var e=0;e<_e.length;e++){var t=_e[e];t.subs=t.subs.filter((function(e){return e})),t._pending=!1}_e.length=0},ke=function(){function e(){this._pending=!1,this.id=xe++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,_e.push(this))},e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter((function(e){return e}));for(var n=0,i=t.length;n0&&(i=Ft(i,"".concat(t||"","_").concat(n)),Et(i[0])&&Et(c)&&(u[A]=Be(c.text+i[0].text),i.shift()),u.push.apply(u,i)):l(i)?Et(c)?u[A]=Be(c.text+i):""!==i&&u.push(Be(i)):Et(i)&&Et(c)?u[A]=Be(c.text+i.text):(s(e._isVList)&&a(i.tag)&&o(i.key)&&a(t)&&(i.key="__vlist".concat(t,"_").concat(n,"__")),u.push(i)));return u}var Qt=1,Ut=2;function Ot(e,t,n,i,o,a){return(r(n)||l(n))&&(o=i,i=n,n=void 0),s(a)&&(o=Ut),It(e,t,n,i,o)}function It(e,t,n,i,o){if(a(n)&&a(n.__ob__))return we();if(a(n)&&a(n.is)&&(t=n.is),!t)return we();var s,A;if(r(i)&&c(i[0])&&(n=n||{},n.scopedSlots={default:i[0]},i.length=0),o===Ut?i=kt(i):o===Qt&&(i=St(i)),"string"===typeof t){var l=void 0;A=e.$vnode&&e.$vnode.ns||G.getTagNamespace(t),s=G.isReservedTag(t)?new be(G.parsePlatformTagName(t),n,i,void 0,void 0,e):n&&n.pre||!a(l=Zr(e.$options,"components",t))?new be(t,n,i,void 0,void 0,e):Pr(l,n,e,i,t)}else s=Pr(t,n,e,i);return r(s)?s:a(s)?(a(A)&&Dt(s,A),a(n)&&Tt(n),s):we()}function Dt(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),a(e.children))for(var i=0,r=e.children.length;i0,s=t?!!t.$stable:!a,A=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(s&&r&&r!==i&&A===r.$key&&!a&&!r.$hasNormal)return r;for(var l in o={},t)t[l]&&"$"!==l[0]&&(o[l]=tn(e,n,l,t[l]))}else o={};for(var c in n)c in o||(o[c]=nn(n,c));return t&&Object.isExtensible(t)&&(t._normalized=o),J(o,"$stable",s),J(o,"$key",A),J(o,"$hasNormal",a),o}function tn(e,t,n,i){var o=function(){var t=me;ye(e);var n=arguments.length?i.apply(null,arguments):i({});n=n&&"object"===typeof n&&!r(n)?[n]:kt(n);var o=n&&n[0];return ye(t),n&&(!o||1===n.length&&o.isComment&&!Zt(o))?void 0:n};return i.proxy&&Object.defineProperty(t,n,{get:o,enumerable:!0,configurable:!0}),o}function nn(e,t){return function(){return e[t]}}function rn(e){var t=e.$options,n=t.setup;if(n){var i=e._setupContext=on(e);ye(e),Fe();var r=Bi(n,null,[e._props||Pe({}),i],e,"setup");if(Qe(),ye(),c(r))t.render=r;else if(u(r))if(e._setupState=r,r.__sfc){var o=e._setupProxy={};for(var a in r)"__sfc"!==a&<(o,r,a)}else for(var a in r)X(a)||lt(e,r,a);else 0}}function on(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};J(t,"_v_attr_proxy",!0),an(t,e.$attrs,i,e,"$attrs")}return e._attrsProxy},get listeners(){if(!e._listenersProxy){var t=e._listenersProxy={};an(t,e.$listeners,i,e,"$listeners")}return e._listenersProxy},get slots(){return An(e)},emit:I(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach((function(n){return lt(e,t,n)}))}}}function an(e,t,n,i,r){var o=!1;for(var a in t)a in e?t[a]!==n[a]&&(o=!0):(o=!0,sn(e,a,i,r));for(var a in e)a in t||(o=!0,delete e[a]);return o}function sn(e,t,n,i){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[i][t]}})}function An(e){return e._slotsProxy||ln(e._slotsProxy={},e.$scopedSlots),e._slotsProxy}function ln(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}function cn(){return dn().slots}function un(){return dn().attrs}function hn(){return dn().listeners}function dn(){var e=me;return e._setupContext||(e._setupContext=on(e))}function fn(e,t){var n=r(e)?e.reduce((function(e,t){return e[t]={},e}),{}):e;for(var i in t){var o=n[i];o?r(o)||c(o)?n[i]={type:o,default:t[i]}:o.default=t[i]:null===o&&(n[i]={default:t[i]})}return n}function pn(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Jt(t._renderChildren,r),e.$scopedSlots=n?en(e.$parent,n.data.scopedSlots,e.$slots):i,e._c=function(t,n,i,r){return Ot(e,t,n,i,r,!1)},e.$createElement=function(t,n,i,r){return Ot(e,t,n,i,r,!0)};var o=n&&n.data;Je(e,"$attrs",o&&o.attrs||i,null,!0),Je(e,"$listeners",t._parentListeners||i,null,!0)}var gn,mn=null;function vn(e){Xt(e.prototype),e.prototype.$nextTick=function(e){return Di(e,this)},e.prototype._render=function(){var e,t=this,n=t.$options,i=n.render,o=n._parentVnode;o&&t._isMounted&&(t.$scopedSlots=en(t.$parent,o.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&ln(t._slotsProxy,t.$scopedSlots)),t.$vnode=o;try{ye(t),mn=t,e=i.call(t._renderProxy,t.$createElement)}catch(Du){wi(Du,t,"render"),e=t._vnode}finally{mn=null,ye()}return r(e)&&1===e.length&&(e=e[0]),e instanceof be||(e=we()),e.parent=o,e}}function yn(e,t){return(e.__esModule||ge&&"Module"===e[Symbol.toStringTag])&&(e=e.default),u(e)?t.extend(e):e}function bn(e,t,n,i,r){var o=we();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:i,tag:r},o}function wn(e,t){if(s(e.error)&&a(e.errorComp))return e.errorComp;if(a(e.resolved))return e.resolved;var n=mn;if(n&&a(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),s(e.loading)&&a(e.loadingComp))return e.loadingComp;if(n&&!a(e.owners)){var i=e.owners=[n],r=!0,A=null,l=null;n.$on("hook:destroyed",(function(){return B(i,n)}));var c=function(e){for(var t=0,n=i.length;t1?D(n):n;for(var i=D(arguments,1),r='event handler for "'.concat(e,'"'),o=0,a=n.length;odocument.createEvent("Event").timeStamp&&(Wn=function(){return Gn.now()})}var Yn=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function Xn(){var e,t;for(zn=Wn(),$n=!0,Ln.sort(Yn),Vn=0;VnVn&&Ln[n].id>e.id)n--;Ln.splice(n+1,0,e)}else Ln.push(e);jn||(jn=!0,Di(Xn))}}var ti="watcher",ni="".concat(ti," callback"),ii="".concat(ti," getter"),ri="".concat(ti," cleanup");function oi(e,t){return ui(e,null,t)}function ai(e,t){return ui(e,null,{flush:"post"})}function si(e,t){return ui(e,null,{flush:"sync"})}var Ai,li={};function ci(e,t,n){return ui(e,t,n)}function ui(e,t,n){var o=void 0===n?i:n,a=o.immediate,s=o.deep,A=o.flush,l=void 0===A?"pre":A;o.onTrack,o.onTrigger;var u,h,d=me,f=function(e,t,n){return void 0===n&&(n=null),Bi(e,null,n,d,t)},p=!1,g=!1;if(nt(e)?(u=function(){return e.value},p=Le(e)):He(e)?(u=function(){return e.__ob__.dep.depend(),e},s=!0):r(e)?(g=!0,p=e.some((function(e){return He(e)||Le(e)})),u=function(){return e.map((function(e){return nt(e)?e.value:He(e)?nr(e):c(e)?f(e,ii):void 0}))}):u=c(e)?t?function(){return f(e,ii)}:function(){if(!d||!d._isDestroyed)return h&&h(),f(e,ti,[v])}:M,t&&s){var m=u;u=function(){return nr(m())}}var v=function(e){h=y.onStop=function(){f(e,ri)}};if(he())return v=M,t?a&&f(t,ni,[u(),g?[]:void 0,v]):u(),M;var y=new or(me,u,M,{lazy:!0});y.noRecurse=!t;var b=g?[]:li;return y.run=function(){if(y.active)if(t){var e=y.get();(s||p||(g?e.some((function(e,t){return V(e,b[t])})):V(e,b)))&&(h&&h(),f(t,ni,[e,b===li?void 0:b,v]),b=e)}else y.get()},"sync"===l?y.update=y.run:"post"===l?(y.post=!0,y.update=function(){return ei(y)}):y.update=function(){if(d&&d===me&&!d._isMounted){var e=d._preWatchers||(d._preWatchers=[]);e.indexOf(y)<0&&e.push(y)}else ei(y)},t?a?y.run():b=y.get():"post"===l&&d?d.$once("hook:mounted",(function(){return y.get()})):y.get(),function(){y.teardown()}}var hi=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Ai,!e&&Ai&&(this.index=(Ai.scopes||(Ai.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=Ai;try{return Ai=this,e()}finally{Ai=t}}else 0},e.prototype.on=function(){Ai=this},e.prototype.off=function(){Ai=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t1)return n&&c(t)?t.call(i):t}else 0}function bi(e,t,n){return Ot(me,e,t,n,2,!0)}function wi(e,t,n){Fe();try{if(t){var i=t;while(i=i.$parent){var r=i.$options.errorCaptured;if(r)for(var o=0;o-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===Q(e)){var A=oo(String,r.type);(A<0||s-1)return this;var n=D(arguments,1);return n.unshift(this),c(e.install)?e.install.apply(e,n):c(e)&&e.apply(null,n),t.push(e),this}}function Ao(e){e.mixin=function(e){return this.options=qr(this.options,e),this}}function lo(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,i=n.cid,r=e._Ctor||(e._Ctor={});if(r[i])return r[i];var o=Ir(e)||Ir(n.options);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=qr(n.options,e),a["super"]=n,a.options.props&&co(a),a.options.computed&&uo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(e){a[e]=n[e]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=T({},a.options),r[i]=a,a}}function co(e){var t=e.options.props;for(var n in t)sr(e.prototype,"_props",n)}function uo(e){var t=e.options.computed;for(var n in t)fr(e.prototype,n,t[n])}function ho(e){z.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&d(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&c(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}}))}function fo(e){return e&&(Ir(e.Ctor.options)||e.tag)}function po(e,t){return r(e)?e.indexOf(t)>-1:"string"===typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function go(e,t){var n=e.cache,i=e.keys,r=e._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;s&&!t(s)&&mo(n,o,i,r)}}}function mo(e,t,n,i){var r=e[t];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),e[t]=null,B(n,t)}_r(ao),br(ao),En(ao),On(ao),vn(ao);var vo=[String,RegExp,Array],yo={name:"keep-alive",abstract:!0,props:{include:vo,exclude:vo,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,i=e.vnodeToCache,r=e.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;t[r]={name:fo(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&mo(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)mo(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",(function(t){go(e,(function(e){return po(t,e)}))})),this.$watch("exclude",(function(t){go(e,(function(e){return!po(t,e)}))}))},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Bn(e),n=t&&t.componentOptions;if(n){var i=fo(n),r=this,o=r.include,a=r.exclude;if(o&&(!i||!po(o,i))||a&&i&&po(a,i))return t;var s=this,A=s.cache,l=s.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;A[c]?(t.componentInstance=A[c].componentInstance,B(l,c),l.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},bo={KeepAlive:yo};function wo(e){var t={get:function(){return G}};Object.defineProperty(e,"config",t),e.util={warn:Rr,extend:T,mergeOptions:qr,defineReactive:Je},e.set=qe,e.delete=Ze,e.nextTick=Di,e.observable=function(e){return Xe(e),e},e.options=Object.create(null),z.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,T(e.options.components,bo),so(e),Ao(e),lo(e),ho(e)}wo(ao),Object.defineProperty(ao.prototype,"$isServer",{get:he}),Object.defineProperty(ao.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ao,"FunctionalRenderContext",{value:Fr}),ao.version=Zi;var Bo=y("style,class"),Co=y("input,textarea,option,select,progress"),xo=function(e,t,n){return"value"===n&&Co(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},_o=y("contenteditable,draggable,spellcheck"),So=y("events,caret,typing,plaintext-only"),ko=function(e,t){return Oo(t)||"false"===t?"false":"contenteditable"===e&&So(t)?t:"true"},Eo=y("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Fo="http://www.w3.org/1999/xlink",Qo=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Uo=function(e){return Qo(e)?e.slice(6,e.length):""},Oo=function(e){return null==e||!1===e};function Io(e){var t=e.data,n=e,i=e;while(a(i.componentInstance))i=i.componentInstance._vnode,i&&i.data&&(t=Do(i.data,t));while(a(n=n.parent))n&&n.data&&(t=Do(t,n.data));return To(t.staticClass,t.class)}function Do(e,t){return{staticClass:Po(e.staticClass,t.staticClass),class:a(e.class)?[e.class,t.class]:t.class}}function To(e,t){return a(e)||a(t)?Po(e,Mo(t)):""}function Po(e,t){return e?t?e+" "+t:e:t||""}function Mo(e){return Array.isArray(e)?Ho(e):u(e)?Lo(e):"string"===typeof e?e:""}function Ho(e){for(var t,n="",i=0,r=e.length;i-1?zo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:zo[e]=/HTMLUnknownElement/.test(t.toString())}var Go=y("text,number,password,search,email,tel,url");function Yo(e){if("string"===typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Xo(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Jo(e,t){return document.createElementNS(No[e],t)}function qo(e){return document.createTextNode(e)}function Zo(e){return document.createComment(e)}function ea(e,t,n){e.insertBefore(t,n)}function ta(e,t){e.removeChild(t)}function na(e,t){e.appendChild(t)}function ia(e){return e.parentNode}function ra(e){return e.nextSibling}function oa(e){return e.tagName}function aa(e,t){e.textContent=t}function sa(e,t){e.setAttribute(t,"")}var Aa=Object.freeze({__proto__:null,createElement:Xo,createElementNS:Jo,createTextNode:qo,createComment:Zo,insertBefore:ea,removeChild:ta,appendChild:na,parentNode:ia,nextSibling:ra,tagName:oa,setTextContent:aa,setStyleScope:sa}),la={create:function(e,t){ca(t)},update:function(e,t){e.data.ref!==t.data.ref&&(ca(e,!0),ca(t))},destroy:function(e){ca(e,!0)}};function ca(e,t){var n=e.data.ref;if(a(n)){var i=e.context,o=e.componentInstance||e.elm,s=t?null:o,A=t?void 0:o;if(c(n))Bi(n,i,[s],i,"template ref function");else{var l=e.data.refInFor,u="string"===typeof n||"number"===typeof n,h=nt(n),d=i.$refs;if(u||h)if(l){var f=u?d[n]:n.value;t?r(f)&&B(f,o):r(f)?f.includes(o)||f.push(o):u?(d[n]=[o],ua(i,n,d[n])):n.value=[o]}else if(u){if(t&&d[n]!==o)return;d[n]=A,ua(i,n,s)}else if(h){if(t&&n.value!==o)return;n.value=s}else 0}}}function ua(e,t,n){var i=e._setupState;i&&x(i,t)&&(nt(i[t])?i[t].value=n:i[t]=n)}var ha=new be("",{},[]),da=["create","activate","update","remove","destroy"];function fa(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&a(e.data)===a(t.data)&&pa(e,t)||s(e.isAsyncPlaceholder)&&o(t.asyncFactory.error))}function pa(e,t){if("input"!==e.tag)return!0;var n,i=a(n=e.data)&&a(n=n.attrs)&&n.type,r=a(n=t.data)&&a(n=n.attrs)&&n.type;return i===r||Go(i)&&Go(r)}function ga(e,t,n){var i,r,o={};for(i=t;i<=n;++i)r=e[i].key,a(r)&&(o[r]=i);return o}function ma(e){var t,n,i={},A=e.modules,c=e.nodeOps;for(t=0;tp?(u=o(n[v+1])?null:n[v+1].elm,x(e,u,n,d,v,i)):d>v&&S(t,h,p)}function F(e,t,n,i){for(var r=n;r-1?Ea(e,t,n):Eo(t)?Oo(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):_o(t)?e.setAttribute(t,ko(t,n)):Qo(t)?Oo(n)?e.removeAttributeNS(Fo,Uo(t)):e.setAttributeNS(Fo,t,n):Ea(e,t,n)}function Ea(e,t,n){if(Oo(n))e.removeAttribute(t);else{if(ie&&!re&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var i=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",i)};e.addEventListener("input",i),e.__ieph=!0}e.setAttribute(t,n)}}var Fa={create:Sa,update:Sa};function Qa(e,t){var n=t.elm,i=t.data,r=e.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=Io(t),A=n._transitionClasses;a(A)&&(s=Po(s,Mo(A))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ua,Oa,Ia,Da,Ta,Pa,Ma={create:Qa,update:Qa},Ha=/[\w).+\-_$\]]/;function La(e){var t,n,i,r,o,a=!1,s=!1,A=!1,l=!1,c=0,u=0,h=0,d=0;for(i=0;i=0;f--)if(p=e.charAt(f)," "!==p)break;p&&Ha.test(p)||(l=!0)}}else void 0===r?(d=i+1,r=e.slice(0,i).trim()):g();function g(){(o||(o=[])).push(e.slice(d,i).trim()),d=i+1}if(void 0===r?r=e.slice(0,i).trim():0!==d&&g(),o)for(i=0;i-1?{exp:e.slice(0,Da),key:'"'+e.slice(Da+1)+'"'}:{exp:e,key:null};Oa=e,Da=Ta=Pa=0;while(!rs())Ia=is(),os(Ia)?ss(Ia):91===Ia&&as(Ia);return{exp:e.slice(0,Ta),key:e.slice(Ta+1,Pa)}}function is(){return Oa.charCodeAt(++Da)}function rs(){return Da>=Ua}function os(e){return 34===e||39===e}function as(e){var t=1;Ta=Da;while(!rs())if(e=is(),os(e))ss(e);else if(91===e&&t++,93===e&&t--,0===t){Pa=Da;break}}function ss(e){var t=e;while(!rs())if(e=is(),e===t)break}var As,ls="__r",cs="__c";function us(e,t,n){n;var i=t.value,r=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return es(e,i,r),!1;if("select"===o)fs(e,i,r);else if("input"===o&&"checkbox"===a)hs(e,i,r);else if("input"===o&&"radio"===a)ds(e,i,r);else if("input"===o||"textarea"===o)ps(e,i,r);else{if(!G.isReservedTag(o))return es(e,i,r),!1}return!0}function hs(e,t,n){var i=n&&n.number,r=Xa(e,"value")||"null",o=Xa(e,"true-value")||"true",a=Xa(e,"false-value")||"false";$a(e,"checked","Array.isArray(".concat(t,")")+"?_i(".concat(t,",").concat(r,")>-1")+("true"===o?":(".concat(t,")"):":_q(".concat(t,",").concat(o,")"))),Ga(e,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(i?"_n("+r+")":r,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(ts(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(ts(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(ts(t,"$$c"),"}"),null,!0)}function ds(e,t,n){var i=n&&n.number,r=Xa(e,"value")||"null";r=i?"_n(".concat(r,")"):r,$a(e,"checked","_q(".concat(t,",").concat(r,")")),Ga(e,"change",ts(t,r),null,!0)}function fs(e,t,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(i?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(r,";");a="".concat(a," ").concat(ts(t,o)),Ga(e,"change",a,null,!0)}function ps(e,t,n){var i=e.attrsMap.type,r=n||{},o=r.lazy,a=r.number,s=r.trim,A=!o&&"range"!==i,l=o?"change":"range"===i?ls:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n(".concat(c,")"));var u=ts(t,c);A&&(u="if($event.target.composing)return;".concat(u)),$a(e,"value","(".concat(t,")")),Ga(e,l,u,null,!0),(s||a)&&Ga(e,"blur","$forceUpdate()")}function gs(e){if(a(e[ls])){var t=ie?"change":"input";e[t]=[].concat(e[ls],e[t]||[]),delete e[ls]}a(e[cs])&&(e.change=[].concat(e[cs],e.change||[]),delete e[cs])}function ms(e,t,n){var i=As;return function r(){var o=t.apply(null,arguments);null!==o&&bs(e,r,n,i)}}var vs=Si&&!(Ae&&Number(Ae[1])<=53);function ys(e,t,n,i){if(vs){var r=zn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=r||e.timeStamp<=0||e.target.ownerDocument!==document)return o.apply(this,arguments)}}As.addEventListener(e,t,ce?{capture:n,passive:i}:n)}function bs(e,t,n,i){(i||As).removeEventListener(e,t._wrapper||t,n)}function ws(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},i=e.data.on||{};As=t.elm||e.elm,gs(n),Bt(n,i,ys,bs,ms,t.context),As=void 0}}var Bs,Cs={create:ws,update:ws,destroy:function(e){return ws(e,ha)}};function xs(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,i,r=t.elm,A=e.data.domProps||{},l=t.data.domProps||{};for(n in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=t.data.domProps=T({},l)),A)n in l||(r[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),i===A[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var c=o(i)?"":String(i);_s(r,c)&&(r.value=c)}else if("innerHTML"===n&&jo(r.tagName)&&o(r.innerHTML)){Bs=Bs||document.createElement("div"),Bs.innerHTML="".concat(i,"");var u=Bs.firstChild;while(r.firstChild)r.removeChild(r.firstChild);while(u.firstChild)r.appendChild(u.firstChild)}else if(i!==A[n])try{r[n]=i}catch(Du){}}}}function _s(e,t){return!e.composing&&("OPTION"===e.tagName||Ss(e,t)||ks(e,t))}function Ss(e,t){var n=!0;try{n=document.activeElement!==e}catch(Du){}return n&&e.value!==t}function ks(e,t){var n=e.value,i=e._vModifiers;if(a(i)){if(i.number)return v(n)!==v(t);if(i.trim)return n.trim()!==t.trim()}return n!==t}var Es={create:xs,update:xs},Fs=_((function(e){var t={},n=/;(?![^(]*\))/g,i=/:(.+)/;return e.split(n).forEach((function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}));function Qs(e){var t=Us(e.style);return e.staticStyle?T(e.staticStyle,t):t}function Us(e){return Array.isArray(e)?P(e):"string"===typeof e?Fs(e):e}function Os(e,t){var n,i={};if(t){var r=e;while(r.componentInstance)r=r.componentInstance._vnode,r&&r.data&&(n=Qs(r.data))&&T(i,n)}(n=Qs(e.data))&&T(i,n);var o=e;while(o=o.parent)o.data&&(n=Qs(o.data))&&T(i,n);return i}var Is,Ds=/^--/,Ts=/\s*!important$/,Ps=function(e,t,n){if(Ds.test(t))e.style.setProperty(t,n);else if(Ts.test(n))e.style.setProperty(Q(t),n.replace(Ts,""),"important");else{var i=Hs(t);if(Array.isArray(n))for(var r=0,o=n.length;r-1?t.split(Rs).forEach((function(t){return e.classList.add(t)})):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function $s(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(Rs).forEach((function(t){return e.classList.remove(t)})):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{var n=" ".concat(e.getAttribute("class")||""," "),i=" "+t+" ";while(n.indexOf(i)>=0)n=n.replace(i," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function Vs(e){if(e){if("object"===typeof e){var t={};return!1!==e.css&&T(t,Ks(e.name||"v")),T(t,e),t}return"string"===typeof e?Ks(e):void 0}}var Ks=_((function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}})),zs=te&&!re,Ws="transition",Gs="animation",Ys="transition",Xs="transitionend",Js="animation",qs="animationend";zs&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Ys="WebkitTransition",Xs="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Js="WebkitAnimation",qs="webkitAnimationEnd"));var Zs=te?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function eA(e){Zs((function(){Zs(e)}))}function tA(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),js(e,t))}function nA(e,t){e._transitionClasses&&B(e._transitionClasses,t),$s(e,t)}function iA(e,t,n){var i=oA(e,t),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===Ws?Xs:qs,A=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++A>=a&&l()};setTimeout((function(){A0&&(n=Ws,c=a,u=o.length):t===Gs?l>0&&(n=Gs,c=l,u=A.length):(c=Math.max(a,l),n=c>0?a>l?Ws:Gs:null,u=n?n===Ws?o.length:A.length:0);var h=n===Ws&&rA.test(i[Ys+"Property"]);return{type:n,timeout:c,propCount:u,hasTransform:h}}function aA(e,t){while(e.length1}function hA(e,t){!0!==t.data.show&&AA(t)}var dA=te?{create:hA,activate:hA,remove:function(e,t){!0!==e.data.show?lA(e,t):t()}}:{},fA=[Fa,Ma,Cs,Es,Ns,dA],pA=fA.concat(_a),gA=ma({nodeOps:Aa,modules:pA});re&&document.addEventListener("selectionchange",(function(){var e=document.activeElement;e&&e.vmodel&&xA(e,"input")}));var mA={inserted:function(e,t,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Ct(n,"postpatch",(function(){mA.componentUpdated(e,t,n)})):vA(e,t,n.context),e._vOptions=[].map.call(e.options,wA)):("textarea"===n.tag||Go(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",BA),e.addEventListener("compositionend",CA),e.addEventListener("change",CA),re&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){vA(e,t,n.context);var i=e._vOptions,r=e._vOptions=[].map.call(e.options,wA);if(r.some((function(e,t){return!R(e,i[t])}))){var o=e.multiple?t.value.some((function(e){return bA(e,r)})):t.value!==t.oldValue&&bA(t.value,r);o&&xA(e,"change")}}}};function vA(e,t,n){yA(e,t,n),(ie||oe)&&setTimeout((function(){yA(e,t,n)}),0)}function yA(e,t,n){var i=t.value,r=e.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,A=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(R(wA(a),i))return void(e.selectedIndex!==s&&(e.selectedIndex=s));r||(e.selectedIndex=-1)}}function bA(e,t){return t.every((function(t){return!R(t,e)}))}function wA(e){return"_value"in e?e._value:e.value}function BA(e){e.target.composing=!0}function CA(e){e.target.composing&&(e.target.composing=!1,xA(e.target,"input"))}function xA(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function _A(e){return!e.componentInstance||e.data&&e.data.transition?e:_A(e.componentInstance._vnode)}var SA={bind:function(e,t,n){var i=t.value;n=_A(n);var r=n.data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;i&&r?(n.data.show=!0,AA(n,(function(){e.style.display=o}))):e.style.display=i?o:"none"},update:function(e,t,n){var i=t.value,r=t.oldValue;if(!i!==!r){n=_A(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,i?AA(n,(function(){e.style.display=e.__vOriginalDisplay})):lA(n,(function(){e.style.display="none"}))):e.style.display=i?e.__vOriginalDisplay:"none"}},unbind:function(e,t,n,i,r){r||(e.style.display=e.__vOriginalDisplay)}},kA={model:mA,show:SA},EA={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function FA(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?FA(Bn(t.children)):e}function QA(e){var t={},n=e.$options;for(var i in n.propsData)t[i]=e[i];var r=n._parentListeners;for(var i in r)t[k(i)]=r[i];return t}function UA(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function OA(e){while(e=e.parent)if(e.data.transition)return!0}function IA(e,t){return t.key===e.key&&t.tag===e.tag}var DA=function(e){return e.tag||Zt(e)},TA=function(e){return"show"===e.name},PA={name:"transition",props:EA,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(DA),n.length)){0;var i=this.mode;0;var r=n[0];if(OA(this.$vnode))return r;var o=FA(r);if(!o)return r;if(this._leaving)return UA(e,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:l(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=QA(this),A=this._vnode,c=FA(A);if(o.data.directives&&o.data.directives.some(TA)&&(o.data.show=!0),c&&c.data&&!IA(o,c)&&!Zt(c)&&(!c.componentInstance||!c.componentInstance._vnode.isComment)){var u=c.data.transition=T({},s);if("out-in"===i)return this._leaving=!0,Ct(u,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),UA(e,r);if("in-out"===i){if(Zt(o))return A;var h,d=function(){h()};Ct(s,"afterEnter",d),Ct(s,"enterCancelled",d),Ct(u,"delayLeave",(function(e){h=e}))}}return r}}},MA=T({tag:String,moveClass:String},EA);delete MA.mode;var HA={props:MA,beforeMount:function(){var e=this,t=this._update;this._update=function(n,i){var r=Qn(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,r(),t.call(e,n,i)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=QA(this),s=0;sA&&(s.push(o=e.slice(A,r)),a.push(JSON.stringify(o)));var l=La(i[1].trim());a.push("_s(".concat(l,")")),s.push({"@binding":l}),A=r+i[0].length}return A\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ol=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,al="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(Y.source,"]*"),sl="((?:".concat(al,"\\:)?").concat(al,")"),Al=new RegExp("^<".concat(sl)),ll=/^\s*(\/?)>/,cl=new RegExp("^<\\/".concat(sl,"[^>]*>")),ul=/^]+>/i,hl=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},ml=/&(?:lt|gt|quot|amp|#39);/g,vl=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,yl=y("pre,textarea",!0),bl=function(e,t){return e&&yl(e)&&"\n"===t[0]};function wl(e,t){var n=t?vl:ml;return e.replace(n,(function(e){return gl[e]}))}function Bl(e,t){var n,i,r=[],o=t.expectHTML,a=t.isUnaryTag||H,s=t.canBeLeftOpenTag||H,A=0,l=function(){if(n=e,i&&fl(i)){var r=0,o=i.toLowerCase(),a=pl[o]||(pl[o]=new RegExp("([\\s\\S]*?)(]*>)","i"));b=e.replace(a,(function(e,n,i){return r=i.length,fl(o)||"noscript"===o||(n=n.replace(//g,"$1").replace(//g,"$1")),bl(o,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));A+=e.length-b.length,e=b,f(o,A-r,A)}else{var s=e.indexOf("<");if(0===s){if(hl.test(e)){var l=e.indexOf("--\x3e");if(l>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,l),A,A+l+3),u(l+3),"continue"}if(dl.test(e)){var c=e.indexOf("]>");if(c>=0)return u(c+2),"continue"}var p=e.match(ul);if(p)return u(p[0].length),"continue";var g=e.match(cl);if(g){var m=A;return u(g[0].length),f(g[1],m,A),"continue"}var v=h();if(v)return d(v),bl(v.tagName,e)&&u(1),"continue"}var y=void 0,b=void 0,w=void 0;if(s>=0){b=e.slice(s);while(!cl.test(b)&&!Al.test(b)&&!hl.test(b)&&!dl.test(b)){if(w=b.indexOf("<",1),w<0)break;s+=w,b=e.slice(s)}y=e.substring(0,s)}s<0&&(y=e),y&&u(y.length),t.chars&&y&&t.chars(y,A-y.length,A)}if(e===n)return t.chars&&t.chars(e),"break"};while(e){var c=l();if("break"===c)break}function u(t){A+=t,e=e.substring(t)}function h(){var t=e.match(Al);if(t){var n={tagName:t[1],attrs:[],start:A};u(t[0].length);var i=void 0,r=void 0;while(!(i=e.match(ll))&&(r=e.match(ol)||e.match(rl)))r.start=A,u(r[0].length),r.end=A,n.attrs.push(r);if(i)return n.unarySlash=i[1],u(i[0].length),n.end=A,n}}function d(e){var n=e.tagName,A=e.unarySlash;o&&("p"===i&&il(n)&&f(i),s(n)&&i===n&&f(n));for(var l=a(n)||!!A,c=e.attrs.length,u=new Array(c),h=0;h=0;a--)if(r[a].lowerCasedTag===s)break}else a=0;if(a>=0){for(var l=r.length-1;l>=a;l--)t.end&&t.end(r[l].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}f()}var Cl,xl,_l,Sl,kl,El,Fl,Ql,Ul=/^@|^v-on:/,Ol=/^v-|^@|^:|^#/,Il=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Dl=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Tl=/^\(|\)$/g,Pl=/^\[.*\]$/,Ml=/:(.*)$/,Hl=/^:|^\.|^v-bind:/,Ll=/\.[^.\]]+(?=[^\]]*$)/g,Nl=/^v-slot(:|$)|^#/,Rl=/[\r\n]/,jl=/[ \f\t\r\n]+/g,$l=_(el.decode),Vl="_empty_";function Kl(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:hc(t),rawAttrsMap:{},parent:n,children:[]}}function zl(e,t){Cl=t.warn||Ra,El=t.isPreTag||H,Fl=t.mustUseProp||H,Ql=t.getTagNamespace||H;var n=t.isReservedTag||H;(function(e){return!(!(e.component||e.attrsMap[":is"]||e.attrsMap["v-bind:is"])&&(e.attrsMap.is?n(e.attrsMap.is):n(e.tag)))}),_l=ja(t.modules,"transformNode"),Sl=ja(t.modules,"preTransformNode"),kl=ja(t.modules,"postTransformNode"),xl=t.delimiters;var i,r,o=[],a=!1!==t.preserveWhitespace,s=t.whitespace,A=!1,l=!1;function c(e){if(u(e),A||e.processed||(e=Yl(e,t)),o.length||e===i||i.if&&(e.elseif||e.else)&&ic(i,{exp:e.elseif,block:e}),r&&!e.forbidden)if(e.elseif||e.else)tc(e,r);else{if(e.slotScope){var n=e.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=e}r.children.push(e),e.parent=r}e.children=e.children.filter((function(e){return!e.slotScope})),u(e),e.pre&&(A=!1),El(e.tag)&&(l=!1);for(var a=0;a|^function(?:\s+[\w$]+)?\s*\(/,Pc=/\([^)]*?\);*$/,Mc=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Hc={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Lc={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Nc=function(e){return"if(".concat(e,")return null;")},Rc={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Nc("$event.target !== $event.currentTarget"),ctrl:Nc("!$event.ctrlKey"),shift:Nc("!$event.shiftKey"),alt:Nc("!$event.altKey"),meta:Nc("!$event.metaKey"),left:Nc("'button' in $event && $event.button !== 0"),middle:Nc("'button' in $event && $event.button !== 1"),right:Nc("'button' in $event && $event.button !== 2")};function jc(e,t){var n=t?"nativeOn:":"on:",i="",r="";for(var o in e){var a=$c(e[o]);e[o]&&e[o].dynamic?r+="".concat(o,",").concat(a,","):i+='"'.concat(o,'":').concat(a,",")}return i="{".concat(i.slice(0,-1),"}"),r?n+"_d(".concat(i,",[").concat(r.slice(0,-1),"])"):n+i}function $c(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map((function(e){return $c(e)})).join(","),"]");var t=Mc.test(e.value),n=Tc.test(e.value),i=Mc.test(e.value.replace(Pc,""));if(e.modifiers){var r="",o="",a=[],s=function(t){if(Rc[t])o+=Rc[t],Hc[t]&&a.push(t);else if("exact"===t){var n=e.modifiers;o+=Nc(["ctrl","shift","alt","meta"].filter((function(e){return!n[e]})).map((function(e){return"$event.".concat(e,"Key")})).join("||"))}else a.push(t)};for(var A in e.modifiers)s(A);a.length&&(r+=Vc(a)),o&&(r+=o);var l=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):i?"return ".concat(e.value):e.value;return"function($event){".concat(r).concat(l,"}")}return t||n?e.value:"function($event){".concat(i?"return ".concat(e.value):e.value,"}")}function Vc(e){return"if(!$event.type.indexOf('key')&&"+"".concat(e.map(Kc).join("&&"),")return null;")}function Kc(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=Hc[e],i=Lc[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(i))+")"}function zc(e,t){e.wrapListeners=function(e){return"_g(".concat(e,",").concat(t.value,")")}}function Wc(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}}var Gc={on:zc,bind:Wc,cloak:M},Yc=function(){function e(e){this.options=e,this.warn=e.warn||Ra,this.transforms=ja(e.modules,"transformCode"),this.dataGenFns=ja(e.modules,"genData"),this.directives=T(T({},Gc),e.directives);var t=e.isReservedTag||H;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1}return e}();function Xc(e,t){var n=new Yc(t),i=e?"script"===e.tag?"null":Jc(e,n):'_c("div")';return{render:"with(this){return ".concat(i,"}"),staticRenderFns:n.staticRenderFns}}function Jc(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Zc(e,t);if(e.once&&!e.onceProcessed)return eu(e,t);if(e.for&&!e.forProcessed)return iu(e,t);if(e.if&&!e.ifProcessed)return tu(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return mu(e,t);var n=void 0;if(e.component)n=vu(e.component,e,t);else{var i=void 0,r=t.maybeComponent(e);(!e.plain||e.pre&&r)&&(i=ru(e,t));var o=void 0,a=t.options.bindings;r&&a&&!1!==a.__isScriptSetup&&(o=qc(a,e.tag)),o||(o="'".concat(e.tag,"'"));var s=e.inlineTemplate?null:uu(e,t,!0);n="_c(".concat(o).concat(i?",".concat(i):"").concat(s?",".concat(s):"",")")}for(var A=0;A>>0}function lu(e){return 1===e.type&&("slot"===e.tag||e.children.some(lu))}function cu(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return tu(e,t,cu,"null");if(e.for&&!e.forProcessed)return iu(e,t,cu);var i=e.slotScope===Vl?"":String(e.slotScope),r="function(".concat(i,"){")+"return ".concat("template"===e.tag?e.if&&n?"(".concat(e.if,")?").concat(uu(e,t)||"undefined",":undefined"):uu(e,t)||"undefined":Jc(e,t),"}"),o=i?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(r).concat(o,"}")}function uu(e,t,n,i,r){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return"".concat((i||Jc)(a,t)).concat(s)}var A=n?hu(o,t.maybeComponent):0,l=r||fu;return"[".concat(o.map((function(e){return l(e,t)})).join(","),"]").concat(A?",".concat(A):"")}}function hu(e,t){for(var n=0,i=0;i':'
',xu.innerHTML.indexOf(" ")>0}var Fu=!!te&&Eu(!1),Qu=!!te&&Eu(!0),Uu=_((function(e){var t=Yo(e);return t&&t.innerHTML})),Ou=ao.prototype.$mount;function Iu(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}ao.prototype.$mount=function(e,t){if(e=e&&Yo(e),e===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"===typeof i)"#"===i.charAt(0)&&(i=Uu(i));else{if(!i.nodeType)return this;i=i.innerHTML}else e&&(i=Iu(e));if(i){0;var r=ku(i,{outputSourceRange:!1,shouldDecodeNewlines:Fu,shouldDecodeNewlinesForHref:Qu,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Ou.call(this,e,t)},ao.compile=ku},3822:function(e,t,n){"use strict";n.d(t,{rn:function(){return I}});n(7658),n(541); +/*! + * vuex v3.6.2 + * (c) 2021 Evan You + * @license MIT + */ +function i(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:i});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[i].concat(e.init):i,n.call(this,e)}}function i(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}var r="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},o=r.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function A(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var i=Array.isArray(e)?[]:{};return t.push({original:e,copy:i}),Object.keys(e).forEach((function(n){i[n]=A(e[n],t)})),i}function l(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function u(e){return e&&"function"===typeof e.then}function h(e,t){return function(){return e(t)}}var d=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},d.prototype.addChild=function(e,t){this._children[e]=t},d.prototype.removeChild=function(e){delete this._children[e]},d.prototype.getChild=function(e){return this._children[e]},d.prototype.hasChild=function(e){return e in this._children},d.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},d.prototype.forEachChild=function(e){l(this._children,e)},d.prototype.forEachGetter=function(e){this._rawModule.getters&&l(this._rawModule.getters,e)},d.prototype.forEachAction=function(e){this._rawModule.actions&&l(this._rawModule.actions,e)},d.prototype.forEachMutation=function(e){this._rawModule.mutations&&l(this._rawModule.mutations,e)},Object.defineProperties(d.prototype,f);var p=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var i in n.modules){if(!t.getChild(i))return void 0;g(e.concat(i),t.getChild(i),n.modules[i])}}p.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},p.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},p.prototype.update=function(e){g([],this.root,e)},p.prototype.register=function(e,t,n){var i=this;void 0===n&&(n=!0);var r=new d(t,n);if(0===e.length)this.root=r;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],r)}t.modules&&l(t.modules,(function(t,r){i.register(e.concat(r),t,n)}))},p.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],i=t.getChild(n);i&&i.runtime&&t.removeChild(n)},p.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var m;var v=function(e){var t=this;void 0===e&&(e={}),!m&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var i=e.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new p(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new m,this._makeLocalGettersCache=Object.create(null);var r=this,o=this,s=o.dispatch,A=o.commit;this.dispatch=function(e,t){return s.call(r,e,t)},this.commit=function(e,t,n){return A.call(r,e,t,n)},this.strict=i;var l=this._modules.root.state;C(this,l,[],this._modules.root),B(this,l),n.forEach((function(e){return e(t)}));var c=void 0!==e.devtools?e.devtools:m.config.devtools;c&&a(this)},y={state:{configurable:!0}};function b(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function w(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;C(e,n,[],e._modules.root,!0),B(e,n,t)}function B(e,t,n){var i=e._vm;e.getters={},e._makeLocalGettersCache=Object.create(null);var r=e._wrappedGetters,o={};l(r,(function(t,n){o[n]=h(t,e),Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})}));var a=m.config.silent;m.config.silent=!0,e._vm=new m({data:{$$state:t},computed:o}),m.config.silent=a,e.strict&&F(e),i&&(n&&e._withCommit((function(){i._data.$$state=null})),m.nextTick((function(){return i.$destroy()})))}function C(e,t,n,i,r){var o=!n.length,a=e._modules.getNamespace(n);if(i.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=i),!o&&!r){var s=Q(t,n.slice(0,-1)),A=n[n.length-1];e._withCommit((function(){m.set(s,A,i.state)}))}var l=i.context=x(e,a,n);i.forEachMutation((function(t,n){var i=a+n;S(e,i,t,l)})),i.forEachAction((function(t,n){var i=t.root?n:a+n,r=t.handler||t;k(e,i,r,l)})),i.forEachGetter((function(t,n){var i=a+n;E(e,i,t,l)})),i.forEachChild((function(i,o){C(e,t,n.concat(o),i,r)}))}function x(e,t,n){var i=""===t,r={dispatch:i?e.dispatch:function(n,i,r){var o=U(n,i,r),a=o.payload,s=o.options,A=o.type;return s&&s.root||(A=t+A),e.dispatch(A,a)},commit:i?e.commit:function(n,i,r){var o=U(n,i,r),a=o.payload,s=o.options,A=o.type;s&&s.root||(A=t+A),e.commit(A,a,s)}};return Object.defineProperties(r,{getters:{get:i?function(){return e.getters}:function(){return _(e,t)}},state:{get:function(){return Q(e.state,n)}}}),r}function _(e,t){if(!e._makeLocalGettersCache[t]){var n={},i=t.length;Object.keys(e.getters).forEach((function(r){if(r.slice(0,i)===t){var o=r.slice(i);Object.defineProperty(n,o,{get:function(){return e.getters[r]},enumerable:!0})}})),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function S(e,t,n,i){var r=e._mutations[t]||(e._mutations[t]=[]);r.push((function(t){n.call(e,i.state,t)}))}function k(e,t,n,i){var r=e._actions[t]||(e._actions[t]=[]);r.push((function(t){var r=n.call(e,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:e.getters,rootState:e.state},t);return u(r)||(r=Promise.resolve(r)),e._devtoolHook?r.catch((function(t){throw e._devtoolHook.emit("vuex:error",t),t})):r}))}function E(e,t,n,i){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(e){return n(i.state,i.getters,e.state,e.getters)})}function F(e){e._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function Q(e,t){return t.reduce((function(e,t){return e[t]}),e)}function U(e,t,n){return c(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function O(e){m&&e===m||(m=e,i(m))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(e){0},v.prototype.commit=function(e,t,n){var i=this,r=U(e,t,n),o=r.type,a=r.payload,s=(r.options,{type:o,payload:a}),A=this._mutations[o];A&&(this._withCommit((function(){A.forEach((function(e){e(a)}))})),this._subscribers.slice().forEach((function(e){return e(s,i.state)})))},v.prototype.dispatch=function(e,t){var n=this,i=U(e,t),r=i.type,o=i.payload,a={type:r,payload:o},s=this._actions[r];if(s){try{this._actionSubscribers.slice().filter((function(e){return e.before})).forEach((function(e){return e.before(a,n.state)}))}catch(l){0}var A=s.length>1?Promise.all(s.map((function(e){return e(o)}))):s[0](o);return new Promise((function(e,t){A.then((function(t){try{n._actionSubscribers.filter((function(e){return e.after})).forEach((function(e){return e.after(a,n.state)}))}catch(l){0}e(t)}),(function(e){try{n._actionSubscribers.filter((function(e){return e.error})).forEach((function(t){return t.error(a,n.state,e)}))}catch(l){0}t(e)}))}))}},v.prototype.subscribe=function(e,t){return b(e,this._subscribers,t)},v.prototype.subscribeAction=function(e,t){var n="function"===typeof e?{before:e}:e;return b(n,this._actionSubscribers,t)},v.prototype.watch=function(e,t,n){var i=this;return this._watcherVM.$watch((function(){return e(i.state,i.getters)}),t,n)},v.prototype.replaceState=function(e){var t=this;this._withCommit((function(){t._vm._data.$$state=e}))},v.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"===typeof e&&(e=[e]),this._modules.register(e,t),C(this,this.state,e,this._modules.get(e),n.preserveState),B(this,this.state)},v.prototype.unregisterModule=function(e){var t=this;"string"===typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit((function(){var n=Q(t.state,e.slice(0,-1));m.delete(n,e[e.length-1])})),w(this)},v.prototype.hasModule=function(e){return"string"===typeof e&&(e=[e]),this._modules.isRegistered(e)},v.prototype.hotUpdate=function(e){this._modules.update(e),w(this,!0)},v.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(v.prototype,y);var I=N((function(e,t){var n={};return H(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var i=R(this.$store,"mapState",e);if(!i)return;t=i.context.state,n=i.context.getters}return"function"===typeof r?r.call(this,t,n):t[r]},n[i].vuex=!0})),n})),D=N((function(e,t){var n={};return H(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.commit;if(e){var o=R(this.$store,"mapMutations",e);if(!o)return;i=o.context.commit}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),T=N((function(e,t){var n={};return H(t).forEach((function(t){var i=t.key,r=t.val;r=e+r,n[i]=function(){if(!e||R(this.$store,"mapGetters",e))return this.$store.getters[r]},n[i].vuex=!0})),n})),P=N((function(e,t){var n={};return H(t).forEach((function(t){var i=t.key,r=t.val;n[i]=function(){var t=[],n=arguments.length;while(n--)t[n]=arguments[n];var i=this.$store.dispatch;if(e){var o=R(this.$store,"mapActions",e);if(!o)return;i=o.context.dispatch}return"function"===typeof r?r.apply(this,[i].concat(t)):i.apply(this.$store,[r].concat(t))}})),n})),M=function(e){return{mapState:I.bind(null,e),mapGetters:T.bind(null,e),mapMutations:D.bind(null,e),mapActions:P.bind(null,e)}};function H(e){return L(e)?Array.isArray(e)?e.map((function(e){return{key:e,val:e}})):Object.keys(e).map((function(t){return{key:t,val:e[t]}})):[]}function L(e){return Array.isArray(e)||c(e)}function N(e){return function(t,n){return"string"!==typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function R(e,t,n){var i=e._modulesNamespaceMap[n];return i}function j(e){void 0===e&&(e={});var t=e.collapsed;void 0===t&&(t=!0);var n=e.filter;void 0===n&&(n=function(e,t,n){return!0});var i=e.transformer;void 0===i&&(i=function(e){return e});var r=e.mutationTransformer;void 0===r&&(r=function(e){return e});var o=e.actionFilter;void 0===o&&(o=function(e,t){return!0});var a=e.actionTransformer;void 0===a&&(a=function(e){return e});var s=e.logMutations;void 0===s&&(s=!0);var l=e.logActions;void 0===l&&(l=!0);var c=e.logger;return void 0===c&&(c=console),function(e){var u=A(e.state);"undefined"!==typeof c&&(s&&e.subscribe((function(e,o){var a=A(o);if(n(e,u,a)){var s=K(),l=r(e),h="mutation "+e.type+s;$(c,h,t),c.log("%c prev state","color: #9E9E9E; font-weight: bold",i(u)),c.log("%c mutation","color: #03A9F4; font-weight: bold",l),c.log("%c next state","color: #4CAF50; font-weight: bold",i(a)),V(c)}u=a})),l&&e.subscribeAction((function(e,n){if(o(e,n)){var i=K(),r=a(e),s="action "+e.type+i;$(c,s,t),c.log("%c action","color: #03A9F4; font-weight: bold",r),V(c)}})))}}function $(e,t,n){var i=n?e.groupCollapsed:e.group;try{i.call(e,t)}catch(r){e.log(t)}}function V(e){try{e.groupEnd()}catch(t){e.log("—— log end ——")}}function K(){var e=new Date;return" @ "+W(e.getHours(),2)+":"+W(e.getMinutes(),2)+":"+W(e.getSeconds(),2)+"."+W(e.getMilliseconds(),3)}function z(e,t){return new Array(t+1).join(e)}function W(e,t){return z("0",t-e.toString().length)+e}var G={Store:v,install:O,version:"3.6.2",mapState:I,mapMutations:D,mapGetters:T,mapActions:P,createNamespacedHelpers:M,createLogger:j};t["ZP"]=G},8593:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}}]); \ No newline at end of file diff --git a/public/assets/js/peerjs.min.js b/public/assets/js/peerjs.min.js new file mode 100644 index 0000000..6f92431 --- /dev/null +++ b/public/assets/js/peerjs.min.js @@ -0,0 +1,2 @@ +!function(){function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var r,n,i;function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var e=new Uint8Array(this._pieces);p.useArrayBufferView||(e=e.buffer),this._parts.push(e),this._pieces=[]}},u.prototype.getBuffer=function(){if(this.flush(),p.useBlobBuilder){for(var e=new d,t=0,r=this._parts.length;t>23&255)-127;return(0===e>>31?1:-1)*(8388607&e|8388608)*Math.pow(2,t-23)},h.prototype.unpack_double=function(){var e=this.unpack_uint32(),t=this.unpack_uint32(),r=(e>>20&2047)-1023;return(0===e>>31?1:-1)*((1048575&e|1048576)*Math.pow(2,r-20)+t*Math.pow(2,r-52))},h.prototype.read=function(e){var t=this.index;if(t+e<=this.length)return this.dataView.subarray(t,t+e);throw new Error("BinaryPackFailure: read index out of range")},m.prototype.getBuffer=function(){return this.bufferBuilder.getBuffer()},m.prototype.pack=function(e){var t=void 0===e?"undefined":c(e);if("string"===t)this.pack_string(e);else if("number"===t)Math.floor(e)===e?this.pack_integer(e):this.pack_double(e);else if("boolean"===t)!0===e?this.bufferBuilder.append(195):!1===e&&this.bufferBuilder.append(194);else if("undefined"===t)this.bufferBuilder.append(192);else{if("object"!==t)throw new Error('Type "'+t+'" not yet supported');if(null===e)this.bufferBuilder.append(192);else{var r=e.constructor;if(r==Array)this.pack_array(e);else if(r==Blob||r==File||e instanceof Blob||e instanceof File)this.pack_bin(e);else if(r==ArrayBuffer)f.useArrayBufferView?this.pack_bin(new Uint8Array(e)):this.pack_bin(e);else if("BYTES_PER_ELEMENT"in e)f.useArrayBufferView?this.pack_bin(new Uint8Array(e.buffer)):this.pack_bin(e.buffer);else if(r==Object||r.toString().startsWith("class"))this.pack_object(e);else if(r==Date)this.pack_string(e.toString());else{if("function"!=typeof e.toBinaryPack)throw new Error('Type "'+r.toString()+'" not yet supported');this.bufferBuilder.append(e.toBinaryPack())}}}this.bufferBuilder.flush()},m.prototype.pack_bin=function(e){var t=e.length||e.byteLength||e.size;if(t<=15)this.pack_uint8(160+t);else if(t<=65535)this.bufferBuilder.append(218),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(219),this.pack_uint32(t)}this.bufferBuilder.append(e)},m.prototype.pack_string=function(e){var t=function(e){return e.length>600?new Blob([e]).size:e.replace(/[^\u0000-\u007F]/g,v).length}(e);if(t<=15)this.pack_uint8(176+t);else if(t<=65535)this.bufferBuilder.append(216),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(217),this.pack_uint32(t)}this.bufferBuilder.append(e)},m.prototype.pack_array=function(e){var t=e.length;if(t<=15)this.pack_uint8(144+t);else if(t<=65535)this.bufferBuilder.append(220),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(221),this.pack_uint32(t)}for(var r=0;r=-32&&e<=127)this.bufferBuilder.append(255&e);else if(e>=0&&e<=255)this.bufferBuilder.append(204),this.pack_uint8(e);else if(e>=-128&&e<=127)this.bufferBuilder.append(208),this.pack_int8(e);else if(e>=0&&e<=65535)this.bufferBuilder.append(205),this.pack_uint16(e);else if(e>=-32768&&e<=32767)this.bufferBuilder.append(209),this.pack_int16(e);else if(e>=0&&e<=4294967295)this.bufferBuilder.append(206),this.pack_uint32(e);else if(e>=-2147483648&&e<=2147483647)this.bufferBuilder.append(210),this.pack_int32(e);else if(e>=-0x8000000000000000&&e<=0x8000000000000000)this.bufferBuilder.append(211),this.pack_int64(e);else{if(!(e>=0&&e<=0x10000000000000000))throw new Error("Invalid integer");this.bufferBuilder.append(207),this.pack_uint64(e)}},m.prototype.pack_double=function(e){var t=0;e<0&&(t=1,e=-e);var r=Math.floor(Math.log(e)/Math.LN2),n=e/Math.pow(2,r)-1,i=Math.floor(n*Math.pow(2,52)),o=Math.pow(2,32),a=t<<31|r+1023<<20|i/o&1048575,s=i%o;this.bufferBuilder.append(203),this.pack_int32(a),this.pack_int32(s)},m.prototype.pack_object=function(e){var t=Object.keys(e).length;if(t<=15)this.pack_uint8(128+t);else if(t<=65535)this.bufferBuilder.append(222),this.pack_uint16(t);else{if(!(t<=4294967295))throw new Error("Invalid length");this.bufferBuilder.append(223),this.pack_uint32(t)}for(var r in e)e.hasOwnProperty(r)&&(this.pack(r),this.pack(e[r]))},m.prototype.pack_uint8=function(e){this.bufferBuilder.append(e)},m.prototype.pack_uint16=function(e){this.bufferBuilder.append(e>>8),this.bufferBuilder.append(255&e)},m.prototype.pack_uint32=function(e){var t=4294967295&e;this.bufferBuilder.append((4278190080&t)>>>24),this.bufferBuilder.append((16711680&t)>>>16),this.bufferBuilder.append((65280&t)>>>8),this.bufferBuilder.append(255&t)},m.prototype.pack_uint64=function(e){var t=e/Math.pow(2,32),r=e%Math.pow(2,32);this.bufferBuilder.append((4278190080&t)>>>24),this.bufferBuilder.append((16711680&t)>>>16),this.bufferBuilder.append((65280&t)>>>8),this.bufferBuilder.append(255&t),this.bufferBuilder.append((4278190080&r)>>>24),this.bufferBuilder.append((16711680&r)>>>16),this.bufferBuilder.append((65280&r)>>>8),this.bufferBuilder.append(255&r)},m.prototype.pack_int8=function(e){this.bufferBuilder.append(255&e)},m.prototype.pack_int16=function(e){this.bufferBuilder.append((65280&e)>>8),this.bufferBuilder.append(255&e)},m.prototype.pack_int32=function(e){this.bufferBuilder.append(e>>>24&255),this.bufferBuilder.append((16711680&e)>>>16),this.bufferBuilder.append((65280&e)>>>8),this.bufferBuilder.append(255&e)},m.prototype.pack_int64=function(e){var t=Math.floor(e/Math.pow(2,32)),r=e%Math.pow(2,32);this.bufferBuilder.append((4278190080&t)>>>24),this.bufferBuilder.append((16711680&t)>>>16),this.bufferBuilder.append((65280&t)>>>8),this.bufferBuilder.append(255&t),this.bufferBuilder.append((4278190080&r)>>>24),this.bufferBuilder.append((16711680&r)>>>16),this.bufferBuilder.append((65280&r)>>>8),this.bufferBuilder.append(255&r)};var y=!0,g=!0;function b(e,t,r){var n=e.match(t);return n&&n.length>=r&&parseInt(n[r],10)}function C(e,t,r){if(e.RTCPeerConnection){var n=e.RTCPeerConnection.prototype,i=n.addEventListener;n.addEventListener=function(e,n){if(e!==t)return i.apply(this,arguments);var o=function(e){var t=r(e);t&&(n.handleEvent?n.handleEvent(t):n(t))};return this._eventMap=this._eventMap||{},this._eventMap[t]||(this._eventMap[t]=new Map),this._eventMap[t].set(n,o),i.apply(this,[e,o])};var o=n.removeEventListener;n.removeEventListener=function(e,r){if(e!==t||!this._eventMap||!this._eventMap[t])return o.apply(this,arguments);if(!this._eventMap[t].has(r))return o.apply(this,arguments);var n=this._eventMap[t].get(r);return this._eventMap[t].delete(r),0===this._eventMap[t].size&&delete this._eventMap[t],0===Object.keys(this._eventMap).length&&delete this._eventMap,o.apply(this,[e,n])},Object.defineProperty(n,"on"+t,{get:function(){return this["_on"+t]},set:function(e){this["_on"+t]&&(this.removeEventListener(t,this["_on"+t]),delete this["_on"+t]),e&&this.addEventListener(t,this["_on"+t]=e)},enumerable:!0,configurable:!0})}}function _(e){return"boolean"!=typeof e?new Error("Argument type: "+(void 0===e?"undefined":c(e))+". Please use a boolean."):(y=e,e?"adapter.js logging disabled":"adapter.js logging enabled")}function S(e){return"boolean"!=typeof e?new Error("Argument type: "+(void 0===e?"undefined":c(e))+". Please use a boolean."):(g=!e,"adapter.js deprecation warnings "+(e?"disabled":"enabled"))}function T(){if("object"==typeof window){if(y)return;"undefined"!=typeof console&&"function"==typeof console.log&&console.log.apply(console,arguments)}}function k(e,t){g&&console.warn(e+" is deprecated, please use "+t+" instead.")}function w(e){var t={browser:null,version:null};if(void 0===e||!e.navigator)return t.browser="Not a browser.",t;var r=e.navigator;if(r.mozGetUserMedia)t.browser="firefox",t.version=b(r.userAgent,/Firefox\/(\d+)\./,1);else if(r.webkitGetUserMedia||!1===e.isSecureContext&&e.webkitRTCPeerConnection&&!e.RTCIceGatherer)t.browser="chrome",t.version=b(r.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.mediaDevices&&r.userAgent.match(/Edge\/(\d+).(\d+)$/))t.browser="edge",t.version=b(r.userAgent,/Edge\/(\d+).(\d+)$/,2);else{if(!e.RTCPeerConnection||!r.userAgent.match(/AppleWebKit\/(\d+)\./))return t.browser="Not a supported browser.",t;t.browser="safari",t.version=b(r.userAgent,/AppleWebKit\/(\d+)\./,1),t.supportsUnifiedPlan=e.RTCRtpTransceiver&&"currentDirection"in e.RTCRtpTransceiver.prototype}return t}function P(e){return"[object Object]"===Object.prototype.toString.call(e)}function R(e){return P(e)?Object.keys(e).reduce((function(t,r){var n=P(e[r]),i=n?R(e[r]):e[r],a=n&&!Object.keys(i).length;return void 0===i||a?t:Object.assign(t,o({},r,i))}),{}):e}function E(e,t,r){t&&!r.has(t.id)&&(r.set(t.id,t),Object.keys(t).forEach((function(n){n.endsWith("Id")?E(e,e.get(t[n]),r):n.endsWith("Ids")&&t[n].forEach((function(t){E(e,e.get(t),r)}))})))}function x(e,t,r){var n=r?"outbound-rtp":"inbound-rtp",i=new Map;if(null===t)return i;var o=[];return e.forEach((function(e){"track"===e.type&&e.trackIdentifier===t.id&&o.push(e)})),o.forEach((function(t){e.forEach((function(r){r.type===n&&r.trackId===t.id&&E(e,r,i)}))})),i}var D={};t(D,"shimMediaStream",(function(){return j})),t(D,"shimOnTrack",(function(){return A})),t(D,"shimGetSendersWithDtmf",(function(){return L})),t(D,"shimGetStats",(function(){return B})),t(D,"shimSenderReceiverGetStats",(function(){return N})),t(D,"shimAddTrackRemoveTrackWithNative",(function(){return F})),t(D,"shimAddTrackRemoveTrack",(function(){return U})),t(D,"shimPeerConnection",(function(){return z})),t(D,"fixNegotiationNeeded",(function(){return G})),t(D,"shimGetUserMedia",(function(){return I})),t(D,"shimGetDisplayMedia",(function(){return M}));var O=T;function I(e,t){var r=e&&e.navigator;if(r.mediaDevices){var n=function(e){if("object"!=typeof e||e.mandatory||e.optional)return e;var t={};return Object.keys(e).forEach((function(r){if("require"!==r&&"advanced"!==r&&"mediaSource"!==r){var n="object"==typeof e[r]?e[r]:{ideal:e[r]};void 0!==n.exact&&"number"==typeof n.exact&&(n.min=n.max=n.exact);var i=function(e,t){return e?e+t.charAt(0).toUpperCase()+t.slice(1):"deviceId"===t?"sourceId":t};if(void 0!==n.ideal){t.optional=t.optional||[];var o={};"number"==typeof n.ideal?(o[i("min",r)]=n.ideal,t.optional.push(o),(o={})[i("max",r)]=n.ideal,t.optional.push(o)):(o[i("",r)]=n.ideal,t.optional.push(o))}void 0!==n.exact&&"number"!=typeof n.exact?(t.mandatory=t.mandatory||{},t.mandatory[i("",r)]=n.exact):["min","max"].forEach((function(e){void 0!==n[e]&&(t.mandatory=t.mandatory||{},t.mandatory[i(e,r)]=n[e])}))}})),e.advanced&&(t.optional=(t.optional||[]).concat(e.advanced)),t},i=function(e,i){if(t.version>=61)return i(e);if((e=JSON.parse(JSON.stringify(e)))&&"object"==typeof e.audio){var o=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])};o((e=JSON.parse(JSON.stringify(e))).audio,"autoGainControl","googAutoGainControl"),o(e.audio,"noiseSuppression","googNoiseSuppression"),e.audio=n(e.audio)}if(e&&"object"==typeof e.video){var a=e.video.facingMode;a=a&&("object"==typeof a?a:{ideal:a});var s,c=t.version<66;if(a&&("user"===a.exact||"environment"===a.exact||"user"===a.ideal||"environment"===a.ideal)&&(!r.mediaDevices.getSupportedConstraints||!r.mediaDevices.getSupportedConstraints().facingMode||c))if(delete e.video.facingMode,"environment"===a.exact||"environment"===a.ideal?s=["back","rear"]:"user"!==a.exact&&"user"!==a.ideal||(s=["front"]),s)return r.mediaDevices.enumerateDevices().then((function(t){var r=(t=t.filter((function(e){return"videoinput"===e.kind}))).find((function(e){return s.some((function(t){return e.label.toLowerCase().includes(t)}))}));return!r&&t.length&&s.includes("back")&&(r=t[t.length-1]),r&&(e.video.deviceId=a.exact?{exact:r.deviceId}:{ideal:r.deviceId}),e.video=n(e.video),O("chrome: "+JSON.stringify(e)),i(e)}));e.video=n(e.video)}return O("chrome: "+JSON.stringify(e)),i(e)},o=function(e){return t.version>=64?e:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[e.name]||e.name,message:e.message,constraint:e.constraint||e.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}};if(r.getUserMedia=function(e,t,n){i(e,(function(e){r.webkitGetUserMedia(e,t,(function(e){n&&n(o(e))}))}))}.bind(r),r.mediaDevices.getUserMedia){var a=r.mediaDevices.getUserMedia.bind(r.mediaDevices);r.mediaDevices.getUserMedia=function(e){return i(e,(function(e){return a(e).then((function(t){if(e.audio&&!t.getAudioTracks().length||e.video&&!t.getVideoTracks().length)throw t.getTracks().forEach((function(e){e.stop()})),new DOMException("","NotFoundError");return t}),(function(e){return Promise.reject(o(e))}))}))}}}}function M(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&("function"==typeof t?e.navigator.mediaDevices.getDisplayMedia=function(r){return t(r).then((function(t){var n=r.video&&r.video.width,i=r.video&&r.video.height,o=r.video&&r.video.frameRate;return r.video={mandatory:{chromeMediaSource:"desktop",chromeMediaSourceId:t,maxFrameRate:o||3}},n&&(r.video.mandatory.maxWidth=n),i&&(r.video.mandatory.maxHeight=i),e.navigator.mediaDevices.getUserMedia(r)}))}:console.error("shimGetDisplayMedia: getSourceId argument is not a function"))}function j(e){e.MediaStream=e.MediaStream||e.webkitMediaStream}function A(e){if("object"==typeof e&&e.RTCPeerConnection&&!("ontrack"in e.RTCPeerConnection.prototype)){Object.defineProperty(e.RTCPeerConnection.prototype,"ontrack",{get:function(){return this._ontrack},set:function(e){this._ontrack&&this.removeEventListener("track",this._ontrack),this.addEventListener("track",this._ontrack=e)},enumerable:!0,configurable:!0});var t=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(){if(!this._ontrackpoly){var r=this;this._ontrackpoly=function(t){var n=r;t.stream.addEventListener("addtrack",(function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.track.id})):{track:r.track};var o=new Event("track");o.track=r.track,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)})),t.stream.getTracks().forEach((function(r){var i;i=e.RTCPeerConnection.prototype.getReceivers?n.getReceivers().find((function(e){return e.track&&e.track.id===r.id})):{track:r};var o=new Event("track");o.track=r,o.receiver=i,o.transceiver={receiver:i},o.streams=[t.stream],n.dispatchEvent(o)}))},this.addEventListener("addstream",this._ontrackpoly)}return t.apply(this,arguments)}}else C(e,"track",(function(e){return e.transceiver||Object.defineProperty(e,"transceiver",{value:{receiver:e.receiver}}),e}))}function L(e){if("object"==typeof e&&e.RTCPeerConnection&&!("getSenders"in e.RTCPeerConnection.prototype)&&"createDTMFSender"in e.RTCPeerConnection.prototype){var t=function(e,t){return{track:t,get dtmf(){return void 0===this._dtmf&&("audio"===t.kind?this._dtmf=e.createDTMFSender(t):this._dtmf=null),this._dtmf},_pc:e}};if(!e.RTCPeerConnection.prototype.getSenders){e.RTCPeerConnection.prototype.getSenders=function(){return this._senders=this._senders||[],this._senders.slice()};var r=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,n){var i=r.apply(this,arguments);return i||(i=t(this,e),this._senders.push(i)),i};var n=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){n.apply(this,arguments);var t=this._senders.indexOf(e);-1!==t&&this._senders.splice(t,1)}}var i=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var r=this;this._senders=this._senders||[],i.apply(this,[e]),e.getTracks().forEach((function(e){r._senders.push(t(r,e))}))};var o=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;this._senders=this._senders||[],o.apply(this,[e]),e.getTracks().forEach((function(e){var r=t._senders.find((function(t){return t.track===e}));r&&t._senders.splice(t._senders.indexOf(r),1)}))}}else if("object"==typeof e&&e.RTCPeerConnection&&"getSenders"in e.RTCPeerConnection.prototype&&"createDTMFSender"in e.RTCPeerConnection.prototype&&e.RTCRtpSender&&!("dtmf"in e.RTCRtpSender.prototype)){var a=e.RTCPeerConnection.prototype.getSenders;e.RTCPeerConnection.prototype.getSenders=function(){var e=this,t=a.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t},Object.defineProperty(e.RTCRtpSender.prototype,"dtmf",{get:function(){return void 0===this._dtmf&&("audio"===this.track.kind?this._dtmf=this._pc.createDTMFSender(this.track):this._dtmf=null),this._dtmf}})}}function B(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=this,r=s(arguments,3),n=r[0],i=r[1],o=r[2];if(arguments.length>0&&"function"==typeof n)return t.apply(this,arguments);if(0===t.length&&(0===arguments.length||"function"!=typeof n))return t.apply(this,[]);var a=function(e){var t={};return e.result().forEach((function(e){var r={id:e.id,timestamp:e.timestamp,type:{localcandidate:"local-candidate",remotecandidate:"remote-candidate"}[e.type]||e.type};e.names().forEach((function(t){r[t]=e.stat(t)})),t[r.id]=r})),t},c=function(e){return new Map(Object.keys(e).map((function(t){return[t,e[t]]})))};if(arguments.length>=2){var p=function(e){i(c(a(e)))};return t.apply(this,[p,n])}return new Promise((function(r,n){t.apply(e,[function(e){r(c(a(e)))},n])})).then(i,o)}}}function N(e){if("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&e.RTCRtpReceiver){if(!("getStats"in e.RTCRtpSender.prototype)){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,r=t.apply(this,[]);return r.forEach((function(t){return t._pc=e})),r});var r=e.RTCPeerConnection.prototype.addTrack;r&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=r.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return x(t,e.track,!0)}))}}if(!("getStats"in e.RTCRtpReceiver.prototype)){var n=e.RTCPeerConnection.prototype.getReceivers;n&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,t=n.apply(this,[]);return t.forEach((function(t){return t._pc=e})),t}),C(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){var e=this;return this._pc.getStats().then((function(t){return x(t,e.track,!1)}))}}if("getStats"in e.RTCRtpSender.prototype&&"getStats"in e.RTCRtpReceiver.prototype){var i=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){if(arguments.length>0&&arguments[0]instanceof e.MediaStreamTrack){var t,r,n,o=arguments[0];return this.getSenders().forEach((function(e){e.track===o&&(t?n=!0:t=e)})),this.getReceivers().forEach((function(e){return e.track===o&&(r?n=!0:r=e),e.track===o})),n||t&&r?Promise.reject(new DOMException("There are more than one sender or receiver for the track.","InvalidAccessError")):t?t.getStats():r?r.getStats():Promise.reject(new DOMException("There is no sender or receiver for the track.","InvalidAccessError"))}return i.apply(this,arguments)}}}}function F(e){e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},Object.keys(this._shimmedLocalStreams).map((function(t){return e._shimmedLocalStreams[t][0]}))};var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addTrack=function(e,r){if(!r)return t.apply(this,arguments);this._shimmedLocalStreams=this._shimmedLocalStreams||{};var n=t.apply(this,arguments);return this._shimmedLocalStreams[r.id]?-1===this._shimmedLocalStreams[r.id].indexOf(n)&&this._shimmedLocalStreams[r.id].push(n):this._shimmedLocalStreams[r.id]=[r,n],n};var r=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(e){var t=this;this._shimmedLocalStreams=this._shimmedLocalStreams||{},e.getTracks().forEach((function(e){if(t.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")}));var n=this.getSenders();r.apply(this,arguments);var i=this.getSenders().filter((function(e){return-1===n.indexOf(e)}));this._shimmedLocalStreams[e.id]=[e].concat(i)};var n=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){return this._shimmedLocalStreams=this._shimmedLocalStreams||{},delete this._shimmedLocalStreams[e.id],n.apply(this,arguments)};var i=e.RTCPeerConnection.prototype.removeTrack;e.RTCPeerConnection.prototype.removeTrack=function(e){var t=this;return this._shimmedLocalStreams=this._shimmedLocalStreams||{},e&&Object.keys(this._shimmedLocalStreams).forEach((function(r){var n=t._shimmedLocalStreams[r].indexOf(e);-1!==n&&t._shimmedLocalStreams[r].splice(n,1),1===t._shimmedLocalStreams[r].length&&delete t._shimmedLocalStreams[r]})),i.apply(this,arguments)}}function U(e,t){var r=function(e,t){var r=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var n=e._reverseStreams[t],i=e._streams[n.id];r=r.replace(new RegExp(i.id,"g"),n.id)})),new RTCSessionDescription({type:t.type,sdp:r})},n=function(e,t){var r=t.sdp;return Object.keys(e._reverseStreams||[]).forEach((function(t){var n=e._reverseStreams[t],i=e._streams[n.id];r=r.replace(new RegExp(n.id,"g"),i.id)})),new RTCSessionDescription({type:t.type,sdp:r})};if(e.RTCPeerConnection){if(e.RTCPeerConnection.prototype.addTrack&&t.version>=65)return F(e);var i=e.RTCPeerConnection.prototype.getLocalStreams;e.RTCPeerConnection.prototype.getLocalStreams=function(){var e=this,t=i.apply(this);return this._reverseStreams=this._reverseStreams||{},t.map((function(t){return e._reverseStreams[t.id]}))};var a=e.RTCPeerConnection.prototype.addStream;e.RTCPeerConnection.prototype.addStream=function(t){var r=this;if(this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},t.getTracks().forEach((function(e){if(r.getSenders().find((function(t){return t.track===e})))throw new DOMException("Track already exists.","InvalidAccessError")})),!this._reverseStreams[t.id]){var n=new e.MediaStream(t.getTracks());this._streams[t.id]=n,this._reverseStreams[n.id]=t,t=n}a.apply(this,[t])};var s=e.RTCPeerConnection.prototype.removeStream;e.RTCPeerConnection.prototype.removeStream=function(e){this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{},s.apply(this,[this._streams[e.id]||e]),delete this._reverseStreams[this._streams[e.id]?this._streams[e.id].id:e.id],delete this._streams[e.id]},e.RTCPeerConnection.prototype.addTrack=function(t,r){if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");var n=[].slice.call(arguments,1);if(1!==n.length||!n[0].getTracks().find((function(e){return e===t})))throw new DOMException("The adapter.js addTrack polyfill only supports a single stream which is associated with the specified track.","NotSupportedError");var i=this.getSenders().find((function(e){return e.track===t}));if(i)throw new DOMException("Track already exists.","InvalidAccessError");this._streams=this._streams||{},this._reverseStreams=this._reverseStreams||{};var o=this._streams[r.id];if(o){var a=this;o.addTrack(t),Promise.resolve().then((function(){a.dispatchEvent(new Event("negotiationneeded"))}))}else{var s=new e.MediaStream([t]);this._streams[r.id]=s,this._reverseStreams[s.id]=r,this.addStream(s)}return this.getSenders().find((function(e){return e.track===t}))},["createOffer","createAnswer"].forEach((function(t){var n=e.RTCPeerConnection.prototype[t],i=o({},t,(function(){var e=this,t=arguments,i=arguments.length&&"function"==typeof arguments[0];return i?n.apply(this,[function(n){var i=r(e,n);t[0].apply(null,[i])},function(e){t[1]&&t[1].apply(null,e)},arguments[2]]):n.apply(this,arguments).then((function(t){return r(e,t)}))}));e.RTCPeerConnection.prototype[t]=i[t]}));var c=e.RTCPeerConnection.prototype.setLocalDescription;e.RTCPeerConnection.prototype.setLocalDescription=function(){return arguments.length&&arguments[0].type?(arguments[0]=n(this,arguments[0]),c.apply(this,arguments)):c.apply(this,arguments)};var p=Object.getOwnPropertyDescriptor(e.RTCPeerConnection.prototype,"localDescription");Object.defineProperty(e.RTCPeerConnection.prototype,"localDescription",{get:function(){var e=p.get.apply(this);return""===e.type?e:r(this,e)}}),e.RTCPeerConnection.prototype.removeTrack=function(e){var t,r=this;if("closed"===this.signalingState)throw new DOMException("The RTCPeerConnection's signalingState is 'closed'.","InvalidStateError");if(!e._pc)throw new DOMException("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.","TypeError");if(!(e._pc===this))throw new DOMException("Sender was not created by this connection.","InvalidAccessError");this._streams=this._streams||{},Object.keys(this._streams).forEach((function(n){r._streams[n].getTracks().find((function(t){return e.track===t}))&&(t=r._streams[n])})),t&&(1===t.getTracks().length?this.removeStream(this._reverseStreams[t.id]):t.removeTrack(e.track),this.dispatchEvent(new Event("negotiationneeded")))}}}function z(e,t){!e.RTCPeerConnection&&e.webkitRTCPeerConnection&&(e.RTCPeerConnection=e.webkitRTCPeerConnection),e.RTCPeerConnection&&t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var r=e.RTCPeerConnection.prototype[t],n=o({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=n[t]}))}function G(e,t){C(e,"negotiationneeded",(function(e){var r=e.target;if(!(t.version<72||r.getConfiguration&&"plan-b"===r.getConfiguration().sdpSemantics)||"stable"===r.signalingState)return e}))}var V={};t(V,"shimPeerConnection",(function(){return ee})),t(V,"shimReplaceTrack",(function(){return te})),t(V,"shimGetUserMedia",(function(){return Z})),t(V,"shimGetDisplayMedia",(function(){return $}));var J,W={},H={};function K(e,t,r,n,i){var o=W.writeRtpDescription(e.kind,t);if(o+=W.writeIceParameters(e.iceGatherer.getLocalParameters()),o+=W.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===r?"actpass":i||"active"),o+="a=mid:"+e.mid+"\r\n",e.rtpSender&&e.rtpReceiver?o+="a=sendrecv\r\n":e.rtpSender?o+="a=sendonly\r\n":e.rtpReceiver?o+="a=recvonly\r\n":o+="a=inactive\r\n",e.rtpSender){var a=e.rtpSender._initialTrackId||e.rtpSender.track.id;e.rtpSender._initialTrackId=a;var s="msid:"+(n?n.id:"-")+" "+a+"\r\n";o+="a="+s,o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+s,e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+s,o+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return o+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+W.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(o+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+W.localCName+"\r\n"),o}function Y(e,t){var r={codecs:[],headerExtensions:[],fecMechanisms:[]},n=function(e,t){e=parseInt(e,10);for(var r=0;r0?t[0].split("/")[1]:"sendrecv",uri:t[1]}},H.writeExtmap=function(e){return"a=extmap:"+(e.id||e.preferredId)+(e.direction&&"sendrecv"!==e.direction?"/"+e.direction:"")+" "+e.uri+"\r\n"},H.parseFmtp=function(e){for(var t,r={},n=e.substr(e.indexOf(" ")+1).split(";"),i=0;i-1?(r.attribute=e.substr(t+1,n-t-1),r.value=e.substr(n+1)):r.attribute=e.substr(t+1),r},H.parseSsrcGroup=function(e){var t=e.substr(13).split(" ");return{semantics:t.shift(),ssrcs:t.map((function(e){return parseInt(e,10)}))}},H.getMid=function(e){var t=H.matchPrefix(e,"a=mid:")[0];if(t)return t.substr(6)},H.parseFingerprint=function(e){var t=e.substr(14).split(" ");return{algorithm:t[0].toLowerCase(),value:t[1]}},H.getDtlsParameters=function(e,t){return{role:"auto",fingerprints:H.matchPrefix(e+t,"a=fingerprint:").map(H.parseFingerprint)}},H.writeDtlsParameters=function(e,t){var r="a=setup:"+t+"\r\n";return e.fingerprints.forEach((function(e){r+="a=fingerprint:"+e.algorithm+" "+e.value+"\r\n"})),r},H.parseCryptoLine=function(e){var t=e.substr(9).split(" ");return{tag:parseInt(t[0],10),cryptoSuite:t[1],keyParams:t[2],sessionParams:t.slice(3)}},H.writeCryptoLine=function(e){return"a=crypto:"+e.tag+" "+e.cryptoSuite+" "+("object"==typeof e.keyParams?H.writeCryptoKeyParams(e.keyParams):e.keyParams)+(e.sessionParams?" "+e.sessionParams.join(" "):"")+"\r\n"},H.parseCryptoKeyParams=function(e){if(0!==e.indexOf("inline:"))return null;var t=e.substr(7).split("|");return{keyMethod:"inline",keySalt:t[0],lifeTime:t[1],mkiValue:t[2]?t[2].split(":")[0]:void 0,mkiLength:t[2]?t[2].split(":")[1]:void 0}},H.writeCryptoKeyParams=function(e){return e.keyMethod+":"+e.keySalt+(e.lifeTime?"|"+e.lifeTime:"")+(e.mkiValue&&e.mkiLength?"|"+e.mkiValue+":"+e.mkiLength:"")},H.getCryptoParameters=function(e,t){return H.matchPrefix(e+t,"a=crypto:").map(H.parseCryptoLine)},H.getIceParameters=function(e,t){var r=H.matchPrefix(e+t,"a=ice-ufrag:")[0],n=H.matchPrefix(e+t,"a=ice-pwd:")[0];return r&&n?{usernameFragment:r.substr(12),password:n.substr(10)}:null},H.writeIceParameters=function(e){return"a=ice-ufrag:"+e.usernameFragment+"\r\na=ice-pwd:"+e.password+"\r\n"},H.parseRtpParameters=function(e){for(var t={codecs:[],headerExtensions:[],fecMechanisms:[],rtcp:[]},r=H.splitLines(e)[0].split(" "),n=3;n0?"9":"0",r+=" UDP/TLS/RTP/SAVPF ",r+=t.codecs.map((function(e){return void 0!==e.preferredPayloadType?e.preferredPayloadType:e.payloadType})).join(" ")+"\r\n",r+="c=IN IP4 0.0.0.0\r\n",r+="a=rtcp:9 IN IP4 0.0.0.0\r\n",t.codecs.forEach((function(e){r+=H.writeRtpMap(e),r+=H.writeFmtp(e),r+=H.writeRtcpFb(e)}));var n=0;return t.codecs.forEach((function(e){e.maxptime>n&&(n=e.maxptime)})),n>0&&(r+="a=maxptime:"+n+"\r\n"),r+="a=rtcp-mux\r\n",t.headerExtensions&&t.headerExtensions.forEach((function(e){r+=H.writeExtmap(e)})),r},H.parseRtpEncodingParameters=function(e){var t,r=[],n=H.parseRtpParameters(e),i=-1!==n.fecMechanisms.indexOf("RED"),o=-1!==n.fecMechanisms.indexOf("ULPFEC"),a=H.matchPrefix(e,"a=ssrc:").map((function(e){return H.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute})),s=a.length>0&&a[0].ssrc,c=H.matchPrefix(e,"a=ssrc-group:FID").map((function(e){return e.substr(17).split(" ").map((function(e){return parseInt(e,10)}))}));c.length>0&&c[0].length>1&&c[0][0]===s&&(t=c[0][1]),n.codecs.forEach((function(e){if("RTX"===e.name.toUpperCase()&&e.parameters.apt){var n={ssrc:s,codecPayloadType:parseInt(e.parameters.apt,10)};s&&t&&(n.rtx={ssrc:t}),r.push(n),i&&((n=JSON.parse(JSON.stringify(n))).fec={ssrc:s,mechanism:o?"red+ulpfec":"red"},r.push(n))}})),0===r.length&&s&&r.push({ssrc:s});var p=H.matchPrefix(e,"b=");return p.length&&(p=0===p[0].indexOf("b=TIAS:")?parseInt(p[0].substr(7),10):0===p[0].indexOf("b=AS:")?950*parseInt(p[0].substr(5),10)-16e3:void 0,r.forEach((function(e){e.maxBitrate=p}))),r},H.parseRtcpParameters=function(e){var t={},r=H.matchPrefix(e,"a=ssrc:").map((function(e){return H.parseSsrcMedia(e)})).filter((function(e){return"cname"===e.attribute}))[0];r&&(t.cname=r.value,t.ssrc=r.ssrc);var n=H.matchPrefix(e,"a=rtcp-rsize");t.reducedSize=n.length>0,t.compound=0===n.length;var i=H.matchPrefix(e,"a=rtcp-mux");return t.mux=i.length>0,t},H.parseMsid=function(e){var t,r=H.matchPrefix(e,"a=msid:");if(1===r.length)return{stream:(t=r[0].substr(7).split(" "))[0],track:t[1]};var n=H.matchPrefix(e,"a=ssrc:").map((function(e){return H.parseSsrcMedia(e)})).filter((function(e){return"msid"===e.attribute}));return n.length>0?{stream:(t=n[0].value.split(" "))[0],track:t[1]}:void 0},H.parseSctpDescription=function(e){var t,r=H.parseMLine(e),n=H.matchPrefix(e,"a=max-message-size:");n.length>0&&(t=parseInt(n[0].substr(19),10)),isNaN(t)&&(t=65536);var i=H.matchPrefix(e,"a=sctp-port:");if(i.length>0)return{port:parseInt(i[0].substr(12),10),protocol:r.fmt,maxMessageSize:t};if(H.matchPrefix(e,"a=sctpmap:").length>0){var o=H.matchPrefix(e,"a=sctpmap:")[0].substr(10).split(" ");return{port:parseInt(o[0],10),protocol:o[1],maxMessageSize:t}}},H.writeSctpDescription=function(e,t){var r=[];return r="DTLS/SCTP"!==e.protocol?["m="+e.kind+" 9 "+e.protocol+" "+t.protocol+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctp-port:"+t.port+"\r\n"]:["m="+e.kind+" 9 "+e.protocol+" "+t.port+"\r\n","c=IN IP4 0.0.0.0\r\n","a=sctpmap:"+t.port+" "+t.protocol+" 65535\r\n"],void 0!==t.maxMessageSize&&r.push("a=max-message-size:"+t.maxMessageSize+"\r\n"),r.join("")},H.generateSessionId=function(){return Math.random().toString().substr(2,21)},H.writeSessionBoilerplate=function(e,t,r){var n=void 0!==t?t:2;return"v=0\r\no="+(r||"thisisadapterortc")+" "+(e||H.generateSessionId())+" "+n+" IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\n"},H.writeMediaSection=function(e,t,r,n){var i=H.writeRtpDescription(e.kind,t);if(i+=H.writeIceParameters(e.iceGatherer.getLocalParameters()),i+=H.writeDtlsParameters(e.dtlsTransport.getLocalParameters(),"offer"===r?"actpass":"active"),i+="a=mid:"+e.mid+"\r\n",e.direction?i+="a="+e.direction+"\r\n":e.rtpSender&&e.rtpReceiver?i+="a=sendrecv\r\n":e.rtpSender?i+="a=sendonly\r\n":e.rtpReceiver?i+="a=recvonly\r\n":i+="a=inactive\r\n",e.rtpSender){var o="msid:"+n.id+" "+e.rtpSender.track.id+"\r\n";i+="a="+o,i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" "+o,e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" "+o,i+="a=ssrc-group:FID "+e.sendEncodingParameters[0].ssrc+" "+e.sendEncodingParameters[0].rtx.ssrc+"\r\n")}return i+="a=ssrc:"+e.sendEncodingParameters[0].ssrc+" cname:"+H.localCName+"\r\n",e.rtpSender&&e.sendEncodingParameters[0].rtx&&(i+="a=ssrc:"+e.sendEncodingParameters[0].rtx.ssrc+" cname:"+H.localCName+"\r\n"),i},H.getDirection=function(e,t){for(var r=H.splitLines(e),n=0;n=14393&&-1===e.indexOf("?transport=udp"):(r=!0,!0)})),delete e.url,e.urls=i?n[0]:n,!!n.length}}))}(r.iceServers||[],t),this._iceGatherers=[],r.iceCandidatePoolSize)for(var o=r.iceCandidatePoolSize;o>0;o--)this._iceGatherers.push(new e.RTCIceGatherer({iceServers:r.iceServers,gatherPolicy:r.iceTransportPolicy}));else r.iceCandidatePoolSize=0;this._config=r,this.transceivers=[],this._sdpSessionId=W.generateSessionId(),this._sdpSessionVersion=0,this._dtlsRole=void 0,this._isClosed=!1};Object.defineProperty(i.prototype,"localDescription",{configurable:!0,get:function(){return this._localDescription}}),Object.defineProperty(i.prototype,"remoteDescription",{configurable:!0,get:function(){return this._remoteDescription}}),i.prototype.onicecandidate=null,i.prototype.onaddstream=null,i.prototype.ontrack=null,i.prototype.onremovestream=null,i.prototype.onsignalingstatechange=null,i.prototype.oniceconnectionstatechange=null,i.prototype.onconnectionstatechange=null,i.prototype.onicegatheringstatechange=null,i.prototype.onnegotiationneeded=null,i.prototype.ondatachannel=null,i.prototype._dispatchEvent=function(e,t){this._isClosed||(this.dispatchEvent(t),"function"==typeof this["on"+e]&&this["on"+e](t))},i.prototype._emitGatheringStateChange=function(){var e=new Event("icegatheringstatechange");this._dispatchEvent("icegatheringstatechange",e)},i.prototype.getConfiguration=function(){return this._config},i.prototype.getLocalStreams=function(){return this.localStreams},i.prototype.getRemoteStreams=function(){return this.remoteStreams},i.prototype._createTransceiver=function(e,t){var r=this.transceivers.length>0,n={track:null,iceGatherer:null,iceTransport:null,dtlsTransport:null,localCapabilities:null,remoteCapabilities:null,rtpSender:null,rtpReceiver:null,kind:e,mid:null,sendEncodingParameters:null,recvEncodingParameters:null,stream:null,associatedRemoteMediaStreams:[],wantReceive:!0};if(this.usingBundle&&r)n.iceTransport=this.transceivers[0].iceTransport,n.dtlsTransport=this.transceivers[0].dtlsTransport;else{var i=this._createIceAndDtlsTransports();n.iceTransport=i.iceTransport,n.dtlsTransport=i.dtlsTransport}return t||this.transceivers.push(n),n},i.prototype.addTrack=function(t,r){if(this._isClosed)throw X("InvalidStateError","Attempted to call addTrack on a closed peerconnection.");var n;if(this.transceivers.find((function(e){return e.track===t})))throw X("InvalidAccessError","Track already exists.");for(var i=0;i=15025)e.getTracks().forEach((function(t){r.addTrack(t,e)}));else{var n=e.clone();e.getTracks().forEach((function(e,t){var r=n.getTracks()[t];e.addEventListener("enabled",(function(e){r.enabled=e.enabled}))})),n.getTracks().forEach((function(e){r.addTrack(e,n)}))}},i.prototype.removeTrack=function(t){if(this._isClosed)throw X("InvalidStateError","Attempted to call removeTrack on a closed peerconnection.");if(!(t instanceof e.RTCRtpSender))throw new TypeError("Argument 1 of RTCPeerConnection.removeTrack does not implement interface RTCRtpSender.");var r=this.transceivers.find((function(e){return e.rtpSender===t}));if(!r)throw X("InvalidAccessError","Sender was not created by this connection.");var n=r.stream;r.rtpSender.stop(),r.rtpSender=null,r.track=null,r.stream=null,-1===this.transceivers.map((function(e){return e.stream})).indexOf(n)&&this.localStreams.indexOf(n)>-1&&this.localStreams.splice(this.localStreams.indexOf(n),1),this._maybeFireNegotiationNeeded()},i.prototype.removeStream=function(e){var t=this;e.getTracks().forEach((function(e){var r=t.getSenders().find((function(t){return t.track===e}));r&&t.removeTrack(r)}))},i.prototype.getSenders=function(){return this.transceivers.filter((function(e){return!!e.rtpSender})).map((function(e){return e.rtpSender}))},i.prototype.getReceivers=function(){return this.transceivers.filter((function(e){return!!e.rtpReceiver})).map((function(e){return e.rtpReceiver}))},i.prototype._createIceGatherer=function(t,r){var n=this;if(r&&t>0)return this.transceivers[0].iceGatherer;if(this._iceGatherers.length)return this._iceGatherers.shift();var i=new e.RTCIceGatherer({iceServers:this._config.iceServers,gatherPolicy:this._config.iceTransportPolicy});return Object.defineProperty(i,"state",{value:"new",writable:!0}),this.transceivers[t].bufferedCandidateEvents=[],this.transceivers[t].bufferCandidates=function(e){var r=!e.candidate||0===Object.keys(e.candidate).length;i.state=r?"completed":"gathering",null!==n.transceivers[t].bufferedCandidateEvents&&n.transceivers[t].bufferedCandidateEvents.push(e)},i.addEventListener("localcandidate",this.transceivers[t].bufferCandidates),i},i.prototype._gather=function(t,r){var n=this,i=this.transceivers[r].iceGatherer;if(!i.onlocalcandidate){var o=this.transceivers[r].bufferedCandidateEvents;this.transceivers[r].bufferedCandidateEvents=null,i.removeEventListener("localcandidate",this.transceivers[r].bufferCandidates),i.onlocalcandidate=function(e){if(!(n.usingBundle&&r>0)){var o=new Event("icecandidate");o.candidate={sdpMid:t,sdpMLineIndex:r};var a=e.candidate,s=!a||0===Object.keys(a).length;if(s)"new"!==i.state&&"gathering"!==i.state||(i.state="completed");else{"new"===i.state&&(i.state="gathering"),a.component=1,a.ufrag=i.getLocalParameters().usernameFragment;var c=W.writeCandidate(a);o.candidate=Object.assign(o.candidate,W.parseCandidate(c)),o.candidate.candidate=c,o.candidate.toJSON=function(){return{candidate:o.candidate.candidate,sdpMid:o.candidate.sdpMid,sdpMLineIndex:o.candidate.sdpMLineIndex,usernameFragment:o.candidate.usernameFragment}}}var p=W.getMediaSections(n._localDescription.sdp);p[o.candidate.sdpMLineIndex]+=s?"a=end-of-candidates\r\n":"a="+o.candidate.candidate+"\r\n",n._localDescription.sdp=W.getDescription(n._localDescription.sdp)+p.join("");var d=n.transceivers.every((function(e){return e.iceGatherer&&"completed"===e.iceGatherer.state}));"gathering"!==n.iceGatheringState&&(n.iceGatheringState="gathering",n._emitGatheringStateChange()),s||n._dispatchEvent("icecandidate",o),d&&(n._dispatchEvent("icecandidate",new Event("icecandidate")),n.iceGatheringState="complete",n._emitGatheringStateChange())}},e.setTimeout((function(){o.forEach((function(e){i.onlocalcandidate(e)}))}),0)}},i.prototype._createIceAndDtlsTransports=function(){var t=this,r=new e.RTCIceTransport(null);r.onicestatechange=function(){t._updateIceConnectionState(),t._updateConnectionState()};var n=new e.RTCDtlsTransport(r);return n.ondtlsstatechange=function(){t._updateConnectionState()},n.onerror=function(){Object.defineProperty(n,"state",{value:"failed",writable:!0}),t._updateConnectionState()},{iceTransport:r,dtlsTransport:n}},i.prototype._disposeIceAndDtlsTransports=function(e){var t=this.transceivers[e].iceGatherer;t&&(delete t.onlocalcandidate,delete this.transceivers[e].iceGatherer);var r=this.transceivers[e].iceTransport;r&&(delete r.onicestatechange,delete this.transceivers[e].iceTransport);var n=this.transceivers[e].dtlsTransport;n&&(delete n.ondtlsstatechange,delete n.onerror,delete this.transceivers[e].dtlsTransport)},i.prototype._transceive=function(e,r,n){var i=Y(e.localCapabilities,e.remoteCapabilities);r&&e.rtpSender&&(i.encodings=e.sendEncodingParameters,i.rtcp={cname:W.localCName,compound:e.rtcpParameters.compound},e.recvEncodingParameters.length&&(i.rtcp.ssrc=e.recvEncodingParameters[0].ssrc),e.rtpSender.send(i)),n&&e.rtpReceiver&&i.codecs.length>0&&("video"===e.kind&&e.recvEncodingParameters&&t<15019&&e.recvEncodingParameters.forEach((function(e){delete e.rtx})),e.recvEncodingParameters.length?i.encodings=e.recvEncodingParameters:i.encodings=[{}],i.rtcp={compound:e.rtcpParameters.compound},e.rtcpParameters.cname&&(i.rtcp.cname=e.rtcpParameters.cname),e.sendEncodingParameters.length&&(i.rtcp.ssrc=e.sendEncodingParameters[0].ssrc),e.rtpReceiver.receive(i))},i.prototype.setLocalDescription=function(e){var t,r,n=this;if(-1===["offer","answer"].indexOf(e.type))return Promise.reject(X("TypeError",'Unsupported type "'+e.type+'"'));if(!q("setLocalDescription",e.type,n.signalingState)||n._isClosed)return Promise.reject(X("InvalidStateError","Can not set local "+e.type+" in state "+n.signalingState));if("offer"===e.type)t=W.splitSections(e.sdp),r=t.shift(),t.forEach((function(e,t){var r=W.parseRtpParameters(e);n.transceivers[t].localCapabilities=r})),n.transceivers.forEach((function(e,t){n._gather(e.mid,t)}));else if("answer"===e.type){t=W.splitSections(n._remoteDescription.sdp),r=t.shift();var i=W.matchPrefix(r,"a=ice-lite").length>0;t.forEach((function(e,t){var o=n.transceivers[t],a=o.iceGatherer,s=o.iceTransport,c=o.dtlsTransport,p=o.localCapabilities,d=o.remoteCapabilities;if(!(W.isRejected(e)&&0===W.matchPrefix(e,"a=bundle-only").length)&&!o.rejected){var u=W.getIceParameters(e,r),l=W.getDtlsParameters(e,r);i&&(l.role="server"),n.usingBundle&&0!==t||(n._gather(o.mid,t),"new"===s.state&&s.start(a,u,i?"controlling":"controlled"),"new"===c.state&&c.start(l));var f=Y(p,d);n._transceive(o,f.codecs.length>0,!1)}}))}return n._localDescription={type:e.type,sdp:e.sdp},"offer"===e.type?n._updateSignalingState("have-local-offer"):n._updateSignalingState("stable"),Promise.resolve()},i.prototype.setRemoteDescription=function(i){var o=this;if(-1===["offer","answer"].indexOf(i.type))return Promise.reject(X("TypeError",'Unsupported type "'+i.type+'"'));if(!q("setRemoteDescription",i.type,o.signalingState)||o._isClosed)return Promise.reject(X("InvalidStateError","Can not set remote "+i.type+" in state "+o.signalingState));var a={};o.remoteStreams.forEach((function(e){a[e.id]=e}));var s=[],c=W.splitSections(i.sdp),p=c.shift(),d=W.matchPrefix(p,"a=ice-lite").length>0,u=W.matchPrefix(p,"a=group:BUNDLE ").length>0;o.usingBundle=u;var l=W.matchPrefix(p,"a=ice-options:")[0];return o.canTrickleIceCandidates=!!l&&l.substr(14).split(" ").indexOf("trickle")>=0,c.forEach((function(n,c){var l=W.splitLines(n),f=W.getKind(n),h=W.isRejected(n)&&0===W.matchPrefix(n,"a=bundle-only").length,m=l[0].substr(2).split(" ")[2],v=W.getDirection(n,p),y=W.parseMsid(n),g=W.getMid(n)||W.generateIdentifier();if(h||"application"===f&&("DTLS/SCTP"===m||"UDP/DTLS/SCTP"===m))o.transceivers[c]={mid:g,kind:f,protocol:m,rejected:!0};else{var b,C,_,S,T,k,w,P,R;!h&&o.transceivers[c]&&o.transceivers[c].rejected&&(o.transceivers[c]=o._createTransceiver(f,!0));var E,x,D=W.parseRtpParameters(n);h||(E=W.getIceParameters(n,p),(x=W.getDtlsParameters(n,p)).role="client"),w=W.parseRtpEncodingParameters(n);var O=W.parseRtcpParameters(n),I=W.matchPrefix(n,"a=end-of-candidates",p).length>0,M=W.matchPrefix(n,"a=candidate:").map((function(e){return W.parseCandidate(e)})).filter((function(e){return 1===e.component}));if(("offer"===i.type||"answer"===i.type)&&!h&&u&&c>0&&o.transceivers[c]&&(o._disposeIceAndDtlsTransports(c),o.transceivers[c].iceGatherer=o.transceivers[0].iceGatherer,o.transceivers[c].iceTransport=o.transceivers[0].iceTransport,o.transceivers[c].dtlsTransport=o.transceivers[0].dtlsTransport,o.transceivers[c].rtpSender&&o.transceivers[c].rtpSender.setTransport(o.transceivers[0].dtlsTransport),o.transceivers[c].rtpReceiver&&o.transceivers[c].rtpReceiver.setTransport(o.transceivers[0].dtlsTransport)),"offer"!==i.type||h){if("answer"===i.type&&!h){C=(b=o.transceivers[c]).iceGatherer,_=b.iceTransport,S=b.dtlsTransport,T=b.rtpReceiver,k=b.sendEncodingParameters,P=b.localCapabilities,o.transceivers[c].recvEncodingParameters=w,o.transceivers[c].remoteCapabilities=D,o.transceivers[c].rtcpParameters=O,M.length&&"new"===_.state&&(!d&&!I||u&&0!==c?M.forEach((function(e){Q(b.iceTransport,e)})):_.setRemoteCandidates(M)),u&&0!==c||("new"===_.state&&_.start(C,E,"controlling"),"new"===S.state&&S.start(x)),!Y(b.localCapabilities,b.remoteCapabilities).codecs.filter((function(e){return"rtx"===e.name.toLowerCase()})).length&&b.sendEncodingParameters[0].rtx&&delete b.sendEncodingParameters[0].rtx,o._transceive(b,"sendrecv"===v||"recvonly"===v,"sendrecv"===v||"sendonly"===v),!T||"sendrecv"!==v&&"sendonly"!==v?delete b.rtpReceiver:(R=T.track,y?(a[y.stream]||(a[y.stream]=new e.MediaStream),r(R,a[y.stream]),s.push([R,T,a[y.stream]])):(a.default||(a.default=new e.MediaStream),r(R,a.default),s.push([R,T,a.default])))}}else{(b=o.transceivers[c]||o._createTransceiver(f)).mid=g,b.iceGatherer||(b.iceGatherer=o._createIceGatherer(c,u)),M.length&&"new"===b.iceTransport.state&&(!I||u&&0!==c?M.forEach((function(e){Q(b.iceTransport,e)})):b.iceTransport.setRemoteCandidates(M)),P=e.RTCRtpReceiver.getCapabilities(f),t<15019&&(P.codecs=P.codecs.filter((function(e){return"rtx"!==e.name}))),k=b.sendEncodingParameters||[{ssrc:1001*(2*c+2)}];var j,A=!1;if("sendrecv"===v||"sendonly"===v){if(A=!b.rtpReceiver,T=b.rtpReceiver||new e.RTCRtpReceiver(b.dtlsTransport,f),A)R=T.track,y&&"-"===y.stream||(y?(a[y.stream]||(a[y.stream]=new e.MediaStream,Object.defineProperty(a[y.stream],"id",{get:function(){return y.stream}})),Object.defineProperty(R,"id",{get:function(){return y.track}}),j=a[y.stream]):(a.default||(a.default=new e.MediaStream),j=a.default)),j&&(r(R,j),b.associatedRemoteMediaStreams.push(j)),s.push([R,T,j])}else b.rtpReceiver&&b.rtpReceiver.track&&(b.associatedRemoteMediaStreams.forEach((function(t){var r=t.getTracks().find((function(e){return e.id===b.rtpReceiver.track.id}));r&&function(t,r){r.removeTrack(t),r.dispatchEvent(new e.MediaStreamTrackEvent("removetrack",{track:t}))}(r,t)})),b.associatedRemoteMediaStreams=[]);b.localCapabilities=P,b.remoteCapabilities=D,b.rtpReceiver=T,b.rtcpParameters=O,b.sendEncodingParameters=k,b.recvEncodingParameters=w,o._transceive(o.transceivers[c],!1,A)}}})),void 0===o._dtlsRole&&(o._dtlsRole="offer"===i.type?"active":"passive"),o._remoteDescription={type:i.type,sdp:i.sdp},"offer"===i.type?o._updateSignalingState("have-remote-offer"):o._updateSignalingState("stable"),Object.keys(a).forEach((function(t){var r=a[t];if(r.getTracks().length){if(-1===o.remoteStreams.indexOf(r)){o.remoteStreams.push(r);var i=new Event("addstream");i.stream=r,e.setTimeout((function(){o._dispatchEvent("addstream",i)}))}s.forEach((function(e){var t=e[0],i=e[1];r.id===e[2].id&&n(o,t,i,[r])}))}})),s.forEach((function(e){e[2]||n(o,e[0],e[1],[])})),e.setTimeout((function(){o&&o.transceivers&&o.transceivers.forEach((function(e){e.iceTransport&&"new"===e.iceTransport.state&&e.iceTransport.getRemoteCandidates().length>0&&(console.warn("Timeout for addRemoteCandidate. Consider sending an end-of-candidates notification"),e.iceTransport.addRemoteCandidate({}))}))}),4e3),Promise.resolve()},i.prototype.close=function(){this.transceivers.forEach((function(e){e.iceTransport&&e.iceTransport.stop(),e.dtlsTransport&&e.dtlsTransport.stop(),e.rtpSender&&e.rtpSender.stop(),e.rtpReceiver&&e.rtpReceiver.stop()})),this._isClosed=!0,this._updateSignalingState("closed")},i.prototype._updateSignalingState=function(e){this.signalingState=e;var t=new Event("signalingstatechange");this._dispatchEvent("signalingstatechange",t)},i.prototype._maybeFireNegotiationNeeded=function(){var t=this;"stable"===this.signalingState&&!0!==this.needNegotiation&&(this.needNegotiation=!0,e.setTimeout((function(){if(t.needNegotiation){t.needNegotiation=!1;var e=new Event("negotiationneeded");t._dispatchEvent("negotiationneeded",e)}}),0))},i.prototype._updateIceConnectionState=function(){var e,t={new:0,closed:0,checking:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach((function(e){e.iceTransport&&!e.rejected&&t[e.iceTransport.state]++})),e="new",t.failed>0?e="failed":t.checking>0?e="checking":t.disconnected>0?e="disconnected":t.new>0?e="new":t.connected>0?e="connected":t.completed>0&&(e="completed"),e!==this.iceConnectionState){this.iceConnectionState=e;var r=new Event("iceconnectionstatechange");this._dispatchEvent("iceconnectionstatechange",r)}},i.prototype._updateConnectionState=function(){var e,t={new:0,closed:0,connecting:0,connected:0,completed:0,disconnected:0,failed:0};if(this.transceivers.forEach((function(e){e.iceTransport&&e.dtlsTransport&&!e.rejected&&(t[e.iceTransport.state]++,t[e.dtlsTransport.state]++)})),t.connected+=t.completed,e="new",t.failed>0?e="failed":t.connecting>0?e="connecting":t.disconnected>0?e="disconnected":t.new>0?e="new":t.connected>0&&(e="connected"),e!==this.connectionState){this.connectionState=e;var r=new Event("connectionstatechange");this._dispatchEvent("connectionstatechange",r)}},i.prototype.createOffer=function(){var r=this;if(r._isClosed)return Promise.reject(X("InvalidStateError","Can not call createOffer after close"));var n=r.transceivers.filter((function(e){return"audio"===e.kind})).length,i=r.transceivers.filter((function(e){return"video"===e.kind})).length,o=arguments[0];if(o){if(o.mandatory||o.optional)throw new TypeError("Legacy mandatory/optional constraints not supported.");void 0!==o.offerToReceiveAudio&&(n=!0===o.offerToReceiveAudio?1:!1===o.offerToReceiveAudio?0:o.offerToReceiveAudio),void 0!==o.offerToReceiveVideo&&(i=!0===o.offerToReceiveVideo?1:!1===o.offerToReceiveVideo?0:o.offerToReceiveVideo)}for(r.transceivers.forEach((function(e){"audio"===e.kind?--n<0&&(e.wantReceive=!1):"video"===e.kind&&--i<0&&(e.wantReceive=!1)}));n>0||i>0;)n>0&&(r._createTransceiver("audio"),n--),i>0&&(r._createTransceiver("video"),i--);var a=W.writeSessionBoilerplate(r._sdpSessionId,r._sdpSessionVersion++);r.transceivers.forEach((function(n,i){var o=n.track,a=n.kind,s=n.mid||W.generateIdentifier();n.mid=s,n.iceGatherer||(n.iceGatherer=r._createIceGatherer(i,r.usingBundle));var c=e.RTCRtpSender.getCapabilities(a);t<15019&&(c.codecs=c.codecs.filter((function(e){return"rtx"!==e.name}))),c.codecs.forEach((function(e){"H264"===e.name&&void 0===e.parameters["level-asymmetry-allowed"]&&(e.parameters["level-asymmetry-allowed"]="1"),n.remoteCapabilities&&n.remoteCapabilities.codecs&&n.remoteCapabilities.codecs.forEach((function(t){e.name.toLowerCase()===t.name.toLowerCase()&&e.clockRate===t.clockRate&&(e.preferredPayloadType=t.payloadType)}))})),c.headerExtensions.forEach((function(e){(n.remoteCapabilities&&n.remoteCapabilities.headerExtensions||[]).forEach((function(t){e.uri===t.uri&&(e.id=t.id)}))}));var p=n.sendEncodingParameters||[{ssrc:1001*(2*i+1)}];o&&t>=15019&&"video"===a&&!p[0].rtx&&(p[0].rtx={ssrc:p[0].ssrc+1}),n.wantReceive&&(n.rtpReceiver=new e.RTCRtpReceiver(n.dtlsTransport,a)),n.localCapabilities=c,n.sendEncodingParameters=p})),"max-compat"!==r._config.bundlePolicy&&(a+="a=group:BUNDLE "+r.transceivers.map((function(e){return e.mid})).join(" ")+"\r\n"),a+="a=ice-options:trickle\r\n",r.transceivers.forEach((function(e,t){a+=K(e,e.localCapabilities,"offer",e.stream,r._dtlsRole),a+="a=rtcp-rsize\r\n",!e.iceGatherer||"new"===r.iceGatheringState||0!==t&&r.usingBundle||(e.iceGatherer.getLocalCandidates().forEach((function(e){e.component=1,a+="a="+W.writeCandidate(e)+"\r\n"})),"completed"===e.iceGatherer.state&&(a+="a=end-of-candidates\r\n"))}));var s=new e.RTCSessionDescription({type:"offer",sdp:a});return Promise.resolve(s)},i.prototype.createAnswer=function(){var r=this;if(r._isClosed)return Promise.reject(X("InvalidStateError","Can not call createAnswer after close"));if("have-remote-offer"!==r.signalingState&&"have-local-pranswer"!==r.signalingState)return Promise.reject(X("InvalidStateError","Can not call createAnswer in signalingState "+r.signalingState));var n=W.writeSessionBoilerplate(r._sdpSessionId,r._sdpSessionVersion++);r.usingBundle&&(n+="a=group:BUNDLE "+r.transceivers.map((function(e){return e.mid})).join(" ")+"\r\n"),n+="a=ice-options:trickle\r\n";var i=W.getMediaSections(r._remoteDescription.sdp).length;r.transceivers.forEach((function(e,o){if(!(o+1>i)){if(e.rejected)return"application"===e.kind?"DTLS/SCTP"===e.protocol?n+="m=application 0 DTLS/SCTP 5000\r\n":n+="m=application 0 "+e.protocol+" webrtc-datachannel\r\n":"audio"===e.kind?n+="m=audio 0 UDP/TLS/RTP/SAVPF 0\r\na=rtpmap:0 PCMU/8000\r\n":"video"===e.kind&&(n+="m=video 0 UDP/TLS/RTP/SAVPF 120\r\na=rtpmap:120 VP8/90000\r\n"),void(n+="c=IN IP4 0.0.0.0\r\na=inactive\r\na=mid:"+e.mid+"\r\n");var a;if(e.stream)"audio"===e.kind?a=e.stream.getAudioTracks()[0]:"video"===e.kind&&(a=e.stream.getVideoTracks()[0]),a&&t>=15019&&"video"===e.kind&&!e.sendEncodingParameters[0].rtx&&(e.sendEncodingParameters[0].rtx={ssrc:e.sendEncodingParameters[0].ssrc+1});var s=Y(e.localCapabilities,e.remoteCapabilities);!s.codecs.filter((function(e){return"rtx"===e.name.toLowerCase()})).length&&e.sendEncodingParameters[0].rtx&&delete e.sendEncodingParameters[0].rtx,n+=K(e,s,"answer",e.stream,r._dtlsRole),e.rtcpParameters&&e.rtcpParameters.reducedSize&&(n+="a=rtcp-rsize\r\n")}}));var o=new e.RTCSessionDescription({type:"answer",sdp:n});return Promise.resolve(o)},i.prototype.addIceCandidate=function(e){var t,r=this;return e&&void 0===e.sdpMLineIndex&&!e.sdpMid?Promise.reject(new TypeError("sdpMLineIndex or sdpMid required")):new Promise((function(n,i){if(!r._remoteDescription)return i(X("InvalidStateError","Can not add ICE candidate without a remote description"));if(e&&""!==e.candidate){var o=e.sdpMLineIndex;if(e.sdpMid)for(var a=0;a0?W.parseCandidate(e.candidate):{};if("tcp"===c.protocol&&(0===c.port||9===c.port))return n();if(c.component&&1!==c.component)return n();if((0===o||o>0&&s.iceTransport!==r.transceivers[0].iceTransport)&&!Q(s.iceTransport,c))return i(X("OperationError","Can not add ICE candidate"));var p=e.candidate.trim();0===p.indexOf("a=")&&(p=p.substr(2)),(t=W.getMediaSections(r._remoteDescription.sdp))[o]+="a="+(c.type?p:"end-of-candidates")+"\r\n",r._remoteDescription.sdp=W.getDescription(r._remoteDescription.sdp)+t.join("")}else for(var d=0;d55&&"autoGainControl"in r.mediaDevices.getSupportedConstraints())){var i=function(e,t,r){t in e&&!(r in e)&&(e[r]=e[t],delete e[t])},o=r.mediaDevices.getUserMedia.bind(r.mediaDevices);if(r.mediaDevices.getUserMedia=function(e){return"object"==typeof e&&"object"==typeof e.audio&&(e=JSON.parse(JSON.stringify(e)),i(e.audio,"autoGainControl","mozAutoGainControl"),i(e.audio,"noiseSuppression","mozNoiseSuppression")),o(e)},n&&n.prototype.getSettings){var a=n.prototype.getSettings;n.prototype.getSettings=function(){var e=a.apply(this,arguments);return i(e,"mozAutoGainControl","autoGainControl"),i(e,"mozNoiseSuppression","noiseSuppression"),e}}if(n&&n.prototype.applyConstraints){var s=n.prototype.applyConstraints;n.prototype.applyConstraints=function(e){return"audio"===this.kind&&"object"==typeof e&&(e=JSON.parse(JSON.stringify(e)),i(e,"autoGainControl","mozAutoGainControl"),i(e,"noiseSuppression","mozNoiseSuppression")),s.apply(this,[e])}}}}function ie(e,t){e.navigator.mediaDevices&&"getDisplayMedia"in e.navigator.mediaDevices||e.navigator.mediaDevices&&(e.navigator.mediaDevices.getDisplayMedia=function(r){if(!r||!r.video){var n=new DOMException("getDisplayMedia without video constraints is undefined");return n.name="NotFoundError",n.code=8,Promise.reject(n)}return!0===r.video?r.video={mediaSource:t}:r.video.mediaSource=t,e.navigator.mediaDevices.getUserMedia(r)})}function oe(e){"object"==typeof e&&e.RTCTrackEvent&&"receiver"in e.RTCTrackEvent.prototype&&!("transceiver"in e.RTCTrackEvent.prototype)&&Object.defineProperty(e.RTCTrackEvent.prototype,"transceiver",{get:function(){return{receiver:this.receiver}}})}function ae(e,t){if("object"==typeof e&&(e.RTCPeerConnection||e.mozRTCPeerConnection)){!e.RTCPeerConnection&&e.mozRTCPeerConnection&&(e.RTCPeerConnection=e.mozRTCPeerConnection),t.version<53&&["setLocalDescription","setRemoteDescription","addIceCandidate"].forEach((function(t){var r=e.RTCPeerConnection.prototype[t],n=o({},t,(function(){return arguments[0]=new("addIceCandidate"===t?e.RTCIceCandidate:e.RTCSessionDescription)(arguments[0]),r.apply(this,arguments)}));e.RTCPeerConnection.prototype[t]=n[t]}));var r={inboundrtp:"inbound-rtp",outboundrtp:"outbound-rtp",candidatepair:"candidate-pair",localcandidate:"local-candidate",remotecandidate:"remote-candidate"},n=e.RTCPeerConnection.prototype.getStats;e.RTCPeerConnection.prototype.getStats=function(){var e=s(arguments,3),i=e[0],o=e[1],a=e[2];return n.apply(this,[i||null]).then((function(e){if(t.version<53&&!o)try{e.forEach((function(e){e.type=r[e.type]||e.type}))}catch(t){if("TypeError"!==t.name)throw t;e.forEach((function(t,n){e.set(n,Object.assign({},t,{type:r[t.type]||t.type}))}))}return e})).then(o,a)}}}function se(e){if("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpSender.prototype))){var t=e.RTCPeerConnection.prototype.getSenders;t&&(e.RTCPeerConnection.prototype.getSenders=function(){var e=this,r=t.apply(this,[]);return r.forEach((function(t){return t._pc=e})),r});var r=e.RTCPeerConnection.prototype.addTrack;r&&(e.RTCPeerConnection.prototype.addTrack=function(){var e=r.apply(this,arguments);return e._pc=this,e}),e.RTCRtpSender.prototype.getStats=function(){return this.track?this._pc.getStats(this.track):Promise.resolve(new Map)}}}function ce(e){if("object"==typeof e&&e.RTCPeerConnection&&e.RTCRtpSender&&(!e.RTCRtpSender||!("getStats"in e.RTCRtpReceiver.prototype))){var t=e.RTCPeerConnection.prototype.getReceivers;t&&(e.RTCPeerConnection.prototype.getReceivers=function(){var e=this,r=t.apply(this,[]);return r.forEach((function(t){return t._pc=e})),r}),C(e,"track",(function(e){return e.receiver._pc=e.srcElement,e})),e.RTCRtpReceiver.prototype.getStats=function(){return this._pc.getStats(this.track)}}}function pe(e){e.RTCPeerConnection&&!("removeStream"in e.RTCPeerConnection.prototype)&&(e.RTCPeerConnection.prototype.removeStream=function(e){var t=this;k("removeStream","removeTrack"),this.getSenders().forEach((function(r){r.track&&e.getTracks().includes(r.track)&&t.removeTrack(r)}))})}function de(e){e.DataChannel&&!e.RTCDataChannel&&(e.RTCDataChannel=e.DataChannel)}function ue(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.addTransceiver;t&&(e.RTCPeerConnection.prototype.addTransceiver=function(){this.setParametersPromises=[];var e=arguments[1],r=e&&"sendEncodings"in e;r&&e.sendEncodings.forEach((function(e){if("rid"in e){if(!/^[a-z0-9]{0,16}$/i.test(e.rid))throw new TypeError("Invalid RID value provided.")}if("scaleResolutionDownBy"in e&&!(parseFloat(e.scaleResolutionDownBy)>=1))throw new RangeError("scale_resolution_down_by must be >= 1.0");if("maxFramerate"in e&&!(parseFloat(e.maxFramerate)>=0))throw new RangeError("max_framerate must be >= 0.0")}));var n=t.apply(this,arguments);if(r){var i=n.sender,o=i.getParameters();(!("encodings"in o)||1===o.encodings.length&&0===Object.keys(o.encodings[0]).length)&&(o.encodings=e.sendEncodings,i.sendEncodings=e.sendEncodings,this.setParametersPromises.push(i.setParameters(o).then((function(){delete i.sendEncodings})).catch((function(){delete i.sendEncodings}))))}return n})}}function le(e){if("object"==typeof e&&e.RTCRtpSender){var t=e.RTCRtpSender.prototype.getParameters;t&&(e.RTCRtpSender.prototype.getParameters=function(){var e=t.apply(this,arguments);return"encodings"in e||(e.encodings=[].concat(this.sendEncodings||[{}])),e})}}function fe(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createOffer;e.RTCPeerConnection.prototype.createOffer=function(){var e=this,r=arguments;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(e,r)})).finally((function(){e.setParametersPromises=[]})):t.apply(this,arguments)}}}function he(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype.createAnswer;e.RTCPeerConnection.prototype.createAnswer=function(){var e=this,r=arguments;return this.setParametersPromises&&this.setParametersPromises.length?Promise.all(this.setParametersPromises).then((function(){return t.apply(e,r)})).finally((function(){e.setParametersPromises=[]})):t.apply(this,arguments)}}}t(re,"shimOnTrack",(function(){return oe})),t(re,"shimPeerConnection",(function(){return ae})),t(re,"shimSenderGetStats",(function(){return se})),t(re,"shimReceiverGetStats",(function(){return ce})),t(re,"shimRemoveStream",(function(){return pe})),t(re,"shimRTCDataChannel",(function(){return de})),t(re,"shimAddTransceiver",(function(){return ue})),t(re,"shimGetParameters",(function(){return le})),t(re,"shimCreateOffer",(function(){return fe})),t(re,"shimCreateAnswer",(function(){return he})),t(re,"shimGetUserMedia",(function(){return ne})),t(re,"shimGetDisplayMedia",(function(){return ie}));var me={};function ve(e){if("object"==typeof e&&e.RTCPeerConnection){if("getLocalStreams"in e.RTCPeerConnection.prototype||(e.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype.addTrack;e.RTCPeerConnection.prototype.addStream=function(e){var r=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(e)||this._localStreams.push(e),e.getAudioTracks().forEach((function(n){return t.call(r,n,e)})),e.getVideoTracks().forEach((function(n){return t.call(r,n,e)}))},e.RTCPeerConnection.prototype.addTrack=function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i=0)){e._remoteStreams.push(t);var r=new Event("addstream");r.stream=t,e.dispatchEvent(r)}}))}),t.apply(e,arguments)}}}function ge(e){if("object"==typeof e&&e.RTCPeerConnection){var t=e.RTCPeerConnection.prototype,r=t.createOffer,n=t.createAnswer,i=t.setLocalDescription,o=t.setRemoteDescription,a=t.addIceCandidate;t.createOffer=function(e,t){var n=arguments.length>=2?arguments[2]:arguments[0],i=r.apply(this,[n]);return t?(i.then(e,t),Promise.resolve()):i},t.createAnswer=function(e,t){var r=arguments.length>=2?arguments[2]:arguments[0],i=n.apply(this,[r]);return t?(i.then(e,t),Promise.resolve()):i};var s=function(e,t,r){var n=i.apply(this,[e]);return r?(n.then(t,r),Promise.resolve()):n};t.setLocalDescription=s,s=function(e,t,r){var n=o.apply(this,[e]);return r?(n.then(t,r),Promise.resolve()):n},t.setRemoteDescription=s,s=function(e,t,r){var n=a.apply(this,[e]);return r?(n.then(t,r),Promise.resolve()):n},t.addIceCandidate=s}}function be(e){var t=e&&e.navigator;if(t.mediaDevices&&t.mediaDevices.getUserMedia){var r=t.mediaDevices,n=r.getUserMedia.bind(r);t.mediaDevices.getUserMedia=function(e){return n(Ce(e))}}!t.getUserMedia&&t.mediaDevices&&t.mediaDevices.getUserMedia&&(t.getUserMedia=function(e,r,n){t.mediaDevices.getUserMedia(e).then(r,n)}.bind(t))}function Ce(e){return e&&void 0!==e.video?Object.assign({},e,{video:R(e.video)}):e}function _e(e){if(e.RTCPeerConnection){var t=e.RTCPeerConnection;e.RTCPeerConnection=function(e,r){if(e&&e.iceServers){for(var n=[],i=0;i0?i=parseInt(o[0].substr(19),10):"firefox"===r.browser&&-1!==n&&(i=2147483637),i},s=t.RTCPeerConnection.prototype.setRemoteDescription;t.RTCPeerConnection.prototype.setRemoteDescription=function(){if(this._sctp=null,"chrome"===r.browser&&r.version>=76){var e=this.getConfiguration().sdpSemantics;"plan-b"===e&&Object.defineProperty(this,"sctp",{get:function(){return void 0===this._sctp?null:this._sctp},enumerable:!0,configurable:!0})}if(n(arguments[0])){var t,c=i(arguments[0]),p=o(c),d=a(arguments[0],c);t=0===p&&0===d?Number.POSITIVE_INFINITY:0===p||0===d?Math.max(p,d):Math.min(p,d);var u={};Object.defineProperty(u,"maxMessageSize",{get:function(){return t}}),this._sctp=u}return s.apply(this,arguments)}}}function Ee(e){var t=function(e,t){var r=e.send;e.send=function(){var n=arguments[0],i=n.length||n.size||n.byteLength;if("open"===e.readyState&&t.sctp&&i>t.sctp.maxMessageSize)throw new TypeError("Message too large (can send a maximum of "+t.sctp.maxMessageSize+" bytes)");return r.apply(e,arguments)}};if(e.RTCPeerConnection&&"createDataChannel"in e.RTCPeerConnection.prototype){var r=e.RTCPeerConnection.prototype.createDataChannel;e.RTCPeerConnection.prototype.createDataChannel=function(){var e=r.apply(this,arguments);return t(e,this),e},C(e,"datachannel",(function(e){return t(e.channel,e.target),e}))}}function xe(e){if(e.RTCPeerConnection&&!("connectionState"in e.RTCPeerConnection.prototype)){var t=e.RTCPeerConnection.prototype;Object.defineProperty(t,"connectionState",{get:function(){return{completed:"connected",checking:"connecting"}[this.iceConnectionState]||this.iceConnectionState},enumerable:!0,configurable:!0}),Object.defineProperty(t,"onconnectionstatechange",{get:function(){return this._onconnectionstatechange||null},set:function(e){this._onconnectionstatechange&&(this.removeEventListener("connectionstatechange",this._onconnectionstatechange),delete this._onconnectionstatechange),e&&this.addEventListener("connectionstatechange",this._onconnectionstatechange=e)},enumerable:!0,configurable:!0}),["setLocalDescription","setRemoteDescription"].forEach((function(e){var r=t[e];t[e]=function(){return this._connectionstatechangepoly||(this._connectionstatechangepoly=function(e){var t=e.target;if(t._lastConnectionState!==t.connectionState){t._lastConnectionState=t.connectionState;var r=new Event("connectionstatechange",e);t.dispatchEvent(r)}return e},this.addEventListener("iceconnectionstatechange",this._connectionstatechangepoly)),r.apply(this,arguments)}}))}}function De(e,t){if(e.RTCPeerConnection&&!("chrome"===t.browser&&t.version>=71||"safari"===t.browser&&t.version>=605)){var r=e.RTCPeerConnection.prototype.setRemoteDescription;e.RTCPeerConnection.prototype.setRemoteDescription=function(t){if(t&&t.sdp&&-1!==t.sdp.indexOf("\na=extmap-allow-mixed")){var n=t.sdp.split("\n").filter((function(e){return"a=extmap-allow-mixed"!==e.trim()})).join("\n");e.RTCSessionDescription&&t instanceof e.RTCSessionDescription?arguments[0]=new e.RTCSessionDescription({type:t.type,sdp:n}):t.sdp=n}return r.apply(this,arguments)}}}function Oe(e,t){if(e.RTCPeerConnection&&e.RTCPeerConnection.prototype){var r=e.RTCPeerConnection.prototype.addIceCandidate;r&&0!==r.length&&(e.RTCPeerConnection.prototype.addIceCandidate=function(){return arguments[0]?("chrome"===t.browser&&t.version<78||"firefox"===t.browser&&t.version<68||"safari"===t.browser)&&arguments[0]&&""===arguments[0].candidate?Promise.resolve():r.apply(this,arguments):(arguments[1]&&arguments[1].apply(null),Promise.resolve())})}}t(we,"shimRTCIceCandidate",(function(){return Pe})),t(we,"shimMaxMessageSize",(function(){return Re})),t(we,"shimSendThrowTypeError",(function(){return Ee})),t(we,"shimConnectionState",(function(){return xe})),t(we,"removeExtmapAllowMixed",(function(){return De})),t(we,"shimAddIceCandidateNullOrEmpty",(function(){return Oe}));var Ie,Me,je=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).window,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{shimChrome:!0,shimFirefox:!0,shimEdge:!0,shimSafari:!0},r=T,n=w(e),i={browserDetails:n,commonShim:we,extractVersion:b,disableLog:_,disableWarnings:S};switch(n.browser){case"chrome":if(!D||!D.shimPeerConnection||!t.shimChrome)return r("Chrome shim is not included in this adapter release."),i;if(null===n.version)return r("Chrome shim can not determine version, not shimming."),i;r("adapter.js shimming chrome."),i.browserShim=D,we.shimAddIceCandidateNullOrEmpty(e,n),D.shimGetUserMedia(e,n),D.shimMediaStream(e,n),D.shimPeerConnection(e,n),D.shimOnTrack(e,n),D.shimAddTrackRemoveTrack(e,n),D.shimGetSendersWithDtmf(e,n),D.shimGetStats(e,n),D.shimSenderReceiverGetStats(e,n),D.fixNegotiationNeeded(e,n),we.shimRTCIceCandidate(e,n),we.shimConnectionState(e,n),we.shimMaxMessageSize(e,n),we.shimSendThrowTypeError(e,n),we.removeExtmapAllowMixed(e,n);break;case"firefox":if(!re||!re.shimPeerConnection||!t.shimFirefox)return r("Firefox shim is not included in this adapter release."),i;r("adapter.js shimming firefox."),i.browserShim=re,we.shimAddIceCandidateNullOrEmpty(e,n),re.shimGetUserMedia(e,n),re.shimPeerConnection(e,n),re.shimOnTrack(e,n),re.shimRemoveStream(e,n),re.shimSenderGetStats(e,n),re.shimReceiverGetStats(e,n),re.shimRTCDataChannel(e,n),re.shimAddTransceiver(e,n),re.shimGetParameters(e,n),re.shimCreateOffer(e,n),re.shimCreateAnswer(e,n),we.shimRTCIceCandidate(e,n),we.shimConnectionState(e,n),we.shimMaxMessageSize(e,n),we.shimSendThrowTypeError(e,n);break;case"edge":if(!V||!V.shimPeerConnection||!t.shimEdge)return r("MS edge shim is not included in this adapter release."),i;r("adapter.js shimming edge."),i.browserShim=V,V.shimGetUserMedia(e,n),V.shimGetDisplayMedia(e,n),V.shimPeerConnection(e,n),V.shimReplaceTrack(e,n),we.shimMaxMessageSize(e,n),we.shimSendThrowTypeError(e,n);break;case"safari":if(!me||!t.shimSafari)return r("Safari shim is not included in this adapter release."),i;r("adapter.js shimming safari."),i.browserShim=me,we.shimAddIceCandidateNullOrEmpty(e,n),me.shimRTCIceServerUrls(e,n),me.shimCreateOfferLegacy(e,n),me.shimCallbacksAPI(e,n),me.shimLocalStreamsAPI(e,n),me.shimRemoteStreamsAPI(e,n),me.shimTrackEventTransceiver(e,n),me.shimGetUserMedia(e,n),me.shimAudioContext(e,n),we.shimRTCIceCandidate(e,n),we.shimMaxMessageSize(e,n),we.shimSendThrowTypeError(e,n),we.removeExtmapAllowMixed(e,n);break;default:r("Unsupported browser!")}return i}({window:"undefined"==typeof window?void 0:window}),Ae=je,Le=Ae.default||Ae,Be=new((Ie=function(){this.isIOS=["iPad","iPhone","iPod"].includes(navigator.platform),this.supportedBrowsers=["firefox","chrome","safari"],this.minFirefoxVersion=59,this.minChromeVersion=72,this.minSafariVersion=605}).prototype.isWebRTCSupported=function(){return"undefined"!=typeof RTCPeerConnection},Ie.prototype.isBrowserSupported=function(){var e=this.getBrowser(),t=this.getVersion();return!!this.supportedBrowsers.includes(e)&&("chrome"===e?t>=this.minChromeVersion:"firefox"===e?t>=this.minFirefoxVersion:"safari"===e&&!this.isIOS&&t>=this.minSafariVersion)},Ie.prototype.getBrowser=function(){return Le.browserDetails.browser},Ie.prototype.getVersion=function(){return Le.browserDetails.version||0},Ie.prototype.isUnifiedPlanSupported=function(){var e,t=this.getBrowser(),r=Le.browserDetails.version||0;if("chrome"===t&&r=this.minFirefoxVersion)return!0;if(!window.RTCRtpTransceiver||!("currentDirection"in RTCRtpTransceiver.prototype))return!1;var n=!1;try{(e=new RTCPeerConnection).addTransceiver("audio"),n=!0}catch(e){}finally{e&&e.close()}return n},Ie.prototype.toString=function(){return"Supports:\n browser:".concat(this.getBrowser(),"\n version:").concat(this.getVersion(),"\n isIOS:").concat(this.isIOS,"\n isWebRTCSupported:").concat(this.isWebRTCSupported(),"\n isBrowserSupported:").concat(this.isBrowserSupported(),"\n isUnifiedPlanSupported:").concat(this.isUnifiedPlanSupported())},Ie),Ne={iceServers:[{urls:"stun:stun.l.google.com:19302"},{urls:["turn:eu-0.turn.peerjs.com:3478","turn:us-0.turn.peerjs.com:3478"],username:"peerjs",credential:"peerjsp"}],sdpSemantics:"unified-plan"},Fe=new((Me=function(){this.CLOUD_HOST="0.peerjs.com",this.CLOUD_PORT=443,this.chunkedBrowsers={Chrome:1,chrome:1},this.chunkedMTU=16300,this.defaultConfig=Ne,this.browser=Be.getBrowser(),this.browserVersion=Be.getVersion(),this.supports=function(){var e,t={browser:Be.isBrowserSupported(),webRTC:Be.isWebRTCSupported(),audioVideo:!1,data:!1,binaryBlob:!1,reliable:!1};if(!t.webRTC)return t;try{e=new RTCPeerConnection(Ne),t.audioVideo=!0;var r=void 0;try{r=e.createDataChannel("_PEERJSTEST",{ordered:!0}),t.data=!0,t.reliable=!!r.ordered;try{r.binaryType="blob",t.binaryBlob=!Be.isIOS}catch(e){}}catch(e){}finally{r&&r.close()}}catch(e){}finally{e&&e.close()}return t}(),this.pack=e(r).pack,this.unpack=e(r).unpack,this._dataCount=1}).prototype.noop=function(){},Me.prototype.validateId=function(e){return!e||/^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/.test(e)},Me.prototype.chunk=function(e){for(var t=[],r=e.size,n=Math.ceil(r/Fe.chunkedMTU),i=0,o=0;o0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Ze=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i=Qe.All&&this._print.apply(this,Ze([Qe.All],Xe(e),!1))},et.prototype.warn=function(){for(var e=[],t=0;t=Qe.Warnings&&this._print.apply(this,Ze([Qe.Warnings],Xe(e),!1))},et.prototype.error=function(){for(var e=[],t=0;t=Qe.Errors&&this._print.apply(this,Ze([Qe.Errors],Xe(e),!1))},et.prototype.setLogFunction=function(e){this._print=e},et.prototype._print=function(e){for(var t=[],r=1;r=Qe.All?console.log.apply(console,Ze([],Xe(n),!1)):e>=Qe.Warnings?console.warn.apply(console,Ze(["WARNING"],Xe(n),!1)):e>=Qe.Errors&&console.error.apply(console,Ze(["ERROR"],Xe(n),!1))},et),st=new at,ct={};t(ct,"Socket",(function(){return mt}),(function(e){return mt=e})),function(e){e.Data="data",e.Media="media"}(tt||(tt={})),function(e){e.BrowserIncompatible="browser-incompatible",e.Disconnected="disconnected",e.InvalidID="invalid-id",e.InvalidKey="invalid-key",e.Network="network",e.PeerUnavailable="peer-unavailable",e.SslUnavailable="ssl-unavailable",e.ServerError="server-error",e.SocketError="socket-error",e.SocketClosed="socket-closed",e.UnavailableID="unavailable-id",e.WebRTC="webrtc"}(rt||(rt={})),function(e){e.Binary="binary",e.BinaryUTF8="binary-utf8",e.JSON="json"}(nt||(nt={})),function(e){e.Message="message",e.Disconnected="disconnected",e.Error="error",e.Close="close"}(it||(it={})),function(e){e.Heartbeat="HEARTBEAT",e.Candidate="CANDIDATE",e.Offer="OFFER",e.Answer="ANSWER",e.Open="OPEN",e.Error="ERROR",e.IdTaken="ID-TAKEN",e.InvalidKey="INVALID-KEY",e.Leave="LEAVE",e.Expire="EXPIRE"}(ot||(ot={}));var pt;pt=JSON.parse('{"name":"peerjs","version":"1.4.7","keywords":["peerjs","webrtc","p2p","rtc"],"description":"PeerJS client","homepage":"https://peerjs.com","bugs":{"url":"https://github.com/peers/peerjs/issues"},"repository":{"type":"git","url":"https://github.com/peers/peerjs"},"license":"MIT","contributors":["Michelle Bu ","afrokick ","ericz ","Jairo ","Jonas Gloning <34194370+jonasgloning@users.noreply.github.com>","Jairo Caro-Accino Viciana ","Carlos Caballero ","hc ","Muhammad Asif ","PrashoonB ","Harsh Bardhan Mishra <47351025+HarshCasper@users.noreply.github.com>","akotynski ","lmb ","Jairooo ","Moritz Stückler ","Simon ","Denis Lukov ","Philipp Hancke ","Hans Oksendahl ","Jess ","khankuan ","DUODVK ","XiZhao ","Matthias Lohr ","=frank tree <=frnktrb@googlemail.com>","Andre Eckardt ","Chris Cowan ","Alex Chuev ","alxnull ","Yemel Jardi ","Ben Parnell ","Benny Lichtner ","fresheneesz ","bob.barstead@exaptive.com ","chandika ","emersion ","Christopher Van ","eddieherm ","Eduardo Pinho ","Evandro Zanatta ","Gardner Bickford ","Gian Luca ","PatrickJS ","jonnyf ","Hizkia Felix ","Hristo Oskov ","Isaac Madwed ","Ilya Konanykhin ","jasonbarry ","Jonathan Burke ","Josh Hamit ","Jordan Austin ","Joel Wetzell ","xizhao ","Alberto Torres ","Jonathan Mayol ","Jefferson Felix ","Rolf Erik Lekang ","Kevin Mai-Husan Chia ","Pepijn de Vos ","JooYoung ","Tobias Speicher ","Steve Blaurock ","Kyrylo Shegeda ","Diwank Singh Tomer ","Sören Balko ","Arpit Solanki ","Yuki Ito ","Artur Zayats "],"funding":{"type":"opencollective","url":"https://opencollective.com/peer"},"collective":{"type":"opencollective","url":"https://opencollective.com/peer"},"files":["dist/*"],"sideEffects":["lib/global.ts","lib/supports.ts"],"main":"dist/bundler.cjs","module":"dist/bundler.mjs","browser-minified":"dist/peerjs.min.js","browser-unminified":"dist/peerjs.js","types":"dist/types.d.ts","engines":{"node":">= 10"},"targets":{"types":{"source":"lib/exports.ts"},"main":{"source":"lib/exports.ts","sourceMap":{"inlineSources":true}},"module":{"source":"lib/exports.ts","includeNodeModules":["eventemitter3"],"sourceMap":{"inlineSources":true}},"browser-minified":{"context":"browser","outputFormat":"global","optimize":true,"engines":{"browsers":"cover 99%, not dead"},"source":"lib/global.ts"},"browser-unminified":{"context":"browser","outputFormat":"global","optimize":false,"engines":{"browsers":"cover 99%, not dead"},"source":"lib/global.ts"}},"scripts":{"contributors":"git-authors-cli --print=false && prettier --write package.json && git add package.json package-lock.json && git commit -m \\"chore(contributors): update and sort contributors list\\"","check":"tsc --noEmit","watch":"parcel watch","build":"rm -rf dist && parcel build","prepublishOnly":"npm run build","test":"mocha -r ts-node/register -r jsdom-global/register test/**/*.ts","format":"prettier --write .","semantic-release":"semantic-release"},"devDependencies":{"@parcel/config-default":"^2.5.0","@parcel/packager-ts":"^2.5.0","@parcel/transformer-typescript-tsc":"^2.5.0","@parcel/transformer-typescript-types":"^2.5.0","@semantic-release/changelog":"^6.0.1","@semantic-release/git":"^10.0.1","@types/chai":"^4.3.0","@types/mocha":"^9.1.0","@types/node":"^17.0.18","chai":"^4.3.6","git-authors-cli":"^1.0.40","jsdom":"^19.0.0","jsdom-global":"^3.0.2","mocha":"^9.2.0","mock-socket":"8.0.5","parcel":"^2.5.0","parcel-transformer-tsc-sourcemaps":"^1.0.2","prettier":"^2.6.2","semantic-release":"^19.0.2","standard":"^16.0.4","ts-node":"^10.5.0","typescript":"^4.5.5"},"dependencies":{"@swc/helpers":"^0.3.13","eventemitter3":"^4.0.7","peerjs-js-binarypack":"1.0.1","webrtc-adapter":"^7.7.1"}}');var dt,ut=(dt=function(e,t){return(dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){var r=function(){this.constructor=e};if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");dt(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),lt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},ft=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},mt=function(e){var t=function(t,r,n,i,o,a){void 0===a&&(a=5e3);var s=e.call(this)||this;s.pingInterval=a,s._disconnected=!0,s._messagesQueue=[];var c=t?"wss://":"ws://";return s._baseUrl=c+r+":"+n+i+"peerjs?key="+o,s};return ut(t,e),t.prototype.start=function(e,t){var r=this;this._id=e;var n="".concat(this._baseUrl,"&id=").concat(e,"&token=").concat(t);!this._socket&&this._disconnected&&(this._socket=new WebSocket(n+"&version="+pt.version),this._disconnected=!1,this._socket.onmessage=function(e){var t;try{t=JSON.parse(e.data),qe.default.log("Server message received:",t)}catch(t){return void qe.default.log("Invalid server message",e.data)}r.emit(it.Message,t)},this._socket.onclose=function(e){r._disconnected||(qe.default.log("Socket closed.",e),r._cleanup(),r._disconnected=!0,r.emit(it.Disconnected))},this._socket.onopen=function(){r._disconnected||(r._sendQueuedMessages(),qe.default.log("Socket open"),r._scheduleHeartbeat())})},t.prototype._scheduleHeartbeat=function(){var e=this;this._wsPingTimer=setTimeout((function(){e._sendHeartbeat()}),this.pingInterval)},t.prototype._sendHeartbeat=function(){if(this._wsOpen()){var e=JSON.stringify({type:ot.Heartbeat});this._socket.send(e),this._scheduleHeartbeat()}else qe.default.log("Cannot send heartbeat, because socket closed")},t.prototype._wsOpen=function(){return!!this._socket&&1===this._socket.readyState},t.prototype._sendQueuedMessages=function(){var e,t,r=ft([],lt(this._messagesQueue),!1);this._messagesQueue=[];try{for(var n=ht(r),i=n.next();!i.done;i=n.next()){var o=i.value;this.send(o)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.send=function(e){if(!this._disconnected)if(this._id)if(e.type){if(this._wsOpen()){var t=JSON.stringify(e);this._socket.send(t)}}else this.emit(it.Error,"Invalid message");else this._messagesQueue.push(e)},t.prototype.close=function(){this._disconnected||(this._cleanup(),this._disconnected=!0)},t.prototype._cleanup=function(){this._socket&&(this._socket.onopen=this._socket.onmessage=this._socket.onclose=null,this._socket.close(),this._socket=void 0),clearTimeout(this._wsPingTimer)},t}(ze.EventEmitter),vt={};t(vt,"MediaConnection",(function(){return Et}),(function(e){return Et=e}));var yt={};t(yt,"Negotiator",(function(){return _t}),(function(e){return _t=e}));var gt=function(){return gt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){c=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Et=function(e){function t(r,n,i){var o=e.call(this,r,n,i)||this;return o._localStream=o.options._stream,o.connectionId=o.options.connectionId||t.ID_PREFIX+Fe.randomToken(),o._negotiator=new yt.Negotiator(o),o._localStream&&o._negotiator.startConnection({_stream:o._localStream,originator:!0}),o}return wt(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return tt.Media},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localStream",{get:function(){return this._localStream},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"remoteStream",{get:function(){return this._remoteStream},enumerable:!1,configurable:!0}),t.prototype.addStream=function(t){qe.default.log("Receiving stream",t),this._remoteStream=t,e.prototype.emit.call(this,"stream",t)},t.prototype.handleMessage=function(e){var t=e.type,r=e.payload;switch(e.type){case ot.Answer:this._negotiator.handleSDP(t,r.sdp),this._open=!0;break;case ot.Candidate:this._negotiator.handleCandidate(r.candidate);break;default:qe.default.warn("Unrecognized message type:".concat(t," from peer:").concat(this.peer))}},t.prototype.answer=function(e,t){var r,n;if(void 0===t&&(t={}),this._localStream)qe.default.warn("Local stream already exists on this MediaConnection. Are you answering a call twice?");else{this._localStream=e,t&&t.sdpTransform&&(this.options.sdpTransform=t.sdpTransform),this._negotiator.startConnection(Pt(Pt({},this.options._payload),{_stream:e}));var i=this.provider._getMessages(this.connectionId);try{for(var o=Rt(i),a=o.next();!a.done;a=o.next()){var s=a.value;this.handleMessage(s)}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}this._open=!0}},t.prototype.close=function(){this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this._localStream=null,this._remoteStream=null,this.provider&&(this.provider._removeConnection(this),this.provider=null),this.options&&this.options._stream&&(this.options._stream=null),this.open&&(this._open=!1,e.prototype.emit.call(this,"close"))},t.ID_PREFIX="mc_",t}(St.BaseConnection),xt={};t(xt,"DataConnection",(function(){return At}),(function(e){return At=e}));var Dt={};t(Dt,"EncodingQueue",(function(){return It}),(function(e){return It=e}));var Ot=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){var n=function(){this.constructor=t};if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),It=function(e){var t=function(){var t=e.call(this)||this;return t.fileReader=new FileReader,t._queue=[],t._processing=!1,t.fileReader.onload=function(e){t._processing=!1,e.target&&t.emit("done",e.target.result),t.doNextTask()},t.fileReader.onerror=function(e){qe.default.error("EncodingQueue error:",e),t._processing=!1,t.destroy(),t.emit("error",e)},t};return Ot(t,e),Object.defineProperty(t.prototype,"queue",{get:function(){return this._queue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"processing",{get:function(){return this._processing},enumerable:!1,configurable:!0}),t.prototype.enque=function(e){this.queue.push(e),this.processing||this.doNextTask()},t.prototype.destroy=function(){this.fileReader.abort(),this._queue=[]},t.prototype.doNextTask=function(){0!==this.size&&(this.processing||(this._processing=!0,this.fileReader.readAsArrayBuffer(this.queue.shift())))},t}(ze.EventEmitter),Mt=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){var n=function(){this.constructor=t};if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),jt=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},At=function(e){function t(r,n,i){var o=e.call(this,r,n,i)||this;return o.stringify=JSON.stringify,o.parse=JSON.parse,o._buffer=[],o._bufferSize=0,o._buffering=!1,o._chunkedData={},o._encodingQueue=new Dt.EncodingQueue,o.connectionId=o.options.connectionId||t.ID_PREFIX+Fe.randomToken(),o.label=o.options.label||o.connectionId,o.serialization=o.options.serialization||nt.Binary,o.reliable=!!o.options.reliable,o._encodingQueue.on("done",(function(e){o._bufferedSend(e)})),o._encodingQueue.on("error",(function(){qe.default.error("DC#".concat(o.connectionId,": Error occured in encoding from blob to arraybuffer, close DC")),o.close()})),o._negotiator=new yt.Negotiator(o),o._negotiator.startConnection(o.options._payload||{originator:!0}),o}return Mt(t,e),Object.defineProperty(t.prototype,"type",{get:function(){return tt.Data},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataChannel",{get:function(){return this._dc},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bufferSize",{get:function(){return this._bufferSize},enumerable:!1,configurable:!0}),t.prototype.initialize=function(e){this._dc=e,this._configureDataChannel()},t.prototype._configureDataChannel=function(){var e=this;Fe.supports.binaryBlob&&!Fe.supports.reliable||(this.dataChannel.binaryType="arraybuffer"),this.dataChannel.onopen=function(){qe.default.log("DC#".concat(e.connectionId," dc connection success")),e._open=!0,e.emit("open")},this.dataChannel.onmessage=function(t){qe.default.log("DC#".concat(e.connectionId," dc onmessage:"),t.data),e._handleDataMessage(t)},this.dataChannel.onclose=function(){qe.default.log("DC#".concat(e.connectionId," dc closed for:"),e.peer),e.close()}},t.prototype._handleDataMessage=function(t){var r=this,n=t.data,i=n.constructor,o=n;if(this.serialization===nt.Binary||this.serialization===nt.BinaryUTF8){if(i===Blob)return void Fe.blobToArrayBuffer(n,(function(e){var t=Fe.unpack(e);r.emit("data",t)}));if(i===ArrayBuffer)o=Fe.unpack(n);else if(i===String){var a=Fe.binaryStringToArrayBuffer(n);o=Fe.unpack(a)}}else this.serialization===nt.JSON&&(o=this.parse(n));o.__peerData?this._handleChunk(o):e.prototype.emit.call(this,"data",o)},t.prototype._handleChunk=function(e){var t=e.__peerData,r=this._chunkedData[t]||{data:[],count:0,total:e.total};if(r.data[e.n]=e.data,r.count++,this._chunkedData[t]=r,r.total===r.count){delete this._chunkedData[t];var n=new Blob(r.data);this._handleDataMessage({data:n})}},t.prototype.close=function(){this._buffer=[],this._bufferSize=0,this._chunkedData={},this._negotiator&&(this._negotiator.cleanup(),this._negotiator=null),this.provider&&(this.provider._removeConnection(this),this.provider=null),this.dataChannel&&(this.dataChannel.onopen=null,this.dataChannel.onmessage=null,this.dataChannel.onclose=null,this._dc=null),this._encodingQueue&&(this._encodingQueue.destroy(),this._encodingQueue.removeAllListeners(),this._encodingQueue=null),this.open&&(this._open=!1,e.prototype.emit.call(this,"close"))},t.prototype.send=function(t,r){if(this.open)if(this.serialization===nt.JSON)this._bufferedSend(this.stringify(t));else if(this.serialization===nt.Binary||this.serialization===nt.BinaryUTF8){var n=Fe.pack(t);if(!r&&n.size>Fe.chunkedMTU)return void this._sendChunks(n);Fe.supports.binaryBlob?this._bufferedSend(n):this._encodingQueue.enque(n)}else this._bufferedSend(t);else e.prototype.emit.call(this,"error",new Error("Connection is not open. You should listen for the `open` event before sending messages."))},t.prototype._bufferedSend=function(e){!this._buffering&&this._trySend(e)||(this._buffer.push(e),this._bufferSize=this._buffer.length)},t.prototype._trySend=function(e){var r=this;if(!this.open)return!1;if(this.dataChannel.bufferedAmount>t.MAX_BUFFERED_AMOUNT)return this._buffering=!0,setTimeout((function(){r._buffering=!1,r._tryBuffer()}),50),!1;try{this.dataChannel.send(e)}catch(e){return qe.default.error("DC#:".concat(this.connectionId," Error when sending:"),e),this._buffering=!0,this.close(),!1}return!0},t.prototype._tryBuffer=function(){if(this.open&&0!==this._buffer.length){var e=this._buffer[0];this._trySend(e)&&(this._buffer.shift(),this._bufferSize=this._buffer.length,this._tryBuffer())}},t.prototype._sendChunks=function(e){var t,r,n=Fe.chunk(e);qe.default.log("DC#".concat(this.connectionId," Try to send ").concat(n.length," chunks..."));try{for(var i=jt(n),o=i.next();!o.done;o=i.next()){var a=o.value;this.send(a,!0)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},t.prototype.handleMessage=function(e){var t=e.payload;switch(e.type){case ot.Answer:this._negotiator.handleSDP(e.type,t.sdp);break;case ot.Candidate:this._negotiator.handleCandidate(t.candidate);break;default:qe.default.warn("Unrecognized message type:",e.type,"from peer:",this.peer)}},t.ID_PREFIX="dc_",t.MAX_BUFFERED_AMOUNT=8388608,t}(St.BaseConnection),Lt={};t(Lt,"API",(function(){return Ft}),(function(e){return Ft=e}));var Bt=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){var a=function(e){try{c(n.next(e))}catch(e){o(e)}},s=function(e){try{c(n.throw(e))}catch(e){o(e)}},c=function(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)};c((n=n.apply(e,t||[])).next())}))},Nt=function(e,t){var r,n,i,o,a=function(e){return function(t){return s([e,t])}},s=function(o){if(r)throw new TypeError("Generator is already executing.");for(;c;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return c.label++,{value:o[1],done:!1};case 5:c.label++,n=o[1],o=[0];continue;case 7:o=c.ops.pop(),c.trys.pop();continue;default:if(!(i=c.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){c=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vt=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a},Jt=function(e){function t(r,n){var i,o=e.call(this)||this;return o._id=null,o._lastServerId=null,o._destroyed=!1,o._disconnected=!1,o._open=!1,o._connections=new Map,o._lostMessages=new Map,r&&r.constructor==Object?n=r:r&&(i=r.toString()),n=zt({debug:0,host:Fe.CLOUD_HOST,port:Fe.CLOUD_PORT,path:"/",key:t.DEFAULT_KEY,token:Fe.randomToken(),config:Fe.defaultConfig,referrerPolicy:"strict-origin-when-cross-origin"},n),o._options=n,"/"===o._options.host&&(o._options.host=window.location.hostname),o._options.path&&("/"!==o._options.path[0]&&(o._options.path="/"+o._options.path),"/"!==o._options.path[o._options.path.length-1]&&(o._options.path+="/")),void 0===o._options.secure&&o._options.host!==Fe.CLOUD_HOST?o._options.secure=Fe.isSecure():o._options.host==Fe.CLOUD_HOST&&(o._options.secure=!0),o._options.logFunction&&qe.default.setLogFunction(o._options.logFunction),qe.default.logLevel=o._options.debug||0,o._api=new Lt.API(n),o._socket=o._createServerConnection(),Fe.supports.audioVideo||Fe.supports.data?i&&!Fe.validateId(i)?(o._delayedAbort(rt.InvalidID,'ID "'.concat(i,'" is invalid')),o):(i?o._initialize(i):o._api.retrieveId().then((function(e){return o._initialize(e)})).catch((function(e){return o._abort(rt.ServerError,e)})),o):(o._delayedAbort(rt.BrowserIncompatible,"The current browser does not support WebRTC"),o)}return Ut(t,e),Object.defineProperty(t.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this._options},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"open",{get:function(){return this._open},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"socket",{get:function(){return this._socket},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"connections",{get:function(){var e,t,r=Object.create(null);try{for(var n=Gt(this._connections),i=n.next();!i.done;i=n.next()){var o=Vt(i.value,2),a=o[0],s=o[1];r[a]=s}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disconnected",{get:function(){return this._disconnected},enumerable:!1,configurable:!0}),t.prototype._createServerConnection=function(){var e=this,t=new ct.Socket(this._options.secure,this._options.host,this._options.port,this._options.path,this._options.key,this._options.pingInterval);return t.on(it.Message,(function(t){e._handleMessage(t)})),t.on(it.Error,(function(t){e._abort(rt.SocketError,t)})),t.on(it.Disconnected,(function(){e.disconnected||(e.emitError(rt.Network,"Lost connection to server."),e.disconnect())})),t.on(it.Close,(function(){e.disconnected||e._abort(rt.SocketClosed,"Underlying socket is already closed.")})),t},t.prototype._initialize=function(e){this._id=e,this.socket.start(e,this._options.token)},t.prototype._handleMessage=function(e){var t,r,n=e.type,i=e.payload,o=e.src;switch(n){case ot.Open:this._lastServerId=this.id,this._open=!0,this.emit("open",this.id);break;case ot.Error:this._abort(rt.ServerError,i.msg);break;case ot.IdTaken:this._abort(rt.UnavailableID,'ID "'.concat(this.id,'" is taken'));break;case ot.InvalidKey:this._abort(rt.InvalidKey,'API KEY "'.concat(this._options.key,'" is invalid'));break;case ot.Leave:qe.default.log("Received leave message from ".concat(o)),this._cleanupPeer(o),this._connections.delete(o);break;case ot.Expire:this.emitError(rt.PeerUnavailable,"Could not connect to peer ".concat(o));break;case ot.Offer:var a=i.connectionId;if((f=this.getConnection(o,a))&&(f.close(),qe.default.warn("Offer received for existing Connection ID:".concat(a))),i.type===tt.Media){var s=new vt.MediaConnection(o,this,{connectionId:a,_payload:i,metadata:i.metadata});f=s,this._addConnection(o,f),this.emit("call",s)}else{if(i.type!==tt.Data)return void qe.default.warn("Received malformed connection type:".concat(i.type));var c=new xt.DataConnection(o,this,{connectionId:a,_payload:i,metadata:i.metadata,label:i.label,serialization:i.serialization,reliable:i.reliable});f=c,this._addConnection(o,f),this.emit("connection",c)}var p=this._getMessages(a);try{for(var d=Gt(p),u=d.next();!u.done;u=d.next()){var l=u.value;f.handleMessage(l)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}break;default:if(!i)return void qe.default.warn("You received a malformed message from ".concat(o," of type ").concat(n));var f;a=i.connectionId;(f=this.getConnection(o,a))&&f.peerConnection?f.handleMessage(e):a?this._storeMessage(a,e):qe.default.warn("You received an unrecognized message:",e)}},t.prototype._storeMessage=function(e,t){this._lostMessages.has(e)||this._lostMessages.set(e,[]),this._lostMessages.get(e).push(t)},t.prototype._getMessages=function(e){var t=this._lostMessages.get(e);return t?(this._lostMessages.delete(e),t):[]},t.prototype.connect=function(e,t){if(void 0===t&&(t={}),this.disconnected)return qe.default.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect, or call reconnect on this peer if you believe its ID to still be available."),void this.emitError(rt.Disconnected,"Cannot connect to new Peer after disconnecting from server.");var r=new xt.DataConnection(e,this,t);return this._addConnection(e,r),r},t.prototype.call=function(e,t,r){if(void 0===r&&(r={}),this.disconnected)return qe.default.warn("You cannot connect to a new Peer because you called .disconnect() on this Peer and ended your connection with the server. You can create a new Peer to reconnect."),void this.emitError(rt.Disconnected,"Cannot connect to new Peer after disconnecting from server.");if(t){var n=new vt.MediaConnection(e,this,zt(zt({},r),{_stream:t}));return this._addConnection(e,n),n}qe.default.error("To call a peer, you must provide a stream from your browser's `getUserMedia`.")},t.prototype._addConnection=function(e,t){qe.default.log("add connection ".concat(t.type,":").concat(t.connectionId," to peerId:").concat(e)),this._connections.has(e)||this._connections.set(e,[]),this._connections.get(e).push(t)},t.prototype._removeConnection=function(e){var t=this._connections.get(e.peer);if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}this._lostMessages.delete(e.connectionId)},t.prototype.getConnection=function(e,t){var r,n,i=this._connections.get(e);if(!i)return null;try{for(var o=Gt(i),a=o.next();!a.done;a=o.next()){var s=a.value;if(s.connectionId===t)return s}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return null},t.prototype._delayedAbort=function(e,t){var r=this;setTimeout((function(){r._abort(e,t)}),0)},t.prototype._abort=function(e,t){qe.default.error("Aborting!"),this.emitError(e,t),this._lastServerId?this.disconnect():this.destroy()},t.prototype.emitError=function(e,t){var r;qe.default.error("Error:",t),(r="string"==typeof t?new Error(t):t).type=e,this.emit("error",r)},t.prototype.destroy=function(){this.destroyed||(qe.default.log("Destroy peer with ID:".concat(this.id)),this.disconnect(),this._cleanup(),this._destroyed=!0,this.emit("close"))},t.prototype._cleanup=function(){var e,t;try{for(var r=Gt(this._connections.keys()),n=r.next();!n.done;n=r.next()){var i=n.value;this._cleanupPeer(i),this._connections.delete(i)}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}this.socket.removeAllListeners()},t.prototype._cleanupPeer=function(e){var t,r,n=this._connections.get(e);if(n)try{for(var i=Gt(n),o=i.next();!o.done;o=i.next()){o.value.close()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}},t.prototype.disconnect=function(){if(!this.disconnected){var e=this.id;qe.default.log("Disconnect peer with ID:".concat(e)),this._disconnected=!0,this._open=!1,this.socket.close(),this._lastServerId=e,this._id=null,this.emit("disconnected",e)}},t.prototype.reconnect=function(){if(this.disconnected&&!this.destroyed)qe.default.log("Attempting reconnection to server with ID ".concat(this._lastServerId)),this._disconnected=!1,this._initialize(this._lastServerId);else{if(this.destroyed)throw new Error("This peer cannot reconnect to the server. It has already been destroyed.");if(this.disconnected||this.open)throw new Error("Peer ".concat(this.id," cannot reconnect because it is not disconnected from the server!"));qe.default.error("In a hurry? We're still trying to make the initial connection!")}},t.prototype.listAllPeers=function(e){var t=this;void 0===e&&(e=function(e){}),this._api.listAllPeers().then((function(t){return e(t)})).catch((function(e){return t._abort(rt.ServerError,e)}))},t.DEFAULT_KEY="peerjs",t}(ze.EventEmitter);window.peerjs={Peer:Ue.Peer,util:Fe},window.Peer=Ue.Peer}(); +//# sourceMappingURL=peerjs.min.js.map diff --git a/public/assets/media/calling.69742e4c.mp3 b/public/assets/media/calling.69742e4c.mp3 new file mode 100644 index 0000000..3fadd00 Binary files /dev/null and b/public/assets/media/calling.69742e4c.mp3 differ diff --git a/public/assets/media/guaduan.c0b3124b.mp3 b/public/assets/media/guaduan.c0b3124b.mp3 new file mode 100644 index 0000000..bf323ae Binary files /dev/null and b/public/assets/media/guaduan.c0b3124b.mp3 differ diff --git a/public/assets/media/notify.3d49176d.mp3 b/public/assets/media/notify.3d49176d.mp3 new file mode 100644 index 0000000..6da33dc Binary files /dev/null and b/public/assets/media/notify.3d49176d.mp3 differ diff --git a/public/assets/media/notify.7668dd76.ogg b/public/assets/media/notify.7668dd76.ogg new file mode 100644 index 0000000..39bbb0c Binary files /dev/null and b/public/assets/media/notify.7668dd76.ogg differ diff --git a/public/assets/media/notify.e6953ff1.wav b/public/assets/media/notify.e6953ff1.wav new file mode 100644 index 0000000..36d2dba Binary files /dev/null and b/public/assets/media/notify.e6953ff1.wav differ diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..11ad3eb Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..9b02b60 --- /dev/null +++ b/public/index.html @@ -0,0 +1 @@ +IM即时聊天
\ No newline at end of file diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..3bd0fd1 --- /dev/null +++ b/public/index.php @@ -0,0 +1,32 @@ + +// +---------------------------------------------------------------------- + +// [ 应用入口文件 ] +namespace think; + +require __DIR__ . '/../vendor/autoload.php'; +header('Access-Control-Allow-Origin:*'); +// 响应类型 +header('Access-Control-Allow-Methods:*'); +// 响应头设置 +header('Access-Control-Allow-Headers:x-requested-with,X_Requested_With,content-type,Authorization,clientId,sessionId,cid,X-Im-AppId,X-Im-Sign,X-Im-TimeStamp,Accept-Language'); +// 定义配置文件目录和应用目录同级 +define('CONF_PATH', __DIR__.'/../config/'); +define('PUBLIC_PATH', __DIR__.'/'); +define('PACKAGE_PATH', __DIR__.'/unpackage/'); +// 执行HTTP应用并响应 +$http = (new App())->http; + +$response = $http->run(); + +$response->send(); + +$http->end($response); diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..eb05362 --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/public/router.php b/public/router.php new file mode 100644 index 0000000..9b39a62 --- /dev/null +++ b/public/router.php @@ -0,0 +1,19 @@ + +// +---------------------------------------------------------------------- +// $Id$ + +if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) { + return false; +} else { + $_SERVER["SCRIPT_FILENAME"] = __DIR__ . '/index.php'; + + require __DIR__ . "/index.php"; +} diff --git a/public/sql/5.1.2 升 5.2 copy.sql b/public/sql/5.1.2 升 5.2 copy.sql new file mode 100644 index 0000000..67b893c --- /dev/null +++ b/public/sql/5.1.2 升 5.2 copy.sql @@ -0,0 +1,22 @@ +-- 升级说明 +-- 增加群聊禁言到期时间,好友上限,群聊上限。 + +-- 更新最新的版本需要更新一下配置文件,进入后台重新保存一下基础设置和聊天设置,否则配置信息不完整 + +CREATE TABLE `yu_emoji` ( + `id` int(11) NOT NULL, + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id,0为系统', + `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '类型', + `name` varchar(255) DEFAULT NULL COMMENT '名称', + `src` varchar(255) DEFAULT NULL COMMENT '链接', + `create_time` int(11) NOT NULL DEFAULT '0', + `update_time` int(11) NOT NULL DEFAULT '0', + `delete_time` int(11) NOT NULL DEFAULT '0', + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='表情表'; + +-- +-- 表的索引 `yu_emoji` +-- +ALTER TABLE `yu_emoji` + ADD PRIMARY KEY (`id`); diff --git a/public/sql/5.1.2 升 5.2.sql b/public/sql/5.1.2 升 5.2.sql new file mode 100644 index 0000000..8842196 --- /dev/null +++ b/public/sql/5.1.2 升 5.2.sql @@ -0,0 +1,8 @@ +-- 升级说明 +-- 增加群聊禁言到期时间,好友上限,群聊上限。 + +-- 更新最新的版本需要更新一下配置文件,进入后台重新保存一下基础设置和聊天设置,否则配置信息不完整 + +ALTER TABLE `yu_group_user` ADD `no_speak_time` INT(11) NOT NULL DEFAULT '0' COMMENT '禁言到期时间' AFTER `is_top`; +ALTER TABLE `yu_user` ADD `friend_limit` INT(11) NOT NULL DEFAULT '0' COMMENT '好友上限' AFTER `setting`; +ALTER TABLE `yu_user` ADD `group_limit` INT(11) NOT NULL DEFAULT '0' COMMENT '群聊上限' AFTER `setting`; \ No newline at end of file diff --git a/public/sql/5.2 升 5.3.sql b/public/sql/5.2 升 5.3.sql new file mode 100644 index 0000000..a61da21 --- /dev/null +++ b/public/sql/5.2 升 5.3.sql @@ -0,0 +1,23 @@ +-- 升级说明 +-- 增加群聊禁言到期时间,好友上限,群聊上限。 + +-- 更新最新的版本需要更新一下配置文件,进入后台重新保存一下基础设置和聊天设置,否则配置信息不完整 + +CREATE TABLE `yu_emoji` ( + `id` int(11) NOT NULL, + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id,0为系统', + `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '类型', + `name` varchar(255) DEFAULT NULL COMMENT '名称', + `src` varchar(255) DEFAULT NULL COMMENT '链接', + `file_id` INT(11) NOT NULL DEFAULT '0' COMMENT '文件id', + `create_time` int(11) NOT NULL DEFAULT '0', + `update_time` int(11) NOT NULL DEFAULT '0', + `delete_time` int(11) NOT NULL DEFAULT '0', + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='表情表'; + +-- +-- 表的索引 `yu_emoji` +-- +ALTER TABLE `yu_emoji` + ADD PRIMARY KEY (`id`); diff --git a/public/sql/database.sql b/public/sql/database.sql new file mode 100644 index 0000000..ff24928 --- /dev/null +++ b/public/sql/database.sql @@ -0,0 +1,337 @@ + +-- +-- 数据库: `im` +-- + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_config` +-- + +CREATE TABLE `yu_config` ( + `id` int(11) NOT NULL, + `name` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `value` json DEFAULT NULL, + `create_user` int(11) NOT NULL DEFAULT '0', + `update_time` int(11) NOT NULL DEFAULT '0', + `create_time` int(11) NOT NULL DEFAULT '0', + `remark` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='配置表'; + +-- +-- 转存表中的数据 `yu_config` +-- + +INSERT INTO `yu_config` (`id`, `name`, `value`, `create_user`, `update_time`, `create_time`, `remark`, `status`) VALUES +(1, 'sysInfo', '{\"logo\": \"\", \"name\": \"Raingad-IM\", \"state\": \"1\", \"regauth\": \"0\", \"regtype\": \"2\", \"runMode\": \"1\", \"ipregion\": \"1\", \"closeTips\": \"系统升级维护中,请稍候再试!\", \"description\": \"一款基于vue2.0的即时通信系统\", \"registerInterval\": \"600\"}', 0, 1688462862, 1688462862, NULL, 1), +(2, 'chatInfo', '{\"stun\": \"\", \"online\": \"1\", \"webrtc\": \"0\", \"dbDelMsg\": \"1\", \"msgClear\": \"1\", \"redoTime\": \"120\", \"stunPass\": \"\", \"stunUser\": \"\", \"groupChat\": \"1\", \"simpleChat\": \"1\", \"autoAddUser\": {\"status\": \"0\", \"welcome\": \"你好啊,欢迎来到Raingad-IM\", \"user_ids\": [\"1\", \"2\", \"3\"], \"user_items\": [\"1\", \"2\", \"3\"]}, \"msgClearDay\": \"30\", \"autoAddGroup\": {\"name\": \"春游交流\", \"status\": \"0\", \"userMax\": \"100\", \"owner_uid\": \"1\", \"owner_info\": [{\"id\": \"1\", \"avatar\": \"", \"user_id\": \"1\", \"realname\": \"管理员\"}]}, \"groupUserMax\": \"0\", \"sendInterval\": \"0\"}', 0, 1688463300, 1688463300, NULL, 1), +(3, 'smtp', '{\"addr\": \"xiekunyu@sss.com\", \"host\": \"smtp.exmail.qq.com\", \"pass\": \"ssss\", \"port\": \"465\", \"sign\": \"Raingad-IM\", \"security\": \"ssl\"}', 0, 1688464072, 1688464072, NULL, 1), +(4, 'fileUpload', '{\"disk\": \"local\", \"size\": \"50\", \"qiniu\": {\"url\": \"\", \"bucket\": \"\", \"accessKey\": \"\", \"secretKey\": \"\"}, \"aliyun\": {\"url\": \"\", \"bucket\": \"\", \"accessId\": \"\", \"endpoint\": \"\", \"accessSecret\": \"\"}, \"qcloud\": {\"cdn\": \"\", \"appId\": \"\", \"bucket\": \"\", \"region\": \"\", \"secretId\": \"\", \"secretKey\": \"\"}, \"fileExt\": [\"jpg\", \"jpeg\", \"ico\", \"webp\", \"bmp\", \"gif\", \"pdf\", \"mp3\", \"wav\", \"wmv\", \"amr\", \"mp4\", \"3gp\", \"avi\", \"m2v\", \"mkv\", \"mov\", \"ppt\", \"pptx\", \"doc\", \"docx\", \"xls\", \"xlsx\", \"txt\", \"md\", \"hevc\", \"png\", \"KLKV\"], \"preview\": \"\"}', 0, 1688464130, 1688464130, NULL, 1), +(5, 'compass', '{\"list\": [], \"mode\": 1, \"status\": 0}', 0, 1688464130, 1688464130, NULL, 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_file` +-- + +CREATE TABLE `yu_file` ( + `file_id` int(11) NOT NULL, + `cate` tinyint(1) NOT NULL DEFAULT '9' COMMENT '文件分类', + `file_type` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '文件类型', + `parent_id` int(11) NOT NULL DEFAULT '0' COMMENT '父Id', + `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名称', + `src` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '链接', + `size` int(11) DEFAULT '0' COMMENT '大小', + `ext` varchar(16) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '文件后缀', + `md5` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'md5', + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '创建人', + `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `update_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间', + `delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '删除时间', + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态', + `is_lock` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否锁定' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='文件库'; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_friend` +-- + +CREATE TABLE `yu_friend` ( + `friend_id` int(11) NOT NULL, + `friend_user_id` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '好友ID', + `nickname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '好友备注', + `is_invite` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否为邀请方', + `is_top` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否置顶', + `is_notice` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否消息提醒', + `create_user` int(11) NOT NULL DEFAULT '0', + `update_time` int(11) NOT NULL DEFAULT '0', + `create_time` int(11) NOT NULL DEFAULT '0', + `delete_time` int(11) NOT NULL DEFAULT '0', + `remark` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '申请备注', + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='联系人置顶表'; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_group` +-- + +CREATE TABLE `yu_group` ( + `group_id` int(11) NOT NULL, + `name` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '团队名称', + `name_py` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '团队的拼音', + `avatar` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '群聊头像', + `level` tinyint(1) NOT NULL DEFAULT '1' COMMENT '等级', + `create_user` int(11) NOT NULL DEFAULT '0' COMMENT '创建人', + `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `owner_id` int(11) NOT NULL DEFAULT '0' COMMENT '拥有者', + `is_public` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否公开', + `notice` mediumtext COLLATE utf8mb4_unicode_ci COMMENT '公告', + `setting` mediumtext COLLATE utf8mb4_unicode_ci COMMENT '设置', + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态', + `delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '删除时间' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_group_user` +-- + +CREATE TABLE `yu_group_user` ( + `id` int(11) NOT NULL, + `group_id` int(11) NOT NULL DEFAULT '0' COMMENT '团队Id', + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户Id', + `role` tinyint(1) NOT NULL DEFAULT '2' COMMENT '角色 1拥有者,2管理员,3成员', + `invite_id` int(11) NOT NULL DEFAULT '0' COMMENT '邀请人', + `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间', + `unread` int(11) NOT NULL DEFAULT '0' COMMENT '群未读消息', + `is_notice` tinyint(1) NOT NULL DEFAULT '1' COMMENT '1是否提醒', + `is_top` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否置顶', + `no_speak_time` int(11) NOT NULL DEFAULT '0' COMMENT '禁言到期时间', + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态 0 ,未同意邀请,1,同意', + `delete_time` int(11) NOT NULL DEFAULT '0' COMMENT '删除时间' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yu_message` +-- + +CREATE TABLE `yu_message` ( + `msg_id` int(11) NOT NULL, + `id` varchar(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '消息id', + `from_user` int(11) NOT NULL DEFAULT '0' COMMENT '发送者', + `to_user` int(11) NOT NULL DEFAULT '0' COMMENT '接受收者', + `content` text COLLATE utf8mb4_unicode_ci COMMENT '消息内容,如果为文件或图片就是url', + `chat_identify` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '标识 :a与b聊天,b与a聊天。记录 a-b', + `type` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'text' COMMENT '消息类型:text、file、image...', + `is_group` tinyint(1) NOT NULL DEFAULT '0' COMMENT '群聊消息', + `is_read` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否阅读', + `is_last` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否是最后一条消息', + `create_time` int(13) NOT NULL DEFAULT '0' COMMENT '发送时间', + `is_undo` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否撤回', + `at` text COLLATE utf8mb4_unicode_ci COMMENT '提醒某人', + `pid` int(11) DEFAULT '0' COMMENT '引用id', + `file_id` int(11) NOT NULL DEFAULT '0' COMMENT '文件id', + `file_cate` tinyint(1) NOT NULL DEFAULT '0' COMMENT '文件类型', + `file_size` int(11) NOT NULL DEFAULT '0' COMMENT '文件大小', + `file_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '文件名称', + `extends` json DEFAULT NULL COMMENT '消息扩展内容', + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态', + `del_user` text COLLATE utf8mb4_unicode_ci COMMENT '已删除成员' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; + +-- -------------------------------------------------------- + + +-- +-- 表的结构 `yu_emoji` +-- + +CREATE TABLE `yu_emoji` ( + `id` int(11) NOT NULL, + `user_id` int(11) NOT NULL DEFAULT '0' COMMENT '用户id,0为系统', + `type` tinyint(1) NOT NULL DEFAULT '1' COMMENT '类型', + `name` varchar(255) DEFAULT NULL COMMENT '名称', + `src` varchar(255) DEFAULT NULL COMMENT '链接', + `file_id` INT(11) NOT NULL DEFAULT '0' COMMENT '文件id', + `create_time` int(11) NOT NULL DEFAULT '0', + `update_time` int(11) NOT NULL DEFAULT '0', + `delete_time` int(11) NOT NULL DEFAULT '0', + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='表情表'; + +-- +-- 表的结构 `yu_user` +-- + +CREATE TABLE `yu_user` ( + `user_id` int(11) NOT NULL, + `account` char(32) COLLATE utf8mb4_unicode_ci NOT NULL, + `realname` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL, + `password` char(32) COLLATE utf8mb4_unicode_ci NOT NULL, + `salt` varchar(4) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '加密盐', + `avatar` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '头像', + `email` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '电子邮箱', + `sex` tinyint(1) NOT NULL DEFAULT '2' COMMENT '性别,0女,1男,2未知', + `role` tinyint(1) NOT NULL DEFAULT '0' COMMENT '角色,0无角色,1超管,2普管', + `motto` text COLLATE utf8mb4_unicode_ci COMMENT '个性签名', + `remark` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '备注', + `name_py` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '名字的拼音', + `cs_uid` int(11) NOT NULL DEFAULT '0' COMMENT '客服ID', + `setting` json DEFAULT NULL COMMENT '用户设置', + `friend_limit` int(11) NOT NULL DEFAULT '0' COMMENT '好友上限', + `group_limit` int(11) NOT NULL DEFAULT '0' COMMENT '群聊上限', + `create_time` int(11) UNSIGNED NOT NULL COMMENT '创建时间', + `update_time` int(11) UNSIGNED DEFAULT NULL, + `login_count` mediumint(8) UNSIGNED DEFAULT '0' COMMENT '登录次数', + `is_auth` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否认证', + `last_login_time` int(11) UNSIGNED DEFAULT '0' COMMENT '最后登录时间', + `last_login_ip` char(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '最后登录Ip\n', + `register_ip` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '注册IP', + `delete_time` int(11) UNSIGNED NOT NULL DEFAULT '0', + `status` tinyint(1) UNSIGNED DEFAULT '1' +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=COMPACT; + + +-- +-- 转存表中的数据 `yu_user` +-- + +INSERT INTO `yu_user` (`user_id`, `account`, `realname`, `password`, `salt`, `avatar`, `email`, `sex`, `role`, `motto`, `remark`, `name_py`, `cs_uid`, `setting`, `friend_limit`, `group_limit`, `create_time`, `update_time`, `login_count`, `is_auth`, `last_login_time`, `last_login_ip`, `register_ip`, `delete_time`, `status`) VALUES +(1, 'administrator', '管理员', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'service@kais.com', 1, 1, NULL, '', 'guanliyuan', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1222907803, 1702625051, 300, 0, 1730704229, '171.212.121.209', NULL, 0, 1), +(2, '13800000002', '熊大', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'lllll@bchn', 2, 0, '我是测试', '', 'xiongda', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"true\"}', 0, 0, 1555341865, 1730171777, 14886, 0, 1730704870, '125.80.141.99', NULL, 0, 1), +(3, '13800000003', '熊二', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, '12345@qq.com', 0, 0, '', '', 'xionger', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1557933999, 1728161315, 1217, 0, 1730697701, '103.121.164.134', NULL, 0, 1), +(4, '13800000004', '喜洋洋', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'xiyangyang@qq.com', 1, 0, '', '', 'xiyangyang', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"true\"}', 0, 0, 1604587165, 1730142085, 834, 0, 1730643800, '180.91.180.120', NULL, 0, 1), +(5, '13800000005', '灰太狼', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'huitailang@qq.com', 1, 0, NULL, '', 'huitailang', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"true\"}', 0, 0, 1604587246, 1711360067, 859, 0, 1730692491, '1.199.39.24', NULL, 0, 1), +(6, '13800000006', '奥特曼', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'aoteman@qq.com', 1, 0, '', '', 'aoteman', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587295, 1729431591, 824, 0, 1730688234, '120.224.39.54', NULL, 0, 1), +(7, '13800000007', '孙悟空', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'sunwukong@qq.com', 1, 0, '', '', 'sunwukong', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587347, 1728972288, 761, 0, 1730703214, '115.60.18.127', NULL, 0, 1), +(8, '13800000008', '猪八戒', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'zhubajie@qq.com', 1, 0, '', '', 'zhubajie', 0, '{\"theme\": \"default\", \"isVoice\": \"false\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"true\"}', 0, 0, 1604587378, 1726480311, 894, 0, 1730705108, '120.211.148.44', NULL, 0, 1), +(9, '13800000009', '唐三藏', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'tangsanzang@qq.com', 0, 0, '', '', 'tangsanzang', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587409, 1723078304, 1147, 0, 1730462811, '120.228.7.21', NULL, 0, 1), +(10, '13800000010', '沙悟净', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'sss', 2, 0, '', '', 'shawujing', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587409, 1727523988, 818, 0, 1730689889, '120.224.39.54', NULL, 0, 1), +(11, '13800000011', '刘备', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'liubei@kaishanlaw.com', 1, 0, '', '', 'hongbaolai', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"2\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1555341865, 1724836138, 861, 0, 1730703374, '115.60.18.127', NULL, 0, 1), +(12, '13800000012', '关羽', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'gggg', 1, 0, '', '', 'guanyu', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1557933999, 1730285557, 781, 0, 1730686560, '120.224.39.54', NULL, 0, 1), +(13, '13800000013', '张飞', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'i', 1, 0, '', '', 'zhangfei', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587165, 1729275843, 641, 0, 1730702978, '115.60.18.127', NULL, 0, 1), +(14, '13800000014', '赵云', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', '', 'zhaoyun@qq.com', 1, 0, '', '', 'zhaoyun', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587246, 1730374373, 662, 0, 1730688783, '124.135.239.79', NULL, 0, 1), +(15, '13800000015', '曹操', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'caocao@qq.com', 1, 0, '', '', 'caocao', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587295, 1720255912, 800, 0, 1730703843, '220.173.180.106', NULL, 0, 1), +(16, '13800000016', '司马懿', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'simayi@qq.com', 2, 0, '', '', 'simayi', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587347, 1711527030, 781, 0, 1730703600, '218.57.140.131', NULL, 0, 1), +(17, '13800000017', '孙权', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'sunquan@qq.com', 1, 0, 'fv', '', 'sunquan', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"true\", \"hideMessageTime\": \"true\"}', 0, 0, 1604587378, 1714396067, 713, 0, 1730598894, '39.148.72.199', NULL, 0, 1), +(18, '13800000018', '周瑜', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'zhouyu@qq.com', 1, 0, '12121', '', 'zhouyu', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587409, 1714437700, 786, 0, 1730700668, '222.71.91.18', NULL, 0, 1), +(19, '13800000019', '诸葛亮', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'zhugeliang@qq.com', 0, 0, '', '', 'zhugeliang', 0, '{\"theme\": \"blue\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"false\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587378, 1730705058, 883, 0, 1730688482, '222.212.4.43', NULL, 0, 1), +(20, '13800000020', '吕布', '2cb4ecb7fd5295685e275edc7d44e02e', 'srww', NULL, 'lvbu@qq.com', 0, 0, '', '', 'lvbu', 0, '{\"theme\": \"default\", \"isVoice\": \"true\", \"sendKey\": \"1\", \"avatarCricle\": \"true\", \"hideMessageName\": \"false\", \"hideMessageTime\": \"false\"}', 0, 0, 1604587409, 1729935411, 1750, 0, 1730014387, '101.44.83.192', NULL, 0, 1); + +-- +-- 转储表的索引 +-- + +-- +-- 表的索引 `yu_config` +-- +ALTER TABLE `yu_config` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `yu_file` +-- +ALTER TABLE `yu_file` + ADD PRIMARY KEY (`file_id`); + +-- +-- 表的索引 `yu_friend` +-- +ALTER TABLE `yu_friend` + ADD PRIMARY KEY (`friend_id`); + +-- +-- 表的索引 `yu_group` +-- +ALTER TABLE `yu_group` + ADD PRIMARY KEY (`group_id`); + +-- +-- 表的索引 `yu_group_user` +-- +ALTER TABLE `yu_group_user` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `yu_message` +-- +ALTER TABLE `yu_message` + ADD PRIMARY KEY (`msg_id`); + +-- +-- 表的索引 `yu_emoji` +-- +ALTER TABLE `yu_emoji` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `yu_user` +-- +ALTER TABLE `yu_user` + ADD PRIMARY KEY (`user_id`), + ADD UNIQUE KEY `account` (`account`) USING BTREE, + ADD KEY `accountpassword` (`account`,`password`); + +-- +-- 在导出的表使用AUTO_INCREMENT +-- + +-- +-- 使用表AUTO_INCREMENT `yu_config` +-- +ALTER TABLE `yu_config` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7; + +-- +-- 使用表AUTO_INCREMENT `yu_file` +-- +ALTER TABLE `yu_file` + MODIFY `file_id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_friend` +-- +ALTER TABLE `yu_friend` + MODIFY `friend_id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_group` +-- +ALTER TABLE `yu_group` + MODIFY `group_id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_group_user` +-- +ALTER TABLE `yu_group_user` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_message` +-- +ALTER TABLE `yu_message` + MODIFY `msg_id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_emoji` +-- +ALTER TABLE `yu_emoji` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; + +-- +-- 使用表AUTO_INCREMENT `yu_user` +-- +ALTER TABLE `yu_user` + MODIFY `user_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21; +COMMIT; + diff --git a/public/sql/test.txt b/public/sql/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/public/static/common/css/audio.css b/public/static/common/css/audio.css new file mode 100644 index 0000000..a318282 --- /dev/null +++ b/public/static/common/css/audio.css @@ -0,0 +1,527 @@ +#yAudio{ + width:600px; + margin:15% auto; +} +.yAudio { + display: flex; + width: 100%; + color: #333; + font-family: Arial, Helvetica, sans-serif; + overflow: hidden; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + line-height: normal; + position: relative; + --theme-color: #d72630; +} + +.yAudio .yAudio-artword { + width: 160px; + height: 160px; + margin-right: 15px; +} + +.yAudio .yAudio-artword .yAudio-figure { + display: block; + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + +.yAudio .yAudio-artword .yAudio-pic { + display: block; + width: 100%; + height: 100%; + object-fit: cover; +} + +.yAudio .yAudio-content { + flex: 1; +} + +.yAudio .yAudio-content .yAudio-header { + display: flex; + align-items: center; + padding: 5px 0 7px; +} + +.yAudio .yAudio-content .yAudio-play { + width: 38px; + height: 38px; + border-radius: 50%; + color: #fff; + background-color: var(--theme-color); + margin-right: 5px; + cursor: not-allowed; + position: relative; +} + +.yAudio.load .yAudio-content .yAudio-play { + cursor: pointer; +} + +.yAudio .yAudio-content .yAudio-play svg { + position: absolute; + top: 8px; + left: 10px; + width: 22px; + height: 22px; +} + +.yAudio .yAudio-content .yAudio-play svg path { + fill: #fff; +} + +.yAudio .yAudio-content .yAudio-play__pause, +.yAudio.play .yAudio-content .yAudio-play__playing { + visibility: visible; +} + +.yAudio .yAudio-content .yAudio-play__playing, +.yAudio.play .yAudio-content .yAudio-play__pause { + visibility: hidden; +} + +.yAudio .yAudio-content .yAudio-play__playing { + left: 8px; +} + +.yAudio .yAudio-content .yAudio-container { + flex: 1; +} + +.yAudio .yAudio-content .yAudio-author { + font-size: 12px; + color: #999; + font-weight: 300; + margin: 0; +} + +.yAudio .yAudio-content .yAudio-title { + font-size: 15px; + margin: 0; +} + +.yAudio .yAudio-content .yAudio-time { + color: #ccc; + font-size: 12px; + font-weight: 100; + line-height: 1; +} + +.yAudio .yAudio-content .yAudio-main { + width: 100%; + position: relative; +} + +.yAudio .yAudio-content .yAudio-waveform { + width: 100%; + height: 60px; + cursor: pointer; + opacity: 0.8; + transform: scaleY(0); + transform-origin: left 75%; + transition: all 0.3s ease-out; + position: relative; +} + +.yAudio .yAudio-content .yAudio-waveform::before { + content: ''; + position: absolute; + top: 0; + left: var(--bar-left); + width: 1px; + height: 100%; + opacity: 0; + background-color: var(--theme-color); + transition: opacity 0.3s ease-out; +} + +.yAudio .yAudio-content .yAudio-waveform:hover, +.yAudio.start .yAudio-content .yAudio-waveform, +.yAudio .yAudio-content .yAudio-waveform:hover::before { + opacity: 1; +} + +.yAudio.load .yAudio-content .yAudio-waveform { + transform: scaleY(1); +} + +.yAudio .yAudio-content .yAudio-waveform .yAudio-pro { + position: absolute; + top: 0; + left: 0; + width: 0; + height: 60px; + overflow: hidden; + background-color: transparent; +} + +.yAudio .yAudio-content .yAudio-current, +.yAudio .yAudio-content .yAudio-total { + position: absolute; + top: 28px; + color: #fff; + padding: 3px 2px; + font-size: 12px; + line-height: 1; + transform: scale(0.9); + opacity: 0; + background-color: rgba(50, 50, 50, 0.91); +} + +.yAudio .yAudio-content .yAudio-current { + left: 0; + z-index: 9; + color: var(--theme-color); + transition: opacity 0.3s linear; +} + +.yAudio.start .yAudio-content .yAudio-current { + opacity: 1; +} + +.yAudio .yAudio-content .yAudio-total { + color: #999; + right: 0; +} + +.yAudio.load .yAudio-content .yAudio-total { + opacity: 1; + animation: opacity 0.6s linear; +} + +.yAudio .yAudio-content .yAudio-comments { + width: 100%; + position: relative; +} + +.yAudio .yAudio-content .yAudio-wrapper { + position: absolute; + top: -15px; + left: 0; + width: 100%; + height: 12px; + cursor: pointer; +} + +.yAudio .yAudio-content .yAudio-wrapper__item { + position: absolute; + top: 0; + left: 10px; + width: 12px; + height: 12px; + background-color: #222; + background-repeat: no-repeat; + background-size: cover; +} + +.yAudio .yAudio-content .yAudio-wrapper__item.current { + border-radius: 50%; + box-shadow: 1px 2px 6px #6c6c6c; + z-index: 9; +} + +.yAudio .yAudio-content .yAudio-popover { + display: flex; + width: 100%; + height: 30px; + line-height: 30px; + font-size: 12px; + box-sizing: border-box; + transition: all 0.3s ease-out; +} + +.yAudio .yAudio-content .yAudio-popover-wrapper { + position: absolute; + top: 4px; + left: 0; + line-height: 1; + opacity: 0; + transition: top 0.25s, opacity 0.25s; +} + +.yAudio + .yAudio-content + .yAudio-wrapper.active + ~ .yAudio-popover + .yAudio-popover-wrapper { + top: 7px; + opacity: 1; +} + +.yAudio .yAudio-content .yAudio-popover-wrapper__user { + display: block; + float: left; + color: var(--theme-color); + padding: 0 8px; + text-decoration: none; + position: relative; +} + +.yAudio .yAudio-content .yAudio-popover-wrapper__user::before { + content: ''; + display: block; + position: absolute; + top: -12px; + left: 0; + width: 1px; + height: 200%; + background-image: linear-gradient( + rgba(255, 85, 0, 0.95), + rgba(255, 85, 0, 0.1) + ); +} + +.yAudio + .yAudio-content + .yAudio-popover-wrapper.right + .yAudio-popover-wrapper__user { + float: right; +} + +.yAudio .yAudio-content .yAudio-popover-wrapper.right, +.yAudio + .yAudio-content + .yAudio-popover-wrapper.right + .yAudio-popover-wrapper__user::before { + right: 0; + left: auto; +} + +.yAudio .yAudio-content .yAudio-popover-wrapper__comment { + color: #666; + float: left; + margin: 0; +} + +.yAudio .yAudio-content .yAudio-comments-from { + width: 100%; + height: 0; + opacity: 0; + padding: 5px 5px 5px 25px; + background-color: #f2f2f2; + border: 1px solid #e5e5e5; + box-sizing: border-box; + overflow: hidden; + position: relative; + transition: all 0.3s ease-out; +} + +.yAudio.start .yAudio-content .yAudio-comments-from, +.yAudio.comment .yAudio-content .yAudio-comments-from { + opacity: 1; + height: 32px; +} + +.yAudio .yAudio-content .yAudio-comments-from::before { + content: ''; + position: absolute; + top: 6px; + left: 6px; + width: 19px; + height: 19px; + background-image: linear-gradient(135deg, #846170, #70929c); +} + +.yAudio .yAudio-content .yAudio-comments-from__input { + width: 100%; + height: 20px; + border-radius: 0 4px 4px 0; + padding: 0 9px; + font-size: 12px; + outline: none; + cursor: pointer; + border: 1px solid #e5e5e5; + border-left: none; + box-sizing: border-box; +} + +.yAudio .yAudio-content .yAudio-footer { + position: relative; + box-sizing: border-box; + margin-top: 10px; +} + +.yAudio .yAudio-content .yAudio-list { + border-radius: 0 0 4px 4px; + border: 1px solid #f2f2f2; + font-size: 12px; + overflow: hidden; +} + +.yAudio .yAudio-content .yAudio-list-container { + max-height: 150px; + overflow-y: hidden; + transition: max-height 0.3s; +} + +.yAudio .yAudio-content .yAudio-list-container.active { + overflow-y: scroll; + max-height: 300px; +} + +.yAudio .yAudio-content .yAudio-list-wrapper { + margin: 0; + padding: 0; + transition: all 0.6s; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item { + width: 100%; + height: 30px; + display: flex; + align-items: center; + padding: 0 5px; + box-sizing: border-box; + color: #ccc; + cursor: not-allowed; + border-bottom: 1px solid #f2f2f2; + transition: all 0.3s; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item:last-child { + border-bottom: none; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item.active, +.yAudio .yAudio-content .yAudio-list-wrapper__item:hover, +.yAudio .yAudio-content .yAudio-more:hover { + background-color: #f2f2f2; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item-img { + display: block; + width: 20px; + height: 20px; + margin-right: 5px; + opacity: 0.5; + transition: all 0.3s; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item-number { + margin-right: 5px; + font-size: 12px; + line-height: 1; + color: #ccc; + transition: all 0.3s; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item-content { + flex: 1; + font-size: 0; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item-user, +.yAudio .yAudio-content .yAudio-list-wrapper__item-title { + display: inline-block; + font-size: 12px; + line-height: 1; + margin-right: 5px; +} + +.yAudio .yAudio-content .yAudio-list-wrapper__item-title { + color: #ccc; + transition: all 0.3s; +} + +.yAudio .yAudio-content .yAudio-list-bar { + position: absolute; + top: 4px; + right: 4px; + width: 6px; + height: 30px; + background-color: #ccc; + border-radius: 6px; + opacity: 0; + transition: opacity 0.6s; +} + +.yAudio .yAudio-content .yAudio-list-bar.active, +.yAudio .yAudio-content .yAudio-list-container.active:hover .yAudio-list-bar { + opacity: 1; +} + +.yAudio .yAudio-content .yAudio-more { + text-align: center; + padding: 5px 10px; + color: #999; + border: none; + font-size: 12px; + cursor: pointer; +} + +.yAudio.load .yAudio-content .yAudio-list-wrapper__item { + color: #999; + cursor: pointer; +} + +.yAudio.load .yAudio-content .yAudio-list-wrapper__item-img { + opacity: 1; +} + +.yAudio.load .yAudio-content .yAudio-list-wrapper__item-number, +.yAudio.load .yAudio-content .yAudio-list-wrapper__item-title { + color: #333; +} + +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.isload + .yAudio-list-wrapper__item-number, +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.isload + .yAudio-list-wrapper__item-title, +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.isload + .yAudio-list-wrapper__item-user { + color: #b5b5b5; +} + +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.isload + .yAudio-list-wrapper__item-img { + opacity: 0.5; +} + +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.active + .yAudio-list-wrapper__item-number + .yAudio + .yAudio-content + .yAudio-list-wrapper__item.active + .yAudio-list-wrapper__item-user, +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.active + .yAudio-list-wrapper__item-title { + color: var(--theme-color); +} + +.yAudio + .yAudio-content + .yAudio-list-wrapper__item.active + .yAudio-list-wrapper__item-img { + opacity: 1; +} + +.yAudio .yAudio-content .yAudio-list-container.active::-webkit-scrollbar { + width: 0; + height: 0; +} + +@keyframes opacity { + 0% { + opacity: 0; + } + 100% { + opacity: 1; + } +} diff --git a/public/static/common/css/main.css b/public/static/common/css/main.css new file mode 100644 index 0000000..b3fa8aa --- /dev/null +++ b/public/static/common/css/main.css @@ -0,0 +1,637 @@ +@font-face { + font-family: 'iconfont'; /* project id 1867770 */ + src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot'); + src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot?#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff2') format('woff2'), + url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff') format('woff'), + url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.ttf') format('truetype'), + url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.svg#iconfont') format('svg'); + } + +.sv-target video { + background-color: #000000; +} + +.sv-font { + font-family: 'iconfont'; +} + +.sv-pic-pic { + color: #ffffff; + font-size: 20px; + margin-right: 6px; +} + +.sv-play { + color: #ffffff; + font-size: 20px; +} + +.sv-fontBtn { + color: #ffffff; + font-size: 20px; +} + +.sv-next { + color: #ffffff; + font-size: 20px; +} + +.sv-fullScreen { + color: #ffffff; + font-size: 20px; +} + +.sv-cancelFull { + color: #ffffff; + font-size: 20px; +} + +.sv-target { + position: relative; +} +.sv-control { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 54px; + background-color: rgba(0, 0, 0, 0.5); + display: flex; + flex-direction: row; + justify-content: space-between; +} +.sv-play-container { + height: 100%; + /* background-color: royalblue; */ + display: flex; + flex-direction: row; + padding-right: 10px; +} +.sv-control-r { + height: 100%; + /* background-color: royalblue; */ + display: flex; + flex-direction: row; + padding-left: 10px; + padding-right: 10px; +} +.sv-play-container button.sv-playBtn { + background: none; + border: none; + cursor: pointer; + padding: 0 10px; + outline: none; + color: inherit; + text-align: inherit; + font: inherit; + line-height: inherit; + margin-left: 10px; +} + +.sv-control-r button.showMute { + background: none; + border: none; + cursor: pointer; + padding: 0 10px; + outline: none; + color: inherit; + text-align: inherit; + font: inherit; + line-height: inherit; + position: relative; +} + +.sv-time { + height: 100%; + color: #ffffff; + display: flex; + flex-direction: row; + align-items: center; + font-size: 12px; +} + +.sv-time-split { + padding: 0 4px; +} + +.sv-mutePanel { + position: absolute; + top: -120px; + left: 0; + width: 20px; + height: 80px; + background-color: rgba(0, 0, 0, 0.8); + display: flex; + flex-direction: column; + padding: 16px 6px; + border-radius: 4px; +} + +.sv-mute-num { + width: 100%; + height: 20px; + background-color: transparent; + color: #ffffff; + font-size: 12px; + text-align: center; + margin-bottom: 4px; +} + +.sv-mute-slider { + flex: 1; + width: 3px; + background-color: #ffffff; + margin: 0 auto; + position: relative; + display: flex; + flex-direction: column-reverse; +} + +.sv-mute-sliderRange { + width: 100%; + background-color: #00a1d6; +} + +.sv-control-r button.sv-mute-button { + position: absolute; + top: 0; + left: -4.5px; + width: 12px; + height: 12px; + border-radius: 50%; + z-index: 10; + background-color: #00a1d6; + border: 0; + cursor: pointer; + outline: none; +} + +.sv-progressBar { + position: absolute; + top: 0; + left: 2%; + width: 96%; + height: 2px; + background-color: hsla(0,0%,100%,.2); + border-radius: 4px; + cursor: pointer; +} + +.sv-cacheProgress { + width: 0%; + height: 100%; + background-color: #7a7878; + border-radius: 4px; +} + +.sv-progressNum { + width: 0%; + height: 100%; + position: absolute; + top: 0; + left: 0; + border-radius: 4px; + background-color: #00a1d6; +} + +.sv-progressBtn { + position: absolute; + left: 0%; + top: -7px; + width: 16px; + height: 16px; + border-radius: 50%; + background-color: rgba(0, 161, 214, 0.5); + cursor: pointer; +} +.sv-progressBtn>div { + width: 10px; + height: 10px; + border-radius: 50%; + background-color: #00a1d6; + margin-top: 2.6px; + margin-left: 2.8px; +} + +.hide { + display: none!important; +} + +.sv-full-screen { + position: fixed!important; + width: 100%!important; + height: 100%!important; + left: 0!important; + top: 0!important; + margin: 0!important; + padding: 0!important; +} + +.sv-loading{ + /* width: 60px; + height: 60px; */ + position: absolute; + left: 48%; + top: 48%; +} +.sv-loading span{ + display: inline-block; + width: 4px; + height: 100%; + border-radius: 4px; + background: #00a1d6; + -webkit-animation: load 1s ease infinite; + animation: load 1s ease infinite; +} +@-webkit-keyframes load{ + 0%,100%{ + height: 20px; + background: #00a1d6; + } + 50%{ + height: 40px; + margin: -15px 0; + background: lightblue; + } +} +.sv-loading span:nth-child(2){ + -webkit-animation-delay:0.2s; + animation-delay:0.2s; +} +.sv-loading span:nth-child(3){ + -webkit-animation-delay:0.4s; + animation-delay:0.4s; +} +.sv-loading span:nth-child(4){ + -webkit-animation-delay:0.6s; + animation-delay:0.6s; +} +.sv-loading span:nth-child(5){ + -webkit-animation-delay:0.8s; + animation-delay:0.8s; +} + +/* 弹幕 */ +.sv-brrage { + position: absolute; + padding: 4px; + background-color: transparent; + display: flex; + flex-direction: row; + white-space: nowrap; + width: auto; + word-wrap: break-word; + max-width: 500px; + min-width: 100px; +} + +.sv-brrage-center { + text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) -1px 0px 1px; +} + +/* 画中画 */ + +.sv-picinpic { + position: absolute; + z-index: 22; + position: absolute; + top: 20px; + right: 20px; + white-space: nowrap; + height: 36px; + padding: 0 12px; + overflow: visible; + border-radius: 2px; + border-radius: 18px; + background: #2b2b2b; + background: rgba(43,43,43,.8); + color: #fff; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + font-size: 14px; + cursor: pointer; +} +.sv-picinpic:hover { + background: linear-gradient(90deg,#4ca9c7 0,#03bbf7)!important +}.sv-el-control-style { + padding-right: 10px; + padding-left: 10px; + height: 100%; + display: flex; + flex-direction: row; +} + +.sv-nextBtn { + background: none; + border: none; + cursor: pointer; + outline: none; + text-align: inherit; +} + +.sv-speedBtn { + background: none; + border: none; + cursor: pointer; + outline: none; + text-align: inherit; + position: relative; +} +.sv-speedBtn .sv-speed-btn { + position: absolute; + bottom: 54px; + left: -10px; + padding: 10px; + border-radius: 4px; + background-color: rgba(0, 0, 0, 0.8); + /* box-sizing: border-box; + border: 1px solid #ffffff; */ +} +.sv-speedBtn .sv-speed-btn ul { + padding: 0; + margin: 0; +} +.sv-speedBtn .sv-speed-btn ul li { + list-style: none; + font-size: 12px; + line-height: 20px; + cursor: pointer; +} +.sv-speedBtn .sv-speed-btn ul li:hover{ + color: #00a1d6; +} +.sv-active{ + color: #00a1d6!important; +} + +.sv-control-c { + height: 100%; +} + +/* 弹幕控件 */ +.sv-barrage { + display: flex; + flex-direction: row; + align-items: center; + height: 100%; + position: relative; +} +.sv-barrage-a { + height: 26px; +} +.sv-barrage-input { + height: 17px; + outline: none; + padding: 6px 30px; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + border-top: 1px solid #333333; + border-left: 1px solid #333333; + border-bottom: 1px solid #333333; + border-right: 1px solid #00a1d6; + background: none; + font-size: 12px; + color: #fff; +} +.sv-barrage-button { + height: 31px; + background-color: #00a1d6; + color: #fff; + width: 60px; + min-width: 60px; + text-align: center; + cursor: pointer; + box-sizing: border-box; + border-top: 1px solid #333333; + border-right: 1px solid #333333; + border-bottom: 1px solid #333333; + border-left: 1px solid #00a1d6; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + outline: none; + vertical-align: middle; +} +.sv-barrage-button:hover{ + background-color: #03bbf7; + border-left: 1px solid #03bbf7; +} +.sv-barrage-font { + position: absolute; + left: 6px; + top: 16px; + cursor: pointer; +} + +.sv-apanel { + position: absolute; + bottom: 54px; + left: -10px; + padding: 10px; + border-radius: 4px; + background-color: rgba(0, 0, 0, 0.8); + width: 200px; + height: 100px; + display: flex; + flex-direction: column; + color: #fff; + z-index: 99999; +} +.sv-apanel-item { + display: flex; + flex-direction: column; + overflow: hidden; +} +.sv-apanel-item span { + font-size: 12px; +} +.sv-apanel-item ul { + margin: 0; + padding: 0; + margin-top: 8px; +} +.sv-apanel-item ul li { + list-style: none; + background-color: #fff; + display: block; + width: 20px; + height: 20px; + margin: 4px; + float: left; + cursor: pointer; +} +.activeColor{ + box-sizing: border-box; + border: 2px solid #ffff; +} + +.videoContainer { + width: 100%; + height: calc(100vh - 4px); + margin: 0; + padding: 0; +} + +body{ + background-color: #f5f5f5;color: #5F5F5F;margin: 0; padding: 0; height: 100%; +} + +.container { + text-align: center; + font-size: 72px; + margin-top: 20%; +} + +/*zoom-marker*/ + +.picview { width:50%; margin:auto auto auto auto; height:800px; overflow:hidden; } +.picview img{position:absolute; left: 30%; top:20%; width:500px; z-index:1; } +.zoom-marker{cursor: pointer;z-index:2;} + +/* pptview */ +.pptview{ + width: 100%; + height: 100vh; + position: relative; + display: flex; +} + +.slide-box{ + margin: 0px auto; + position: relative; +} +#all_slides_warpper{ + position: absolute; + left: 10px; + right: 10px; + top: 10px; + bottom: 10px; + padding: 0px; + max-width: 900px; + left: 50% !important; + transform: translateX(-50%); + /* margin:50px 100px; */ + /* height: inherit !important; */ + height: auto !important; +} + +#all_slides_warpper .slide{ + border-radius: 0px; + -webkit-transform-origin: 0 0; +} +.not-in-wap #all_slides_warpper .slide-box{ + margin-bottom: 20px; + /* top: 50%; + transform: translateY(-50%); */ +} +.not-in-wap #all_slides_warpper .slide{ + /* margin: 0px auto; */ + margin: 0px; + top: 0px !important; + left: 0px !important; + /* top: 50% !important; + transform: translateY(-50%); */ +} + +.is-in-wap #all_slides_warpper .slide-box{ + margin-bottom: 10px; +} +.is-in-wap #all_slides_warpper .slide{ + display: block !important; +} +.is-in-wap .slide-page-toolbar{display: none;} + +.not-in-wap .main-slide-fscreen{ + left: 0px !important; +} + +.total-page-point{ + border-color: #FF8040; + box-shadow: 0 0 0 2px #ff8040; +} +.slide-play-btn{ + display: none; + opacity: 0.6; + position: absolute; + font-size: 45px; + /* top: 36%; + left: 90px; */ + transform: scale(1) !important; + z-index: 999999; + color: #ff8040; + top: 50%; + left: 50%; + margin-left: -22.5px; + margin-top: -22.5px; +} +.slide-play-btn:hover{ + opacity: 0.8; + cursor: pointer; +} + +/* 全屏 */ +.output-fscreen .slide-page-toolbar{ + left: 45%; +} +.output-fscreen .slide-left-icon{ + left: 0px; + width: 150px; +} +.output-fscreen .slide-right-icon{ + width: 150px; +} + +.text-preview{ + width: 900px; + min-height: 600px; + padding: 15px; + background: #fff; + margin: 15px auto; + border-radius: 6px; + font-size: 18px; + font-weight: 600; + color: #000 !important; +} +.text-preview #file-content{ + white-space: pre-wrap; +} + +@media (max-width: 768px) { + .text-preview{ + width: 90% !important; + } + .not-in-wap #left_slides_bar{display: none !important;} + .not-in-wap .slide-left-icon{left: 0px;} + #all_slides_warpper{left: 10px !important;top:10px !important;transform: translateX(0);} + /* .slide-page-toolbar{display: none;} */ +} + +@media (max-width: 900px) { + .text-preview{ + width: 90% !important; + } + #all_slides_warpper{left: 10px !important;top:10px !important;transform: translateX(0);} + /* .slide-page-toolbar{display: none;} */ + .docx-wrapper{ + padding:10px !important; + } + .docx-wrapper>section.docx{ + width: 100% !important; + height: 100% !important; + margin: 0px !important; + padding: 10px !important; + } + #yAudio{ + width: 100% !important; + } + .yAudio{ + flex-wrap: wrap !important; + justify-content: center !important; + } + + .yAudio-content{ + padding:30px !important; + } +} \ No newline at end of file diff --git a/public/static/common/css/test.txt b/public/static/common/css/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/public/static/common/img/camera-off.png b/public/static/common/img/camera-off.png new file mode 100644 index 0000000..6d9792e Binary files /dev/null and b/public/static/common/img/camera-off.png differ diff --git a/public/static/common/img/camera.png b/public/static/common/img/camera.png new file mode 100644 index 0000000..2683047 Binary files /dev/null and b/public/static/common/img/camera.png differ diff --git a/public/static/common/img/chatarea.png b/public/static/common/img/chatarea.png new file mode 100644 index 0000000..9ba50a8 Binary files /dev/null and b/public/static/common/img/chatarea.png differ diff --git a/public/static/common/img/file_transfer.jpg b/public/static/common/img/file_transfer.jpg new file mode 100644 index 0000000..06d0d9f Binary files /dev/null and b/public/static/common/img/file_transfer.jpg differ diff --git a/public/static/common/img/file_transfer.png b/public/static/common/img/file_transfer.png new file mode 100644 index 0000000..97d5d45 Binary files /dev/null and b/public/static/common/img/file_transfer.png differ diff --git a/public/static/common/img/guaduan.png b/public/static/common/img/guaduan.png new file mode 100644 index 0000000..09f5a86 Binary files /dev/null and b/public/static/common/img/guaduan.png differ diff --git a/public/static/common/img/jieting.png b/public/static/common/img/jieting.png new file mode 100644 index 0000000..121682b Binary files /dev/null and b/public/static/common/img/jieting.png differ diff --git a/public/static/common/img/moments.png b/public/static/common/img/moments.png new file mode 100644 index 0000000..fce8076 Binary files /dev/null and b/public/static/common/img/moments.png differ diff --git a/public/static/common/img/none.png b/public/static/common/img/none.png new file mode 100644 index 0000000..d5bda07 Binary files /dev/null and b/public/static/common/img/none.png differ diff --git a/public/static/common/img/notice.png b/public/static/common/img/notice.png new file mode 100644 index 0000000..f0624da Binary files /dev/null and b/public/static/common/img/notice.png differ diff --git a/public/static/common/img/speaker-off.png b/public/static/common/img/speaker-off.png new file mode 100644 index 0000000..d7b2892 Binary files /dev/null and b/public/static/common/img/speaker-off.png differ diff --git a/public/static/common/img/speaker.png b/public/static/common/img/speaker.png new file mode 100644 index 0000000..73bb59d Binary files /dev/null and b/public/static/common/img/speaker.png differ diff --git a/public/static/common/img/test.txt b/public/static/common/img/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/public/static/common/img/tmall.png b/public/static/common/img/tmall.png new file mode 100644 index 0000000..0ad1c86 Binary files /dev/null and b/public/static/common/img/tmall.png differ diff --git a/public/static/common/img/uniapp.png b/public/static/common/img/uniapp.png new file mode 100644 index 0000000..f67428a Binary files /dev/null and b/public/static/common/img/uniapp.png differ diff --git a/public/static/common/img/video.png b/public/static/common/img/video.png new file mode 100644 index 0000000..bce298f Binary files /dev/null and b/public/static/common/img/video.png differ diff --git a/public/static/common/img/voice-off.png b/public/static/common/img/voice-off.png new file mode 100644 index 0000000..0648bc4 Binary files /dev/null and b/public/static/common/img/voice-off.png differ diff --git a/public/static/common/img/voice.png b/public/static/common/img/voice.png new file mode 100644 index 0000000..22e7c99 Binary files /dev/null and b/public/static/common/img/voice.png differ diff --git a/public/static/common/js/audio.js b/public/static/common/js/audio.js new file mode 100644 index 0000000..0510823 --- /dev/null +++ b/public/static/common/js/audio.js @@ -0,0 +1,1075 @@ +;(function (window) { + var i = 0; + var cover="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUAAAAFACAYAAADNkKWqAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAPPWSURBVHhe7L0HnBRV1v7PsPvuz/++vq++rspMTwSGnPMw012pB4yr7q666ppddc1rzjnnnHPOCcSAObKKmMAEYg6oiCJBQKD+3+d2ddvdUzPTAzMwQB0+h+muunWr+ta5zz3n3nPP6RBRRIXQsGF2sW3bu7q2e5fjeC87lncN34cGpyOKKKKIVksq8uJef9f1bnMdd5ZtOUsd2/XhRY7t3bNN723+EJSLKKKIIlq9yK11ewB2rwF8i2E/m13HexMtcN2gaEQRRRTR6kMCN8dyrwTsluSDn45hDt+3zTbb/C4oHlFEEUW0+pCX8Iaj5X2SD36BCfylk0huGRSNKKKIIlq9yEk4mwF0mvfLBsClgOJ3juXsi4a4VlA0oogiimj1Is/zBgOAH6bBD+D71bG9KZi+e/bv3/+/g2IRRRRRRKsfbb755n/0HO8CgG+y6yQvdC13Z7S+Mk51TJWIaDmoqKam5v8LPkcUUUTtkIoSiYQH+D0K8FXre+pwRMtDJ554YkfLsgY5lnfMkCFD1gkORxRRRO2NRo0a9d8A4L1OwtklOBTRcpBZWXecXVzHnYZm/YtluVtwONKoI4qonVJH103uDgjeWltb+z/BsYhaSHIXQuvr5jjeJYDf91pMcmx3Kd+vFigGxSKKKKL2RvX19RWu6z2E5pLs0MGPzOAWklbLXcvdFOCbAOgt0oKS/jKovOBYzhWJRGJ4UDSiiCJqb0QH/j3Ydwia4KWRFtgi6uh5Xila3pmYu19I4ws0v28BvjPcWrerm3A9J+Hsp7KpSyKKKKJ2R9oPnHST4217VN/gUETNEJpdZ8dx7wT0FgRan3wo32FA2SntRpRMJv9kWc6p3givk7kooogian8klxg684WunTw62v5WGNVKw3O9CQI/gO9H2u46jvXgVLa2V2RZ3l/QAv+h1eHgWEQRRdTOqIhOupHrJB+or6uvCI5F1ARtvPHG/89xnFMd2/uUv4ei+a3P4QZzqGiK5YDjSTU1o9cLDkUUUUTtjWS2OZZ3i3aC8DXSAgugurq6AY7jndLU3Olee+31X4DjAWiCieBQRBFFtJJIGkrYSm/HYDVzd9f27uJz5LpRAA0ZMuSPDBjHJ+PJ7sGhULLr7LhjOQdS/r+CQxFFFNGKpng8vgEmWa3ALjjU0R3pVgJ8O1iWcwnm3MNmRdO4xETUHPm+X+TZ3ja27W3H18ZciDS4VNm2e57mDYNjEUUU0Yom7fzAZDsUU/cMOu2ugN4JruO+qkl8OxUUNeXAazkKib92cFlETZDAjfY6Zfjw4f8bHMqQBhwGk/3Qqp+jbT91Es4eHI4WQyKKaGWRPcReP+km9/Hc+icV/cVx3FdcJ/kgwPcA/LZjuXP4OzVpJYcFl0TUJGkXiLNvIuF6fMlogVr1xTw+jbb8CVbEnQUMPidEZnBEEa1c6pgclvyTfNTE9fX162gBRNqKZVkj0Q7PocPOQHM5l7KNmXURZVE87vUGBI+Rhh0cMqu/tONXAfihWXtTaN9oUIkoopVJ0kC0SR/eFtD7v1H9R/23tmthCl+IxvK6bTuf02EXwlPo0BsGl0XUBMn8xRQ+Lp61GML3YoEe7TjPdbwJtPdfOfb74HREawLxwtdKJEZ17t27d5RdrB2RmQu0nFMAvfGem3wdLWUmf390bOdbTGDNBy4xmovt7Rp12ubJ7+AX2XF7czvh7SqTODjcoabGK0Xr6xe4yUTa9BpERUEnO5BR8Al7pN0zOB5RO6H6IfXrOHEnial7CED3b9dN7gDYbY6msoNrJ6/ivX3q2t5Dnhdt42qKhg/f+H+lUTN4XM/gcS9tKIfoiNZgKjIBISUQtjsfXoRQHBZN/q46pHfluu4QQPE6AHJEcHhFU5H20CI7fUeONKZ4u9OgpNkxWFyGjJuFDvgza2Q0z7fG0hC0Ctdytw3MqnRooPmu7T5UU1NTGhSLaBUhzRGuhNDuHe0RdhUysw8m+jPIz8eO490MEBYH59sLFfFMW/F88yTn8FLbdp9ThJjgfERrECm8enmwgvhdAHzaJP4NQnGWZcnMsjcPykYUUSghI7/Hekhgej+lgTMAFsnRt/G4UxcUaxekoBEOcs1zLsb0/dV1km9blrcJp6K5vjWJENq1tJHesb3nEVYTGsi2nQVa+eJcvSKNuLVuD0ypY+zekXNtROEURFX+C4CiTHU5ydo59gMDrBUUbTeEfJcxuB9h297+ruv2EIAHpyJaU4gX3wewm4iQKiCkhHWB47hXIgyKLWdGQxM5I6UFDk0fiyiiLCpCjgYYN5zfQE8r0YFMeZ/G4+6QoGx7I8lzJNNrKinMD4B3L1rfYv5O0r5SgK5BUm034dY6jneQwDA4FFFEhuRv6DruGMBuMaC3EMAbhxzt5djOzZiXv3DshWhuLaJ2Sid2xAT4J+D2hGUlRza22qtdB7btngw4trfJ7IhWLv1Oe2QBuXnwfADvVgUNOBG5kksOx35gcL06CtcfUbulurq6CoDtJLjRMEraG2nH7e0dx/lbcCiiiDpYltVNpi9At8hOOMqiZvzoBHhGE3S82QDk36OIyhG1W6qurv5/CPHBCHOTPlC2vVEVAHhCTU1NFB13OQiQ+L328PIxbO5pVZqP6ojlsB8a3k+25T7uuiZcVNHo0aPXQ56OAvwwf723lLkuVTyiiNoppef4GjGBi4YNkwmc3BhBv4myWtGLJo6XkbS90HXrz08kEp2DQ4bks0cbO5puCA61azK5SNDy0P6+VDQVATsgWAn4Xc6x2ak5Qed+13I35VyDeeWIImo3pA3hjuUcI5eX4FCa5DA6EEG/nxF9FjwHoDw2MmmWncxODTt5XNJNnicQCQ7LcbmO9n3fsdxrgwQ97ZqQi74879eO496ZtJL95E6i8FwA30IA0Gew/A9geBbljpdTdnBZRBG1T9L8HsK6fXZmMTOX47j3ylk0cG+YJ5cYTkUA2AKiXX8Prw1XKXyV5l09J3mDorronECRdr6U9l2ilVPXccdqD3Z7HGjMfPAQe/20IzFy8ZZMXT7PlYzACsw6HwC8TwtnGljbAACLtNiirX4rYbdLRKsjaTeIBDaYnzJkJrlTiaMl2AvonHeqXHA6ohDSAAKorUun787fesdJHki7XkcbvkZbvuF53mCKoVmP7um6yQeSmL2QTdt+EQwyn1N+N7Sn0xSlpLGV+RVJ/I61JAtoedvJxJWmattOereH8fdLM8//rmvXby/Q0wBq1VpbtDYAatBIzTMmZ2CRnCIgFChzKpqaiWjZSD5+nu39G4AbHhySubYOgnYeQjaOvycn48kuHI6E7DcqEuCZ+bvhdpltJwE87wj4ZoBgEoDwJX8FFNKKtC3sYzqvHMpT27Gc5C5oT5T1bqfMIpUB/G5StBfKVauTSzNfWVoOz/gH5GEwWtypaKUTeL4feM5UuK0s0AtYx6cqukrv3tuYEGr6a9VZf25tADSWieXcIQCknbZhnIkzWGyn7G3BjqVIRiNqGSFIa2s/pGN5J/I5M2mtjrpxtXGAjoSKNlDbwGVaNQecdtEeaoDtSTr/V/yV468Bu3yA0LFsABQJ2ADLczlnto/x91vO1wSnTbpLQHAf+ABAZIPgcJvTNh22+Z2X8IZjll/JM82Ec7S8PNbv/QEeT3tsxuUZOWkrANSKM+A3Ca15InVrUE7FSYyjCdrePzn/18hpP6JCSZ26L53sMs/x3nJt7z98j2IAptrFzN3V1tbHALwEWse+aic63wt0+I/h2en50RBeqnPwHMuyv+S65wDAZ6kvA4DSZFw7KfNY4LcIwLlRHVnnRowY0SkBCNGZe8j0BCiPTCRGa/qhTQcitP4/Ognnb8jCFJ5J0aXDfptYOz9mYLw/ym/aEfCxMe8z1gNUVFmJ6dw0AKYHlHXVzhpsg+NNku7Fvb+UFqhrg8OijgxIaKveZzKLg2MRRdQ4aTSlcz2PQEmgpaV8sqYLjzoVILAloHU03fpu2mQybfMDZqAxU8UhgCBeTFmtlr8PgNyPOXs6Zu7f6urcPtLgLMs5h7ozAEg7b2Tbzpe6FqD8kXNK0ahUjNXcS1rlt9TzPN9r6uro87Z7HO9rAGXaBAQV/VvRf3j+b0J+o+TjW3hq6rP3lnYPqa24tIjP/dIAKN9Sjm8OQB0EHxIGgJzX4FJDG2uK5Ql+5x2YsQco1Senm1z84ZoDeI7Zrps8fJvA3BalNGo0UQ08tG1wOKIMbfO76siayyU61T5pLQahQgvxrpHfX3B6jSS0vU0AIM13SQNqzPxbAlAoC9vPAgM0jxvo7Ie6CXd0MpnsosWkIJ2AETZ1eMDlTP4aAJSJxj3upB6tpGr1dwId+zpApDcd+1ppmbZl38U9vtM7QVuMcf5yaehuXeuDoFmJTjh/5/fMyPqNgXnrPc2zHyM/ReTlMI7NE7hzWVGQU6MvbfZnAZq0OM0D6rk9NzkHYLs6O+2kztM23fiNDC7udO6h2JNqY80hzgfAXkzwHE0s/hSprWm7Xyi3h7RoHdMJ1Q3wnUHbPaABR8caIQ0ya0r0lyJkqpO0et7Z+ejO12thTvIUnF+ziUbZXkIPf4XwXYuGoRF4jSY681/QzDLAR9uIl9Kpf0GAZriu9xyAcAVCtTegJ3eWvwama6OglA+AAkeuPYV60Sy9L7SAgjl8Gu/gXr4/Sbme0pwAvPM913udjq25QhO9GFBpNEWj7gOvL9BpiRsNv7mbmf74DfAXIhvPCRTpQApmIOBah2e+ld//DabtKPN8bvIsnnca7aKYei7lOsp0l+bM9ZcFGqt5DrOopqC7TvJ5rpFWnQ5ImsMc/1ptml5MySYBHvW+RJkZiYS9qxY/+L0DZbrrPJ/XDaJQN6AUOJvte/vYCfcoPVuhZveqSEr+rkg8vIt7GDBm0bbm3dJ2c2mD4yN/XkiaiEw0y6rvFvlUpUgACBD9QmdnYPDeQqO4l852EiC0ZT3tJHARgMmcoMMdh9anvLJNkoApGwBFam+0mF0Aj9vVMTlXzL0eROO7hNNGOLmnDVh8gjZowIJvPsJ7XBgA6hjXHsEzTwE0X9JIH2Z+hlAR1x1D3dJGNQ3yPc9y2HCzsm0X6xloC7nzXEa7fANQvk69vU3051Re4g8VXl5l0/Xxea20BszntQ3A046A50Q0uIPsuvoaXaf7hTEa8TQ7nqxPVfcb0U69eIavBYICvdE1o9cTGANm28bjzgiBLMUaDEQqyzX76J7wQn4jZrL3sto9KLK6Ee/UGcHvfIf2NO8107Ya0B3vYd5LFAMxooYk7QMQuR1tZQs6loJlrh8mLNJQ6FTLDIAivq/FPTYFFE7gb1fYw3R8RI6+qfP1QxHij9PCy+efucbhVINObq7XbpKUxiqeBVgenV5YaYwA4vUo+4zpHJb7PR3nCO4xkL97C+Co8xP4F86nNAjL/ZF73UiZKm3p4/MAhVYLqssmxQrU9rjTkm7923S6G6izTsAoQOL4I+k685nnWcLPvNuuzNlGp/o25RymsndNcAw6Ea0zUY5WdxIa6Wn5oK+BgWfdHuB+3JiADDjUMZ3f9BXXtbtgra1BClPGQHEnvzOsfWlb9yKKteo0SkSrCaGV/U0x7Zozj1oDANOEJtKPTn0Gf13uvQPCe6M6NYCxGR12EoI8iQ47jTLHqkMHl+UQmvwATB2zqJJmrvuJZ9w+KBJK3HMY5T6DjeYF+D+t6+DGfP5U71LuNR6wyeTTzSZ+Zxmm835oom/wW8Zyj1GBRpimIn7nX7nfN2H1i7lHjltQELjjZNphDs20e3DYkHbXcHwCPF2/JzhsiDr6oqFeFMx7Gd9N+Td6jveEHNJTpVYvon22pS2+b6Rd381u14hWDSoKRvI2V9tXBgBqPoaO200AJ8Di7yV00GPQeI7n8wXqsE7cqQsm/UNpxAivE6D0ZojAj8leiICMi4/m9JLJ5CDudx7ljIltJWz5JEpryNccGmgS1LtQ85jUl5lLkrap4Agosg/Br8h0HjlyZOjKbsrh271Y9eTXHdSPpuf8naJGU5FfpMprINBAkT4uksbM8YmcfymectjPEG24F5rsA3Lkl+ap383v31xt21R7rsrEQHE47Zc/x6pFrVm00Z78/ihAxSpEHdVRAZBTNHmt+UodS51qfVoZAJgmwGJDE1jAco7x3Pr7PCc5BRAoyKVDk96Y0lpYyQEUAUY87vWniFY/16fjW4DqoQDUbTz/bbZl38f9frESjrwBlvKcv6CZpf0bF2jOz2ihqWM5QAjgvgE4lwSDE2azdw31TqYDnlVv1fcKmWjPMbvMCqXjXktd6b3EWXUr+IazJcXS1xTJP5Jju9BGO3Jtf+5pctVoLluuS/V2fTz/vdEmZ1DXrwwo8nPVyvpjmOR32vbGZUGR1Y4829saOTBJzsS8PwYrdyJyvXNjFkRE7ZRGJ0aXM4KP54XKZUId8rm6OjsenG51amUA7Kh6ZP4VAoAiaSmA1M5mHtJx75UjdnCqWRptj66mfTS3lklORLtp0WAfgOBQQOB66ryWv4fKj0+A4lnenwGF7+gknws84R/QBDVxDti5zyWtJCayyRWNSercTUea81vdzpe0l3wmD/fc5ATuDagmN9Zv4HHy55gA4FEDAxM1DYwG1AKN5W0DevLjs925POM42qtBFHJ14MC1YyO9K7vWHlhbu8X/BGCbf08tJG1JvfptcwHnb7jXdYpgE5xeLclMn9jOE/zmNxjcbmBgOoh27xWB3ypICPpmCPCPWR1aPniP0TkajWK9PNQaAMizofFpZdfdzU7YR6s+AO16t8AEQfptCO05gNWYkSnn4EJJye170UYaMGbDArQvAROAyzlEZrRWTimX0cy0egowfEK5V2jXr/g74zcAtB8SwKClvcG5CaZuxyyYpDXBBfyuDwDGuQD8RCzTHYakAhOEkeb9ttVv0pxdcMyQOqY0Rs7vTpudpPaiDaqD042Qmcsr4Tcl+W37eglvcJhrh1bbLcvTSvFe8GjqHQqv7lkOO6pNaOsbZVXwvcHAENEqQozY8lVMpe38DQQX2HFvG043EPjlpeUFQKOhyIy13ffQZrQ/eBHg8QtarCafBwbFmiJFWz5UQKTrXTd5cHC8UCqS0KPZbcLz7aR7Bg7Lmj9t0BE4XgyoKdjBu/x9jU7zIp+1B3iJZdlXUcf2PP88NMhz9NsAvKt5BzmuFcE70U6Zn6hjjDS0oHpDakuZ4WiUlwGW89BObtdgELJn1zgpB5xxpUmdCidAsDPP9wr3lf+kGRT1nAJHOY0Den0078fh3+k5KHctWuEefF+tQYG2kJvS+PaWlzmiFhJgtAUdS1GGf+twttlreyWCngkq2lrUDAAWCfg0Ia8JdLSeY/MBMB6P9+d5v8p+Xr5rTuuNZDIZumqaTcOGAUhaqUtdu9jz6lFsTuyooBQCMpk30i69uHaNuF3l8qDnUacPqmghbfM7BpmLuOdcwO+TpJs8HZB7GJNW/oBboUkoVuE8aeLG9EzlkU5pgHoPeSvF/M5fpZUFlRuS5hgAqwmjZcxcx32Huo8QMGb7oMoth/vuaSfc8xMJ+zSr1tq0qfds19lx6tU2vVfljgNorg3Aof14j3GfaRx/l9+n4Kzrqh0B9Ic49w7g2IfLV1sQNLuNXO98DdL89sjnb1UldXZ1luxOJsase0Irn0GxlpI0jbWkGahTw6XpTtgYAEqjsOP2PgjVU3SgqepwAMArXJsIihii843g3HewAT6edTGdf7q0sea0SlEi4dZSf3oFbwH3uJ5rrxKA8PljQEPTAXOpG63M1Xa8b6Vdcn4sHf1k2/a2AhgruVeDnRSNEW0xlDo/4r6zuHYHfv+2mjeSaw33eJN7vMfxk4PP6flF/rq0hZmf1W4imdxf8/1eBoHMVjQ9B8+vPCHpGIIZpvxPtOd0QPV2AaHaOOnW38vxwAR35G4zT47WW9RukbNiyzOvj6a9I4PQtTzXj8jIA8jKKJ77/uD6zH249xx+06ZypaH95LwNcMt0dw9LWslBQSqC1Q0Mixica2nfR9SHgmMRrWpk8k9Y7oUIshZBfhNq13s8AEAJbsfU6G7/Pu1oKw1N813SmGQGKYoIf/8KQO2N4B9PR7jEc5K3aNGAv08gJJtQz+/CAFDuHYDLZeqwsAE2MYA0k84zMihmSMBqcT3PdxdlxtB5z+O+XraW0wTJRUXOzwI5/U5pupjP3q+w0k8K+LTKm1nkEKefB1ZUGcBXQRTc45LxZPdCNEMNBLTDxVz7M/xayny216Ud/kr9M2Hd++fse8LS/t7Rdjl+3xaePWpX2nYjDSZBtYZkjuv9wbfSXt+mr+Xzu7yDAxX4lbY9nuc9i7bXgsXXWfcwzLO9rveo+vRejEwA0Nxfe5cNWPJ5NnV+yucwtxqB9X1WwrkAwJymYzyPFlt+YiCdklq8aR8BaFuTzHuVyW85+6pvBIcjWtVIPlwI6XMIbnpkpwMp7LpdL/cHeA++H04HPBOsoSPXXw+o3QMQPEGHehIei6Dfjnl3lesmL3Rs52WE/zcgo146xGMKPUWdR1PXntkAqPh4+R2T65bSCRWtJcydQg63fxDohU3Mh5Hup5VZBPZW6s4G+y8BpQv5jX8DpP/Cs51MZ36d4+mFiFCmDhOklDbRzg6tpjal4cjPch3A4QR+pxZCvgWUbuNZZEbmh/wSKMvJVnEAlQz9Le6heabQ+gGuWjthHyfzXQOLAZ4UX6tz0r40YHG/nTh2q1Js8gzT4J/gObzHj5JO8hC15aiRozbk9+/DPR/m/gLm7Odqlnne1F9zfwdAdo9yLO9I3uO5aK6PSoPkkVcrTZA23wLZf1htFxyKaBWkomCT/e2WZTPK2x8hxM+mOmnySmlZdN5T6Oj/BsR2TdrJzeUTpjBNdLLO2gWgjiatkDJrASb/oDPkaJTqFHS4Hzk+k46xWzYA6no6ycOcn8X5n+FvPdd7iLq0LW25F2LUuXnurfl9U/QcWc81W6CkYLX81gN4rqso8zLH05pUs6znlYYTmEHZnbtI9914+Mb/m9Z85E4C2GzGNY/CWoRJ+/4Z5pjqe4PnON1OuOfxLPfQJgLB59H8TLh/1ZNFHVNpAezN9dlolLYBTsVSxHx3pgPuYwSMJryW5V4lx2mt6HLd32mTHTFRjbuONEXKynzVfHCT4J/NwW/I0QqpYylt8rhMRJ5t3SFDNv8j9x8GGB6x8cYbZzuNtzrV19UrF7dWylt9AS+MkP8S+sgDAkK+rlbgvqZRUQBgPeFqvdhhw4b9SWHQgw5c8MsVKNKZPsnuFNmdQ1uJKJYjoF6NV4qmsxmCtAMaph3sOV1ugZKGSL1/R9v6POR55vGcUwGZ7/OA0WgzelZYri4N5tfyWPH8HtDv1j1pv9/bdbZDx7gQDetuTNiDNRfKKfN7AMb1ALkDdE+ue0cAyvM9ST2ak8R0dW/VXKV2XfBsYymzwHOTz8nkTtch0lwgAH6BBhC+dhTIU8+lpg1TA9ZZ/PYLOfYg4PeITOI0GKt9BYIpE9u7nOf8lPsI+AsGv4Cn8FsuA6Q1x/mjlbAXyumbz+JPNFXh2d6/FIvQi3v9JWO6f1uQpmf4rTcymD0UjztJAaEc2IPTbUJ61wze+8n6aWtwj2gVIQkine0OOke+O4c6+BMITQMH3IAkrGleHjJRUtKgSsfWqm+jHZvz+pvWwn4CVD6hUz8FEF3K3z3hfQSUQZkG14spqx0eV6qDc8+/0RG/SO/+4LgckC9NB04QCKENnQCo/cJgsLuO87xVaGxXwwsAjq/47qhzAZ49qOtRji3k7xi+a3XVEOfrMX8P56O0aQHgNtzbpF3QPcSaKjADEgCtgUXXSfs2LiyOcY7+BqAeL42N552s583+XY1wdpmZvOtDXHejPnpmnn8M3y+h7lup90V+txJ/zebzM2jJIwOXmTYhDdq8p/f5TdM0AGlaw7M8VwOE2jIo1urEO+nK7x1L25v2jSiiIs0bIvg5E/sIyXTMoraIEFIk0JVmpU7GiLwHHe5KdTqeQS4zOYsaWSzAm89zfYHW8Dim/3P8PZzOMlSdSUCiygUi/J5d6FjpxZPGGPPe3or6ns0/Zzpl4HwszZr7YgajNaUCsBrSAgfXmnlBNKfnKG/8GhO1idGU18r3In7TGMXkE7glEvZhwbyaKAOA+f5/Mgu51/XqqDpnx6UpJgWqctB+lfv0NeCRcLbkWX/Kf/YsFvD9hJanLIbywTTtCuh9wHMM4lZFBsQTzmY8y3b8Bv0WzWdqIBR/wLu5XvcrdO62JcTvGwIAzuF3jRXIG//MWnuoLA7uuXFrWRX5RN3KpHc6wH9G9tRORGswIRQ9EX5pFJkORIeZJfMsKLLMpE6s1U+5dlDfXxG8E+ngD1P/VO4p15V0JOTsztuAKfs+HfevAdgpt/A+dJJQx9ZAa1Pg1NDgAmLO+XbCEegqQGb+uc8sq76X6sK81X5hTE7v7qBTpkmxA0+lE0/g2UxMPZmNWr3lu0JmqS4tDt0B0I3gd5/Ls6dTqTYKgNo+hxZ7VNJO1mOO3oTm+Tq/5UT56gGEMhmPl2ZGXcN5TkWSznn2LBbgfQxIy8fwSMqahSv+MpB412uOE+1Zq6KXAkKZIKF5rOefojYIHq8xMpFlgs+F0O+Qhb247wL9Hr6nga5IUwXc82a1W7Bzo8UEmJYptqfATt/1F64ybW45p9qW8X98T8fMBRGt2YQgrI1ZdROdI1v4F9MRr+N0o6NwIFjZ5kpHaXcyLdGQetPB/+baybP5K8B7D9am9FTay6xOBmuVVscbBUIE9ou6ujoTukj3RKP6V1Oe/QIjz/HeCqtLHDyD0nXmRArh+xLa4hHuYXJ80BHP4JhM7X0FrKnazTOsT/ucjyZjASjKJaO92Q9xbCc+m4UZ/kprlY+ikkAdp3aRhhpkuduesmcDZJ2pN3BuVi5l93TOPQTwTfS85N3Skjcfsrk5L42c53mZ85fRHgZ4s5+9EVYw23H8zcyN8v1TkzrTdm+jjtBQUWnmPmi4ydMFcAFYZ+RBxwDjCp5nH57rRLS3nTUXmicTDUgLTrQnprf3g2QkOGyIa3tqCoPn+oS2lWN9i7VP6ihT25rnMvOL3r+l6XM/vZeUq5DaDhmKtMDVgCSY2lOq+ZNlfaEKqa5OnBZ8PsPOR9K4giIZ0j3omN08J3kmQnaUBFp+iI6VNHsuuVYRU35E4BpLnqTjM6l/CsI+VqOyVh051sDvLYvlv3YVwq3sac0CoNqEZ1O+jbC6Ur/PccfzjEbz5bue6Wuef7xAhyo6au8v57+SfxyaSXZoKU0bbASQvEVHvoK/N9u2I7/IpSlT3qxOy51IMf7mYq4v1u8UiHLd3vzeg/jt1wdt9I1rJXdPJDYqAUT25v4f0u+fpfNvIaAM7pdu8360wePcJ3uawMxb6n5Zx3JYvzXv2CKe4RyuuxMWiDZ17VwBCG0+lN91vbRZtb/eNxrqvzmmrHkmXiK/RbtapvPsx3tNOOZLpgJAUjivHN9Rs5jkehP4nS8xoPyHd7iTpkuC0wUTz9CVwfcspVHgXlN5ronUJ8f9Z3nW6bwvTQ1oYIq0wFWZUuaeAZ4JvORn7IS3Ky+1xRvc3VpN4Hvv5wg/nQNTZVNOZ0yUzeKb/R/Hdude2s4lIVIWt/1VTp2Z67KDhy5VMAG+z6fc9/ydimC/bifco9EWtuA65fvYQFqj5tQ4p1wcmfvnM9d/iYm4uXYxNAeAIm0N45lCV4WpS/6Tyoeh6Csm8osWO3imoeZZtEjgeOM4LrB5QuYTv3EHrtktBWLuvRzXOWl5MuPToMRnWyGt9NsXBIsrPuD3K+/oSWOCmTBf3jkm0IK20Kkt5dbiuN/TSS+v5V2oTfgJ0n7Mij/3/AfnXqKu9CAl0JKJ/xN1HsszjIHnwzqfDZChHMjLGP4+A8jcxTH5EuYAIXWJJ2mLI22hKQU5gb/GZ6UbkNvPF/nXBNcpgs01jQWvoM0HcO3HDAKv8bv2UJsPGWIWXIwFYdv1Ncb9x/LuoK4ZPJ/ClW3PdZaY8hvDcXj9xuYndVyyRRl5SvSFq6QgCGC552a02S08w9ccbzJIbkTtnBhBtbdUq3cpgRXQJJz9eLEtWklL7fDwbsoWaNWH4F0mEy0AqUTKqTp3wYTv39GR7+az8UtDsLRL43M62AvwpQIM+bbJ7JJWJl+z4LYZCjS207guJ9hDHgtcX0PbHVAIAGq/MRpZdna3bJ5nNBjHO4jPqcUX21FCrNeMZpoC7DSQ6Jnmckxzews43qS53hhzjf6mBgQ457xtQIt2c8YxQJxF9z6Yd8hg5m1Nu1zFcaNhqqxAlefUVrx3YGUwPDPlSuJex+djKfNRpt7GWRr4WwLjOIOaQoFxTHub88GTwctRsidlB9Rv0Pv9jvvL91RbAkMXmyin6DjXa7AKXkeGuKesjdmA5Ln8xmKenT/G8R7MSs2zCsCAu511v4Dnc99ZnpucpXeKZvdh0k3e6TijQmVg6623xsy2dtZ55Hcd1asIQLTReTzzROpTWDDeo/Ow9pYHl0W0qhFCotSL2Y7MmuT+iJEy44JRIHVEX9L8VU6wBep+E1VoI2kufNbWqTBzyWhBCNYXjNrnymcNgeuvSWyZxyd2SI3S0mzQhI78bc4rl3jmHjJ7VF9e/dm8mDKP6D7yvwsuzRCdaF2ZipovgzbhuRpzlBaYas+utLVmNaYVyPrtamMB7VzaXM+Y46gu/z3aehqgacCd9/0p7+hY3pEy8+3Fsc+yyzfCug9A7NwjrUoaOfdRzpWm2l5O0/+RFg5g/TMVIafxXSimbeP2VnlamoLVal51IXXsqO9wx2Bhx+LcKTyPmfsz84uO8QzQwPC5ZBGz9jpp4iZZvqXMet65+ZGvA9KCShfa5mrAWjuKtJIv/0kNJHI+N7ld+PwDPz7HDI9oFSJenvJJ5DsGy7w7vKXuCwhMd4QlJ0OZBAXBe58R9znOXSmByT6fzZTFhHN3k1keVJlDzQEgpLk17YGVy0foPcT6vZyfqd8O4KU1XcX/60aHuJrzinzyNX/l4N3oSvBqxNLK5tC2mgsEkEwMw7ByOQyQ6jr5RGJBONo7nH1eQJgPhkvQvsZrDk8aO6C7C3Jhkk/llTOs4wDmXUGABUPau0wdSjA1C4vCJJAPqEhhwbTdDzkbo3KSIwBQ6VE/AxgVkKKPjquwZFvzooBlV2tE4wEONDeOjOzK9RcIXNGQ9zaapeUdyu/W1tCfkRmFN2tMJiNqz8TLHYqQ5ICSBA9WUuycrGDNkcJb0REU8ThHkBnln5ejsjGTXQU0zUkansOc+0omb5jpUwAAak5zHUBUIanehZsEL4QXM9s5U1owgH80ne11rsnRliJunAGA79EaT0F+xvM9v920Oh4WtWYh72cfgY8GHwadBCAoyyBUc0TrmiKPgOD1GkDSCjfvbrLmk4PDIiwQeyuOz9Q0iywHHdSAyj0l38ob/STycynPrIASVwKUF6JF7hoAbKPeCpAJDhIsEEopMOBpzGLtsHG8WzjfTNDZiNolyXQIMxsZ1V6WCRAUa4wkNGk2QgKYyITKmYdDAN9OJEYbHzaBF2aIVlcbc8KVWfG5Z3tbqT5dk6ZCADAVsNQ93kkkt0TAFX9PJnmjJiqAjanoKAZeU3OHqy3zuwVcMkNl2smcL0j7EwMo32iBg/beM2jn9DnJkurNtDuA86uZe0wNrmN4tybgqt6xQIhjJpteunyauYfCh8mB3MiZGUStJBqYe6WSlXN9JimR0eBd73Lt9+arsV441o+y6ZV6o5Xy10T3pu7HAO+xPP9ZyHom7FhLSEBYV1df0b9/0ylTI2q3pCxqzhEIRr62pI35T2CuDA6CH5gVMAmURm07ntwckNIk+7/RouSGcgVAcj/mydtcmzPyI2zz0erkr2VcbLRiJy2Nc40CE8L5BYKZF0ihcQBUx6hBy+Q5u1L3yQJvmTk82wg0UEVejjS7EObdLJKWxfu7BjDZh3c4huOh2lg+846+RhZc2luRxtMO4QJQOVjnzAVT76fwPXxeyPt4T2AVvLp0Jr9RDFjaghiUDxbllF7Adg/WHDLy9i8lkeeSjnLxMSH8E84/eO6aAMDSDtUZbU4ACQDKWfsdNMM7GHwv0/Mi1+VamJOmSJnt+BkN9qxHtAaQBAagOVkdIS18WUKoif5Jnlt/V9JN3osAPyp2Xe8uM5nsJDEh3LMRzlso9xVC9jnnztccDddnaxJKIH15sA92LQkyne4DjjfV0bQYI4fbTXhGE5A0DAD1/AJkRnIJ+bN0ovE84zi31kR4/u+48nTY7sXUt/IAMGFrvsx81l8rYYXwb+dtK/V5RTHvTlqRTNbp3F/TE4UC4OdWnTWKd/pPrs8AIJ81/aBQYHJcN3XxeTbvZixgNId39T7XZPIICwA9y/sLZT6XpoisvE7ZV7juZ7RG7faR18Bi7vez5C4d0FXvXsCX2m3j/F0LV2GamOaFsWju557VkgkOZQBSpPnIwAyOAHBNo9ToG6oBGkb4YO8DzJDRmjA24ZRM2KMhf5SWpfhy2m6FGX0bAlgrsEKAt+fanPSM1PM2QNXLcbz9+NzoQkg26950lqlardP9Ro60e+pZswGQZxDAyXxSJw6e1/2YZziMTqSM/uqEbbpKG69L+LUj6/ya4TX+8KHD/SEDB/sD+w/w+/Xu6/fp2dvv3b2H37O6u9+jaze/W5eufnXnLg24e9dqc75nt+5+7x49/b69enN9P3/wgEH+0MFD/OHDhvu1NbV+vDbuJ+JW6HOsBJarysvwW4BTZh7PvAPLfdKOe1vpnMrBWpHWIovKfMw7/aumX3iFRciVfEhfS707Zx4D6iHIieaSQ+YQnQ8Sw1OReLJIC1gjed/v8t734XuOM7+sF+ToMbmxBIciWt0pNRdm92VkrJO5ETbypUlRNBBAOaXmCFuaEcS5jKJyONWcnKKvrCu3BwkVwPccGt2O1J/JmMX5KkZuEy04i2cjnMqR0Zzml88CNjm93gzQXSVTKD3BLQ1AuyAokzNvFcw1tap7ijSzhIAOEBo2ZJg/qP9Avw8g1bO6m9+1srPfpbzCryor9ytLy/yKWKlfURJrHVZdsOrVPbpWVPndAVEBZb/effzBgO2IYTV+HQC8MoCRdl6QyjHtyWVIkXhMmwOAnwBiZ+q9cfwH3t1NAJQWH+TQrSAGX2uF10kkZcLuSbmUn6Dxn3Tu5pr8qNliWQWam24wX4d87sdALO3xovwFNGl4Oo7sHMrXSMtbnUkgpSQ/qPxXIESKf/cNQjNFZqAmjaXxBUUzpDk5O7V62ygwIbxaFd6A0boPn69E2N7RHs9g038OsG7TwWQMk+9Udn3Gb05/s46lWWbT1zxDo2Yq5/V3seZw+I3ZE9+9uG4S51oF7HQfcy8AT5rdiOEj/EEDBhqtTNpbZ0BIgFQOOGVzKHi1Eeff04BjZRUaZLXROqUxjqwZaQA7/XuC9msLlm/f6wqcCwhtxHt/hsHC7GThnuIFrutNRP7O4vMLyKPCfx2HTEreNG0yy4ClTF8NZLbzNMffy6o/m+cic4djATRwk7Lj9o7U9Tn30c6M/IG+KGViO/kBKSJaXSg1H6J9kO7RjLCag8kBEwkYxz5Ec9s5rUFlk8mMltoqFboKiMB+gHApcvEHCPmrjPh/DnNVSROapyJF50yEN8Y8248I/u2Uf43vOaZzHi9AqzhVAAivrRVInukynqfJDfmFcrwujjY1wh/Yb4DRsLpUVBpwWdEAt9wMQHdGG62u6owJ3suY0QYQ20hD5L0pL8l0QGh7yRFAo+AJS9HEf0Gm7uM9jeY9yTVJuzce5t2VSQa1XU2DKMAlf8slyMH7yKfcpDRtEXaftx0n+Q/t4FHQ1UAOjKeA5CE/K142aaXWc5L3K3YgX0MtoYhWUZIgCJAQpvG8ZEX7eAiBCdOmNCJ/qTk17d0N9osaSs0FegmEUXMxDTRBY1amwzTZztee610sMzu4vAEpOTfA1CADnZj6849pgvs7zJTDueZazjemCWq72Vs8/w4A4bmAsZxvC3bbyGY9g1hanubt+vfp63fr3MWYsRUlKQ0vFFxWURaYax5yUP8BxoyXSR/yHpaHzVSFtuHx16QyZSD+jIFwF97rVbzfn10FenCcgwCxQ+LxjY0ZK8AysptKGD+H9y/XpbAwXV85ZpeQdw3lFAhVAVgvRNaP02owZm6TEZoFlDLJk27yuDANMqJVkLQYkAIt9wGEa5Ln1B8jL3vMwk0Aiqa0L23l+QKhaJBcfMSIEVUAqfbUKhl5OsBlgzoQwF91n+CyHJKwaWUOwZdjcf612vL2GMczo7zKwF+hQdSrY6TmazIx8XI4KCs/rmU2eetq6/xhg4cZs1bAEAYYqyuXF5cYrVYLL/379jMar9W6mqHkJTWApnId6139LE0duahKDbTupo7lXKKgBYDXCM3jWnVmR9IXyNVkNEjtF1cCq2eoQ2kDtHf5Vq4vRq4UMFZ7mNOykNqNolwqqQx8memRfPK80S71POrlJZuPaBUjmbvyY2JEO0UrsLzUG7UhPK3+CwQRiLckIFmCmcMSHMtyjgkbDbVggildi9CeRNnQvZpcv1gLIRTPMScQwLUd5Z5wvDcQ3jBNbgn3vQKQk5aqjqIN5W95trd/eqFGoZ249nbOtZpzsjQedXYtHMg0rDSaXjhIrAlsNFxMZWm8Wn2WmayFlLC2W1YGuJRj+En5hiJLOyFTo2V98O6lJX6MjChj3TTM4lu0UMc7v4fPH0kW+Kv0qsO4/kKOC0Tfob4Ljbynwnfl309m+Eeaesm2bLKpvrY+xv3GAoBucCiiVYxMxFvb9v6FCfoKgvUon7fOn/dQchiEbB+EpqmQ5wsRrgcQyq7BZRnS3J6rHLyO+w3AEa5pac6HET24RKTwQd0BtysRMmWEa3hNmm1nFqD3JZ8FgDO1hYm6cnZ9IKSlmDw3NFlPM6xr5Z4itxS5mZj5PDSgMEBYk1ltUl4cMws80oqHDxnWOlqh7fwMWD3Iu74aWZokExS5PI73kh1E1mSVk+ygFd6A7ExFFmqQ7TuRzZ0BQQVZUJxHaZM/AaQnS9vLuj6HKfOZTGpEqMFiX+CidbIG9sZAMqJ2StKsUpPJ3l2A34uuW3+U9tdKGwyK5JBySbiuJwfgUAATAAFWhwCg2wWXZKg2FcizUbcYeBaCdFRae1S8OerRPswXOWe0NgT/FzrAy7CCIzSYU0wzAksHcG/KnsNRvYzkIwDAO7i+0WsbY2l78skb0K+/37WyKuVKEtLxIw5nacdprVBzpGFtXCjzfgWC72u+lgH3XTshZ/q8BTo5TTveQcjPe7zvJ5LDkn/SII+MPsF19xvwVPw913vKLKrYnnI5NzYFsoT7PCP5D8QpQzK/TQIlx31QFlRwOKL2TAI4OQAjBJei/iucz2WMjAPyNaZ8kjmJKbq3VuLyhcSAjuO+mNpL6Z6kucTgMkOYKVsgiGGrsRqFZwNYp8udwAjUCLsKoFJmMAUzTdf9I2XOk3YpoDRg2LAuwyovgeT3mL2hCoGF+SNnaQFnwQsclDeuKwK+vj17GW1mdVvIWJGcbjstDGnhpK42HtruzTGD7C+8l3d4xwqVJdAKG9AWA3bfAoAaWHdD6+uFBngt3+cBgLdrtVhWDjKyviwDyScy1ZTf6ny5vRhhhsxCy0hrEKC6q51wj5cZzXlpidFqcHslgYvmLACDI6VZ8fceBGDjIMx5sy+Osn21MBIIhYTOhHdCEDXR/KKEKLUC5xyoYKNckqkT4NoUIWrgiMr107hu5+HDN/5frQA7TnIXnutlyqZHdLkyTOT67YP5PD3HQM7LQTanrjRzTtFBDlBOYoZmm88P8X9TrjANWOba8CHD/V7dexj3j/zOHPHyc9eqzkajNvOEDDRh76ERNtMcyJxyNTe1cLVEpq3mtSk7URFdNAWirZXIUE6Ecn1HVk6kXKMLZciRMXOTVhLgUw4UE/xAgWQ1n6jpn0sbs54iWsmkF4eJuwUANibpJl8VQAQrVwV7sY8ePXo9TIXbeOny/3tNCxaptIEW2n+iM0JkNEjAbxDmxZF8z6yeca/eXNcgvwbC+KTSPGrCGuA7lzITJEyZMrYjMDuPupSt31DKPHavk1Bm1xWwNMpXjYab8v+S1tdUJ8lh1SmXjj7de0bAtyI4VmoWkAYPGGh8Cht5py1lAaTRCqnvZ3gecjTTAKHtbo+29mJWOlEThkofJGPIoPJRN1go03Mh02fUcR11vcqg3CD5kywg7RAxtUbUPkggpA3dvNhbpL3x90yp/Jxapu07xr/Kdu9CI1NuhVCtUWDLfU+S2REc6rDXkL3+S9chSDlgxAj9FoJ5BM8mj36Ffh9nKS9FThmFHtfijPLtblSSNBFknGMklDnlUo7ZytdwsjGBm3aAzmHN8Y0cMdLsl9UqZrSwseK5a0WlP2j55gi1j/hT5OD7fBkSSz6QsXnwj8jcqfSDUcjK8cipgmP8TlHCkTGH8wpPL08FpRmQ/Mkt5hvM3X9SXgmgcuoNeAl13hPmARHRyqGOAjo0paM91zh5oqJ70spanJwomzRPh7nSXKyzokTC+RsaWE4OX8BTeztzQqMjlHJruFWuBpqL5HzYfk0J4WJMmLeS3ih5/T8OAE7guNI7SqgVIfpzZFc7P16F06kGG9QTxok6yx/Qf4BZ3Ijm+FYyoxF271LtjxheYwalsPfVGPPetfVxDCx/1Zx5Qc7JV1TTNffKekBeprlu8gVAbf8gGMfvtQso5fTvPYLsbgvYnU55JWm6U9M0XHcA9YR6QVDue5QCyXu0L3glU5HC8Gi0QtV/jhf6tG259/Hi5gOE7ymop8qkii4TFdlxex+tHgffQ0ngy8h6QnbocUbZP3hKBJ3y6te2pl95pk/M3IxJTO48w3FzLi1Y2cx1HHdfQliVVasYQL8GYb+f36rsaHshoI9QrmA/P5lcCkKgSXkBXwR+7YON9g0Q9u7e0x9ZUxv67sIYwNT0R4PpDuTsCwbYQ2W1IDdlyIz2Bs9nID8srbFx3EEOPwD8nsuyXIpkzaTLYAJfSH0NZJO6fgJMj85OGRrRSiIBD8BwBSPcLEYurYRWpxycTe4Mqf/KPl+zPJO1CMgwRsfQDeSql/qr7LgSU7tjELyN9ExKFoQADonHk90Bqqd4FgVH/YDzB1HfpqnsWPVxjj8DhwKgmFF8DtfYEkz+/o3f8yTPcjnnWrSFTb58vXv0CraphXfEiFcua0BSQAZFyVEQhrD3WCBPQSZ7yhdVc9NG9iznTeTwNo6vD6/lOd4NlFPi/QP4HuoN4SS8PbhW1oVAVotzv/Cd/mRyFBuPg4hWMikeGgB4QvByFCNNuW5/L5NVPnDm5WMmAopWcEmLSQlfqOsK6h3K1xyVX+Dkut5zCIiyhGmv77OMqv/hr7bAzQCwJqLp3Y7A3c3nqfy9h5H4JEzaU7hO8ysKo954kiPNv2DmUP4IAPZR6lVwy0YBM4wHDxyUMnejeb52zwLBSrRB7TnWHG3Y+2yOLcueS5/Yzwy+qTzPCxg0H8IamcLgO6q2trYHMqQoR4oyvlEgyg3I9K2E8w/k7kaA8joG+QPica93Y4AZ0UoiOQDzki7kpc6WlpV0kpvpJaGBdbUt+zaOa6sYIOgN7hCkh2yOdD3mbBcA7u8A0HjVjRD9Jw2wKoNGuA73y87jqpBUcmfJASiBluZZKHu90UgtR1vs5pv6XHf3hJJE2yboQejqrQmikMq30SLgUweS1qcOFdbZIm7frEUSRdVZhgg08gt9jUH7FsmejgVyuRgr6VpA7W981sA7T0EQjMA3QrJw5IUgdzLAcxCyXw87tbVu181DcktHtJIIs7MTL/1KXrjA4g1pZnp59XX1FZrnAHi0ePAk5TLZsRqhIpnQgNNujKIn2nF7G4RmLHUa8AFI3wK0TIIZCQHfv+acBGw+9x6LbOSktMxizFV7OjwTQFMiawnjswiTTAnl3UgCkPIHVMy/sOsLZk2ma65PQQqieb5Vn/swiGkKoyVyEQyaafeqpcimLKQl9IFPkNHrOaacxwsBNTkzN0rqQ8jmRp6TvIVrlep0BiyZf4M+cp48FLRtNCi+2pO0p3b7Y7V1R6o6L0ra1buAS1wvEHNYwU0fNuDouE/y0hsEIJU/k8CR6/eEj7ft5MZBqKqOmA7bUafZpcHfX+SSQt3VlDscQfgM4Bpnp7LqlwG2d1EuVJPLZ679Qf6EqSfQHmUTB+55jr+dqldRnN13uGcDH6zGWC4VClagPbthnSniVZM1mA0dPNQMbmHvPYTlMSCZNeBHfzgf2boaefqOOlJbLQFE+kKO50I2Ic/rc91RyJ9ylYTJtBLkv065/MTrIkU9X2u18RM0IwHqshInB4faIxWNMNvKtHncXczfZ4Pnlb+TdlMoTp/mQ+6rqamRb6BIixhl8P4CPrmuaCsZxzMAKVcYtEGTSd+AKIDnuclHzHYgx9tbGiPFTDYt6t4HwSjIH4/6ZnDfTDAECQx8lMxsBDPByPs3nqmBL2FjLIdm7T+NtL7Vk6tKy/0BffoVahLLYslMzWBtvAZYvYQspRMvpTRK290pEL8ckh+rBvoA/LLrzeelAOsHiYRJsK4+01GDOmb2HvQVk/BL2/CQ61V73lAIj+m3BR3+jpqa9p3AWKCCpnevwIoX+KY0QA7r+Qegyj/PscUA2j2Kncffc+Qpr/hq+RFh0oRmKAfSx3nZWnWVGfEx4HRKkF4wR5MUeCJsT2YJSKOMAE7iWc2OD4EsnzcGXK+24s4JfK7m+ccihM1qfxLkIYOGpEzeaKFjtWctkGiwC5OFxliDqDj7GHK8EKCSm1gOaSC34952yJ+manLqCWMAcCm48Ly2gzpW8hA+fxTcz8gm95mGPCuK9KpNAggA4wj4zOzII+2QpPEp+MGzKY3NeVhhxgXiivknUOT/+bwTpR1cyPd5jFSHpffepkmCUFfn9gE0p1DOCA9/v5Zv3+abNzoB/DvHck7RffMFJY8xTZw7uMcfampGrwdgKyXlF9S/gGsn8/0xyoRmmctm7eHVKm/k3rJmsXw5RwwbHioTjfCHyJbSPGQW0pC3b4P57BziWFfOKSpRSxbdNAc+kevCQHOxnXCPC6pftUnuJa6bvBbevb1vgwEEB7pOcjwvxZitWhAJTHlAMC+4gO3IHJU5YOYyBPZ83yZYmDBl+DtfGmMAlAqoWsKo14+y6+maNGG+dsPcuK8pEFRdgO7R3GMtgPDAvLIFCZ5MIU2QR6Gq1jyWpq9BT5p/gfOCih+YPTUjJ+rxygtSX18f01+Ar4f6DBrcOZxrdvDN53Q/CWEN9qfSNdrt+kFLqEgbqwEQhddu18lRUhqf118TtTzvL7zY23nmKgOCjrMlWtb72S+JMu9JQ7RH2n0VQYMX+iUA+BE/8220SAVUOLqurq7CjJCpxZKnOPcZ1z1g26P6cksDntzj99SvhEZz4Zlcq8jOn2POKs3lFNi4JHD9baNMzEH3JsoVPNpK0GQC9erWg84Qgd+azFXlFcZVpgWLI2k2UznS9JD1icj5FORY8qmtm4XMYUtezZRQ1rFQRl4VokuZ5lYb6ugknL8DKHcHCwbtmgAjOStLPdf+4OsBqPWlvTpOcks0r28EKMHLklC8oSAK/FU0jau1o0OgCUhVyoHUZNxyvBN4obsBgiZfB5yOx6fFlGpbMdMsBaI0eRxO1vW2XT9UTqUAobL1m21x3OMbNOr+nN8Y4dO2uGZHXd1P26WU1zasQ0S8BjIWgBJSaTokS5YbZ1upMb3n4IdQDm5z7eR1yPNFDNCncP0DlGlUDukv2of+HoP67fSrM9Hs7uR4o4Cp56H8s/KpDbrj6kF02rVpuMPh0zSBHxwWafl7bc1rhSyNrxTSc/Cy6ngRSgQzF4C7lmcsliYIQO3EsewMWjINvgKsdpGpSzmtzA7k+9687GO1Ei73GAD0jwChIrSYOH4IhrJxPcg9pnJsHiOyRsYfKHMi4Glx//2kYXJcztJp4VAk55Pqrfpu1P2YQDF4hkZZOTkUTim0I0S85jIgqOmQQiLLIHc/O5Z3rKazNNUjVxUpBOq3AOFllGmwxZJrFgCWz9EPlNzfpOTkryydXTjX6Eox5xZp77r6WtAdVx9SA3ouI4jr7hwcKsJ87ElDXew5yds9y3Pbyw83Zm/C2RKAktovP8HTtJCj2HxostcIjOD0QsdsBOEofl9vXvCBgNixiYSzUQD0GZNf4fQBtbFcI6dSjXTK3j+G70/DMhE+Bhjf5LgWN0zUl5SDqvOlAUxzT28K3x/ge7PgVxOBX8TNcO+evQpyk0HevpA1ky3TANr6yGODXCGSXeT8Ss5X5/dngFRKQKMBOYxcx+0dV0sAFCUSicGe7d1vWclhaiAA8SU0oc/o9N/D77Qzv8EizN7NNK/HS5vLy7kRsH6I55yNBnYHoHcex03IKcyEDzRxy2+q0UiXvp7Pa0kz1AioUVMgCYA+TT13cf32sDRKBTjQvIyy9GdGU4RIDqkXa9rAsqx+lD0LQJSHfgPByeGEY3Z2KER9mNBHHHGa5QPao1v3grLTSc6Rycnp0Pe1tW4PjhmH/0wZtDul3Kyp2TrURQwAPJEyjZvMUgxs75Fhw+zi4JLViwQOUnE9p/5mNKUzFcgTUPQ4vis//jM6+cFB0XZBAi60OeXL0F7I2QjAGFdarJN8BiDfFYC6HBC/2LaTjsLWc0mR9kIqeguAeKidUHZ+72rKXcbns21LjsreB9TzAED6BuCvwAZhE8NywL5Jc4l6DtpnbdrsSB3PK5fD3NNkGDOJifKEPeKIQ1nBFLr3KNQcluXzjKZ0TB7qrPk85PlHAZwGffWDgHMImT6Y67Mz1DVg+sQ0BvxhwSWrH2kOgYY4HbP3IwVZ5JB2RfwBULiTBrwmVWrlUxBSqo7nuhGwvsVO2LsK3IL5vBt4Ue/Ko12aXXBJR2uEksuYnSXKyZBx7sxmM9/XROY1rvue9jk/7S6jQSMA4UajwKRZZq9C1Ue7OyJuCctNplAQRL5n0S9GOAnn78ik0eYk1ygvdyWx7FILgcmNbXvUQMmu6RkBWXXWnymrkFmhdQf8E2Zwg8yJqxXV19dXYAregja4YxpAAD+tErULANQoBu8PGL2I5naYfPiCl1m0Neq9ZTnaEfIjWuCO6cUbzvcFFB9FQGbLJObvY7xsrdY2OeIFrLDic9AsX3Utd9tgriU9FykzXPH8wq4zLAEcPnR4pPlFvOwsTRBzuID8xAzszhOaxkHu0lM2XwKAR2v+juNPIcvfoeDcgxznREbne3f6xcSsuhowdS50rOS+wSWrLwEYQ5Nu8l79FYhI69EqaHB6pdLG1Wipbv32ABKmanIMz3aawC7pJOXOg+nuKaXg+3JXobjm+n7Pi7+cl/uhVoAtyzN7cxGU+3mpDeY8BFj8lRYoVuisxzF394rHzfJ/xnSg3oHUqUxzjWqMqkuuLsoiFirYEUdcIEsT7NurTyELIwK+9PSN3MXO1HSRZNbMhZuFPgZtu77GCHJAqdVgM3feqDyjPCxC7g8ILll9SaAhDZDGu1oTqnT0e7Nzi65skvYlM1RmuoAZVqLox3nOJwHBS7RDJL1axW+pBihfsCzrL3w2O0IAyB/NAknWy+XFawvQJ5xXiHut/i5BYK7QffJXvqhHe5S1Styk86jAr1vk5xdxazGaYN/efQpxljYghox+jdy7o/qP+u8gIdchgNgPZtHEdg9HlLPnAlEWkpvn94tspo+s/iZwmrRC6rrJ08zCgu0+JSAMTrUrElgPG5b8E6ZwuULYax4wOGVIEVnk4hMfEe+vuUFeZM4IZ/z5tGfX8o4EUOUsXQbwXQJIzkOz3CqoJkOcVxjycwWY2fXks0bqKKJLxK3OgKD2jBcAgtLYpmDaKr/0Wci4MsZ9azwazDn3Ec2bB2ItL5AS+setnGtKA/yIcooWs2aQwEBe5mhYp1RjegaHVymSJosGeG0iNTGcTlqezTO1+i1g07wIf2so9w5m8+sC1aAaQ6m0md4/0TRDM8ClWeCnxOQR+EXcFqwYkUMGDA6VvWy2Es6PwRx1A0sFGUc7TI5ErIsUhBiQvA3Lp3E/QNtdknSTZ2eDZhjRf9am3wyWozWKhKIhnay58rQZvkqR5v/4AUMV4DM4tKqQVHuzAKIscJ6TvB9LYFteYthWn5m8qEMcxzkRze5+RkGNlNLunlYwhHQ9Ir6PFDjmXZ/DGpkH9O0XKrgRR9xarJBpI4aPCJXBQhg51576QxU8mAH92kDmM+cDTVEuZgLF+QDpOLAgE/Myn7bpsM3v3NTe+vOleXLd7MCc1o6pV4O+FFFbU+AH5WG+/tOLe/3NXKHypWrbnJbxs16yODCBg90cKXcYHdfLY0R8jdFLyWY6Kk0mQpCdNySUBw0YGEVxjniFcHVl54IcpRvhpQCVQmu9J9nPP8+x6Z7lbWLFnQMByim2naxP9bCGJPc5s2aQioAeUpfzfL41FVHbUEeF93Idbzo8x7bcpzDf92C0Y4TzPuBlND6/Ec5LGB3ftEYqiYx7VDCihZUzXDO8xu9cFu3yiHjFce8ePX0lyA+Tx+VgKQNjNOhrmynKw51aaJRPcNDPMqS1As7tTZkvuWZGvsnNsQWW5RyY5ZMb0fIQariyxPUJC2SqkQiwG68XaBrf7JN09tX2PrRARYJeyndl11ISc2Xhz37pemmZ7W5p5gXKt0oJqb/MP5fNdbVxE9kliuQc8QrlWKnfr0/fUJlcVkbW5wu01NfUryzLcz03+Y7jOBtlB0aRd4S213HuC4DvfjlZy3OCOtIACJA6TyvHT3BJRMtLlmX14wVNQi3X1h4Thl6kBQoTjcVx3wD4vueFvIXWdhhlij0neSbXaF/zL/J1qqur6+Pa7ul6QXpZaHnTtbIrR1HKLYLzFzn0QhvXHhO2SVspYQwV0ogjbkPWlMuwIUPDZXMZGPl/V3N2WvDQvB/s0HfGGjez1IKho9VgO25v7breZM0hqrwCstK/sqPQLNEOMikmQTeNaHmIhl9LK9K8IG1l+wkQu2jEiBGdlM4v6ST/IX8/Gl2Tth9Sdie4hvJn8pIe48WcxUucywv8N1UVMVIdo5ckLVFO1AqQShl5yk/mmlMZAQvKoyAeMnBwBH4Rr1RWaP3akbUCr1AZLZS1Eky/Ohsra1PXTl5Ff9Ci4Odg3s+peXEFBjbpNBVw9VvKz6PMkygPd6FEPEEZk8EuqG+x6lhVPUjaHSWTyZE09tTUi3K/BcSOpYGPV6J0x0n+jWPpeIAGIHkZk9H+7nDdjfpoBZdrtbPjcqnuANxBvLwlfL+rRuGwLHcHrlGu1HcBQqXEbLBgEsZaietcURkqlBFHvCK5V3X3wvwDm2Ar4Shn8KOwpoiaXPDLYgGesaawwEyuYfqeFhYXYB1dZNv1ce1Rdt3RQywrOQhwHYBy0tetc9Uve/FdIfyr5aydSIzqrJQXQbqKiNKU2pLnXUyjykTVMv6D8fhm/+fEaVg7ebqrCBgJ9zBA7he9FMosBCDPsFPhe4q0h5drpmpESyRGlwduMYCc+zr1KpT9e3qBATdu7maxFbfNHs0V4O+3NOCwcxFHnGKsEFkjYbJaCCvGZWD5yF9WCyELURJ+5i+anvs1WuAshX0LyqcAT2lrKUe/+gZl4iH61V81R0/fO5D+eB5/T+H4cfDx+oxycZqsMT6fw/nzYQDSpV87N2NKv4IV96rnes9px0n2fOMaT8oJQkObqCt6IWhsmwanigRymK0ncmxnQO7K9EuiQT9mZNlKO0TicXcIL0lpLgFQ7y29UEZLM8LxuYEwFMID+w9YEabvkvKS0rGVJbF7+fxr3rmII87hlH9gTai8NsaSf9NXEs57gNxi+tDn9JGrbdvbWlpabW1tzKSJNXEGnRtSprB3D9rdUfS7g7RNVqllNQ8f9MlsSoffMvm2xfTJ34u1Miw2+/vpnzyH3HL0TIs1dxhpgQFpMpaG1/aztJp95+ia0TkZ3PSSKLMvo8nxaHVKHK2G1Aj1Hhrec7zY6XxuLvpLQZqfWC4vErYwIWxFXgK/1qNz5369qqoq+fwovDA4F3HEDVjWiHYhFRA5RsAna2omfeYp+s6ZgNpH9JWXALQ/JxIblSiWJhrhIZw/Gd4HLe5glAhZUVo0vF0+tnS9VtHSpKRw76eCZ1MEpmfzI9assaTgBow6n6hxaJjveUGu38Evkvc5I8m6WoHi7+ZmREqNIpm4ZnxuUsPjBX/P+e/4LE94+Qo2O+8h4Vohpm+s9P2K0lLFZTRCVl1d3bWipPQuzkWaYMSNM1bJ4AGDQmU3zcj8IgDtLvpNvfqQFv7QAj/j89BUhsPkReprlJMSkdoYYLmKev4qYHgSf7+k7K4d6IOSzeWlrbfeWtFoLs88n/q7bStD45pNUpFpDG3V0YtQ1raxiursuu4OjFpn8NKUy0OgN0sviM9hWpyyxGlS9ktGmf/Ad3HtJ3zXCKhJ268ps5Drs1ewGmUJV1vv9qgsKZ1ZVVyqHC3ZgSt/X1FS8g/Oz80vH3HE2dy1osqvG1kbKr8By/1rjNn/Xmmvhfb3MHx7794modJx9DMpBHJnUci47D6h7XEz+LuE/jJhVGJU50A2G1CWG83awaGmSKHr/kXdRgGhv8622lEEqpVCmhuwhytFpaMtaCnz13Y/gz+G5atntq+pwRrhuVZCGp73slT82lrL1ZYcuMROOFfbCVdxAlNbgbQi7Hh64U0CoLYeSbjChK61GM1yQWVp6Tk9evTI2XheGYsNrCwueTnsmogjzmZZJ3179TY+qmFyHPDceNzebvTo0esh+6/RT67XKi3A9iZ94ieA8CYpGepDIddKi0Rp8I4Im/vTllTXTkpTfDvpJk8H3DI+u40RZeKBEqP6l6CVHsnh7JBdqy+lIq3Y62vSVSGsHMc5hhdyNw0xxUrYoaGnAvAzq1W8wG9ovE/g9HY1wNK7h+NjOa9tOt8CdrcqGXx9ff06vNhzuF/PRMLWS1qMKXwJ5a/muga7QdIsFwN53ZcXhwtdK/Hiiljsoc4bbtgpaBpDPSsqSspLSp7mfGT+RlwQV5WVmyRcYbIsVv+BnzHRWyz3fT7Tz9z/8Pc7+sMJ8pYAhLSJQIuP+Tungjq8D+RiFohphrDQhtDfPlcZ+uDP9LcjONwkmNEfi7mX/AtTdVuKTF+Q9rhqkpa5UcG7WAI8yznVdZP30qCKJKFld+Pukm6MTKOkXpqW3ufCmL7ePTTUsTT4pmZDtuVqq5tZ0uevGjOz8MGL0Arw1QJaRrezBYCUVw7gn+NmntG7I+yeaVYu3zbP6FZcMrWquNgKmsjQBhtssHZlSckpnI/AL+IWcc9uPZr2DbSdn7CEzrYte2b6mOd636Tyh7i70Te+py+pTzWmhCwCJK/J2+tbpG1znEt7bVDW/U/YXuJs2nzI5n+kPz6b7oOY4RNkrQWnVz/Sj6NxJ9PI8jAPGiqncdNgJ1+kWa7tPa7lcf4+pPkBJTbXsnpQnbbJ9UrtS3R/oPEmwml1OqtOb0ptbW0PFwBMmJwe2iLnPgkYav6h0cTQ4u5dqtt64WN2Vax8W54lM++nz+Ulpf/WubyyEUdcEA8ZNCRUngNeSh/8EQD8LRZgwrkeK2xb+uUXWeVCWX1Nfrh5AGjS7KJSGA0wKDcznUZWTJEG2qD6MorQhZRPW2FfWrUmZuHqSXTuMhr+43QjwZrjWwgreZEiuoxlJDmTkehgwOxGGrXcuMQotaXjHWvX2kOzAXCIRhCZzba3v1Ru6slxe+G7tECNKp1R8c+xE/bJejGMgIqYq0RJjc7/jRg63K9sW5+/hZUlpTf17t07W+UvqiotHcG5aXllI464YO7RpasJ1hEm11mclv2lgSX0Kp+b9IigzE/ak58clvxTIK8ZkosMfXhMuk/x9yvT3237MhSOC/krOc/4CAbcEWtwL8qavfiqXzu0gnOrH6UA0PmAHzpDq7OA2i006EFJO1kvsNNEKsWK3Fq3qwAra7JVOzu6U/4Umb5p1VqbrjWXJ4BzUhGgM/MWfBb/zPkjNAcIqF7FC5oCIE7js4Cw0SjPSklotL+2jfQyoWt5eR/z6wLqXlHRubI49jjn5A8Ydk3EETfPDNwD+w0Ile0sno/SIFez2fSRX+gbTS4G0l8WoeE9QB/enP4WaqYqigz9ayI8B9CbhMJxNNd9zueJANvuWGB/Qxv8i+b8KbsJPIpnOJT6jTmuaSzAGAUoN4XnakN1dfUVaIDXoeUlhw+3y7JM2hzEpwGqAbtz81abijZKbFSi4AbwjvIaN+GwLPdSylcBjF1p7DeCFzYLDfJFzN7DvBFeJ86vTzktjizm2EO8kAcpE/rCKeMPHqRgB23o9hKLzamKxbblN2VedGVl5VocOwPQXRB6TeM8BzN9UcjxiNdQ1rSNnPYTTeQWpj/M0bw4ishzfG8K/LToKLcxeWPMhr+iDylTXAOHaAGX2cHlOP/QfCKsDQpyn/kCoDsWoN2Xvwdisf3bjrsHA5CHUeZ0rLh0qlnu5T3cv3//1XNHCCBVifl5cqDpNUqNAKAhe4jAzDnH87xjNBKlAZBTytu7Nw3+g3lhCfc0zT1wbiAv7DRGpe84PoOXcwojWaOx/jSB3K1zm2Z2W4SWd1ue6duxolNs88qS2Fch5Rvn4tgPFSVlB1SUlI7h++IG5yNeY1nWy6D+A0NlPM0pYEotIoYx/UVTSF+nFhszO7OW0p9uyp8DzCcpO5Q3K7z8/RJtLxGcyiH6p5yy79G9UmW9D5SzJDi9epEA0Io7pzYHgEabA+TyAVCryJb2/6JWwzM1ojCKXBQAoBpzbc0p8NLeQwNUjoJvKKddIgv4O4sXdxQaqJLBNDriaQK5Lff7AnJvdS4rG2Z+UEAVFRVdAMWXOF+w6VteHPsJTfI4CWLPnj27V8ZKH0Lo25UmKE0kzWVZ3Njx9LmwuiJuOStkVl3tsofQB4ym0Be3lYxpkYQ+ZObY+fuG5uYD8W1AmqIC1I6kXLqfyfI6KXv+Pos6YvaemC5r+mnCrQ3OrV60vAAIwBVjvmqyVg0lp8wzEwn7fNUbFAn8C93tbdtEgc68UF7mW2iIW2ap2w3YbHmr7h4qTK3E0v4OyR49q6ur/x9AdrzO5ZVtlAG7pZWlpTf17dw3PVJ2pJ7eAPf4sPIrkgVipXAs+FwND4zF/Dg8Gt4S3qY05v8d3hr+C7wJx2x4ENyd8qpHdYgjUFwOZiAf1H+A+kqovDfGAiOUiE+UYCw93441JYdp7ZxSmRl8bzTpUW2t25XrJ+TU6bhv0k9DU+0G8/fG7Ya/Ssa+a3Bq9aJCAZAGCDWBNWkKAKZ9jWZRZj8tgqQ1QJG0QBr/McrkrGhx7FnX9S7mc6OpAIcOGtqWW94U5eXJzr+BlqhIpi/nWmL6LtHukLL11isN6jAUi8X+hHZ5K+dXaBittBbHvf2+AJgL7wSoHVUW8y+tiPm3wvfDYypj/iPwuBDWcZ2/H76dspeWx/wTuH5H6qmnvn5w5+A+ERgWzmqrarRApW0Nk/dGWBsKnqcfxRErs1qrBUqr1kpw/GWVoe8twCxukEM7oCIUk0Mpk+uRYbm/epi6tbX1saBchuyRdt80uHKdchifz/3XCk6vPrS8AMjxjQV8aigrYS+g0SZgzj6s6M5BkQ5Kmu46ybcpkzFz1fhohAr6qBSXoeav5v7kRNqGHeyHypKy7XnEjBlQWVm5Lvcbx7nCV31jpZ9VlpRoz2Rm4UgLKBXFscM4/2OD8m3EaTDqBW8KUB0WAN6d8MMBqKV5rLiixPCY8lxOHzdlsq4RPwTfTX2XwYcDin8GCHsH923D97RacSp8fuO7Q/J4MYrCa2h3I2WuipNWsh/a2wPS6Og/iqFptqPKuyLMpE1lZXSfM0CWVz/H5gOOl+SDoBYqtVIclIGdMfIhDE6vPlQAABrfIMo1MIG1YkzjKQFLJtm5GkvBFBVahyJF6c3YjqMEzY7RFAMW6DW571e7PrSVKEyIWoGXAFo3a4dH6tcYMFegg39y7pe8sk3xgoqSsvy9mB0ri0v/CjB+F1K+1VnA1wX2AKODAb0bA8BLa3Jjy4v9MbEN/TFlxf64rpX+EwP6+E8navwXNhnlv7z1Vv6EHbb1/7Pjdv6Ef2znv7Ld1v5Lf/mz/9woz3+qdrj/eL+e/rgu5f7Y0k6mDtWVBkXVLy3xJu53JPfV/bvxHDKTw54z4hRroOhZ3a0gLRBF4cV4PN4fmSpKTSXZWwN8L2aBWXqeDovKvZWy/5cSwQz9TtNPnM9of8a1JaW0pC2yRdznMUC2F+XNSrISntFnb+Zcun++CwbkuIitFtQYACqLvOOMGgHoKRaZoseewAhzRXZHN6DouJODBkqz1PW7nYTzN645Aq3xFl6Ychpo2T4DlIVwv959QgWoNViru53LO48Kfoqh8k6d+lSUlL4SVr4RXkw9j1RUVOT4YJWWlg7g3IS8sq3O6khd4c0AnpPQxqTpGXAKNLhHqsr8x3pV+09bdf5ru+/iTznhOH/qZZf4H11zlT+Nvx+cf67/3umn+lNOPsGffMKx/uTj4ZOO99874zRzbtrll/ofXXWFP/XiC/13jjnK/8/O//CfGjnMf7R7lxwN0oAsrPufKa0Q7bNH8HyRVhjOGthHDG0+qTp96EzNTytiDP1tdyfh7ec4Sc3PTTJWVHZZx50gZSMQQ0PmupSLWWb6iWvnohGehvIiZ+sZQT3a7fXoKHvUQF0nZcD031RSdk1XfQMgbmYqXZ0oDADNfkBFmU1twzFbYmgARaB9WA1DkSL5+ykZEuWu4bzC9aRfhEaMmZRXWO+coAY0pngpDa7tcT9j4jbq5a6IL20Y7HQxQHf5n/70p8yqmVazMVnP4FzBPn+VxbHplaWlDpdnTF9pxdR9J+fbbM+wNL4qWAsYpwE4DwA+RhuTple6of9Yz2r/xS0386ecdII//dqrAbLL/LePPMyfsP02aH4j0ep6+Y90LkuZu2VodlyTzeYY5x7pWmG0xWfdhP/qTjsAkMcY8Pzoqiv9d446wn8eDXJcdVVKMwxMZj2HzORzea5NAEI9p5437HesyayBQQN8mOyn2QCT3MUSruW63uUA0hlKP0EfHKgVYMpMUp/KlHfcL5QWMxBFQwItADAnkoxAjeN70OfXsetsh3tcRRltX8Xcdh8MsKAIjfDPHDPTW/TnX7j/IalaV23qqEjOakQ4roizauRsAPQS3nB+8LTsRoOV3+MKxR7juq0Bx2s0gtBgr0mlzitrwC74rG11M3k571P2Uc94lXu7Ute1Opcun88my1ue0LQif9W5rGw4PzUNXEVlZWX9KopLPwspG87FJfMrS8qPGdKhQ2b1WNpxVWnp3miF80OvWU5Wp9HCxgiA71hMTs3FpTWxRypL/WcStf4bB+4HSF3pv3/W6f4rAN74oQOM2TuW82mNLcO6tinOL1tV6o/rVuU/OWKwP3GvPfwPLzjfgOvEvffwnxw2qEG998LH85xabU4/f/5vWpNZA3wtA32Y/IvpNz+jdDxBX7uDPnoUfEDABztW8hAsslM8J3kPZdPJw6TFvabgxVopDuIKKtdOjqLB9/kc3wmRlbnbUdNUiUTC4vgr9PtZ2j3C8SIv7vWmfDrJmfE1DK5ZdUn+PPyQ2/ixCk//JT94KqPBlTJ5gyId9MMBK9TpnPm5eYDYCwI8PistXzbIZZhj8jKfw4v7iLLvaEVYSVrq6tw+mkQdMqR+HczjjTj3JuVD5/8y0Z7bZtsb2l/Jjdl5Uvt36vTfFbGyMzlX6MLH0srikqeriqsyrj6iLuXlQwGod0LKLzdLixL47YBWdS3AZ8xOwEYam8zSKSef6H9843X+W4ccZL4/AlgZbS4LkFqNg/uOQ0N8rt7x3zn2aP/jG6733/j3Af4TA/vm3FfPeTPPq+dOrxqH/b41kbWvvZkESotQFBSOqhrxMqu/cEctdHDM5PNIJpN/AsyUQTF9zVL6lnIKb6GFEyy0j+iPWizJBBmRZkmZe6njX9IExcaX1/IukeUmq059FvVoR657V/2c4+rbb3DNqrsSrJVZx84NOc+PUoTnS1N7c+0yz/MG83enoFHzNbRQwMrjj+Jxe3PqKIb/SX1G0xo1atSGSSeJOp68E3BUQqRGY/4p10dbLX4AIh93KyvLCXXVubw8UVlS+nFY+TBGcL+vLC7dJHvFrbq6Wqbvw5xv9T3DAo3haFFyQ0m7rmgx4snhgwGfo4yZ+9puO2OOVhozuE1ArzHWvbjno726+ZMO2Nefft015u8TA/pmFkzEWpSRWSztNew3rqmsxZDGcocY4HG9h+hH6wZiFkqA5EEAlIm6xGdNVd2dwIpDc7yE66cqJSaKyIEoNNm7rRT05DNA7wb6Olqlvaud8P7JsUfBg8cARcrbB1DfEXw+lnIn8PnYtHkcttrc7gk1dzg/MD+o4gIa5mYa4SKQ/2nOf8gI8aOZf8gtJ/BTo2lStNG5OwB2vhqee3U2k7aOYzMSuUm3/kYAcByN+i/udR71NAqmA/r2DxWW5WWNuJWlZTcNqKzMCBTP83vOXQAXum1tcUWs9I7svZEaiSvLyrbjXKuHyRf4yYSU20kacKTdvbrrjgZs3jhoP//x/r19zdtlQGllsLRCAG/80IFmQWU6ZvgLm22UA8YC7iv4HVq0iTTBFHcuq/BHjmg8bD795OOklRwUiFooIcMb01/T83zfWiOsXnGsOFlhHL+R82tvscUW/2Pb3nbUJ40urdik0lFY3gXKy01VHWVa0z9PVr9I1d6hSPPjaa1TrOfRHGS21bhKUCo8jvtIHrjJh0jAZkacrONSlZWA5WtGhDdQmW8FII+lAbYG1Mbnl81jTaZOBFjv59o30frGu3b9bjKBpQkCkuMau16+f12rOocKy/IyADivvKQk7UxqqLy4eGhFccnnYeXDGA1yWteKipxtQVo95vhEzreqw7NM3u0wHe8ITN4xgNzT8Rr/g3PP9t8/+wwDNgWbufLxE0i2loZIPaH3FhDqORO1ZhV58gnH+U8IoANtUL/jPn6PHKrluhPNC8bMzpCwviBWH7QT7uFNaFxarEjQn8weXzTBVGBhRWkye4bt+qCcqMgD6BIJZ+8g4EJqpwd4AFiOU9AE8GF7WPODmT6SpiCC02H053sVx1MDf3Bq1SCAq85zk2FJh/RdE6iK8DwzNXJ4N8AH2XayXu4uNOS6Qn+q6ZjavpYKl9MEa7U3yGLljKfhjndtd09PcQKzQm7ns8xfaWphgrKcLHB6pneW319ZWdn/F6z8FpTmkudaqugwnTp1ytH+qopjmj9s1VSZAoedMXnTri1jq8qMRvXx9df6r+2xW2phowAgE+A8qoWLmqH+M67lP+sk/PFDBviPVlelyiwLGHKNgHjiP3fzH+/bM7wOAO8xzOI3/32AAcJnnHjOeS2Q7B2AYNjvX1NY89w9usoMbjRitPrRZMvy/hw4ImeASbJHn6wxLi2pqEtSZhZh7p6JAvIaIHef5giD4hlSP9Y8PPWmg63Kde1h6jkJze6v9NXdtMMryAlsNECBI+b0+a6dvEj5gzm+6i2GuAnXAwAzCU8YIWYL7DBZMU3d82iA7YXsClIabKxuMAqI1DBco2gRBfn1UU5sXg6sUadRE3pA335ttfgxuzIW+1fwEwxVFhf3QsuaElK2Mf60a1mZJqQzVKpgqS3QIAthgcKegMOD0vwCcHl9v38ZF5Sn6oanNLksMGmMBZKv/+uf/jePP+bP+/RTf8H33/sLvv3Wnzv9I3/GE48bU1ULJi0CQcrKNebbZ5429U056fiMdhfKaJ4vbr6J//GN1xs/wvSzC5jlLnMQv1N7k9dkTVApHkaOaCKRug2wOe6P9NUnlK8HsVP2trXtuLHGTuRvvZnGSiky4m/p299qIUPglZLU3ygVss47h3LGx0/9kvJYbPZANMdb+D4L/g5MuE5uMkq6Dvjd5ThJ7ZnP8RdepciJO0nPSU7R0rljOcdIk0O76yHTOFgVLULNreDcCU3Z9zRUGS9kvBpQgAbP5XP2ooa+p/f3LuHlLNQL5POMMJeZNCtWWo+2C3o6oUuXLtmbxTtWlJTsz/GCAh6UF8d+QVs8S9elLu/QgfrWqSyOXcv5VvP5k9/c3mh+0pAENo/2qvbfPuoI/70zTvWfGNSvRWD11mEH+/O/+Nz/8e23/E9uvsl//9yz/HdPOcn/4ILz/M/vudv/acpkf9ak1/1Xtt829PpQBtDeOuJQf+Yrr/if332X/8ktN5k5ydCyAY/hmZ+xav2pl17iv7rrTv4jXSoy5x6E9+X3runmcAHBUgVUmqp6QFnjXDd5OIB4s7Q8LCxth8sEE6aMfAKfpZ+GZoHjeF+uMQFIKPsdZW/k74eA6S4A4Muy3Mw5/gKM33CfTzm+h0zgoIpVk0DyTWxMUFBcPyRUu2sOAOXoi6Z4Hir2LzTcGzTModT5b17ESzSaGYFcJzmJv/JUfxN1/FYa/CiuOQC+iGONxjobOWKk36W8TZyfl1RgumbvYuncuXMntD9leAsr34Ap+27Xigqp/hmqLC11OfdNftnl4W2l+QkcAA1pcFMALO3MeLRH16Y1rWzm2sd6dwekXvK/evgh48isOt4++gj/4eI/+WPlwtK53H/xz5v6P3/wvv/9iy+kTNmwuvJYq73fPPGY/+HFF/if33u3qbcgUObZdQ/tRJl0wD6pRZvguvvg3QBBLYysqSCo1eCwPpHNBtgs90f60X30vWc0x8ex/OmsVFnHe96y6jXg5/Rz+uJayh/CdbLCltBvtcpcw/e3qfdytMZNpfnxXVpgur7F3HcydZ6qmIKr5AqwKAWA9o58DAU/UXMAiMY4mob5Eq3uIzUcvD4No/3AmX2+Zq+h5SrM/cWc3xpNcxca9zijdqMNpsvls4JFVpS0wfxfcez78vLyocFPEHWsKC7dmnM/NCgbwpr7U0a4bACtXq/6f8tjsds43yoLH+r8f4kFc34Aw6M9u/rvnXma/87RRxp/uwaA0hRz/RMDehvtTH56r++7t7/wh5n++2efCQCub8xQLWA8OWKo/+Obb/jfv/SiASezkyQLmLLrkxO0TN9XttvGn/3eu/7066/1vwM4tWe4OQ0ww9Sj++h3TTpwXzTB8sw57Wb5G+Af1jZrAssMjjeRM4Q+pZD2rwBY/wH43udYoxGUxPQ/LWw8kYwnuwcia0i5fKhnqimjNLUmk6NdQ53Pqqy2ztGfj8FKHEcd91JGW1gNyAZ1TkFTPGaV1AZbAwA5dwiNJe1PcwZVdXXWX/gu8zb/JQjovqXckwDgHiZ8D9dmjSo5rOO9urdR5JdYbLzM1eAnmHh/lbHYdZwr1HT9huuzAbRI2h9a4ZchZVvMAj/F3bsuWO0Vv3Xowf7755yZ2nebD0gFsLa6CbC0F/jLhx705336iVlEeRZAfG500pi9X9x/nz//66+NA7M0Mi2UKBDCY727/XZP/j7Wp7s/ce9/+l8/Os6Yzb/OmeP/8s03/txPPvE/u+sO/82DDmgxCE674rLUnGCg1eo3X8/vVwzCNVULbDp/sPepyaAon7wmcudkM+UWadEiWMww2z0Bv0s5p91ZnDf5RKrpl2fIklO+bkzry+TGxvGBtbW1MZSWawR8WfVqLn8855tNst7uaHkBcJsOSplntD3lIXhAQRZpOEWObXQxxGiDtvsxmp9GFCV+Di2nyBidKypbX/hjpXMrSsr25/EzarsSH6EVFrrtTTtHrld4q+DyDv079f9vhdBPnQu9pmDW7+0Ln1OeAgGZilrweP+cswpe6W2UufYpQM2YuS+/6D81crjR+BYDYL/+/LP/5cMP+s9tMsrcVyu68z7/3ADbjKfG++OH9DfXjx/Uz/9qzBh/HmD3n522N07Xi+fP9795bJzRTmVWv7jFpi17Tspqx4gWdRSNJn2t9hFfDQgqvNaa5ieoee/+vfuG9g0xisQc+qVC4H/ZWB8KY8r+gPW1p3Z3WZbVizrO4Jhyfn8FmCpPyHEoKJu5Vv22lHvEdb0JgOSNWljx7Pr908oN95/A+Zc4/xQY0jfoCqsWLQcAFsVRj5X8iMb4gJFjNg0yRs7O1Cfv8ZxAi/msFyYOO5fmmhEj28r9ZWqw79eQ5i+CkFeFan/fVZWUb8mlmcWPipKKwZXFJV+ElG0xCwC16KEVUWlDz2+U9KcDDNrl0SJQCWPqe2Gzjf0F33/nf/HA/cYd5qW/bGF8CH+Y+Jo/8z8TTEADucVoUeOL++7130TznPPBB8ZtRVrkh+ef5y/55Reziqs65dIy/6sv/ec3HvWbubwsz8k1z9W7xpn7qRFDcuY3DwwWRcLaa3XltDtME0mTllgJW1tQQ+f8mmC50XxiJ5z3uPZtPl+KVni2TFw0v1MANc3Nn44iczt9OS6QRAO8AuB7hz6udLkm1iBlboLPt+36mtV6DlCmKqPC8ZTLaDw0Sj8aRKn1Mqown99wR7qVlC/RRCqNlMlaT8OqXKNzfWGs+b+2MX1K7+qdleyoZ8+ef6qKlT5QKNii6T1eXVy9QXB5OtDp6a0B1vq9o0pj/l1m3i9mHJunX3et/4xVV/iCR1MMQL26687+YgBMoGr2Bwfzf3J/0eqwAEi7Shb99JP/7umn+J/dcZv/yU03mEUXBVaY99ln/iK0RZmsY2Ib+FMvvdifM3WqCX5gzFfYrOoWagJnMyA4Yfu/+x9edIH/mBZ5guP30BYKqbWmaYEmOELNyND+sTycVj70F16suUFA8CoA7kW0vTFYdUfQ34sRb4MLrusOQMlRrIB0HfLkeJ6+vmqHwwoDQL5re0tPRWgBuI4B/A5OJOyT0gAotAf5D6YxMoBmzFpHewjNHsUiGqwPo8bTNFp6dFIWuGfgDCg2xdr90bt7T7mahArGcvAiubroGfVbRJWxypGVsdj0kLJhrOsP5LLM9VWxWA/Ab1JI2RaxwE+mnvbHpju+YvPJ/G2tbW0COm2VW/rrr8b1RS4s5hyg9VjfHv6s1yf6n999p3GzWbJggf/zhx8YR2u5rLx5yEH+7Hff9d876wx/5oQJZv5P5vSXaJJzpk83WqNA+/mN6il7YMsXajJc6k8+8Tiec/+MJimTXFv/FM6/bQbF9skmUvTgoaF9pABW3/sUUEtvidP3n9Pzdwo9F7igSSPUSvIjnutNQ5F53zUrv3axokQpXgAYcLLK0H9/4i+mt/s9ZXbW3HnQDVZNygdAgRva3ahAuxNYmVh9AOEFWdFSihxHK0feBM59QyP+IlWc0cAb1X/Uf2tiVZutGVU+UkObxtaGbMuZTANqtanRoAdpVsZ85UkIE4rl5K8Au5x9lJ1jZYdyvNCIz5906VSWM99RVVK6F1rlnLxyLWZFTd4eLUdBAqSVaS5MgUfHdf9NE1pelsb29uGH+EsX/+p/aAAwtX1Npq12aMiUVQBURYFeOGsWQPeKiSEosNOq8bfPPOU/h0kuoNT84Kw3Jvm/zJjBuR/MAs37554NSE4xwVWXSQMUS/Md3N//+Ibr/KfjI2iLlOardvknprC2A4a13+rK/fv0a3a6KJvV1+iPclP5kX66JXyrrjdgl3DkJ/gI3+Xy8jl98hqA7y40viPBAUVp39J1ktdy/gX+PgOPwTR+mb6u7a/jUWx2ov5rAMSj0grRKkUCuOCHbgT4/UWJj/n8D04ZANwsvtn/8aMz0WLVcPz4OZbl7p5t58v9Q7tIaIjL0fK+o6wcm9+g7FiOnWdb7iOqw2iGlvsmLF+/eZy7GNVZGeOanLeQ/5/cAMIEYjl4aXlJ6djeZWXrBT/DbB3CfH1c5/LKhvEStL+bq9db73+Dy1Orx8UlT3JuuV1fBsLX0PkfCQBApujT2uXRGqZvwAK7Sfvu7f/yzdf+XLS2Lx+83/8Y8/brx8b5v3z1lZnzk3P1oz26mEWXOR995M+Fv3nicRMl+rsXnvN/mDjRny/wm/S6/9HVV/gvbrGZ/+ktN/lzP/3E//6F5/23jzjUhM0Pu3/BzG9++a9bGi310Z7V5pi0QIXaH7YGBU6QttujultLAFCmqRYYZ9LX7tK8vXxyuV79bYnAjv5fz3eZs59JaVGwY/WDQKQ78vmPwTWKKbgEk/gdrtlGK8D83QrQPGiVdHlJaXfeKNTcJ/lxXwNK3wNY39BQSgJkAHDrmq3/P0zZE3SOMtrRMZ3vZ/LDM9FSBH5mx4jjKqz9PFjqtHaAvAIrsoT2Dxstj79Kcr4fn78SkFLPdjTuNjqu82HMObP8r3SBYUKxHLyosrT85Gy1vbKysgoALDTb29zy0tKduSwzEJRuUDqgorhkZkjZFrO2umnh4+HSTmauTUEDzKJCGhRagzEpH+vb0/juyQfw8/vu8Wc8Od7/aszD/jvHHGmAN212asVZ2p7yhChitI5rv+8r2/zVf3Grzf0nhw/yFWJfz6joM3Ki1pzlWGlsQR3LxYCdFlhe2fZvOa4x+wUO0mFtuLqxAFCBQDQlFNZXwlgWGcrIDO3hRUSVLc6jT6W8Mmxnkud5/aXZ0R9/xNrbISXJv5HAkP6v4MSmPq6lPztXU3YT+vIpQW6fVY9GjhxZyY9WxrVMY+nH8cNMtNdUqQ4d9hqy139xrJuX8AbLCTJb84OU9FzJlwVgS42ZaztT4G+1OdtMllrJA7mP2VRNuY/VeHzWnt9FgO3J2jnCX1To8EURypn9v2ECsTyM6fRDRSymSBjp39oRc1ghqwqL11cce790/fUzW+c0EFSVlB0RWrYFLCHvB98otxeAQ3NpMv/GDx7QEBRagwEWAyha/DCJkfgbcAPg0vfsY3w2ZUO00lT2uNxjy8PaLqf5RLXFI53LM88hLXBEVvut7lxVWuaPbMFCiPoPADYZZeMAbTiwE2hzTmq3lRQe4+KSju2ZsI8KxDmHuHZz+rbihBpLjfp+wXy+JwiRtWqS0tzxo56nEX4R0yhfeY53AT82syLaHAn9ue6FoKHR/py70QQnB5OpgJ37GucVJusaPn8WmMDprW5aPn9UoAqI7mAaNXW8AbeFA7S2rpWXl3cNfkoHRXCpKCk9v/DV29K7sn3/unTqtCHHlS4zpGzhLG1G292Mzx+d/K1D/20WHFpl1XcVZwV0/eC8s43WmW4PacnSltekxZChQwpfCFG/BNiO01y+CWRie1ujbCjgsM4p9P3hmt+j7BLH8s4NxDmHwIS1knZS6W3TCtNSyp7KqYyitCqSIkZUyeSFdwKI+meHgS+ApP3tnAVo0urMqlDwPf0CNNJ8TaN/GgDjb+e02pQKr3Mc30OdpRUNt7qqS6sLOPXdm/17q0tLyzj+fH65MK4sLp1XXly8d3Cpoa6Vldr50ZJk6aHcEz4/0P60U0NbyuRsnKN5rSQWKBtgXkksbVP7lpV0SfOSOqbnuYb2UrutKSA4sF//Bv0kjOlfv7q2d9+QIb/tyqDP/x6FRJsVUhGXbOflYN5+Kf3wcoqEghr48H/05VfVn811Cff8sEgyqyLpB7cYyTUquK53sRrZNJ4Sr9juU3wfS6POhrXqmzFrOf6FOCibfkkym58OFlpCV4NN9rfWXwBZWF4cOzb4KYYU9l4JzEPKhvEnXYpz9g53qIiVHc7xgiLHNMbqwMrkpmRG6uz/2WkH/91TT1r2FdTlZIXXV+AF7T++BdZWPJmc+q69uTofdl1bsnwVP7ricv+FTUanzGyO6TmUYW5NmAuUK1ifnr2bnAcM+uQMTNubFPkZ8czu3x3ppweglBhFJav/CgAv43woFtgjFSEms8VOfV1BUddcUjxAz/XuU8PRMHKPGSvfPz6/IW3PsZxDOfeuGoxzv8DP0uj54fbFAr5GnaK1Aqx5jzBhWFZGU5tVHiv/c/BTDGHS7sm5QtxfllaUlDzWecMNOwWXakHpDxyX+btcq78x+LCyVIdWsnG5veSHjW9r1nYzuZhcjlZ1EM+yBcBSCygP4tm0JW8APJLvm8L7c+4yygkkdV1Yfa3OmL4T99wjtShUuqE5pnsfxbMqqVJYu65u3FTSdGlo8CRtVdP8eiCiOaTFT/qjAh9nrgNQlyQS9vlBkQZEf++qa+jDizSthQIkx+g1j6RC19fXx1zX7eE53v00XtpF5hU7lVPgbb7Pp7Gm8Tnt6Ix5HKjZWY1eCLfJCnCs9P2K4gqNjIakygOAV3CukAWQJVWxstOzV4/LysqqOf5JXrkWsbQ/Bf68LjB/n3ES/rQrr1j+/b4tYAGvHK//BrjJCVs+dnquME4/txKc/5ny5wVAuCJMZO0ykUO2Qnql20YuQwN5juw2XV25W+cufrzxLXHit2WyBuLZgNR3g36afY0iRR8ZFGlA6vfwNo7j7KvdXRxqsdW4ylPadYZR4FkAbkLg3JwGNeUFfozjcoeZifqt+H8t2u4Wxm2xBa4yFhu/YZYGJ/+oyljpi2Fl87m8uGRRZVnZX7gsPf9RVF5SsiXXL5fzs8w3JTeS9vUIWs6k/ffx3zzs4IyW05Ys0NL2Mml8vYJnaUmby2lbgKkQ/crnsSJA8IPzzvFf2urPGQBUzMA1ZXtcl8qqJvMF0z+/tyxrWCCfDUheHQqblX0NfXY2Zu1uSuYl8ATsqpTciL9KeZGT3nW1Jy0OqBGyHCIN2fZGVVo5prFyGjyLU3MJKW52h0ch3L9P31YFQIBqaWVx7NKSkpJM6G6jwRUe/WVGyZ/+1DO4NJ035HSOL1fUZ/3G3enAj9KR5U+nvbXyu1sR2p/m92TShj1XoaznF/hsQj2ZvMRtxJofnfCP7cyulOz2ORQA1jRC2POtTqyUsJoaaqIfysXsMO3EkpOy53mdtIXNrUXzU0Iky32Ma/OVk3me9gA77jOav+e8tqv+DJgucCzvnBYukK66BPAp4OERmLe3o9HtywiQcXpG/a3D/v8kr+GWhZdqe47+5h3PYU309unRK1QIloMXdy4r218qffCzOsgfkOM/5pVrjCf069cvY14AgOtx7H54ueb/ZP6egBk5jg79eN8eZvVXq8DZHb8tWAsafwF4W2uQUT0bA4LpTHVh91xupo2eqh3uf3T1lf64bp3NMd3rItpP92+t39JeWXuChw8d3hQALgHmXsAKO89z6y9H29OOD6W0fRtWwrEc5SSoZ4od93Z03eTZgF7Gk0PnUHpexuwtD0R+taYiQO8EGkDpLtUAC1wnqbyhZhndTbhW0ICZxsvifDDT4ogcpL+C5wKc2QsgBQOgfADDhGA5eGFVSflo/Vb9Juh3lbHyfXQ8r1wYL6Vz3cI1mfmPqqqqHhyfnFeuxdwP0FBOXGk30vxk4i17AIHCWHN22m/c2majAEjRm+/Ju19rstxgPrrqCv/JIFSWAFBRc9aIWIGxUn/IwMFNAeBi+ecCgBejyJxqJ5zb0erUb0P7m+oBJC/efPPN/0hfH0j/V0TpzPmUSe1p2mf1JmlFNJhGiuzG0Z7dfRTs1KjQtvNWduOYMmYp3X0kZR6bhEfz+HwP1x3A9Yoxpm12WgTJua451kpX9y7V4UKwjGxWgDt1UuYsQzJhK2OxszjXrAlbXlzyS0Vx8XHBpYYqS0sdzOpvw8oXygIMzf9JaxpT2smfuNce/puH/rvNnZ9PRmPqnvcsrcWK13ckJmlbaYEK2KBgCy9uuZmvXSy6jxZxErTjmjAPOHjAoKYAUECHCet8Rpkv+aw+2aiyoT5uBVvlNPUFBtyRXbf6N2bwBXm7wFY/EgDywyfl/PjU6PCSYvvJ9YXPl2efFwNui1zL3V05Rjn3At+n8rmLbXv/ovG0w0ON36S2F8Za6Wr9JOilHwB6mS08Feus838VJSV3c66QFeAfO5dWbBNcaqispGQPji/3/N+WdFz51mn7mAINvLLtb7sd2oLvgu02XDRQvQpUoPnFsPsvN9M2bx12sP/6PnvluMNoBXtNAEBtD83vh8vIcmGbEOQUFhXRb/+ZUmpyykyuqanJBA5ZLUkID8ApeGkOWPH960TCldnYETO41nVMIpTMeQBvoaLIAKByjn6O8x/yeWNUb7NNLo/lGlNQHMB4XbwNALDk2ewAqOV/+lOsojhW0ApwRSz2aX70aLTHs0PLtoC1iqoFENOJqyv9aZdf4j9j14XusW0NlrZ0MtqZ3FzCnqe1WCk8tTAR9gzLy2qbV3fewZ98/DEZANQCkpKphz3L6sQaMPv27tMqAEgdPzkJZ+9s7Q4tsDvHpTlml5tHH98oKLL6kmsnDw+0tpxGcm13N04XpaJDeEdwTKtE6ZewkPMXcfwMwPALjs13UuGy87e3aV5wFn8VWif7eCgrC5ai4IYJwTJzccld/I7MFp5uld16cbyg5OeVxbFJZRtskEl8rpUxQFELIKHlC2UB4MEAhTSYx/v0MD5uJuJKGwGgNM2/tqH2l2Z11FFoZHJRaXVTuKLEOIlrb3C6bgHgkZj17c0hWgNNmsPOt5TVrr179lpuAAz67xitEgcibUhJkui/2p2VUYRMWfq3lJyg2OpJ/MCe/PhX0j88+PE/2HF7O05r8l97iNdFTd4R0Hucc28Deq/AjzmWo0bLpL9cXq6tqW3tOIC/ou1dZH5oQN06d04gmIXm73ise0lJZl9lCZ+59vWQci1iAeBJAQCa2H/XXm00wbZygVF2NWWZC3uW1mTTUbmPiWsY8hzLxbTN04mRJkTWI8FikdrvVABQK+phz7OMrO2N43jPVzEAXo3GL36NY4UkvFKZCcjc7Vn8QmWstLCIQ41wKwHgUiy1N9DqRiDKOU7N0gYdx9sbRSh3NRhTWTtCgmKrJxkNL+H8gx8sTS3VyLYzw4o7h8hRkgY7xHO8M7W87nmj7tf8IIA5gTLKPv9lfsCD5eFabYMrKw8VgmXi4pL55cXFOXuAK0pLN6soKf0ptHwWI7SM4GW3ylE0uLRDaWlpN0zqD8PKt4Ql0GfJBYYO/FTNMJMNTb6AbQWAZ7fh4kcYnxH8trBnWWambRQqbPrVV6VSg3JMINsGv+3nspKSrTRtssEGG6zdo0eP/ykvKTmV4wvyyjVgQHN+51jZfpXrrLNul//7v3X0tzwW24Vzy5UtUPLSq1v30D5TCNOnAT9vmmd5f0aZybiDZRPHtRo8Le+6b3VNUGT1JTVKKk6Ydxf8nOsmH+TvUzSIIr4oBd7HdsLeX24xlO2LJrg9x3PmBVuDWx0AS2KzAay9gp9piO//4HizQQwEgFWx2OnZAlO54YY1nGuV3L8X0HHVgZ9O1JpoJwb82mABQfdYkftmpd0eHmi3Yc+zzEz7PN6vt9GWlZc4ffwi2qxX62q3PwF4mv9O0+8qO5WcwvFmAbAiVjq3qrRcQXPTGlZRRXHpTpxbbgDUfuCwPtMML6GfznSd5J2WldROkRzNL5sE+Gh8t+Zdv1SRZDi9WkSBaZK0P1arunT4slGjRm1oWe7uNJ7xHufvT07CUzioIhqyHxrh8xxPhddpRW5tACwvLpnVtbx829QvTBHa34Gca9aJWTtIyotLD86eLK4sLtuYUf6HsPIt5TQAPmPH/WlXXm78AXM6fCuxgOjfAJIWKMKeo7VZALg/92sLE1gJ1JXNziRqD463NgBWFpfMLO1UqiDBafodprAWvgqJ/DOnsqQkE2Ed6siAq5SrKxQArYQ9F+vtEcDrTM/2ttGKbwGhrIq0OJK/HgBPWS1Xg6XZ5G99yybOK3eA/IlMQ7iOe+/IkaM2ZDTRKNHq4CduAw3w2+ryquzRvGNFceyEkHINWADYubR0xyzBKcJ83pFzy50ASZwBQKvOaIDp5D+tzQLAQ1YwAB7QVgDYr1fbA2BJ7OvK0tKa4J2LfldeXHwx5woBsdlca/zrUpd26FjWqWR/yVJI2YJ5GTTAuY7jHJQ9eBdC8Xi8N31+enZdfJ9v28mNgyKrPmnrGybsTvBZjBDH0lB7Sz3OS3wuAFwf01eBDrSSKzP4UTvu7oZZnE6ztyysVaZGwbP1AbD082xhFuhz7Pzwsrksoa0sLt6Uy4wwS5i6lJYfZJyjQ8q3lE0QVDrwUyOH+x9d07Ym8LEA0opKLC4AlMndFibwE4P6GwBUjuL08Qtps56tawJ/Wlpa2l/vPCBkpuQGjjdvNcg6KC3N5MpNRR0qO2IlAKAWPB5D3lu0gqtwWo7l3cH12X10iWsnz0NZyuylX2XJJDRyvFMAsZ8d23k4IR8/O3my5yZf54cfk6/qKpw2596n/AJY0WCM6WtA0XG1fabR5EbhbC9oatGk1U3gktj02AaxgcHPMb8fYbwurGwILylfvyQRXNphSIcO/1VZUnoMANj8XFAzLIE+EwAUSDw5fLDZB6x4gAYE0x2+FVmhqxTGKuxZWpP1uwCBzAJP2LMsM9M2St4+7YrL/XHVVeaYwL21F0F4vx927do14/pkZKYkdl9Y2RCeUdqpkxNcmvIbLSk9GZkLK1swLwMAorl5n47CYgsepVDqaJyifwtrZxgwnTAqMapzUGbVJVB8HRrmCWl0luWccWKHEzsK9ADB6zimeYPLUXc3Ryv8m2V5m9Tb9UMVDstLucAcThm5vEgjXAiAXk/D5OwhLICb3B3S6hpgcez9sk6dMnl8q6s3/n/lsdhtoWUb8kJGfnAvReoI1Hc6XMge4iZZWtLxgZb0RP/eJgWmiXXXRn6AN6MlDUdLUkcKe57WYtU/gPsoinRbmMDPb5T0P7z4wtSKOcfkB6jtfV3znmN5GAB8o2dFheLfGdLiQHmJSX0aWj6Pv0BmBgeXmrSpVSWll7UGALZ0FZg++vXw4XZZ8CjZVCTNVNqhND5ZhHwuU8gs/g704t6OXD8zr64fwICtg+tXXZIJaCfsk/hBiwCvB/TjFT4HcDufY/qxSoX5HTwTngFPRWN8woCf45wK6GlVeDrf7+LvD2ltjs9GKww+G043Xku4DfwAJ2PG9gp+vn7/Wozm94aUC+M52eCphEiB+bxcYfDFAkDF4hNIyKVDm/yfGjGkzXaCKJHQdqWp+4Y9T2uxHK035T73592/VRgAVHKkd0892TepNzkmADyCdmzF+U2Zqs9UrlOZiYiE0rA+x17NKtMoI1vTY+uv3z24tEPvDTZYu7K4tNABt1EWADblB6hAI9qTn+6DsCy0N5D3YvXxeDzZnc81iYSzZWrbm3Msffg8zxt9ueck7+DacbbtPO9Y7pPgwoPUo00NmfpNvcr3neURscoSP2J9fvxZmLTT5N+HRvgwP3JB9g8O4SU0jjK8/cq1RyWTalAn7Qaz2Lbcu6jrbuqaQkOdTQPfwUtprs4G3No7QRh5J8VisYxAap4Tk4S+FF4+j38sXb80kwbTxAEsKbmc48u1D1gsINoJoEjl2Cj13z/rdJNrt60AUJqmzOC2ngdU/XLwbnXtT0zbvLH/Pv6kA/bJ2QqnLYWtqNkuQcO/Q8AVvPYOA7p1K0VmPg0pG8ZvK1tgcGmH4uLiDdAeC5W3Rrk5AKQvz3ISzn70z7GU+c6xPAUjmUy/fAqWW9ujArqkN+oK+um59M9j6Md7ggVbCRjhngLK/v1H/ffGWEl2wvsX9WQWQHVf+O1VOi1mFgU7O9ztaYynBWrZjdkML6bxLuHafWiQeTpGQ//ouu7OWkjRCrEBV9uThmjOt4TNXuDKqlAhWBZmRH63olOnzaTJiatKSwdw/Jn8co3wj5WlpW6fPn26YgZVd+/evWd5sTGfl8ulQSxNaXNMRW0ZU2STNw8+0H99n70BwLaZAxTfCyuRUCuCRQ7rN1n8JoWoCrt/a7ASRr2y/TamzfRdwK6gEq24xW8RAHhhdvpTWRAcb9ZxXlwZiz03vPq3vBxdY7FyjheUebAp1jvr26vxvcAcn6mI0IrkjIa3lWvV/5XvLjwoifaXSIwulyuMTF5t52zOJQZ8kFP01Ox7qJ/LV5jTjfoSrlI0YIC9LqOCkhrlNGYBrPwfWgk26rZGGhpe4aaKtMfQtdxNpWbLkTpdplBWNJjqzl1ChWAZWWA1G+CalWa+F2rCShv4gdH/OzHfZ/B9Hn+Xa0VPLIEeSce9DbCQ/99Lf9sSLfAME/Ipv9O3Fksru4D79QnuH/Zcy8NaiDgdLbNNtD/40W5VZhvc0/GRRhvUfZROoKYVAVAr/JWl5f9GljPuI6WdOrmcK2zQi8VuBzwy4IkGKPB8p0G5FrLeV/8+jUeD4fgMe6SdiVq+vKRpMcfxbqHuTP81ipLtXpTvLbLKkjZAowFesAwAmGFdS0NdscUWW/xPUG2RFlYQgt8z+uzF+dDcv42x4gH26Nq68QDbK/el414mbYnO/OTQgcYXMNu/rS1YgCEn5dbeFaI5uL2p14T3aguuKPHHD+prIkKnd4EIAG+l/QS8ragB/lRZbPz40tSxKhbbpVA3lsqSknNyHOdLS2takHq1SR48YGDjAKj0s3bogkdHaX31dfUV6pPBsUJIqTR3y++/KDsTAceKoMyqT0HE558aa9jmmOuWOo5zZjDJWsXnvzuJ5N+Tw5J/0qoSLyYnFV9z3EYRodslC4SOATRkxj3SpcJ07mfiNW3mCpNmmd27cl9pFa2lCSomnzHn24ilJb+45eb+++eclcmZLAA8j9/RiuCnveNflBcXZ/I/CzSqYmVnFLiKu6SiU8n+waWGupaUbUWdM0PKtoy5fzMRoT+I52WF49nXStrJetdNXufa7vEt9eOzR9Cfbfer7HvKDKberYIiqz7pBXtO/ZGuk8yJBdYSpoHmAXTvO7b3Fg30Pd9/0kSrcgpgBit6TOh1YSwAbIOcIO2S1XG1MquJ/LHlJf47xx7lT9xz9xWSFU5g9U/uLd/AZQVBPb8WPXajHkW2DrtPa7EWhyafcKz/6i47ZlyFtIC0HwDYmkmRKktib1dusEEm/+166633vxXFpXeFlc1nQPLn0lztsUN5SclB1Dk3rHxLWDlBlC42rC/pmPz0AoArqh8i89XZiD54A/3xW9f1PgEc5djdork7LYZg3d1N/dnTWEvthH3RapUwKRX12d2JxnqHH2uCH2T94JbwEstyUrEB0fx4AXcDrEqU3qJtcwP69GuTOar2xgIQzQM+JPBA63txi838Dy++wIBhPgC0Bctc1YqtcutqVbrQNlc5gY6uU1J35RkJq781WT6SchZXNJi0hqy0nkrG1JqyAog9lD3HVdmpU1VlSenLYWUbcHHssy4VFXXBpYYqSkrkNrXcXgPyjW0sK5yOAXJjUWbWhmsc27mavvw555SDZwmm7OU8yjIFM0ikVpYzIbLM/Sx34uqYMKljIrFRScrud25nRHmDH/oJjSsV+Gc+/8rfefAsHaMhvpbvUXbDmMYRgAJ+8kJXXUqsYtvOB/nlmmLlPlgTAFC/UXNnlwYLBybpz9VXmZh3bW0Gp1n31UKMgiUoR4ni6um5BM75rONyOBZo70V5hb7X9WH1tiqj8b2y7d/8D849OxMwQve9lPv34VnC2nYZeSka20nZK6SVsdhIAVtI2TCeKMAMLu2wTe9t/lARiz0UUq7F3FReYPqctqk+C9/I5+/of79Ylv04rE0Li1Bu7vM8b/g222zzh+DRCibLsvpR3+S8+81SgAVOLxOotmvSBK7mEjR/Z9v1NU7C2SjlL+Qe7VjJffm8vdRrzQPQGGFm81Ir4fxCuZcoU6XoMpjBt+klhZQN5WFDhpo5jzBBWN1YmtQBmJAy59S55Q7z5r8PyJh5K4LTICZAOwUwlmm8OewALlphFTDKuVmm7qkAn3aVmGTuwXVtzWoXzf1N+Mf2GQDUtIECPGBehrbrMnFx6bzyWCwnclBVcelOAH8h6VOXApQPxWKxPwWXdtBnjk/MK7dMXF3V2a+rjYf2FzEa3zSASruyZK5+ZlnuDgBiOrbfYjTEN123fgseq0WgRR9eF2Xo1uz+K2UIPLh4WQB1tSEBJY1wmkabdMNkGsh2lwCA8hrv6Tn1x/AiXtWx/HKNcc2IGr+qtCxUEFY3llalrGa3AyoCPe11NfHutC0uCwRWFAvUzKIMLJDTDhJx+rg47Lo2Y9pEZm8qZUDPjGYss9um3aSZhrXrMnFxyQfdqqoGBCJuCFC7sLy4IBP216pY7Iwc/8GSkp6tsgACax+wPCTC+ov6IErJfpblXBj0vZfsOjvO54wfnwAMfhdNsHfweIVSkWsldzCgl31P6qqtrY0FZdZMiseTXQC3e2mQ/KTLqN3efUkFVXWTl7mWuzMN+EV2mabY7AZp3e1w7ZpldiqsuwGezmX+e2ee7k/Yflsz8d8AEJaV801qfS/k2MpmBoa3Dv23P+nA/XOeTQnRu9FuGkDC2nQZWG4u47RzIxBvbYH7IwD4RF65xviXqtJSBUJNa1gKnbYZx5d737h+Y99evc0CYVh/cWxnnuN4pzqWcyT9bA4a24uy3OiHmqrKKucupMyJLV3AkCXXoC7uA+hmot6sSNJKTruwvbV4IvcXx/ZuptHTOYAVevs7zUe4CXe0Ei8PGbLXf9Fgd3KuIC1QL7q6qktrCne7Zi1A/Bnz0nRuQO/Zetv/6MrL/Ud7Vv8GBMvKAWiM69b5NwDhHgon9fiA3r8d4+8TA/v6j/XpkQM0K5ufrBnqf3LTjUYjTu+Skfa3I+3VyvLxa+eS8lOzNbjyDTboKreYkLIhXDoj332msrT0aM4t964h/c6B/QeE9pWAte9XCxVvWZY9l/74gR23Nwa0cnZyBOVeGDFiRE5CpOZIgEmdOavBfPaxAM9fYU7RupHrugNQb4/mxqcnEgmLEarRYKZtTEU8yxDTKJofcBzet7c1nz/n2MOe5Y2SJ7nKpYqbSLO70Gizs15Gk9y7R681BgD1O+WOkl4MEQC9e9opKZeY5dECqefpuhHGpJ7x1Hj/lb9vbVxsXtpiM//rcY/4Mye84r+8zV/N4ss7xx3t//j225R70n/WqVt2ENR1rQSgela5vrxx0AE5rkFXoBX2z2q/VuKfKouLN5GspkS2Q5HygnC8UA3urQEDBmQCKKyzzjrrVpSUyH2mVXYNDR86PLSf5LEBKPrZd0p6zt8H0sfSjCIyTVNTwWMWSnKK3jO7/woAsfL+Q12ZsGFtQgK5uKK0Ws6htuVexg/4kQdYoklP5e1tbk9fW5BMA8/xzuE5FpuGcLyxKadnJVHKbVyNHhwr1guxbUdL85mX0RirTiWBDhOG1ZUl5AqO8KDmAgGQZ92E/8nNaD69ui0boOgawPOz22/1F8z83l88fz713eQ/NXKoP/OVl/0f33nbX/Tjj2Zr2VtHHOrP+egjf9ak1/1Fs2f7U049yVwbWm+TXOo/3r83mutvwUqXlQX8T9cO9z++4Tp//KB+OecU/KBV5/7ExaUf9Cgvz8xpSROsLCk9t7KwbG4CuZuzd4BUVFR04drlzh4o1nx47cja0L4SxvSfRZjEZzpOcl++5+zkwFyeHgaAwhGFe1PfFpCjYJXU1ro9nLhTp6RIKDmncr3S4srCW8jfeSg7H2nba1BF65LMS24+wgL44CN56IF2jV3Njd9O/RDX91zvWY5nlt3bmkyUCDuJupfcx3WSz/Ac6RHnZ+UL4Vm01UYjaJEiS3ietwkv4g4a7EW0wzsB74kq3xzrtw0dvOasBKdZWmA6SrQAbNL++/jvHHPkMu0PVnh9geiXDz7gv7z1X/wf33rT/2rMw/4nt9zsfzVurP8EoCJt72s+f/fiC/5raJsvbDran/f5Z/5nd9zW8ntink7YcXt/9nvv+l89/FBqEWc5NEGB6NRLLvJf+usWGTBWu1xO+/SlnVrZOliq9JfZABZTEINY6QshZcNY83/Kl5OhqvLy0RXFse9DyraI9TsVHMRqZAGkMZaihJKivvcsn9MLlQKvNxTQQDE/XTe5M9hyENrdyfB59NErsTBvozwKjf0UVt4jYMxtnpO8Iukmz7YT7klcux9ltleMUFmk9PmM1tsqJI0J8Bji2kmZuoclEt5wbmJC88iviGMKSvqz+ZG282nSSo40F64AQuP0aIwPHMvTfEN2qKulHLskKJaaM3CcCyj7qUsD0lCja2vrY4wWu7tObqTZxrim9XODtHvWXOBWaDdmPy3goTiB0oBe3HyTjPtHwcz1yjcsEFSk6R8mvuZ/+9yzANR7/qs7/8OYlF8/MtZ8/+SmG/xHq6v85zeu9+d99qn/6a03m4CjY6hDnK4vDNDMeTHPJ8Ce/9WX/lfUK81VWpzJcxJyXVM8prST/+quO/ofnH8uz1GauV5zfzu0/tyfeE51WcU/AvE1VNmpVAEQvs0rF86x0k87l3fORA4XVcRih3GuVSKHd+9abZSCsH7SFHPNa5aVHARmXMb3b7HAFOPzXfrgGBSTm8EYLErnXEDwGNv2/iXfPrCmHkwZxt+e9NtKRZDRdJb6dPYA0dpkwlMBGvK5Ox4wOdRF/Qy7oZkLxB4HWJ7kR1yNlrVC4nNpMYOGvKqRF7GURryG31Dt1rkD5Pys7Tc0+KccO4rG/TfPfDYm/OOULShGoMJidevcNVQoVleWsGtrmfJ3GL9AOr4iIH984w0mG1qLgYTyAqBHu3c2GuCC777zv3zoQX9ctyqThH3W6xMxjeehIW5lAFFzjgu++9bMP+o6mcvPbzLKH9e1wn/xz5v4T9tZc4OY6o/2qPZf3GJTo03q+PihA4wWqGAFAq5nKC/t88lhgwp/dkDzWc82bi/jdV1wXNqfUgh0jbUJAL7atawsey6rIwB2FscL28FRHHsckzcTQbqkpOSPlYWH0G+Wm4oC0wQvMdGYbHst+PdyWeFvmQIjCEMUqXplTJ+FEg/moK5ez4/8UiajUDc4FUoA4x+kUcnJmK8r5EfoXqjIY/JfhHaDoFa/z0+4B4A8CyA8kb9nc+xDQFAq9GPGKdPybuFaE04/+/rGWCvBvbv38MuLw4VidWV17pF08hsBGGMKAyQT99rDf+/003ISARXMAIpC7s+ZNs3/9eef/df33duA25MjhvhzPp7O8ampFVYAcMrJJxqQfH2vf5p7fXbn7f7nd91pVmJ/fGOS/+FFF/gPxzY04Cd+74zT/HmffsLz7e4/gpb5CZrjjCfHG/P1tT128We9+YY/l/NfPzrOZHNrFgSpU75+Uy+9JAXKgekrlpN2fWv7/cGpIAel5ykBeiDqHaqLizfg3LP5ZRvjypLSk7JXj7uUlnbjPb4XVralrD3AQwcNCe0jAS/GZG0Qz5P+NwulYzcep32AXFMEYOzDAxs3EkDiZx78MKmcwelCqUUbnVtKqfhg7p35AMj3hQJwRpX1+Lu2Fm34y6jjHubY3u2em5zmOslJmOtT4PspP57rCtICtfTfBqN9u2eZwttnmcLSpt4/92z/rcMOaR5E8lim83OjXH/hrB/8n6ZMNgsKAjvFH1w0a5b/1diH/TECNcp+dtcd/vzPP/efQ+t8xokb8BLoaY/y4nnzALxTAcANzDO8tvsu/oKZM/1ZaJaPYu4+VTfcn/fFF/5nd9zujx/SH43zLf+7F5/3p11xqT//yy9N7mNjDuc9XzaP61plfCDf0E4YgWzWuV1oj1bd9REwdc6vzEpiBBVVlZSMrigpKSj3MwA6r2LDDZPBtaKOFaWlW3Pu5/yyy8KKjq40EWH9Q0x/mkT/uhT8+ITvxh+XY4vpq4/KhA2eqX2Ttp4BeqcbMEn9gK8wh7cswOYukjprKRIsgIP2dYhl1Sv/RaujvoANLfVYni3Hl0/f0fC0fSgHgBVa2yRQt71dPSf5vJyhBZI8ay+ueSe7jsZYO0JSI3S4cKzOrBh3ynVhAADAkQal7WCv7vKPTDioghgtStvrli5e7H96+22+yaVBfW8feZhZ8X33dECteH3jCvP9Ky/7swHJxwf08Sdsvw3nf/LfOHA//42D9jcA+NoeuwKWG/gvbrYx5vPrZhVZZrRA9rV/7mZWmlX+1V13Mqb020cfaeYb3z/7TKMVmqx3Yc/I84zrUuG/c8xRRgsd17Uyc05TAWfI9KU92mAw1Ortq0p6FIitMV85dgFckPkLgL7L9ZlMiiZtQnHsIs4tdwCE8uISv0fXbn6iLhHaP+AlAN2lWjDVtlWUjqNcvqufasdHYOIqNue66ouK48fn9pnTgwfuBIg9lA4wwA97TcDGqVDNTgsiXsIbjsl8KCPAnYwAcwAWLX8/bY+0lcinVTRCgbBGEgD57zyf5gBztDe+LwUAd6do6P3U4MYnyfFu50X1GDo0Ue5Yjpyis19kKGvrj3aErIlaoH5zL/iK9KowQKYtYR9dfYX/ynZbG9DJAZFGWPN3H998o79k4UKjQUr7ExDJN1DuMQKosRyT1iZzeMaTT5jrtADx69y5/ktb/dk4ZUu7e9az/OdHe/53zz/nf3rLzf7n995ttMQnBvf3P7rmKv+Xb7422uY7Rx9hAPDV3XY29xNgTz7xOP/lbf8W+tzScCftv6//4QXn+49nrR5rZ8zlaIIj2sD0NVwcm1dVVnZ4IKqGunfv3hlQezu0fENejKZ4VXCpoerS6jKOv5ZXbplYACh3sLC+YVhJkBLOHsGtRUVSVPgr4CvSfJ9leX+m3PXSELHIXlZfDMq0O9JCSF/X9p7jx2mebDEP/DTHsqO8FskUVRBTY2Ja3kFaig62vXymRtF8ANddr2jPwTXLTNzbmLKYsc9plYjPBwOCr+vZzAuAadhfg9WjnvG4M0JO0DzTtsYtJmFrJfss1/WUeQoT2HuLa55GU52YtTTfKPOb/J7duq+RACiWKaz9rldlucYoh/C0yy5OxcULjmWDST4rivIPr/3Hn//1V8bNReW1SPHts88Y379nnIQBV9U795NP/B/ffMOA34JvvzVan8Dvp8mT/V9mfON/cN45xrSVlvjCZhv5Xz54v7/op5/871960V/0889mPnDSfvuYOb9f58wx4atkPn901eWY2mNNKPucnCc8i1ab3z7mSFP3Y72qc36PotTYbbPqG3DpG9XFxdl7Y4sqY7HdOVfY6m2s9LuusXIFGMiQEulzbk6DssvIigEY1jfE9I+PHWfUiODWhqT11ac8Lv5K3zuePrir8R9O7eJYChh+qj6qxVOUmr/BR2jRVb7GQRUrlTqi9W0KOJh9swIX106eLSTXJKtdp+xN7kloUAdK+5P5q4tG14xeD43xWsorXy/XJd+WRmlqXA4C1OLU+R3g9ZbMdKMNAr4cM7mAuZdSYc5D7Z7A/Sfz3J9w73fR9m4GKC/iOU+lgQ/i805mp4jtPcy5Y524Y1P2zfSLbIoH9huAIKyZZrBYnX8jQPA+wCANgk/VDjdpNGVqCrwygBLCAjY5OM945mn/CUxbHZM5+uXDD/nfckyOyzqmVeGPb7wes3aWvwCwmzVpkv/rvLkA5dP+5JNO8H8BEKUhyjn7+5df8mf+Z4LR8jS3+M1jj/rfvfC8MYFnv/uuiWz9zfgn/IUzZ5qFlq85/4xVmwNuWqFWFOy3jzzcgJ8WatLn9TsV629bwK9NND/YTK3kBS/AfF2PYw+Elc9nXV9eHHupuLg4M89Gf/l9ZUnJuZxf7t0fYrmBaV98WL8wnHJqrglu3yGl8Vl/AfROQynaJYjS/vuknXTop8Z1Dla0JqW+fIxjM4Ux/F2gTQxBNSuXgkUEBSdV0iGBDA+O6Wk5J8AHJUx29oZzg8bx2PHO4Ie9wt9zqSMzr7GsRB2b8xzKEzyPht02UJ2L0OA0FwjYeuMoE5d2SLlZwfP+wHfFCmvwjNTRDzC9n2vqAcwrKd8gnmA+jxxR09p5glc5FghsARik4+9pdXRcj66YjOf5755xqvEXzAaXbJZ5qXwj2ZFU9Pexvj38x7Qym10W0/hpgEqgKVeZZ1zLH9e9s7mfjpmVXExageZLf93Sf3HLzcxx+e0JVF/YdCPjCmPMbK5/bnTSf1Z1UG/Gn1BMfU+gmX544fnGNE6tKv8Gfnfzfes2BD/DxaWfdS4tVZTkNBWVx2JbAIAF+f4BgEsoe3i2OVleXt6Vc60S/krcs7rZROgoIM7zKEODNddOn7oV62svKUQ8TmZKSlgAWF4NB2sMzjysshfthHs5fRjLzP0Y5Sp7IWjlkiY1ecDzATPtvXsb4DtRKio/JDNahZHMXs3X5TfAspLyetBAdwNus2W+pjQ5uwot1Li52HZyY4p11FYZnjUdDEEv5eYwE5xrf590kruYOUvbfc6yGgZUzWdNAGsiWPMhYUKyprACp/4VULgzSxN8vE8P/+2jjzAalMJoNQaCRkvMP6fvIcc0R2fcT4LPmTLZdaTLZZ9Pl1e5zHc5QmeVMcdjxuFaWqJ2n4yrrsqcN+AHa0ugfm8bTn0sQnu7VgsegWgGix8lN3CuoOAFlSWxr8s6dRoeXC7qWFVevm1lSWmrhL/SLqjB/QeG9oksXoolpa2xT9AflaN7BhbjVfX19bFAkVpL6wEoRCcCctM5Hyxg2rPpg+PRFJW+9iX682nCnOB3tA+KD0Sjs7y/KPT0ynRYpBHXhbfSPJ7rJm+ksc4DkA/UanP6uTjfkwaelGpcOBUMdX1TQUDboLXKZOd4sanL8aYxIn2buaYJHoQgrOkAmGZFjcn4CApk0LbkfCzH4Vd33dloXmalV+fbEQsIFWnmrcMONua7QDDbz0+/R3N+Sq7UppofDLB+rGxtiGVGSagqLR3BOaU+Db0mj5dUFJfcrRXf4PIO/Tt1+m+OKfhBIXuHm2VZPQqBH9YfDNuOUldMtSx3LwBunOOgyTnua/DP8J30QSlQt6KMfEr5BlGYuDbNi7n2DO39DX7KMpNc9xRVPsxCXVZqlZXcViCtLv1RYKhFmGy1X6QfjkZ3AI0pjXUJo5KJR5ZIOJtJa5RaTiMfKk2Wv+dKq4T1YgrbFje8JlRI1lSWQ7DCwctFJA0gcmx+7+wz/PfOOsN/Nmmn9vJma14ri3kGzfW9uNXm/tRLLvTfPuqIzM6R7HLX83tG87vawtcvj5eg/V2crf3179//vytjsUswawuau+MZZ1WWlO3ApRnFpGunTn04/lVY+ZayBnst/jWx/1dz74/Sn25xLO8ClIkn6W9baqqMc/NgWVbigjYdAJhz0ARv0jRa8HOWibSwgpJ0kW3XKyxYe8GuFUNSoWmA/RiN0gsghzKq7G3b3j/lJiOtkRHpQoBvHH8nWwknJ9FKU6xdId1aN1n6Ks0yDQfB8o8TCKa1Qc3hKeTV9Ouu8aecfIL/dKLGaF7ZmtaK4pQ5XGLcZuQH+CHgZ/Y0Z5nSem7xWfwORcVua80v4GnlxeWZuH0i7ePV8bxyjTJA+VK3srLMFlQtDlaVlBxRKIAWwoMGNG7+An7zALz9ABotUr6hIAUKVuC5SYHfXPpLWNxNRYWZi+YYCorUuZB+e9ryeI+gIP0e3pU+fnNrLMKualQkEFSUaIBvOI25PaB3Aqr4Q4ww79HAM9EM5fpS8MiUzQP69Q8VlDWVBYKKHqM8HZl5QTHgokAE2terROuTTzgOc3OUWeUNnQtsTZaLC/VrG91LaHzaKjf10ov9V7bbxvgj5t/7DljJmHoGvyfsd7Yy/1JRHDs+e+VX1kx5LHYd5xbllW2MF1SUlBzIpRntr6KiojMa5IshZZeJmzN/6UvT3bg7RJsNHMc5lO9TzTEneamdsI+ijFnxlZLB8flmu6rtvW5ZzhF8T68Gh9X7Fdba6OBnLRNhDf4vSpCiUx8DGC73Qmy7JiG+vOi9uNfftdwdNO8A2D1KQ34IzwLwtMQe2tgtZZnBa1p0mOZYoCHeBO3pwsBXMKUNwmhgWrXVPuJpV1xmWNvXdMxohaUbLr9mCKCZumIbmLq0IvzGAfsYDfSDC871JwB8Wh022mBwTfoZr+R5NZ+p5PArCPz8qpLSN7tVdOsSiK+oqGtFxeCW5O0A6N6pisV6BNcbqiqO7SKzOKz8snBT5q/6E33sQYCqj+N4x8hvGC1wDvwY/TGOSXyH+l1Qfr5jO/K9nYTm925dne0Aks9QR2Na4FLP9c7Pn+JqKdXV1VV4TvIO+RnydfUxhYNtd920+gvYHaxJVtf13qThfoa1xJ5ytgxp3Gw2L1E+hJb7I38/Z6RqsJk7n2UG9+ym4AjRYkg+y3RUfgztl702mBvMaIQByD3jJkzi9Y9vuN7/8KLz/Tf+faBxUtbcoQmXT5kUMDbNqk91K1z/07UjTLSXt4863Dg7T7/mKrNtbjxAaLS9LIBNP88NPJ+01hWo9RkWQJWncnZkOmRJScn6FbHY7fLpC7smn3neXyqLY8cqkkpQRQcpAJwrOHBCc6zgB0MGDg7tAwFr5Xci4Pe0aycvUlw+TN/3AUX1pRkCPyuVDtN4WHDsa45dSV/9TCkqAElAsEGofMPql7blPpUd2XpZCfCr45ke4H6ttittpRPg59JIr5lGRbX+rdEaNmY+U04btDVH8SXm8VOavAVEd5JTNC/k/ULqGTJocKjQRPwbmNSgDSpd5B3SAgPQEafn3p5AA3x+0438Nw7cHy3tPP/j668z29g+OO9ssz9YrinKwfvinzc1prPCYenzhB3+7r++957+5OOOMf6HH6PlCfAUpEFa5vOj3FS0Gu6Tr1kK/O6Cj+K5RvJ82c+7gnhJRaz0jg033DB7XkpJi7bh3Iy8sk3xtIr8nSOlJm7g3Lxyy8wKftBU+ks0up/BsJsFfLWpEFdb0Xd+gqfDc9EEv6dfXUfZucE1izFH70Czex2t0VPUZ8BpD8opOnuOsqI+CD+KBqh0FstFWhjV/D+a4BUjR44Ki2616oGi5vVoqCYjuagRc47Zzme0+yd2wj1fIfzt4XZZsIMl3QDKL3J2ltreKMfrEiY6bpjgRJxiAYu20A0DaJS8XBqh0lpmp7PUdjRjAsc2NCu0Tw4bCCiONnt33zr8EBOQ4INzzjT+heL3zzrDn3zi8f6bBx/k/2enHfznRnv++EH9zTY2Uw+cP7+n+0kT1f01zzec59GzrWDgS/OnXcrKpIlkSOHvOf6fvHJN8aKK4tiJ2QFK+lVU/F9VaekdhWqQzbHapm+vPqGyH7Dm8m4bMcLrhDIyEqC7De3vHRSID5WzGwVjrJ1wptLnPqRsGtwWUw6Fw71T/oF6bk1dJRIJi7oep79KWzT18/lbgVZrud0pgrx2snmWd0KWWV1UX6egDMnN5cAtQA6Ot39qBAClkv9K489hdPqSl6Gw96ZRzYjiuE8yCtxDg9cG1TQgXuYm1PFNVp2Ncr/efRGUNXdrXKGcBprBAM92mJxaaZVWqFy/AqiMiSwOtLaUlhgcqyo1u0jEmegzabPWlNOCR1A2i1W/FmUUvFQOzYO4fxs7NTfHPyMvR2UDl4nY0qnkCM79kle2KX4rb+dIhy6VlZtwvMCscc2z5rhHDBsRKvdi+sgcLWQAaCfTtz4EwP6TtJMbC2Q4dh9971ZYGxKy3csWYdb+B63Pzm4DSFFiyrRnGA3xTK4/T3N2Q4aYZGatRig3PTzHux0Q3ETAK5PYc+vHggsz0ELflK9zULT9UxYAKimT5v2mavKVl3KGFkH4sQMsq74b6vZTlEmPQD/wYydrxAqqaUDyH6Lc00H5JtkkTY8WQwpmAY80Qi02yPz8B6B0CuAkv7v7AtCStmZyEgffm2OVS1+j74pbKOfs06h3V7S9Wu6j++m+K8i1pVFGO7utd2VlcSBqhsqKi23a5eOw8o3woqqS0oOytRWzc6QVHZ/F2vrWWPJzMQD4i2N7H9Hv0mHzPge0DgW8TqMfvsj3nygzzUrY73Le9D+OzVewAx65KZOzqK02W6he9X3H8bQFNs7zXauFG575MoDxU57vlaBo+yfP9rYDBF9nxDiWH7M5XK0gCb17byPBMA1onKLd5PH8MKMpphY47B8CAOyosly3tiJMezVeKZphZ3gw2qNC9vCC3dl6abo2jLUY0rtHz5WpUaySrPZKt5nC7vcDpJKw8useDmidDngp9JaA8Vb4Llh7chWUQH/1XTs1tIih9J1nw4pXuCvXyzF7QFBv/r1WIi+tKCn9oGzDsn7IXabzCwwrYqUPpc6HXpfPSytLYq9XrL9+9k6JjpVlZRtzvKCgqYWwzGglAguT+YC1qPEBysQEQMRMF9FP5tEXr6A/DUQLPJn+8w7g8jrHte1NicwXqk/RZw8InnulEM/3e55hHyzBcQDfU2DBII6tBSjux/P9EBRr/2RZ7rZ2wr5IDx8cCiVAsTs/7BVehBwyF/DCvqEBTuba/QWeaIxn8vdC/l5oVG8TRt8+ir8HoUnuzN9ruC4nnV82K0SQVsvCBCniwlgAJQ1NrM/S2HrDAwEzLaRYsAuPgr3guzS7IbDiFArspN1l1xF2n5XGyshWWron4pjRbKTBVRaXHsz5lkRrnl1ZXr5PUIWhnrHYn7QVjnOtov2p7aqrOjep/cm0RQH5F33jXCkJHPtMribyu+X4VgpZB7CMgrvRl4YquAF97iz611XK0xM8+kojKUoA3hVgwY08n/EPxPLrD05MNQVWBUoBoNssAEJF9ki7Jy/rSNTcMxm1XpHPEtfVy0xG4yuvqRm9npwmlWxJgsk5RaqVsBbJr5CGUojvUGFI1FmYC91ChSni5Wd1SIGb/qZZ31e2OdsCXlAVi52oLW5GGlNUVLFhrB7g+jKkfCij4fmVxbHblCMkqEPUsaxTbDfOz84vv6ws7W/wwEFmzjxM3uGlWEgzUosdzhz6xo8ye+kzcayt3ZNe/cuuW7+Tni31iIZMcFRZZPqcOpQiHefa9QHGPvTpLfics0DUViRrT4FQtAAi01jzg5j0U4LT7Z9aAICGNOk6erRiFXrKGJeJW9Yc6aVppGhCIDAXhqxxeYMjLoh/BeQeLs9Kci4yeX5LYuPggrerAUzfVxWX2VyeAZCysrJSQPHpsPLLytL+6mrrQuU84LkA3mFoS5rn0/dUFJiE8x7HJqIB7kj/amzXhQIt/15b3BRKz3GcLbHETsZU1qLJZOr7lvPScJuaI2wVEuhp0SbpJm+Vpsqz1NmW+3pwuv1TSwFQRNl1BYDBHGDBxChRz4tWiJ98YTCsucAeXatDBSriNZq/7VJauQkilG36rl1eHLuGcwXn6UXrVbLz07bJimspB+jKWPmx5cUlLVk9bpLl2D8E7S9MxsUCPLSkp+U65sSdEWiC73HcBD4GBMdKi+LRssGr429bUl0rkXD2k+kJUL5G+e/5qygyGW3TfHac/biuzQFQJKUILXZfnuVKnutUzPgbglPtn1YkAPJiK3k5r2ULQzbrxckxOpoLjDibAZRFlSWlY3tAiFGRpleqSst35lzB836BX9/znWOx7ilpTFHVBqUDOD41u+zysKYWtO+3iaRH4tmu5e7F7Y1Jqzlyjs3QOWmB9C3FCv0/01+UGkM5xW3vJsdxX4U/p5/IIVrRY8Lq1iLJ/BUJgCKl/fWc+ktc15sMPuwaHG7/1MYAaLJXubVuVy/uKfhrT1T8V3hJjW6tk2O0XAfChCviNZoXCwSrKyp6A2J/5vtHeeeb5uLY913Lq7bMdg2prKxcF9NXQRNaze1FQDuo/4CMNhbKtvO0wC14jFSwZNs9n3NmkRAQnIMp+wxApoAIck1brPoaqTMTJYbrfrEsR7uxjqOv7U/VKwwARbX0c3DhEu5dFRxq/9RGAKidID082/s3L20ML1P5Rj7lJT+Ouv8Go8Tr/A0L72N4+JBh0VxgxA0Y7Wohf5+tTGV4awlo/QJ4niuzOZBPUccu5eW7cK6gcPmFcvcuXRnEm9r25i7CXDxQAGhZXgKw2pPvl9JHJubtn2+gJFiWrZSZWjBRNrjnufZiWA7UJjI0f2ej+W1E/6yH5SazQgEQMgoP3D7TdIZRawOg7/tFHO/Hy5DLzAI45yXyXflQXuKlN5lBLpoLjLi1uDIWe65bRUV2xJgOXbp0qagoLn2T860W70+JvpoJeiCe5zrJR7XjAyD7RuZqSBnD9JUlVhAHkL9ylJ5OvztzlD1qIH2wWFMBMqGNmex4N6tPmg0IKw8AVz0qFAA10alVJ6nrcnh2nPqrwwAwkUiU8OIegEPN3AAQm40fOGL4CL9ztDsk4uVjOTx/VBGLJRHNDBgMkOkbi12MVthqpq+4R3W3Jv3+sjhM9rUIouCmX/JXIfAnOpZ3DZrh93z/zsQBBDABu7BwVB2D1BTqw1ohjgCwUGoOAAV88bjXG43tIM+sPCWvtSznGNepHxMGgPX19b20FB/ygsULeYkm3SafGzWBxVoR7tOrdxQqK+JlZq3sVpWUHVFTlko1m6aK4uIdOf9Nfvnl4crS8ibz/eazFAFYioCivnxN/3oQ3jcet+u1qUARVzBvT0ere8K2va3po0pa9g39VWH7mwS2CABbQE0B4GabbSZP71N5QTPgzKilz4CY0mo2AEDqWdt1k0frGspq65yJYSbmBb6Dit5b84OYANpbnCMU+awQQlGkmIiXkRcqIxwmYiZPCFRUVlbWj3Ottuor1spv/z59zaAdJscBayHjWzkJo0Q8QJ87jX6wRTyuGHvaQWVtGjyjyQRJ/7pTiyBJKzmIQ0Wyuvj+JOB4At+znaMbUASAzVPHYDWsqDEANHMLjrc3jd5Yno95vMAhQfEcqq3d4n/seHJzaY28sHMoazLF8fLf4j49pVUq0IJWrbLqC+XBAwZFbjERt4grU3k8nhXYBSJpqLi4eINg1begNJmFchcG6dqRtaHyG7ACBT9rWd5ftFPDG+F1GjVy1IZodtt4bv19gJ0iqMjPMUNYUjWu6z1m15nNBsbxGfP4ei16dOjQdJCDCAAbIRplbYsRBeDamc/7A0LbAlBHwBfwPQcA+b4+WtpDjFoNXijHFAh1PGWajTKre9qWe1tw7QxGOvOila0qcABtUH82a06ll6JGhwhexBE3wp92KS8fmu3yogWDiuLYCfC8kPLLzKktb00vfLiO+zX9oJ7H0FzdembwTyUSmy+ryLXds9P9Ik16dpSTLShzp7abKQ4f/UUA2OwOD90LjgAwTScyYtDAmpu7koZX6B35Fs2HNf8AKDkXBPsLM5SaVHWP4wUp4Yrm67QitZjvP6HC3ysPdooV0sBFmL1/5rrvuNdC6jyfl6O8I3/ghT5MvU0uhohHDq8xzqVhAhhxxNnMQPl1WaeSPWRlBPJnrJnK0tK/cr7V4vyJNSibXB9NmL5ofr9iCV2hvfJOIvl3+oAWCGURaWpIgU1Po28emG0Cp0nmO+B4kusmTxqVGNU56dY/KqWFU2H9rqP6MH1rLe6lMPkRAKbJHmFXAX6PBo2e/5IW0/gNAFAkb3Q77u6pkQfgvAet70LU9u1oXCVIL7hxtXKsFS0JA88xtU7RY4fZxdT3TsjzhPLAfgNChTDiiPP41axI0UXKed2lsnJTjst3sBVdXlKh7pXYK0xeA9b+3mmA2NHI/QN8Vo4PLQSOtRKOPv8gs1jpMMMAUKQQ+Y7jXW8n7MtRIqY7DZMSyTxe1yyUoEmqj6LQyBl5hTtCt1tCld6Zxgudb+P4jzTqP7JHzGzScY1ENOjaAUg2Of/QCOkl9eReE3npylp/ola8+NxoeKx8VkYtRYuJTOGIm2E5Sz86oE8f16yq1sUf7961WhniWhX85KjfnOkLy7r5CgVCyseU4Pt0QG8TZP9D+sO3rutu2hQAQvSd+qGUlV/t22iAf9Wx1KnU9lJFZ+f8T7LQqF+LLYsKMZXXGJLvEA2koKSZl6PPHJuDen2ZNL2gaFtSEUArE+BLBEKBHZXjIFtYmmWNthp1QwUy4oh/4197dO32RV1tfK5cqVp7V5Fcs5ozfcXI+s+aY5fnAxbQDXxfgiX1vLF+LIW69+bIrQXw27cRAOyoBRPLSo5EizwcULs4CDefATYUi39Rr4kmnXXf+Xbc3jgoEpGZS7CSe6GGj6dx3k6NJt7NWnlanqzxLSW0yT/wwv/K/dO5QrLn/xYHTqBNaoVDBkUhsyIujDVvHARBaFXu1rmLXzeyyVBXAqHptuU+bln1vQKvh704Ng9+QUnctbpLP5iFlnpqImHvDwDmLIJokVCms+qB58Kat58uUzc7hadVZ6FNeh9Q188wZrX3lud4hwKMq852tBVBmgjWfAINreiyVbBWcFe4ilzbo/Z/eFETeJnau5gNgAs0WcwxqfqNLoxo1FX4/DDBjDjitubKWFmzDs/IrxY3jkb7O1NuL5J7TNUeHH8H2Z+myClmNdhkdnOugQ/NB0CuPQiFYFZevYCcq7h7iaCYNMC13IRbC+jtATjuqMDDWsAMTkfUzqhIaTRdJzkDAZGLTfYL1grxSWZ+pInI0eJ4bdzvHu0VjngFs7TJAX37h8pkmpFpDezjUTjWB8RODQCw44gRIzoBeDcZLc1yjnUc907k/Hv4G3iC5D7VRQwV0Rcuop4G1hAA+GG9Vd8tKBfRqkTSOlP7G5OazMUk937MerkLEZhTlMJPoydC0WROYTMfGLnGRLwCuQ+WRyLeZJw/AeBULVR4nubunDMUwBT6i5VwbuH8TFhO0dpckNkKSj+YqSguQTcxpJwfjuPpmkzKWuqeT984ntOhC5YRtXPCDLB42Z/xss8wCyK5ILeEl/sIIKkk6+tx7slgVSt9vgEr8kaUTjPitmZ5HlRXNT/vByugwWvI+JOO7b2Mlve+ND1kekc74R7GuXn51zg2gOh4L9M3uqqPyAF61KhRG3q2tz/a3gtc8zPg+QV9QaGwPkkkvOGmM0W0apEWQAC4yxCOb+rq6gY4CWdvXm6eMLiLEIZ74nGvv1XnadRsMrG65gMH9OsfKrQRR9xarP3ozfj7ZbMG7fQcNoDofcqwv3sdGh2Alp3bV+btR1hDd9bV2TXaGKDBH/nfm3IPcu4nWKA3AZP5wlTfcN90R/4WSDWiVYji8XhvwG8qL/FWOUYbMzcXANEAnR8oozzCL/B5HMcajZWWZm2V6909WhSJuG1Y+9DleRAme4UyMv2JHbeVf/tgrdLyfb4sHDfuDlGQg2HDkn9KOsldPC/5MIB4K31jN85rHlyLKZdrpZdrvufaKWlNMaJViLRSxch2Ki9xuptwR2uViu9nZgHgUsty5sAXpOYITZDIRleC8zkdRj9yko64VTlW5g8eMNC3E+FyF8Jmu2jIcWmCMnMrFbDUsqxRI0eOrNR3pcAU8Hmucn4kN6OvrK20smiBz2qKSAspHFs/WED53LI8N+hWEbUDKsiNpqbGrvbc5OtK2ze6ZvR6qXA/3gVZACgfwM940Scx4u3Ece0/zhGgvO8NuLam1vhnRfEDI24dLvX79uoD+DXt7Axny+YMx3Y0b5fjmBzwXCU7pzsUxeMKM5f8W9JNPug5ybsBwm3l8KxzpsPwl2MKdT/Xdb2LBYpybAYAP9GuLZ1PFYtohZO2wyk6BS+lxrisOPXKQVADV4U5VcsJFFA7mJc3i/J/1jGjAVreOWkATAmM+zrlTmKkvJrvOYCHUL3LiPg2n5sMoioQjOIHRry8rEG0X+8+zUZ3dpTWwXYfQV4/Tn13f+XzGPjVBmWRdcpf6mpbKsCXdOvvVTJx+k21Vesl3Fq3h3x1TaeBOG62jqI0PC6naL4X8/1Jrm82IGpEbUACMlT3QQDXGY7DC7adT3mpM3gp3/D3M710Y76mstJngiXwuYxR7nk0vqflC6VjetEIwzESikA4FlLfa1x/KkL0WPo4LMCbB/h95jneLRzXFrqMUOWzrhs+dLhJSh0m2BFH3CzHSv1e3boXEtp+MWbpfWhqSv6l7Wg/6Lj+IsN38jcn/zXfl0qDM33B8k6Jx90hAjP60r0c/0I5QgSO2/Te5g+ZPuJ4J3IcxcAug6tRDu6Wo7POR7QCKaXFJTfmZWkVy6Toy365wQtO80+8tEc0wauVLc1x8IK/4uXurnpUnwkN5DjnpuvRyGknnKkCQARkXPq4BIMR9nBN/nJsJpqgosc0cCXIZl2rFbsofFbELWVpfn169PKV0zctg42wIqKjBNjViHOR5uyQ07OQYwUckfWiFVzD1POulXAwXU3C822dhLMLcj2N77d6dd5fGPiNxaP7wV97lpfZ5YGZvKXnJZ8YOVIZ5Jx9Adzts7XEiFYQCbAAteeClxsmEDnMi1ziut5EBGRrXvaTnuu9VFdXVyFAVKwytLmn4bcol73KO58XfDKCpPyoxtTl2ukaYZ24k9QIqfKBkOXcL4yHDxvud400wYgLZO3y6NW9hwG/MHnKZtdJTkIuPbpGxhTV4gbyexfnzSKIAA1ZfsoaYXWTWxfnh/N9T4BPc4RKjXkMl3V0E67Hd6Mt8ncp9Z5Ov1nLKA+2exjfDxg+fPj/SmMc1X/F7duPKIvQ1mzAqEmfvBAWiH3GdT+i2R1BNQqJVYM5+w6q/R3az4hm9zJlDKgK2IxZ7CQ3S9+Lv3PkMC1h8BLecL5rn3CTztHZLBDsHEWPibgZluYn8Gsqn2+akb8lyOmRAqlU78hQUTwe74+VImslXfYdBQ6m/CEA340p53/vDKwcubMIQIPAwyZ/tvrKgpQSYK+luvh8lDYFmNojWnmkxCy8IDPR20LWvMebmuClmiJeqAJDviGNku8dHSupmIDpFV9MZ3cnBbA0cx9OEL/Qdj5w7fo96636XkaYFFG3mW1y2Txi2IhoTjDiJjlt9obJTz4jf7CnJP8HA2Jd8xb+ilw3eTwgaLavGTm1Hc2Pz+XzHIDvDrvWHpiMJ7trUA+uMfN91DVAoa4Av2Id4+/a8pc1BSJaucRo9H+YrHfwUgvWvsQSAATFqPSqB+3uH5gP47WdBxAczGh4JuU0T6Ly2gVyNcLwR416CJI2gyuMvsLwz8KMfh2tcRPqqrYTzjNWwi7IHBcbEKzsHLnIRJzD8htVZKFCwS+HbecnTNr/AFzK6DZSgCbZRYbvQWbTsrkE2Z0DT+bYO/BstMBDs3OVRLSKkICHF6h4ggVHcabsh/ZIu2dQhXGIhjcHTK+A7/a85C0I0ekA5UTKL2HknOda7l4aVSn3e7hvKlaacyqCtrPcATCFB2s+kPIFAyDP4deOrDMRZCJn6YjFCms1oE8/30oUlMi8UUa2ZOX8DCDezKC+H8e0+PHbeUV7cZzNtNsDZeA+LKDXJMdBl4hoFSI5ZypCxTW8dC35N6UNKmvcx7zwPQVkwfVpMnka5PgpzVJ+hdRrAWovCVwRpi+4x5kym1VOE8DSCJPJZBdM5gMp97qp3xYA2l/yOUfgmmL5CWquJ6xDRLzmsAJoDOgr8GvWyVlc6EArxUD9Iqe8lXBkBj9MP+jJYH+bwDKRSM3/RbQKEi9SWly963rnM7pN4CVrjkOm6kzH9r7WHB/a3dWUGSqTgL/FIwC77DmPMFLWKwDzNARkmucm51H3F5jLL2D6PgToPUX9Hwsg04LF53m27W3jJEzu4ib9A7NZ/l19evaKcg2voSz3qKGDhxYEfsjYLGT6eSNrIeebYuQ37RJjQJAB+wX6xlRk9fsoosuqT0VavYJLAbiBKUB0R2suhL+VfDcTuADhfp6TfJmR7znA7SytbHGu0VDdqlP+g2iAB2kuBYGZhCApdpoRJAmkJpVh+WG9LXDVNQDhrpz7XGUKYYHgwP4DolBaaxh369zVHzFseKhM5DNA9TWmq1Z7q5HDa1sEgrYzG8B72LFMNKO0RiiviMX0iSfUPwKRj2h1JV5yHCHKXjlerPkPy3I3bW4SWOdlbgOe58KfaoM5AuijCaINulcZYbKdJwR+Ki/t0rgSpMDyN0FshocNGWqy+keLI6svmznfwMevgHh+Zr4Yuf1Rc9HpVdhEIlGC3F3OebPHV2Wyr8lnrp+VSDhbAoDycpjEsczeYM5NlVcF1Ubb2VZn0sZvXr7ZHpTFmjCealnJYRRpIACBO0AfRslDKfcYJvCFEkTqUbIkbT06GMH6B59lCn+JgJ1J+VpplTKzOa8w+4sAwk8AyIJGbDMv2C2aF1xdWVp+f833Nb+1zTByN81OeP/MnrJJJpPdkavxQaSXrzTNE3wOrYOyCu67p+a3lQPbAKHjTjMDuTwjnOS9sl6C6iNaHQmrWFmvGuT2QDh8zNsbEAAlZUpTkVfjlXpe/UFofE8gIHIatbUAAsB1xZx4l7oWaTsdIHeUhCiob7Hrem/U19ebgJKcU9TduWiKl7t28iKuKUgjlEncr3ffaF5wNWJp9QqMMazA+T7YBC9V1kJkM+PkrMEVeT0lLXPI1ysA2gl8bnpLpuU+G4/He6uOlG+re68lk9h2XkUuv0C+k+YGEa2epJcOIF2HwDRYRTMCEHdsaXwIWE/PqT/Sc5OPA1pXYW4Mz077p8+MpgKzRdR3nokak1vfEoTpDszh9fh7IPf7CdA8OvDJOhaBazKCTIYTTiqQgkJqhXSoiFchxuTt3aOXcX3SgBv6vvMYgHoRWaxB5HKmZzhWzID8jMqkVnTdpxikPyqgXvkAPmtZVr9EYlRnyn8IT3Uwjbn+A2R17+AWEa2mVJS0kiPR3qYjDDkgKJACnA71POU98Ma6bvI6ZYtD2EJTdUob5BqZwc9IiLLrEmOSPENd/Rl1TWQN6lFSaGXW2o3yDQC4MaasXztiZCrCNJ0oAsJVi/W+lDh/YL8BhWp9GcZqeMRKZVvLkT8zteIkx1NG885TYYW7KnRDwGJZNFad9+fUAO/dpIhIyOVdmrMObhHR6kpazFAMQEyLtyQMacFIzYN4UwG+q6xaz9VcSXBJDgFka9XW2kMRmNMRPLnavIcZMTldT8BL0N7GIVy3cX4ewHr1gAED1k2tDrvnCdRMGcuZnWU6N8tKuFQdxRZcdZgBq2e3Hv7ImtqCtb5slnbnut5T8bgzIh21SCQZZnDdRPPRaG8bIX93Ur6pQXUBsv0Gf03KV55FkV7eQxa3HzZs2J9UJ5/PYlDfw9wgotWbZObKPQYQvBo97j2EYTrmxo0KBikzmSL5Gp9xsQH8BHwHOJYjM1ZhuIxw8f1HvmtVLS2E+qvM+dIqx8Xjye6qRJ73mMsKVinAnYP5fLrneHfwPT/adKMsE6pPr96Ru0w7Zml9musbzIBVQAy/pngpcqI8vQ8yaP9FcmukERIgSiYrK+21kL8zkCEN5mEgKPesZ5HbPS3LfgstNF1mCQP0f+Jxz8wJ2nF7R+Q7biqPaM0gCZBCYmlRQ/NzweEcUhkn7tQBVod7lneoMt5rIQShvFTCFQjTYjS+uxG0CQjit3yfwefXALdjgyALhrhPDwB3SnDNt3V1tqOM/AjwEZjM3wsYg3NNskypYUOHmW10CpkUmcXtg7XIoYGpb8/efl1t81FcCuSlDK4z4EmW5e4OSOX76xXJiRnZ0Q6kzymXA4Jokb8gi0+iAU7je87cM9cAgsnjBayyeKi7UX/YiNYsUpisdbUowsh5uG17+6MxDuKLVuKMdqiJYzTIDxAkBUb4VeaDfLNUrra2Vo7YxYzSOTtNODcKoZthhM9yJwfzOyakv2d7W3PuFc4VtkACa8P8oP4D0DaiyDIrmzUQ9WBAUpCLls71FcACtYXIx7dYFOciX7FssKqp2fr/CywJzUnnXMt3JT0PnWZRWQbeVzVXHVQV0ZpOgcZnm6gwtn0AWtuQsPlA7RkG9OoYXa90neSd0u6CU42SnfD+hTCmQ2o9Wj/EmNuGkqmN6SdzruDADmmW36CS5Uj7iByoVxyrrZfD3BUwZbamFcqA1nwG3LF2wj4M+dtSc4COk9wFK0JbQDODJ+U0zzede9xK+TfNanFWPVm8iIH89v79+0eBTdd0QkPrBQg9hMBov+UHAKDmRBqsAGdRkcyHwEG1qXKG0Ca1Y0Q7SJYCsBfoGNevg2m9iSa7Od7i/Z3ZLCDUnuIo9H7bs4BPGf8GDxxkNPGw99EU865nWpajIB6voDGa+TvAag7fpemFXpPFAk1ZHr/AAsTs+eclXP+lnXAvkjxLPpFjBf2VCZxfT5oXaOtm9kJLRMtI0qBW1aCJCEw3NDplepMwSZAeqKnxSoPTBZGEKBC6tSSA9gi7Kj2/AgA+Fwi3ouzuoyCUAN/FHPssuOdvQmkbk0dBLAs2icUyv5R/RDHlqiIn6jZhaXwD+vb362qb38aWx3rH5j3LLEXWPgOYHgDApvGu5dIyBbm4nGOv8f1nWMCm958rG3znnAbSBbA8EeSGpXI6NlUJzzVPHYikplj+lwFdeT6y68iwOW679yGjShwW0XJQEZ1+E9f2Lh49evSqGDZbc3/1CMSHgXAAVMnrOJa9QySUKLM2JskINLtzEbabBXAI8hiE+xva4yEE7DTMlO+DerUC9zodQLtS0sIt7S8dtfdHx/H21sof9VxGPe9xbcHuMhJo8cgRI82EvELwRwsly8ea4+vepas/aAAaH6ZuY2DSGFN+LnIxjnebr4npnX/FeU19KKTa9chST029KFkRmtxJyMBNnFcZ1TMDzfFKK24dYlnuDsjVwRx7BfCcgVl8lhY85OsaiGWG7BrFzjSeC/lgmmLbeY979gmKR7SslEwm/4RJdw4v7WBpg8HhVYa0yyMIZ/WjBIO/c7QIglDm51sQCTDXBjPlHnMYn09HGLUKLO3xK45dxfXyv9J3CXiY8Mn0US7Xi+CLEeDZdJQnggCVRamE7c4IBFQjuPy4Wq4RAoT9+/Q1PoTqyGEdPOJw1lZELW5ojm9ZVnal6TGATaY/KMH+WbzDnNSUAUsujGxwfh5AdKmS9ev9y5qgH60HuP2bQfMRZHMPfUfRGOa53uUMlNoBgjmcvLO+vj5GmfM9xzsRWcxf0ZX/618AwbfhBjKE3E3m+l5B2YiWh3iBXT0neY/SVvK12bmx9kap6M9GWOfDEsrPPNvbJjhtSGY+QuZQ7ii0vkOVZUvgj7C/iEClhfntRMIRmIbmLgnq/pDOcTx8MoJ7JIJ4JZ8vdke6lTKRE4o27ZpwXus6TvJv1K8I2EZTbAnrXvG6hD908BC/R3W3zB7jSDPM5XR7SGuWv6VCVWkQUfuFtWtTbLR/3idgNQqguoA6jDyFlc1mrlM2wvPUj7Q4pjlmAaF8VDWlQl0nKh0DfewORPBu1/Vmy4fV9/0iBkubez6qcoGoZkjTMxpMOT9WVkb6fgakkTmZykHRiJaTOibtZD0v6JZArV7lQBDAKUYo7pJwICRLGTU/4LcMkOe8HbfrMUOOANz2o1zfLE1XGuH2AeClnFgxZRG4x/ieGXU16a1zgOojisSrxNOaMggA9XJE+B3uN4m/Crj6tbRI103eyP1HazM75vAV1JMJZ9RSlgknd43+vfuaifwo4AKMZqzFI+3c0MJGbU3dsrqzaH7uB7T4+wVK8hvl/d/rucmneKfKL13oe5uHOCib2zPI4VXIyj9dK7mXZAnwewyrRI7LfRkwX+HYs3w20zRaVAPkrmaw3JdjYX592kXSSQEWkCNN11zNX2R5oxLOrXL9tN2SRiw0moPouJetqosidXUKt2988yTUZn8vQnUawvcvCV92eKI0cXwt13K34LrHAMkfAa/3EbKXAbwvAsEGGJ03HcAzMTzRWT5cah+0hH6YN/txn1cD0E0Bpe2+gIZ5DOB3NmB6P3ykAJjjb5u6LTc7wGWLWL9JWuGwIcP83j17mcl9gYFx71jN3WnSv1ELRZrbG9i3v1k8WkbQS2uIC3kfL8phWft1PcsbhWn6ggZSOSsjPw9QrkVTGEG9+juP961kRhM0CJr+BQjy/WtkSUEMMgETAMAt6XcPjho5asPgUCgJICWvfIxWf9uCpNXwIi6CD1gV5wOhjvIJxMSYjPC+hiAfkEgkOkv4gvOhpNEUALyTKzFlvIdklvBZq8uBYNsKrw94OU8CaOPglzn/LZztzpBaKbTcZ+lQmyKoa6s9Gb0l/H/UDhOOFZuRPDXvGNS97Cx3juGAYf8+/QwoVMmdJthpsqqbyunn1xyoghP0rO5unMi1ULSsoCem7cVzAaJnkY99NHc7YIC9Lp/3BPxeRfbPlsbFAGbxT24u2va4zNo712NGe9dTp3Z/jEe+ntNupkD0DJn7AbYM1FvxNdLqViLJJOyZdE2wxfrgmKhjPJ7sorkRbQULjrVL4rk1SsZ51l6F+kmZmIF28qxgxP4Ys1Z5RdKZ9kM5S8B/+6zE7I5zKdcf7dr1O+lZgltkSPuMMZUMuBrApIPwuUVaRhhLM5RGNKj/QMzC7n6X8lQydwOGq4h2aLQ8/srEl3bbp2dvE1BCwQmWB/TSTFsvgicBdodh6HbV+5GDPJr/MYDfu2ho/7YBQ7OQZXmX6N3Cr3JO0Vta7PCeZsmFZdlyqZrFvQ8O5KKjpme451bI3uECZCywazRYpiQlopVGvKCNeekP1tfVV+hlobXsLGCAFzKCPZWdpnJ1IQk9AqhN6nMR2sxGdTrHRAR4LJ9zOgDl/v/2zgTarqLK+7w0n4vVH/01uOz1IYKCgNBpppBAhvfuPdNLoE0QGgVFBFoZWgSZQRBE0QY+kRkUJC1zmEIYRCCMCsgYASGMMs9hNCBT0Mj3+9U55+a+9+4bEpLAezl7rVr3njpVderUqf2vvat27crnjurJJfy+XMS/geSwkyoyv9vRdnvyf8XiEYFguHYki2fJ8z5S52R9F8IUh3KtbdgCqcbNgXJCEDAExJEjRoZDu5UQnTMTXErpKoBj8X9xhfKZZXA3zGqrrIqEt0ZY+db5qA4krH/5Lq3ecz6C3+nVNEmn0+7buSLLZ1DKauPbrIbEdx7S162FK7UwYNXraQ2p7Snzk/eRej0b4WoteoHbIhf4G1HWy0qdca1zY7SII+AnNJXUQbB81+ej9ii2DhV9hOQ2mzTt3DONOw+nU4ziIzlxO5WPdi7/X0YV/N5QtEJ3bzAdvfnchrm868muGPPev/U6xOsZJmcoN7uvRbvcSLzzf3dxvTZFtal6w3TX0W7k71g+f4KDS/JNJQKCjjGPUz135RjmuhopoeHua6EGwEQJceyYsR9sNGrDDzZYb0TYiifoeNj7qit9NjfC1uRmIanQjfyUpxq7qkCHKusijhKqYKepiiCtucqH9MLSI9i+hBcZ1C5EytqS77JS2Wd1T8V1Rxpnl/FdL3fho7wXVl7r6THh+1iOKjBSWrHohbSWXkTcq92fN4Awh298sfnpFzP5/xx94xHCnQyED1HmG9TlXQDyKOrQ5+mHi5KKefLq0HVFcaTAyXSSG/koJ2nnRAdYljj3Kl4+SOcI+6Xg7SVK7is6rWcT/1opLU3TGp31DuKUKB5AwluP5MMKZuqE0U4gLvXayWxA8SzSuX/0L0gU4wU67q/J9VTiLcOdBJfRtvvSpvdyvcAq1kADz+gSjBN4OgAgt+W50jxyxAbBGajziqqg7lAZ/oU1A1gavvD51buEMt45OtMpbXo0gDsvRq4/IhwaFUAOqa5jXK1xrkb3eizMEMCrFk/ju4wav+74LntmiVsmqJ1Jeg/f9nSPUSC6Me/mN6J/Nxs/hx1GztN5Xx6I48wzZeZrHpf0f6IfbeCcY9Ke/JtTNJS1goPj2LHJ5xxMqc9t8NvDnYXTjcVN8rQSKvVav4hasomPNEJzAKWWcoSk8+wIw14zVG2QZAgYqMEAdNw3kQLPiuP4IH5/DGg5NwgwpheWfgMFPTuPv17XXVWeJyW86SownWo5QFJzGFXsnDGi+G3S3UT4NdcBAPlveIJ789J9VKGWG2Y3BwGze+ieJs/74efsPkRAGk+nlH22oLaJHROX5xvsQ5+ewffcR8/Kxb1ASj/09XAmDGU0Fj64RgpM9i0HfdOpTgNYmj71O3D5TZH8bkeVHks523pgv0AawDBJvujgSVl3ktbdI3O0LuB+K5OYRUoCH+D/oIMyl5UUCA1jtJtIZ7qAj/V5Ixz9AMCpQ3Wylk7gUZzlFjh9u7nd6SZA7esA4O7818zGfb9zbIdWi0KA4z6kUSW2899NmSvJbHTyqcYXZXtP+8KTeZ6eQRpxdMADkTYvN38ZX4X5C7TdS0paxScpj6U8DvDTpGmHVh6D+E6rIBneTtvfgBqsu6rG4hT/X2Dw/3YJggJUvd75r0Elzqc0GmdPtwhI/PH95NFf2+ZqUa4Mk3e6fY066d3cuUA1AyXYa5E452tP+4clB2/a5wc8/33qdTT1bLWTaskjGwKG3t9VUv4vV/w/jv+LfYRaDDRM5qDD5js3avHddNyri05xnZPhvPcqjOL7Efe68bTHaYzinyvyB3LOCLB7XNW2M+ncijwr0bmOl1FKpuD/n8mvqt3FgQJxTyN5b1irIWMUBtrlveaApDWbMN87TIZKsC15/17nTGnHvwNmx9tnbU8HH+dtue5wOqL4VM3UpjEybf4aLb+VAxuS2VnFdyrLfE2QUHIr82jyRNm3kWcLQG0aaVzVb66HfWe6TnqVSOWbrJ6tw+/BAO2J9J+f0F92cwdSVEuO4nkziNdWcJviGYuFaKM1wGclWut8cRRNqhwtlBRGzySbHNfpIEl2Ngz/TaKHnL2Sozud/gg6YViZQ407zgOo6ZC3cv0egEbHiFYKcyWJq4Jhq9Q7pO+y0OH0gPN+pB3lfk0Y5GzSdD1eM4pfJ77HljvKewaGOYPyz+kHAOeUAOAv+XTO8FZ9PpwwfMyD0nePd+c9DS7E+Z1meN09TRn4bjPpq99Kk/Q2vus0mHwdPk9L1U5Q43tcQ9rby/k+V/B5zh7E/8k+kZeZ/pm4Y6PhuadnvzED4kUuHDoQKhxQpzB9we8c8l5CvL4nuzy3AMNltlxqnpquVEod6S/pL5QQyymVRU1FXb7NYF/UO72fwd62qqgkPuK/pUnntTTOLe55LaKHFLk3GADR5MXD1z9gtN/WzuG70zmuJ+6vqEHTuF4tXyxJLywY0B0FJ48fP8+S3ykCR3E7E2mU8FRvPHAdKbBPyU1QnU14y/YmnAMYnkE5j7VIW4ZZUT05KeqINqH+mvIs8gWVRRwEv6dp75kAiDtyAhDadrTDNL2nwLBL18d5Tkyix5Te7ChdwHiZQfvQaGRfrqPCnttteN7zSoHd5g6HBSCspTsATGoDrta6F/cAAYywujs7dh65c5AqC0e5FwG+r3pUa3mI0fyQDj4UOtwrXEQtUvL9GHRvL9uNd3yHNjuQW5VRdkl2OJj/a4yk3/dglyJ6SJGdmQ7g6XN2gvfTWrpRcSuYTcCMqghvw4Rncr0WYHMV13mn0TRGD9GoXC6OIAkcqgqMdHAp+Y7l9zDS74/0sDdgeiV5/tZKhZPpybsXaS6Eic5zGx/l7kf5j3LP8yLcSjeb0Mz0AgSgmV4PEJ5DWucwP47qcfCyU4Q5gNys8Ns67Vu8/1Tef0fSvMq7v0QbOg2j04DAmEFy6Yg6SXeVbUOeZonR/2/RFjPS0blE1xv5zWjvaaqAqoJFdBfyWYDSynyLfXneM9TpLucYybu0NqQkaXOeF/74CXWZ4XzxpEmTBsM8uZsfvmZbNbWd/fAhzyL2fp6sotAJykngoUh0BH1zlGeAPOkoXNwKk8RcjwOA7iONixdIipGOURudhvg3ZCRXGZ33IX1aLBY1OhHP0GnDdJjoARh6Onka+fMy0ltUx8yX1JOv0xF1vumiy2txPf0x+deKOzozGO1MytA/YfP8oVKmnocFyUW2imx9BBzaQNBR+nXLGO+uU4GwRfB54jUkvp9B4A6uX6Vd3mEAOJegSjmZ+v8iiiZoQ3kW6VpKrKG8ejyVMq5BQtu+1V5uScmd+7vLtOS5l/rM5PfXzuVlSXaJTg5I1isj850mUCfn9w7sJv31IOcPEQTCnl5+S49Dw1SveZcLqOtNGlL3V87HhQRt+qEnH4bv2NT2TtOo7fR7dERFQ4RgAA9Bz42g68lvo26Srp1aExc6/4Pc/ysSXAk+fy/+C0CPoz7sorRAlsB0SgnlwNGO1ADI3U/nOpOytgIYlOYaDK+EIZP5rKgWHRYYM86mkudCQPUPAML3o3HR+qgta8L0GdcnFIzfLEmFujRdL2iwjO7leGzjfTx3f+r3I+p/WVg4QjugOps59xk8qrQn6yEZrcq7r0L6EwHrWdz7d9U74rYs5pjKE9LKI0vnPYP25b2UZGfTVi+5Cm/79UZuZ8yl7HqteO6nbEfq+Z0s6TyF65ZOcmnHfwK4TvObWuciuk/iW36S76F97C4+A5BI0zi7Pk3S83n+CJIMFhMSF3G2oI1n8X1eYYDV5X+zt/P3GKguo+3c+VWZxQxlEnD42EfSAXIGjOKLZQ5udZEc7PAZEgXpGid68atRM50ofYVwJx1m9SJ5ICVJmFMD07UI69PZ7iM9klE8hbzNZwxfHUXj16cun4jGRmvDUHqn/h3AkZDnhrxeQRp8hutbYe4jBdS0I12Xuv+S+11WID9MAND1iHwZ/x8o37MMXKNaxkcAdHVA8NBCBeyNULGSrTXw5d3DObb8akFQDg4CpD4TLZuBJHae7xYkxSNzUE1uUzIhnN7Pc2jneDOl5ubFA9p+VfDpqijqHFNENVPwx0c7PwqYHc23HbDKivR/Cur3LnEt2z5NOt3NcWwx6A0a2j7afhn64QW0vVMTc/hOHirmavYfuXaawm+iN/Tf8W7jyNKrFF3RICeZC1C50o8Oc+vx+SJGxENUo9CQVhb4iqT53FOUbEtH0buvvuQuhJFj0m4HMz1JhzkftSzYTUqmpwNNAASm8IyL6VQaSc/N5wDnzQMi6bmVbnPC1jDkSZT9qpIP9TgSYHVxRDWzodryXzOcWwITp+n/5f+5xPdqGjI/QYnIPd+8lqYdrdLMBqQupx2Op+36cpDRFlT5KLmO91rBa341Ah5O3LaAk4daPUN5T/GcN6Na/CDvswNhG+6fQ9xrQbWMkoOLfbLdmXCYZSF5bQoYH6/9nlMIwaV8nG0T1ZIDAacZlOGpgQ3TrTDg0Wa8w6nU4RnBnOgBM7gDgMBN3e9m8NmjGCwHFdHGoxlYgqPV8I2j5Pxiy99atPd+od3oc9zXg/UdxI8iWwWCQ5Ha2zs/i0SWq2KoXHzsSc5/CGp0hv+XRumOjvA/XCqXLlRp6UBfTurZdhtuGBg7rPxmcbY7IPgyQDe5WaKQ+WC4dSlrXzqajK3Zyt94lsD2AuEBmMnnfg04c1TWn9yMjg49Aqc3w2QXompuD4MfwT3zlEDE6K3kGK2Q1bMN6dAPFfEfKlCHp1zd5H953kqLNM45po8hAR1PW7S3mh924AB8DiGc6mqjbQZjnew8Ke2ESp+eQBtvEfOetMu+lPtHJQ4Y7l7SIVnFJwBubhsbBejsz2+XaYmRIzv/mXSTaW8dUiiJexavqtwdtNsbqtLG8/8+gDEMSsETs+dEq97lC0qzlaD1B9i9/Fbkogp1/A1l/olyvjwY58WtM33xKL8h719+z+dr42oTuO0gtfS4cfT/JNmFb6wlwxy+hYt/3Q96r2goUDvSBR85LIDATPd11hvnLbgCvBwdfSId5jDCd+kIowt1TDDsMiIW26l+BHO8DnP/xLzFrX/o6EiHc53bEeqa3y1vudrnIoK2Zu8ikTiBH7zLUI8ZlLE/v/eibn2FvKvApJvSIR8ugK6cg3ybfN8RcAHq3ci/MFThuQCLK8m9ziXynLnU77Qg+epNXCBS3R2TfkYJy/cMkl6c3CygAniAXnYzgPlzJNsvwlyfC9MJcXw4+c7gnU5EIv4fnZOOGTPhk0pVvHOQ2rStJN1BgGHzKq27F7alLq8VdXKK4HXa3oUjAfQ2APF+ytWY+a2oI3dFRVibNE8T1/xuqoGzHZyKb99jzst3og6ozNl052Wp/0iiB6VE5IDD+zq4qVGU/Yg2SG9xcYok5XsNc28y7Yyknj1XvHNFQ4yGwZDfglmCegnDXqkaVdwrqS2cIVJLJiA5HASjHKx0JlMU9xukg9UkyjxgSYnOA5pk4mGocB3kO8qJ53p+gtxveF5gQjpjyYhKoK6Kqsq62ipzC0SPIaXcYiDtLKS+e5vMaCgjudQR2x0H1L/0Zr3AIdQnil8APLoacDeFkKYWT7NdVCej4NsuHBOpP8m9+H90mmY38g7PUNYdMA8qb74PVrBGotudtM9RVrlt0G2A01vN9TmvB/ggPcZf5TKAk21P+sMcOKwPZT1Nmd+LOrLOtJZuYHu4KEGb78V9Jcvrgv1mHE/kuvXKs4svSXIpdezi8s2BzfOgszS7BWA9D5BwnrcHSA4SaqMfaa7zMm1zmINT+JZ5G9CnkvMLW98SBNvo6wL/o/bbIq6ioUJ09mWSJD2aj59P/IYT33rf6qcUQne4H4abRbqvENWFEQrJxS7zGGlegaG2loHKQ3CyJHjUeZBnaTbyJpLR77l2sv9FrvUgcy0S3T3Wh3A1YPcI4SUY2L2jpnmmOzAhRbp7xflIO3NvtnUDDRoiPxzV0t14Xp9gChjc7PQB77sS0twmMNbPqOtT5EMCdkeNEoWSV3JY82AhMJGmx5GTDC7HtNqnK+UgG/2oaf+1x7puyPNucjCwjQhK0k/SBg9SlysIF/Cce7h+2TZTZaWMMTzLua3mZzcCaSkrvaKc12MwXD6uZ3vznWZSv+952FF4+iAl6v9ZwQyJ7hIHIgauLXnfh3n3eZKgno+iaFT5zWyDJMmmxnHmAFTRUKJcvQpOT1Wh+PjhzIaWqo3MidRxgMwdmCVOzi4ZhQ6jh+F1iTuZMh7kflAh7Vw63CSJZapSf0pVIqiPUfr79vb29XSTTryry3fBsA8BGNoIqpY9CBgpRXlimZvopyBB6qC2ea5PKfIB7/FsV1Rnu5radH+gIZifkP9tDbmpw078b16lbhUe4D1+BjNdCVPdzvPPowydxCrZWX/nK5+nzVwE0VdiGCyCC6gku4T3cGeFUwDPU/9fFipuj7Ynb9h14X5Zfj290PnFf+bZzom2OrrSYLs01FzSEcI8Fipwz22IzYF3eJd2/lKtVvt0GncewwB5J+C5Q/mtByvx7kvTN3elzV/g/9eMc3D2KAkGCx1AOA2kRD6XNrqV75GQxOM+/9HByakg81Q0hChfAEnvt+PTMXRr317c6kFjtAELh+XkjEW+yyZOnLi8HcvJfDqNhtLlSJozU67eXdO8I4H0y+b7RuNfacNmnJJFGmenEXd1rRbtSR4dLvgcJLqw3xfpJj6R+9cT11jtJf6dNOrcU993evGmTh7ofTrxrVaENeLusV+YOA+Euoff31L+S7zjtfze0aRmGwT07oA4S0nCOUiBhQGgnThXxxvAUwQNtK9tMhXRaeynYajNCF91QOjNzIVyPwXzHUKZOhB1L+4Jm6zuvtlkZ8qdrx0vtM1TgKZHXrpLpNdBgvtuhXTeS0PsG+gTmd+4qNKgpTDwhIOfPOFwnqG/JLjrhIN2OZn394RDB7A7/GZIgp+Ia9lX6x+Rr8KKFiFFUacusF620xMeR8Xq4t2lmcI8YO4VOEiLMP7hMm7UEW0OYLhftzvjl2GW8yhFMVKbiwW5lJGkdLJVQznR+LUBA8+rWAYG/CnPaBhKE7TW777lyzq/gZQYjkukvGBywsi9qYDD/Wag1MW/ixU38P9uymqot/wHAJP7eLdLeY+LSedKqofEN56DVPkigKiqVD4/eMymriuUqpKmKoCnzkJ7tAP1mUPaLuc1Q0p7jbkm22DChAkrqyKTtqNezzbkfTzzOais/L4PA58cnM7mfhS7PGMAIUilSt6q5gKicd3ShEA6V4cv0O1Vs/o+iKnNrYV8h1f4/QbXreYwwzfQooB0V/Et33AwRgL8X2o/pRVERUOIYLZ1nC/ig78BQ1zvfEdxqwe5kwFpZA/AwpPFHpVRg184bfh6Bz/DbDpdj/lCpQpG3hUBwDr/N/GwHqIDIHD9KaTEg3mO4Czgtiq3DDKxUqJzb8+CQiJRO3nvLvOFMurpuTD/7ZqgqFrTwW8tQDWofYDCz3n/zQFAFyich+z+jMY7Ut5c2uKIZjMQ6rwsz/0v2lMjb+37Gumpi/OrB7QCE8tADcso7wTrx/Odx9NB6DOAbJjv5L9lPOS72TbUt7EXe34CeQTuPShjGQcK2uAa35340Mb5c5CqY1R7JKaiioOe1F5oP9os/aMr7UV0rzR2rFMFSItxdh5t1XInTUVDg/T48U8w1sYAxJFBMgA8ZObifhcyLfcmuXVqo42cP9R9UQ+Vr0vg/uuuIpK9x/yWJCjAlPvI1EqZRbTxn9CTcJJkh7mjAWa9izQNDymtAvdfqdXijcnufOMY3ud2F0mK+6qiruYlMoQLC0hYp8j0Rd6/AIzTglFxH2dfmJ4wC2n1i80unSTfRWkhqs9b5TYIgLRVl/NkXN2lDsN5r9O579Y3QbwBRGVeQ3F9F1LuFk4bCGLEzbfnGwDAQ/NLYNOb9ydd3QTwjpHZ0zg7VePt3hZjBinp61IbzBfo23sP0NWWRuw70/euRCr8WJ8GWdHCIQ1Al0tQSWVUGOKHhWSmcWxL4EKCGAvj9jmhboBRn6CcXs9aEBR43glIZr9rBsCSAqDoSEG3ZLkDgV4B0PrQyUcXWd2ovyEg+BvALV+4yV28/xRJ7wtKOJTn5HcjvyAIuPy2CTQNrpDrBUV1+w0kpFtljmbprxvRlsHrTXO5f3W+z3t5kqXa6mPrqFqZOyreQvL7A6D5P/V6dBLPP5f82jsqmTXKIKjCPsdApVH02rzH9PK9BhjmwNBHkbfHfJ7fWTAsFjqGlKqXG4ynU2jne5o9ZfdHDr70yYvoK93NwioayuQIOSF4K4n3QA09TFMBF0u41SztKLUdAVP1K4WgkE4bPnx4n1b0WX728jp9jc6OxACDiyC9PCd5G5D8gcDkvI2ry0g3NQ2oAa0TkX6K7XvBa4w7UJzn61L/AIBRoplOU7npU06QC5rUcQ0dgFKdloOC5PNlOPI2z0HetdFGNV0sSW0yYppkHg35NEC2EwCkmmWZYSeCUxFKmADkxeR9vSynKAtAjq/oQG3m+4Rtg8T3J4W/79Y751tDDZYg4puNp51fYrA7yH5RRPdLDMZfYLA5vBgUKlrSSBUUZhQIt4ehf4IEs43qkxLb8OFbfgImvAbm6pvxBJQ4257iegWMgZLAAlg4L1ha8Ptsf+cAcE8i3RzqaJ1LjMlOqDw38HzPIUZ6ix+LaumevMtXAe7TuDeDOF1XzaY8Ja23KeNZ4icDsjdy3XgHpbPiBLV+aUJtwsoyDc/VLVdoG8rycKk9NLkwjeAGM57Kc18GwHbxvTo7O1d0JR31+8C6h5UnyZeMQ0X+DO+yC2m1G2wsWATbxzi51gUo0n6d500llOe5dAnh3aLkHL7l+gNU/4YMFSYsv6D9HtfDeRE9IHJBxJXf5mmLipZI+qBt3LjOFWFEPTTfA4hM1PsvzBXMZ/oIc2FOVIhNFpoKEeYra/EOgNXpSEe/BvTOhrn31Z6wGN3/IepIN6fDK8k16sL/950/swyBXXWPuq0WRZmrCjsStlYCHTtWwE9mNL1DvviQGxHrWblPyY86TfZZ3Z79Bkz4X+QPqidS6aa044vU++fFBvxJaZy5y8WT8pwDNLjQdDPP3Vgm1s0WcTcBcs0qr+keAVz3tyz+B3dO/PrMxvMJ79Ne95HmJL5dphlNqPASQHrQ5ns+wnc50e9TRFdU0XyRuzjaVQVlMJjpKsBjTSSl8gzhVsF0D8HcumL60NJfMzkiU+6yntec+8KbN6clCCJFuYtDoFACAxDitwCEcKZJkayZrJtSUagjKqKOX5UMy/eY65Y34k7OPBsGadhyCrBtpjbapM5zepyZS5xulc5RojAh7XJsmqSvufJr+wSArSfv8vtnf8lTStW24aNKhuE9O7JNXMUsyy3TEN5T+gNEr+CbnIl0OYXnXYeU+BD59XgSVHGAUkPv5wDjH/bSFh9rss2VnvlGmgqtwTusQliBsGwryVaJW+Nx2vUJvw1RC7UfVrSEUK4KBwcGYZsZ0svMjo50XeeUuG6oZWUgnVLTo8XWocWucjHSf4a6HZ8vMIS9uXvKNNzqlwG0EaP+eqvJ3yWYx0Rf0VCbX7e7hdVSpKm9otHRKqV6VLSRLuMFMP0WNrfH+0pfSiAyKv+DN5WNNopWKhj0WeL+27lWQOr7pO/qhzCKHwT4fgVo/p54DcTDanHjfh7cmqjfxeUI+bm7ejSpJ1tRp/O433ASQd53KO+XLUD8Y0m22bhxyWq0ke17Md/kHtrkEd7jQYCeNkl/Rdt/00WtZiA0D/ceYwCcYpsU0RVVNH9E59EwWYPcsGAAANxA3EqMwv9BBwubycvAfVc0f8/9WFAoiljs5Dwg4f8odVGXAe9iAOB+xjs0Fi8Ap2fIry84yQWKZWq1dAPa42Akrgv59SyUMcE4uR7ru/BZfo/l10UWB4y3kB5vKsoICxw0zdUwMYNIx/KA3n9qEK5Kns/3BacRx5OmGeDcpvcK7X5TEmWnkGc3nnt+AOfmNFHymnmRUkuPPUG61dyHOrhFb16ZUfKHwTC5b3vxPpvxvvdS/9489BTbDvU2nnzX/dKCexJ1HpAm2Yvkr7awVbTgpJQDk+5sJ4Ox57qaJrjRyXRB9Q1Uquu590D4rWd7qx6TbdCpG74noOK+6AZz8V53jB492sOIupDqVZCCkQRpj2n6BQS09GX4Qj7Hl3xJaQ4G3s25RUpvTKTDqBcE7yKj62tYBm27HYx7HBLedQDVE7SxLqwakjX/kSCzU7Is+/ykkeGwoTbBkoHG40k9XKkZFJQ+H+He8TUXrTxj2eMH8nlNQZKQPsXzdrKcUKGPMdF2/0qd72x6vz4D7/k6UuLJ5qM9b6YtL3cAKIqrqKIFI33UwcwHwDgHlPt3C2pT2lp33fH/e8vhH53E1x9ZR5mCMELgLqK7kKASpIiSmfLdHlOUJIskragtl+SSrQGdS2E+PVeH+UYBtUgT5q8041F6BCgvU3ojnXtOXYXWKYLetH+XJNlxcS3VGWvjrBDSvAeg/qi7RG35PHtdDdjJ+welREJp76j0+jeA1rnFtwGGl1xoAawPpw0Gy8qmrtocePtzStEl8L62gacYzorj7MsfLLV4jtisaIiTW+FKU47BRM7fAWR7AA73AASP6DhVQCxuN8ijQGWakpH4r9v9Q1ql7U7OPeVSGappblJzFSC4Z1yLNwNwtkMa/DEAdBkA+zAM6h7nfNdHrh4rJdYAuc/lYJpNIo2LF2U93iRNb/tXl1IqzP3/pf9BfQ8KZ3ZQD1TmqTx3MuEgpVJtLQfTSqhtivq6A+/fq/uu3gJ5+E1uH9nnmcgVVTTESckLCWkfAOVNmGI2IPgX/t/jAkGRpKRhSnH1JldapH8b4PlK88R6P9TmPmLyas4Sdn/wrLeRwjTJeYn/dwNQZzmHBxB63kg4BJ3nngJI7U78jvx3G567ThrMrGQouBbP6Jesr6YuSuSFpDdoJaCsnq1Du80s22I+wltaA1BEJf1VtOSSJ825GoykdSwS1lbOt/H/mlqtVh78Hgigc6Hn0FKFNMB4L5BugyJJv0TaTyP53UbeMCcXQDBK7kOK2ZWQcX9V908LStRlPUBQkxYXXHQEq0qsm6pmOz/P89CUqM+zfYcy5YsZyU60q5J5qwWQloG2vQVpWs/OFVW0ZBLAsXTUkXzX4xtV342ToZCyjvZIzZCoINIuF9XiC2CeBpMBSPd6eHaRpD9qi+POjcnTZb4qzg9taqWGlbaVqMUAX1icmLeaTr7Z3LtaZ53WucizRJJqO9LxN2gP52edOmi0b/dgOzJovOLc35LebhUt4aRUh2p5bL29vinSwL+4rQnQ2Rs1VNfzXRY2lM6QvrrsACHvJYJokaRPMl3SyklpFF/RysFDQR5r+S/uMklqyVHUbQp1OzOJsp/yf2KxelmpcJDt66DlNkG+080AndMEDBLhEKx3kBC1j3wirqfn1uv1L1bgV9ESTy5ewBi6mprJ7yWovnemSfZ0koxPud1lXk+VGAZq7ABRFYWZjihu90syKKDl6m0zAHrQ0XHlDpC+yMUlF2sKd2MDtltc0igHws7g5IL23j7Mp9biXWnnrT2oS2sFklWDRkUVhbm2KPkmwKZTVefTnkjjdNdWJiD1erIFaeYdvK4Th9x91UBJI+dO8jVWbwHdV4zzXp6kooVMtmtzqKiieeRoiWSzcpIkIzWvIGqJ6yS5s4FkF4DwaNXKkbkhcQ9CSkMFTn8c64cvSt4jPKdpCrcG3GY+CxXWOb05SZL+BQA8cSDSX0UVVbQQSdUvGheNghn3cOIYhpwNY98IGI7j9mLfm/sxoX6BTPORMGC46hil09M4O1WbvOIoygEBofmRHHdg0NGd1aA+QrKiigYTtblahtQyQkPfuB7vU6vFE90hEFS6sDqWXAVT6ti0oj5IFTmcIObuDt1bxSlAmGwNuH16gPNzguUSJ21XVNFHQrmZQDQmqiX7wrT7oep5pscyroTBvAcBfsG7CVLga8W8VsWcA6M2pbiklkxAPT4BMDwvRaru6Oj4/ACBsKKKKlpEFJhTtRbpZN+4nu3uPlNAL2yWz5OEecAVAMETAMHnUekeAwA3I7oCwPmjcFxi3BGPZoD5gUCIhH1ISntX7tIrqmgxkxIfUkg7zHgG4SKlP+OK2z2I+x52NKFeT/+9myODiuaTNFdxFweDzl6JZyTH6TFK3MXAU1FFFS1qguE2S+L0SdTauai1r6ZR+p8DMPys5qUWIjlP6JxgFmfbIBGeDSCeotsp47i9pC40VVTRoifUrhWRPE4DAN229XcY8AHPPihu90sl8+qPzrnCIrqiBSBXjseMST+jJMig9GIcJ1Pr9WzD4nZFFVW0KKizs3PFOEo9IjLsjeT/LcX+1l6lPH32AXijkig7lDx/IryGGncGcTr8rKTDBaM2nY7S/o/lC02utmc3VCpxRRUtWmrzRLO4nszMATCZAxOe2WLfaZvGvy6QaBoDs+5bryffQlp5PDBsPXk3iZLjqsn8BaNJkyb9I+rvz5sPUqdtX0nTdHiRpKKKKloUpCobeZBOnJ9EFkCwHh8yHknP+0h2y3Z0xFG9Hu8Pk+7nqqVG0h0dE5cHLH+ltFLkey4aG60dCq1ovsiDjWj/7sdovhu1h9PwKqqookVJqrVxnHqSWPCay+8LAN+38/NutQlMd03aE8/MbTaPaat71kKcXEv612HYR5Kkq3uoigZGtNuatHFQf5sA8M/RuGj9IklFFVW0KMl9vqiypwNmzgd6CPadSILfAQjX78uFvbsdoo50S01kBuL2vaKeRBuvDuA91BUAk5meWVwkqaiiihY1BUaMslPiON4b6W6NwixmIAsbpqkWQBaQNEaPo3QawBdOcQteZOL0IG5VbVpRRYuRhgGCyw3AHrCihUiawURRujlSoOcAI4GnUybUJngIe0UVLSAttdT/BwVk09POMETXAAAAAElFTkSuQmCC" + var YAudio = function (params) { + var defaultOption = { + element: null, + autoplay: false, + audio: null, + playIndex: 0, + barColor: '#666666', + proBarColor: '#fe4f58,#b1060f' + } + // 合并后的参数 + this.option = Object.assign({}, defaultOption, params) + // 歌曲索引 + this.playIndex = this._isArray(this.option.audio) + ? this.option.playIndex + : -1 + // 是否是单曲 + this.single = + (this._isArray(this.option.audio) && this.option.audio.length === 1) || + !this._isArray(this.option.audio) + this.music = this.getMusic(this.playIndex) + // 是否正在播放 + this.playing = false + // 鼠标是否正在 波形 滑动中 + this.moving = false + // 是否音频加载完成 + this.load = false + // 是否已经开始播放 + this.start = false + // 进度是否滚动到评论区 + this.commentMoving = false + // 保存音频 + this.audioMap = new Map() + // 保存滚动的参数 + this.data = { + offsetTop: 0, + pageY: 0, + touching: false + } + + this.init() + + this.setMusic(this.playIndex, 'click') + + } + + YAudio.prototype = { + init: function () { + var element = + 'string' === typeof this.option.element + ? document.querySelector(this.option.element) + : this.option.element + if (!element) { + throw new Error('必须要一个容器承载') + } + + this.bindHandlers() + // 获取评论列表 + // this.getCommentList() + this.initDom() + this.attachDomEvents() + }, + bindHandlers: function () { + for (var methodName of [ + 'onWaveformClick', + 'onWaveformMouseMove', + 'onWaveformMouseLeave', + + 'onCommentMouseMove', + 'onCommentMouseLeave', + + 'onAudioEnd', + 'onAudioLoadedData', + 'onAudioDurationChange', + + 'onAudilListScroll', + 'onAudioListClick', + 'onAudioListMore', + + 'onScrollBarMousedown', + 'onScrollBarMousemove', + 'onScrollBarMouseup', + + 'onPlay', + 'onSubmit' + ]) { + this[methodName] = this[methodName].bind(this) + } + }, + initDom: function () { + var element = this.option.element + var html = ` +
+
+ +
+
+
+
+
+ + + + + +
+
+

${this.music.author}

+

${this.music.title}

+
+
+
+
+
+ +
+ +
+
+ ${ + this.single + ? ` +
+
+
+
+ 中原 +

这是一条评论!

+
+
+
+ ` + : `` + } + + +
+ ${ + !this.single + ? ` +
+
+
+
    + ${this.option.audio + .map( + (_, i) => + ` +
  • + +
    ${ + i + 1 + }
    +
    + ${ + _.author + } - + ${ + _.title + } +
    +
    +
  • + ` + ) + .join('')} +
+
+
查看更多 ${ + this.option.audio.length + } 首
+
+
+ ` + : `` + } +
+ ` + element.insertAdjacentHTML('beforeEnd', html) + }, + initAudio: function () { + // 创建一个音频上下文 + var audioCtx = (this.audioCtx = new (window.AudioContext || + window.webkitAudioContext)()) + + // 创建一个分析音频模块 + this.analyser = audioCtx.createAnalyser() + // 设置音频的数量大小 默认是2048 + this.analyser.fftSize = 512 + + // 关联音频 + this.analyser.connect(audioCtx.destination) + + // 对音频进行解码 + this.decodeArrayBuffer() + }, + decodeArrayBuffer: function () { + var self = this + + this.width = this.waveform.clientWidth + this.height = this.waveform.clientHeight + + this.audioCtx.decodeAudioData( + this.arraybuffer, + function (buffer) { + var pcm = self.loadDecodedBuffer(buffer) + self.pcm = pcm + self.pcmToCanvas(pcm) + }, + function (err) { + console.log(err) + } + ) + }, + loadDecodedBuffer: function (buffer) { + var accuracy = 100 + // 创建 AudioBufferSourceNode + this.befferSource = this.audioCtx.createBufferSource() + // 讲解码之后的 buffer 放到 AudioBufferSourceNode 的 buffer 中 + this.befferSource.buffer = buffer + this.befferSource.connect(this.analyser) + + // 返回计算断开时波形的最大值和最小值 + var peaks = this.drawPeaks() + + return peaks.map(function (item) { + return Math.abs(Math.round(item * accuracy) / accuracy) + }) + }, + drawPeaks: function () { + var befferSource = this.befferSource.buffer, + length = 200 + var sampleSize = befferSource.length / length + var sampleStep = ~~(sampleSize / 10) || 1 + var channels = befferSource.numberOfChannels + var splitPeaks = [] + var mergedPeaks = [] + + for (var c = 0; c < channels; c++) { + var peaks = (splitPeaks[c] = []) + var chan = befferSource.getChannelData(c) + + for (var i = 0; i < length; i++) { + var start = ~~(i * sampleSize) + var end = ~~(start + sampleSize) + var min = 0 + var max = 0 + + for (var j = start; j < end; j += sampleStep) { + var value = chan[j] + + if (value > max) { + max = value + } + + if (value < min) { + min = value + } + } + + peaks[2 * i] = max + peaks[2 * i + 1] = min + + if (c == 0 || max > mergedPeaks[2 * i]) { + mergedPeaks[2 * i] = max + } + + if (c == 0 || min < mergedPeaks[2 * i + 1]) { + mergedPeaks[2 * i + 1] = min + } + } + } + + return mergedPeaks + }, + drawCanvas: function (canvas, peaks, color) { + var bar_space = 1, + botSize = 0.25, + self = this + + var ctx = canvas.getContext('2d') + var ratio = self._getPixelRatio(ctx) + + canvas.width = self.width * ratio + canvas.height = self.height * ratio + canvas.style.width = self.width + 'px' + canvas.style.height = self.height + 'px' + + ctx.scale(ratio, ratio) + ctx.imageSmoothingEnabled = false + ctx.imageSmoothing = false + ctx.imageSmoothingQuality = 'high' + ctx.webkitImageSmoothing = false + + var max = Math.max.apply(null, peaks) + + var newArr = [] + for (var i = 0; i < peaks.length; i++) { + newArr[i] = parseFloat(peaks[i] / Number(max)) + } + + var barCount = self.width / 3 + + var bar_w = Math.ceil(self.width / barCount) + + var topSize = 1 - botSize + var lastBarHeight = 0 + var searched_index = null + var proBarColors = [] + + function drawBars(isReflection) { + for (var i = 0; i < barCount; i++) { + ctx.save() + + searched_index = Math.ceil(i * (newArr.length / barCount)) + + if (i < barCount / 5) { + if (newArr[searched_index] < 0.1) { + newArr[searched_index] = 0.1 + } + } + if ( + newArr.length > barCount * 2.5 && + i > 0 && + i < newArr.length - 1 + ) { + newArr[searched_index] = + Math.abs( + newArr[searched_index] + + newArr[searched_index - 1] + + newArr[searched_index + 1] + ) / 3 + } + + var targetRatio = isReflection ? botSize : topSize + + var barHeight = Math.abs( + newArr[searched_index] * self.height * targetRatio + ) + + if (isNaN(lastBarHeight)) { + lastBarHeight = 0 + } + barHeight = barHeight / 1.5 + lastBarHeight / 2.5 + lastBarHeight = barHeight + + ctx.lineWidth = 0 + barHeight = Math.floor(barHeight) + var barPositionTop = isReflection + ? self.height * topSize + : Math.ceil(self.height * targetRatio - barHeight) + + ctx.beginPath() + ctx.rect(i * bar_w, barPositionTop, bar_w - bar_space, barHeight) + + if (isReflection) { + ctx.fillStyle = self.hexToRgb(color, 0.25) + } else { + ctx.fillStyle = color + } + + if (color === self.option.proBarColor) { + if (color.indexOf(',') > -1) { + proBarColors = color.split(',') + } + if (proBarColors.length) { + var startColor = isReflection + ? self.hexToRgb(proBarColors[0], 0.25) + : proBarColors[0] + var endColor = isReflection + ? self.hexToRgb(proBarColors[1], 0.25) + : proBarColors[1] + + gradient = ctx.createLinearGradient(0, 0, 0, self.height) + gradient.addColorStop(0, startColor) + gradient.addColorStop(1, endColor) + ctx.fillStyle = gradient + } + } + + ctx.fill() + ctx.closePath() + ctx.restore() + } + } + ctx.clearRect(0, 0, self.width, self.height) + drawBars() + drawBars(true) + }, + ready: function () { + var element = this.option.element, + playIndex = this.playIndex + if ( + (playIndex > -1 && !this.audioMap.get(playIndex)) || + playIndex === -1 + ) { + this.audio = document.createElement('audio') + this.audio.src = this.music.url + this.audio.preload = 'metadata' + this.audio.volume = 0.7 + } else { + this.audio = this.audioMap.get(playIndex) + } + + this.load = true + this.attachAudioEvents() + element.classList.add('load') + element.querySelector('.yAudio-pic').setAttribute('src', this.music.pic) + element.querySelector('.yAudio-author').innerHTML = this.music.author + element.querySelector('.yAudio-title').innerHTML = this.music.title + + if (this.option.autoplay && !this._isMobile()) { + this.onPlay() + } + this.option.autoplay = true + + if (playIndex > -1) { + this.audio.pcm = this.pcm + this.audioMap.set(playIndex, this.audio) + } + }, + onWaveformClick: function (event) { + if (!this.playing && !this.start) return + var element = this.option.element + var duration = this.audio.duration + var x = event.pageX + var left = x - event.currentTarget.getBoundingClientRect().left + var time = (left / this.width) * duration + + var totalWidth = element.querySelector('.yAudio-total').clientWidth + + this.audio.currentTime = time + + if (this.width - left > totalWidth) { + element.querySelector('.yAudio-current').style.left = left + 'px' + } else { + element.querySelector('.yAudio-current').style.left = + this.width - totalWidth + 'px' + } + + event.currentTarget.style.setProperty('--bar-left', left + 'px') + element.querySelector('.yAudio-pro').style.width = left + 'px' + element.querySelector('.yAudio-current').innerHTML = this.formatTime(time) + + this.single && this.renderComment(left) + }, + onWaveformMouseMove: function (event) { + var element = this.option.element + var duration = this.audio.duration + var x = event.pageX + var left = x - event.currentTarget.getBoundingClientRect().left + var time = (left / this.width) * duration + + this.moving = true + event.currentTarget.style.setProperty('--bar-left', left + 'px') + element.querySelector('.yAudio-current').innerHTML = this.formatTime(time) + }, + onWaveformMouseLeave: function () { + var element = this.option.element + + this.moving = false + element.querySelector('.yAudio-current').innerHTML = this.formatTime( + this.audio.currentTime + ) + }, + onCommentMouseMove: function (event) { + this.commentMoving = true + var element = this.option.element, + currentTarget = event.currentTarget + + element.classList.add('comment') + currentTarget.classList.add('current') + + this.single && this.renderComment(currentTarget.offsetLeft) + }, + onCommentMouseLeave: function (event) { + this.commentMoving = false + var element = this.option.element, + currentTarget = event.currentTarget, + wrapper = element.querySelector('.yAudio-wrapper') + + wrapper.classList.remove('active') + currentTarget.classList.remove('current') + }, + onAudioError: function () { + this.waveform.innerHTML = ' - Error happens ╥﹏╥' + }, + onAudioEnd: function () { + this.resetMusic() + if (this.playIndex < this.option.audio.length - 1) { + this.setMusic(this.playIndex, 'next') + } else { + this.audioPause() + } + }, + onAudioLoadedData: function () { + // 关闭评论加载 + return; + var self = this + var element = this.option.element, + commentList = this.commentList, + wrapper = element.querySelector('.yAudio-wrapper') + + wrapper.innerHTML = '' + commentList.forEach(function (item) { + var left = (item.duration / self.audio.duration) * self.width + var obj = { + class: 'yAudio-wrapper__item', + style: + 'left: ' + left + 'px;background-image: url(' + item.avatar + ')', + 'data-user': item.user, + 'data-text': item.text + } + var comment = document.createElement('div') + for (var [key, value] of Object.entries(obj)) { + comment.setAttribute(key, value) + } + wrapper.appendChild(comment) + self.addEvent(comment, 'mousemove', self.onCommentMouseMove) + self.addEvent(comment, 'mouseleave', self.onCommentMouseLeave) + }) + }, + onAudioDurationChange: function () { + var element = this.option.element + var duration = this.audio.duration + if (duration !== 1) { + element.querySelector('.yAudio-total').innerHTML = + this.formatTime(duration) + element.querySelector('.yAudio-time').innerHTML = + this.formatTime(duration) + } + }, + onAudilListScroll: function () { + var element = this.option.element, + container = element.querySelector('.yAudio-list-container'), + wrapper = element.querySelector('.yAudio-list-wrapper'), + bar = element.querySelector('.yAudio-list-bar') + + var wHeight = wrapper.offsetHeight + var cHeight = container.offsetHeight + + var top = (container.scrollTop * cHeight) / wHeight + + if (bar) { + bar.style.top = top + 'px' + } + }, + onAudioListClick: function (event) { + var element = this.option.element, + items = element.querySelectorAll('.yAudio-list-wrapper__item'), + item = event.target + var target = item.closest('.yAudio-list-wrapper__item') + + var index = this._getIndex(target) + + for (var i = 0, len = items.length; i < len; i++) { + items[i].classList.remove('active') + } + + items[index].classList.add('active') + + this.resetMusic() + this.audioPause() + this.setMusic(index, 'click') + }, + onAudioListMore: function () { + var self = this + var element = this.option.element, + container = element.querySelector('.yAudio-list-container'), + wrapper = element.querySelector('.yAudio-list-wrapper'), + more = element.querySelector('.yAudio-more'), + height = 30 + + if (container.classList.contains('active')) { + container.classList.remove('active') + more.innerHTML = `查看更多 ${this.option.audio.length} 首` + + element.querySelector('.yAudio-list-bar').remove() + + container.scrollTo({ + top: height * this.playIndex, + behavior: 'smooth' + }) + } else { + container.classList.add('active') + more.innerHTML = `收起` + + setTimeout(function () { + var wHeight = wrapper.offsetHeight + var cHeight = container.offsetHeight + + var height = cHeight * (cHeight / wHeight) + var top = (container.scrollTop * cHeight) / wHeight + + var bar = document.createElement('div') + bar.className = 'yAudio-list-bar' + bar.style.height = height + 'px' + bar.style.top = top + 'px' + + self.addEvent(bar, 'mousedown', self.onScrollBarMousedown) + + container.appendChild(bar) + }, 300) + } + }, + onScrollBarMousedown: function (event) { + event.preventDefault() + var bar = event.target + + this.data.offsetTop = bar.offsetTop + this.data.mouseY = event.pageY + this.data.touching = true + + bar.classList.add('active') + this.addEvent(document, 'mousemove', this.onScrollBarMousemove) + this.addEvent(document, 'mouseup', this.onScrollBarMouseup) + }, + onScrollBarMousemove: function (event) { + event.preventDefault() + if (!this.data.touching) return + var element = this.option.element, + container = element.querySelector('.yAudio-list-container'), + wrapper = element.querySelector('.yAudio-list-wrapper'), + bar = element.querySelector('.yAudio-list-bar'), + data = this.data + + var wHeight = wrapper.offsetHeight + var cHeight = container.offsetHeight + + var diff = (wHeight * cHeight) / wHeight - bar.offsetHeight + var diff2 = data.offsetTop + (event.pageY - data.mouseY) + var top = 0 + + if (data.offsetTop + (event.pageY - data.mouseY) <= 0) { + top = 0 + } else if (data.offsetTop + (event.pageY - data.mouseY) >= diff) { + top = diff + } else { + top = diff2 + } + + bar.style.top = top + 'px' + + container.scrollTop = bar.offsetTop * (wHeight / cHeight) + }, + onScrollBarMouseup: function () { + var element = this.option.element, + bar = element.querySelector('.yAudio-list-bar') + + this.data.touching = false + + bar.classList.remove('active') + this.removeEvent(document, 'mousemove', this.onScrollBarMousemove) + this.removeEvent(document, 'mouseup', this.onScrollBarMouseup) + }, + onPlay: function () { + if (!this.load) return + var element = this.option.element, + width = this.width, + self = this + + var totalWidth = element.querySelector('.yAudio-total').clientWidth + + this.playing = !this.playing + + + if (this.playing) { + this.audio.play() + this.start = true + element.classList.add('start') + element.classList.add('play') + + function getCurrentTime() { + var proBarWidth = + (self.audio.currentTime / self.audio.duration) * width + + if (proBarWidth > width) { + proBarWidth = width + } + + if (!self.commentMoving && self.single) { + // 渲染评论 + self.renderComment(proBarWidth) + } + + if (!self.moving) { + element.querySelector('.yAudio-current').innerHTML = + self.formatTime(self.audio.currentTime) + } + + if (self.width - proBarWidth > totalWidth) { + element.querySelector('.yAudio-current').style.left = + proBarWidth + 'px' + } + + element.querySelector('.yAudio-pro').style.width = proBarWidth + 'px' + + if (self.playing) { + requestAnimationFrame(getCurrentTime) + } + } + requestAnimationFrame(getCurrentTime) + } else { + this.audioPause() + } + let oPlayEy=document.getElementsByClassName("yAudio-pic")[0]; + var seii = setInterval(function() { + (i == 360) ? i = 0 : i++; + oPlayEy.style.transform = "rotate(" + i + "deg)"; + + if(self.audio.paused) { + + clearInterval(seii) + } + }, 30); + }, + onSubmit: function (event) { + console.log(11) + var duration = this.audio.currentTime + if (event.keyCode === 13) { + var text = event.target.value + this.commentList.push({ + duration: duration, + avatar: './1.jpeg', + user: '周杰伦', + text: text + }) + this.onAudioLoadedData() + } + }, + audioPause: function () { + var element = this.option.element + + this.audio.pause() + this.playing = false + element.classList.remove('play') + }, + attachDomEvents: function () { + var element = this.option.element + this.waveform = element.querySelector('.yAudio-waveform') + + this.addEvent(this.waveform, 'click', this.onWaveformClick) + this.addEvent(this.waveform, 'mousemove', this.onWaveformMouseMove) + this.addEvent(this.waveform, 'mouseleave', this.onWaveformMouseLeave) + + !this.single && + this.addEvent( + element.querySelector('.yAudio-list-container'), + 'scroll', + this.onAudilListScroll + ) + !this.single && + this.addEvent( + element.querySelector('.yAudio-list-wrapper'), + 'click', + this.onAudioListClick + ) + !this.single && + this.addEvent( + element.querySelector('.yAudio-more'), + 'click', + this.onAudioListMore + ) + + this.addEvent(element.querySelector('.yAudio-play'), 'click', this.onPlay) + this.addEvent(element.querySelector('.yAudio-pic'), 'click', this.onPlay) + }, + attachAudioEvents: function () { + this.addEvent(this.audio, 'error', this.onAudioError) + this.addEvent(this.audio, 'ended', this.onAudioEnd) + this.addEvent(this.audio, 'durationchange', this.onAudioDurationChange) + + this.single && + this.addEvent(this.audio, 'loadeddata', this.onAudioLoadedData) + }, + hexToRgb: function (hex, palpha) { + var result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex) + var str = '' + if (result) { + result = { + r: parseInt(result[1], 16), + g: parseInt(result[2], 16), + b: parseInt(result[3], 16) + } + + str = + 'rgba(' + + result.r + + ',' + + result.g + + ',' + + result.b + + ',' + + (palpha ? palpha : 1) + + ')' + } + + return str + }, + formatTime: function (time) { + time = time | 0 + var minute = (time / 60) | 0 + var second = this._pad(time % 60) + return minute + ':' + second + }, + addEvent: function (elm, type, fn) { + if (window.attachEvent) { + elm.attachEvent('on' + type, fn) + } else if (window.addEventListener) { + elm.addEventListener(type, fn, false) + } else { + elm['on' + type] = fn + } + }, + removeEvent: function (elm, type, fn) { + if (window.detachEvent) { + elm.detachEvent('on' + type, fn) + } else if (window.removeEventListener) { + elm.removeEventListener(type, fn, false) + } else { + elm['on' + type] = null + } + }, + renderComment: function (offsetLeft) { + var element = this.option.element, + popover = element.querySelector('.yAudio-popover-wrapper'), + wrapper = element.querySelector('.yAudio-wrapper'), + user = popover.querySelector('.yAudio-popover-wrapper__user'), + comment = popover.querySelector('.yAudio-popover-wrapper__comment'), + items = element.querySelectorAll('.yAudio-wrapper__item') + + items.forEach(function (item) { + item.classList.remove('current') + }) + var index = this._findClosestElementIndex(items, offsetLeft) + + if (index === -1) { + wrapper.classList.remove('active') + return + } + + if (offsetLeft < this.width / 2) { + popover.classList.remove('right') + + popover.style.right = 'auto' + popover.style.left = items[index].offsetLeft + 'px' + } else { + popover.classList.add('right') + + popover.style.left = 'auto' + popover.style.right = + this.width - items[index].offsetLeft - items[index].clientWidth + 'px' + } + wrapper.classList.add('active') + items[index].classList.add('current') + user.innerHTML = items[index].getAttribute('data-user') + comment.innerHTML = items[index].getAttribute('data-text') + }, + getCommentList: function () { + this.commentList = [ + { + duration: 8, + avatar: 'https://cdn.staticaly.com/gh/ZHOUYUANN/BlogBed@master/1.1mq8h4qx4ups.webp?raw=true', + user: '卷灯酒', + text: '哈哈哈哈哈' + }, + { + duration: 40, + avatar: 'https://cdn.staticaly.com/gh/ZHOUYUANN/BlogBed@master/2.11s74qf2536o.webp?raw=true', + user: '深院空巷', + text: '我是一只小可爱' + }, + { + duration: 42, + avatar: 'https://cdn.staticaly.com/gh/ZHOUYUANN/BlogBed@master/4.56lixtsqn0s0.webp?raw=true', + user: '周大帅', + text: '我是大帅哥!!!' + }, + { + duration: 44, + avatar: 'https://cdn.staticaly.com/gh/ZHOUYUANN/BlogBed@master/3.5z5sa9i3xwg0.webp?raw=true', + user: '孤痞°', + text: '当爱情遗落成遗迹 用象形刻划成回忆' + }, + { + duration: 146, + avatar: 'https://cdn.staticaly.com/gh/ZHOUYUANN/BlogBed@master/20210127165426_83208.5u72n89gbas0.gif?raw=true', + user: '莫忘初心丶', + text: '垃圾王者荣耀' + } + ] + }, + getMusic: function (index) { + let music={}; + index > -1 ? music=this.option.audio[index] : music=this.option.audio; + if(music.title==undefined){ + music.title='' + } + if(music.author==undefined){ + music.author='' + } + if(music.pic==undefined || music.pic==''){ + music.pic=cover + } + return music; + }, + setMusic: function (index, type) { + var self = this + var element = this.option.element, + container = element.querySelector('.yAudio-list-container'), + items = element.querySelectorAll('.yAudio-list-wrapper__item'), + height = 30 + if (this.single) { + this.getMusicArrayBuffer(function () { + self.initAudio() + }) + return + } + if (type === 'next') { + if (this.playIndex > -1) { + index++ + } + } + items[this.playIndex].classList.remove('active') + items[this.playIndex].classList.add('isload') + items[index].classList.add('active') + this.playIndex = index + this.music = this.getMusic(this.playIndex) + + var audio = this.audioMap.get(this.playIndex) + if (audio && audio.pcm) { + setTimeout(function () { + self.pcm = audio.pcm + self.pcmToCanvas(audio.pcm) + }, 300) + } else { + this.getMusicArrayBuffer(function () { + self.initAudio() + }) + } + if (!container.classList.contains('active')) { + // 滚动列表 + container.scrollTo({ + top: height * this.playIndex, + behavior: 'smooth' + }) + } + }, + resetMusic: function () { + var element = this.option.element + + this.load = false + this.start = false + this.playing = false + this.audio.currentTime = 0 + + element.classList.remove('load') + element.classList.remove('start') + element.classList.remove('play') + }, + getMusicArrayBuffer: function (callback) { + var self = this + var xhr = new XMLHttpRequest() + xhr.open('GET', this.music.url, true) + xhr.responseType = 'arraybuffer' + xhr.onreadystatechange = function () { + if (xhr.readyState === 4) { + if ((xhr.status >= 200 && xhr.status < 300) || xhr.status === 304) { + self.arraybuffer = xhr.response + callback() + } else { + throw new Error('获取音频地址失败: ' + xhr.status) + } + } + } + xhr.send() + }, + pcmToCanvas: function (pcm) { + var element = this.option.element, + barColor = this.option.barColor, + proBarColor = this.option.proBarColor + this.drawCanvas( + element.querySelector('.yAudio-waveform-canvas'), + pcm, + barColor + ) + this.drawCanvas( + element.querySelector('.yAudio-pro-canvas'), + pcm, + proBarColor + ) + this.ready() + }, + _getPixelRatio: function (context) { + var backingStore = + context.backingStorePixelRatio || + context.webkitBackingStorePixelRatio || + context.mozBackingStorePixelRatio || + context.msBackingStorePixelRatio || + context.oBackingStorePixelRatio || + context.backingStorePixelRatio || + 1 + return (window.devicePixelRatio || 1) / backingStore + }, + _pad: function (num) { + var len = num.toString().length + while (len < 2) { + num = '0' + num + len++ + } + return num + }, + _isMobile: function () { + return navigator.userAgent.match( + /(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i + ) + }, + _getIndex: function (ele) { + var index = 0 + for (var p = ele.previousSibling; p; ) { + if (p.nodeType == 1) { + index++ + } + p = p.previousSibling + } + return index + }, + _findClosestElementIndex: function (elements, offsetLeft) { + var elementsArr = [].slice.call(elements) + var result = elementsArr.reduce( + function (last, current, index) { + var difference = offsetLeft - current.offsetLeft + if ( + Math.abs(difference) < last.diff && + 0 <= difference && + difference <= current.clientWidth + ) { + last.diff = Math.abs(difference) + last.index = index + } + return { + diff: last.diff, + index: last.index + } + }, + { + diff: Infinity, + index: -1 + } + ) + return result.index + }, + _isArray: function (data) { + return Object.prototype.toString.call(data) === '[object Array]' + } + } + + window.YAudio = YAudio +})(window) diff --git a/public/static/common/js/superVideo.js b/public/static/common/js/superVideo.js new file mode 100644 index 0000000..3fda588 --- /dev/null +++ b/public/static/common/js/superVideo.js @@ -0,0 +1 @@ +!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Super",[],e):"object"==typeof exports?exports.Super=e():t.Super=e()}(window,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=139)}([function(t,e,n){var r=n(2),i=n(18),o=n(11),u=n(12),a=n(19),c=function(t,e,n){var s,f,l,v,h=t&c.F,p=t&c.G,d=t&c.S,y=t&c.P,g=t&c.B,m=p?r:d?r[e]||(r[e]={}):(r[e]||{}).prototype,_=p?i:i[e]||(i[e]={}),b=_.prototype||(_.prototype={});for(s in p&&(n=e),n)l=((f=!h&&m&&void 0!==m[s])?m:n)[s],v=g&&f?a(l,r):y&&"function"==typeof l?a(Function.call,l):l,m&&u(m,s,l,t&c.U),_[s]!=l&&o(_,s,v),y&&b[s]!=l&&(b[s]=l)};r.core=i,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){var r=n(4);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(48)("wks"),i=n(33),o=n(2).Symbol,u="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=u&&o[t]||(u?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(21),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,e,n){t.exports=!n(3)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(1),i=n(98),o=n(23),u=Object.defineProperty;e.f=n(7)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return u(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(8),i=n(32);t.exports=n(7)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(2),i=n(11),o=n(14),u=n(33)("src"),a=n(143),c=(""+a).split("toString");n(18).inspectSource=function(t){return a.call(t)},(t.exports=function(t,e,n,a){var s="function"==typeof n;s&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(s&&(o(n,u)||i(n,u,t[e]?""+t[e]:c.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||a.call(this)}))},function(t,e,n){var r=n(0),i=n(3),o=n(24),u=/"/g,a=function(t,e,n,r){var i=String(o(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(r).replace(u,""")+'"'),a+">"+i+""};t.exports=function(t,e){var n={};n[t]=e(a),r(r.P+r.F*i((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(49),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e,n){var r=n(50),i=n(32),o=n(15),u=n(23),a=n(14),c=n(98),s=Object.getOwnPropertyDescriptor;e.f=n(7)?s:function(t,e){if(t=o(t),e=u(e,!0),c)try{return s(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(14),i=n(9),o=n(71)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e){var n=t.exports={version:"2.6.11"};"number"==typeof __e&&(__e=n)},function(t,e,n){var r=n(10);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e,n){"use strict";var r=n(3);t.exports=function(t,e){return!!t&&r((function(){e?t.call(null,(function(){}),1):t.call(null)}))}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(0),i=n(18),o=n(3);t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],u={};u[t]=e(n),r(r.S+r.F*o((function(){n(1)})),"Object",u)}},function(t,e,n){var r=n(19),i=n(49),o=n(9),u=n(6),a=n(87);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,v=5==t||l,h=e||a;return function(e,a,p){for(var d,y,g=o(e),m=i(g),_=r(a,p,3),b=u(m.length),w=0,S=n?h(e,b):c?h(e,0):void 0;b>w;w++)if((v||w in m)&&(y=_(d=m[w],w,g),t))if(n)S[w]=y;else if(y)switch(t){case 3:return!0;case 5:return d;case 6:return w;case 2:S.push(d)}else if(f)return!1;return l?-1:s||f?f:S}}},function(t,e,n){"use strict";if(n(7)){var r=n(29),i=n(2),o=n(3),u=n(0),a=n(64),c=n(95),s=n(19),f=n(39),l=n(32),v=n(11),h=n(41),p=n(21),d=n(6),y=n(126),g=n(35),m=n(23),_=n(14),b=n(44),w=n(4),S=n(9),E=n(84),x=n(36),P=n(17),O=n(37).f,M=n(86),k=n(33),C=n(5),F=n(26),L=n(54),T=n(52),j=n(89),A=n(46),N=n(59),R=n(38),I=n(88),D=n(115),B=n(8),W=n(16),U=B.f,V=W.f,G=i.RangeError,H=i.TypeError,z=i.Uint8Array,Y=Array.prototype,q=c.ArrayBuffer,K=c.DataView,X=F(0),$=F(2),J=F(3),Z=F(4),Q=F(5),tt=F(6),et=L(!0),nt=L(!1),rt=j.values,it=j.keys,ot=j.entries,ut=Y.lastIndexOf,at=Y.reduce,ct=Y.reduceRight,st=Y.join,ft=Y.sort,lt=Y.slice,vt=Y.toString,ht=Y.toLocaleString,pt=C("iterator"),dt=C("toStringTag"),yt=k("typed_constructor"),gt=k("def_constructor"),mt=a.CONSTR,_t=a.TYPED,bt=a.VIEW,wt=F(1,(function(t,e){return Ot(T(t,t[gt]),e)})),St=o((function(){return 1===new z(new Uint16Array([1]).buffer)[0]})),Et=!!z&&!!z.prototype.set&&o((function(){new z(1).set({})})),xt=function(t,e){var n=p(t);if(n<0||n%e)throw G("Wrong offset!");return n},Pt=function(t){if(w(t)&&_t in t)return t;throw H(t+" is not a typed array!")},Ot=function(t,e){if(!w(t)||!(yt in t))throw H("It is not a typed array constructor!");return new t(e)},Mt=function(t,e){return kt(T(t,t[gt]),e)},kt=function(t,e){for(var n=0,r=e.length,i=Ot(t,r);r>n;)i[n]=e[n++];return i},Ct=function(t,e,n){U(t,e,{get:function(){return this._d[n]}})},Ft=function(t){var e,n,r,i,o,u,a=S(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,v=M(a);if(null!=v&&!E(v)){for(u=v.call(a),r=[],e=0;!(o=u.next()).done;e++)r.push(o.value);a=r}for(l&&c>2&&(f=s(f,arguments[2],2)),e=0,n=d(a.length),i=Ot(this,n);n>e;e++)i[e]=l?f(a[e],e):a[e];return i},Lt=function(){for(var t=0,e=arguments.length,n=Ot(this,e);e>t;)n[t]=arguments[t++];return n},Tt=!!z&&o((function(){ht.call(new z(1))})),jt=function(){return ht.apply(Tt?lt.call(Pt(this)):Pt(this),arguments)},At={copyWithin:function(t,e){return D.call(Pt(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Pt(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return I.apply(Pt(this),arguments)},filter:function(t){return Mt(this,$(Pt(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Pt(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){X(Pt(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Pt(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return st.apply(Pt(this),arguments)},lastIndexOf:function(t){return ut.apply(Pt(this),arguments)},map:function(t){return wt(Pt(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return at.apply(Pt(this),arguments)},reduceRight:function(t){return ct.apply(Pt(this),arguments)},reverse:function(){for(var t,e=Pt(this).length,n=Math.floor(e/2),r=0;r1?arguments[1]:void 0)},sort:function(t){return ft.call(Pt(this),t)},subarray:function(t,e){var n=Pt(this),r=n.length,i=g(t,r);return new(T(n,n[gt]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,d((void 0===e?r:g(e,r))-i))}},Nt=function(t,e){return Mt(this,lt.call(Pt(this),t,e))},Rt=function(t){Pt(this);var e=xt(arguments[1],1),n=this.length,r=S(t),i=d(r.length),o=0;if(i+e>n)throw G("Wrong length!");for(;o255?255:255&r),i.v[h](n*e+i.o,r,St)}(this,n,t)},enumerable:!0})};_?(p=n((function(t,n,r,i){f(t,p,s,"_d");var o,u,a,c,l=0,h=0;if(w(n)){if(!(n instanceof q||"ArrayBuffer"==(c=b(n))||"SharedArrayBuffer"==c))return _t in n?kt(p,n):Ft.call(p,n);o=n,h=xt(r,e);var g=n.byteLength;if(void 0===i){if(g%e)throw G("Wrong length!");if((u=g-h)<0)throw G("Wrong length!")}else if((u=d(i)*e)+h>g)throw G("Wrong length!");a=u/e}else a=y(n),o=new q(u=a*e);for(v(t,"_d",{b:o,o:h,l:u,e:a,v:new K(o)});ldocument.F=Object<\/script>"),t.close(),c=t.F;r--;)delete c.prototype[o[r]];return c()};t.exports=Object.create||function(t,e){var n;return null!==t?(a.prototype=r(t),n=new a,a.prototype=null,n[u]=t):n=c(),void 0===e?n:i(n,e)}},function(t,e,n){var r=n(100),i=n(72).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){"use strict";var r=n(2),i=n(8),o=n(7),u=n(5)("species");t.exports=function(t){var e=r[t];o&&e&&!e[u]&&i.f(e,u,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var r=n(19),i=n(113),o=n(84),u=n(1),a=n(6),c=n(86),s={},f={};(e=t.exports=function(t,e,n,l,v){var h,p,d,y,g=v?function(){return t}:c(t),m=r(n,l,e?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(h=a(t.length);h>_;_++)if((y=e?m(u(p=t[_])[0],p[1]):m(t[_]))===s||y===f)return y}else for(d=g.call(t);!(p=d.next()).done;)if((y=i(d,m,p.value,e))===s||y===f)return y}).BREAK=s,e.RETURN=f},function(t,e,n){var r=n(12);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(!r(t)||t._t!==e)throw TypeError("Incompatible receiver, "+e+" required!");return t}},function(t,e,n){var r=n(8).f,i=n(14),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){var r=n(20),i=n(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),i))?n:o?r(e):"Object"==(u=r(e))&&"function"==typeof e.callee?"Arguments":u}},function(t,e,n){var r=n(0),i=n(24),o=n(3),u=n(75),a="["+u+"]",c=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),f=function(t,e,n){var i={},a=o((function(){return!!u[t]()||"​…"!="​…"[t]()})),c=i[t]=a?e(l):u[t];n&&(i[n]=c),r(r.P+r.F*a,"String",i)},l=f.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),2&e&&(t=t.replace(s,"")),t};t.exports=f},function(t,e){t.exports={}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;nf;)if((a=c[f++])!=a)return!0}else for(;s>f;f++)if((t||f in c)&&c[f]===n)return t||f||0;return!t&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(20);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var r=n(21),i=n(24);t.exports=function(t){return function(e,n){var o,u,a=String(i(e)),c=r(n),s=a.length;return c<0||c>=s?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===s||(u=a.charCodeAt(c+1))<56320||u>57343?t?a.charAt(c):o:t?a.slice(c,c+2):u-56320+(o-55296<<10)+65536}}},function(t,e,n){var r=n(4),i=n(20),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],u=o[r]();u.next=function(){return{done:n=!0}},o[r]=function(){return u},t(o)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(44),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){"use strict";n(117);var r=n(12),i=n(11),o=n(3),u=n(24),a=n(5),c=n(90),s=a("species"),f=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),l=function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2===n.length&&"a"===n[0]&&"b"===n[1]}();t.exports=function(t,e,n){var v=a(t),h=!o((function(){var e={};return e[v]=function(){return 7},7!=""[t](e)})),p=h?!o((function(){var e=!1,n=/a/;return n.exec=function(){return e=!0,null},"split"===t&&(n.constructor={},n.constructor[s]=function(){return n}),n[v](""),!e})):void 0;if(!h||!p||"replace"===t&&!f||"split"===t&&!l){var d=/./[v],y=n(u,v,""[t],(function(t,e,n,r,i){return e.exec===c?h&&!i?{done:!0,value:d.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),g=y[0],m=y[1];r(String.prototype,t,g),i(RegExp.prototype,v,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)})}}},function(t,e,n){var r=n(2).navigator;t.exports=r&&r.userAgent||""},function(t,e,n){"use strict";var r=n(2),i=n(0),o=n(12),u=n(41),a=n(30),c=n(40),s=n(39),f=n(4),l=n(3),v=n(59),h=n(43),p=n(76);t.exports=function(t,e,n,d,y,g){var m=r[t],_=m,b=y?"set":"add",w=_&&_.prototype,S={},E=function(t){var e=w[t];o(w,t,"delete"==t||"has"==t?function(t){return!(g&&!f(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!f(t)?void 0:e.call(this,0===t?0:t)}:"add"==t?function(t){return e.call(this,0===t?0:t),this}:function(t,n){return e.call(this,0===t?0:t,n),this})};if("function"==typeof _&&(g||w.forEach&&!l((function(){(new _).entries().next()})))){var x=new _,P=x[b](g?{}:-0,1)!=x,O=l((function(){x.has(1)})),M=v((function(t){new _(t)})),k=!g&&l((function(){for(var t=new _,e=5;e--;)t[b](e,e);return!t.has(-0)}));M||((_=e((function(e,n){s(e,_,t);var r=p(new m,e,_);return null!=n&&c(n,y,r[b],r),r}))).prototype=w,w.constructor=_),(O||k)&&(E("delete"),E("has"),y&&E("get")),(k||P)&&E(b),g&&w.clear&&delete w.clear}else _=d.getConstructor(e,t,y,b),u(_.prototype,n),a.NEED=!0;return h(_,t),S[t]=_,i(i.G+i.W+i.F*(_!=m),S),g||d.setStrong(_,t,y),_}},function(t,e,n){for(var r,i=n(2),o=n(11),u=n(33),a=u("typed_array"),c=u("view"),s=!(!i.ArrayBuffer||!i.DataView),f=s,l=0,v="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[v[l++]])?(o(r.prototype,a,!0),o(r.prototype,c,!0)):f=!1;t.exports={ABV:s,CONSTR:f,TYPED:a,VIEW:c}},function(t,e,n){"use strict";t.exports=n(29)||!n(3)((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete n(2)[t]}))},function(t,e,n){"use strict";var r=n(0);t.exports=function(t){r(r.S,t,{of:function(){for(var t=arguments.length,e=new Array(t);t--;)e[t]=arguments[t];return new this(e)}})}},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(19),u=n(40);t.exports=function(t){r(r.S,t,{from:function(t){var e,n,r,a,c=arguments[1];return i(this),(e=void 0!==c)&&i(c),null==t?new this:(n=[],e?(r=0,a=o(c,arguments[2],2),u(t,!1,(function(t){n.push(a(t,r++))}))):u(t,!1,n.push,n),new this(n))}})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(t){for(var e in t)delete t[e]},e.isEmpty=function(t){var e=void 0;for(e in t)return!1;return!e};e.assign="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1,i=arguments.length;r0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){"use strict";var r=n(29),i=n(0),o=n(12),u=n(11),a=n(46),c=n(81),s=n(43),f=n(17),l=n(5)("iterator"),v=!([].keys&&"next"in[].keys()),h=function(){return this};t.exports=function(t,e,n,p,d,y,g){c(n,e,p);var m,_,b,w=function(t){if(!v&&t in P)return P[t];switch(t){case"keys":case"values":return function(){return new n(this,t)}}return function(){return new n(this,t)}},S=e+" Iterator",E="values"==d,x=!1,P=t.prototype,O=P[l]||P["@@iterator"]||d&&P[d],M=O||w(d),k=d?E?w("entries"):M:void 0,C="Array"==e&&P.entries||O;if(C&&(b=f(C.call(new t)))!==Object.prototype&&b.next&&(s(b,S,!0),r||"function"==typeof b[l]||u(b,l,h)),E&&O&&"values"!==O.name&&(x=!0,M=function(){return O.call(this)}),r&&!g||!v&&!x&&P[l]||u(P,l,M),a[e]=M,a[S]=h,d)if(m={values:E?M:w("values"),keys:y?M:w("keys"),entries:k},g)for(_ in m)_ in P||o(P,_,m[_]);else i(i.P+i.F*(v||x),e,m);return m}},function(t,e,n){"use strict";var r=n(36),i=n(32),o=n(43),u={};n(11)(u,n(5)("iterator"),(function(){return this})),t.exports=function(t,e,n){t.prototype=r(u,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var r=n(58),i=n(24);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,!"/./"[t](e)}catch(t){}}return!0}},function(t,e,n){var r=n(46),i=n(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){"use strict";var r=n(8),i=n(32);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(44),i=n(5)("iterator"),o=n(46);t.exports=n(18).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(232);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){"use strict";var r=n(9),i=n(35),o=n(6);t.exports=function(t){for(var e=r(this),n=o(e.length),u=arguments.length,a=i(u>1?arguments[1]:void 0,n),c=u>2?arguments[2]:void 0,s=void 0===c?n:i(c,n);s>a;)e[a++]=t;return e}},function(t,e,n){"use strict";var r=n(31),i=n(116),o=n(46),u=n(15);t.exports=n(80)(Array,"Array",(function(t,e){this._t=u(t),this._i=0,this._k=e}),(function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,i,o=n(51),u=RegExp.prototype.exec,a=String.prototype.replace,c=u,s=(r=/a/,i=/b*/g,u.call(r,"a"),u.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=void 0!==/()??/.exec("")[1];(s||f)&&(c=function(t){var e,n,r,i,c=this;return f&&(n=new RegExp("^"+c.source+"$(?!\\s)",o.call(c))),s&&(e=c.lastIndex),r=u.call(c,t),s&&r&&(c.lastIndex=c.global?r.index+r[0].length:e),f&&r&&r.length>1&&a.call(r[0],n,(function(){for(i=1;in;)e.push(arguments[n++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},h=function(t){delete g[t]},"process"==n(20)(l)?r=function(t){l.nextTick(u(m,t,1))}:d&&d.now?r=function(t){d.now(u(m,t,1))}:p?(o=(i=new p).port2,i.port1.onmessage=_,r=u(o.postMessage,o,1)):f.addEventListener&&"function"==typeof postMessage&&!f.importScripts?(r=function(t){f.postMessage(t+"","*")},f.addEventListener("message",_,!1)):r="onreadystatechange"in s("script")?function(t){c.appendChild(s("script")).onreadystatechange=function(){c.removeChild(this),m.call(t)}}:function(t){setTimeout(u(m,t,1),0)}),t.exports={set:v,clear:h}},function(t,e,n){var r=n(2),i=n(92).set,o=r.MutationObserver||r.WebKitMutationObserver,u=r.process,a=r.Promise,c="process"==n(20)(u);t.exports=function(){var t,e,n,s=function(){var r,i;for(c&&(r=u.domain)&&r.exit();t;){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){u.nextTick(s)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var f=a.resolve(void 0);n=function(){f.then(s)}}else n=function(){i.call(r,s)};else{var l=!0,v=document.createTextNode("");new o(s).observe(v,{characterData:!0}),n=function(){v.data=l=!l}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},function(t,e,n){"use strict";var r=n(10);function i(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},function(t,e,n){"use strict";var r=n(2),i=n(7),o=n(29),u=n(64),a=n(11),c=n(41),s=n(3),f=n(39),l=n(21),v=n(6),h=n(126),p=n(37).f,d=n(8).f,y=n(88),g=n(43),m=r.ArrayBuffer,_=r.DataView,b=r.Math,w=r.RangeError,S=r.Infinity,E=m,x=b.abs,P=b.pow,O=b.floor,M=b.log,k=b.LN2,C=i?"_b":"buffer",F=i?"_l":"byteLength",L=i?"_o":"byteOffset";function T(t,e,n){var r,i,o,u=new Array(n),a=8*n-e-1,c=(1<>1,f=23===e?P(2,-24)-P(2,-77):0,l=0,v=t<0||0===t&&1/t<0?1:0;for((t=x(t))!=t||t===S?(i=t!=t?1:0,r=c):(r=O(M(t)/k),t*(o=P(2,-r))<1&&(r--,o*=2),(t+=r+s>=1?f/o:f*P(2,1-s))*o>=2&&(r++,o/=2),r+s>=c?(i=0,r=c):r+s>=1?(i=(t*o-1)*P(2,e),r+=s):(i=t*P(2,s-1)*P(2,e),r=0));e>=8;u[l++]=255&i,i/=256,e-=8);for(r=r<0;u[l++]=255&r,r/=256,a-=8);return u[--l]|=128*v,u}function j(t,e,n){var r,i=8*n-e-1,o=(1<>1,a=i-7,c=n-1,s=t[c--],f=127&s;for(s>>=7;a>0;f=256*f+t[c],c--,a-=8);for(r=f&(1<<-a)-1,f>>=-a,a+=e;a>0;r=256*r+t[c],c--,a-=8);if(0===f)f=1-u;else{if(f===o)return r?NaN:s?-S:S;r+=P(2,e),f-=u}return(s?-1:1)*r*P(2,f-e)}function A(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function N(t){return[255&t]}function R(t){return[255&t,t>>8&255]}function I(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return T(t,52,8)}function B(t){return T(t,23,4)}function W(t,e,n){d(t.prototype,e,{get:function(){return this[n]}})}function U(t,e,n,r){var i=h(+n);if(i+e>t[F])throw w("Wrong index!");var o=t[C]._b,u=i+t[L],a=o.slice(u,u+e);return r?a:a.reverse()}function V(t,e,n,r,i,o){var u=h(+n);if(u+e>t[F])throw w("Wrong index!");for(var a=t[C]._b,c=u+t[L],s=r(+i),f=0;fY;)(G=z[Y++])in m||a(m,G,E[G]);o||(H.constructor=m)}var q=new _(new m(2)),K=_.prototype.setInt8;q.setInt8(0,2147483648),q.setInt8(1,2147483649),!q.getInt8(0)&&q.getInt8(1)||c(_.prototype,{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},!0)}else m=function(t){f(this,m,"ArrayBuffer");var e=h(t);this._b=y.call(new Array(e),0),this[F]=e},_=function(t,e,n){f(this,_,"DataView"),f(t,m,"DataView");var r=t[F],i=l(e);if(i<0||i>r)throw w("Wrong offset!");if(i+(n=void 0===n?r-i:v(n))>r)throw w("Wrong length!");this[C]=t,this[L]=i,this[F]=n},i&&(W(m,"byteLength","_l"),W(_,"buffer","_b"),W(_,"byteLength","_l"),W(_,"byteOffset","_o")),c(_.prototype,{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var e=U(this,2,t,arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=U(this,2,t,arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return A(U(this,4,t,arguments[1]))},getUint32:function(t){return A(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return j(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return j(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){V(this,1,t,N,e)},setUint8:function(t,e){V(this,1,t,N,e)},setInt16:function(t,e){V(this,2,t,R,e,arguments[2])},setUint16:function(t,e){V(this,2,t,R,e,arguments[2])},setInt32:function(t,e){V(this,4,t,I,e,arguments[2])},setUint32:function(t,e){V(this,4,t,I,e,arguments[2])},setFloat32:function(t,e){V(this,4,t,B,e,arguments[2])},setFloat64:function(t,e){V(this,8,t,D,e,arguments[2])}});g(m,"ArrayBuffer"),g(_,"DataView"),a(_.prototype,u.VIEW,!0),e.ArrayBuffer=m,e.DataView=_},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0}},{key:"removeEventListener",value:function(t,e){var n=this.listeners_[t];if(n){var r=n.indexOf(e);-1!==r&&(t in this.pendingRemovals_?(n[r]=u.VOID,++this.pendingRemovals_[t]):(n.splice(r,1),0===n.length&&delete this.listeners_[t]))}}}]),e}(i.default);e.default=s},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){t.exports=!n(7)&&!n(3)((function(){return 7!=Object.defineProperty(n(69)("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(14),i=n(15),o=n(54)(!1),u=n(71)("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,s=[];for(n in a)n!=u&&r(a,n)&&s.push(n);for(;e.length>c;)r(a,n=e[c++])&&(~o(s,n)||s.push(n));return s}},function(t,e,n){var r=n(8),i=n(1),o=n(34);t.exports=n(7)?Object.defineProperties:function(t,e){i(t);for(var n,u=o(e),a=u.length,c=0;a>c;)r.f(t,n=u[c++],e[n]);return t}},function(t,e,n){var r=n(15),i=n(37).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(r(t))}},function(t,e,n){"use strict";var r=n(7),i=n(34),o=n(55),u=n(50),a=n(9),c=n(49),s=Object.assign;t.exports=!s||n(3)((function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t})),7!=s({},t)[n]||Object.keys(s({},e)).join("")!=r}))?function(t,e){for(var n=a(t),s=arguments.length,f=1,l=o.f,v=u.f;s>f;)for(var h,p=c(arguments[f++]),d=l?i(p).concat(l(p)):i(p),y=d.length,g=0;y>g;)h=d[g++],r&&!v.call(p,h)||(n[h]=p[h]);return n}:s},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(10),i=n(4),o=n(106),u=[].slice,a={},c=function(t,e,n){if(!(e in a)){for(var r=[],i=0;i>>0||(u.test(n)?16:10))}:r},function(t,e,n){var r=n(2).parseFloat,i=n(45).trim;t.exports=1/r(n(75)+"-0")!=-1/0?function(t){var e=i(String(t),3),n=r(e);return 0===n&&"-"==e.charAt(0)?-0:n}:r},function(t,e,n){var r=n(20);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){var r=n(78),i=Math.pow,o=i(2,-52),u=i(2,-23),a=i(2,127)*(2-u),c=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=Math.abs(t),s=r(t);return ia||n!=n?s*(1/0):s*n}},function(t,e,n){var r=n(1);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t.return;throw void 0!==o&&r(o.call(t)),e}}},function(t,e,n){var r=n(10),i=n(9),o=n(49),u=n(6);t.exports=function(t,e,n,a,c){r(e);var s=i(t),f=o(s),l=u(s.length),v=c?l-1:0,h=c?-1:1;if(n<2)for(;;){if(v in f){a=f[v],v+=h;break}if(v+=h,c?v<0:l<=v)throw TypeError("Reduce of empty array with no initial value")}for(;c?v>=0:l>v;v+=h)v in f&&(a=e(a,f[v],v,s));return a}},function(t,e,n){"use strict";var r=n(9),i=n(35),o=n(6);t.exports=[].copyWithin||function(t,e){var n=r(this),u=o(n.length),a=i(t,u),c=i(e,u),s=arguments.length>2?arguments[2]:void 0,f=Math.min((void 0===s?u:i(s,u))-c,u-a),l=1;for(c0;)c in n?n[a]=n[c]:delete n[a],a+=l,c+=l;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(90);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(7)&&"g"!=/./g.flags&&n(8).f(RegExp.prototype,"flags",{configurable:!0,get:n(51)})},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){var r=n(1),i=n(4),o=n(94);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(122),i=n(42);t.exports=n(63)("Map",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{get:function(t){var e=r.getEntry(i(this,"Map"),t);return e&&e.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(8).f,i=n(36),o=n(41),u=n(19),a=n(39),c=n(40),s=n(80),f=n(116),l=n(38),v=n(7),h=n(30).fastKey,p=n(42),d=v?"_s":"size",y=function(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n};t.exports={getConstructor:function(t,e,n,s){var f=t((function(t,r){a(t,f,e,"_i"),t._t=e,t._i=i(null),t._f=void 0,t._l=void 0,t[d]=0,null!=r&&c(r,n,t[s],t)}));return o(f.prototype,{clear:function(){for(var t=p(this,e),n=t._i,r=t._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];t._f=t._l=void 0,t[d]=0},delete:function(t){var n=p(this,e),r=y(n,t);if(r){var i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),n[d]--}return!!r},forEach:function(t){p(this,e);for(var n,r=u(t,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(t){return!!y(p(this,e),t)}}),v&&r(f.prototype,"size",{get:function(){return p(this,e)[d]}}),f},def:function(t,e,n){var r,i,o=y(t,e);return o?o.v=n:(t._l=o={i:i=h(e,!0),k:e,v:n,p:r=t._l,n:void 0,r:!1},t._f||(t._f=o),r&&(r.n=o),t[d]++,"F"!==i&&(t._i[i]=o)),t},getEntry:y,setStrong:function(t,e,n){s(t,e,(function(t,n){this._t=p(t,e),this._k=n,this._l=void 0}),(function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?f(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,f(1))}),n?"entries":"values",!n,!0),l(e)}}},function(t,e,n){"use strict";var r=n(122),i=n(42);t.exports=n(63)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";var r,i=n(2),o=n(26)(0),u=n(12),a=n(30),c=n(103),s=n(125),f=n(4),l=n(42),v=n(42),h=!i.ActiveXObject&&"ActiveXObject"in i,p=a.getWeak,d=Object.isExtensible,y=s.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},m={get:function(t){if(f(t)){var e=p(t);return!0===e?y(l(this,"WeakMap")).get(t):e?e[this._i]:void 0}},set:function(t,e){return s.def(l(this,"WeakMap"),t,e)}},_=t.exports=n(63)("WeakMap",g,m,s,!0,!0);v&&h&&(c((r=s.getConstructor(g,"WeakMap")).prototype,m),a.NEED=!0,o(["delete","has","get","set"],(function(t){var e=_.prototype,n=e[t];u(e,t,(function(e,i){if(f(e)&&!d(e)){this._f||(this._f=new r);var o=this._f[t](e,i);return"set"==t?this:o}return n.call(this,e,i)}))})))},function(t,e,n){"use strict";var r=n(41),i=n(30).getWeak,o=n(1),u=n(4),a=n(39),c=n(40),s=n(26),f=n(14),l=n(42),v=s(5),h=s(6),p=0,d=function(t){return t._l||(t._l=new y)},y=function(){this.a=[]},g=function(t,e){return v(t.a,(function(t){return t[0]===e}))};y.prototype={get:function(t){var e=g(this,t);if(e)return e[1]},has:function(t){return!!g(this,t)},set:function(t,e){var n=g(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(t){var e=h(this.a,(function(e){return e[0]===t}));return~e&&this.a.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,o){var s=t((function(t,r){a(t,s,e,"_i"),t._t=e,t._i=p++,t._l=void 0,null!=r&&c(r,n,t[o],t)}));return r(s.prototype,{delete:function(t){if(!u(t))return!1;var n=i(t);return!0===n?d(l(this,e)).delete(t):n&&f(n,this._i)&&delete n[this._i]},has:function(t){if(!u(t))return!1;var n=i(t);return!0===n?d(l(this,e)).has(t):n&&f(n,this._i)}}),s},def:function(t,e,n){var r=i(o(e),!0);return!0===r?d(t).set(e,n):r[t._i]=n,t},ufstore:d}},function(t,e,n){var r=n(21),i=n(6);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length!");return n}},function(t,e,n){var r=n(37),i=n(55),o=n(1),u=n(2).Reflect;t.exports=u&&u.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){"use strict";var r=n(56),i=n(4),o=n(6),u=n(19),a=n(5)("isConcatSpreadable");t.exports=function t(e,n,c,s,f,l,v,h){for(var p,d,y=f,g=0,m=!!v&&u(v,h,3);g0)y=t(e,n,p,o(p.length),y,l-1)-1;else{if(y>=9007199254740991)throw TypeError();e[y]=p}y++}g++}return y}},function(t,e,n){var r=n(6),i=n(77),o=n(24);t.exports=function(t,e,n,u){var a=String(o(t)),c=a.length,s=void 0===n?" ":String(n),f=r(e);if(f<=c||""==s)return a;var l=f-c,v=i.call(s,Math.ceil(l/s.length));return v.length>l&&(v=v.slice(0,l)),u?v+a:a+v}},function(t,e,n){var r=n(7),i=n(34),o=n(15),u=n(50).f;t.exports=function(t){return function(e){for(var n,a=o(e),c=i(a),s=c.length,f=0,l=[];s>f;)n=c[f++],r&&!u.call(a,n)||l.push(t?[n,a[n]]:a[n]);return l}}},function(t,e,n){var r=n(44),i=n(132);t.exports=function(t){return function(){if(r(this)!=t)throw TypeError(t+"#toJSON isn't generic");return i(this)}}},function(t,e,n){var r=n(40);t.exports=function(t,e){var n=[];return r(t,!1,n.push,n,e),n}},function(t,e){t.exports=Math.scale||function(t,e,n,r,i){return 0===arguments.length||t!=t||e!=e||n!=n||r!=r||i!=i?NaN:t===1/0||t===-1/0?t:(t-e)*(i-r)/(n-e)+r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={PC:"pc",MB:"mb"}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};s(this,e);var n={target:null,source:null,autoplay:!1},r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.option=Object.assign({},n,t),r.rollBarrage_=!1,r.createElement_(),r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"createElement_",value:function(){var t=this,e=this.option.target;e.className="sv-target";var n=this.video_=document.createElement("VIDEO");n.setAttribute("width","100%"),n.setAttribute("height","100%"),n.autoplay=this.option.autoplay,n.onloadedmetadata=function(){n.currentTime=t.option.currentTime},n.loop=this.option.loop,n.muted=this.option.muted,n.playbackRate=this.option.playbackRate,n.poster=this.option.poster,n.volume=this.option.volume,e.appendChild(n),this.addSource_(),this.createControlContainer_(e);var r=this.option.leftControls,i=this.option.rightControls,o=this.option.centerControls;r.length>0&&r.forEach((function(e){t.addControlLeft_(e)})),i.length>0&&i.forEach((function(e){t.addControlRight_(e)})),o.length>0&&o.forEach((function(e){t.addControlCenter_(e)})),this.createLoading_(),this.listenerEvents_()}},{key:"createControlContainer_",value:function(t){var e=this,n=this.control_=document.createElement("div");n.className="sv-control",t.appendChild(n);var r=document.createElement("div");r.className="sv-play-container",n.appendChild(r);var i=this.playMenu_=document.createElement("button");i.className="sv-playBtn",r.appendChild(i);var u=this.btnInner_=document.createElement("span");u.innerHTML="",u.className="sv-font sv-play",i.appendChild(u);var a=this.leftControl_=document.createElement("div");a.className="sv-control-left",r.appendChild(a);var c=document.createElement("div");c.className="sv-time",r.appendChild(c);var s=this.timeStart_=document.createElement("span");s.className="sv-time-s",s.innerHTML="00:00";var f=document.createElement("span");f.className="sv-time-split",f.innerHTML="/";var l=this.timeEnd_=document.createElement("span");l.className="sv-time-e",l.innerHTML="00:00",c.appendChild(s),c.appendChild(f),c.appendChild(l);var v=this.controlCenter_=document.createElement("div");v.className="sv-control-c",n.appendChild(v);var h=this.controlRight_=document.createElement("div");h.className="sv-control-r",n.appendChild(h);var p=this.muteMenu_=document.createElement("button");p.className="showMute",h.appendChild(p);var d=this.muteInner_=document.createElement("span");d.innerHTML="",d.className="sv-font sv-play",p.appendChild(d),this.option.mode===o.default.MB&&(p.style.display="none");var y=this.mutePanel_=document.createElement("div");y.className="sv-mutePanel hide",p.appendChild(y);var g=this.muteNum_=document.createElement("div");g.className="sv-mute-num",g.innerHTML="100";var m=this.muteSlider_=document.createElement("div");m.className="sv-mute-slider",y.appendChild(g),y.appendChild(m);var _=this.muteSliderRange_=document.createElement("div");_.className="sv-mute-sliderRange",m.appendChild(_);var b=this.muteSliderButton_=document.createElement("button");b.className="sv-mute-button",m.appendChild(b);var w=this.progressBar_=document.createElement("div");w.className="sv-progressBar",n.appendChild(w);var S=this.cacheProgress_=document.createElement("div");S.className="sv-cacheProgress",w.appendChild(S);var E=this.progressNum_=document.createElement("div");E.className="sv-progressNum",w.appendChild(E);var x=this.progressBtn_=document.createElement("div");x.className="sv-progressBtn";var P=document.createElement("div");x.appendChild(P),w.appendChild(x),this.sliderRange_(b,_),this.setVolume_(this.option.volume),this.setMuteIcon_(),this.setEventDefaultControl_(),i.onclick=function(){e.isPlay_()?(e.pause_(),u.innerHTML=""):(e.play_(),u.innerHTML="")},this.isPip_=!1;var O=document.createElement("div");O.className="sv-picinpic sv-font",this.option.target.appendChild(O),O.innerHTML='画中画',O.onclick=function(){e.isPip_?e.leavePicInPic_():e.enterPicInPic_()};var M=window.navigator.userAgent.indexOf("Chrome")>-1;this.option.mode===o.default.MB&&O.classList.add("hide"),this.option.showPictureInPicture&&M||O.classList.add("hide")}},{key:"setEventDefaultControl_",value:function(){var t=this,e=this.muteMenu_,n=this.mutePanel_,r=this.progressBar_,i=this.progressBtn_;e.onmouseover=function(){n.classList.remove("hide")};var o=null;e.onmouseleave=function(){o=setTimeout((function(){n.classList.add("hide"),clearTimeout(o)}),500)},n.onmouseover=function(){n.classList.remove("hide"),clearTimeout(o)},n.onmouseleave=function(){n.classList.remove("hide")},e.onclick=function(e){t.isMuted_()?t.setMuted_(!1):t.setMuted_(!0),e.stopPropagation()},n.onclick=function(t){t.stopPropagation()},r.onmouseover=function(){r.style.height="4px"},r.onmouseout=function(){r.style.height="2px"},i.onmousedown=function(e){var n=e.clientX,o=i.offsetLeft,a=r.offsetWidth-i.offsetWidth,c=r.clientWidth,s=0;document.onmousemove=function(e){t.pause_();var r=e.clientX,f=Math.min(a,Math.max(-2,o+(r-n)))/c,l=100*f+"%";i.style.left=l,t.progressNum_.style.width=l;var v=t.getAllTime_();s=v*f,t.timeStart_.innerHTML=(0,u.formatSeconds)(s),e.preventDefault()},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,t.play_(),t.setCurrentTime_(s),t.clearBarrages_()},e.preventDefault()}}},{key:"sliderRange_",value:function(t,e){var n=this;t.onmousedown=function(r){n._isCursor=!0;var i=(r||event).clientY,o=t.offsetTop;document.onmousemove=function(r){var u=r.clientY-i+o;if(!(u>50||u<0)){t.style.top=u+"px";var a=50-u;e.style.height=a+"px",n.setVolume_(a/50)}},document.onmouseup=function(){document.onmousemove=null,document.onmouseup=null,n._isCursor=!1}}}},{key:"addSource_",value:function(t){var e=this,n=this.video_;this.source_=t?t.getSource():this.option.source.getSource(),n.appendChild(this.source_),n.ontimeupdate=null,n.ontimeupdate=function(){e.ontimeupdate_(n),n.paused?e.btnInner_.innerHTML="":e.btnInner_.innerHTML="",e.timeStart_.innerHTML=(0,u.formatSeconds)(e.getCurrentTime_()),e.setMuteIcon_();var t=e.getAllTime_();if(t>0){for(var r=0;r\n \n \n \n \n ",t.className="sv-loading hide",this.option.target.appendChild(t)}},{key:"showLoad_",value:function(){this.loading_.classList.remove("hide")}},{key:"hideLoad_",value:function(){this.loading_.classList.add("hide")}},{key:"setMuteIcon_",value:function(){this.isMuted_()?this.muteInner_.innerHTML="":this.muteInner_.innerHTML=""}},{key:"ontimeupdate_",value:function(){}},{key:"onready_",value:function(){}},{key:"play_",value:function(){this.video_.play()}},{key:"pause_",value:function(){this.video_.pause()}},{key:"getAllTime_",value:function(){return this.video_.duration}},{key:"getCurrentTime_",value:function(){return this.video_.currentTime}},{key:"setCurrentTime_",value:function(t){this.video_.currentTime=t,this.showLoad_()}},{key:"setCurrentTimeClone_",value:function(t){this.video_.currentTime=t;var e=this.getAllTime_();this.progressNum_.style.width=t/e*100+"%";var n=this.progressBar_.clientWidth*(t/e);this.isReady_()&&(this.progressBtn_.style.left=n-16+"px")}},{key:"getCurrentByPx_",value:function(t){return this.getAllTime_()*(t/this.progressBar_.clientWidth)}},{key:"isEnded_",value:function(){return this.video_.ended}},{key:"setLoop_",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.video_.loop=t}},{key:"isLoop_",value:function(){return this.video_.loop}},{key:"setMuted_",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.video_.muted=t,this.setMuteIcon_()}},{key:"isMuted_",value:function(){return this.video_.muted}},{key:"getNetworkState_",value:function(){return this.video_.networkState}},{key:"isPlay_",value:function(){return!this.video_.paused}},{key:"getPlaybackRate_",value:function(){return this.video_.playbackRate}},{key:"setPlaybackRate_",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.video_.playbackRate=t}},{key:"setPoster_",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.video_.poster=t}},{key:"setVolume_",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.video_.volume=t,this.muteNum_.innerHTML=parseInt(100*t),this.muteSliderRange_.style.height=100*t/2+"px",this.muteSliderButton_.style.top=50-100*t/2+"px",t>0?this.setMuted_(!1):this.setMuted_(!0)}},{key:"getVolume_",value:function(){return this.video_.volume}},{key:"isReady_",value:function(){return 4===this.video_.readyState}},{key:"addControlLeft_",value:function(t){this.leftControl_.appendChild(t.init_(this))}},{key:"addControlRight_",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e?this.controlRight_.prepend(t.init_(this)):this.controlRight_.appendChild(t.init_(this))}},{key:"addControlCenter_",value:function(t){this.controlCenter_.appendChild(t.init_(this))}},{key:"fullScreen_",value:function(){var t=document.documentElement;t.requestFullScreen?t.requestFullScreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullScreen&&t.webkitRequestFullScreen(),this.option.target.classList.add("sv-full-screen"),this.videoEvent_(a.default.FULL_SCREEN)}},{key:"cancelFullScreen_",value:function(){var t=document;t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen&&t.webkitCancelFullScreen(),this.option.target.classList.remove("sv-full-screen"),this.videoEvent_(a.default.CANCEL_FULL_SCREEN)}},{key:"addBarrage_",value:function(t){var e=null,n="#ffffff",r="14px",i="微软雅黑",o="100",u=null,a=null;"string"==typeof t?e=t:(e=t.getText(),n=t.getColor(),r=t.getFontSize(),i=t.getFontFamily(),o=t.getFontWeight(),u=t.getLeftDom(),a=t.getRightDom());var c=this.option.target,s=document.createElement("div");s.className="sv-brrage";var f=document.createElement("div");f.className="sv-brrage-left",null!==u&&f.appendChild(u),null!==a&&f.appendChild(a);var l=document.createElement("div");l.className="sv-brrage-center",l.innerHTML=e,l.style.color=n,l.style.fontSize=r,l.style.fontFamily=i,l.style.fontWeight=o;var v=document.createElement("div");v.className="sv-brrage-right",s.appendChild(f),s.appendChild(l),s.appendChild(v),c.appendChild(s),c.style.overflow="hidden";var h=c.getBoundingClientRect(),p=h.right-h.left,d=h.bottom-h.top;s.style.left=p+"px",s.style.top=(d-80)*Number(Math.random().toFixed(2))+"px";var y=null,g=function t(e){var n=Number(new Date);t.last=t.last||n,t.timer=t.timer||e;var r=s.offsetLeft,i=s.getBoundingClientRect();r=t.timer&&(t.last=n,r-=3,s.style.left=r+"px"),y=requestAnimationFrame(t))};this.rollBarrage_&&g(50*Number(Math.random().toFixed(2))),this.addEventListener("pause",(function(){cancelAnimationFrame(y)})),this.addEventListener("play",(function(){g(50*Number(Math.random().toFixed(2)))}))}},{key:"clearBarrages_",value:function(){for(var t=document.getElementsByClassName("sv-brrage"),e=0;e0&&this.clearBarrages_()}},{key:"enterPicInPic_",value:function(){this.video_.requestPictureInPicture()}},{key:"leavePicInPic_",value:function(){document.exitPictureInPicture()}},{key:"listenerEvents_",value:function(){this.eventFn_("play",a.default.PLAY),this.eventFn_("loadstart",a.default.LOADS_SART),this.eventFn_("suspend",a.default.SUSPEND),this.eventFn_("abort",a.default.ABORT),this.eventFn_("progress",a.default.PROGRESS),this.eventFn_("error",a.default.ERROR),this.eventFn_("stalled",a.default.STALLED),this.eventFn_("pause",a.default.PAUSE),this.eventFn_("loadedmetadata",a.default.LOADED_METADATA),this.eventFn_("waiting",a.default.WAITING),this.eventFn_("playing",a.default.PLAYING),this.eventFn_("timeupdate",a.default.TIME_UPDATE),this.eventFn_("ended",a.default.ENDED),this.eventFn_("ratechange",a.default.RATE_CHANGE),this.eventFn_("volumechange",a.default.VOLUME_CHANGE),this.eventFn_("enterpictureinpicture",a.default.ENTER_PIP),this.eventFn_("leavepictureinpicture",a.default.LEAVE_PIP)}},{key:"eventFn_",value:function(t,e){var n=this;this.video_.addEventListener(t,(function(){switch(n.dispatchEvent(e),e){case a.default.ERROR:console.error("error");break;case a.default.ABORT:console.error("abort");break;case a.default.PLAY:n.rollBarrage_=!0;break;case a.default.PAUSE:n.rollBarrage_=!1;break;case a.default.ENTER_PIP:document.getElementById("sv-hzh").innerHTML="画中画使用中",n.isPip_=!0;break;case a.default.LEAVE_PIP:document.getElementById("sv-hzh").innerHTML="画中画",n.isPip_=!1}n.videoEvent_(e)}))}},{key:"videoEvent_",value:function(){}}]),e}(i.default);e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.formatSeconds=function(t){var e=parseInt(t),n=0,r=0;e>60&&(n=parseInt(e/60),e=parseInt(e%60),n>60&&(r=parseInt(n/60),n=parseInt(n%60)));var i=String(parseInt(e));return i=e<10>0?"0"+parseInt(e):String(parseInt(e)),i=n<10>0?"0"+parseInt(n)+":"+i:String(parseInt(n))+":"+i,r>0&&(i=String(parseInt(r))+":"+i),i}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var r={color:"#ffffff",fontSize:14,fontFamily:"微软雅黑",fontWeight:600,text:e,area:.5,leftDom:null,rightDom:null};this.option=(0,i.assign)({},r,n)}return r(t,[{key:"getText",value:function(){return this.option.text}},{key:"getColor",value:function(){return this.option.color}},{key:"getFontSize",value:function(){return this.option.fontSize+"px"}},{key:"getFontFamily",value:function(){return this.option.fontFamily}},{key:"getMinTop",value:function(t){return t.clientHeight-t.clientHeight*(1-this.option.area)+80}},{key:"getLeftDom",value:function(){return this.option.leftDom}},{key:"getRightDom",value:function(){return this.option.rightDom}},{key:"getFontWeight",value:function(){return this.option.fontWeight}}]),t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};i(this,t);var n={src:""};this.option=Object.assign({},n,e),this.source_=null,this.createSource_()}return r(t,[{key:"createSource_",value:function(){(this.source_=document.createElement("source")).setAttribute("src",this.option.src)}},{key:"getSource",value:function(){return this.source_}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n(140);var r=l(n(342)),i=l(n(138)),o=l(n(349)),u=l(n(47)),a=l(n(350)),c=l(n(351)),s=l(n(352)),f=l(n(353));function l(t){return t&&t.__esModule?t:{default:t}}e.default={Svideo:r.default,Barrage:o.default,VideoSource:i.default,Control:u.default,NextControl:a.default,FullScreenControl:c.default,DbspeenControl:s.default,BarrageControl:f.default}},function(t,e,n){"use strict";(function(t){if(n(141),n(338),n(339),t._babelPolyfill)throw new Error("only one instance of babel-polyfill is allowed");t._babelPolyfill=!0;function e(t,e,n){t[e]||Object.defineProperty(t,e,{writable:!0,configurable:!0,value:n})}e(String.prototype,"padLeft","".padStart),e(String.prototype,"padRight","".padEnd),"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill".split(",").forEach((function(t){[][t]&&e(Array,t,Function.call.bind([][t]))}))}).call(this,n(97))},function(t,e,n){n(142),n(145),n(146),n(147),n(148),n(149),n(150),n(151),n(152),n(153),n(154),n(155),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(222),n(223),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(89),n(246),n(117),n(247),n(118),n(248),n(249),n(250),n(251),n(252),n(121),n(123),n(124),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),t.exports=n(18)},function(t,e,n){"use strict";var r=n(2),i=n(14),o=n(7),u=n(0),a=n(12),c=n(30).KEY,s=n(3),f=n(48),l=n(43),v=n(33),h=n(5),p=n(99),d=n(70),y=n(144),g=n(56),m=n(1),_=n(4),b=n(9),w=n(15),S=n(23),E=n(32),x=n(36),P=n(102),O=n(16),M=n(55),k=n(8),C=n(34),F=O.f,L=k.f,T=P.f,j=r.Symbol,A=r.JSON,N=A&&A.stringify,R=h("_hidden"),I=h("toPrimitive"),D={}.propertyIsEnumerable,B=f("symbol-registry"),W=f("symbols"),U=f("op-symbols"),V=Object.prototype,G="function"==typeof j&&!!M.f,H=r.QObject,z=!H||!H.prototype||!H.prototype.findChild,Y=o&&s((function(){return 7!=x(L({},"a",{get:function(){return L(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=F(V,e);r&&delete V[e],L(t,e,n),r&&t!==V&&L(V,e,r)}:L,q=function(t){var e=W[t]=x(j.prototype);return e._k=t,e},K=G&&"symbol"==typeof j.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof j},X=function(t,e,n){return t===V&&X(U,e,n),m(t),e=S(e,!0),m(n),i(W,e)?(n.enumerable?(i(t,R)&&t[R][e]&&(t[R][e]=!1),n=x(n,{enumerable:E(0,!1)})):(i(t,R)||L(t,R,E(1,{})),t[R][e]=!0),Y(t,e,n)):L(t,e,n)},$=function(t,e){m(t);for(var n,r=y(e=w(e)),i=0,o=r.length;o>i;)X(t,n=r[i++],e[n]);return t},J=function(t){var e=D.call(this,t=S(t,!0));return!(this===V&&i(W,t)&&!i(U,t))&&(!(e||!i(this,t)||!i(W,t)||i(this,R)&&this[R][t])||e)},Z=function(t,e){if(t=w(t),e=S(e,!0),t!==V||!i(W,e)||i(U,e)){var n=F(t,e);return!n||!i(W,e)||i(t,R)&&t[R][e]||(n.enumerable=!0),n}},Q=function(t){for(var e,n=T(w(t)),r=[],o=0;n.length>o;)i(W,e=n[o++])||e==R||e==c||r.push(e);return r},tt=function(t){for(var e,n=t===V,r=T(n?U:w(t)),o=[],u=0;r.length>u;)!i(W,e=r[u++])||n&&!i(V,e)||o.push(W[e]);return o};G||(a((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var t=v(arguments.length>0?arguments[0]:void 0),e=function(n){this===V&&e.call(U,n),i(this,R)&&i(this[R],t)&&(this[R][t]=!1),Y(this,t,E(1,n))};return o&&z&&Y(V,t,{configurable:!0,set:e}),q(t)}).prototype,"toString",(function(){return this._k})),O.f=Z,k.f=X,n(37).f=P.f=Q,n(50).f=J,M.f=tt,o&&!n(29)&&a(V,"propertyIsEnumerable",J,!0),p.f=function(t){return q(h(t))}),u(u.G+u.W+u.F*!G,{Symbol:j});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var rt=C(h.store),it=0;rt.length>it;)d(rt[it++]);u(u.S+u.F*!G,"Symbol",{for:function(t){return i(B,t+="")?B[t]:B[t]=j(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var e in B)if(B[e]===t)return e},useSetter:function(){z=!0},useSimple:function(){z=!1}}),u(u.S+u.F*!G,"Object",{create:function(t,e){return void 0===e?x(t):$(x(t),e)},defineProperty:X,defineProperties:$,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=s((function(){M.f(1)}));u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return M.f(b(t))}}),A&&u(u.S+u.F*(!G||s((function(){var t=j();return"[null]"!=N([t])||"{}"!=N({a:t})||"{}"!=N(Object(t))}))),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=e=r[1],(_(e)||void 0!==t)&&!K(t))return g(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!K(e))return e}),r[1]=e,N.apply(A,r)}}),j.prototype[I]||n(11)(j.prototype,I,j.prototype.valueOf),l(j,"Symbol"),l(Math,"Math",!0),l(r.JSON,"JSON",!0)},function(t,e,n){t.exports=n(48)("native-function-to-string",Function.toString)},function(t,e,n){var r=n(34),i=n(55),o=n(50);t.exports=function(t){var e=r(t),n=i.f;if(n)for(var u,a=n(t),c=o.f,s=0;a.length>s;)c.call(t,u=a[s++])&&e.push(u);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(36)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperty:n(8).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(7),"Object",{defineProperties:n(101)})},function(t,e,n){var r=n(15),i=n(16).f;n(25)("getOwnPropertyDescriptor",(function(){return function(t,e){return i(r(t),e)}}))},function(t,e,n){var r=n(9),i=n(17);n(25)("getPrototypeOf",(function(){return function(t){return i(r(t))}}))},function(t,e,n){var r=n(9),i=n(34);n(25)("keys",(function(){return function(t){return i(r(t))}}))},function(t,e,n){n(25)("getOwnPropertyNames",(function(){return n(102).f}))},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("freeze",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("seal",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},function(t,e,n){var r=n(4),i=n(30).onFreeze;n(25)("preventExtensions",(function(t){return function(e){return t&&r(e)?t(i(e)):e}}))},function(t,e,n){var r=n(4);n(25)("isFrozen",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(25)("isSealed",(function(t){return function(e){return!r(e)||!!t&&t(e)}}))},function(t,e,n){var r=n(4);n(25)("isExtensible",(function(t){return function(e){return!!r(e)&&(!t||t(e))}}))},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(103)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(104)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(74).set})},function(t,e,n){"use strict";var r=n(44),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(12)(Object.prototype,"toString",(function(){return"[object "+r(this)+"]"}),!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(105)})},function(t,e,n){var r=n(8).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(7)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),i=n(17),o=n(5)("hasInstance"),u=Function.prototype;o in u||n(8).f(u,o,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(0),i=n(107);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(t,e,n){var r=n(0),i=n(108);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(t,e,n){"use strict";var r=n(2),i=n(14),o=n(20),u=n(76),a=n(23),c=n(3),s=n(37).f,f=n(16).f,l=n(8).f,v=n(45).trim,h=r.Number,p=h,d=h.prototype,y="Number"==o(n(36)(d)),g="trim"in String.prototype,m=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){var n,r,i,o=(e=g?e.trim():v(e,3)).charCodeAt(0);if(43===o||45===o){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var u,c=e.slice(2),s=0,f=c.length;si)return NaN;return parseInt(c,r)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof h&&(y?c((function(){d.valueOf.call(n)})):"Number"!=o(n))?u(new p(m(e)),n,h):m(e)};for(var _,b=n(7)?s(p):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;b.length>w;w++)i(p,_=b[w])&&!i(h,_)&&l(h,_,f(p,_));h.prototype=d,d.constructor=h,n(12)(r,"Number",h)}},function(t,e,n){"use strict";var r=n(0),i=n(21),o=n(109),u=n(77),a=1..toFixed,c=Math.floor,s=[0,0,0,0,0,0],f="Number.toFixed: incorrect invocation!",l=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*s[n],s[n]=r%1e7,r=c(r/1e7)},v=function(t){for(var e=6,n=0;--e>=0;)n+=s[e],s[e]=c(n/t),n=n%t*1e7},h=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==s[t]){var n=String(s[t]);e=""===e?n:e+u.call("0",7-n.length)+n}return e},p=function(t,e,n){return 0===e?n:e%2==1?p(t,e-1,n*t):p(t*t,e/2,n)};r(r.P+r.F*(!!a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(3)((function(){a.call({})}))),"Number",{toFixed:function(t){var e,n,r,a,c=o(this,f),s=i(t),d="",y="0";if(s<0||s>20)throw RangeError(f);if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(c*p(2,69,1))-69)<0?c*p(2,-e,1):c/p(2,e,1),n*=4503599627370496,(e=52-e)>0){for(l(0,n),r=s;r>=7;)l(1e7,0),r-=7;for(l(p(10,r,1),0),r=e-1;r>=23;)v(1<<23),r-=23;v(1<0?d+((a=y.length)<=s?"0."+u.call("0",s-a)+y:y.slice(0,a-s)+"."+y.slice(a-s)):d+y}})},function(t,e,n){"use strict";var r=n(0),i=n(3),o=n(109),u=1..toPrecision;r(r.P+r.F*(i((function(){return"1"!==u.call(1,void 0)}))||!i((function(){u.call({})}))),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(e):u.call(e,t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(2).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(110)})},function(t,e,n){var r=n(0);r(r.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(110),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){var r=n(0);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){var r=n(0);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),i=n(108);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,e,n){var r=n(0),i=n(107);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,e,n){var r=n(0),i=n(111),o=Math.sqrt,u=Math.acosh;r(r.S+r.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){var r=n(0),i=Math.asinh;r(r.S+r.F*!(i&&1/i(0)>0),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var r=n(0),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(78);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var r=n(0),i=Math.exp;r(r.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,e,n){var r=n(0),i=n(79);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(112)})},function(t,e,n){var r=n(0),i=Math.abs;r(r.S,"Math",{hypot:function(t,e){for(var n,r,o=0,u=0,a=arguments.length,c=0;u0?(r=n/c)*r:n;return c===1/0?1/0:c*Math.sqrt(o)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(3)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(111)})},function(t,e,n){var r=n(0);r(r.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(78)})},function(t,e,n){var r=n(0),i=n(79),o=Math.exp;r(r.S+r.F*n(3)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(79),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),i=n(35),o=String.fromCharCode,u=String.fromCodePoint;r(r.S+r.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,u=0;r>u;){if(e=+arguments[u++],i(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?o(e):o(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),i=n(15),o=n(6);r(r.S,"String",{raw:function(t){for(var e=i(t.raw),n=o(e.length),r=arguments.length,u=[],a=0;n>a;)u.push(String(e[a++])),a=e.length?{value:void 0,done:!0}:(t=r(e,n),this._i+=t.length,{value:t,done:!1})}))},function(t,e,n){"use strict";var r=n(0),i=n(57)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(82),u="".endsWith;r(r.P+r.F*n(83)("endsWith"),"String",{endsWith:function(t){var e=o(this,t,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(e.length),a=void 0===n?r:Math.min(i(n),r),c=String(t);return u?u.call(e,c,a):e.slice(a-c.length,a)===c}})},function(t,e,n){"use strict";var r=n(0),i=n(82);r(r.P+r.F*n(83)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(77)})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(82),u="".startsWith;r(r.P+r.F*n(83)("startsWith"),"String",{startsWith:function(t){var e=o(this,t,"startsWith"),n=i(Math.min(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";n(13)("anchor",(function(t){return function(e){return t(this,"a","name",e)}}))},function(t,e,n){"use strict";n(13)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,e,n){"use strict";n(13)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,e,n){"use strict";n(13)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,e,n){"use strict";n(13)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,e,n){"use strict";n(13)("fontcolor",(function(t){return function(e){return t(this,"font","color",e)}}))},function(t,e,n){"use strict";n(13)("fontsize",(function(t){return function(e){return t(this,"font","size",e)}}))},function(t,e,n){"use strict";n(13)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,e,n){"use strict";n(13)("link",(function(t){return function(e){return t(this,"a","href",e)}}))},function(t,e,n){"use strict";n(13)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,e,n){"use strict";n(13)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,e,n){"use strict";n(13)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,e,n){"use strict";n(13)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,e,n){var r=n(0);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23);r(r.P+r.F*n(3)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),i=n(221);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,e,n){"use strict";var r=n(3),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!r((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,e=t.getUTCFullYear(),n=t.getUTCMilliseconds(),r=e<0?"-":e>9999?"+":"";return r+("00000"+Math.abs(e)).slice(r?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(n>99?n:"0"+u(n))+"Z"}:o},function(t,e,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(12)(r,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(11)(i,r,n(224))},function(t,e,n){"use strict";var r=n(1),i=n(23);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(56)})},function(t,e,n){"use strict";var r=n(19),i=n(0),o=n(9),u=n(113),a=n(84),c=n(6),s=n(85),f=n(86);i(i.S+i.F*!n(59)((function(t){Array.from(t)})),"Array",{from:function(t){var e,n,i,l,v=o(t),h="function"==typeof this?this:Array,p=arguments.length,d=p>1?arguments[1]:void 0,y=void 0!==d,g=0,m=f(v);if(y&&(d=r(d,p>2?arguments[2]:void 0,2)),null==m||h==Array&&a(m))for(n=new h(e=c(v.length));e>g;g++)s(n,g,y?d(v[g],g):v[g]);else for(l=m.call(v),n=new h;!(i=l.next()).done;g++)s(n,g,y?u(l,d,[i.value,g],!0):i.value);return n.length=g,n}})},function(t,e,n){"use strict";var r=n(0),i=n(85);r(r.S+r.F*n(3)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=[].join;r(r.P+r.F*(n(49)!=Object||!n(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(73),o=n(20),u=n(35),a=n(6),c=[].slice;r(r.P+r.F*n(3)((function(){i&&c.call(i)})),"Array",{slice:function(t,e){var n=a(this.length),r=o(this);if(e=void 0===e?n:e,"Array"==r)return c.call(this,t,e);for(var i=u(t,n),s=u(e,n),f=a(s-i),l=new Array(f),v=0;v1&&(r=Math.min(r,o(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(115)}),n(31)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(88)}),n(31)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(26)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("find")},function(t,e,n){"use strict";var r=n(0),i=n(26)(6),o="findIndex",u=!0;o in[]&&Array(1)[o]((function(){u=!1})),r(r.P+r.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)(o)},function(t,e,n){n(38)("Array")},function(t,e,n){var r=n(2),i=n(76),o=n(8).f,u=n(37).f,a=n(58),c=n(51),s=r.RegExp,f=s,l=s.prototype,v=/a/g,h=/a/g,p=new s(v)!==v;if(n(7)&&(!p||n(3)((function(){return h[n(5)("match")]=!1,s(v)!=v||s(h)==h||"/a/i"!=s(v,"i")})))){s=function(t,e){var n=this instanceof s,r=a(t),o=void 0===e;return!n&&r&&t.constructor===s&&o?t:i(p?new f(r&&!o?t.source:t,e):f((r=t instanceof s)?t.source:t,r&&o?c.call(t):e),n?this:l,s)};for(var d=function(t){t in s||o(s,t,{configurable:!0,get:function(){return f[t]},set:function(e){f[t]=e}})},y=u(f),g=0;y.length>g;)d(y[g++]);l.constructor=s,s.prototype=l,n(12)(r,"RegExp",s)}n(38)("RegExp")},function(t,e,n){"use strict";n(118);var r=n(1),i=n(51),o=n(7),u=/./.toString,a=function(t){n(12)(RegExp.prototype,"toString",t,!0)};n(3)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?a((function(){var t=r(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=u.name&&a((function(){return u.call(this)}))},function(t,e,n){"use strict";var r=n(1),i=n(6),o=n(91),u=n(60);n(61)("match",1,(function(t,e,n,a){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=a(n,t,this);if(e.done)return e.value;var c=r(t),s=String(this);if(!c.global)return u(c,s);var f=c.unicode;c.lastIndex=0;for(var l,v=[],h=0;null!==(l=u(c,s));){var p=String(l[0]);v[h]=p,""===p&&(c.lastIndex=o(s,i(c.lastIndex),f)),h++}return 0===h?null:v}]}))},function(t,e,n){"use strict";var r=n(1),i=n(9),o=n(6),u=n(21),a=n(91),c=n(60),s=Math.max,f=Math.min,l=Math.floor,v=/\$([$&`']|\d\d?|<[^>]*>)/g,h=/\$([$&`']|\d\d?)/g;n(61)("replace",2,(function(t,e,n,p){return[function(r,i){var o=t(this),u=null==r?void 0:r[e];return void 0!==u?u.call(r,o,i):n.call(String(o),r,i)},function(t,e){var i=p(n,t,this,e);if(i.done)return i.value;var l=r(t),v=String(this),h="function"==typeof e;h||(e=String(e));var y=l.global;if(y){var g=l.unicode;l.lastIndex=0}for(var m=[];;){var _=c(l,v);if(null===_)break;if(m.push(_),!y)break;""===String(_[0])&&(l.lastIndex=a(v,o(l.lastIndex),g))}for(var b,w="",S=0,E=0;E=S&&(w+=v.slice(S,P)+F,S=P+x.length)}return w+v.slice(S)}];function d(t,e,r,o,u,a){var c=r+t.length,s=o.length,f=h;return void 0!==u&&(u=i(u),f=v),n.call(a,f,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,r);case"'":return e.slice(c);case"<":a=u[i.slice(1,-1)];break;default:var f=+i;if(0===f)return n;if(f>s){var v=l(f/10);return 0===v?n:v<=s?void 0===o[v-1]?i.charAt(1):o[v-1]+i.charAt(1):n}a=o[f-1]}return void 0===a?"":a}))}}))},function(t,e,n){"use strict";var r=n(1),i=n(104),o=n(60);n(61)("search",1,(function(t,e,n,u){return[function(n){var r=t(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},function(t){var e=u(n,t,this);if(e.done)return e.value;var a=r(t),c=String(this),s=a.lastIndex;i(s,0)||(a.lastIndex=0);var f=o(a,c);return i(a.lastIndex,s)||(a.lastIndex=s),null===f?-1:f.index}]}))},function(t,e,n){"use strict";var r=n(58),i=n(1),o=n(52),u=n(91),a=n(6),c=n(60),s=n(90),f=n(3),l=Math.min,v=[].push,h="length",p=!f((function(){RegExp(4294967295,"y")}));n(61)("split",2,(function(t,e,n,f){var d;return d="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[h]||2!="ab".split(/(?:ab)*/)[h]||4!=".".split(/(.?)(.?)/)[h]||".".split(/()()/)[h]>1||"".split(/.?/)[h]?function(t,e){var i=String(this);if(void 0===t&&0===e)return[];if(!r(t))return n.call(i,t,e);for(var o,u,a,c=[],f=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,p=void 0===e?4294967295:e>>>0,d=new RegExp(t.source,f+"g");(o=s.call(d,i))&&!((u=d.lastIndex)>l&&(c.push(i.slice(l,o.index)),o[h]>1&&o.index=p));)d.lastIndex===o.index&&d.lastIndex++;return l===i[h]?!a&&d.test("")||c.push(""):c.push(i.slice(l)),c[h]>p?c.slice(0,p):c}:"0".split(void 0,0)[h]?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,r){var i=t(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):d.call(String(i),n,r)},function(t,e){var r=f(d,t,this,e,d!==n);if(r.done)return r.value;var s=i(t),v=String(this),h=o(s,RegExp),y=s.unicode,g=(s.ignoreCase?"i":"")+(s.multiline?"m":"")+(s.unicode?"u":"")+(p?"y":"g"),m=new h(p?s:"^(?:"+s.source+")",g),_=void 0===e?4294967295:e>>>0;if(0===_)return[];if(0===v.length)return null===c(m,v)?[v]:[];for(var b=0,w=0,S=[];wo;)u(n[o++]);t._c=[],t._n=!1,e&&!t._h&&A(t)}))}},A=function(t){g.call(c,(function(){var e,n,r,i=t._v,o=N(t);if(o&&(e=b((function(){k?x.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)})),t._h=k||N(t)?2:1),t._a=void 0,o&&e.e)throw e.v}))},N=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(c,(function(){var e;k?x.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})}))},I=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),j(e,!0))},D=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(e=T(t))?m((function(){var r={_w:n,_d:!1};try{e.call(t,s(D,r,1),s(I,r,1))}catch(t){I.call(r,t)}})):(n._v=t,n._s=1,j(n,!1))}catch(t){I.call({_w:n,_d:!1},t)}}};L||(M=function(t){p(this,M,"Promise","_h"),h(t),r.call(this);try{t(s(D,this,1),s(I,this,1))}catch(t){I.call(this,t)}},(r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(41)(M.prototype,{then:function(t,e){var n=F(y(this,M));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=k?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&j(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=s(D,t,1),this.reject=s(I,t,1)},_.f=F=function(t){return t===M||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!L,{Promise:M}),n(43)(M,"Promise"),n(38)("Promise"),u=n(18).Promise,l(l.S+l.F*!L,"Promise",{reject:function(t){var e=F(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(a||!L),"Promise",{resolve:function(t){return S(a&&this===u?M:this,t)}}),l(l.S+l.F*!(L&&n(59)((function(t){M.all(t).catch(C)}))),"Promise",{all:function(t){var e=this,n=F(e),r=n.resolve,i=n.reject,o=b((function(){var n=[],o=0,u=1;d(t,!1,(function(t){var a=o++,c=!1;n.push(void 0),u++,e.resolve(t).then((function(t){c||(c=!0,n[a]=t,--u||r(n))}),i)})),--u||r(n)}));return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=F(e),r=n.reject,i=b((function(){d(t,!1,(function(t){e.resolve(t).then(n.resolve,r)}))}));return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var r=n(125),i=n(42);n(63)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(64),o=n(95),u=n(1),a=n(35),c=n(6),s=n(4),f=n(2).ArrayBuffer,l=n(52),v=o.ArrayBuffer,h=o.DataView,p=i.ABV&&f.isView,d=v.prototype.slice,y=i.VIEW;r(r.G+r.W+r.F*(f!==v),{ArrayBuffer:v}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return p&&p(t)||s(t)&&y in t}}),r(r.P+r.U+r.F*n(3)((function(){return!new v(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,e){if(void 0!==d&&void 0===e)return d.call(u(this),t);for(var n=u(this).byteLength,r=a(t,n),i=a(void 0===e?n:e,n),o=new(l(this,v))(c(i-r)),s=new h(this),f=new h(o),p=0;r=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}})),r(r.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,e,n){var r=n(16),i=n(17),o=n(14),u=n(0),a=n(4),c=n(1);u(u.S,"Reflect",{get:function t(e,n){var u,s,f=arguments.length<3?e:arguments[2];return c(e)===f?e[n]:(u=r.f(e,n))?o(u,"value")?u.value:void 0!==u.get?u.get.call(f):void 0:a(s=i(e))?t(s,n,f):void 0}})},function(t,e,n){var r=n(16),i=n(0),o=n(1);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(17),o=n(1);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(1),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(127)})},function(t,e,n){var r=n(0),i=n(1),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(8),i=n(16),o=n(17),u=n(14),a=n(0),c=n(32),s=n(1),f=n(4);a(a.S,"Reflect",{set:function t(e,n,a){var l,v,h=arguments.length<4?e:arguments[3],p=i.f(s(e),n);if(!p){if(f(v=o(e)))return t(v,n,a,h);p=c(0)}if(u(p,"value")){if(!1===p.writable||!f(h))return!1;if(l=i.f(h,n)){if(l.get||l.set||!1===l.writable)return!1;l.value=a,r.f(h,n,l)}else r.f(h,n,c(0,a));return!0}return void 0!==p.set&&(p.set.call(h,a),!0)}})},function(t,e,n){var r=n(0),i=n(74);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){"use strict";var r=n(0),i=n(54)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n(31)("includes")},function(t,e,n){"use strict";var r=n(0),i=n(128),o=n(9),u=n(6),a=n(10),c=n(87);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return a(t),e=u(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(31)("flatMap")},function(t,e,n){"use strict";var r=n(0),i=n(128),o=n(9),u=n(6),a=n(21),c=n(87);r(r.P,"Array",{flatten:function(){var t=arguments[0],e=o(this),n=u(e.length),r=c(e,0);return i(r,e,e,n,0,void 0===t?1:a(t)),r}}),n(31)("flatten")},function(t,e,n){"use strict";var r=n(0),i=n(57)(!0);r(r.P,"String",{at:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(129),o=n(62),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(129),o=n(62),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,e,n){"use strict";n(45)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,e,n){"use strict";n(45)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,e,n){"use strict";var r=n(0),i=n(24),o=n(6),u=n(58),a=n(51),c=RegExp.prototype,s=function(t,e){this._r=t,this._s=e};n(81)(s,"RegExp String",(function(){var t=this._r.exec(this._s);return{value:t,done:null===t}})),r(r.P,"String",{matchAll:function(t){if(i(this),!u(t))throw TypeError(t+" is not a regexp!");var e=String(this),n="flags"in c?String(t.flags):a.call(t),r=new RegExp(t.source,~n.indexOf("g")?n:"g"+n);return r.lastIndex=o(t.lastIndex),new s(r,e)}})},function(t,e,n){n(70)("asyncIterator")},function(t,e,n){n(70)("observable")},function(t,e,n){var r=n(0),i=n(127),o=n(15),u=n(16),a=n(85);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=o(t),c=u.f,s=i(r),f={},l=0;s.length>l;)void 0!==(n=c(r,e=s[l++]))&&a(f,e,n);return f}})},function(t,e,n){var r=n(0),i=n(130)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){var r=n(0),i=n(130)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(10),u=n(8);n(7)&&r(r.P+n(65),"Object",{__defineGetter__:function(t,e){u.f(i(this),t,{get:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(10),u=n(8);n(7)&&r(r.P+n(65),"Object",{__defineSetter__:function(t,e){u.f(i(this),t,{set:o(e),enumerable:!0,configurable:!0})}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),u=n(17),a=n(16).f;n(7)&&r(r.P+n(65),"Object",{__lookupGetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.get}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(0),i=n(9),o=n(23),u=n(17),a=n(16).f;n(7)&&r(r.P+n(65),"Object",{__lookupSetter__:function(t){var e,n=i(this),r=o(t,!0);do{if(e=a(n,r))return e.set}while(n=u(n))}})},function(t,e,n){var r=n(0);r(r.P+r.R,"Map",{toJSON:n(131)("Map")})},function(t,e,n){var r=n(0);r(r.P+r.R,"Set",{toJSON:n(131)("Set")})},function(t,e,n){n(66)("Map")},function(t,e,n){n(66)("Set")},function(t,e,n){n(66)("WeakMap")},function(t,e,n){n(66)("WeakSet")},function(t,e,n){n(67)("Map")},function(t,e,n){n(67)("Set")},function(t,e,n){n(67)("WeakMap")},function(t,e,n){n(67)("WeakSet")},function(t,e,n){var r=n(0);r(r.G,{global:n(2)})},function(t,e,n){var r=n(0);r(r.S,"System",{global:n(2)})},function(t,e,n){var r=n(0),i=n(20);r(r.S,"Error",{isError:function(t){return"Error"===i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{clamp:function(t,e,n){return Math.min(n,Math.max(e,t))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{DEG_PER_RAD:Math.PI/180})},function(t,e,n){var r=n(0),i=180/Math.PI;r(r.S,"Math",{degrees:function(t){return t*i}})},function(t,e,n){var r=n(0),i=n(133),o=n(112);r(r.S,"Math",{fscale:function(t,e,n,r,u){return o(i(t,e,n,r,u))}})},function(t,e,n){var r=n(0);r(r.S,"Math",{iaddh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)+(r>>>0)+((i&o|(i|o)&~(i+o>>>0))>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{isubh:function(t,e,n,r){var i=t>>>0,o=n>>>0;return(e>>>0)-(r>>>0)-((~i&o|~(i^o)&i-o>>>0)>>>31)|0}})},function(t,e,n){var r=n(0);r(r.S,"Math",{imulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,u=n>>16,a=r>>16,c=(u*o>>>0)+(i*o>>>16);return u*a+(c>>16)+((i*a>>>0)+(65535&c)>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{RAD_PER_DEG:180/Math.PI})},function(t,e,n){var r=n(0),i=Math.PI/180;r(r.S,"Math",{radians:function(t){return t*i}})},function(t,e,n){var r=n(0);r(r.S,"Math",{scale:n(133)})},function(t,e,n){var r=n(0);r(r.S,"Math",{umulh:function(t,e){var n=+t,r=+e,i=65535&n,o=65535&r,u=n>>>16,a=r>>>16,c=(u*o>>>0)+(i*o>>>16);return u*a+(c>>>16)+((i*a>>>0)+(65535&c)>>>16)}})},function(t,e,n){var r=n(0);r(r.S,"Math",{signbit:function(t){return(t=+t)!=t?t:0==t?1/t==1/0:t>0}})},function(t,e,n){"use strict";var r=n(0),i=n(18),o=n(2),u=n(52),a=n(120);r(r.P+r.R,"Promise",{finally:function(t){var e=u(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then((function(){return n}))}:t,n?function(n){return a(e,t()).then((function(){throw n}))}:t)}})},function(t,e,n){"use strict";var r=n(0),i=n(94),o=n(119);r(r.S,"Promise",{try:function(t){var e=i.f(this),n=o(t);return(n.e?e.reject:e.resolve)(n.v),e.promise}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,u=r.set;r.exp({defineMetadata:function(t,e,n,r){u(t,e,i(n),o(r))}})},function(t,e,n){var r=n(28),i=n(1),o=r.key,u=r.map,a=r.store;r.exp({deleteMetadata:function(t,e){var n=arguments.length<3?void 0:o(arguments[2]),r=u(i(e),n,!1);if(void 0===r||!r.delete(t))return!1;if(r.size)return!0;var c=a.get(e);return c.delete(n),!!c.size||a.delete(e)}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),u=r.has,a=r.get,c=r.key,s=function(t,e,n){if(u(t,e,n))return a(t,e,n);var r=o(e);return null!==r?s(t,r,n):void 0};r.exp({getMetadata:function(t,e){return s(t,i(e),arguments.length<3?void 0:c(arguments[2]))}})},function(t,e,n){var r=n(123),i=n(132),o=n(28),u=n(1),a=n(17),c=o.keys,s=o.key,f=function(t,e){var n=c(t,e),o=a(t);if(null===o)return n;var u=f(o,e);return u.length?n.length?i(new r(n.concat(u))):u:n};o.exp({getMetadataKeys:function(t){return f(u(t),arguments.length<2?void 0:s(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.get,u=r.key;r.exp({getOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.keys,u=r.key;r.exp({getOwnMetadataKeys:function(t){return o(i(t),arguments.length<2?void 0:u(arguments[1]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(17),u=r.has,a=r.key,c=function(t,e,n){if(u(t,e,n))return!0;var r=o(e);return null!==r&&c(t,r,n)};r.exp({hasMetadata:function(t,e){return c(t,i(e),arguments.length<3?void 0:a(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=r.has,u=r.key;r.exp({hasOwnMetadata:function(t,e){return o(t,i(e),arguments.length<3?void 0:u(arguments[2]))}})},function(t,e,n){var r=n(28),i=n(1),o=n(10),u=r.key,a=r.set;r.exp({metadata:function(t,e){return function(n,r){a(t,e,(void 0!==r?i:o)(n),u(r))}}})},function(t,e,n){var r=n(0),i=n(93)(),o=n(2).process,u="process"==n(20)(o);r(r.G,{asap:function(t){var e=u&&o.domain;i(e?e.bind(t):t)}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(18),u=n(93)(),a=n(5)("observable"),c=n(10),s=n(1),f=n(39),l=n(41),v=n(11),h=n(40),p=h.RETURN,d=function(t){return null==t?void 0:c(t)},y=function(t){var e=t._c;e&&(t._c=void 0,e())},g=function(t){return void 0===t._o},m=function(t){g(t)||(t._o=void 0,y(t))},_=function(t,e){s(t),this._c=void 0,this._o=t,t=new b(this);try{var n=e(t),r=n;null!=n&&("function"==typeof n.unsubscribe?n=function(){r.unsubscribe()}:c(n),this._c=n)}catch(e){return void t.error(e)}g(this)&&y(this)};_.prototype=l({},{unsubscribe:function(){m(this)}});var b=function(t){this._s=t};b.prototype=l({},{next:function(t){var e=this._s;if(!g(e)){var n=e._o;try{var r=d(n.next);if(r)return r.call(n,t)}catch(t){try{m(e)}finally{throw t}}}},error:function(t){var e=this._s;if(g(e))throw t;var n=e._o;e._o=void 0;try{var r=d(n.error);if(!r)throw t;t=r.call(n,t)}catch(t){try{y(e)}finally{throw t}}return y(e),t},complete:function(t){var e=this._s;if(!g(e)){var n=e._o;e._o=void 0;try{var r=d(n.complete);t=r?r.call(n,t):void 0}catch(t){try{y(e)}finally{throw t}}return y(e),t}}});var w=function(t){f(this,w,"Observable","_f")._f=c(t)};l(w.prototype,{subscribe:function(t){return new _(t,this._f)},forEach:function(t){var e=this;return new(o.Promise||i.Promise)((function(n,r){c(t);var i=e.subscribe({next:function(e){try{return t(e)}catch(t){r(t),i.unsubscribe()}},error:r,complete:n})}))}}),l(w,{from:function(t){var e="function"==typeof this?this:w,n=d(s(t)[a]);if(n){var r=s(n.call(t));return r.constructor===e?r:new e((function(t){return r.subscribe(t)}))}return new e((function(e){var n=!1;return u((function(){if(!n){try{if(h(t,!1,(function(t){if(e.next(t),n)return p}))===p)return}catch(t){if(n)throw t;return void e.error(t)}e.complete()}})),function(){n=!0}}))},of:function(){for(var t=0,e=arguments.length,n=new Array(e);t2,i=!!r&&u.call(arguments,2);return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,i)}:e,n)}};i(i.G+i.B+i.F*a,{setTimeout:c(r.setTimeout),setInterval:c(r.setInterval)})},function(t,e,n){var r=n(0),i=n(92);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,e,n){for(var r=n(89),i=n(34),o=n(12),u=n(2),a=n(11),c=n(46),s=n(5),f=s("iterator"),l=s("toStringTag"),v=c.Array,h={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(h),d=0;d=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var a=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(a&&c){if(this.prev=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;x(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:O(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}}}function d(t,e,n,r){var i=e&&e.prototype instanceof g?e:g,o=Object.create(i.prototype),u=new P(r||[]);return o._invoke=function(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return M()}for(n.method=i,n.arg=o;;){var u=n.delegate;if(u){var a=S(u,n);if(a){if(a===f)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=y(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(t,n,u),o}function y(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function g(){}function m(){}function _(){}function b(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function w(t){function n(e,i,o,u){var a=y(t[e],t,i);if("throw"!==a.type){var c=a.arg,s=c.value;return s&&"object"==typeof s&&r.call(s,"__await")?Promise.resolve(s.__await).then((function(t){n("next",t,o,u)}),(function(t){n("throw",t,o,u)})):Promise.resolve(s).then((function(t){c.value=t,o(c)}),u)}u(a.arg)}var i;"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n)),this._invoke=function(t,e){function r(){return new Promise((function(r,i){n(t,e,r,i)}))}return i=i?i.then(r,r):r()}}function S(t,e){var n=t.iterator[e.method];if(void 0===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var r=y(n,t.iterator,e.arg);if("throw"===r.type)return e.method="throw",e.arg=r.arg,e.delegate=null,f;var i=r.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n1&&void 0!==arguments[1]?arguments[1]:{};h(this,e);var r={target:null,source:null,autoplay:!1,mode:o.default.PC,currentTime:0,loop:!1,muted:!1,playbackRate:1,poster:"",volume:1,showPictureInPicture:!0,leftControls:[],rightControls:[],centerControls:[]};r.target=t;var i=p(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return i.option=Object.assign({},r,n),i.video_=null,(0,l.default)()||(i.option.mode=o.default.MB),i.init(),i}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"init",value:function(){var t=this,e=this.option.target,n=this.option.source,r=this.videoTarget_=null,i=this.videoSource_=null;switch(r="string"==typeof e?document.getElementById(e):e,i=n instanceof c.default?n:new c.default({src:n}),this.option.mode){case o.default.PC:this.video_=new u.default({mode:this.option.mode,target:r,source:i,autoplay:this.option.autoplay,currentTime:this.option.currentTime,loop:this.option.loop,muted:this.option.muted,playbackRate:this.option.playbackRate,poster:this.option.poster,volume:this.option.volume,showPictureInPicture:this.option.showPictureInPicture,leftControls:this.option.leftControls,rightControls:this.option.rightControls,centerControls:this.option.centerControls});break;case o.default.MB:this.video_=new a.default({mode:this.option.mode,target:r,source:i,autoplay:this.option.autoplay,currentTime:this.option.currentTime,loop:this.option.loop,muted:this.option.muted,playbackRate:this.option.playbackRate,poster:this.option.poster,volume:this.option.volume,showPictureInPicture:this.option.showPictureInPicture,leftControls:this.option.leftControls,rightControls:this.option.rightControls,centerControls:this.option.centerControls})}this.video_.ontimeupdate_=function(e){t.dispatchEvent(f.default.CHANGE)},this.video_.onready_=function(){t.dispatchEvent(f.default.READY)},this.video_.videoEvent_=function(e){switch(t.dispatchEvent(e),e){case f.default.TIME_UPDATE:t.option.currentTime=t.video_.option.currentTime=t.video_.getCurrentTime_();break;case f.default.VOLUME_CHANGE:t.option.volume=t.video_.option.volume=t.video_.getVolume_();break;case f.default.RATE_CHANGE:t.option.playbackRate=t.video_.option.playbackRate=t.video_.getPlaybackRate_()}}}},{key:"getContainer",value:function(){return this.videoTarget_}},{key:"setSource",value:function(t){var e=void 0;e=t instanceof c.default?t:new c.default({src:t}),this.removeSource(),this.video_.video_.load(),this.video_.addSource_(e)}},{key:"removeSource",value:function(){this.video_.video_.removeChild(this.video_.source_)}},{key:"play",value:function(){this.video_.play_()}},{key:"pause",value:function(){this.video_.pause_()}},{key:"getAllTime",value:function(){return this.video_.getAllTime_()}},{key:"getCurrentTime",value:function(){return this.video_.getCurrentTime_()}},{key:"setCurrentTime",value:function(t){this.video_.setCurrentTimeClone_(t)}},{key:"isReady",value:function(){return this.video_.isReady_()}},{key:"isEnded",value:function(){return this.video_.isEnded_()}},{key:"setLoop",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.video_.setLoop_(t)}},{key:"isLoop",value:function(){return this.video_.isLoop_()}},{key:"setMuted",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.video_.setMuted_(t)}},{key:"isMuted",value:function(){return this.video_.isMuted_()}},{key:"getNetworkState",value:function(){return this.video_.getNetworkState_()}},{key:"isPlay",value:function(){return this.video_.isPlay_()}},{key:"getPlaybackRate",value:function(){return this.video_.getPlaybackRate_()}},{key:"setPlaybackRate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.video_.setPlaybackRate_(t)}},{key:"setPoster",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.video_.setPoster_(t)}},{key:"setVolume",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.video_.setVolume_(t)}},{key:"getVolume",value:function(){return this.video_.getVolume_()}},{key:"addControlLeft",value:function(t){t instanceof s.default&&this.video_.addControlLeft_(t)}},{key:"addControlRight",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t instanceof s.default&&this.video_.addControlRight_(t,e)}},{key:"addControlCenter",value:function(t){t instanceof s.default&&this.video_.addControlCenter_(t)}},{key:"fullScreen",value:function(){this.video_.fullScreen_()}},{key:"cancelFullScreen",value:function(){this.video_.cancelFullScreen_()}},{key:"addBarrage",value:function(t){this.video_.addBarrage_(t)}},{key:"clearBarrages",value:function(){this.video_.clearBarrages_()}},{key:"enterPicInPic",value:function(){this.video_.enterPicInPic_()}},{key:"leavePicInPic",value:function(){this.video_.leavePicInPic_()}}]),e}(i.default);e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;ne?1:t>1),(o=Number(u(t[i],e)))<0?a=i+1:(c=i,s=!o);return s?a:~a},e.numberSafeCompareFunction=r,e.includes=function(t,e){return t.indexOf(e)>=0},e.linearFindNearest=function(t,e,n){var r=t.length;if(t[0]<=e)return 0;if(e<=t[r-1])return r-1;var i=void 0;if(n>0){for(i=1;i-1;r&&t.splice(n,1);return r},e.find=function(t,e){for(var n=t.length>>>0,r=void 0,i=0;i0||n&&0===o)}))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,i=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};c(this,e);var n={target:null,source:null,autoplay:!1},r=Object.assign({},n,t);return s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,r))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"setEventDefaultControl_",value:function(){var t=this,e=this.muteMenu_,n=this.mutePanel_,r=this.progressBar_,i=this.progressBtn_;e.onmouseover=function(){n.classList.remove("hide")};var o=null;e.onmouseleave=function(){o=setTimeout((function(){n.classList.add("hide"),clearTimeout(o)}),500)},n.onmouseover=function(){n.classList.remove("hide"),clearTimeout(o)},n.onmouseleave=function(){n.classList.remove("hide")},n.onclick=function(t){t.stopPropagation()},r.onmouseover=function(){r.style.height="4px"},r.onmouseout=function(){r.style.height="2px"};var u=null,c=null,s=null,f=null,l=null,v=function e(){document.removeEventListener("touchmove",h),document.removeEventListener("touchend",e),t.play_(),t.setCurrentTime_(l),t.clearBarrages_()},h=function(e){t.pause_();var n=e.targetTouches[0].clientX,r=Math.min(u,Math.max(-2,s+(n-c)))/f,o=100*r+"%";i.style.left=o,t.progressNum_.style.width=o;var v=t.getAllTime_();l=v*r,t.timeStart_.innerHTML=(0,a.formatSeconds)(l),e.preventDefault()};i.addEventListener("touchstart",(function(t){var e=t.targetTouches[0];c=e.clientX,s=i.offsetLeft,u=r.offsetWidth-i.offsetWidth,f=r.clientWidth,l=0,document.addEventListener("touchmove",h,{passive:!1}),document.addEventListener("touchend",v),t.preventDefault()}),{passive:!1})}}]),e}(u.default);e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){for(var t=navigator.userAgent,e=["Android","iPhone","SymbianOS","Windows Phone","iPad","iPod"],n=!0,r=0;r0){n=!1;break}return n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o(this,t);var r={color:"#ffffff",fontSize:14,fontFamily:"微软雅黑",fontWeight:600,text:e,area:.5,leftDom:null,rightDom:null};this.option=(0,i.assign)({},r,n)}return r(t,[{key:"getText",value:function(){return this.option.text}},{key:"getColor",value:function(){return this.option.color}},{key:"getFontSize",value:function(){return this.option.fontSize+"px"}},{key:"getFontFamily",value:function(){return this.option.fontFamily}},{key:"getMinTop",value:function(t){return t.clientHeight-t.clientHeight*(1-this.option.area)+80}},{key:"getLeftDom",value:function(){return this.option.leftDom}},{key:"getRightDom",value:function(){return this.option.rightDom}},{key:"getFontWeight",value:function(){return this.option.fontWeight}}]),t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};u(this,e);var n={speeds:["0.5","1.0","1.25","1.5","2.0"]},r=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.option=Object.assign({},n,t),r.active_="1.0",r.activeLi_=null,r.icon_={"1.0":"",.5:"",1.25:"",1.5:"","2.0":""},r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"create_",value:function(){var t=this,e=this.speed_=document.createElement("button");e.className="sv-speedBtn sv-font sv-next";var n=this.span_=document.createElement("span");e.appendChild(n),n.innerHTML=this.icon_[this.active_],this.element_.appendChild(e);var r=document.createElement("div");r.className="sv-speed-btn hide",e.appendChild(r);var i=document.createElement("ul");this.option.speeds.forEach((function(e){var r=document.createElement("li");r.setAttribute("id",e),t.active_===e&&(r.className="sv-active",t.activeLi_=r),r.innerHTML=e+"X",r.onclick=function(){t.video_.setPlaybackRate_(Number(e)),t.active_=e,n.innerHTML=t.icon_[t.active_],t.activeLi_.classList.remove("sv-active"),r.className="sv-active",t.activeLi_=r},i.appendChild(r)})),r.appendChild(i),e.onmouseover=function(){r.classList.remove("hide")};var o=null;e.onmouseleave=function(){o=setTimeout((function(){r.classList.add("hide"),clearTimeout(o)}),500)},r.onmouseover=function(){r.classList.remove("hide"),clearTimeout(o)},r.onmouseleave=function(){r.classList.remove("hide")}}},{key:"setSpeed",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1.0";if(this.option.speeds.indexOf(t)>=0){this.active_=t,this.span_.innerHTML=this.icon_[this.active_];var e=document.getElementById(t);null!==this.activeLi_&&this.activeLi_.classList.remove("sv-active"),this.activeLi_=e,this.video_.setPlaybackRate_(Number(t))}}}]),e}(((r=o)&&r.__esModule?r:{default:r}).default);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};s(this,e);var n={width:240,colors:["#FE0302","#FF7204","#FFAA02","#FFD302","#00CD00","#A0EE00","#00CD00","#019899","#4266BE","#89D5FF","#CC0273","#222222","#9B9B9B","#FFFFFF"],activeColor:"#FFFFFF",value:""},r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return r.option=(0,a.assign)({},n,t),r.activeLi_=null,r}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"create_",value:function(){var t=this,e=document.createElement("div");e.className="sv-barrage",this.element_.appendChild(e);var n=document.createElement("div");n.className="sv-barrage-a",e.appendChild(n);var r=this.barrageInput_=document.createElement("input");r.className="sv-barrage-input",r.placeholder="发个弹幕见证当下",e.appendChild(r);var i=document.createElement("button");i.className="sv-barrage-button",i.innerHTML="发送",e.appendChild(i);var a=document.createElement("div");a.innerHTML="",a.className="sv-barrage-font sv-font sv-fontBtn",e.appendChild(a);var c=document.createElement("div");c.className="sv-apanel hide",e.appendChild(c);var s=document.createElement("div");s.className="sv-apanel-item",c.appendChild(s);var f=document.createElement("span");f.innerHTML="颜色",s.appendChild(f);var l=document.createElement("ul");this.option.colors.forEach((function(e){var n=document.createElement("li");n.setAttribute("color",e),n.style.backgroundColor=e,l.appendChild(n),n.onclick=function(){t.option.activeColor=n.getAttribute("color"),n.classList.add("activeColor"),t.activeLi_.classList.remove("activeColor"),t.activeLi_=n},"#FFFFFF"===e&&(t.activeLi_=n,n.classList.add("activeColor"))})),s.appendChild(l),this.setWidth(),i.onclick=function(){var e=t.option.activeColor;t.video_.addBarrage_(new u.default(r.value,{color:e})),t.option.value=r.value,r.value="",t.dispatchEvent(o.default.SEND)},r.onkeydown=function(t){13===t.keyCode&&i.click()},a.onmouseover=function(){c.classList.remove("hide")};var v=null;a.onmouseleave=function(){v=setTimeout((function(){c.classList.add("hide"),clearTimeout(v)}),500)},c.onmouseover=function(){c.classList.remove("hide"),clearTimeout(v)},c.onmouseleave=function(){c.classList.add("hide")}}},{key:"setBarrage_",value:function(t){this.video_.addBarrage_(t)}},{key:"setWidth",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:240;this.barrageInput_.style.width=t+"px",this.option.width=t}}]),e}(i.default);e.default=l},function(t,e){},,,,,function(t,e){}]).default})); \ No newline at end of file diff --git a/public/static/common/js/test.txt b/public/static/common/js/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/public/static/common/js/watermark.js b/public/static/common/js/watermark.js new file mode 100644 index 0000000..9295fa1 --- /dev/null +++ b/public/static/common/js/watermark.js @@ -0,0 +1 @@ +eval(function(p,a,c,k,e,r){e=function(c){return(c<62?'':e(parseInt(c/62)))+((c=c%62)>35?String.fromCharCode(c+29):c.toString(36))};if('0'.replace(0,e)==0){while(c--)r[e(c)]=k[c];k=[function(e){return r[e]||e}];e=function(){return'([3-9a-hk-wzA-Z]|1\\w)'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(a(1a,O){7(D X===\'a\'&&X.amd){X([],O())}c 7(D Y===\'Z\'&&Y.1b){Y.1b=O()}c{1a[\'u\']=O()}}(this,a(){4 u={};4 3={E:\'1c\',1d:\'mask_div_id\',1e:"测试水印",f:20,g:20,h:0,k:0,m:50,n:50,1g:\'微软雅黑\',1h:\'black\',1i:\'18px\',1j:0.15,o:1k,p:1k,v:15,1l:0,1m:0,1n:1o,P:Q,};4 w=a(d){7(s.z===1&&D s[0]==="Z"){4 9=s[0]||{};R(8 in 9){7(9[8]&&3[8]&&9[8]===3[8])1q;c 7(9[8]||9[8]===0)3[8]=9[8]}}4 q=l.F(3.E);q&&q.10&&q.10.1r(q);4 A=l.F(3.1n);4 e=A?A:l.body;4 G=S.1s(e.scrollWidth,e.clientWidth);4 H=S.1s(e.scrollHeight,e.clientHeight);4 11=s[0]||{};4 t=e;4 B=0;4 C=0;7(11.1l||11.1m){7(t){B=t.1t||0;C=t.1u||0;3.f=3.f+C;3.g=3.g+B}}c{7(t){B=t.1t||0;C=t.1u||0}}4 b=l.F(3.E);4 r=1o;7(!b){b=l.1v(\'1w\');b.id=3.E;b.setAttribute(\'6\',\'pointer-events: 1y !1z; 1A: 1B !1z\');7(D b.1C===\'a\'){r=b.1C({mode:\'open\'})}c{r=b}4 T=e.children;4 12=S.floor(S.random()*(T.z-1));7(T[12]){e.insertBefore(b,T[12])}c{e.13(b)}}c 7(b.r){r=b.r}3.k=U((G-3.f)/(3.o+3.m));4 14=U((G-3.f-3.o*3.k)/(3.k));3.m=14?3.m:14;4 I;3.h=U((H-3.g)/(3.p+3.n));4 16=U((H-3.g-3.p*3.h)/(3.h));3.n=16?3.n:16;4 J;7(A){I=3.f+3.o*3.k+3.m*(3.k-1);J=3.g+3.p*3.h+3.n*(3.h-1)}c{I=C+3.f+3.o*3.k+3.m*(3.k-1);J=B+3.g+3.p*3.h+3.n*(3.h-1)}4 x;4 y;R(4 i=0;i<3.h;i++){7(A){y=B+3.g+(H-J)/2+(3.n+3.p)*i}c{y=3.g+(H-J)/2+(3.n+3.p)*i}R(4 j=0;j<3.k;j++){7(A){x=C+3.f+(G-I)/2+(3.o+3.m)*j}c{x=3.f+(G-I)/2+(3.o+3.m)*j}4 5=l.1v(\'1w\');4 1D=l.createTextNode(3.1e);5.13(1D);5.id=3.1d+i+j;5.6.webkitTransform="K(-"+3.v+"L)";5.6.MozTransform="K(-"+3.v+"L)";5.6.msTransform="K(-"+3.v+"L)";5.6.OTransform="K(-"+3.v+"L)";5.6.transform="K(-"+3.v+"L)";5.6.visibility="";5.6.position="absolute";5.6.left=x+\'V\';5.6.top=y+\'V\';5.6.overflow="hidden";5.6.zIndex="9999999";5.6.opacity=3.1j;5.6.fontSize=3.1i;5.6.fontFamily=3.1g;5.6.color=3.1h;5.6.textAlign="center";5.6.width=3.o+\'V\';5.6.height=3.p+\'V\';5.6.1A="1B";5.6[\'-ms-user-select\']="1y";r.13(5)}}1E 1F=d.P===undefined?3.P:d.P;7(1F){17.1G(e,18);17.1G(l.F(\'1c\').r,18)}};4 1H=a(){7(s.z===1&&D s[0]==="Z"){4 9=s[0]||{};R(8 in 9){7(9[8]&&3[8]&&9[8]===3[8])1q;c 7(9[8]||9[8]===0)3[8]=9[8]}}4 q=l.F(3.E);4 1I=q.10;1I.1r(q)};4 M;u.init=a(d){M=d;w(d);N.1J(\'onload\',a(){w(d)});N.1J(\'resize\',a(){w(d)})};u.load=a(d){M=d;w(d)};u.remove=a(){1H()};4 1K=a(W){7((M&&W.z===1)||W.z===1&&W[0].removedNodes.z>=1){w(M)}};1E 19=N.19||N.WebKitMutationObserver||N.MozMutationObserver;4 17=new 19(1K);4 18={\'childList\':Q,\'attributes\':Q,\'subtree\':Q,};return u}));',[],109,'|||defaultSettings|var|mask_div|style|if|key|src|function|otdiv|else|settings|watermark_hook_element|watermark_x|watermark_y|watermark_rows|||watermark_cols|document|watermark_x_space|watermark_y_space|watermark_width|watermark_height|watermark_element|shadowRoot|arguments|parentEle|watermark|watermark_angle|loadMark|||length|watermark_parent_element|page_offsetTop|page_offsetLeft|typeof|watermark_id|getElementById|page_width|page_height|allWatermarkWidth|allWatermarkHeight|rotate|deg|globalSetting|window|factory|monitor|true|for|Math|nodeList|parseInt|px|records|define|module|object|parentNode|setting|index|appendChild|temp_watermark_x_space||temp_watermark_y_space|watermarkDom|option|MutationObserver|root|exports|wm_div_id|watermark_prefix|watermark_txt||watermark_font|watermark_color|watermark_fontsize|watermark_alpha|100|watermark_parent_width|watermark_parent_height|watermark_parent_node|null||continue|removeChild|max|offsetTop|offsetLeft|createElement|div||none|important|display|block|attachShadow|oText|const|minotor|observe|removeMark|_parentElement|addEventListener|callback'.split('|'),0,{})) diff --git a/public/static/common/test.txt b/public/static/common/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/public/static/common/voice/calling.mp3 b/public/static/common/voice/calling.mp3 new file mode 100644 index 0000000..3fadd00 Binary files /dev/null and b/public/static/common/voice/calling.mp3 differ diff --git a/public/static/common/voice/guaduan.mp3 b/public/static/common/voice/guaduan.mp3 new file mode 100644 index 0000000..bf323ae Binary files /dev/null and b/public/static/common/voice/guaduan.mp3 differ diff --git a/public/static/css/main.css b/public/static/css/main.css new file mode 100644 index 0000000..17bbea1 --- /dev/null +++ b/public/static/css/main.css @@ -0,0 +1,546 @@ +@font-face { + font-family: 'iconfont'; + /* project id 1867770 */ + src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot'); + src: url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.eot?#iefix') format('embedded-opentype'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff2') format('woff2'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.woff') format('woff'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.ttf') format('truetype'), url('https://at.alicdn.com/t/font_1867770_5pzef3csvso.svg#iconfont') format('svg'); +} + +.sv-target video { + background-color: #000; +} + +.sv-font { + font-family: 'iconfont'; +} + +.sv-pic-pic { + color: #ffffff; + font-size: 20px; + margin-right: 6px; +} + +.sv-play { + color: #ffffff; + font-size: 20px; +} + +.sv-fontBtn { + color: #ffffff; + font-size: 20px; +} + +.sv-next { + color: #ffffff; + font-size: 20px; +} + +.sv-fullScreen { + color: #ffffff; + font-size: 20px; +} + +.sv-cancelFull { + color: #ffffff; + font-size: 20px; +} + +.sv-target { + position: relative; +} + +.sv-control { + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 54px; + background-color: rgba(0, 0, 0, 0.5); + display: flex; + flex-direction: row; + justify-content: space-between; +} + +.sv-play-container { + height: 100%; + /* background-color: royalblue; */ + display: flex; + flex-direction: row; + padding-right: 10px; +} + +.sv-control-r { + height: 100%; + /* background-color: royalblue; */ + display: flex; + flex-direction: row; + padding-left: 10px; + padding-right: 10px; +} + +.sv-play-container button.sv-playBtn { + background: none; + border: none; + cursor: pointer; + padding: 0 10px; + outline: none; + color: inherit; + text-align: inherit; + font: inherit; + line-height: inherit; + margin-left: 10px; +} + +.sv-control-r button.showMute { + background: none; + border: none; + cursor: pointer; + padding: 0 10px; + outline: none; + color: inherit; + text-align: inherit; + font: inherit; + line-height: inherit; + position: relative; +} + +.sv-time { + height: 100%; + color: #ffffff; + display: flex; + flex-direction: row; + align-items: center; + font-size: 12px; +} + +.sv-time-split { + padding: 0 4px; +} + +.sv-mutePanel { + position: absolute; + top: -120px; + left: 0; + width: 20px; + height: 80px; + background-color: rgba(0, 0, 0, 0.8); + display: flex; + flex-direction: column; + padding: 16px 6px; + border-radius: 4px; +} + +.sv-mute-num { + width: 100%; + height: 20px; + background-color: transparent; + color: #ffffff; + font-size: 12px; + text-align: center; + margin-bottom: 4px; +} + +.sv-mute-slider { + flex: 1; + width: 3px; + background-color: #ffffff; + margin: 0 auto; + position: relative; + display: flex; + flex-direction: column-reverse; +} + +.sv-mute-sliderRange { + width: 100%; + background-color: #00a1d6; +} + +.sv-control-r button.sv-mute-button { + position: absolute; + top: 0; + left: -4.5px; + width: 12px; + height: 12px; + border-radius: 50%; + z-index: 10; + background-color: #00a1d6; + border: 0; + cursor: pointer; + outline: none; +} + +.sv-progressBar { + position: absolute; + top: 0; + left: 2%; + width: 96%; + height: 2px; + background-color: hsla(0, 0%, 100%, .2); + border-radius: 4px; + cursor: pointer; +} + +.sv-cacheProgress { + width: 0%; + height: 100%; + background-color: #7a7878; + border-radius: 4px; +} + +.sv-progressNum { + width: 0%; + height: 100%; + position: absolute; + top: 0; + left: 0; + border-radius: 4px; + background-color: #00a1d6; +} + +.sv-progressBtn { + position: absolute; + left: 0%; + top: -7px; + width: 16px; + height: 16px; + border-radius: 50%; + background-color: rgba(0, 161, 214, 0.5); + cursor: pointer; +} + +.sv-progressBtn>div { + width: 10px; + height: 10px; + border-radius: 50%; + background-color: #00a1d6; + margin-top: 2.6px; + margin-left: 2.8px; +} + +.hide { + display: none!important; +} + +.sv-full-screen { + position: fixed!important; + width: 100%!important; + height: 100%!important; + left: 0!important; + top: 0!important; + margin: 0!important; + padding: 0!important; +} + +.sv-loading { + /* width: 60px; + height: 60px; */ + position: absolute; + left: 48%; + top: 48%; +} + +.sv-loading span { + display: inline-block; + width: 4px; + height: 100%; + border-radius: 4px; + background: #00a1d6; + -webkit-animation: load 1s ease infinite; + animation: load 1s ease infinite; +} + +@-webkit-keyframes load { + 0%, + 100% { + height: 20px; + background: #00a1d6; + } + 50% { + height: 40px; + margin: -15px 0; + background: lightblue; + } +} + +.sv-loading span:nth-child(2) { + -webkit-animation-delay: 0.2s; + animation-delay: 0.2s; +} + +.sv-loading span:nth-child(3) { + -webkit-animation-delay: 0.4s; + animation-delay: 0.4s; +} + +.sv-loading span:nth-child(4) { + -webkit-animation-delay: 0.6s; + animation-delay: 0.6s; +} + +.sv-loading span:nth-child(5) { + -webkit-animation-delay: 0.8s; + animation-delay: 0.8s; +} + + +/* 弹幕 */ + +.sv-brrage { + position: absolute; + padding: 4px; + background-color: transparent; + display: flex; + flex-direction: row; + white-space: nowrap; + width: auto; + word-wrap: break-word; + max-width: 500px; + min-width: 100px; +} + +.sv-brrage-center { + text-shadow: rgb(0, 0, 0) 1px 0px 1px, rgb(0, 0, 0) 0px 1px 1px, rgb(0, 0, 0) 0px -1px 1px, rgb(0, 0, 0) -1px 0px 1px; +} + + +/* 画中画 */ + +.sv-picinpic { + position: absolute; + z-index: 22; + position: absolute; + top: 20px; + right: 20px; + white-space: nowrap; + height: 36px; + padding: 0 12px; + overflow: visible; + border-radius: 2px; + border-radius: 18px; + background: #2b2b2b; + background: rgba(43, 43, 43, .8); + color: #fff; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + font-size: 14px; + cursor: pointer; +} + +.sv-picinpic:hover { + background: linear-gradient(90deg, #4ca9c7 0, #03bbf7)!important +} + +.sv-el-control-style { + padding-right: 10px; + padding-left: 10px; + height: 100%; + display: flex; + flex-direction: row; +} + +.sv-nextBtn { + background: none; + border: none; + cursor: pointer; + outline: none; + text-align: inherit; +} + +.sv-speedBtn { + background: none; + border: none; + cursor: pointer; + outline: none; + text-align: inherit; + position: relative; +} + +.sv-speedBtn .sv-speed-btn { + position: absolute; + bottom: 54px; + left: -10px; + padding: 10px; + border-radius: 4px; + background-color: rgba(0, 0, 0, 0.8); + /* box-sizing: border-box; + border: 1px solid #ffffff; */ +} + +.sv-speedBtn .sv-speed-btn ul { + padding: 0; + margin: 0; +} + +.sv-speedBtn .sv-speed-btn ul li { + list-style: none; + font-size: 12px; + line-height: 20px; + cursor: pointer; +} + +.sv-speedBtn .sv-speed-btn ul li:hover { + color: #00a1d6; +} + +.sv-active { + color: #00a1d6!important; +} + +.sv-control-c { + height: 100%; +} + + +/* 弹幕控件 */ + +.sv-barrage { + display: flex; + flex-direction: row; + align-items: center; + height: 100%; + position: relative; +} + +.sv-barrage-a { + height: 26px; +} + +.sv-barrage-input { + height: 17px; + outline: none; + padding: 6px 30px; + border-top-left-radius: 4px; + border-bottom-left-radius: 4px; + border-top: 1px solid #333333; + border-left: 1px solid #333333; + border-bottom: 1px solid #333333; + border-right: 1px solid #00a1d6; + background: none; + font-size: 12px; + color: #fff; +} + +.sv-barrage-button { + height: 31px; + background-color: #00a1d6; + color: #fff; + width: 60px; + min-width: 60px; + text-align: center; + cursor: pointer; + box-sizing: border-box; + border-top: 1px solid #333333; + border-right: 1px solid #333333; + border-bottom: 1px solid #333333; + border-left: 1px solid #00a1d6; + border-top-right-radius: 4px; + border-bottom-right-radius: 4px; + outline: none; + vertical-align: middle; +} + +.sv-barrage-button:hover { + background-color: #03bbf7; + border-left: 1px solid #03bbf7; +} + +.sv-barrage-font { + position: absolute; + left: 6px; + top: 16px; + cursor: pointer; +} + +.sv-apanel { + position: absolute; + bottom: 54px; + left: -10px; + padding: 10px; + border-radius: 4px; + background-color: rgba(0, 0, 0, 0.8); + width: 200px; + height: 100px; + display: flex; + flex-direction: column; + color: #fff; + z-index: 99999; +} + +.sv-apanel-item { + display: flex; + flex-direction: column; + overflow: hidden; +} + +.sv-apanel-item span { + font-size: 12px; +} + +.sv-apanel-item ul { + margin: 0; + padding: 0; + margin-top: 8px; +} + +.sv-apanel-item ul li { + list-style: none; + background-color: #fff; + display: block; + width: 20px; + height: 20px; + margin: 4px; + float: left; + cursor: pointer; +} + +.activeColor { + box-sizing: border-box; + border: 2px solid #ffff; +} + +#videoContainer { + width: 800px; + height: 500px; + margin-left: auto; + margin-right: auto; + margin-top: 100px; +} + +body { + background-color: #00000089; + color: #5F5F5F; + margin: 0; + padding: 0; + height: 100%; + overflow: hidden; +} + +.container { + text-align: center; + font-size: 72px; + margin-top: 20%; +} + + +/*zoom-marker*/ + +.picview { + width: 50%; + margin: auto auto auto auto; + height: 800px; + overflow: hidden; +} + +.picview img { + position: absolute; + left: 30%; + top: 20%; + width: 500px; + z-index: 1; +} + +.zoom-marker { + cursor: pointer; + z-index: 2; +} \ No newline at end of file diff --git a/public/static/docxjs/js/docx-preview.js b/public/static/docxjs/js/docx-preview.js new file mode 100644 index 0000000..1a620a7 --- /dev/null +++ b/public/static/docxjs/js/docx-preview.js @@ -0,0 +1,4496 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(require("jszip")); + else if(typeof define === 'function' && define.amd) + define(["jszip"], factory); + else if(typeof exports === 'object') + exports["docx"] = factory(require("jszip")); + else + root["docx"] = factory(root["JSZip"]); +})(globalThis, (__WEBPACK_EXTERNAL_MODULE_jszip__) => { +return /******/ (() => { // webpackBootstrap +/******/ "use strict"; +/******/ var __webpack_modules__ = ({ + +/***/ "./src/mathml.scss": +/*!*************************!*\ + !*** ./src/mathml.scss ***! + \*************************/ +/***/ ((module, __webpack_exports__, __webpack_require__) => { + +__webpack_require__.r(__webpack_exports__); +/* harmony export */ __webpack_require__.d(__webpack_exports__, { +/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__) +/* harmony export */ }); +/* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/sourceMaps.js */ "./node_modules/css-loader/dist/runtime/sourceMaps.js"); +/* harmony import */ var _node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); +/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../node_modules/css-loader/dist/runtime/getUrl.js */ "./node_modules/css-loader/dist/runtime/getUrl.js"); +/* harmony import */ var _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2__); +// Imports + + + +var ___CSS_LOADER_URL_IMPORT_0___ = new URL(/* asset import */ __webpack_require__(/*! data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E */ "data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E"), __webpack_require__.b); +var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default())); +var ___CSS_LOADER_URL_REPLACEMENT_0___ = _node_modules_css_loader_dist_runtime_getUrl_js__WEBPACK_IMPORTED_MODULE_2___default()(___CSS_LOADER_URL_IMPORT_0___); +// Module +___CSS_LOADER_EXPORT___.push([module.id, "@namespace \"http://www.w3.org/1998/Math/MathML\";\nmath {\n display: inline-block;\n line-height: initial;\n}\n\nmfrac {\n display: inline-block;\n vertical-align: -50%;\n text-align: center;\n}\nmfrac > :first-child {\n border-bottom: solid thin currentColor;\n}\nmfrac > * {\n display: block;\n}\n\nmsub > :nth-child(2) {\n font-size: smaller;\n vertical-align: sub;\n}\n\nmsup > :nth-child(2) {\n font-size: smaller;\n vertical-align: super;\n}\n\nmunder, mover, munderover {\n display: inline-flex;\n flex-flow: column nowrap;\n vertical-align: middle;\n text-align: center;\n}\nmunder > :not(:first-child), mover > :not(:first-child), munderover > :not(:first-child) {\n font-size: smaller;\n}\n\nmunderover > :last-child {\n order: -1;\n}\n\nmroot, msqrt {\n position: relative;\n display: inline-block;\n border-top: solid thin currentColor;\n margin-top: 0.5px;\n vertical-align: middle;\n margin-left: 1ch;\n}\nmroot:before, msqrt:before {\n content: \"\";\n display: inline-block;\n position: absolute;\n width: 1ch;\n left: -1ch;\n top: -1px;\n bottom: 0;\n background-image: url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");\n}", "",{"version":3,"sources":["webpack://./src/mathml.scss"],"names":[],"mappings":"AAAA,+CAAA;AAEA;EACI,qBAAA;EACA,oBAAA;AAAJ;;AAGA;EACI,qBAAA;EACA,oBAAA;EACA,kBAAA;AAAJ;AAEI;EACI,sCAAA;AAAR;AAGI;EACI,cAAA;AADR;;AAMI;EACI,kBAAA;EACA,mBAAA;AAHR;;AAQI;EACI,kBAAA;EACA,qBAAA;AALR;;AASA;EACI,oBAAA;EACA,wBAAA;EACA,sBAAA;EACA,kBAAA;AANJ;AAQI;EACI,kBAAA;AANR;;AAWI;EAAgB,SAAA;AAPpB;;AAUA;EACI,kBAAA;EACA,qBAAA;EACA,mCAAA;EACA,iBAAA;EACA,sBAAA;EACA,gBAAA;AAPJ;AASI;EACI,WAAA;EACA,qBAAA;EACA,kBAAA;EACA,UAAA;EACA,UAAA;EACA,SAAA;EACA,SAAA;EACA,yDAAA;AAPR","sourcesContent":["@namespace \"http://www.w3.org/1998/Math/MathML\";\r\n\r\nmath {\r\n display: inline-block;\r\n line-height: initial;\r\n}\r\n\r\nmfrac {\r\n display: inline-block;\r\n vertical-align: -50%;\r\n text-align: center;\r\n\r\n &>:first-child {\r\n border-bottom: solid thin currentColor;\r\n }\r\n\r\n &>* {\r\n display: block;\r\n }\r\n}\r\n\r\nmsub {\r\n &>:nth-child(2) {\r\n font-size: smaller;\r\n vertical-align: sub;\r\n }\r\n}\r\n\r\nmsup {\r\n &>:nth-child(2) {\r\n font-size: smaller;\r\n vertical-align: super;\r\n }\r\n}\r\n\r\nmunder, mover, munderover {\r\n display: inline-flex;\r\n flex-flow: column nowrap;\r\n vertical-align: middle;\r\n text-align: center;\r\n\r\n &>:not(:first-child) {\r\n font-size: smaller;\r\n }\r\n}\r\n\r\nmunderover {\r\n &>:last-child { order: -1; }\r\n}\r\n\r\nmroot, msqrt {\r\n position: relative;\r\n display: inline-block;\r\n border-top: solid thin currentColor; \r\n margin-top: 0.5px;\r\n vertical-align: middle; \r\n margin-left: 1ch; \r\n\r\n &:before {\r\n content: \"\";\r\n display: inline-block;\r\n position: absolute;\r\n width: 1ch;\r\n left: -1ch;\r\n top: -1px;\r\n bottom: 0;\r\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 100' preserveAspectRatio='none'%3E%3Cpath d='m0,75 l5,0 l5,25 l10,-100' stroke='black' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E\");\r\n }\r\n}"],"sourceRoot":""}]); +// Exports +/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___.toString()); + + +/***/ }), + +/***/ "./node_modules/css-loader/dist/runtime/api.js": +/*!*****************************************************!*\ + !*** ./node_modules/css-loader/dist/runtime/api.js ***! + \*****************************************************/ +/***/ ((module) => { + + + +/* + MIT License http://www.opensource.org/licenses/mit-license.php + Author Tobias Koppers @sokra +*/ +module.exports = function (cssWithMappingToString) { + var list = []; + + // return the list of modules as css string + list.toString = function toString() { + return this.map(function (item) { + var content = ""; + var needLayer = typeof item[5] !== "undefined"; + if (item[4]) { + content += "@supports (".concat(item[4], ") {"); + } + if (item[2]) { + content += "@media ".concat(item[2], " {"); + } + if (needLayer) { + content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {"); + } + content += cssWithMappingToString(item); + if (needLayer) { + content += "}"; + } + if (item[2]) { + content += "}"; + } + if (item[4]) { + content += "}"; + } + return content; + }).join(""); + }; + + // import a list of modules into the list + list.i = function i(modules, media, dedupe, supports, layer) { + if (typeof modules === "string") { + modules = [[null, modules, undefined]]; + } + var alreadyImportedModules = {}; + if (dedupe) { + for (var k = 0; k < this.length; k++) { + var id = this[k][0]; + if (id != null) { + alreadyImportedModules[id] = true; + } + } + } + for (var _k = 0; _k < modules.length; _k++) { + var item = [].concat(modules[_k]); + if (dedupe && alreadyImportedModules[item[0]]) { + continue; + } + if (typeof layer !== "undefined") { + if (typeof item[5] === "undefined") { + item[5] = layer; + } else { + item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}"); + item[5] = layer; + } + } + if (media) { + if (!item[2]) { + item[2] = media; + } else { + item[1] = "@media ".concat(item[2], " {").concat(item[1], "}"); + item[2] = media; + } + } + if (supports) { + if (!item[4]) { + item[4] = "".concat(supports); + } else { + item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}"); + item[4] = supports; + } + } + list.push(item); + } + }; + return list; +}; + +/***/ }), + +/***/ "./node_modules/css-loader/dist/runtime/getUrl.js": +/*!********************************************************!*\ + !*** ./node_modules/css-loader/dist/runtime/getUrl.js ***! + \********************************************************/ +/***/ ((module) => { + + + +module.exports = function (url, options) { + if (!options) { + options = {}; + } + if (!url) { + return url; + } + url = String(url.__esModule ? url.default : url); + + // If url is already wrapped in quotes, remove them + if (/^['"].*['"]$/.test(url)) { + url = url.slice(1, -1); + } + if (options.hash) { + url += options.hash; + } + + // Should url be wrapped? + // See https://drafts.csswg.org/css-values-3/#urls + if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) { + return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\""); + } + return url; +}; + +/***/ }), + +/***/ "./node_modules/css-loader/dist/runtime/sourceMaps.js": +/*!************************************************************!*\ + !*** ./node_modules/css-loader/dist/runtime/sourceMaps.js ***! + \************************************************************/ +/***/ ((module) => { + + + +module.exports = function (item) { + var content = item[1]; + var cssMapping = item[3]; + if (!cssMapping) { + return content; + } + if (typeof btoa === "function") { + var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))); + var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64); + var sourceMapping = "/*# ".concat(data, " */"); + return [content].concat([sourceMapping]).join("\n"); + } + return [content].join("\n"); +}; + +/***/ }), + +/***/ "./src/common/open-xml-package.ts": +/*!****************************************!*\ + !*** ./src/common/open-xml-package.ts ***! + \****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OpenXmlPackage = void 0; +const JSZip = __webpack_require__(/*! jszip */ "jszip"); +const xml_parser_1 = __webpack_require__(/*! ../parser/xml-parser */ "./src/parser/xml-parser.ts"); +const utils_1 = __webpack_require__(/*! ../utils */ "./src/utils.ts"); +const relationship_1 = __webpack_require__(/*! ./relationship */ "./src/common/relationship.ts"); +class OpenXmlPackage { + constructor(_zip, options) { + this._zip = _zip; + this.options = options; + this.xmlParser = new xml_parser_1.XmlParser(); + } + get(path) { + return this._zip.files[normalizePath(path)]; + } + update(path, content) { + this._zip.file(path, content); + } + static load(input, options) { + return JSZip.loadAsync(input).then(zip => new OpenXmlPackage(zip, options)); + } + save(type = "blob") { + return this._zip.generateAsync({ type }); + } + load(path, type = "string") { + var _a, _b; + return (_b = (_a = this.get(path)) === null || _a === void 0 ? void 0 : _a.async(type)) !== null && _b !== void 0 ? _b : Promise.resolve(null); + } + loadRelationships(path = null) { + let relsPath = `_rels/.rels`; + if (path != null) { + const [f, fn] = (0, utils_1.splitPath)(path); + relsPath = `${f}_rels/${fn}.rels`; + } + return this.load(relsPath) + .then(txt => txt ? (0, relationship_1.parseRelationships)(this.parseXmlDocument(txt).firstElementChild, this.xmlParser) : null); + } + parseXmlDocument(txt) { + return (0, xml_parser_1.parseXmlString)(txt, this.options.trimXmlDeclaration); + } +} +exports.OpenXmlPackage = OpenXmlPackage; +function normalizePath(path) { + return path.startsWith('/') ? path.substr(1) : path; +} + + +/***/ }), + +/***/ "./src/common/part.ts": +/*!****************************!*\ + !*** ./src/common/part.ts ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.Part = void 0; +const xml_parser_1 = __webpack_require__(/*! ../parser/xml-parser */ "./src/parser/xml-parser.ts"); +class Part { + constructor(_package, path) { + this._package = _package; + this.path = path; + } + load() { + return Promise.all([ + this._package.loadRelationships(this.path).then(rels => { + this.rels = rels; + }), + this._package.load(this.path).then(text => { + const xmlDoc = this._package.parseXmlDocument(text); + if (this._package.options.keepOrigin) { + this._xmlDocument = xmlDoc; + } + this.parseXml(xmlDoc.firstElementChild); + }) + ]); + } + save() { + this._package.update(this.path, (0, xml_parser_1.serializeXmlString)(this._xmlDocument)); + } + parseXml(root) { + } +} +exports.Part = Part; + + +/***/ }), + +/***/ "./src/common/relationship.ts": +/*!************************************!*\ + !*** ./src/common/relationship.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseRelationships = exports.RelationshipTypes = void 0; +var RelationshipTypes; +(function (RelationshipTypes) { + RelationshipTypes["OfficeDocument"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument"; + RelationshipTypes["FontTable"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable"; + RelationshipTypes["Image"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"; + RelationshipTypes["Numbering"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering"; + RelationshipTypes["Styles"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"; + RelationshipTypes["StylesWithEffects"] = "http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects"; + RelationshipTypes["Theme"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"; + RelationshipTypes["Settings"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings"; + RelationshipTypes["WebSettings"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings"; + RelationshipTypes["Hyperlink"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"; + RelationshipTypes["Footnotes"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes"; + RelationshipTypes["Endnotes"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes"; + RelationshipTypes["Footer"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer"; + RelationshipTypes["Header"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/header"; + RelationshipTypes["ExtendedProperties"] = "http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties"; + RelationshipTypes["CoreProperties"] = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties"; + RelationshipTypes["CustomProperties"] = "http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties"; +})(RelationshipTypes = exports.RelationshipTypes || (exports.RelationshipTypes = {})); +function parseRelationships(root, xml) { + return xml.elements(root).map(e => ({ + id: xml.attr(e, "Id"), + type: xml.attr(e, "Type"), + target: xml.attr(e, "Target"), + targetMode: xml.attr(e, "TargetMode") + })); +} +exports.parseRelationships = parseRelationships; + + +/***/ }), + +/***/ "./src/document-parser.ts": +/*!********************************!*\ + !*** ./src/document-parser.ts ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentParser = exports.autos = void 0; +const dom_1 = __webpack_require__(/*! ./document/dom */ "./src/document/dom.ts"); +const paragraph_1 = __webpack_require__(/*! ./document/paragraph */ "./src/document/paragraph.ts"); +const section_1 = __webpack_require__(/*! ./document/section */ "./src/document/section.ts"); +const xml_parser_1 = __webpack_require__(/*! ./parser/xml-parser */ "./src/parser/xml-parser.ts"); +const run_1 = __webpack_require__(/*! ./document/run */ "./src/document/run.ts"); +const bookmarks_1 = __webpack_require__(/*! ./document/bookmarks */ "./src/document/bookmarks.ts"); +const common_1 = __webpack_require__(/*! ./document/common */ "./src/document/common.ts"); +const vml_1 = __webpack_require__(/*! ./vml/vml */ "./src/vml/vml.ts"); +exports.autos = { + shd: "inherit", + color: "black", + borderColor: "black", + highlight: "transparent" +}; +const supportedNamespaceURIs = []; +const mmlTagMap = { + "oMath": dom_1.DomType.MmlMath, + "oMathPara": dom_1.DomType.MmlMathParagraph, + "f": dom_1.DomType.MmlFraction, + "num": dom_1.DomType.MmlNumerator, + "den": dom_1.DomType.MmlDenominator, + "rad": dom_1.DomType.MmlRadical, + "deg": dom_1.DomType.MmlDegree, + "e": dom_1.DomType.MmlBase, + "sSup": dom_1.DomType.MmlSuperscript, + "sSub": dom_1.DomType.MmlSubscript, + "sup": dom_1.DomType.MmlSuperArgument, + "sub": dom_1.DomType.MmlSubArgument, + "d": dom_1.DomType.MmlDelimiter, + "nary": dom_1.DomType.MmlNary, +}; +class DocumentParser { + constructor(options) { + this.options = Object.assign({ ignoreWidth: false, debug: false }, options); + } + parseNotes(xmlDoc, elemName, elemClass) { + var result = []; + for (let el of xml_parser_1.default.elements(xmlDoc, elemName)) { + const node = new elemClass(); + node.id = xml_parser_1.default.attr(el, "id"); + node.noteType = xml_parser_1.default.attr(el, "type"); + node.children = this.parseBodyElements(el); + result.push(node); + } + return result; + } + parseDocumentFile(xmlDoc) { + var xbody = xml_parser_1.default.element(xmlDoc, "body"); + var background = xml_parser_1.default.element(xmlDoc, "background"); + var sectPr = xml_parser_1.default.element(xbody, "sectPr"); + return { + type: dom_1.DomType.Document, + children: this.parseBodyElements(xbody), + props: sectPr ? (0, section_1.parseSectionProperties)(sectPr, xml_parser_1.default) : {}, + cssStyle: background ? this.parseBackground(background) : {}, + }; + } + parseBackground(elem) { + var result = {}; + var color = xmlUtil.colorAttr(elem, "color"); + if (color) { + result["background-color"] = color; + } + return result; + } + parseBodyElements(element) { + var children = []; + for (let elem of xml_parser_1.default.elements(element)) { + switch (elem.localName) { + case "p": + children.push(this.parseParagraph(elem)); + break; + case "tbl": + children.push(this.parseTable(elem)); + break; + case "sdt": + children.push(...this.parseSdt(elem, e => this.parseBodyElements(e))); + break; + } + } + return children; + } + parseStylesFile(xstyles) { + var result = []; + xmlUtil.foreach(xstyles, n => { + switch (n.localName) { + case "style": + result.push(this.parseStyle(n)); + break; + case "docDefaults": + result.push(this.parseDefaultStyles(n)); + break; + } + }); + return result; + } + parseDefaultStyles(node) { + var result = { + id: null, + name: null, + target: null, + basedOn: null, + styles: [] + }; + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "rPrDefault": + var rPr = xml_parser_1.default.element(c, "rPr"); + if (rPr) + result.styles.push({ + target: "span", + values: this.parseDefaultProperties(rPr, {}) + }); + break; + case "pPrDefault": + var pPr = xml_parser_1.default.element(c, "pPr"); + if (pPr) + result.styles.push({ + target: "p", + values: this.parseDefaultProperties(pPr, {}) + }); + break; + } + }); + return result; + } + parseStyle(node) { + var result = { + id: xml_parser_1.default.attr(node, "styleId"), + isDefault: xml_parser_1.default.boolAttr(node, "default"), + name: null, + target: null, + basedOn: null, + styles: [], + linked: null + }; + switch (xml_parser_1.default.attr(node, "type")) { + case "paragraph": + result.target = "p"; + break; + case "table": + result.target = "table"; + break; + case "character": + result.target = "span"; + break; + } + xmlUtil.foreach(node, n => { + switch (n.localName) { + case "basedOn": + result.basedOn = xml_parser_1.default.attr(n, "val"); + break; + case "name": + result.name = xml_parser_1.default.attr(n, "val"); + break; + case "link": + result.linked = xml_parser_1.default.attr(n, "val"); + break; + case "next": + result.next = xml_parser_1.default.attr(n, "val"); + break; + case "aliases": + result.aliases = xml_parser_1.default.attr(n, "val").split(","); + break; + case "pPr": + result.styles.push({ + target: "p", + values: this.parseDefaultProperties(n, {}) + }); + result.paragraphProps = (0, paragraph_1.parseParagraphProperties)(n, xml_parser_1.default); + break; + case "rPr": + result.styles.push({ + target: "span", + values: this.parseDefaultProperties(n, {}) + }); + result.runProps = (0, run_1.parseRunProperties)(n, xml_parser_1.default); + break; + case "tblPr": + case "tcPr": + result.styles.push({ + target: "td", + values: this.parseDefaultProperties(n, {}) + }); + break; + case "tblStylePr": + for (let s of this.parseTableStyle(n)) + result.styles.push(s); + break; + case "rsid": + case "qFormat": + case "hidden": + case "semiHidden": + case "unhideWhenUsed": + case "autoRedefine": + case "uiPriority": + break; + default: + this.options.debug && console.warn(`DOCX: Unknown style element: ${n.localName}`); + } + }); + return result; + } + parseTableStyle(node) { + var result = []; + var type = xml_parser_1.default.attr(node, "type"); + var selector = ""; + var modificator = ""; + switch (type) { + case "firstRow": + modificator = ".first-row"; + selector = "tr.first-row td"; + break; + case "lastRow": + modificator = ".last-row"; + selector = "tr.last-row td"; + break; + case "firstCol": + modificator = ".first-col"; + selector = "td.first-col"; + break; + case "lastCol": + modificator = ".last-col"; + selector = "td.last-col"; + break; + case "band1Vert": + modificator = ":not(.no-vband)"; + selector = "td.odd-col"; + break; + case "band2Vert": + modificator = ":not(.no-vband)"; + selector = "td.even-col"; + break; + case "band1Horz": + modificator = ":not(.no-hband)"; + selector = "tr.odd-row"; + break; + case "band2Horz": + modificator = ":not(.no-hband)"; + selector = "tr.even-row"; + break; + default: return []; + } + xmlUtil.foreach(node, n => { + switch (n.localName) { + case "pPr": + result.push({ + target: `${selector} p`, + mod: modificator, + values: this.parseDefaultProperties(n, {}) + }); + break; + case "rPr": + result.push({ + target: `${selector} span`, + mod: modificator, + values: this.parseDefaultProperties(n, {}) + }); + break; + case "tblPr": + case "tcPr": + result.push({ + target: selector, + mod: modificator, + values: this.parseDefaultProperties(n, {}) + }); + break; + } + }); + return result; + } + parseNumberingFile(xnums) { + var result = []; + var mapping = {}; + var bullets = []; + xmlUtil.foreach(xnums, n => { + switch (n.localName) { + case "abstractNum": + this.parseAbstractNumbering(n, bullets) + .forEach(x => result.push(x)); + break; + case "numPicBullet": + bullets.push(this.parseNumberingPicBullet(n)); + break; + case "num": + var numId = xml_parser_1.default.attr(n, "numId"); + var abstractNumId = xml_parser_1.default.elementAttr(n, "abstractNumId", "val"); + mapping[abstractNumId] = numId; + break; + } + }); + result.forEach(x => x.id = mapping[x.id]); + return result; + } + parseNumberingPicBullet(elem) { + var pict = xml_parser_1.default.element(elem, "pict"); + var shape = pict && xml_parser_1.default.element(pict, "shape"); + var imagedata = shape && xml_parser_1.default.element(shape, "imagedata"); + return imagedata ? { + id: xml_parser_1.default.intAttr(elem, "numPicBulletId"), + src: xml_parser_1.default.attr(imagedata, "id"), + style: xml_parser_1.default.attr(shape, "style") + } : null; + } + parseAbstractNumbering(node, bullets) { + var result = []; + var id = xml_parser_1.default.attr(node, "abstractNumId"); + xmlUtil.foreach(node, n => { + switch (n.localName) { + case "lvl": + result.push(this.parseNumberingLevel(id, n, bullets)); + break; + } + }); + return result; + } + parseNumberingLevel(id, node, bullets) { + var result = { + id: id, + level: xml_parser_1.default.intAttr(node, "ilvl"), + pStyleName: undefined, + pStyle: {}, + rStyle: {}, + suff: "tab" + }; + xmlUtil.foreach(node, n => { + switch (n.localName) { + case "pPr": + this.parseDefaultProperties(n, result.pStyle); + break; + case "rPr": + this.parseDefaultProperties(n, result.rStyle); + break; + case "lvlPicBulletId": + var id = xml_parser_1.default.intAttr(n, "val"); + result.bullet = bullets.find(x => x.id == id); + break; + case "lvlText": + result.levelText = xml_parser_1.default.attr(n, "val"); + break; + case "pStyle": + result.pStyleName = xml_parser_1.default.attr(n, "val"); + break; + case "numFmt": + result.format = xml_parser_1.default.attr(n, "val"); + break; + case "suff": + result.suff = xml_parser_1.default.attr(n, "val"); + break; + } + }); + return result; + } + parseSdt(node, parser) { + const sdtContent = xml_parser_1.default.element(node, "sdtContent"); + return sdtContent ? parser(sdtContent) : []; + } + parseInserted(node, parentParser) { + var _a, _b; + return { + type: dom_1.DomType.Inserted, + children: (_b = (_a = parentParser(node)) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : [] + }; + } + parseDeleted(node, parentParser) { + var _a, _b; + return { + type: dom_1.DomType.Deleted, + children: (_b = (_a = parentParser(node)) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : [] + }; + } + parseParagraph(node) { + var result = { type: dom_1.DomType.Paragraph, children: [] }; + for (let el of xml_parser_1.default.elements(node)) { + switch (el.localName) { + case "pPr": + this.parseParagraphProperties(el, result); + break; + case "r": + result.children.push(this.parseRun(el, result)); + break; + case "hyperlink": + result.children.push(this.parseHyperlink(el, result)); + break; + case "bookmarkStart": + result.children.push((0, bookmarks_1.parseBookmarkStart)(el, xml_parser_1.default)); + break; + case "bookmarkEnd": + result.children.push((0, bookmarks_1.parseBookmarkEnd)(el, xml_parser_1.default)); + break; + case "oMath": + case "oMathPara": + result.children.push(this.parseMathElement(el)); + break; + case "sdt": + result.children.push(...this.parseSdt(el, e => this.parseParagraph(e).children)); + break; + case "ins": + result.children.push(this.parseInserted(el, e => this.parseParagraph(e))); + break; + case "del": + result.children.push(this.parseDeleted(el, e => this.parseParagraph(e))); + break; + } + } + return result; + } + parseParagraphProperties(elem, paragraph) { + this.parseDefaultProperties(elem, paragraph.cssStyle = {}, null, c => { + if ((0, paragraph_1.parseParagraphProperty)(c, paragraph, xml_parser_1.default)) + return true; + switch (c.localName) { + case "pStyle": + paragraph.styleName = xml_parser_1.default.attr(c, "val"); + break; + case "cnfStyle": + paragraph.className = values.classNameOfCnfStyle(c); + break; + case "framePr": + this.parseFrame(c, paragraph); + break; + case "rPr": + break; + default: + return false; + } + return true; + }); + } + parseFrame(node, paragraph) { + var dropCap = xml_parser_1.default.attr(node, "dropCap"); + if (dropCap == "drop") + paragraph.cssStyle["float"] = "left"; + } + parseHyperlink(node, parent) { + var result = { type: dom_1.DomType.Hyperlink, parent: parent, children: [] }; + var anchor = xml_parser_1.default.attr(node, "anchor"); + var relId = xml_parser_1.default.attr(node, "id"); + if (anchor) + result.href = "#" + anchor; + if (relId) + result.id = relId; + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "r": + result.children.push(this.parseRun(c, result)); + break; + } + }); + return result; + } + parseRun(node, parent) { + var result = { type: dom_1.DomType.Run, parent: parent, children: [] }; + xmlUtil.foreach(node, c => { + c = this.checkAlternateContent(c); + switch (c.localName) { + case "t": + result.children.push({ + type: dom_1.DomType.Text, + text: c.textContent + }); + break; + case "delText": + result.children.push({ + type: dom_1.DomType.DeletedText, + text: c.textContent + }); + break; + case "fldSimple": + result.children.push({ + type: dom_1.DomType.SimpleField, + instruction: xml_parser_1.default.attr(c, "instr"), + lock: xml_parser_1.default.boolAttr(c, "lock", false), + dirty: xml_parser_1.default.boolAttr(c, "dirty", false) + }); + break; + case "instrText": + result.fieldRun = true; + result.children.push({ + type: dom_1.DomType.Instruction, + text: c.textContent + }); + break; + case "fldChar": + result.fieldRun = true; + result.children.push({ + type: dom_1.DomType.ComplexField, + charType: xml_parser_1.default.attr(c, "fldCharType"), + lock: xml_parser_1.default.boolAttr(c, "lock", false), + dirty: xml_parser_1.default.boolAttr(c, "dirty", false) + }); + break; + case "noBreakHyphen": + result.children.push({ type: dom_1.DomType.NoBreakHyphen }); + break; + case "br": + result.children.push({ + type: dom_1.DomType.Break, + break: xml_parser_1.default.attr(c, "type") || "textWrapping" + }); + break; + case "lastRenderedPageBreak": + result.children.push({ + type: dom_1.DomType.Break, + break: "lastRenderedPageBreak" + }); + break; + case "sym": + result.children.push({ + type: dom_1.DomType.Symbol, + font: xml_parser_1.default.attr(c, "font"), + char: xml_parser_1.default.attr(c, "char") + }); + break; + case "tab": + result.children.push({ type: dom_1.DomType.Tab }); + break; + case "footnoteReference": + result.children.push({ + type: dom_1.DomType.FootnoteReference, + id: xml_parser_1.default.attr(c, "id") + }); + break; + case "endnoteReference": + result.children.push({ + type: dom_1.DomType.EndnoteReference, + id: xml_parser_1.default.attr(c, "id") + }); + break; + case "drawing": + let d = this.parseDrawing(c); + if (d) + result.children = [d]; + break; + case "pict": + result.children.push(this.parseVmlPicture(c)); + break; + case "rPr": + this.parseRunProperties(c, result); + break; + } + }); + return result; + } + parseMathElement(elem) { + const propsTag = `${elem.localName}Pr`; + const result = { type: mmlTagMap[elem.localName], children: [] }; + for (const el of xml_parser_1.default.elements(elem)) { + const childType = mmlTagMap[el.localName]; + if (childType) { + result.children.push(this.parseMathElement(el)); + } + else if (el.localName == "r") { + var run = this.parseRun(el); + run.type = dom_1.DomType.MmlRun; + result.children.push(run); + } + else if (el.localName == propsTag) { + result.props = this.parseMathProperies(el); + } + } + return result; + } + parseMathProperies(elem) { + const result = {}; + for (const el of xml_parser_1.default.elements(elem)) { + switch (el.localName) { + case "chr": + result.char = xml_parser_1.default.attr(el, "val"); + break; + case "degHide": + result.hideDegree = xml_parser_1.default.boolAttr(el, "val"); + break; + case "begChr": + result.beginChar = xml_parser_1.default.attr(el, "val"); + break; + case "endChr": + result.endChar = xml_parser_1.default.attr(el, "val"); + break; + } + } + return result; + } + parseRunProperties(elem, run) { + this.parseDefaultProperties(elem, run.cssStyle = {}, null, c => { + switch (c.localName) { + case "rStyle": + run.styleName = xml_parser_1.default.attr(c, "val"); + break; + case "vertAlign": + run.verticalAlign = values.valueOfVertAlign(c, true); + break; + default: + return false; + } + return true; + }); + } + parseVmlPicture(elem) { + const result = { type: dom_1.DomType.VmlPicture, children: [] }; + for (const el of xml_parser_1.default.elements(elem)) { + const child = (0, vml_1.parseVmlElement)(el); + child && result.children.push(child); + } + return result; + } + checkAlternateContent(elem) { + var _a; + if (elem.localName != 'AlternateContent') + return elem; + var choice = xml_parser_1.default.element(elem, "Choice"); + if (choice) { + var requires = xml_parser_1.default.attr(choice, "Requires"); + var namespaceURI = elem.lookupNamespaceURI(requires); + if (supportedNamespaceURIs.includes(namespaceURI)) + return choice.firstElementChild; + } + return (_a = xml_parser_1.default.element(elem, "Fallback")) === null || _a === void 0 ? void 0 : _a.firstElementChild; + } + parseDrawing(node) { + for (var n of xml_parser_1.default.elements(node)) { + switch (n.localName) { + case "inline": + case "anchor": + return this.parseDrawingWrapper(n); + } + } + } + parseDrawingWrapper(node) { + var _a; + var result = { type: dom_1.DomType.Drawing, children: [], cssStyle: {} }; + var isAnchor = node.localName == "anchor"; + let wrapType = null; + let simplePos = xml_parser_1.default.boolAttr(node, "simplePos"); + let posX = { relative: "page", align: "left", offset: "0" }; + let posY = { relative: "page", align: "top", offset: "0" }; + for (var n of xml_parser_1.default.elements(node)) { + switch (n.localName) { + case "simplePos": + if (simplePos) { + posX.offset = xml_parser_1.default.lengthAttr(n, "x", common_1.LengthUsage.Emu); + posY.offset = xml_parser_1.default.lengthAttr(n, "y", common_1.LengthUsage.Emu); + } + break; + case "extent": + result.cssStyle["width"] = xml_parser_1.default.lengthAttr(n, "cx", common_1.LengthUsage.Emu); + result.cssStyle["height"] = xml_parser_1.default.lengthAttr(n, "cy", common_1.LengthUsage.Emu); + break; + case "positionH": + case "positionV": + if (!simplePos) { + let pos = n.localName == "positionH" ? posX : posY; + var alignNode = xml_parser_1.default.element(n, "align"); + var offsetNode = xml_parser_1.default.element(n, "posOffset"); + pos.relative = (_a = xml_parser_1.default.attr(n, "relativeFrom")) !== null && _a !== void 0 ? _a : pos.relative; + if (alignNode) + pos.align = alignNode.textContent; + if (offsetNode) + pos.offset = xmlUtil.sizeValue(offsetNode, common_1.LengthUsage.Emu); + } + break; + case "wrapTopAndBottom": + wrapType = "wrapTopAndBottom"; + break; + case "wrapNone": + wrapType = "wrapNone"; + break; + case "graphic": + var g = this.parseGraphic(n); + if (g) + result.children.push(g); + break; + } + } + if (wrapType == "wrapTopAndBottom") { + result.cssStyle['display'] = 'block'; + if (posX.align) { + result.cssStyle['text-align'] = posX.align; + result.cssStyle['width'] = "100%"; + } + } + else if (wrapType == "wrapNone") { + result.cssStyle['display'] = 'block'; + result.cssStyle['position'] = 'relative'; + result.cssStyle["width"] = "0px"; + result.cssStyle["height"] = "0px"; + if (posX.offset) + result.cssStyle["left"] = posX.offset; + if (posY.offset) + result.cssStyle["top"] = posY.offset; + } + else if (isAnchor && (posX.align == 'left' || posX.align == 'right')) { + result.cssStyle["float"] = posX.align; + } + return result; + } + parseGraphic(elem) { + var graphicData = xml_parser_1.default.element(elem, "graphicData"); + for (let n of xml_parser_1.default.elements(graphicData)) { + switch (n.localName) { + case "pic": + return this.parsePicture(n); + } + } + return null; + } + parsePicture(elem) { + var result = { type: dom_1.DomType.Image, src: "", cssStyle: {} }; + var blipFill = xml_parser_1.default.element(elem, "blipFill"); + var blip = xml_parser_1.default.element(blipFill, "blip"); + result.src = xml_parser_1.default.attr(blip, "embed"); + var spPr = xml_parser_1.default.element(elem, "spPr"); + var xfrm = xml_parser_1.default.element(spPr, "xfrm"); + result.cssStyle["position"] = "relative"; + for (var n of xml_parser_1.default.elements(xfrm)) { + switch (n.localName) { + case "ext": + result.cssStyle["width"] = xml_parser_1.default.lengthAttr(n, "cx", common_1.LengthUsage.Emu); + result.cssStyle["height"] = xml_parser_1.default.lengthAttr(n, "cy", common_1.LengthUsage.Emu); + break; + case "off": + result.cssStyle["left"] = xml_parser_1.default.lengthAttr(n, "x", common_1.LengthUsage.Emu); + result.cssStyle["top"] = xml_parser_1.default.lengthAttr(n, "y", common_1.LengthUsage.Emu); + break; + } + } + return result; + } + parseTable(node) { + var result = { type: dom_1.DomType.Table, children: [] }; + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "tr": + result.children.push(this.parseTableRow(c)); + break; + case "tblGrid": + result.columns = this.parseTableColumns(c); + break; + case "tblPr": + this.parseTableProperties(c, result); + break; + } + }); + return result; + } + parseTableColumns(node) { + var result = []; + xmlUtil.foreach(node, n => { + switch (n.localName) { + case "gridCol": + result.push({ width: xml_parser_1.default.lengthAttr(n, "w") }); + break; + } + }); + return result; + } + parseTableProperties(elem, table) { + table.cssStyle = {}; + table.cellStyle = {}; + this.parseDefaultProperties(elem, table.cssStyle, table.cellStyle, c => { + switch (c.localName) { + case "tblStyle": + table.styleName = xml_parser_1.default.attr(c, "val"); + break; + case "tblLook": + table.className = values.classNameOftblLook(c); + break; + case "tblpPr": + this.parseTablePosition(c, table); + break; + case "tblStyleColBandSize": + table.colBandSize = xml_parser_1.default.intAttr(c, "val"); + break; + case "tblStyleRowBandSize": + table.rowBandSize = xml_parser_1.default.intAttr(c, "val"); + break; + default: + return false; + } + return true; + }); + switch (table.cssStyle["text-align"]) { + case "center": + delete table.cssStyle["text-align"]; + table.cssStyle["margin-left"] = "auto"; + table.cssStyle["margin-right"] = "auto"; + break; + case "right": + delete table.cssStyle["text-align"]; + table.cssStyle["margin-left"] = "auto"; + break; + } + } + parseTablePosition(node, table) { + var topFromText = xml_parser_1.default.lengthAttr(node, "topFromText"); + var bottomFromText = xml_parser_1.default.lengthAttr(node, "bottomFromText"); + var rightFromText = xml_parser_1.default.lengthAttr(node, "rightFromText"); + var leftFromText = xml_parser_1.default.lengthAttr(node, "leftFromText"); + table.cssStyle["float"] = 'left'; + table.cssStyle["margin-bottom"] = values.addSize(table.cssStyle["margin-bottom"], bottomFromText); + table.cssStyle["margin-left"] = values.addSize(table.cssStyle["margin-left"], leftFromText); + table.cssStyle["margin-right"] = values.addSize(table.cssStyle["margin-right"], rightFromText); + table.cssStyle["margin-top"] = values.addSize(table.cssStyle["margin-top"], topFromText); + } + parseTableRow(node) { + var result = { type: dom_1.DomType.Row, children: [] }; + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "tc": + result.children.push(this.parseTableCell(c)); + break; + case "trPr": + this.parseTableRowProperties(c, result); + break; + } + }); + return result; + } + parseTableRowProperties(elem, row) { + row.cssStyle = this.parseDefaultProperties(elem, {}, null, c => { + switch (c.localName) { + case "cnfStyle": + row.className = values.classNameOfCnfStyle(c); + break; + case "tblHeader": + row.isHeader = xml_parser_1.default.boolAttr(c, "val"); + break; + default: + return false; + } + return true; + }); + } + parseTableCell(node) { + var result = { type: dom_1.DomType.Cell, children: [] }; + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "tbl": + result.children.push(this.parseTable(c)); + break; + case "p": + result.children.push(this.parseParagraph(c)); + break; + case "tcPr": + this.parseTableCellProperties(c, result); + break; + } + }); + return result; + } + parseTableCellProperties(elem, cell) { + cell.cssStyle = this.parseDefaultProperties(elem, {}, null, c => { + var _a; + switch (c.localName) { + case "gridSpan": + cell.span = xml_parser_1.default.intAttr(c, "val", null); + break; + case "vMerge": + cell.verticalMerge = (_a = xml_parser_1.default.attr(c, "val")) !== null && _a !== void 0 ? _a : "continue"; + break; + case "cnfStyle": + cell.className = values.classNameOfCnfStyle(c); + break; + default: + return false; + } + return true; + }); + } + parseDefaultProperties(elem, style = null, childStyle = null, handler = null) { + style = style || {}; + xmlUtil.foreach(elem, c => { + if (handler === null || handler === void 0 ? void 0 : handler(c)) + return; + switch (c.localName) { + case "jc": + style["text-align"] = values.valueOfJc(c); + break; + case "textAlignment": + style["vertical-align"] = values.valueOfTextAlignment(c); + break; + case "color": + style["color"] = xmlUtil.colorAttr(c, "val", null, exports.autos.color); + break; + case "sz": + style["font-size"] = style["min-height"] = xml_parser_1.default.lengthAttr(c, "val", common_1.LengthUsage.FontSize); + break; + case "shd": + style["background-color"] = xmlUtil.colorAttr(c, "fill", null, exports.autos.shd); + break; + case "highlight": + style["background-color"] = xmlUtil.colorAttr(c, "val", null, exports.autos.highlight); + break; + case "vertAlign": + break; + case "position": + style.verticalAlign = xml_parser_1.default.lengthAttr(c, "val", common_1.LengthUsage.FontSize); + break; + case "tcW": + if (this.options.ignoreWidth) + break; + case "tblW": + style["width"] = values.valueOfSize(c, "w"); + break; + case "trHeight": + this.parseTrHeight(c, style); + break; + case "strike": + style["text-decoration"] = xml_parser_1.default.boolAttr(c, "val", true) ? "line-through" : "none"; + break; + case "b": + style["font-weight"] = xml_parser_1.default.boolAttr(c, "val", true) ? "bold" : "normal"; + break; + case "i": + style["font-style"] = xml_parser_1.default.boolAttr(c, "val", true) ? "italic" : "normal"; + break; + case "caps": + style["text-transform"] = xml_parser_1.default.boolAttr(c, "val", true) ? "uppercase" : "none"; + break; + case "smallCaps": + style["text-transform"] = xml_parser_1.default.boolAttr(c, "val", true) ? "lowercase" : "none"; + break; + case "u": + this.parseUnderline(c, style); + break; + case "ind": + case "tblInd": + this.parseIndentation(c, style); + break; + case "rFonts": + this.parseFont(c, style); + break; + case "tblBorders": + this.parseBorderProperties(c, childStyle || style); + break; + case "tblCellSpacing": + style["border-spacing"] = values.valueOfMargin(c); + style["border-collapse"] = "separate"; + break; + case "pBdr": + this.parseBorderProperties(c, style); + break; + case "bdr": + style["border"] = values.valueOfBorder(c); + break; + case "tcBorders": + this.parseBorderProperties(c, style); + break; + case "vanish": + if (xml_parser_1.default.boolAttr(c, "val", true)) + style["display"] = "none"; + break; + case "kern": + break; + case "noWrap": + break; + case "tblCellMar": + case "tcMar": + this.parseMarginProperties(c, childStyle || style); + break; + case "tblLayout": + style["table-layout"] = values.valueOfTblLayout(c); + break; + case "vAlign": + style["vertical-align"] = values.valueOfTextAlignment(c); + break; + case "spacing": + if (elem.localName == "pPr") + this.parseSpacing(c, style); + break; + case "wordWrap": + if (xml_parser_1.default.boolAttr(c, "val")) + style["overflow-wrap"] = "break-word"; + break; + case "bCs": + case "iCs": + case "szCs": + case "tabs": + case "outlineLvl": + case "contextualSpacing": + case "tblStyleColBandSize": + case "tblStyleRowBandSize": + case "webHidden": + case "pageBreakBefore": + case "suppressLineNumbers": + case "keepLines": + case "keepNext": + case "lang": + case "widowControl": + case "bidi": + case "rtl": + case "noProof": + break; + default: + if (this.options.debug) + console.warn(`DOCX: Unknown document element: ${elem.localName}.${c.localName}`); + break; + } + }); + return style; + } + parseUnderline(node, style) { + var val = xml_parser_1.default.attr(node, "val"); + if (val == null) + return; + switch (val) { + case "dash": + case "dashDotDotHeavy": + case "dashDotHeavy": + case "dashedHeavy": + case "dashLong": + case "dashLongHeavy": + case "dotDash": + case "dotDotDash": + style["text-decoration-style"] = "dashed"; + break; + case "dotted": + case "dottedHeavy": + style["text-decoration-style"] = "dotted"; + break; + case "double": + style["text-decoration-style"] = "double"; + break; + case "single": + case "thick": + style["text-decoration"] = "underline"; + break; + case "wave": + case "wavyDouble": + case "wavyHeavy": + style["text-decoration-style"] = "wavy"; + break; + case "words": + style["text-decoration"] = "underline"; + break; + case "none": + style["text-decoration"] = "none"; + break; + } + var col = xmlUtil.colorAttr(node, "color"); + if (col) + style["text-decoration-color"] = col; + } + parseFont(node, style) { + var ascii = xml_parser_1.default.attr(node, "ascii"); + var asciiTheme = values.themeValue(node, "asciiTheme"); + var fonts = [ascii, asciiTheme].filter(x => x).join(', '); + if (fonts.length > 0) + style["font-family"] = fonts; + } + parseIndentation(node, style) { + var firstLine = xml_parser_1.default.lengthAttr(node, "firstLine"); + var hanging = xml_parser_1.default.lengthAttr(node, "hanging"); + var left = xml_parser_1.default.lengthAttr(node, "left"); + var start = xml_parser_1.default.lengthAttr(node, "start"); + var right = xml_parser_1.default.lengthAttr(node, "right"); + var end = xml_parser_1.default.lengthAttr(node, "end"); + if (firstLine) + style["text-indent"] = firstLine; + if (hanging) + style["text-indent"] = `-${hanging}`; + if (left || start) + style["margin-left"] = left || start; + if (right || end) + style["margin-right"] = right || end; + } + parseSpacing(node, style) { + var before = xml_parser_1.default.lengthAttr(node, "before"); + var after = xml_parser_1.default.lengthAttr(node, "after"); + var line = xml_parser_1.default.intAttr(node, "line", null); + var lineRule = xml_parser_1.default.attr(node, "lineRule"); + if (before) + style["margin-top"] = before; + if (after) + style["margin-bottom"] = after; + if (line !== null) { + switch (lineRule) { + case "auto": + style["line-height"] = `${(line / 240).toFixed(2)}`; + break; + case "atLeast": + style["line-height"] = `calc(100% + ${line / 20}pt)`; + break; + default: + style["line-height"] = style["min-height"] = `${line / 20}pt`; + break; + } + } + } + parseMarginProperties(node, output) { + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "left": + output["padding-left"] = values.valueOfMargin(c); + break; + case "right": + output["padding-right"] = values.valueOfMargin(c); + break; + case "top": + output["padding-top"] = values.valueOfMargin(c); + break; + case "bottom": + output["padding-bottom"] = values.valueOfMargin(c); + break; + } + }); + } + parseTrHeight(node, output) { + switch (xml_parser_1.default.attr(node, "hRule")) { + case "exact": + output["height"] = xml_parser_1.default.lengthAttr(node, "val"); + break; + case "atLeast": + default: + output["height"] = xml_parser_1.default.lengthAttr(node, "val"); + break; + } + } + parseBorderProperties(node, output) { + xmlUtil.foreach(node, c => { + switch (c.localName) { + case "start": + case "left": + output["border-left"] = values.valueOfBorder(c); + break; + case "end": + case "right": + output["border-right"] = values.valueOfBorder(c); + break; + case "top": + output["border-top"] = values.valueOfBorder(c); + break; + case "bottom": + output["border-bottom"] = values.valueOfBorder(c); + break; + } + }); + } +} +exports.DocumentParser = DocumentParser; +const knownColors = ['black', 'blue', 'cyan', 'darkBlue', 'darkCyan', 'darkGray', 'darkGreen', 'darkMagenta', 'darkRed', 'darkYellow', 'green', 'lightGray', 'magenta', 'none', 'red', 'white', 'yellow']; +class xmlUtil { + static foreach(node, cb) { + for (var i = 0; i < node.childNodes.length; i++) { + let n = node.childNodes[i]; + if (n.nodeType == Node.ELEMENT_NODE) + cb(n); + } + } + static colorAttr(node, attrName, defValue = null, autoColor = 'black') { + var v = xml_parser_1.default.attr(node, attrName); + if (v) { + if (v == "auto") { + return autoColor; + } + else if (knownColors.includes(v)) { + return v; + } + return `#${v}`; + } + var themeColor = xml_parser_1.default.attr(node, "themeColor"); + return themeColor ? `var(--docx-${themeColor}-color)` : defValue; + } + static sizeValue(node, type = common_1.LengthUsage.Dxa) { + return (0, common_1.convertLength)(node.textContent, type); + } +} +class values { + static themeValue(c, attr) { + var val = xml_parser_1.default.attr(c, attr); + return val ? `var(--docx-${val}-font)` : null; + } + static valueOfSize(c, attr) { + var type = common_1.LengthUsage.Dxa; + switch (xml_parser_1.default.attr(c, "type")) { + case "dxa": break; + case "pct": + type = common_1.LengthUsage.Percent; + break; + case "auto": return "auto"; + } + return xml_parser_1.default.lengthAttr(c, attr, type); + } + static valueOfMargin(c) { + return xml_parser_1.default.lengthAttr(c, "w"); + } + static valueOfBorder(c) { + var type = xml_parser_1.default.attr(c, "val"); + if (type == "nil") + return "none"; + var color = xmlUtil.colorAttr(c, "color"); + var size = xml_parser_1.default.lengthAttr(c, "sz", common_1.LengthUsage.Border); + return `${size} solid ${color == "auto" ? exports.autos.borderColor : color}`; + } + static valueOfTblLayout(c) { + var type = xml_parser_1.default.attr(c, "val"); + return type == "fixed" ? "fixed" : "auto"; + } + static classNameOfCnfStyle(c) { + const val = xml_parser_1.default.attr(c, "val"); + const classes = [ + 'first-row', 'last-row', 'first-col', 'last-col', + 'odd-col', 'even-col', 'odd-row', 'even-row', + 'ne-cell', 'nw-cell', 'se-cell', 'sw-cell' + ]; + return classes.filter((_, i) => val[i] == '1').join(' '); + } + static valueOfJc(c) { + var type = xml_parser_1.default.attr(c, "val"); + switch (type) { + case "start": + case "left": return "left"; + case "center": return "center"; + case "end": + case "right": return "right"; + case "both": return "justify"; + } + return type; + } + static valueOfVertAlign(c, asTagName = false) { + var type = xml_parser_1.default.attr(c, "val"); + switch (type) { + case "subscript": return "sub"; + case "superscript": return asTagName ? "sup" : "super"; + } + return asTagName ? null : type; + } + static valueOfTextAlignment(c) { + var type = xml_parser_1.default.attr(c, "val"); + switch (type) { + case "auto": + case "baseline": return "baseline"; + case "top": return "top"; + case "center": return "middle"; + case "bottom": return "bottom"; + } + return type; + } + static addSize(a, b) { + if (a == null) + return b; + if (b == null) + return a; + return `calc(${a} + ${b})`; + } + static classNameOftblLook(c) { + const val = xml_parser_1.default.hexAttr(c, "val", 0); + let className = ""; + if (xml_parser_1.default.boolAttr(c, "firstRow") || (val & 0x0020)) + className += " first-row"; + if (xml_parser_1.default.boolAttr(c, "lastRow") || (val & 0x0040)) + className += " last-row"; + if (xml_parser_1.default.boolAttr(c, "firstColumn") || (val & 0x0080)) + className += " first-col"; + if (xml_parser_1.default.boolAttr(c, "lastColumn") || (val & 0x0100)) + className += " last-col"; + if (xml_parser_1.default.boolAttr(c, "noHBand") || (val & 0x0200)) + className += " no-hband"; + if (xml_parser_1.default.boolAttr(c, "noVBand") || (val & 0x0400)) + className += " no-vband"; + return className.trim(); + } +} + + +/***/ }), + +/***/ "./src/document-props/core-props-part.ts": +/*!***********************************************!*\ + !*** ./src/document-props/core-props-part.ts ***! + \***********************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CorePropsPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const core_props_1 = __webpack_require__(/*! ./core-props */ "./src/document-props/core-props.ts"); +class CorePropsPart extends part_1.Part { + parseXml(root) { + this.props = (0, core_props_1.parseCoreProps)(root, this._package.xmlParser); + } +} +exports.CorePropsPart = CorePropsPart; + + +/***/ }), + +/***/ "./src/document-props/core-props.ts": +/*!******************************************!*\ + !*** ./src/document-props/core-props.ts ***! + \******************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseCoreProps = void 0; +function parseCoreProps(root, xmlParser) { + const result = {}; + for (let el of xmlParser.elements(root)) { + switch (el.localName) { + case "title": + result.title = el.textContent; + break; + case "description": + result.description = el.textContent; + break; + case "subject": + result.subject = el.textContent; + break; + case "creator": + result.creator = el.textContent; + break; + case "keywords": + result.keywords = el.textContent; + break; + case "language": + result.language = el.textContent; + break; + case "lastModifiedBy": + result.lastModifiedBy = el.textContent; + break; + case "revision": + el.textContent && (result.revision = parseInt(el.textContent)); + break; + } + } + return result; +} +exports.parseCoreProps = parseCoreProps; + + +/***/ }), + +/***/ "./src/document-props/custom-props-part.ts": +/*!*************************************************!*\ + !*** ./src/document-props/custom-props-part.ts ***! + \*************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.CustomPropsPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const custom_props_1 = __webpack_require__(/*! ./custom-props */ "./src/document-props/custom-props.ts"); +class CustomPropsPart extends part_1.Part { + parseXml(root) { + this.props = (0, custom_props_1.parseCustomProps)(root, this._package.xmlParser); + } +} +exports.CustomPropsPart = CustomPropsPart; + + +/***/ }), + +/***/ "./src/document-props/custom-props.ts": +/*!********************************************!*\ + !*** ./src/document-props/custom-props.ts ***! + \********************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseCustomProps = void 0; +function parseCustomProps(root, xml) { + return xml.elements(root, "property").map(e => { + const firstChild = e.firstChild; + return { + formatId: xml.attr(e, "fmtid"), + name: xml.attr(e, "name"), + type: firstChild.nodeName, + value: firstChild.textContent + }; + }); +} +exports.parseCustomProps = parseCustomProps; + + +/***/ }), + +/***/ "./src/document-props/extended-props-part.ts": +/*!***************************************************!*\ + !*** ./src/document-props/extended-props-part.ts ***! + \***************************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ExtendedPropsPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const extended_props_1 = __webpack_require__(/*! ./extended-props */ "./src/document-props/extended-props.ts"); +class ExtendedPropsPart extends part_1.Part { + parseXml(root) { + this.props = (0, extended_props_1.parseExtendedProps)(root, this._package.xmlParser); + } +} +exports.ExtendedPropsPart = ExtendedPropsPart; + + +/***/ }), + +/***/ "./src/document-props/extended-props.ts": +/*!**********************************************!*\ + !*** ./src/document-props/extended-props.ts ***! + \**********************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseExtendedProps = void 0; +function parseExtendedProps(root, xmlParser) { + const result = {}; + for (let el of xmlParser.elements(root)) { + switch (el.localName) { + case "Template": + result.template = el.textContent; + break; + case "Pages": + result.pages = safeParseToInt(el.textContent); + break; + case "Words": + result.words = safeParseToInt(el.textContent); + break; + case "Characters": + result.characters = safeParseToInt(el.textContent); + break; + case "Application": + result.application = el.textContent; + break; + case "Lines": + result.lines = safeParseToInt(el.textContent); + break; + case "Paragraphs": + result.paragraphs = safeParseToInt(el.textContent); + break; + case "Company": + result.company = el.textContent; + break; + case "AppVersion": + result.appVersion = el.textContent; + break; + } + } + return result; +} +exports.parseExtendedProps = parseExtendedProps; +function safeParseToInt(value) { + if (typeof value === 'undefined') + return; + return parseInt(value); +} + + +/***/ }), + +/***/ "./src/document/bookmarks.ts": +/*!***********************************!*\ + !*** ./src/document/bookmarks.ts ***! + \***********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseBookmarkEnd = exports.parseBookmarkStart = void 0; +const dom_1 = __webpack_require__(/*! ./dom */ "./src/document/dom.ts"); +function parseBookmarkStart(elem, xml) { + return { + type: dom_1.DomType.BookmarkStart, + id: xml.attr(elem, "id"), + name: xml.attr(elem, "name"), + colFirst: xml.intAttr(elem, "colFirst"), + colLast: xml.intAttr(elem, "colLast") + }; +} +exports.parseBookmarkStart = parseBookmarkStart; +function parseBookmarkEnd(elem, xml) { + return { + type: dom_1.DomType.BookmarkEnd, + id: xml.attr(elem, "id") + }; +} +exports.parseBookmarkEnd = parseBookmarkEnd; + + +/***/ }), + +/***/ "./src/document/border.ts": +/*!********************************!*\ + !*** ./src/document/border.ts ***! + \********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseBorders = exports.parseBorder = void 0; +const common_1 = __webpack_require__(/*! ./common */ "./src/document/common.ts"); +function parseBorder(elem, xml) { + return { + type: xml.attr(elem, "val"), + color: xml.attr(elem, "color"), + size: xml.lengthAttr(elem, "sz", common_1.LengthUsage.Border), + offset: xml.lengthAttr(elem, "space", common_1.LengthUsage.Point), + frame: xml.boolAttr(elem, 'frame'), + shadow: xml.boolAttr(elem, 'shadow') + }; +} +exports.parseBorder = parseBorder; +function parseBorders(elem, xml) { + var result = {}; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "left": + result.left = parseBorder(e, xml); + break; + case "top": + result.top = parseBorder(e, xml); + break; + case "right": + result.right = parseBorder(e, xml); + break; + case "bottom": + result.bottom = parseBorder(e, xml); + break; + } + } + return result; +} +exports.parseBorders = parseBorders; + + +/***/ }), + +/***/ "./src/document/common.ts": +/*!********************************!*\ + !*** ./src/document/common.ts ***! + \********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseCommonProperty = exports.convertPercentage = exports.convertBoolean = exports.convertLength = exports.LengthUsage = exports.ns = void 0; +exports.ns = { + wordml: "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + drawingml: "http://schemas.openxmlformats.org/drawingml/2006/main", + picture: "http://schemas.openxmlformats.org/drawingml/2006/picture", + compatibility: "http://schemas.openxmlformats.org/markup-compatibility/2006", + math: "http://schemas.openxmlformats.org/officeDocument/2006/math" +}; +exports.LengthUsage = { + Dxa: { mul: 0.05, unit: "pt" }, + Emu: { mul: 1 / 12700, unit: "pt" }, + FontSize: { mul: 0.5, unit: "pt" }, + Border: { mul: 0.125, unit: "pt" }, + Point: { mul: 1, unit: "pt" }, + Percent: { mul: 0.02, unit: "%" }, + LineHeight: { mul: 1 / 240, unit: "" }, + VmlEmu: { mul: 1 / 12700, unit: "" }, +}; +function convertLength(val, usage = exports.LengthUsage.Dxa) { + if (val == null || /.+(p[xt]|[%])$/.test(val)) { + return val; + } + return `${(parseInt(val) * usage.mul).toFixed(2)}${usage.unit}`; +} +exports.convertLength = convertLength; +function convertBoolean(v, defaultValue = false) { + switch (v) { + case "1": return true; + case "0": return false; + case "on": return true; + case "off": return false; + case "true": return true; + case "false": return false; + default: return defaultValue; + } +} +exports.convertBoolean = convertBoolean; +function convertPercentage(val) { + return val ? parseInt(val) / 100 : null; +} +exports.convertPercentage = convertPercentage; +function parseCommonProperty(elem, props, xml) { + if (elem.namespaceURI != exports.ns.wordml) + return false; + switch (elem.localName) { + case "color": + props.color = xml.attr(elem, "val"); + break; + case "sz": + props.fontSize = xml.lengthAttr(elem, "val", exports.LengthUsage.FontSize); + break; + default: + return false; + } + return true; +} +exports.parseCommonProperty = parseCommonProperty; + + +/***/ }), + +/***/ "./src/document/document-part.ts": +/*!***************************************!*\ + !*** ./src/document/document-part.ts ***! + \***************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DocumentPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +class DocumentPart extends part_1.Part { + constructor(pkg, path, parser) { + super(pkg, path); + this._documentParser = parser; + } + parseXml(root) { + this.body = this._documentParser.parseDocumentFile(root); + } +} +exports.DocumentPart = DocumentPart; + + +/***/ }), + +/***/ "./src/document/dom.ts": +/*!*****************************!*\ + !*** ./src/document/dom.ts ***! + \*****************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.DomType = void 0; +var DomType; +(function (DomType) { + DomType["Document"] = "document"; + DomType["Paragraph"] = "paragraph"; + DomType["Run"] = "run"; + DomType["Break"] = "break"; + DomType["NoBreakHyphen"] = "noBreakHyphen"; + DomType["Table"] = "table"; + DomType["Row"] = "row"; + DomType["Cell"] = "cell"; + DomType["Hyperlink"] = "hyperlink"; + DomType["Drawing"] = "drawing"; + DomType["Image"] = "image"; + DomType["Text"] = "text"; + DomType["Tab"] = "tab"; + DomType["Symbol"] = "symbol"; + DomType["BookmarkStart"] = "bookmarkStart"; + DomType["BookmarkEnd"] = "bookmarkEnd"; + DomType["Footer"] = "footer"; + DomType["Header"] = "header"; + DomType["FootnoteReference"] = "footnoteReference"; + DomType["EndnoteReference"] = "endnoteReference"; + DomType["Footnote"] = "footnote"; + DomType["Endnote"] = "endnote"; + DomType["SimpleField"] = "simpleField"; + DomType["ComplexField"] = "complexField"; + DomType["Instruction"] = "instruction"; + DomType["VmlPicture"] = "vmlPicture"; + DomType["MmlMath"] = "mmlMath"; + DomType["MmlMathParagraph"] = "mmlMathParagraph"; + DomType["MmlFraction"] = "mmlFraction"; + DomType["MmlNumerator"] = "mmlNumerator"; + DomType["MmlDenominator"] = "mmlDenominator"; + DomType["MmlRadical"] = "mmlRadical"; + DomType["MmlBase"] = "mmlBase"; + DomType["MmlDegree"] = "mmlDegree"; + DomType["MmlSuperscript"] = "mmlSuperscript"; + DomType["MmlSubscript"] = "mmlSubscript"; + DomType["MmlSubArgument"] = "mmlSubArgument"; + DomType["MmlSuperArgument"] = "mmlSuperArgument"; + DomType["MmlNary"] = "mmlNary"; + DomType["MmlDelimiter"] = "mmlDelimiter"; + DomType["MmlRun"] = "mmlRun"; + DomType["VmlElement"] = "vmlElement"; + DomType["Inserted"] = "inserted"; + DomType["Deleted"] = "deleted"; + DomType["DeletedText"] = "deletedText"; +})(DomType = exports.DomType || (exports.DomType = {})); + + +/***/ }), + +/***/ "./src/document/line-spacing.ts": +/*!**************************************!*\ + !*** ./src/document/line-spacing.ts ***! + \**************************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseLineSpacing = void 0; +function parseLineSpacing(elem, xml) { + return { + before: xml.lengthAttr(elem, "before"), + after: xml.lengthAttr(elem, "after"), + line: xml.intAttr(elem, "line"), + lineRule: xml.attr(elem, "lineRule") + }; +} +exports.parseLineSpacing = parseLineSpacing; + + +/***/ }), + +/***/ "./src/document/paragraph.ts": +/*!***********************************!*\ + !*** ./src/document/paragraph.ts ***! + \***********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseNumbering = exports.parseTabs = exports.parseParagraphProperty = exports.parseParagraphProperties = void 0; +const common_1 = __webpack_require__(/*! ./common */ "./src/document/common.ts"); +const section_1 = __webpack_require__(/*! ./section */ "./src/document/section.ts"); +const line_spacing_1 = __webpack_require__(/*! ./line-spacing */ "./src/document/line-spacing.ts"); +const run_1 = __webpack_require__(/*! ./run */ "./src/document/run.ts"); +function parseParagraphProperties(elem, xml) { + let result = {}; + for (let el of xml.elements(elem)) { + parseParagraphProperty(el, result, xml); + } + return result; +} +exports.parseParagraphProperties = parseParagraphProperties; +function parseParagraphProperty(elem, props, xml) { + if (elem.namespaceURI != common_1.ns.wordml) + return false; + if ((0, common_1.parseCommonProperty)(elem, props, xml)) + return true; + switch (elem.localName) { + case "tabs": + props.tabs = parseTabs(elem, xml); + break; + case "sectPr": + props.sectionProps = (0, section_1.parseSectionProperties)(elem, xml); + break; + case "numPr": + props.numbering = parseNumbering(elem, xml); + break; + case "spacing": + props.lineSpacing = (0, line_spacing_1.parseLineSpacing)(elem, xml); + return false; + break; + case "textAlignment": + props.textAlignment = xml.attr(elem, "val"); + return false; + break; + case "keepNext": + props.keepLines = xml.boolAttr(elem, "val", true); + break; + case "keepNext": + props.keepNext = xml.boolAttr(elem, "val", true); + break; + case "pageBreakBefore": + props.pageBreakBefore = xml.boolAttr(elem, "val", true); + break; + case "outlineLvl": + props.outlineLevel = xml.intAttr(elem, "val"); + break; + case "pStyle": + props.styleName = xml.attr(elem, "val"); + break; + case "rPr": + props.runProps = (0, run_1.parseRunProperties)(elem, xml); + break; + default: + return false; + } + return true; +} +exports.parseParagraphProperty = parseParagraphProperty; +function parseTabs(elem, xml) { + return xml.elements(elem, "tab") + .map(e => ({ + position: xml.lengthAttr(e, "pos"), + leader: xml.attr(e, "leader"), + style: xml.attr(e, "val") + })); +} +exports.parseTabs = parseTabs; +function parseNumbering(elem, xml) { + var result = {}; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "numId": + result.id = xml.attr(e, "val"); + break; + case "ilvl": + result.level = xml.intAttr(e, "val"); + break; + } + } + return result; +} +exports.parseNumbering = parseNumbering; + + +/***/ }), + +/***/ "./src/document/run.ts": +/*!*****************************!*\ + !*** ./src/document/run.ts ***! + \*****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseRunProperty = exports.parseRunProperties = void 0; +const common_1 = __webpack_require__(/*! ./common */ "./src/document/common.ts"); +function parseRunProperties(elem, xml) { + let result = {}; + for (let el of xml.elements(elem)) { + parseRunProperty(el, result, xml); + } + return result; +} +exports.parseRunProperties = parseRunProperties; +function parseRunProperty(elem, props, xml) { + if ((0, common_1.parseCommonProperty)(elem, props, xml)) + return true; + return false; +} +exports.parseRunProperty = parseRunProperty; + + +/***/ }), + +/***/ "./src/document/section.ts": +/*!*********************************!*\ + !*** ./src/document/section.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseSectionProperties = exports.SectionType = void 0; +const xml_parser_1 = __webpack_require__(/*! ../parser/xml-parser */ "./src/parser/xml-parser.ts"); +const border_1 = __webpack_require__(/*! ./border */ "./src/document/border.ts"); +var SectionType; +(function (SectionType) { + SectionType["Continuous"] = "continuous"; + SectionType["NextPage"] = "nextPage"; + SectionType["NextColumn"] = "nextColumn"; + SectionType["EvenPage"] = "evenPage"; + SectionType["OddPage"] = "oddPage"; +})(SectionType = exports.SectionType || (exports.SectionType = {})); +function parseSectionProperties(elem, xml = xml_parser_1.default) { + var _a, _b; + var section = {}; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "pgSz": + section.pageSize = { + width: xml.lengthAttr(e, "w"), + height: xml.lengthAttr(e, "h"), + orientation: xml.attr(e, "orient") + }; + break; + case "type": + section.type = xml.attr(e, "val"); + break; + case "pgMar": + section.pageMargins = { + left: xml.lengthAttr(e, "left"), + right: xml.lengthAttr(e, "right"), + top: xml.lengthAttr(e, "top"), + bottom: xml.lengthAttr(e, "bottom"), + header: xml.lengthAttr(e, "header"), + footer: xml.lengthAttr(e, "footer"), + gutter: xml.lengthAttr(e, "gutter"), + }; + break; + case "cols": + section.columns = parseColumns(e, xml); + break; + case "headerReference": + ((_a = section.headerRefs) !== null && _a !== void 0 ? _a : (section.headerRefs = [])).push(parseFooterHeaderReference(e, xml)); + break; + case "footerReference": + ((_b = section.footerRefs) !== null && _b !== void 0 ? _b : (section.footerRefs = [])).push(parseFooterHeaderReference(e, xml)); + break; + case "titlePg": + section.titlePage = xml.boolAttr(e, "val", true); + break; + case "pgBorders": + section.pageBorders = (0, border_1.parseBorders)(e, xml); + break; + case "pgNumType": + section.pageNumber = parsePageNumber(e, xml); + break; + } + } + return section; +} +exports.parseSectionProperties = parseSectionProperties; +function parseColumns(elem, xml) { + return { + numberOfColumns: xml.intAttr(elem, "num"), + space: xml.lengthAttr(elem, "space"), + separator: xml.boolAttr(elem, "sep"), + equalWidth: xml.boolAttr(elem, "equalWidth", true), + columns: xml.elements(elem, "col") + .map(e => ({ + width: xml.lengthAttr(e, "w"), + space: xml.lengthAttr(e, "space") + })) + }; +} +function parsePageNumber(elem, xml) { + return { + chapSep: xml.attr(elem, "chapSep"), + chapStyle: xml.attr(elem, "chapStyle"), + format: xml.attr(elem, "fmt"), + start: xml.intAttr(elem, "start") + }; +} +function parseFooterHeaderReference(elem, xml) { + return { + id: xml.attr(elem, "id"), + type: xml.attr(elem, "type"), + }; +} + + +/***/ }), + +/***/ "./src/docx-preview.ts": +/*!*****************************!*\ + !*** ./src/docx-preview.ts ***! + \*****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.renderAsync = exports.praseAsync = exports.defaultOptions = void 0; +const word_document_1 = __webpack_require__(/*! ./word-document */ "./src/word-document.ts"); +const document_parser_1 = __webpack_require__(/*! ./document-parser */ "./src/document-parser.ts"); +const html_renderer_1 = __webpack_require__(/*! ./html-renderer */ "./src/html-renderer.ts"); +exports.defaultOptions = { + ignoreHeight: false, + ignoreWidth: false, + ignoreFonts: false, + breakPages: true, + debug: false, + experimental: false, + className: "docx", + inWrapper: true, + trimXmlDeclaration: true, + ignoreLastRenderedPageBreak: true, + renderHeaders: true, + renderFooters: true, + renderFootnotes: true, + renderEndnotes: true, + useBase64URL: false, + useMathMLPolyfill: false, + renderChanges: false +}; +function praseAsync(data, userOptions = null) { + const ops = Object.assign(Object.assign({}, exports.defaultOptions), userOptions); + return word_document_1.WordDocument.load(data, new document_parser_1.DocumentParser(ops), ops); +} +exports.praseAsync = praseAsync; +function renderAsync(data, bodyContainer, styleContainer = null, userOptions = null) { + const ops = Object.assign(Object.assign({}, exports.defaultOptions), userOptions); + const renderer = new html_renderer_1.HtmlRenderer(window.document); + return word_document_1.WordDocument + .load(data, new document_parser_1.DocumentParser(ops), ops) + .then(doc => { + renderer.render(doc, bodyContainer, styleContainer, ops); + return doc; + }); +} +exports.renderAsync = renderAsync; + + +/***/ }), + +/***/ "./src/font-table/font-table.ts": +/*!**************************************!*\ + !*** ./src/font-table/font-table.ts ***! + \**************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FontTablePart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const fonts_1 = __webpack_require__(/*! ./fonts */ "./src/font-table/fonts.ts"); +class FontTablePart extends part_1.Part { + parseXml(root) { + this.fonts = (0, fonts_1.parseFonts)(root, this._package.xmlParser); + } +} +exports.FontTablePart = FontTablePart; + + +/***/ }), + +/***/ "./src/font-table/fonts.ts": +/*!*********************************!*\ + !*** ./src/font-table/fonts.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseEmbedFontRef = exports.parseFont = exports.parseFonts = void 0; +const embedFontTypeMap = { + embedRegular: 'regular', + embedBold: 'bold', + embedItalic: 'italic', + embedBoldItalic: 'boldItalic', +}; +function parseFonts(root, xml) { + return xml.elements(root).map(el => parseFont(el, xml)); +} +exports.parseFonts = parseFonts; +function parseFont(elem, xml) { + let result = { + name: xml.attr(elem, "name"), + embedFontRefs: [] + }; + for (let el of xml.elements(elem)) { + switch (el.localName) { + case "family": + result.family = xml.attr(el, "val"); + break; + case "altName": + result.altName = xml.attr(el, "val"); + break; + case "embedRegular": + case "embedBold": + case "embedItalic": + case "embedBoldItalic": + result.embedFontRefs.push(parseEmbedFontRef(el, xml)); + break; + } + } + return result; +} +exports.parseFont = parseFont; +function parseEmbedFontRef(elem, xml) { + return { + id: xml.attr(elem, "id"), + key: xml.attr(elem, "fontKey"), + type: embedFontTypeMap[elem.localName] + }; +} +exports.parseEmbedFontRef = parseEmbedFontRef; + + +/***/ }), + +/***/ "./src/header-footer/elements.ts": +/*!***************************************!*\ + !*** ./src/header-footer/elements.ts ***! + \***************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WmlFooter = exports.WmlHeader = void 0; +const dom_1 = __webpack_require__(/*! ../document/dom */ "./src/document/dom.ts"); +class WmlHeader { + constructor() { + this.type = dom_1.DomType.Header; + this.children = []; + this.cssStyle = {}; + } +} +exports.WmlHeader = WmlHeader; +class WmlFooter { + constructor() { + this.type = dom_1.DomType.Footer; + this.children = []; + this.cssStyle = {}; + } +} +exports.WmlFooter = WmlFooter; + + +/***/ }), + +/***/ "./src/header-footer/parts.ts": +/*!************************************!*\ + !*** ./src/header-footer/parts.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.FooterPart = exports.HeaderPart = exports.BaseHeaderFooterPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const elements_1 = __webpack_require__(/*! ./elements */ "./src/header-footer/elements.ts"); +class BaseHeaderFooterPart extends part_1.Part { + constructor(pkg, path, parser) { + super(pkg, path); + this._documentParser = parser; + } + parseXml(root) { + this.rootElement = this.createRootElement(); + this.rootElement.children = this._documentParser.parseBodyElements(root); + } +} +exports.BaseHeaderFooterPart = BaseHeaderFooterPart; +class HeaderPart extends BaseHeaderFooterPart { + createRootElement() { + return new elements_1.WmlHeader(); + } +} +exports.HeaderPart = HeaderPart; +class FooterPart extends BaseHeaderFooterPart { + createRootElement() { + return new elements_1.WmlFooter(); + } +} +exports.FooterPart = FooterPart; + + +/***/ }), + +/***/ "./src/html-renderer.ts": +/*!******************************!*\ + !*** ./src/html-renderer.ts ***! + \******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.HtmlRenderer = void 0; +const dom_1 = __webpack_require__(/*! ./document/dom */ "./src/document/dom.ts"); +const utils_1 = __webpack_require__(/*! ./utils */ "./src/utils.ts"); +const javascript_1 = __webpack_require__(/*! ./javascript */ "./src/javascript.ts"); +const mathml_scss_1 = __webpack_require__(/*! ./mathml.scss */ "./src/mathml.scss"); +const ns = { + svg: "http://www.w3.org/2000/svg", + mathML: "http://www.w3.org/1998/Math/MathML" +}; +class HtmlRenderer { + constructor(htmlDocument) { + this.htmlDocument = htmlDocument; + this.className = "docx"; + this.styleMap = {}; + this.currentPart = null; + this.tableVerticalMerges = []; + this.currentVerticalMerge = null; + this.tableCellPositions = []; + this.currentCellPosition = null; + this.footnoteMap = {}; + this.endnoteMap = {}; + this.currentEndnoteIds = []; + this.usedHederFooterParts = []; + this.currentTabs = []; + this.tabsTimeout = 0; + this.createElement = createElement; + } + render(document, bodyContainer, styleContainer = null, options) { + var _a; + this.document = document; + this.options = options; + this.className = options.className; + this.rootSelector = options.inWrapper ? `.${this.className}-wrapper` : ':root'; + this.styleMap = null; + styleContainer = styleContainer || bodyContainer; + removeAllElements(styleContainer); + removeAllElements(bodyContainer); + appendComment(styleContainer, "docxjs library predefined styles"); + styleContainer.appendChild(this.renderDefaultStyle()); + if (!window.MathMLElement && options.useMathMLPolyfill) { + appendComment(styleContainer, "docxjs mathml polyfill styles"); + styleContainer.appendChild(createStyleElement(mathml_scss_1.default)); + } + if (document.themePart) { + appendComment(styleContainer, "docxjs document theme values"); + this.renderTheme(document.themePart, styleContainer); + } + if (document.stylesPart != null) { + this.styleMap = this.processStyles(document.stylesPart.styles); + appendComment(styleContainer, "docxjs document styles"); + styleContainer.appendChild(this.renderStyles(document.stylesPart.styles)); + } + if (document.numberingPart) { + this.prodessNumberings(document.numberingPart.domNumberings); + appendComment(styleContainer, "docxjs document numbering styles"); + styleContainer.appendChild(this.renderNumbering(document.numberingPart.domNumberings, styleContainer)); + } + if (document.footnotesPart) { + this.footnoteMap = (0, utils_1.keyBy)(document.footnotesPart.notes, x => x.id); + } + if (document.endnotesPart) { + this.endnoteMap = (0, utils_1.keyBy)(document.endnotesPart.notes, x => x.id); + } + if (document.settingsPart) { + this.defaultTabSize = (_a = document.settingsPart.settings) === null || _a === void 0 ? void 0 : _a.defaultTabStop; + } + if (!options.ignoreFonts && document.fontTablePart) + this.renderFontTable(document.fontTablePart, styleContainer); + var sectionElements = this.renderSections(document.documentPart.body); + if (this.options.inWrapper) { + bodyContainer.appendChild(this.renderWrapper(sectionElements)); + } + else { + appendChildren(bodyContainer, sectionElements); + } + this.refreshTabStops(); + } + renderTheme(themePart, styleContainer) { + var _a, _b; + const variables = {}; + const fontScheme = (_a = themePart.theme) === null || _a === void 0 ? void 0 : _a.fontScheme; + if (fontScheme) { + if (fontScheme.majorFont) { + variables['--docx-majorHAnsi-font'] = fontScheme.majorFont.latinTypeface; + } + if (fontScheme.minorFont) { + variables['--docx-minorHAnsi-font'] = fontScheme.minorFont.latinTypeface; + } + } + const colorScheme = (_b = themePart.theme) === null || _b === void 0 ? void 0 : _b.colorScheme; + if (colorScheme) { + for (let [k, v] of Object.entries(colorScheme.colors)) { + variables[`--docx-${k}-color`] = `#${v}`; + } + } + const cssText = this.styleToString(`.${this.className}`, variables); + styleContainer.appendChild(createStyleElement(cssText)); + } + renderFontTable(fontsPart, styleContainer) { + for (let f of fontsPart.fonts) { + for (let ref of f.embedFontRefs) { + this.document.loadFont(ref.id, ref.key).then(fontData => { + const cssValues = { + 'font-family': f.name, + 'src': `url(${fontData})` + }; + if (ref.type == "bold" || ref.type == "boldItalic") { + cssValues['font-weight'] = 'bold'; + } + if (ref.type == "italic" || ref.type == "boldItalic") { + cssValues['font-style'] = 'italic'; + } + appendComment(styleContainer, `docxjs ${f.name} font`); + const cssText = this.styleToString("@font-face", cssValues); + styleContainer.appendChild(createStyleElement(cssText)); + this.refreshTabStops(); + }); + } + } + } + processStyleName(className) { + return className ? `${this.className}_${(0, utils_1.escapeClassName)(className)}` : this.className; + } + processStyles(styles) { + const stylesMap = (0, utils_1.keyBy)(styles.filter(x => x.id != null), x => x.id); + for (const style of styles.filter(x => x.basedOn)) { + var baseStyle = stylesMap[style.basedOn]; + if (baseStyle) { + style.paragraphProps = (0, utils_1.mergeDeep)(style.paragraphProps, baseStyle.paragraphProps); + style.runProps = (0, utils_1.mergeDeep)(style.runProps, baseStyle.runProps); + for (const baseValues of baseStyle.styles) { + const styleValues = style.styles.find(x => x.target == baseValues.target); + if (styleValues) { + this.copyStyleProperties(baseValues.values, styleValues.values); + } + else { + style.styles.push(Object.assign(Object.assign({}, baseValues), { values: Object.assign({}, baseValues.values) })); + } + } + } + else if (this.options.debug) + console.warn(`Can't find base style ${style.basedOn}`); + } + for (let style of styles) { + style.cssName = this.processStyleName(style.id); + } + return stylesMap; + } + prodessNumberings(numberings) { + var _a; + for (let num of numberings.filter(n => n.pStyleName)) { + const style = this.findStyle(num.pStyleName); + if ((_a = style === null || style === void 0 ? void 0 : style.paragraphProps) === null || _a === void 0 ? void 0 : _a.numbering) { + style.paragraphProps.numbering.level = num.level; + } + } + } + processElement(element) { + if (element.children) { + for (var e of element.children) { + e.parent = element; + if (e.type == dom_1.DomType.Table) { + this.processTable(e); + } + else { + this.processElement(e); + } + } + } + } + processTable(table) { + for (var r of table.children) { + for (var c of r.children) { + c.cssStyle = this.copyStyleProperties(table.cellStyle, c.cssStyle, [ + "border-left", "border-right", "border-top", "border-bottom", + "padding-left", "padding-right", "padding-top", "padding-bottom" + ]); + this.processElement(c); + } + } + } + copyStyleProperties(input, output, attrs = null) { + if (!input) + return output; + if (output == null) + output = {}; + if (attrs == null) + attrs = Object.getOwnPropertyNames(input); + for (var key of attrs) { + if (input.hasOwnProperty(key) && !output.hasOwnProperty(key)) + output[key] = input[key]; + } + return output; + } + createSection(className, props) { + var elem = this.createElement("section", { className }); + if (props) { + if (props.pageMargins) { + elem.style.paddingLeft = props.pageMargins.left; + elem.style.paddingRight = props.pageMargins.right; + elem.style.paddingTop = props.pageMargins.top; + elem.style.paddingBottom = props.pageMargins.bottom; + } + if (props.pageSize) { + if (!this.options.ignoreWidth) + elem.style.width = props.pageSize.width; + if (!this.options.ignoreHeight) + elem.style.minHeight = props.pageSize.height; + } + if (props.columns && props.columns.numberOfColumns) { + elem.style.columnCount = `${props.columns.numberOfColumns}`; + elem.style.columnGap = props.columns.space; + if (props.columns.separator) { + elem.style.columnRule = "1px solid black"; + } + } + } + return elem; + } + renderSections(document) { + const result = []; + this.processElement(document); + const sections = this.splitBySection(document.children); + let prevProps = null; + for (let i = 0, l = sections.length; i < l; i++) { + this.currentFootnoteIds = []; + const section = sections[i]; + const props = section.sectProps || document.props; + const sectionElement = this.createSection(this.className, props); + this.renderStyleValues(document.cssStyle, sectionElement); + this.options.renderHeaders && this.renderHeaderFooter(props.headerRefs, props, result.length, prevProps != props, sectionElement); + var contentElement = this.createElement("article"); + this.renderElements(section.elements, contentElement); + sectionElement.appendChild(contentElement); + if (this.options.renderFootnotes) { + this.renderNotes(this.currentFootnoteIds, this.footnoteMap, sectionElement); + } + if (this.options.renderEndnotes && i == l - 1) { + this.renderNotes(this.currentEndnoteIds, this.endnoteMap, sectionElement); + } + this.options.renderFooters && this.renderHeaderFooter(props.footerRefs, props, result.length, prevProps != props, sectionElement); + result.push(sectionElement); + prevProps = props; + } + return result; + } + renderHeaderFooter(refs, props, page, firstOfSection, into) { + var _a, _b; + if (!refs) + return; + var ref = (_b = (_a = (props.titlePage && firstOfSection ? refs.find(x => x.type == "first") : null)) !== null && _a !== void 0 ? _a : (page % 2 == 1 ? refs.find(x => x.type == "even") : null)) !== null && _b !== void 0 ? _b : refs.find(x => x.type == "default"); + var part = ref && this.document.findPartByRelId(ref.id, this.document.documentPart); + if (part) { + this.currentPart = part; + if (!this.usedHederFooterParts.includes(part.path)) { + this.processElement(part.rootElement); + this.usedHederFooterParts.push(part.path); + } + this.renderElements([part.rootElement], into); + this.currentPart = null; + } + } + isPageBreakElement(elem) { + if (elem.type != dom_1.DomType.Break) + return false; + if (elem.break == "lastRenderedPageBreak") + return !this.options.ignoreLastRenderedPageBreak; + return elem.break == "page"; + } + splitBySection(elements) { + var _a; + var current = { sectProps: null, elements: [] }; + var result = [current]; + for (let elem of elements) { + if (elem.type == dom_1.DomType.Paragraph) { + const s = this.findStyle(elem.styleName); + if ((_a = s === null || s === void 0 ? void 0 : s.paragraphProps) === null || _a === void 0 ? void 0 : _a.pageBreakBefore) { + current.sectProps = sectProps; + current = { sectProps: null, elements: [] }; + result.push(current); + } + } + current.elements.push(elem); + if (elem.type == dom_1.DomType.Paragraph) { + const p = elem; + var sectProps = p.sectionProps; + var pBreakIndex = -1; + var rBreakIndex = -1; + if (this.options.breakPages && p.children) { + pBreakIndex = p.children.findIndex(r => { + var _a, _b; + rBreakIndex = (_b = (_a = r.children) === null || _a === void 0 ? void 0 : _a.findIndex(this.isPageBreakElement.bind(this))) !== null && _b !== void 0 ? _b : -1; + return rBreakIndex != -1; + }); + } + if (sectProps || pBreakIndex != -1) { + current.sectProps = sectProps; + current = { sectProps: null, elements: [] }; + result.push(current); + } + if (pBreakIndex != -1) { + let breakRun = p.children[pBreakIndex]; + let splitRun = rBreakIndex < breakRun.children.length - 1; + if (pBreakIndex < p.children.length - 1 || splitRun) { + var children = elem.children; + var newParagraph = Object.assign(Object.assign({}, elem), { children: children.slice(pBreakIndex) }); + elem.children = children.slice(0, pBreakIndex); + current.elements.push(newParagraph); + if (splitRun) { + let runChildren = breakRun.children; + let newRun = Object.assign(Object.assign({}, breakRun), { children: runChildren.slice(0, rBreakIndex) }); + elem.children.push(newRun); + breakRun.children = runChildren.slice(rBreakIndex); + } + } + } + } + } + let currentSectProps = null; + for (let i = result.length - 1; i >= 0; i--) { + if (result[i].sectProps == null) { + result[i].sectProps = currentSectProps; + } + else { + currentSectProps = result[i].sectProps; + } + } + return result; + } + renderWrapper(children) { + return this.createElement("div", { className: `${this.className}-wrapper` }, children); + } + renderDefaultStyle() { + var c = this.className; + var styleText = ` +.${c}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } +.${c}-wrapper>section.${c} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; } +.${c} { color: black; } +section.${c} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; } +section.${c}>article { margin-bottom: auto; } +.${c} table { border-collapse: collapse; } +.${c} table td, .${c} table th { vertical-align: top; } +.${c} p { margin: 0pt; min-height: 1em; } +.${c} span { white-space: pre-wrap; overflow-wrap: break-word; } +.${c} a { color: inherit; text-decoration: inherit; } +`; + return createStyleElement(styleText); + } + renderNumbering(numberings, styleContainer) { + var styleText = ""; + var rootCounters = []; + for (var num of numberings) { + var selector = `p.${this.numberingClass(num.id, num.level)}`; + var listStyleType = "none"; + if (num.bullet) { + let valiable = `--${this.className}-${num.bullet.src}`.toLowerCase(); + styleText += this.styleToString(`${selector}:before`, { + "content": "' '", + "display": "inline-block", + "background": `var(${valiable})` + }, num.bullet.style); + this.document.loadNumberingImage(num.bullet.src).then(data => { + var text = `${this.rootSelector} { ${valiable}: url(${data}) }`; + styleContainer.appendChild(createStyleElement(text)); + }); + } + else if (num.levelText) { + let counter = this.numberingCounter(num.id, num.level); + if (num.level > 0) { + styleText += this.styleToString(`p.${this.numberingClass(num.id, num.level - 1)}`, { + "counter-reset": counter + }); + } + else { + rootCounters.push(counter); + } + styleText += this.styleToString(`${selector}:before`, Object.assign({ "content": this.levelTextToContent(num.levelText, num.suff, num.id, this.numFormatToCssValue(num.format)), "counter-increment": counter }, num.rStyle)); + } + else { + listStyleType = this.numFormatToCssValue(num.format); + } + styleText += this.styleToString(selector, Object.assign({ "display": "list-item", "list-style-position": "inside", "list-style-type": listStyleType }, num.pStyle)); + } + if (rootCounters.length > 0) { + styleText += this.styleToString(this.rootSelector, { + "counter-reset": rootCounters.join(" ") + }); + } + return createStyleElement(styleText); + } + renderStyles(styles) { + var _a; + var styleText = ""; + const stylesMap = this.styleMap; + const defautStyles = (0, utils_1.keyBy)(styles.filter(s => s.isDefault), s => s.target); + for (const style of styles) { + var subStyles = style.styles; + if (style.linked) { + var linkedStyle = style.linked && stylesMap[style.linked]; + if (linkedStyle) + subStyles = subStyles.concat(linkedStyle.styles); + else if (this.options.debug) + console.warn(`Can't find linked style ${style.linked}`); + } + for (const subStyle of subStyles) { + var selector = `${(_a = style.target) !== null && _a !== void 0 ? _a : ''}.${style.cssName}`; + if (style.target != subStyle.target) + selector += ` ${subStyle.target}`; + if (defautStyles[style.target] == style) + selector = `.${this.className} ${style.target}, ` + selector; + styleText += this.styleToString(selector, subStyle.values); + } + } + return createStyleElement(styleText); + } + renderNotes(noteIds, notesMap, into) { + var notes = noteIds.map(id => notesMap[id]).filter(x => x); + if (notes.length > 0) { + var result = this.createElement("ol", null, this.renderElements(notes)); + into.appendChild(result); + } + } + renderElement(elem) { + switch (elem.type) { + case dom_1.DomType.Paragraph: + return this.renderParagraph(elem); + case dom_1.DomType.BookmarkStart: + return this.renderBookmarkStart(elem); + case dom_1.DomType.BookmarkEnd: + return null; + case dom_1.DomType.Run: + return this.renderRun(elem); + case dom_1.DomType.Table: + return this.renderTable(elem); + case dom_1.DomType.Row: + return this.renderTableRow(elem); + case dom_1.DomType.Cell: + return this.renderTableCell(elem); + case dom_1.DomType.Hyperlink: + return this.renderHyperlink(elem); + case dom_1.DomType.Drawing: + return this.renderDrawing(elem); + case dom_1.DomType.Image: + return this.renderImage(elem); + case dom_1.DomType.Text: + return this.renderText(elem); + case dom_1.DomType.Text: + return this.renderText(elem); + case dom_1.DomType.DeletedText: + return this.renderDeletedText(elem); + case dom_1.DomType.Tab: + return this.renderTab(elem); + case dom_1.DomType.Symbol: + return this.renderSymbol(elem); + case dom_1.DomType.Break: + return this.renderBreak(elem); + case dom_1.DomType.Footer: + return this.renderContainer(elem, "footer"); + case dom_1.DomType.Header: + return this.renderContainer(elem, "header"); + case dom_1.DomType.Footnote: + case dom_1.DomType.Endnote: + return this.renderContainer(elem, "li"); + case dom_1.DomType.FootnoteReference: + return this.renderFootnoteReference(elem); + case dom_1.DomType.EndnoteReference: + return this.renderEndnoteReference(elem); + case dom_1.DomType.NoBreakHyphen: + return this.createElement("wbr"); + case dom_1.DomType.VmlPicture: + return this.renderVmlPicture(elem); + case dom_1.DomType.VmlElement: + return this.renderVmlElement(elem); + case dom_1.DomType.MmlMath: + return this.renderContainerNS(elem, ns.mathML, "math", { xmlns: ns.mathML }); + case dom_1.DomType.MmlMathParagraph: + return this.renderContainer(elem, "span"); + case dom_1.DomType.MmlFraction: + return this.renderContainerNS(elem, ns.mathML, "mfrac"); + case dom_1.DomType.MmlNumerator: + case dom_1.DomType.MmlDenominator: + return this.renderContainerNS(elem, ns.mathML, "mrow"); + case dom_1.DomType.MmlRadical: + return this.renderMmlRadical(elem); + case dom_1.DomType.MmlDegree: + return this.renderContainerNS(elem, ns.mathML, "mn"); + case dom_1.DomType.MmlSuperscript: + return this.renderContainerNS(elem, ns.mathML, "msup"); + case dom_1.DomType.MmlSubscript: + return this.renderContainerNS(elem, ns.mathML, "msub"); + case dom_1.DomType.MmlBase: + return this.renderContainerNS(elem, ns.mathML, "mrow"); + case dom_1.DomType.MmlSuperArgument: + return this.renderContainerNS(elem, ns.mathML, "mn"); + case dom_1.DomType.MmlSubArgument: + return this.renderContainerNS(elem, ns.mathML, "mn"); + case dom_1.DomType.MmlDelimiter: + return this.renderMmlDelimiter(elem); + case dom_1.DomType.MmlRun: + return this.renderMmlRun(elem); + case dom_1.DomType.MmlNary: + return this.renderMmlNary(elem); + case dom_1.DomType.Inserted: + return this.renderInserted(elem); + case dom_1.DomType.Deleted: + return this.renderDeleted(elem); + } + return null; + } + renderChildren(elem, into) { + return this.renderElements(elem.children, into); + } + renderElements(elems, into) { + if (elems == null) + return null; + var result = elems.flatMap(e => this.renderElement(e)).filter(e => e != null); + if (into) + appendChildren(into, result); + return result; + } + renderContainer(elem, tagName, props) { + return this.createElement(tagName, props, this.renderChildren(elem)); + } + renderContainerNS(elem, ns, tagName, props) { + return createElementNS(ns, tagName, props, this.renderChildren(elem)); + } + renderParagraph(elem) { + var _a, _b, _c, _d; + var result = this.createElement("p"); + const style = this.findStyle(elem.styleName); + (_a = elem.tabs) !== null && _a !== void 0 ? _a : (elem.tabs = (_b = style === null || style === void 0 ? void 0 : style.paragraphProps) === null || _b === void 0 ? void 0 : _b.tabs); + this.renderClass(elem, result); + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + this.renderCommonProperties(result.style, elem); + const numbering = (_c = elem.numbering) !== null && _c !== void 0 ? _c : (_d = style === null || style === void 0 ? void 0 : style.paragraphProps) === null || _d === void 0 ? void 0 : _d.numbering; + if (numbering) { + result.classList.add(this.numberingClass(numbering.id, numbering.level)); + } + return result; + } + renderRunProperties(style, props) { + this.renderCommonProperties(style, props); + } + renderCommonProperties(style, props) { + if (props == null) + return; + if (props.color) { + style["color"] = props.color; + } + if (props.fontSize) { + style["font-size"] = props.fontSize; + } + } + renderHyperlink(elem) { + var result = this.createElement("a"); + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + if (elem.href) { + result.href = elem.href; + } + else if (elem.id) { + const rel = this.document.documentPart.rels + .find(it => it.id == elem.id && it.targetMode === "External"); + result.href = rel === null || rel === void 0 ? void 0 : rel.target; + } + return result; + } + renderDrawing(elem) { + var result = this.createElement("div"); + result.style.display = "inline-block"; + result.style.position = "relative"; + result.style.textIndent = "0px"; + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + return result; + } + renderImage(elem) { + let result = this.createElement("img"); + this.renderStyleValues(elem.cssStyle, result); + if (this.document) { + this.document.loadDocumentImage(elem.src, this.currentPart).then(x => { + result.src = x; + }); + } + return result; + } + renderText(elem) { + return this.htmlDocument.createTextNode(elem.text); + } + renderDeletedText(elem) { + return this.options.renderEndnotes ? this.htmlDocument.createTextNode(elem.text) : null; + } + renderBreak(elem) { + if (elem.break == "textWrapping") { + return this.createElement("br"); + } + return null; + } + renderInserted(elem) { + if (this.options.renderChanges) + return this.renderContainer(elem, "ins"); + return this.renderChildren(elem); + } + renderDeleted(elem) { + if (this.options.renderChanges) + return this.renderContainer(elem, "del"); + return null; + } + renderSymbol(elem) { + var span = this.createElement("span"); + span.style.fontFamily = elem.font; + span.innerHTML = `&#x${elem.char};`; + return span; + } + renderFootnoteReference(elem) { + var result = this.createElement("sup"); + this.currentFootnoteIds.push(elem.id); + result.textContent = `${this.currentFootnoteIds.length}`; + return result; + } + renderEndnoteReference(elem) { + var result = this.createElement("sup"); + this.currentEndnoteIds.push(elem.id); + result.textContent = `${this.currentEndnoteIds.length}`; + return result; + } + renderTab(elem) { + var _a; + var tabSpan = this.createElement("span"); + tabSpan.innerHTML = " "; + if (this.options.experimental) { + tabSpan.className = this.tabStopClass(); + var stops = (_a = findParent(elem, dom_1.DomType.Paragraph)) === null || _a === void 0 ? void 0 : _a.tabs; + this.currentTabs.push({ stops, span: tabSpan }); + } + return tabSpan; + } + renderBookmarkStart(elem) { + var result = this.createElement("span"); + result.id = elem.name; + return result; + } + renderRun(elem) { + if (elem.fieldRun) + return null; + const result = this.createElement("span"); + if (elem.id) + result.id = elem.id; + this.renderClass(elem, result); + this.renderStyleValues(elem.cssStyle, result); + if (elem.verticalAlign) { + const wrapper = this.createElement(elem.verticalAlign); + this.renderChildren(elem, wrapper); + result.appendChild(wrapper); + } + else { + this.renderChildren(elem, result); + } + return result; + } + renderTable(elem) { + let result = this.createElement("table"); + this.tableCellPositions.push(this.currentCellPosition); + this.tableVerticalMerges.push(this.currentVerticalMerge); + this.currentVerticalMerge = {}; + this.currentCellPosition = { col: 0, row: 0 }; + if (elem.columns) + result.appendChild(this.renderTableColumns(elem.columns)); + this.renderClass(elem, result); + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + this.currentVerticalMerge = this.tableVerticalMerges.pop(); + this.currentCellPosition = this.tableCellPositions.pop(); + return result; + } + renderTableColumns(columns) { + let result = this.createElement("colgroup"); + for (let col of columns) { + let colElem = this.createElement("col"); + if (col.width) + colElem.style.width = col.width; + result.appendChild(colElem); + } + return result; + } + renderTableRow(elem) { + let result = this.createElement("tr"); + this.currentCellPosition.col = 0; + this.renderClass(elem, result); + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + this.currentCellPosition.row++; + return result; + } + renderTableCell(elem) { + let result = this.createElement("td"); + const key = this.currentCellPosition.col; + if (elem.verticalMerge) { + if (elem.verticalMerge == "restart") { + this.currentVerticalMerge[key] = result; + result.rowSpan = 1; + } + else if (this.currentVerticalMerge[key]) { + this.currentVerticalMerge[key].rowSpan += 1; + result.style.display = "none"; + } + } + else { + this.currentVerticalMerge[key] = null; + } + this.renderClass(elem, result); + this.renderChildren(elem, result); + this.renderStyleValues(elem.cssStyle, result); + if (elem.span) + result.colSpan = elem.span; + this.currentCellPosition.col += result.colSpan; + return result; + } + renderVmlPicture(elem) { + var result = createElement("div"); + this.renderChildren(elem, result); + return result; + } + renderVmlElement(elem) { + var _a, _b; + var container = createSvgElement("svg"); + container.setAttribute("style", elem.cssStyleText); + const result = createSvgElement(elem.tagName); + Object.entries(elem.attrs).forEach(([k, v]) => result.setAttribute(k, v)); + if ((_a = elem.imageHref) === null || _a === void 0 ? void 0 : _a.id) { + (_b = this.document) === null || _b === void 0 ? void 0 : _b.loadDocumentImage(elem.imageHref.id, this.currentPart).then(x => result.setAttribute("href", x)); + } + container.appendChild(result); + setTimeout(() => { + const bb = container.firstElementChild.getBBox(); + container.setAttribute("width", `${Math.ceil(bb.x + bb.width)}`); + container.setAttribute("height", `${Math.ceil(bb.y + bb.height)}`); + }, 0); + return container; + } + renderMmlRadical(elem) { + var _a; + const base = elem.children.find(el => el.type == dom_1.DomType.MmlBase); + if ((_a = elem.props) === null || _a === void 0 ? void 0 : _a.hideDegree) { + return createElementNS(ns.mathML, "msqrt", null, this.renderElements([base])); + } + const degree = elem.children.find(el => el.type == dom_1.DomType.MmlDegree); + return createElementNS(ns.mathML, "mroot", null, this.renderElements([base, degree])); + } + renderMmlDelimiter(elem) { + var _a, _b; + const children = []; + children.push(createElementNS(ns.mathML, "mo", null, [(_a = elem.props.beginChar) !== null && _a !== void 0 ? _a : '('])); + children.push(...this.renderElements(elem.children)); + children.push(createElementNS(ns.mathML, "mo", null, [(_b = elem.props.endChar) !== null && _b !== void 0 ? _b : ')'])); + return createElementNS(ns.mathML, "mrow", null, children); + } + renderMmlNary(elem) { + var _a; + const children = []; + const grouped = (0, utils_1.keyBy)(elem.children, x => x.type); + const sup = grouped[dom_1.DomType.MmlSuperArgument]; + const sub = grouped[dom_1.DomType.MmlSubArgument]; + const supElem = sup ? createElementNS(ns.mathML, "mo", null, (0, utils_1.asArray)(this.renderElement(sup))) : null; + const subElem = sub ? createElementNS(ns.mathML, "mo", null, (0, utils_1.asArray)(this.renderElement(sub))) : null; + if ((_a = elem.props) === null || _a === void 0 ? void 0 : _a.char) { + const charElem = createElementNS(ns.mathML, "mo", null, [elem.props.char]); + if (supElem || subElem) { + children.push(createElementNS(ns.mathML, "munderover", null, [charElem, subElem, supElem])); + } + else if (supElem) { + children.push(createElementNS(ns.mathML, "mover", null, [charElem, supElem])); + } + else if (subElem) { + children.push(createElementNS(ns.mathML, "munder", null, [charElem, subElem])); + } + else { + children.push(charElem); + } + } + children.push(...this.renderElements(grouped[dom_1.DomType.MmlBase].children)); + return createElementNS(ns.mathML, "mrow", null, children); + } + renderMmlRun(elem) { + const result = createElementNS(ns.mathML, "ms"); + this.renderClass(elem, result); + this.renderStyleValues(elem.cssStyle, result); + this.renderChildren(elem, result); + return result; + } + renderStyleValues(style, ouput) { + Object.assign(ouput.style, style); + } + renderClass(input, ouput) { + if (input.className) + ouput.className = input.className; + if (input.styleName) + ouput.classList.add(this.processStyleName(input.styleName)); + } + findStyle(styleName) { + var _a; + return styleName && ((_a = this.styleMap) === null || _a === void 0 ? void 0 : _a[styleName]); + } + numberingClass(id, lvl) { + return `${this.className}-num-${id}-${lvl}`; + } + tabStopClass() { + return `${this.className}-tab-stop`; + } + styleToString(selectors, values, cssText = null) { + let result = `${selectors} {\r\n`; + for (const key in values) { + result += ` ${key}: ${values[key]};\r\n`; + } + if (cssText) + result += cssText; + return result + "}\r\n"; + } + numberingCounter(id, lvl) { + return `${this.className}-num-${id}-${lvl}`; + } + levelTextToContent(text, suff, id, numformat) { + var _a; + const suffMap = { + "tab": "\\9", + "space": "\\a0", + }; + var result = text.replace(/%\d*/g, s => { + let lvl = parseInt(s.substring(1), 10) - 1; + return `"counter(${this.numberingCounter(id, lvl)}, ${numformat})"`; + }); + return `"${result}${(_a = suffMap[suff]) !== null && _a !== void 0 ? _a : ""}"`; + } + numFormatToCssValue(format) { + var mapping = { + "none": "none", + "bullet": "disc", + "decimal": "decimal", + "lowerLetter": "lower-alpha", + "upperLetter": "upper-alpha", + "lowerRoman": "lower-roman", + "upperRoman": "upper-roman", + }; + return mapping[format] || format; + } + refreshTabStops() { + if (!this.options.experimental) + return; + clearTimeout(this.tabsTimeout); + this.tabsTimeout = setTimeout(() => { + const pixelToPoint = (0, javascript_1.computePixelToPoint)(); + for (let tab of this.currentTabs) { + (0, javascript_1.updateTabStop)(tab.span, tab.stops, this.defaultTabSize, pixelToPoint); + } + }, 500); + } +} +exports.HtmlRenderer = HtmlRenderer; +function createElement(tagName, props, children) { + return createElementNS(undefined, tagName, props, children); +} +function createSvgElement(tagName, props, children) { + return createElementNS(ns.svg, tagName, props, children); +} +function createElementNS(ns, tagName, props, children) { + var result = ns ? document.createElementNS(ns, tagName) : document.createElement(tagName); + Object.assign(result, props); + children && appendChildren(result, children); + return result; +} +function removeAllElements(elem) { + elem.innerHTML = ''; +} +function appendChildren(elem, children) { + children.forEach(c => elem.appendChild((0, utils_1.isString)(c) ? document.createTextNode(c) : c)); +} +function createStyleElement(cssText) { + return createElement("style", { innerHTML: cssText }); +} +function appendComment(elem, comment) { + elem.appendChild(document.createComment(comment)); +} +function findParent(elem, type) { + var parent = elem.parent; + while (parent != null && parent.type != type) + parent = parent.parent; + return parent; +} + + +/***/ }), + +/***/ "./src/javascript.ts": +/*!***************************!*\ + !*** ./src/javascript.ts ***! + \***************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.updateTabStop = exports.computePixelToPoint = void 0; +const defaultTab = { pos: 0, leader: "none", style: "left" }; +const maxTabs = 50; +function computePixelToPoint(container = document.body) { + const temp = document.createElement("div"); + temp.style.width = '100pt'; + container.appendChild(temp); + const result = 100 / temp.offsetWidth; + container.removeChild(temp); + return result; +} +exports.computePixelToPoint = computePixelToPoint; +function updateTabStop(elem, tabs, defaultTabSize, pixelToPoint = 72 / 96) { + const p = elem.closest("p"); + const ebb = elem.getBoundingClientRect(); + const pbb = p.getBoundingClientRect(); + const pcs = getComputedStyle(p); + const tabStops = (tabs === null || tabs === void 0 ? void 0 : tabs.length) > 0 ? tabs.map(t => ({ + pos: lengthToPoint(t.position), + leader: t.leader, + style: t.style + })).sort((a, b) => a.pos - b.pos) : [defaultTab]; + const lastTab = tabStops[tabStops.length - 1]; + const pWidthPt = pbb.width * pixelToPoint; + const size = lengthToPoint(defaultTabSize); + let pos = lastTab.pos + size; + if (pos < pWidthPt) { + for (; pos < pWidthPt && tabStops.length < maxTabs; pos += size) { + tabStops.push(Object.assign(Object.assign({}, defaultTab), { pos: pos })); + } + } + const marginLeft = parseFloat(pcs.marginLeft); + const pOffset = pbb.left + marginLeft; + const left = (ebb.left - pOffset) * pixelToPoint; + const tab = tabStops.find(t => t.style != "clear" && t.pos > left); + if (tab == null) + return; + let width = 1; + if (tab.style == "right" || tab.style == "center") { + const tabStops = Array.from(p.querySelectorAll(`.${elem.className}`)); + const nextIdx = tabStops.indexOf(elem) + 1; + const range = document.createRange(); + range.setStart(elem, 1); + if (nextIdx < tabStops.length) { + range.setEndBefore(tabStops[nextIdx]); + } + else { + range.setEndAfter(p); + } + const mul = tab.style == "center" ? 0.5 : 1; + const nextBB = range.getBoundingClientRect(); + const offset = nextBB.left + mul * nextBB.width - (pbb.left - marginLeft); + width = tab.pos - offset * pixelToPoint; + } + else { + width = tab.pos - left; + } + elem.innerHTML = " "; + elem.style.textDecoration = "inherit"; + elem.style.wordSpacing = `${width.toFixed(0)}pt`; + switch (tab.leader) { + case "dot": + case "middleDot": + elem.style.textDecoration = "underline"; + elem.style.textDecorationStyle = "dotted"; + break; + case "hyphen": + case "heavy": + case "underscore": + elem.style.textDecoration = "underline"; + break; + } +} +exports.updateTabStop = updateTabStop; +function lengthToPoint(length) { + return parseFloat(length); +} + + +/***/ }), + +/***/ "./src/notes/elements.ts": +/*!*******************************!*\ + !*** ./src/notes/elements.ts ***! + \*******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.WmlEndnote = exports.WmlFootnote = exports.WmlBaseNote = void 0; +const dom_1 = __webpack_require__(/*! ../document/dom */ "./src/document/dom.ts"); +class WmlBaseNote { + constructor() { + this.children = []; + this.cssStyle = {}; + } +} +exports.WmlBaseNote = WmlBaseNote; +class WmlFootnote extends WmlBaseNote { + constructor() { + super(...arguments); + this.type = dom_1.DomType.Footnote; + } +} +exports.WmlFootnote = WmlFootnote; +class WmlEndnote extends WmlBaseNote { + constructor() { + super(...arguments); + this.type = dom_1.DomType.Endnote; + } +} +exports.WmlEndnote = WmlEndnote; + + +/***/ }), + +/***/ "./src/notes/parts.ts": +/*!****************************!*\ + !*** ./src/notes/parts.ts ***! + \****************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.EndnotesPart = exports.FootnotesPart = exports.BaseNotePart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const elements_1 = __webpack_require__(/*! ./elements */ "./src/notes/elements.ts"); +class BaseNotePart extends part_1.Part { + constructor(pkg, path, parser) { + super(pkg, path); + this._documentParser = parser; + } +} +exports.BaseNotePart = BaseNotePart; +class FootnotesPart extends BaseNotePart { + constructor(pkg, path, parser) { + super(pkg, path, parser); + } + parseXml(root) { + this.notes = this._documentParser.parseNotes(root, "footnote", elements_1.WmlFootnote); + } +} +exports.FootnotesPart = FootnotesPart; +class EndnotesPart extends BaseNotePart { + constructor(pkg, path, parser) { + super(pkg, path, parser); + } + parseXml(root) { + this.notes = this._documentParser.parseNotes(root, "endnote", elements_1.WmlEndnote); + } +} +exports.EndnotesPart = EndnotesPart; + + +/***/ }), + +/***/ "./src/numbering/numbering-part.ts": +/*!*****************************************!*\ + !*** ./src/numbering/numbering-part.ts ***! + \*****************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.NumberingPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const numbering_1 = __webpack_require__(/*! ./numbering */ "./src/numbering/numbering.ts"); +class NumberingPart extends part_1.Part { + constructor(pkg, path, parser) { + super(pkg, path); + this._documentParser = parser; + } + parseXml(root) { + Object.assign(this, (0, numbering_1.parseNumberingPart)(root, this._package.xmlParser)); + this.domNumberings = this._documentParser.parseNumberingFile(root); + } +} +exports.NumberingPart = NumberingPart; + + +/***/ }), + +/***/ "./src/numbering/numbering.ts": +/*!************************************!*\ + !*** ./src/numbering/numbering.ts ***! + \************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseNumberingBulletPicture = exports.parseNumberingLevelOverrride = exports.parseNumberingLevel = exports.parseAbstractNumbering = exports.parseNumbering = exports.parseNumberingPart = void 0; +const paragraph_1 = __webpack_require__(/*! ../document/paragraph */ "./src/document/paragraph.ts"); +const run_1 = __webpack_require__(/*! ../document/run */ "./src/document/run.ts"); +function parseNumberingPart(elem, xml) { + let result = { + numberings: [], + abstractNumberings: [], + bulletPictures: [] + }; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "num": + result.numberings.push(parseNumbering(e, xml)); + break; + case "abstractNum": + result.abstractNumberings.push(parseAbstractNumbering(e, xml)); + break; + case "numPicBullet": + result.bulletPictures.push(parseNumberingBulletPicture(e, xml)); + break; + } + } + return result; +} +exports.parseNumberingPart = parseNumberingPart; +function parseNumbering(elem, xml) { + let result = { + id: xml.attr(elem, 'numId'), + overrides: [] + }; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "abstractNumId": + result.abstractId = xml.attr(e, "val"); + break; + case "lvlOverride": + result.overrides.push(parseNumberingLevelOverrride(e, xml)); + break; + } + } + return result; +} +exports.parseNumbering = parseNumbering; +function parseAbstractNumbering(elem, xml) { + let result = { + id: xml.attr(elem, 'abstractNumId'), + levels: [] + }; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "name": + result.name = xml.attr(e, "val"); + break; + case "multiLevelType": + result.multiLevelType = xml.attr(e, "val"); + break; + case "numStyleLink": + result.numberingStyleLink = xml.attr(e, "val"); + break; + case "styleLink": + result.styleLink = xml.attr(e, "val"); + break; + case "lvl": + result.levels.push(parseNumberingLevel(e, xml)); + break; + } + } + return result; +} +exports.parseAbstractNumbering = parseAbstractNumbering; +function parseNumberingLevel(elem, xml) { + let result = { + level: xml.intAttr(elem, 'ilvl') + }; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "start": + result.start = xml.attr(e, "val"); + break; + case "lvlRestart": + result.restart = xml.intAttr(e, "val"); + break; + case "numFmt": + result.format = xml.attr(e, "val"); + break; + case "lvlText": + result.text = xml.attr(e, "val"); + break; + case "lvlJc": + result.justification = xml.attr(e, "val"); + break; + case "lvlPicBulletId": + result.bulletPictureId = xml.attr(e, "val"); + break; + case "pStyle": + result.paragraphStyle = xml.attr(e, "val"); + break; + case "pPr": + result.paragraphProps = (0, paragraph_1.parseParagraphProperties)(e, xml); + break; + case "rPr": + result.runProps = (0, run_1.parseRunProperties)(e, xml); + break; + } + } + return result; +} +exports.parseNumberingLevel = parseNumberingLevel; +function parseNumberingLevelOverrride(elem, xml) { + let result = { + level: xml.intAttr(elem, 'ilvl') + }; + for (let e of xml.elements(elem)) { + switch (e.localName) { + case "startOverride": + result.start = xml.intAttr(e, "val"); + break; + case "lvl": + result.numberingLevel = parseNumberingLevel(e, xml); + break; + } + } + return result; +} +exports.parseNumberingLevelOverrride = parseNumberingLevelOverrride; +function parseNumberingBulletPicture(elem, xml) { + var pict = xml.element(elem, "pict"); + var shape = pict && xml.element(pict, "shape"); + var imagedata = shape && xml.element(shape, "imagedata"); + return imagedata ? { + id: xml.attr(elem, "numPicBulletId"), + referenceId: xml.attr(imagedata, "id"), + style: xml.attr(shape, "style") + } : null; +} +exports.parseNumberingBulletPicture = parseNumberingBulletPicture; + + +/***/ }), + +/***/ "./src/parser/xml-parser.ts": +/*!**********************************!*\ + !*** ./src/parser/xml-parser.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.XmlParser = exports.serializeXmlString = exports.parseXmlString = void 0; +const common_1 = __webpack_require__(/*! ../document/common */ "./src/document/common.ts"); +function parseXmlString(xmlString, trimXmlDeclaration = false) { + if (trimXmlDeclaration) + xmlString = xmlString.replace(/<[?].*[?]>/, ""); + const result = new DOMParser().parseFromString(xmlString, "application/xml"); + const errorText = hasXmlParserError(result); + if (errorText) + throw new Error(errorText); + return result; +} +exports.parseXmlString = parseXmlString; +function hasXmlParserError(doc) { + var _a; + return (_a = doc.getElementsByTagName("parsererror")[0]) === null || _a === void 0 ? void 0 : _a.textContent; +} +function serializeXmlString(elem) { + return new XMLSerializer().serializeToString(elem); +} +exports.serializeXmlString = serializeXmlString; +class XmlParser { + elements(elem, localName = null) { + const result = []; + for (let i = 0, l = elem.childNodes.length; i < l; i++) { + let c = elem.childNodes.item(i); + if (c.nodeType == 1 && (localName == null || c.localName == localName)) + result.push(c); + } + return result; + } + element(elem, localName) { + for (let i = 0, l = elem.childNodes.length; i < l; i++) { + let c = elem.childNodes.item(i); + if (c.nodeType == 1 && c.localName == localName) + return c; + } + return null; + } + elementAttr(elem, localName, attrLocalName) { + var el = this.element(elem, localName); + return el ? this.attr(el, attrLocalName) : undefined; + } + attrs(elem) { + return Array.from(elem.attributes); + } + attr(elem, localName) { + for (let i = 0, l = elem.attributes.length; i < l; i++) { + let a = elem.attributes.item(i); + if (a.localName == localName) + return a.value; + } + return null; + } + intAttr(node, attrName, defaultValue = null) { + var val = this.attr(node, attrName); + return val ? parseInt(val) : defaultValue; + } + hexAttr(node, attrName, defaultValue = null) { + var val = this.attr(node, attrName); + return val ? parseInt(val, 16) : defaultValue; + } + floatAttr(node, attrName, defaultValue = null) { + var val = this.attr(node, attrName); + return val ? parseFloat(val) : defaultValue; + } + boolAttr(node, attrName, defaultValue = null) { + return (0, common_1.convertBoolean)(this.attr(node, attrName), defaultValue); + } + lengthAttr(node, attrName, usage = common_1.LengthUsage.Dxa) { + return (0, common_1.convertLength)(this.attr(node, attrName), usage); + } +} +exports.XmlParser = XmlParser; +const globalXmlParser = new XmlParser(); +exports["default"] = globalXmlParser; + + +/***/ }), + +/***/ "./src/settings/settings-part.ts": +/*!***************************************!*\ + !*** ./src/settings/settings-part.ts ***! + \***************************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SettingsPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const settings_1 = __webpack_require__(/*! ./settings */ "./src/settings/settings.ts"); +class SettingsPart extends part_1.Part { + constructor(pkg, path) { + super(pkg, path); + } + parseXml(root) { + this.settings = (0, settings_1.parseSettings)(root, this._package.xmlParser); + } +} +exports.SettingsPart = SettingsPart; + + +/***/ }), + +/***/ "./src/settings/settings.ts": +/*!**********************************!*\ + !*** ./src/settings/settings.ts ***! + \**********************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseNoteProperties = exports.parseSettings = void 0; +function parseSettings(elem, xml) { + var result = {}; + for (let el of xml.elements(elem)) { + switch (el.localName) { + case "defaultTabStop": + result.defaultTabStop = xml.lengthAttr(el, "val"); + break; + case "footnotePr": + result.footnoteProps = parseNoteProperties(el, xml); + break; + case "endnotePr": + result.endnoteProps = parseNoteProperties(el, xml); + break; + case "autoHyphenation": + result.autoHyphenation = xml.boolAttr(el, "val"); + break; + } + } + return result; +} +exports.parseSettings = parseSettings; +function parseNoteProperties(elem, xml) { + var result = { + defaultNoteIds: [] + }; + for (let el of xml.elements(elem)) { + switch (el.localName) { + case "numFmt": + result.nummeringFormat = xml.attr(el, "val"); + break; + case "footnote": + case "endnote": + result.defaultNoteIds.push(xml.attr(el, "id")); + break; + } + } + return result; +} +exports.parseNoteProperties = parseNoteProperties; + + +/***/ }), + +/***/ "./src/styles/styles-part.ts": +/*!***********************************!*\ + !*** ./src/styles/styles-part.ts ***! + \***********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.StylesPart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +class StylesPart extends part_1.Part { + constructor(pkg, path, parser) { + super(pkg, path); + this._documentParser = parser; + } + parseXml(root) { + this.styles = this._documentParser.parseStylesFile(root); + } +} +exports.StylesPart = StylesPart; + + +/***/ }), + +/***/ "./src/theme/theme-part.ts": +/*!*********************************!*\ + !*** ./src/theme/theme-part.ts ***! + \*********************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ThemePart = void 0; +const part_1 = __webpack_require__(/*! ../common/part */ "./src/common/part.ts"); +const theme_1 = __webpack_require__(/*! ./theme */ "./src/theme/theme.ts"); +class ThemePart extends part_1.Part { + constructor(pkg, path) { + super(pkg, path); + } + parseXml(root) { + this.theme = (0, theme_1.parseTheme)(root, this._package.xmlParser); + } +} +exports.ThemePart = ThemePart; + + +/***/ }), + +/***/ "./src/theme/theme.ts": +/*!****************************!*\ + !*** ./src/theme/theme.ts ***! + \****************************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseFontInfo = exports.parseFontScheme = exports.parseColorScheme = exports.parseTheme = exports.DmlTheme = void 0; +class DmlTheme { +} +exports.DmlTheme = DmlTheme; +function parseTheme(elem, xml) { + var result = new DmlTheme(); + var themeElements = xml.element(elem, "themeElements"); + for (let el of xml.elements(themeElements)) { + switch (el.localName) { + case "clrScheme": + result.colorScheme = parseColorScheme(el, xml); + break; + case "fontScheme": + result.fontScheme = parseFontScheme(el, xml); + break; + } + } + return result; +} +exports.parseTheme = parseTheme; +function parseColorScheme(elem, xml) { + var result = { + name: xml.attr(elem, "name"), + colors: {} + }; + for (let el of xml.elements(elem)) { + var srgbClr = xml.element(el, "srgbClr"); + var sysClr = xml.element(el, "sysClr"); + if (srgbClr) { + result.colors[el.localName] = xml.attr(srgbClr, "val"); + } + else if (sysClr) { + result.colors[el.localName] = xml.attr(sysClr, "lastClr"); + } + } + return result; +} +exports.parseColorScheme = parseColorScheme; +function parseFontScheme(elem, xml) { + var result = { + name: xml.attr(elem, "name"), + }; + for (let el of xml.elements(elem)) { + switch (el.localName) { + case "majorFont": + result.majorFont = parseFontInfo(el, xml); + break; + case "minorFont": + result.minorFont = parseFontInfo(el, xml); + break; + } + } + return result; +} +exports.parseFontScheme = parseFontScheme; +function parseFontInfo(elem, xml) { + return { + latinTypeface: xml.elementAttr(elem, "latin", "typeface"), + eaTypeface: xml.elementAttr(elem, "ea", "typeface"), + csTypeface: xml.elementAttr(elem, "cs", "typeface"), + }; +} +exports.parseFontInfo = parseFontInfo; + + +/***/ }), + +/***/ "./src/utils.ts": +/*!**********************!*\ + !*** ./src/utils.ts ***! + \**********************/ +/***/ ((__unused_webpack_module, exports) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.asArray = exports.formatCssRules = exports.parseCssRules = exports.mergeDeep = exports.isString = exports.isObject = exports.blobToBase64 = exports.keyBy = exports.resolvePath = exports.splitPath = exports.escapeClassName = void 0; +function escapeClassName(className) { + return className === null || className === void 0 ? void 0 : className.replace(/[ .]+/g, '-').replace(/[&]+/g, 'and').toLowerCase(); +} +exports.escapeClassName = escapeClassName; +function splitPath(path) { + let si = path.lastIndexOf('/') + 1; + let folder = si == 0 ? "" : path.substring(0, si); + let fileName = si == 0 ? path : path.substring(si); + return [folder, fileName]; +} +exports.splitPath = splitPath; +function resolvePath(path, base) { + try { + const prefix = "http://docx/"; + const url = new URL(path, prefix + base).toString(); + return url.substring(prefix.length); + } + catch (_a) { + return `${base}${path}`; + } +} +exports.resolvePath = resolvePath; +function keyBy(array, by) { + return array.reduce((a, x) => { + a[by(x)] = x; + return a; + }, {}); +} +exports.keyBy = keyBy; +function blobToBase64(blob) { + return new Promise((resolve, _) => { + const reader = new FileReader(); + reader.onloadend = () => resolve(reader.result); + reader.readAsDataURL(blob); + }); +} +exports.blobToBase64 = blobToBase64; +function isObject(item) { + return item && typeof item === 'object' && !Array.isArray(item); +} +exports.isObject = isObject; +function isString(item) { + return item && typeof item === 'string' || item instanceof String; +} +exports.isString = isString; +function mergeDeep(target, ...sources) { + var _a; + if (!sources.length) + return target; + const source = sources.shift(); + if (isObject(target) && isObject(source)) { + for (const key in source) { + if (isObject(source[key])) { + const val = (_a = target[key]) !== null && _a !== void 0 ? _a : (target[key] = {}); + mergeDeep(val, source[key]); + } + else { + target[key] = source[key]; + } + } + } + return mergeDeep(target, ...sources); +} +exports.mergeDeep = mergeDeep; +function parseCssRules(text) { + const result = {}; + for (const rule of text.split(';')) { + const [key, val] = rule.split(':'); + result[key] = val; + } + return result; +} +exports.parseCssRules = parseCssRules; +function formatCssRules(style) { + return Object.entries(style).map((k, v) => `${k}: ${v}`).join(';'); +} +exports.formatCssRules = formatCssRules; +function asArray(val) { + return Array.isArray(val) ? val : [val]; +} +exports.asArray = asArray; + + +/***/ }), + +/***/ "./src/vml/vml.ts": +/*!************************!*\ + !*** ./src/vml/vml.ts ***! + \************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.parseVmlElement = exports.VmlElement = void 0; +const common_1 = __webpack_require__(/*! ../document/common */ "./src/document/common.ts"); +const dom_1 = __webpack_require__(/*! ../document/dom */ "./src/document/dom.ts"); +const xml_parser_1 = __webpack_require__(/*! ../parser/xml-parser */ "./src/parser/xml-parser.ts"); +class VmlElement { + constructor() { + this.type = dom_1.DomType.VmlElement; + this.attrs = {}; + this.chidren = []; + } +} +exports.VmlElement = VmlElement; +function parseVmlElement(elem) { + var result = new VmlElement(); + switch (elem.localName) { + case "rect": + result.tagName = "rect"; + Object.assign(result.attrs, { width: '100%', height: '100%' }); + break; + case "oval": + result.tagName = "ellipse"; + Object.assign(result.attrs, { cx: "50%", cy: "50%", rx: "50%", ry: "50%" }); + break; + case "line": + result.tagName = "line"; + break; + case "shape": + result.tagName = "g"; + break; + default: + return null; + } + for (const at of xml_parser_1.default.attrs(elem)) { + switch (at.localName) { + case "style": + result.cssStyleText = at.value; + break; + case "fillcolor": + result.attrs.fill = at.value; + break; + case "from": + const [x1, y1] = parsePoint(at.value); + Object.assign(result.attrs, { x1, y1 }); + break; + case "to": + const [x2, y2] = parsePoint(at.value); + Object.assign(result.attrs, { x2, y2 }); + break; + } + } + for (const el of xml_parser_1.default.elements(elem)) { + switch (el.localName) { + case "stroke": + Object.assign(result.attrs, parseStroke(el)); + break; + case "fill": + Object.assign(result.attrs, parseFill(el)); + break; + case "imagedata": + result.tagName = "image"; + Object.assign(result.attrs, { width: '100%', height: '100%' }); + result.imageHref = { + id: xml_parser_1.default.attr(el, "id"), + title: xml_parser_1.default.attr(el, "title"), + }; + break; + default: + const child = parseVmlElement(el); + child && result.chidren.push(child); + break; + } + } + return result; +} +exports.parseVmlElement = parseVmlElement; +function parseStroke(el) { + var _a; + return { + 'stroke': xml_parser_1.default.attr(el, "color"), + 'stroke-width': (_a = xml_parser_1.default.lengthAttr(el, "weight", common_1.LengthUsage.Emu)) !== null && _a !== void 0 ? _a : '1px' + }; +} +function parseFill(el) { + return {}; +} +function parsePoint(val) { + return val.split(","); +} +function convertPath(path) { + return path.replace(/([mlxe])|([-\d]+)|([,])/g, (m) => { + if (/[-\d]/.test(m)) + return (0, common_1.convertLength)(m, common_1.LengthUsage.VmlEmu); + if (/[ml,]/.test(m)) + return m; + return ''; + }); +} + + +/***/ }), + +/***/ "./src/word-document.ts": +/*!******************************!*\ + !*** ./src/word-document.ts ***! + \******************************/ +/***/ ((__unused_webpack_module, exports, __webpack_require__) => { + + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.deobfuscate = exports.WordDocument = void 0; +const relationship_1 = __webpack_require__(/*! ./common/relationship */ "./src/common/relationship.ts"); +const font_table_1 = __webpack_require__(/*! ./font-table/font-table */ "./src/font-table/font-table.ts"); +const open_xml_package_1 = __webpack_require__(/*! ./common/open-xml-package */ "./src/common/open-xml-package.ts"); +const document_part_1 = __webpack_require__(/*! ./document/document-part */ "./src/document/document-part.ts"); +const utils_1 = __webpack_require__(/*! ./utils */ "./src/utils.ts"); +const numbering_part_1 = __webpack_require__(/*! ./numbering/numbering-part */ "./src/numbering/numbering-part.ts"); +const styles_part_1 = __webpack_require__(/*! ./styles/styles-part */ "./src/styles/styles-part.ts"); +const parts_1 = __webpack_require__(/*! ./header-footer/parts */ "./src/header-footer/parts.ts"); +const extended_props_part_1 = __webpack_require__(/*! ./document-props/extended-props-part */ "./src/document-props/extended-props-part.ts"); +const core_props_part_1 = __webpack_require__(/*! ./document-props/core-props-part */ "./src/document-props/core-props-part.ts"); +const theme_part_1 = __webpack_require__(/*! ./theme/theme-part */ "./src/theme/theme-part.ts"); +const parts_2 = __webpack_require__(/*! ./notes/parts */ "./src/notes/parts.ts"); +const settings_part_1 = __webpack_require__(/*! ./settings/settings-part */ "./src/settings/settings-part.ts"); +const custom_props_part_1 = __webpack_require__(/*! ./document-props/custom-props-part */ "./src/document-props/custom-props-part.ts"); +const topLevelRels = [ + { type: relationship_1.RelationshipTypes.OfficeDocument, target: "word/document.xml" }, + { type: relationship_1.RelationshipTypes.ExtendedProperties, target: "docProps/app.xml" }, + { type: relationship_1.RelationshipTypes.CoreProperties, target: "docProps/core.xml" }, + { type: relationship_1.RelationshipTypes.CustomProperties, target: "docProps/custom.xml" }, +]; +class WordDocument { + constructor() { + this.parts = []; + this.partsMap = {}; + } + static load(blob, parser, options) { + var d = new WordDocument(); + d._options = options; + d._parser = parser; + return open_xml_package_1.OpenXmlPackage.load(blob, options) + .then(pkg => { + d._package = pkg; + return d._package.loadRelationships(); + }).then(rels => { + d.rels = rels; + const tasks = topLevelRels.map(rel => { + var _a; + const r = (_a = rels.find(x => x.type === rel.type)) !== null && _a !== void 0 ? _a : rel; + return d.loadRelationshipPart(r.target, r.type); + }); + return Promise.all(tasks); + }).then(() => d); + } + save(type = "blob") { + return this._package.save(type); + } + loadRelationshipPart(path, type) { + if (this.partsMap[path]) + return Promise.resolve(this.partsMap[path]); + if (!this._package.get(path)) + return Promise.resolve(null); + let part = null; + switch (type) { + case relationship_1.RelationshipTypes.OfficeDocument: + this.documentPart = part = new document_part_1.DocumentPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.FontTable: + this.fontTablePart = part = new font_table_1.FontTablePart(this._package, path); + break; + case relationship_1.RelationshipTypes.Numbering: + this.numberingPart = part = new numbering_part_1.NumberingPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.Styles: + this.stylesPart = part = new styles_part_1.StylesPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.Theme: + this.themePart = part = new theme_part_1.ThemePart(this._package, path); + break; + case relationship_1.RelationshipTypes.Footnotes: + this.footnotesPart = part = new parts_2.FootnotesPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.Endnotes: + this.endnotesPart = part = new parts_2.EndnotesPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.Footer: + part = new parts_1.FooterPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.Header: + part = new parts_1.HeaderPart(this._package, path, this._parser); + break; + case relationship_1.RelationshipTypes.CoreProperties: + this.corePropsPart = part = new core_props_part_1.CorePropsPart(this._package, path); + break; + case relationship_1.RelationshipTypes.ExtendedProperties: + this.extendedPropsPart = part = new extended_props_part_1.ExtendedPropsPart(this._package, path); + break; + case relationship_1.RelationshipTypes.CustomProperties: + part = new custom_props_part_1.CustomPropsPart(this._package, path); + break; + case relationship_1.RelationshipTypes.Settings: + this.settingsPart = part = new settings_part_1.SettingsPart(this._package, path); + break; + } + if (part == null) + return Promise.resolve(null); + this.partsMap[path] = part; + this.parts.push(part); + return part.load().then(() => { + if (part.rels == null || part.rels.length == 0) + return part; + const [folder] = (0, utils_1.splitPath)(part.path); + const rels = part.rels.map(rel => { + return this.loadRelationshipPart((0, utils_1.resolvePath)(rel.target, folder), rel.type); + }); + return Promise.all(rels).then(() => part); + }); + } + loadDocumentImage(id, part) { + return this.loadResource(part !== null && part !== void 0 ? part : this.documentPart, id, "blob") + .then(x => this.blobToURL(x)); + } + loadNumberingImage(id) { + return this.loadResource(this.numberingPart, id, "blob") + .then(x => this.blobToURL(x)); + } + loadFont(id, key) { + return this.loadResource(this.fontTablePart, id, "uint8array") + .then(x => x ? this.blobToURL(new Blob([deobfuscate(x, key)])) : x); + } + blobToURL(blob) { + if (!blob) + return null; + if (this._options.useBase64URL) { + return (0, utils_1.blobToBase64)(blob); + } + return URL.createObjectURL(blob); + } + findPartByRelId(id, basePart = null) { + var _a; + var rel = ((_a = basePart.rels) !== null && _a !== void 0 ? _a : this.rels).find(r => r.id == id); + const folder = basePart ? (0, utils_1.splitPath)(basePart.path)[0] : ''; + return rel ? this.partsMap[(0, utils_1.resolvePath)(rel.target, folder)] : null; + } + getPathById(part, id) { + const rel = part.rels.find(x => x.id == id); + const [folder] = (0, utils_1.splitPath)(part.path); + return rel ? (0, utils_1.resolvePath)(rel.target, folder) : null; + } + loadResource(part, id, outputType) { + const path = this.getPathById(part, id); + return path ? this._package.load(path, outputType) : Promise.resolve(null); + } +} +exports.WordDocument = WordDocument; +function deobfuscate(data, guidKey) { + const len = 16; + const trimmed = guidKey.replace(/{|}|-/g, ""); + const numbers = new Array(len); + for (let i = 0; i < len; i++) + numbers[len - i - 1] = parseInt(trimmed.substr(i * 2, 2), 16); + for (let i = 0; i < 32; i++) + data[i] = data[i] ^ numbers[i % len]; + return data; +} +exports.deobfuscate = deobfuscate; + + +/***/ }), + +/***/ "data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E": +/*!********************************************************************************************************************************************************************************************************************************************************************!*\ + !*** data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E ***! + \********************************************************************************************************************************************************************************************************************************************************************/ +/***/ ((module) => { + +module.exports = "data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E"; + +/***/ }), + +/***/ "jszip": +/*!**************************************************************************************!*\ + !*** external {"root":"JSZip","commonjs":"jszip","commonjs2":"jszip","amd":"jszip"} ***! + \**************************************************************************************/ +/***/ ((module) => { + +module.exports = __WEBPACK_EXTERNAL_MODULE_jszip__; + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ id: moduleId, +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = __webpack_modules__; +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat get default export */ +/******/ (() => { +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = (module) => { +/******/ var getter = module && module.__esModule ? +/******/ () => (module['default']) : +/******/ () => (module); +/******/ __webpack_require__.d(getter, { a: getter }); +/******/ return getter; +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/define property getters */ +/******/ (() => { +/******/ // define getter functions for harmony exports +/******/ __webpack_require__.d = (exports, definition) => { +/******/ for(var key in definition) { +/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { +/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); +/******/ } +/******/ } +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/hasOwnProperty shorthand */ +/******/ (() => { +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) +/******/ })(); +/******/ +/******/ /* webpack/runtime/make namespace object */ +/******/ (() => { +/******/ // define __esModule on exports +/******/ __webpack_require__.r = (exports) => { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ })(); +/******/ +/******/ /* webpack/runtime/jsonp chunk loading */ +/******/ (() => { +/******/ __webpack_require__.b = document.baseURI || self.location.href; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "docx-preview": 0 +/******/ }; +/******/ +/******/ // no chunk on demand loading +/******/ +/******/ // no prefetching +/******/ +/******/ // no preloaded +/******/ +/******/ // no HMR +/******/ +/******/ // no HMR manifest +/******/ +/******/ // no on chunks loaded +/******/ +/******/ // no jsonp function +/******/ })(); +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __webpack_require__("./src/docx-preview.ts"); +/******/ +/******/ return __webpack_exports__; +/******/ })() +; +}); +//# sourceMappingURL=docx-preview.js.map \ No newline at end of file diff --git a/public/static/docxjs/js/jszip.min.js b/public/static/docxjs/js/jszip.min.js new file mode 100644 index 0000000..ff4cfd5 --- /dev/null +++ b/public/static/docxjs/js/jszip.min.js @@ -0,0 +1,13 @@ +/*! + +JSZip v3.10.1 - A JavaScript class for generating and reading zip files + + +(c) 2009-2016 Stuart Knightley +Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown. + +JSZip uses the library pako released under the MIT license : +https://github.com/nodeca/pako/blob/main/LICENSE +*/ + +!function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).JSZip=e()}}(function(){return function s(a,o,h){function u(r,e){if(!o[r]){if(!a[r]){var t="function"==typeof require&&require;if(!e&&t)return t(r,!0);if(l)return l(r,!0);var n=new Error("Cannot find module '"+r+"'");throw n.code="MODULE_NOT_FOUND",n}var i=o[r]={exports:{}};a[r][0].call(i.exports,function(e){var t=a[r][1][e];return u(t||e)},i,i.exports,s,a,o,h)}return o[r].exports}for(var l="function"==typeof require&&require,e=0;e>2,s=(3&t)<<4|r>>4,a=1>6:64,o=2>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),l[h++]=t,64!==s&&(l[h++]=r),64!==a&&(l[h++]=n);return l}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var n=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");function o(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var e=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),t=this;return e.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new a("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new a("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var n=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var n=e("./utils");var o=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var n=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var n=null;n="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:n}},{lie:37}],7:[function(e,t,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=e("pako"),s=e("./utils"),a=e("./stream/GenericWorker"),o=n?"uint8array":"array";function h(e,t){a.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(h,a),h.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},h.prototype.flush=function(){a.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){a.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(e){return new h("Deflate",e)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function A(e,t){var r,n="";for(r=0;r>>=8;return n}function n(e,t,r,n,i,s){var a,o,h=e.file,u=e.compression,l=s!==O.utf8encode,f=I.transformTo("string",s(h.name)),c=I.transformTo("string",O.utf8encode(h.name)),d=h.comment,p=I.transformTo("string",s(d)),m=I.transformTo("string",O.utf8encode(d)),_=c.length!==h.name.length,g=m.length!==d.length,b="",v="",y="",w=h.dir,k=h.date,x={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(x.crc32=e.crc32,x.compressedSize=e.compressedSize,x.uncompressedSize=e.uncompressedSize);var S=0;t&&(S|=8),l||!_&&!g||(S|=2048);var z=0,C=0;w&&(z|=16),"UNIX"===i?(C=798,z|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(h.unixPermissions,w)):(C=20,z|=function(e){return 63&(e||0)}(h.dosPermissions)),a=k.getUTCHours(),a<<=6,a|=k.getUTCMinutes(),a<<=5,a|=k.getUTCSeconds()/2,o=k.getUTCFullYear()-1980,o<<=4,o|=k.getUTCMonth()+1,o<<=5,o|=k.getUTCDate(),_&&(v=A(1,1)+A(B(f),4)+c,b+="up"+A(v.length,2)+v),g&&(y=A(1,1)+A(B(p),4)+m,b+="uc"+A(y.length,2)+y);var E="";return E+="\n\0",E+=A(S,2),E+=u.magic,E+=A(a,2),E+=A(o,2),E+=A(x.crc32,4),E+=A(x.compressedSize,4),E+=A(x.uncompressedSize,4),E+=A(f.length,2),E+=A(b.length,2),{fileRecord:R.LOCAL_FILE_HEADER+E+f+b,dirRecord:R.CENTRAL_FILE_HEADER+A(C,2)+E+A(p.length,2)+"\0\0\0\0"+A(z,4)+A(n,4)+f+b+p}}var I=e("../utils"),i=e("../stream/GenericWorker"),O=e("../utf8"),B=e("../crc32"),R=e("../signature");function s(e,t,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}I.inherits(s,i),s.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-n-1))/r:100}}))},s.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=n(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},s.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return R.DATA_DESCRIPTOR+A(e.crc32,4)+A(e.compressedSize,4)+A(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},s.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return n.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=i},{"../utils":32}],19:[function(e,t,r){"use strict";var n=e("./Uint8ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var n=e("./DataReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},i.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},i.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var n=e("./ArrayReader");function i(e){n.call(this,e)}e("../utils").inherits(i,n),i.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var n=e("../utils"),i=e("../support"),s=e("./ArrayReader"),a=e("./StringReader"),o=e("./NodeBufferReader"),h=e("./Uint8ArrayReader");t.exports=function(e){var t=n.getTypeOf(e);return n.checkSupport(t),"string"!==t||i.uint8array?"nodebuffer"===t?new o(e):i.uint8array?new h(n.transformTo("uint8array",e)):new s(n.transformTo("array",e)):new a(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../utils");function s(e){n.call(this,"ConvertWorker to "+e),this.destType=e}i.inherits(s,n),s.prototype.processChunk=function(e){this.push({data:i.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var n=e("./GenericWorker"),i=e("../crc32");function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,n),s.prototype.processChunk=function(e){this.streamInfo.crc32=i(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}n.inherits(s,i),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}i.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var n=e("../utils"),i=e("./GenericWorker");function s(e){i.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=n.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function n(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r "+e:e}},t.exports=n},{}],29:[function(e,t,r){"use strict";var h=e("../utils"),i=e("./ConvertWorker"),s=e("./GenericWorker"),u=e("../base64"),n=e("../support"),a=e("../external"),o=null;if(n.nodestream)try{o=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function l(e,o){return new a.Promise(function(t,r){var n=[],i=e._internalType,s=e._outputType,a=e._mimeType;e.on("data",function(e,t){n.push(e),o&&o(t)}).on("error",function(e){n=[],r(e)}).on("end",function(){try{var e=function(e,t,r){switch(e){case"blob":return h.newBlob(h.transformTo("arraybuffer",t),r);case"base64":return u.encode(t);default:return h.transformTo(e,t)}}(s,function(e,t){var r,n=0,i=null,s=0;for(r=0;r>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t}(e)},s.utf8decode=function(e){return h.nodebuffer?o.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,n,i,s=e.length,a=new Array(2*s);for(t=r=0;t>10&1023,a[r++]=56320|1023&n)}return a.length!==r&&(a.subarray?a=a.subarray(0,r):a.length=r),o.applyFromCharCode(a)}(e=o.transformTo(h.uint8array?"uint8array":"array",e))},o.inherits(a,n),a.prototype.processChunk=function(e){var t=o.transformTo(h.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(h.uint8array){var r=t;(t=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),t.set(r,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var n=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}(t),i=t;n!==t.length&&(h.uint8array?(i=t.subarray(0,n),this.leftOver=t.subarray(n,t.length)):(i=t.slice(0,n),this.leftOver=t.slice(n,t.length))),this.push({data:s.utf8decode(i),meta:e.meta})},a.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:s.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},s.Utf8DecodeWorker=a,o.inherits(l,n),l.prototype.processChunk=function(e){this.push({data:s.utf8encode(e.data),meta:e.meta})},s.Utf8EncodeWorker=l},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,a){"use strict";var o=e("./support"),h=e("./base64"),r=e("./nodejsUtils"),u=e("./external");function n(e){return e}function l(e,t){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=n(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,n,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(r<65536?t[s++]=224|r>>>12:(t[s++]=240|r>>>18,t[s++]=128|r>>>12&63),t[s++]=128|r>>>6&63),t[s++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new h.Buf8(e.length),r=0,n=t.length;r>10&1023,o[n++]=56320|1023&i)}return l(o,n)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0?t:0===r?t:r+u[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,n){for(var i=65535&e|0,s=e>>>16&65535|0,a=0;0!==r;){for(r-=a=2e3>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var i=o,s=n+r;e^=-1;for(var a=n;a>>8^i[255&(e^t[a])];return-1^e}},{}],46:[function(e,t,r){"use strict";var h,c=e("../utils/common"),u=e("./trees"),d=e("./adler32"),p=e("./crc32"),n=e("./messages"),l=0,f=4,m=0,_=-2,g=-1,b=4,i=2,v=8,y=9,s=286,a=30,o=19,w=2*s+1,k=15,x=3,S=258,z=S+x+1,C=42,E=113,A=1,I=2,O=3,B=4;function R(e,t){return e.msg=n[t],t}function T(e){return(e<<1)-(4e.avail_out&&(r=e.avail_out),0!==r&&(c.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function N(e,t){u._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function U(e,t){e.pending_buf[e.pending++]=t}function P(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function L(e,t){var r,n,i=e.max_chain_length,s=e.strstart,a=e.prev_length,o=e.nice_match,h=e.strstart>e.w_size-z?e.strstart-(e.w_size-z):0,u=e.window,l=e.w_mask,f=e.prev,c=e.strstart+S,d=u[s+a-1],p=u[s+a];e.prev_length>=e.good_match&&(i>>=2),o>e.lookahead&&(o=e.lookahead);do{if(u[(r=t)+a]===p&&u[r+a-1]===d&&u[r]===u[s]&&u[++r]===u[s+1]){s+=2,r++;do{}while(u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&u[++s]===u[++r]&&sh&&0!=--i);return a<=e.lookahead?a:e.lookahead}function j(e){var t,r,n,i,s,a,o,h,u,l,f=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=f+(f-z)){for(c.arraySet(e.window,e.window,f,f,0),e.match_start-=f,e.strstart-=f,e.block_start-=f,t=r=e.hash_size;n=e.head[--t],e.head[t]=f<=n?n-f:0,--r;);for(t=r=f;n=e.prev[--t],e.prev[t]=f<=n?n-f:0,--r;);i+=f}if(0===e.strm.avail_in)break;if(a=e.strm,o=e.window,h=e.strstart+e.lookahead,u=i,l=void 0,l=a.avail_in,u=x)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<=x&&(e.ins_h=(e.ins_h<=x)if(n=u._tr_tally(e,e.strstart-e.match_start,e.match_length-x),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=x){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<=x&&(e.ins_h=(e.ins_h<=x&&e.match_length<=e.prev_length){for(i=e.strstart+e.lookahead-x,n=u._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-x),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=i&&(e.ins_h=(e.ins_h<e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(j(e),0===e.lookahead&&t===l)return A;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var n=e.block_start+r;if((0===e.strstart||e.strstart>=n)&&(e.lookahead=e.strstart-n,e.strstart=n,N(e,!1),0===e.strm.avail_out))return A;if(e.strstart-e.block_start>=e.w_size-z&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):(e.strstart>e.block_start&&(N(e,!1),e.strm.avail_out),A)}),new M(4,4,8,4,Z),new M(4,5,16,8,Z),new M(4,6,32,32,Z),new M(4,4,16,16,W),new M(8,16,32,32,W),new M(8,16,128,128,W),new M(8,32,128,256,W),new M(32,128,258,1024,W),new M(32,258,258,4096,W)],r.deflateInit=function(e,t){return Y(e,t,v,15,8,0)},r.deflateInit2=Y,r.deflateReset=K,r.deflateResetKeep=G,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?_:(e.state.gzhead=t,m):_},r.deflate=function(e,t){var r,n,i,s;if(!e||!e.state||5>8&255),U(n,n.gzhead.time>>16&255),U(n,n.gzhead.time>>24&255),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(U(n,255&n.gzhead.extra.length),U(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=p(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(U(n,0),U(n,0),U(n,0),U(n,0),U(n,0),U(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),U(n,3),n.status=E);else{var a=v+(n.w_bits-8<<4)<<8;a|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(a|=32),a+=31-a%31,n.status=E,P(n,a),0!==n.strstart&&(P(n,e.adler>>>16),P(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending!==n.pending_buf_size));)U(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){s=1;break}s=n.gzindexi&&(e.adler=p(e.adler,n.pending_buf,n.pending-i,i)),0===s&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&F(e),n.pending+2<=n.pending_buf_size&&(U(n,255&e.adler),U(n,e.adler>>8&255),e.adler=0,n.status=E)):n.status=E),0!==n.pending){if(F(e),0===e.avail_out)return n.last_flush=-1,m}else if(0===e.avail_in&&T(t)<=T(r)&&t!==f)return R(e,-5);if(666===n.status&&0!==e.avail_in)return R(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==l&&666!==n.status){var o=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(j(e),0===e.lookahead)){if(t===l)return A;break}if(e.match_length=0,r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):3===n.strategy?function(e,t){for(var r,n,i,s,a=e.window;;){if(e.lookahead<=S){if(j(e),e.lookahead<=S&&t===l)return A;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=x&&0e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=x?(r=u._tr_tally(e,1,e.match_length-x),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=u._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(N(e,!1),0===e.strm.avail_out))return A}return e.insert=0,t===f?(N(e,!0),0===e.strm.avail_out?O:B):e.last_lit&&(N(e,!1),0===e.strm.avail_out)?A:I}(n,t):h[n.level].func(n,t);if(o!==O&&o!==B||(n.status=666),o===A||o===O)return 0===e.avail_out&&(n.last_flush=-1),m;if(o===I&&(1===t?u._tr_align(n):5!==t&&(u._tr_stored_block(n,0,0,!1),3===t&&(D(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),F(e),0===e.avail_out))return n.last_flush=-1,m}return t!==f?m:n.wrap<=0?1:(2===n.wrap?(U(n,255&e.adler),U(n,e.adler>>8&255),U(n,e.adler>>16&255),U(n,e.adler>>24&255),U(n,255&e.total_in),U(n,e.total_in>>8&255),U(n,e.total_in>>16&255),U(n,e.total_in>>24&255)):(P(n,e.adler>>>16),P(n,65535&e.adler)),F(e),0=r.w_size&&(0===s&&(D(r.head),r.strstart=0,r.block_start=0,r.insert=0),u=new c.Buf8(r.w_size),c.arraySet(u,t,l-r.w_size,r.w_size,0),t=u,l=r.w_size),a=e.avail_in,o=e.next_in,h=e.input,e.avail_in=l,e.next_in=0,e.input=t,j(r);r.lookahead>=x;){for(n=r.strstart,i=r.lookahead-(x-1);r.ins_h=(r.ins_h<>>=y=v>>>24,p-=y,0===(y=v>>>16&255))C[s++]=65535&v;else{if(!(16&y)){if(0==(64&y)){v=m[(65535&v)+(d&(1<>>=y,p-=y),p<15&&(d+=z[n++]<>>=y=v>>>24,p-=y,!(16&(y=v>>>16&255))){if(0==(64&y)){v=_[(65535&v)+(d&(1<>>=y,p-=y,(y=s-a)>3,d&=(1<<(p-=w<<3))-1,e.next_in=n,e.next_out=s,e.avail_in=n>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function s(){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 I.Buf16(320),this.work=new I.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function a(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=P,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new I.Buf32(n),t.distcode=t.distdyn=new I.Buf32(i),t.sane=1,t.back=-1,N):U}function o(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,a(e)):U}function h(e,t){var r,n;return e&&e.state?(n=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15=s.wsize?(I.arraySet(s.window,t,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(n<(i=s.wsize-s.wnext)&&(i=n),I.arraySet(s.window,t,r-n,i,s.wnext),(n-=i)?(I.arraySet(s.window,t,r-n,n,0),s.wnext=n,s.whave=s.wsize):(s.wnext+=i,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=B(r.check,E,2,0),l=u=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&u)<<8)+(u>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&u)){e.msg="unknown compression method",r.mode=30;break}if(l-=4,k=8+(15&(u>>>=4)),0===r.wbits)r.wbits=k;else if(k>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=3;case 3:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>8&255,E[2]=u>>>16&255,E[3]=u>>>24&255,r.check=B(r.check,E,4,0)),l=u=0,r.mode=4;case 4:for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>8),512&r.flags&&(E[0]=255&u,E[1]=u>>>8&255,r.check=B(r.check,E,2,0)),l=u=0,r.mode=5;case 5:if(1024&r.flags){for(;l<16;){if(0===o)break e;o--,u+=n[s++]<>>8&255,r.check=B(r.check,E,2,0)),l=u=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(o<(d=r.length)&&(d=o),d&&(r.head&&(k=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),I.arraySet(r.head.extra,n,s,d,k)),512&r.flags&&(r.check=B(r.check,n,d,s)),o-=d,s+=d,r.length-=d),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===o)break e;for(d=0;k=n[s+d++],r.head&&k&&r.length<65536&&(r.head.name+=String.fromCharCode(k)),k&&d>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;l<32;){if(0===o)break e;o--,u+=n[s++]<>>=7&l,l-=7&l,r.mode=27;break}for(;l<3;){if(0===o)break e;o--,u+=n[s++]<>>=1)){case 0:r.mode=14;break;case 1:if(j(r),r.mode=20,6!==t)break;u>>>=2,l-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}u>>>=2,l-=2;break;case 14:for(u>>>=7&l,l-=7&l;l<32;){if(0===o)break e;o--,u+=n[s++]<>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&u,l=u=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(d=r.length){if(o>>=5,l-=5,r.ndist=1+(31&u),u>>>=5,l-=5,r.ncode=4+(15&u),u>>>=4,l-=4,286>>=3,l-=3}for(;r.have<19;)r.lens[A[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,S={bits:r.lenbits},x=T(0,r.lens,0,19,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=_,l-=_,r.lens[r.have++]=b;else{if(16===b){for(z=_+2;l>>=_,l-=_,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}k=r.lens[r.have-1],d=3+(3&u),u>>>=2,l-=2}else if(17===b){for(z=_+3;l>>=_)),u>>>=3,l-=3}else{for(z=_+7;l>>=_)),u>>>=7,l-=7}if(r.have+d>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;d--;)r.lens[r.have++]=k}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,S={bits:r.lenbits},x=T(D,r.lens,0,r.nlen,r.lencode,0,r.work,S),r.lenbits=S.bits,x){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,S={bits:r.distbits},x=T(F,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,S),r.distbits=S.bits,x){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=o&&258<=h){e.next_out=a,e.avail_out=h,e.next_in=s,e.avail_in=o,r.hold=u,r.bits=l,R(e,c),a=e.next_out,i=e.output,h=e.avail_out,s=e.next_in,n=e.input,o=e.avail_in,u=r.hold,l=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;g=(C=r.lencode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,r.length=b,0===g){r.mode=26;break}if(32&g){r.back=-1,r.mode=12;break}if(64&g){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&g,r.mode=22;case 22:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;g=(C=r.distcode[u&(1<>>16&255,b=65535&C,!((_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>v)])>>>16&255,b=65535&C,!(v+(_=C>>>24)<=l);){if(0===o)break e;o--,u+=n[s++]<>>=v,l-=v,r.back+=v}if(u>>>=_,l-=_,r.back+=_,64&g){e.msg="invalid distance code",r.mode=30;break}r.offset=b,r.extra=15&g,r.mode=24;case 24:if(r.extra){for(z=r.extra;l>>=r.extra,l-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===h)break e;if(d=c-h,r.offset>d){if((d=r.offset-d)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}p=d>r.wnext?(d-=r.wnext,r.wsize-d):r.wnext-d,d>r.length&&(d=r.length),m=r.window}else m=i,p=a-r.offset,d=r.length;for(hd?(m=R[T+a[v]],A[I+a[v]]):(m=96,0),h=1<>S)+(u-=h)]=p<<24|m<<16|_|0,0!==u;);for(h=1<>=1;if(0!==h?(E&=h-1,E+=h):E=0,v++,0==--O[b]){if(b===w)break;b=t[r+a[v]]}if(k>>7)]}function U(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function P(e,t,r){e.bi_valid>d-r?(e.bi_buf|=t<>d-e.bi_valid,e.bi_valid+=r-d):(e.bi_buf|=t<>>=1,r<<=1,0<--t;);return r>>>1}function Z(e,t,r){var n,i,s=new Array(g+1),a=0;for(n=1;n<=g;n++)s[n]=a=a+r[n-1]<<1;for(i=0;i<=t;i++){var o=e[2*i+1];0!==o&&(e[2*i]=j(s[o]++,o))}}function W(e){var t;for(t=0;t>1;1<=r;r--)G(e,s,r);for(i=h;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,s,1),n=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=n,s[2*i]=s[2*r]+s[2*n],e.depth[i]=(e.depth[r]>=e.depth[n]?e.depth[r]:e.depth[n])+1,s[2*r+1]=s[2*n+1]=i,e.heap[1]=i++,G(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,n,i,s,a,o,h=t.dyn_tree,u=t.max_code,l=t.stat_desc.static_tree,f=t.stat_desc.has_stree,c=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(s=0;s<=g;s++)e.bl_count[s]=0;for(h[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<_;r++)p<(s=h[2*h[2*(n=e.heap[r])+1]+1]+1)&&(s=p,m++),h[2*n+1]=s,u>=7;n>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return o;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return h;for(t=32;t>>3,(s=e.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==t?J(e,t,r,n):4===e.strategy||s===i?(P(e,2+(n?1:0),3),K(e,z,C)):(P(e,4+(n?1:0),3),function(e,t,r,n){var i;for(P(e,t-257,5),P(e,r-1,5),P(e,n-4,4),i=0;i>>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&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(A[r]+u+1)]++,e.dyn_dtree[2*N(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){P(e,2,3),L(e,m,z),function(e){16===e.bi_valid?(U(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,r){(function(e){!function(r,n){"use strict";if(!r.setImmediate){var i,s,t,a,o=1,h={},u=!1,l=r.document,e=Object.getPrototypeOf&&Object.getPrototypeOf(r);e=e&&e.setTimeout?e:r,i="[object process]"==={}.toString.call(r.process)?function(e){process.nextTick(function(){c(e)})}:function(){if(r.postMessage&&!r.importScripts){var e=!0,t=r.onmessage;return r.onmessage=function(){e=!1},r.postMessage("","*"),r.onmessage=t,e}}()?(a="setImmediate$"+Math.random()+"$",r.addEventListener?r.addEventListener("message",d,!1):r.attachEvent("onmessage",d),function(e){r.postMessage(a+e,"*")}):r.MessageChannel?((t=new MessageChannel).port1.onmessage=function(e){c(e.data)},function(e){t.port2.postMessage(e)}):l&&"onreadystatechange"in l.createElement("script")?(s=l.documentElement,function(e){var t=l.createElement("script");t.onreadystatechange=function(){c(e),t.onreadystatechange=null,s.removeChild(t),t=null},s.appendChild(t)}):function(e){setTimeout(c,0,e)},e.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),r=0;r * { + column-count:1; + flex-grow:1; + flex-shrink 0; + text-align: center; +} \ No newline at end of file diff --git a/public/static/down/css/style.css b/public/static/down/css/style.css new file mode 100644 index 0000000..a92c7a9 --- /dev/null +++ b/public/static/down/css/style.css @@ -0,0 +1,501 @@ +#__bs_notify__ { + display: none !important; +} +[class*=tell] { + display: table-cell; + vertical-align: middle; +} +[class*=dt] { + display: table; + width: 100%; +} +[class*=fw] { + float: left; + width: 100%; +} +[class*=item] ul { + display: table; + width: 100%; +} +[class*=item] ul li { + width: 100%; +} +[class*=item] ul li:last-child { + border-bottom: none; +} +.toutu img { + width: 100%; + vertical-align: bottom; +} +.mobile-wrap { + position: relative; + min-height: 100vh; +} +main { + width: 100%; + padding: 0.3rem 5%; +} +.appItem { + width: 100%; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; + padding-bottom: 0.4rem; +} +.appItem .left { + width: 2.3rem; + height: 2.3rem; + -webkit-border-radius: 0.1rem; + border-radius: 0.1rem; + overflow: hidden; +} +.appItem .left img { + width: 100%; + min-height: 100%; +} +.appItem .right { + width: -webkit-calc(100% - 2.6rem); + width: calc(100% - 2.6rem); +} +.appItem .right strong { + color: #111; + font-size: 0.4rem; + line-height: 1.4; + display: block; +} +.appItem .right strong span { + color: #8e8e93; + font-size: 0.24rem; + -webkit-border-radius: 0.08rem; + border-radius: 0.08rem; + padding: 0.02rem 0.1rem; + border: 1px solid #8e8e93; + vertical-align: middle; + margin-left: 0.1rem; +} +.appItem .right p { + font-size: 0.28rem; + line-height: 1.4; + color: #8e8e93; +} +.appItem .right .installBox { + padding-top: 0.4rem; + width: 100%; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.appItem .right .installBox a ,.downwin .down{ + display: inline-block; +} +.appItem .right .installBox a:active { + opacity: 0.85; +} +.appItem .right .installBox .down,.downwin .down{ + min-width: 2.1rem; + background-color: #017afe; + -webkit-border-radius: 0.3rem; + border-radius: 0.3rem; + text-align: center; + color: #fff; + font-size: 0.28rem; + padding: 0 0.15rem; + height: 0.62rem; + line-height: 0.62rem; +} +.appItem .right .installBox .doubt { + width: 0.62rem; + height: 0.62rem; + line-height: 0.62rem; + -webkit-border-radius: 50%; + border-radius: 50%; + background-color: #017afe; + color: #fff; + font-size: 0.28rem; + font-weight: bold; + text-align: center; +} +.appItem .appTip { + width: 100%; + padding-top: 0.4rem; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.appItem .appTip .score { + line-height: 1.2; +} +.appItem .appTip .score .star { + color: #8e8e93; + font-weight: bold; + font-size: 0.34rem; +} +.appItem .appTip .score .star var { + width: 1.6rem; + height: 0.32rem; + -webkit-background-size: 0.32rem 0.72rem; + background-size: 0.32rem 0.72rem; + display: inline-block; +} +.appItem .appTip .score p { + color: #d8d8d8; + font-size: 0.24rem; + line-height: 1.6; +} +.appItem .appTip .centerBox { + color: #8e8e93; + font-size: 0.3rem; + text-align: center; + font-weight: bold; +} +.appItem .appTip .centerBox i { + position: relative; + top: -0.1rem; +} +.appItem .appTip .age { + color: #8e8e93; + line-height: 1.2; + text-align: right; +} +.appItem .appTip .age b { + font-size: 0.34rem; + display: block; +} +.appItem .appTip .age p { + color: #d8d8d8; + font-size: 0.24rem; +} +.comment { + width: 100%; + padding: 0.34rem 0; + border-top: 1px solid #e5e5e5; + border-bottom: 1px solid #e5e5e5; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: start; + -webkit-align-items: flex-start; + -ms-flex-align: start; + align-items: flex-start; + -webkit-flex-wrap: wrap; + -ms-flex-wrap: wrap; + flex-wrap: wrap; +} +.comment .left { + text-align: center; + padding-left: 0.2rem; +} +.comment .left b { + font-size: 1.2rem; + color: #4c4c50; + line-height: 1.1; +} +.comment .left p { + font-size: 0.28rem; + color: #8e8e93; + font-weight: bold; +} +.comment .right { + -webkit-box-flex: 0.9; + -webkit-flex-grow: 0.9; + -ms-flex-positive: 0.9; + flex-grow: 0.9; +} +.comment .right p { + font-size: 0.28rem; + color: #8e8e93; + line-height: 1.4; + text-align: right; +} +.comment .right .star_row { + width: 100%; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; + -webkit-box-align: center; + -webkit-align-items: center; + -ms-flex-align: center; + align-items: center; +} +.comment .right .star_row span { + width: 1.2rem; + height: 0.24rem; + display: inline-block; + text-align: right; +} +.comment .right .star_row span i { + height: 0.16rem; + display: inline-block; + background: url("../img/star.svg") 0 0; + -webkit-background-size: 0.18rem 0.34rem; + background-size: 0.18rem 0.34rem; +} +.comment .right .star_row span.s1 i { + width: 0.9rem; +} +.comment .right .star_row span.s2 i { + width: 0.72rem; +} +.comment .right .star_row span.s3 i { + width: 0.54rem; +} +.comment .right .star_row span.s4 i { + width: 0.36rem; +} +.comment .right .star_row span.s5 i { + width: 0.18rem; +} +.comment .right .star_row .lineBox { + width: -webkit-calc(100% - 1.6rem); + width: calc(100% - 1.6rem); + height: 0.05rem; + -webkit-border-radius: 0.3rem; + border-radius: 0.3rem; + background-color: #e5e5e5; + overflow: hidden; +} +.comment .right .star_row .lineBox var { + height: 100%; + -webkit-border-radius: 0 0.3rem 0.3rem 0; + border-radius: 0 0.3rem 0.3rem 0; + background-color: #8e8e93; + float: left; +} +.comment .right .star_row .lineBox var.v1 { + width: 90%; +} +.comment .right .star_row .lineBox var.v2 { + width: 10%; +} +.comment .right .star_row .lineBox var.v3 { + width: 4%; +} +.comment .right .star_row .lineBox var.v4 { + width: 2%; +} +.comment .right .star_row .lineBox var.v5 { + width: 1%; +} +.publicTitle { + width: 100%; + font-size: 0.4rem; + line-height: 1.2; + letter-spacing: 0.02rem; + margin-bottom: 0.3rem; + display: block; +} +.newFunction { + width: 100%; + padding: 0.34rem 0; + border-bottom: 1px solid #e5e5e5; + line-height: 1.4; +} +.newFunction p { + font-size: 0.3rem; + color: #333; +} +.appInfo { + width: 100%; + padding: 0.34rem 0; +} +.appInfo .box ul li { + width: 100%; + line-height: 1.4; + padding: 0.15rem 0; + float: none; + border-bottom: 1px solid #e5e5e5; + display: -webkit-flex; + display: -moz-flex; + display: -ms-flex; + display: -o-flex; + display: -webkit-box; + display: -ms-flexbox; + display: flex; + -webkit-box-pack: justify; + -webkit-justify-content: space-between; + -ms-flex-pack: justify; + justify-content: space-between; +} +.appInfo .box ul li:last-child { + border-bottom: none; +} +.appInfo .box ul li span { + -webkit-box-flex: 0.1; + -webkit-flex-grow: 0.1; + -ms-flex-positive: 0.1; + flex-grow: 0.1; + font-size: 0.24rem; + color: #8e8e93; + white-space: nowrap; + overflow: hidden; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; +} +.appInfo .box ul li p { + width: 80%; + color: #333; + font-size: 0.24rem; + text-align: right; + display: inline-block; + overflow: hidden; + -ms-text-overflow: ellipsis; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + display: -webkit-box; + word-wrap: break-word; +} +.footer { + width: 100%; + padding: 0.15rem 3%; + background-color: #eee; + color: #a9a9a9; + line-height: 1.6; +} +.footer p { + font-size: 0.2rem; +} +.footer p.p2 { + text-indent: 0.4rem; +} +.pup { + position: fixed; + z-index: 10; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.7); + display: none; +} +.guide { + position: absolute; + top: 50%; + left: 50%; + -webkit-transform: translate(-50%, -50%); + -ms-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + width: 80%; + -webkit-border-radius: 0.1rem; + border-radius: 0.1rem; + overflow: hidden; + background-color: #fff; + padding-bottom: 0.2rem; +} +.guide .colse { + position: absolute; + z-index: 2; + top: 0; + right: 0; + width: 0.7rem; + height: 0.7rem; + background: url("../img/31cb4_4_200_200.png") no-repeat; + -webkit-background-size: 100% 100%; + background-size: 100%; +} +.guide .pics { + width: 100%; + height: 5.5rem; +} +.guide .pic { + width: 100%; + height: 4.2rem; + overflow: hidden; +} +.guide .pic img { + width: 100%; + min-height: 100%; +} +.guide .text { + padding: 0.15rem; + color: #1e93ff; + font-size: 0.26rem; + line-height: 1.6; + text-align: center; +} +.guide .swiper-container { + height: 100%; +} +.guide .swiper-pagination { + bottom: 0 !important; +} +.guide .swiper-pagination span { + background-color: #def1ff; + opacity: 1; +} +.guide .swiper-pagination span.swiper-pagination-bullet-active { + background-color: #70c2fe; + opacity: 1; +} +.guide .smallTip { + text-align: center; + line-height: 1.4; + padding-top: 0.3rem; +} +.guide .smallTip a { + color: #1daafc; + font-size: 0.24rem; +} +.pupPic { + position: fixed; + z-index: 11; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: none; +} +.pupPic img { + width: 100%; + height: 100%; +} + +.pc-box { + display: none; +} + +/*# sourceMappingURL=style.css.map */ \ No newline at end of file diff --git a/public/static/down/css/swiper.min.css b/public/static/down/css/swiper.min.css new file mode 100644 index 0000000..b477f31 --- /dev/null +++ b/public/static/down/css/swiper.min.css @@ -0,0 +1,12 @@ +/** + * Swiper 4.4.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * http://www.idangero.us/swiper/ + * + * Copyright 2014-2018 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: September 14, 2018 + */ +.swiper-container{margin:0 auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-container-no-flexbox .swiper-slide{float:left}.swiper-container-vertical>.swiper-wrapper{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-box-sizing:content-box;box-sizing:content-box}.swiper-container-android .swiper-slide,.swiper-wrapper{-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.swiper-container-multirow>.swiper-wrapper{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.swiper-container-free-mode>.swiper-wrapper{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out;margin:0 auto}.swiper-slide{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:100%;height:100%;position:relative;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-container-autoheight,.swiper-container-autoheight .swiper-slide{height:auto}.swiper-container-autoheight .swiper-wrapper{-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start;-webkit-transition-property:height,-webkit-transform;transition-property:height,-webkit-transform;-o-transition-property:transform,height;transition-property:transform,height;transition-property:transform,height,-webkit-transform}.swiper-container-3d{-webkit-perspective:1200px;perspective:1200px}.swiper-container-3d .swiper-cube-shadow,.swiper-container-3d .swiper-slide,.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top,.swiper-container-3d .swiper-wrapper{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.swiper-container-3d .swiper-slide-shadow-bottom,.swiper-container-3d .swiper-slide-shadow-left,.swiper-container-3d .swiper-slide-shadow-right,.swiper-container-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-container-3d .swiper-slide-shadow-left{background-image:-webkit-gradient(linear,right top,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(right,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-right{background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(left,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-top{background-image:-webkit-gradient(linear,left bottom,left top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(bottom,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-3d .swiper-slide-shadow-bottom{background-image:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.5)),to(rgba(0,0,0,0)));background-image:-webkit-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:-o-linear-gradient(top,rgba(0,0,0,.5),rgba(0,0,0,0));background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-container-wp8-horizontal,.swiper-container-wp8-horizontal>.swiper-wrapper{-ms-touch-action:pan-y;touch-action:pan-y}.swiper-container-wp8-vertical,.swiper-container-wp8-vertical>.swiper-wrapper{-ms-touch-action:pan-x;touch-action:pan-x}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:27px;height:44px;margin-top:-22px;z-index:10;cursor:pointer;background-size:27px 44px;background-position:center;background-repeat:no-repeat}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev,.swiper-container-rtl .swiper-button-next{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");left:10px;right:auto}.swiper-button-next,.swiper-container-rtl .swiper-button-prev{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23007aff'%2F%3E%3C%2Fsvg%3E");right:10px;left:auto}.swiper-button-prev.swiper-button-white,.swiper-container-rtl .swiper-button-next.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-white,.swiper-container-rtl .swiper-button-prev.swiper-button-white{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E")}.swiper-button-prev.swiper-button-black,.swiper-container-rtl .swiper-button-next.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-next.swiper-button-black,.swiper-container-rtl .swiper-button-prev.swiper-button-black{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23000000'%2F%3E%3C%2Fsvg%3E")}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;-webkit-transition:.3s opacity;-o-transition:.3s opacity;transition:.3s opacity;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-container-horizontal>.swiper-pagination-bullets,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{-webkit-transform:scale(.66);-ms-transform:scale(.66);transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{-webkit-transform:scale(.33);-ms-transform:scale(.33);transform:scale(.33)}.swiper-pagination-bullet{width:8px;height:8px;display:inline-block;border-radius:100%;background:#000;opacity:.2}button.swiper-pagination-bullet{border:none;margin:0;padding:0;-webkit-box-shadow:none;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet-active{opacity:1;background:#007aff}.swiper-container-vertical>.swiper-pagination-bullets{right:10px;top:50%;-webkit-transform:translate3d(0,-50%,0);transform:translate3d(0,-50%,0)}.swiper-container-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:6px 0;display:block}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:8px}.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;-webkit-transition:.2s top,.2s -webkit-transform;transition:.2s top,.2s -webkit-transform;-o-transition:.2s transform,.2s top;transition:.2s transform,.2s top;transition:.2s transform,.2s top,.2s -webkit-transform}.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 4px}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);white-space:nowrap}.swiper-container-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s left,.2s -webkit-transform;transition:.2s left,.2s -webkit-transform;-o-transition:.2s transform,.2s left;transition:.2s transform,.2s left;transition:.2s transform,.2s left,.2s -webkit-transform}.swiper-container-horizontal.swiper-container-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{-webkit-transition:.2s right,.2s -webkit-transform;transition:.2s right,.2s -webkit-transform;-o-transition:.2s transform,.2s right;transition:.2s transform,.2s right;transition:.2s transform,.2s right,.2s -webkit-transform}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:#007aff;position:absolute;left:0;top:0;width:100%;height:100%;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0);-webkit-transform-origin:left top;-ms-transform-origin:left top;transform-origin:left top}.swiper-container-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{-webkit-transform-origin:right top;-ms-transform-origin:right top;transform-origin:right top}.swiper-container-horizontal>.swiper-pagination-progressbar,.swiper-container-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-container-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-container-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-white .swiper-pagination-bullet-active{background:#fff}.swiper-pagination-progressbar.swiper-pagination-white{background:rgba(255,255,255,.25)}.swiper-pagination-progressbar.swiper-pagination-white .swiper-pagination-progressbar-fill{background:#fff}.swiper-pagination-black .swiper-pagination-bullet-active{background:#000}.swiper-pagination-progressbar.swiper-pagination-black{background:rgba(0,0,0,.25)}.swiper-pagination-progressbar.swiper-pagination-black .swiper-pagination-progressbar-fill{background:#000}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-container-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-container-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;-o-object-fit:contain;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;-webkit-transform-origin:50%;-ms-transform-origin:50%;transform-origin:50%;-webkit-animation:swiper-preloader-spin 1s steps(12,end) infinite;animation:swiper-preloader-spin 1s steps(12,end) infinite}.swiper-lazy-preloader:after{display:block;content:'';width:100%;height:100%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%236c6c6c'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");background-position:50%;background-size:100%;background-repeat:no-repeat}.swiper-lazy-preloader-white:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg%20viewBox%3D'0%200%20120%20120'%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20xmlns%3Axlink%3D'http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink'%3E%3Cdefs%3E%3Cline%20id%3D'l'%20x1%3D'60'%20x2%3D'60'%20y1%3D'7'%20y2%3D'27'%20stroke%3D'%23fff'%20stroke-width%3D'11'%20stroke-linecap%3D'round'%2F%3E%3C%2Fdefs%3E%3Cg%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(30%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(60%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(90%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(120%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.27'%20transform%3D'rotate(150%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.37'%20transform%3D'rotate(180%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.46'%20transform%3D'rotate(210%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.56'%20transform%3D'rotate(240%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.66'%20transform%3D'rotate(270%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.75'%20transform%3D'rotate(300%2060%2C60)'%2F%3E%3Cuse%20xlink%3Ahref%3D'%23l'%20opacity%3D'.85'%20transform%3D'rotate(330%2060%2C60)'%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}@-webkit-keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes swiper-preloader-spin{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.swiper-container .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-container-fade.swiper-container-free-mode .swiper-slide{-webkit-transition-timing-function:ease-out;-o-transition-timing-function:ease-out;transition-timing-function:ease-out}.swiper-container-fade .swiper-slide{pointer-events:none;-webkit-transition-property:opacity;-o-transition-property:opacity;transition-property:opacity}.swiper-container-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-fade .swiper-slide-active,.swiper-container-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube{overflow:visible}.swiper-container-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;-webkit-transform-origin:0 0;-ms-transform-origin:0 0;transform-origin:0 0;width:100%;height:100%}.swiper-container-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-cube.swiper-container-rtl .swiper-slide{-webkit-transform-origin:100% 0;-ms-transform-origin:100% 0;transform-origin:100% 0}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-cube .swiper-slide-active,.swiper-container-cube .swiper-slide-next,.swiper-container-cube .swiper-slide-next+.swiper-slide,.swiper-container-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-container-cube .swiper-slide-shadow-bottom,.swiper-container-cube .swiper-slide-shadow-left,.swiper-container-cube .swiper-slide-shadow-right,.swiper-container-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;background:#000;opacity:.6;-webkit-filter:blur(50px);filter:blur(50px);z-index:0}.swiper-container-flip{overflow:visible}.swiper-container-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-container-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-container-flip .swiper-slide-active,.swiper-container-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-container-flip .swiper-slide-shadow-bottom,.swiper-container-flip .swiper-slide-shadow-left,.swiper-container-flip .swiper-slide-shadow-right,.swiper-container-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-container-coverflow .swiper-wrapper{-ms-perspective:1200px} \ No newline at end of file diff --git a/public/static/down/img/0665a_1_600_411.jpg b/public/static/down/img/0665a_1_600_411.jpg new file mode 100644 index 0000000..314e12e Binary files /dev/null and b/public/static/down/img/0665a_1_600_411.jpg differ diff --git a/public/static/down/img/0df0c_0_600_411.jpg b/public/static/down/img/0df0c_0_600_411.jpg new file mode 100644 index 0000000..c5b45d7 Binary files /dev/null and b/public/static/down/img/0df0c_0_600_411.jpg differ diff --git a/public/static/down/img/5cbc4_5_1242_2007.png b/public/static/down/img/5cbc4_5_1242_2007.png new file mode 100644 index 0000000..584213b Binary files /dev/null and b/public/static/down/img/5cbc4_5_1242_2007.png differ diff --git a/public/static/down/img/9179e_3_600_411.jpg b/public/static/down/img/9179e_3_600_411.jpg new file mode 100644 index 0000000..0c3dac1 Binary files /dev/null and b/public/static/down/img/9179e_3_600_411.jpg differ diff --git a/public/static/down/img/d3c74_2_600_411.jpg b/public/static/down/img/d3c74_2_600_411.jpg new file mode 100644 index 0000000..c7506ae Binary files /dev/null and b/public/static/down/img/d3c74_2_600_411.jpg differ diff --git a/public/static/down/img/favicon.ico b/public/static/down/img/favicon.ico new file mode 100644 index 0000000..ca35c1e Binary files /dev/null and b/public/static/down/img/favicon.ico differ diff --git a/public/static/down/js/auto-size.js b/public/static/down/js/auto-size.js new file mode 100644 index 0000000..922da0e --- /dev/null +++ b/public/static/down/js/auto-size.js @@ -0,0 +1,18 @@ +//------------------------------------- +var designWidth=document.getElementsByTagName("head")[0].getAttribute("design-width"); +font_size(designWidth); +function font_size(devwidth){ +function _size(){ + var deviceWidth = document.documentElement.clientWidth; + if(deviceWidth>=devwidth) deviceWidth=devwidth; + document.documentElement.style.fontSize = deviceWidth/(devwidth/100) + 'px'; +} +_size(); +window.onresize=function(){ + _size(); +}; +} +var media = document.createElement('style'); + media.innerHTML = "@media screen and (min-width:" + designWidth + "px){.center{width:"+designWidth+"px;margin-left:-"+designWidth/2+"px;left:50%;}}"; + document.getElementsByTagName('head')[0].appendChild(media); +//------------------------------------- \ No newline at end of file diff --git a/public/static/down/js/jquery-2.2.4.min.js b/public/static/down/js/jquery-2.2.4.min.js new file mode 100644 index 0000000..5c82cc0 --- /dev/null +++ b/public/static/down/js/jquery-2.2.4.min.js @@ -0,0 +1,4 @@ +/*! jQuery v2.2.4 | (c) jQuery Foundation | jquery.org/license */ +!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=a.document,e=c.slice,f=c.concat,g=c.push,h=c.indexOf,i={},j=i.toString,k=i.hasOwnProperty,l={},m="2.2.4",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return e.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:e.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a){return n.each(this,a)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(e.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:g,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){var b=a&&a.toString();return!n.isArray(a)&&b-parseFloat(b)+1>=0},isPlainObject:function(a){var b;if("object"!==n.type(a)||a.nodeType||n.isWindow(a))return!1;if(a.constructor&&!k.call(a,"constructor")&&!k.call(a.constructor.prototype||{},"isPrototypeOf"))return!1;for(b in a);return void 0===b||k.call(a,b)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?i[j.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=d.createElement("script"),b.text=a,d.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b){var c,d=0;if(s(a)){for(c=a.length;c>d;d++)if(b.call(a[d],d,a[d])===!1)break}else for(d in a)if(b.call(a[d],d,a[d])===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):g.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:h.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,e,g=0,h=[];if(s(a))for(d=a.length;d>g;g++)e=b(a[g],g,c),null!=e&&h.push(e);else for(g in a)e=b(a[g],g,c),null!=e&&h.push(e);return f.apply([],h)},guid:1,proxy:function(a,b){var c,d,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(d=e.call(arguments,2),f=function(){return a.apply(b||this,d.concat(e.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:l}),"function"==typeof Symbol&&(n.fn[Symbol.iterator]=c[Symbol.iterator]),n.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){i["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=!!a&&"length"in a&&a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=ga(),z=ga(),A=ga(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+L+"*\\]",O=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",P=new RegExp(L+"+","g"),Q=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),R=new RegExp("^"+L+"*,"+L+"*"),S=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),T=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),U=new RegExp(O),V=new RegExp("^"+M+"$"),W={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+O),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Z=/^[^{]+\{\s*\[native \w/,$=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_=/[+~]/,aa=/'|\\/g,ba=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),ca=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},da=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(ea){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function fa(a,b,d,e){var f,h,j,k,l,o,r,s,w=b&&b.ownerDocument,x=b?b.nodeType:9;if(d=d||[],"string"!=typeof a||!a||1!==x&&9!==x&&11!==x)return d;if(!e&&((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,p)){if(11!==x&&(o=$.exec(a)))if(f=o[1]){if(9===x){if(!(j=b.getElementById(f)))return d;if(j.id===f)return d.push(j),d}else if(w&&(j=w.getElementById(f))&&t(b,j)&&j.id===f)return d.push(j),d}else{if(o[2])return H.apply(d,b.getElementsByTagName(a)),d;if((f=o[3])&&c.getElementsByClassName&&b.getElementsByClassName)return H.apply(d,b.getElementsByClassName(f)),d}if(c.qsa&&!A[a+" "]&&(!q||!q.test(a))){if(1!==x)w=b,s=a;else if("object"!==b.nodeName.toLowerCase()){(k=b.getAttribute("id"))?k=k.replace(aa,"\\$&"):b.setAttribute("id",k=u),r=g(a),h=r.length,l=V.test(k)?"#"+k:"[id='"+k+"']";while(h--)r[h]=l+" "+qa(r[h]);s=r.join(","),w=_.test(a)&&oa(b.parentNode)||b}if(s)try{return H.apply(d,w.querySelectorAll(s)),d}catch(y){}finally{k===u&&b.removeAttribute("id")}}}return i(a.replace(Q,"$1"),b,d,e)}function ga(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ha(a){return a[u]=!0,a}function ia(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function ja(a,b){var c=a.split("|"),e=c.length;while(e--)d.attrHandle[c[e]]=b}function ka(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function la(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function ma(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function na(a){return ha(function(b){return b=+b,ha(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function oa(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=fa.support={},f=fa.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=fa.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=n.documentElement,p=!f(n),(e=n.defaultView)&&e.top!==e&&(e.addEventListener?e.addEventListener("unload",da,!1):e.attachEvent&&e.attachEvent("onunload",da)),c.attributes=ia(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=ia(function(a){return a.appendChild(n.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=Z.test(n.getElementsByClassName),c.getById=ia(function(a){return o.appendChild(a).id=u,!n.getElementsByName||!n.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c?[c]:[]}},d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(ba,ca);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return"undefined"!=typeof b.getElementsByClassName&&p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=Z.test(n.querySelectorAll))&&(ia(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),ia(function(a){var b=n.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=Z.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&ia(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",O)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=Z.test(o.compareDocumentPosition),t=b||Z.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===n||a.ownerDocument===v&&t(v,a)?-1:b===n||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,g=[a],h=[b];if(!e||!f)return a===n?-1:b===n?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return ka(a,b);c=a;while(c=c.parentNode)g.unshift(c);c=b;while(c=c.parentNode)h.unshift(c);while(g[d]===h[d])d++;return d?ka(g[d],h[d]):g[d]===v?-1:h[d]===v?1:0},n):n},fa.matches=function(a,b){return fa(a,null,null,b)},fa.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(T,"='$1']"),c.matchesSelector&&p&&!A[b+" "]&&(!r||!r.test(b))&&(!q||!q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return fa(b,n,null,[a]).length>0},fa.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},fa.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},fa.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},fa.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=fa.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=fa.selectors={cacheLength:50,createPseudo:ha,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(ba,ca),a[3]=(a[3]||a[4]||a[5]||"").replace(ba,ca),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||fa.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&fa.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return W.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&U.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(ba,ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=fa.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(P," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h,t=!1;if(q){if(f){while(p){m=b;while(m=m[p])if(h?m.nodeName.toLowerCase()===r:1===m.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){m=q,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n&&j[2],m=n&&q.childNodes[n];while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if(1===m.nodeType&&++t&&m===b){k[a]=[w,n,t];break}}else if(s&&(m=b,l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),j=k[a]||[],n=j[0]===w&&j[1],t=n),t===!1)while(m=++n&&m&&m[p]||(t=n=0)||o.pop())if((h?m.nodeName.toLowerCase()===r:1===m.nodeType)&&++t&&(s&&(l=m[u]||(m[u]={}),k=l[m.uniqueID]||(l[m.uniqueID]={}),k[a]=[w,t]),m===b))break;return t-=e,t===d||t%d===0&&t/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||fa.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ha(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ha(function(a){var b=[],c=[],d=h(a.replace(Q,"$1"));return d[u]?ha(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ha(function(a){return function(b){return fa(a,b).length>0}}),contains:ha(function(a){return a=a.replace(ba,ca),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ha(function(a){return V.test(a||"")||fa.error("unsupported lang: "+a),a=a.replace(ba,ca).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Y.test(a.nodeName)},input:function(a){return X.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:na(function(){return[0]}),last:na(function(a,b){return[b-1]}),eq:na(function(a,b,c){return[0>c?c+b:c]}),even:na(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:na(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:na(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:na(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function ra(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j,k=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(j=b[u]||(b[u]={}),i=j[b.uniqueID]||(j[b.uniqueID]={}),(h=i[d])&&h[0]===w&&h[1]===f)return k[2]=h[2];if(i[d]=k,k[2]=a(b,c,g))return!0}}}function sa(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ta(a,b,c){for(var d=0,e=b.length;e>d;d++)fa(a,b[d],c);return c}function ua(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(c&&!c(f,d,e)||(g.push(f),j&&b.push(h)));return g}function va(a,b,c,d,e,f){return d&&!d[u]&&(d=va(d)),e&&!e[u]&&(e=va(e,f)),ha(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ta(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:ua(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=ua(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=ua(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function wa(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=ra(function(a){return a===b},h,!0),l=ra(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[ra(sa(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return va(i>1&&sa(m),i>1&&qa(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(Q,"$1"),c,e>i&&wa(a.slice(i,e)),f>e&&wa(a=a.slice(e)),f>e&&qa(a))}m.push(c)}return sa(m)}function xa(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,o,q,r=0,s="0",t=f&&[],u=[],v=j,x=f||e&&d.find.TAG("*",k),y=w+=null==v?1:Math.random()||.1,z=x.length;for(k&&(j=g===n||g||k);s!==z&&null!=(l=x[s]);s++){if(e&&l){o=0,g||l.ownerDocument===n||(m(l),h=!p);while(q=a[o++])if(q(l,g||n,h)){i.push(l);break}k&&(w=y)}c&&((l=!q&&l)&&r--,f&&t.push(l))}if(r+=s,c&&s!==r){o=0;while(q=b[o++])q(t,u,g,h);if(f){if(r>0)while(s--)t[s]||u[s]||(u[s]=F.call(i));u=ua(u)}H.apply(i,u),k&&!f&&u.length>0&&r+b.length>1&&fa.uniqueSort(i)}return k&&(w=y,j=v),t};return c?ha(f):f}return h=fa.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=wa(b[c]),f[u]?d.push(f):e.push(f);f=A(a,xa(e,d)),f.selector=a}return f},i=fa.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(ba,ca),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=W.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(ba,ca),_.test(j[0].type)&&oa(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&qa(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,!b||_.test(a)&&oa(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=ia(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),ia(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||ja("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&ia(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||ja("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),ia(function(a){return null==a.getAttribute("disabled")})||ja(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),fa}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.uniqueSort=n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},v=function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c},w=n.expr.match.needsContext,x=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,y=/^.[^:#\[\.,]*$/;function z(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(y.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return h.call(b,a)>-1!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(z(this,a||[],!1))},not:function(a){return this.pushStack(z(this,a||[],!0))},is:function(a){return!!z(this,"string"==typeof a&&w.test(a)?n(a):a||[],!1).length}});var A,B=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=n.fn.init=function(a,b,c){var e,f;if(!a)return this;if(c=c||A,"string"==typeof a){if(e="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:B.exec(a),!e||!e[1]&&b)return!b||b.jquery?(b||c).find(a):this.constructor(b).find(a);if(e[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(e[1],b&&b.nodeType?b.ownerDocument||b:d,!0)),x.test(e[1])&&n.isPlainObject(b))for(e in b)n.isFunction(this[e])?this[e](b[e]):this.attr(e,b[e]);return this}return f=d.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=d,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?void 0!==c.ready?c.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};C.prototype=n.fn,A=n(d);var D=/^(?:parents|prev(?:Until|All))/,E={children:!0,contents:!0,next:!0,prev:!0};n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=w.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.uniqueSort(f):f)},index:function(a){return a?"string"==typeof a?h.call(n(a),this[0]):h.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.uniqueSort(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function F(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return u(a,"parentNode")},parentsUntil:function(a,b,c){return u(a,"parentNode",c)},next:function(a){return F(a,"nextSibling")},prev:function(a){return F(a,"previousSibling")},nextAll:function(a){return u(a,"nextSibling")},prevAll:function(a){return u(a,"previousSibling")},nextUntil:function(a,b,c){return u(a,"nextSibling",c)},prevUntil:function(a,b,c){return u(a,"previousSibling",c)},siblings:function(a){return v((a.parentNode||{}).firstChild,a)},children:function(a){return v(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(E[a]||n.uniqueSort(e),D.test(a)&&e.reverse()),this.pushStack(e)}});var G=/\S+/g;function H(a){var b={};return n.each(a.match(G)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?H(a):n.extend({},a);var b,c,d,e,f=[],g=[],h=-1,i=function(){for(e=a.once,d=b=!0;g.length;h=-1){c=g.shift();while(++h-1)f.splice(c,1),h>=c&&h--}),this},has:function(a){return a?n.inArray(a,f)>-1:f.length>0},empty:function(){return f&&(f=[]),this},disable:function(){return e=g=[],f=c="",this},disabled:function(){return!f},lock:function(){return e=g=[],c||(f=c=""),this},locked:function(){return!!e},fireWith:function(a,c){return e||(c=c||[],c=[a,c.slice?c.slice():c],g.push(c),b||i()),this},fire:function(){return j.fireWith(this,arguments),this},fired:function(){return!!d}};return j},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().progress(c.notify).done(c.resolve).fail(c.reject):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=e.call(arguments),d=c.length,f=1!==d||a&&n.isFunction(a.promise)?d:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?e.call(arguments):d,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(d>1)for(i=new Array(d),j=new Array(d),k=new Array(d);d>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().progress(h(b,j,i)).done(h(b,k,c)).fail(g.reject):--f;return f||g.resolveWith(k,c),g.promise()}});var I;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(I.resolveWith(d,[n]),n.fn.triggerHandler&&(n(d).triggerHandler("ready"),n(d).off("ready"))))}});function J(){d.removeEventListener("DOMContentLoaded",J),a.removeEventListener("load",J),n.ready()}n.ready.promise=function(b){return I||(I=n.Deferred(),"complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll?a.setTimeout(n.ready):(d.addEventListener("DOMContentLoaded",J),a.addEventListener("load",J))),I.promise(b)},n.ready.promise();var K=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)K(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f},L=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function M(){this.expando=n.expando+M.uid++}M.uid=1,M.prototype={register:function(a,b){var c=b||{};return a.nodeType?a[this.expando]=c:Object.defineProperty(a,this.expando,{value:c,writable:!0,configurable:!0}),a[this.expando]},cache:function(a){if(!L(a))return{};var b=a[this.expando];return b||(b={},L(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,{value:b,configurable:!0}))),b},set:function(a,b,c){var d,e=this.cache(a);if("string"==typeof b)e[b]=c;else for(d in b)e[d]=b[d];return e},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=a[this.expando];if(void 0!==f){if(void 0===b)this.register(a);else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in f?d=[b,e]:(d=e,d=d in f?[d]:d.match(G)||[])),c=d.length;while(c--)delete f[d[c]]}(void 0===b||n.isEmptyObject(f))&&(a.nodeType?a[this.expando]=void 0:delete a[this.expando])}},hasData:function(a){var b=a[this.expando];return void 0!==b&&!n.isEmptyObject(b)}};var N=new M,O=new M,P=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Q=/[A-Z]/g;function R(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(Q,"-$&").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:P.test(c)?n.parseJSON(c):c; +}catch(e){}O.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return O.hasData(a)||N.hasData(a)},data:function(a,b,c){return O.access(a,b,c)},removeData:function(a,b){O.remove(a,b)},_data:function(a,b,c){return N.access(a,b,c)},_removeData:function(a,b){N.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=O.get(f),1===f.nodeType&&!N.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),R(f,d,e[d])));N.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){O.set(this,a)}):K(this,function(b){var c,d;if(f&&void 0===b){if(c=O.get(f,a)||O.get(f,a.replace(Q,"-$&").toLowerCase()),void 0!==c)return c;if(d=n.camelCase(a),c=O.get(f,d),void 0!==c)return c;if(c=R(f,d,void 0),void 0!==c)return c}else d=n.camelCase(a),this.each(function(){var c=O.get(this,d);O.set(this,d,b),a.indexOf("-")>-1&&void 0!==c&&O.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){O.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=N.get(a,b),c&&(!d||n.isArray(c)?d=N.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return N.get(a,c)||N.access(a,c,{empty:n.Callbacks("once memory").add(function(){N.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.length",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};$.optgroup=$.option,$.tbody=$.tfoot=$.colgroup=$.caption=$.thead,$.th=$.td;function _(a,b){var c="undefined"!=typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!=typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function aa(a,b){for(var c=0,d=a.length;d>c;c++)N.set(a[c],"globalEval",!b||N.get(b[c],"globalEval"))}var ba=/<|&#?\w+;/;function ca(a,b,c,d,e){for(var f,g,h,i,j,k,l=b.createDocumentFragment(),m=[],o=0,p=a.length;p>o;o++)if(f=a[o],f||0===f)if("object"===n.type(f))n.merge(m,f.nodeType?[f]:f);else if(ba.test(f)){g=g||l.appendChild(b.createElement("div")),h=(Y.exec(f)||["",""])[1].toLowerCase(),i=$[h]||$._default,g.innerHTML=i[1]+n.htmlPrefilter(f)+i[2],k=i[0];while(k--)g=g.lastChild;n.merge(m,g.childNodes),g=l.firstChild,g.textContent=""}else m.push(b.createTextNode(f));l.textContent="",o=0;while(f=m[o++])if(d&&n.inArray(f,d)>-1)e&&e.push(f);else if(j=n.contains(f.ownerDocument,f),g=_(l.appendChild(f),"script"),j&&aa(g),c){k=0;while(f=g[k++])Z.test(f.type||"")&&c.push(f)}return l}!function(){var a=d.createDocumentFragment(),b=a.appendChild(d.createElement("div")),c=d.createElement("input");c.setAttribute("type","radio"),c.setAttribute("checked","checked"),c.setAttribute("name","t"),b.appendChild(c),l.checkClone=b.cloneNode(!0).cloneNode(!0).lastChild.checked,b.innerHTML="",l.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var da=/^key/,ea=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,fa=/^([^.]*)(?:\.(.+)|)/;function ga(){return!0}function ha(){return!1}function ia(){try{return d.activeElement}catch(a){}}function ja(a,b,c,d,e,f){var g,h;if("object"==typeof b){"string"!=typeof c&&(d=d||c,c=void 0);for(h in b)ja(a,h,c,d,b[h],f);return a}if(null==d&&null==e?(e=c,d=c=void 0):null==e&&("string"==typeof c?(e=d,d=void 0):(e=d,d=c,c=void 0)),e===!1)e=ha;else if(!e)return a;return 1===f&&(g=e,e=function(a){return n().off(a),g.apply(this,arguments)},e.guid=g.guid||(g.guid=n.guid++)),a.each(function(){n.event.add(this,b,e,d,c)})}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return"undefined"!=typeof n&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(G)||[""],j=b.length;while(j--)h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=N.hasData(a)&&N.get(a);if(r&&(i=r.events)){b=(b||"").match(G)||[""],j=b.length;while(j--)if(h=fa.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&N.remove(a,"handle events")}},dispatch:function(a){a=n.event.fix(a);var b,c,d,f,g,h=[],i=e.call(arguments),j=(N.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())a.rnamespace&&!a.rnamespace.test(g.namespace)||(a.handleObj=g,a.data=g.data,d=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==d&&(a.result=d)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&("click"!==a.type||isNaN(a.button)||a.button<1))for(;i!==this;i=i.parentNode||this)if(1===i.nodeType&&(i.disabled!==!0||"click"!==a.type)){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>-1:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,la=/\s*$/g;function pa(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function qa(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function ra(a){var b=na.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function sa(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(N.hasData(a)&&(f=N.access(a),g=N.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}O.hasData(a)&&(h=O.access(a),i=n.extend({},h),O.set(b,i))}}function ta(a,b){var c=b.nodeName.toLowerCase();"input"===c&&X.test(a.type)?b.checked=a.checked:"input"!==c&&"textarea"!==c||(b.defaultValue=a.defaultValue)}function ua(a,b,c,d){b=f.apply([],b);var e,g,h,i,j,k,m=0,o=a.length,p=o-1,q=b[0],r=n.isFunction(q);if(r||o>1&&"string"==typeof q&&!l.checkClone&&ma.test(q))return a.each(function(e){var f=a.eq(e);r&&(b[0]=q.call(this,e,f.html())),ua(f,b,c,d)});if(o&&(e=ca(b,a[0].ownerDocument,!1,a,d),g=e.firstChild,1===e.childNodes.length&&(e=g),g||d)){for(h=n.map(_(e,"script"),qa),i=h.length;o>m;m++)j=e,m!==p&&(j=n.clone(j,!0,!0),i&&n.merge(h,_(j,"script"))),c.call(a[m],j,m);if(i)for(k=h[h.length-1].ownerDocument,n.map(h,ra),m=0;i>m;m++)j=h[m],Z.test(j.type||"")&&!N.access(j,"globalEval")&&n.contains(k,j)&&(j.src?n._evalUrl&&n._evalUrl(j.src):n.globalEval(j.textContent.replace(oa,"")))}return a}function va(a,b,c){for(var d,e=b?n.filter(b,a):a,f=0;null!=(d=e[f]);f++)c||1!==d.nodeType||n.cleanData(_(d)),d.parentNode&&(c&&n.contains(d.ownerDocument,d)&&aa(_(d,"script")),d.parentNode.removeChild(d));return a}n.extend({htmlPrefilter:function(a){return a.replace(ka,"<$1>")},clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(l.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=_(h),f=_(a),d=0,e=f.length;e>d;d++)ta(f[d],g[d]);if(b)if(c)for(f=f||_(a),g=g||_(h),d=0,e=f.length;e>d;d++)sa(f[d],g[d]);else sa(a,h);return g=_(h,"script"),g.length>0&&aa(g,!i&&_(a,"script")),h},cleanData:function(a){for(var b,c,d,e=n.event.special,f=0;void 0!==(c=a[f]);f++)if(L(c)){if(b=c[N.expando]){if(b.events)for(d in b.events)e[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);c[N.expando]=void 0}c[O.expando]&&(c[O.expando]=void 0)}}}),n.fn.extend({domManip:ua,detach:function(a){return va(this,a,!0)},remove:function(a){return va(this,a)},text:function(a){return K(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=a)})},null,a,arguments.length)},append:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.appendChild(a)}})},prepend:function(){return ua(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=pa(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ua(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(_(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return K(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!la.test(a)&&!$[(Y.exec(a)||["",""])[1].toLowerCase()]){a=n.htmlPrefilter(a);try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(_(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ua(this,arguments,function(b){var c=this.parentNode;n.inArray(this,a)<0&&(n.cleanData(_(this)),c&&c.replaceChild(b,this))},a)}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),f=e.length-1,h=0;f>=h;h++)c=h===f?this:this.clone(!0),n(e[h])[b](c),g.apply(d,c.get());return this.pushStack(d)}});var wa,xa={HTML:"block",BODY:"block"};function ya(a,b){var c=n(b.createElement(a)).appendTo(b.body),d=n.css(c[0],"display");return c.detach(),d}function za(a){var b=d,c=xa[a];return c||(c=ya(a,b),"none"!==c&&c||(wa=(wa||n("");return; + }, + getFileInfo(url,callback){ + let self=this; + var xhr = new XMLHttpRequest(); + xhr.open('GET', url); + xhr.responseType = "arraybuffer"; + xhr.onload = function (e) { + var data = xhr.response; + if(!data){loading.close();loading = false;return;}; + var file = {name: self.config.name, ext: self.config.ext, content: data}; + callback(file); + }; + xhr.send(); + xhr.onreadystatechange = function(){ // 请求状态 + if(xhr.readyState==4){ + if (xhr.status < 200 || (xhr.status > 300 && xhr.status != 304)) { + console.log('error'); + } + } + }; + }, + parseUrl:(field,urlstr)=>{ + if(typeof (urlstr)==='undefined'){ + urlstr=window.location.href; + } + var param=urlstr.substring(urlstr.indexOf("?")+1); + var paramArr=param.split("&"); + var urlArr={}; + for(var i=0;i下载', // 需要显示信息栏 + }); + }, + setLuckySheet : (data, callback)=>{ + try{ + callback(data); + }catch(err){ + console.error(err); + } + }, + docView(url,ext){ + let container = this.config.container; + try{ + this.getFileInfo(url,function(file){ + docx.renderAsync(file.content, document.getElementById(container)).then(x => console.log("docx: finished")); + }); + // 如果预览失败,则转为线上预览 + window.onerror = function (message, urls, line, column, error) { + self.olView(url); + } + }catch(err){ + this.error('文件已经损坏!'); + } + }, + pptView(url){ + let container = this.config.container; + let self = this; + try{ + $('#'+container).addClass(this.isWap() ? 'is-in-wap' : 'not-in-wap'); + $('#'+container).addClass("pptview"); + $("#"+container).pptxToHtml({ + pptxFileUrl: url, + fileInputId: "", + slideMode: false, + keyBoardShortCut: false, + mediaProcess: false, + slideModeConfig: { //on slide mode (slideMode: true) + first: 1, + nav: true, /** true,false : show or not nav buttons*/ + // nav: true, /** true,false : show or not nav buttons*/ + navTxtColor: "white", /** color */ + navNextTxt:"›", //">" + navPrevTxt: "‹", //"<" + showPlayPauseBtn: true,/** true,false */ + keyBoardShortCut: false, /** true,false */ + showSlideNum: true, /** true,false */ + showTotalSlideNum: true, /** true,false */ + autoSlide: 2, /** false or seconds (the pause time between slides) , F8 to active(keyBoardShortCut: true) */ + // randomAutoSlide: false, /** true,false ,autoSlide:true */ + // loop: false, /** true,false */ + background: false, /** false or color*/ + transition: "fade", /** transition type: "slid","fade","default","random" , to show transition efects :transitionTime > 0.5 */ + transitionTime: 0 /** transition time in seconds */ + } + }); + // 如果预览失败,则转为线上预览 + window.onerror = function (message, urls, line, column, error) { + self.olView(url); + } + }catch(err){ + this.error('文件已经损坏!'); + } + + }, + xlsView(url,ext){ + let self=this; + try{ + $('#'+this.config.container).css({height:'100vh'}); + this.getFileInfo(url,function(file){ + // 1.xlsx,直接luckyexcel读取 + if(ext == 'xlsx') { + self.setLuckySheet(file.content, function(content){ + LuckyExcel.transformExcelToLucky(content, function(exportJson, luckysheetfile){ + self.setLuckySheet(exportJson, function(exportJson){ + self.loadLuckySheet(exportJson); + }); + }); + }); + + return; + } + var sheet = utils.getLuckySheet(); + // 2.csv以字符串方式读取,区分编码 + if(file.ext == 'csv'){ + var data = new Uint8Array(file.content); + var code = utils.isUTF8(data) ? 'utf-8' : 'gbk'; + var str = new TextDecoder(code).decode(data); + var wb = XLSX.read(str, { type: "string" }); + } + // 3.xls通过SheetJs获取数据 + if(_.isUndefined(wb)) { + var wb = XLSX.read(file.content, {type: 'buffer', cellStyles: true}); // XLSX/XLS + } + var sheets = []; + + for(var i in wb.SheetNames) { + var name = wb.SheetNames[i]; + var _sheet = JSON.parse(JSON.stringify(sheet)); + _sheet.name = name; + _sheet.index = _sheet.order = parseInt(i); + _sheet.data = utils.xlsToLuckySheet(wb.Sheets[name], _sheet); + sheets.push(_sheet); + } + self.setLuckySheet({sheets: sheets}, function(exportJson){ + self.loadLuckySheet(exportJson); + if(loading){loading.close();loading = false;} + }); + }) + // 如果预览失败,则转为线上预览 + window.onerror = function (message, urls, line, column, error) { + self.olView(url); + } + }catch(err){ + this.error('文件已经损坏!'); + } + + }, + pdfView(url){ + $("body").html(""); + }, + imgView(url){ + $('#'+this.config.container).html('
'); + var image = $('#image'); + image.viewer({ + inline: true, + button: false, + viewed: function() { + viewer.zoomTo(1); + } + }); + }, + videoView(url){ + let container = this.config.container; + var nextControl = new Super.NextControl() // 实例化“下一个”按钮控件 + var Dbspeen = new Super.DbspeenControl() // 倍速控件 + // var BarrageControl = new Super.BarrageControl() // 弹幕控件 + var fullScreenControl = new Super.FullScreenControl() // 实例化“全屏”控件 + var video = new Super.Svideo(container, { + source: new Super.VideoSource({ // 引入视频资源 + src: url + }), + leftControls: [nextControl], // 控件栏左槽插入控件 + rightControls: [Dbspeen, fullScreenControl], // 控件栏右槽插入控件 + // centerControls: [BarrageControl] // 弹幕控件插入中间插槽 + }) + $('#'+container).addClass("videoContainer"); + video.addEventListener('change', function(event) { // 监听video各属性变化 + // console.log(event) + }) + nextControl.addEventListener('click', function(event) { // 监听“下一个”按钮控件点击事件 + alert('click next menu !!!') + }) + fullScreenControl.addEventListener('fullscreen', function(event) { // 监听进入全屏 + console.log('is fullscreen !!!') + }) + fullScreenControl.addEventListener('cancelfullscreen', function(event) { // 监听退出全屏 + console.log('cancel fullscreen !!!') + }) + video.addEventListener('fullscreen', function(event) { + console.log('is fullscreen !!!') + }) + }, + audioView(url){ + $('#'+this.config.container).html('
'); + new YAudio({ + element: document.querySelector('#yAudio'), + audio: { + "title": this.config.name, + "url": url + } + }) + }, + isWap(){ + return $(window.document).width() < 768; + }, + error(msg){ + $('#'+this.config.container).css({height:'100vh',display:'flex',justifyContent: 'center',alignItems:'center',fontSize:'66px'}).text(msg); + }, + isMobile() { + const mobileRegex = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i; + return mobileRegex.test(navigator.userAgent); + } +} +$(function(){ + var isWap = function(){ + return $(window.document).width() < 768; + } + + let container = jPreview.config.container; + let isTrue = false; + // 文件加载完成,重置页面尺寸样式 + utils.functionHook($,'attr',false,function(res,args){ + var id = args[0].id || ''; + if(id != 'all_slides_warpper' || isTrue == true) { + return res; + } // convertToHtml结束 + isTrue =true; + // 隐藏<#> + $("#all_slides_warpper .slide .block.v-mid.content .text-block").each(function(){ + if ($(this).text() == '‹#›') $(this).addClass('hidden'); + }); + $("#"+container+" .slide").wrap('
'); + $('#all_slides_warpper').height('auto'); + // 4.初始化主区域子节点尺寸 + utils.initPageSize(pageRatio(false)); + }); + // 页面尺寸随窗口变化 + $(window).resize(function(){ + var wap = isWap(); + // 这里可以改成阶段性变化,而不是实时变 + var ratio = pageRatio(wap); + utils.changePageSize(ratio, 'all_slides_warpper'); + }); + + var pageRatio = function(wap){ + // 左侧栏 + dfWidth = $("#all_slides_warpper .slide").first().width(); + dfHeight = $("#all_slides_warpper .slide").first().height(); + if( arguments[1] !== undefined) { + return 225 / dfWidth; + } + // 移动端,固定以宽为基准 + if(wap) { + return $("#"+jPreview.config.container).width() / dfWidth; + } + + var pgWidth = $("#all_slides_warpper").width(); + var pgHeight = $("#all_slides_warpper").height(); + + // 当前宽高比>原始宽高比,说明宽度较大,以高度为基准,否则相反 + if((pgWidth / pgHeight) > (dfWidth / dfHeight)) { + return pgHeight / dfHeight; + } + return pgWidth / dfWidth; + } + +}); + +function dynamicLoadJs(url, callback) { + var head = document.getElementsByTagName('head')[0] + var script = document.createElement('script') + script.type = 'text/javascript' + script.src = url + if (typeof (callback) === 'function') { + script.onload = script.onreadystatechange = function () { + if (!this.readyState || this.readyState === 'loaded' || this.readyState === 'complete') { + callback() + script.onload = script.onreadystatechange = null + } + } + } + head.appendChild(script) +} + +// 工具函数 +var utils = { + isUTF8: function (bytes) { + var i = 0; + while (i < bytes.length) { + if (( // ASCII + bytes[i] == 0x09 || + bytes[i] == 0x0A || + bytes[i] == 0x0D || + (0x20 <= bytes[i] && bytes[i] <= 0x7E) + )) { + i += 1; + continue; + } + + if ((// non-overlong 2-byte + (0xC2 <= bytes[i] && bytes[i] <= 0xDF) && + (0x80 <= bytes[i + 1] && bytes[i + 1] <= 0xBF) + )) { + i += 2; + continue; + } + + if (( // excluding overlongs + bytes[i] == 0xE0 && + (0xA0 <= bytes[i + 1] && bytes[i + 1] <= 0xBF) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) + ) || ( // straight 3-byte + ((0xE1 <= bytes[i] && bytes[i] <= 0xEC) || + bytes[i] == 0xEE || + bytes[i] == 0xEF) && + (0x80 <= bytes[i + 1] && bytes[i + 1] <= 0xBF) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) + ) || ( // excluding surrogates + bytes[i] == 0xED && + (0x80 <= bytes[i + 1] && bytes[i + 1] <= 0x9F) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) + )) { + i += 3; + continue; + } + + if (( // planes 1-3 + bytes[i] == 0xF0 && + (0x90 <= bytes[i + 1] && bytes[i + 1] <= 0xBF) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) && + (0x80 <= bytes[i + 3] && bytes[i + 3] <= 0xBF) + ) || ( // planes 4-15 + (0xF1 <= bytes[i] && bytes[i] <= 0xF3) && + (0x80 <= bytes[i + 1] && bytes[i + 1] <= 0xBF) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) && + (0x80 <= bytes[i + 3] && bytes[i + 3] <= 0xBF) + ) || ( // plane 16 + bytes[i] == 0xF4 && + (0x80 <= bytes[i + 1] && bytes[i + 1] <= 0x8F) && + (0x80 <= bytes[i + 2] && bytes[i + 2] <= 0xBF) && + (0x80 <= bytes[i + 3] && bytes[i + 3] <= 0xBF) + )) { + i += 4; + continue; + } + return false; + } + return true; + }, + + // 读取cell的数字或字母 + getCellNum: function(str){ + var n = ''; + var isNum = !arguments[1]; + for(var i in str) { + var val = parseInt(str[i]); + var _isNaN = isNum ? !isNaN(val) : isNaN(val); + if(_isNaN) n += str[i]; + } + return isNum ? parseInt(n) : n; + }, + // 表头字母转数字 + stringToNum: function(str){ + str=str.toLowerCase().split(""); + var al = str.length; + var getCharNumber = function(charx){ + return charx.charCodeAt() -96; + }; + var numout = 0; + var charnum = 0; + for(var i = 0; i < al; i++){ + charnum = getCharNumber(str[i]); + numout += charnum * Math.pow(26, al-i-1); + }; + return numout; + }, + // 数字转字母 + numToString: function(numm){ + var stringArray = []; + stringArray.length = 0; + var numToStringAction = function(nnum){ + var num = nnum - 1; + var a = parseInt(num / 26); + var b = num % 26; + stringArray.push(String.fromCharCode(64 + parseInt(b+1))); + if(a>0){ + numToStringAction(a); + } + } + numToStringAction(numm); + return stringArray.reverse().join(""); + }, + // sheetjs.data转luckysheet.data + xlsToLuckySheet: function(sheet, _sheet){ + var arr = (_.get(sheet, '!ref') || ':').split(':'); + var cols = this.getCellNum(arr[1], true); + cols = this.stringToNum(cols); + cols = cols > 26 ? cols : 26; // 列,字母,不足的填充 + var rows = this.getCellNum(arr[1]); + rows = rows > 84 ? rows : 84; // 行,数字 + + // 表格样式 + var _cols = _.get(sheet, '!cols') || {}; + var _rows = _.get(sheet, '!rows') || {}; + var _merges = _.get(sheet, '!merges') || {}; + + var obj = []; + var self = this; + for(var i=1; i<=rows; i++) { + var row = []; + for(var j=1; j<=cols; j++) { + var key = self.numToString(j) + i; + var cell = null; + if(sheet[key]) { + // https://mengshukeji.github.io/LuckysheetDocs/zh/guide/cell.html#基本单元格 + var value = sheet[key].v || ''; + var style = sheet[key].s || {}; + var bgColor = _.get(style, 'fgColor.rgb'); // 前景色 + // var ftColor = _.get(style, 'ftColor.rgb'); + cell = { + m: value, // 显示值 + v: value, // 原始值 + ct: {fa: sheet[key].z || 'General', t: sheet[key].t || 'g'}, + // bg: bgColor ? '#'+bgColor : '', + // bl: _.get(style, 'patternType') == 'bold' ? 1 : 0, + tb: 2, // 0:截断;1:溢出;2:换行 + } + if (bgColor) cell.bg = '#'+bgColor; + } + row.push(cell); + _sheet.config.columnlen[j-1] = _cols[j-1] ? _cols[j-1].wpx : 73; // 默认列宽73px + } + obj.push(row) + _sheet.config.rowlen[i-1] = _rows[i-1] ? _rows[i-1].hpt * 4 / 3 : 19; // 本来有参数hpx,但其值和hpt一样;默认值行高19px + } + // 合并单元格 + // https://mengshukeji.github.io/LuckysheetDocs/zh/guide/sheet.html#初始化配置 + _.each(_merges, function(opt){ + var r = opt.s.r; // sheet[!merges] = [{e:{r:,c:},s:{r:,c:}}] + var c = opt.s.c; // s:start,e:end + _sheet.config.merge[r+'_'+c] = { + r: r, + c: c, + rs: opt.e.r - r + 1, + cs: opt.e.c - c + 1, + }; + }); + return obj; + }, + + // 单个sheet初始配置 + getLuckySheet: function(){ + return { + "name": "Sheet1", + "color": "", + "status": 1, + "order": 0, + "data": [ // data直接替换,这里就不写null填充了 + [null], + [null], + ], + "config": { + rowlen: {}, // 表格行高 + columnlen: {}, // 表格行宽 + merge: {}, // 合并单元格 + }, + "index": 0, + // "jfgird_select_save": [], + "luckysheet_select_save": [], + "visibledatarow": [], + "visibledatacolumn": [], + // "ch_width": 4560, + // "rh_height": 1760, + "luckysheet_selection_range": [], + "zoomRatio": 1, + "celldata": [], + // "load": "1", + "scrollLeft": 0, + "scrollTop": 0 + }; + }, + functionHook: function(target,method,beforeFunc,afterFunc){ + var context = target || window; + var _theMethod = context[method]; + if(!context || !_theMethod) return console.error('method error!',method); + + context[method] = function(){ + var args = arguments; + if(beforeFunc){ + var newArgs = beforeFunc.apply(this,args); + if( newArgs === false ) return; + args = newArgs === undefined ? args : newArgs; //没有返回值则使用结果; + } + var result = _theMethod.apply(this,args); + if( afterFunc ){ + var newResult = afterFunc.apply(this,[result,args]); + result = newResult === undefined ? result : newResult;//没有返回值则使用结果 + } + return result; + } + }, + + // 初始化主页面尺寸 + initPageSize: function(ratio){ + var divId = arguments[1] === undefined ? 'all_slides_warpper' : 'left_slides_bar'; + return this.changePageSize(ratio, divId); + }, + // 变更主页面尺寸 + changePageSize: function(ratio, divId){ + $('#'+divId+' .slide').css({'-webkit-transform': 'scale('+ratio+')'}); + var width = $('#'+divId+' .slide').width() * ratio + 'px'; + var height = $('#'+divId+' .slide').height() * ratio + 'px'; // 使用scale后获取到的是原始尺寸,因此需要*ratio + $('#'+divId+' .slide-box').css({'width': width, 'height': height}); + }, + + // 前后翻页 + nextSlide: function(type){ + if(!$('#left_slides_bar').length) return; + var index = parseInt($('.slide-page-toolbar .page-cur-num').text()); + var total = parseInt($('.slide-page-toolbar .page-total-num').text()); + if((index == 1 && type == 'sub') || (index == total && type == 'add')) return; + var page = type == 'sub' ? index - 1 : index + 1; + this.gotoSlide(page); + }, + // 页码变更 + gotoSlide: function(page){ + // 0.设置页码显示 + $('.slide-page-toolbar .page-cur-num').html(page); + // 1.主区域显示 + $('#all_slides_warpper .slide-box').hide(); + $('#all_slides_warpper .slide-box').eq(page - 1).show(); + // 2.左右翻页图标显示 + this.setLtRtIcon(); + // 3.左侧选中样式变更 + $('#left_slides_bar .slide-box').removeClass('total-page-point'); + $('#left_slides_bar .slide-box').eq(page - 1).addClass('total-page-point'); + // 左侧选中项滚动到当前区域,滚轮停止后计算 + setTimeout(function(){ + if (!$(".total-page-point").length) return; + var top = $(".total-page-point").offset().top; + var height = $(".total-page-point").height(); + // 选中区在可视范围内时不滚动。margin+padding=8+10 + if(top >= 18 && (top + height - 8) < $("#left_slides_bar").height()) { + return false; + } + // 滚动高度为选中区前所有兄弟元素的(高+mb)之和,理论上应该再+18 + var prevTop = (height + 10) * (page - 1); + $("#left_slides_bar").scrollTop(prevTop + 10); + }, 200); + }, + // 左右翻页图标显示和隐藏 + setLtRtIcon: function(){ + var index = parseInt($('.slide-page-toolbar .page-cur-num').text()); + var total = parseInt($('.slide-page-toolbar .page-total-num').text()); + var funcLt = index == 1 ? 'hide' : 'show'; + var funcRt = index == total ? 'hide' : 'show'; + $('.slide-left-icon.btn')[funcLt](); + $('.slide-right-icon.btn')[funcRt](); + } +} diff --git a/public/static/jquery-2.0.3.min.js b/public/static/jquery-2.0.3.min.js new file mode 100644 index 0000000..2be209d --- /dev/null +++ b/public/static/jquery-2.0.3.min.js @@ -0,0 +1,6 @@ +/*! jQuery v2.0.3 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license +//@ sourceMappingURL=jquery-2.0.3.min.map +*/ +(function(e,undefined){var t,n,r=typeof undefined,i=e.location,o=e.document,s=o.documentElement,a=e.jQuery,u=e.$,l={},c=[],p="2.0.3",f=c.concat,h=c.push,d=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,x=function(e,n){return new x.fn.init(e,n,t)},b=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^-ms-/,N=/-([\da-z])/gi,E=function(e,t){return t.toUpperCase()},S=function(){o.removeEventListener("DOMContentLoaded",S,!1),e.removeEventListener("load",S,!1),x.ready()};x.fn=x.prototype={jquery:p,constructor:x,init:function(e,t,n){var r,i;if(!e)return this;if("string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:T.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof x?t[0]:t,x.merge(this,x.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:o,!0)),C.test(r[1])&&x.isPlainObject(t))for(r in t)x.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=o.getElementById(r[2]),i&&i.parentNode&&(this.length=1,this[0]=i),this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):x.isFunction(e)?n.ready(e):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),x.makeArray(e,this))},selector:"",length:0,toArray:function(){return d.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=x.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return x.each(this,e,t)},ready:function(e){return x.ready.promise().done(e),this},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(x.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:h,sort:[].sort,splice:[].splice},x.fn.init.prototype=x.fn,x.extend=x.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[1]||{},a=2),"object"==typeof s||x.isFunction(s)||(s={}),u===a&&(s=this,--a);u>a;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],r=e[t],s!==r&&(l&&r&&(x.isPlainObject(r)||(i=x.isArray(r)))?(i?(i=!1,o=n&&x.isArray(n)?n:[]):o=n&&x.isPlainObject(n)?n:{},s[t]=x.extend(l,o,r)):r!==undefined&&(s[t]=r));return s},x.extend({expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noConflict:function(t){return e.$===x&&(e.$=u),t&&e.jQuery===x&&(e.jQuery=a),x},isReady:!1,readyWait:1,holdReady:function(e){e?x.readyWait++:x.ready(!0)},ready:function(e){(e===!0?--x.readyWait:x.isReady)||(x.isReady=!0,e!==!0&&--x.readyWait>0||(n.resolveWith(o,[x]),x.fn.trigger&&x(o).trigger("ready").off("ready")))},isFunction:function(e){return"function"===x.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if("object"!==x.type(e)||e.nodeType||x.isWindow(e))return!1;try{if(e.constructor&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}return!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=x.buildFragment([e],t,i),i&&x(i).remove(),x.merge([],r.childNodes))},parseJSON:JSON.parse,parseXML:function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=undefined}return(!t||t.getElementsByTagName("parsererror").length)&&x.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){var t,n=eval;e=x.trim(e),e&&(1===e.indexOf("use strict")?(t=o.createElement("script"),t.text=e,o.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(k,"ms-").replace(N,E)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,s=j(e);if(n){if(s){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(s){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:function(e){return null==e?"":v.call(e)},makeArray:function(e,t){var n=t||[];return null!=e&&(j(Object(e))?x.merge(n,"string"==typeof e?[e]:e):h.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:g.call(t,e,n)},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;n>i;i++)e[r++]=t[i];else while(t[i]!==undefined)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r,i=[],o=0,s=e.length;for(n=!!n;s>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,s=j(e),a=[];if(s)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(a[a.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(a[a.length]=r);return f.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),x.isFunction(e)?(r=d.call(arguments,2),i=function(){return e.apply(t||this,r.concat(d.call(arguments)))},i.guid=e.guid=e.guid||x.guid++,i):undefined},access:function(e,t,n,r,i,o,s){var a=0,u=e.length,l=null==n;if("object"===x.type(n)){i=!0;for(a in n)x.access(e,t,a,n[a],!0,o,s)}else if(r!==undefined&&(i=!0,x.isFunction(r)||(s=!0),l&&(s?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(x(e),n)})),t))for(;u>a;a++)t(e[a],n,s?r:r.call(e[a],a,t(e[a],n)));return i?e:l?t.call(e):u?t(e[0],n):o},now:Date.now,swap:function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i}}),x.ready.promise=function(t){return n||(n=x.Deferred(),"complete"===o.readyState?setTimeout(x.ready):(o.addEventListener("DOMContentLoaded",S,!1),e.addEventListener("load",S,!1))),n.promise(t)},x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function j(e){var t=e.length,n=x.type(e);return x.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}t=x(o),function(e,undefined){var t,n,r,i,o,s,a,u,l,c,p,f,h,d,g,m,y,v="sizzle"+-new Date,b=e.document,w=0,T=0,C=st(),k=st(),N=st(),E=!1,S=function(e,t){return e===t?(E=!0,0):0},j=typeof undefined,D=1<<31,A={}.hasOwnProperty,L=[],q=L.pop,H=L.push,O=L.push,F=L.slice,P=L.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",W="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",$=W.replace("w","w#"),B="\\["+M+"*("+W+")"+M+"*(?:([*^$|!~]?=)"+M+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+$+")|)|)"+M+"*\\]",I=":("+W+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+B.replace(3,8)+")*)|.*)\\)|)",z=RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=RegExp("^"+M+"*,"+M+"*"),X=RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=RegExp(M+"*[+~]"),Y=RegExp("="+M+"*([^\\]'\"]*)"+M+"*\\]","g"),V=RegExp(I),G=RegExp("^"+$+"$"),J={ID:RegExp("^#("+W+")"),CLASS:RegExp("^\\.("+W+")"),TAG:RegExp("^("+W.replace("w","w*")+")"),ATTR:RegExp("^"+B),PSEUDO:RegExp("^"+I),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:RegExp("^(?:"+R+")$","i"),needsContext:RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/^(?:input|select|textarea|button)$/i,et=/^h\d$/i,tt=/'|\\/g,nt=RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(55296|r>>10,56320|1023&r)};try{O.apply(L=F.call(b.childNodes),b.childNodes),L[b.childNodes.length].nodeType}catch(it){O={apply:L.length?function(e,t){H.apply(e,F.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function ot(e,t,r,i){var o,s,a,u,l,f,g,m,x,w;if((t?t.ownerDocument||t:b)!==p&&c(t),t=t||p,r=r||[],!e||"string"!=typeof e)return r;if(1!==(u=t.nodeType)&&9!==u)return[];if(h&&!i){if(o=K.exec(e))if(a=o[1]){if(9===u){if(s=t.getElementById(a),!s||!s.parentNode)return r;if(s.id===a)return r.push(s),r}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(a))&&y(t,s)&&s.id===a)return r.push(s),r}else{if(o[2])return O.apply(r,t.getElementsByTagName(e)),r;if((a=o[3])&&n.getElementsByClassName&&t.getElementsByClassName)return O.apply(r,t.getElementsByClassName(a)),r}if(n.qsa&&(!d||!d.test(e))){if(m=g=v,x=t,w=9===u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){f=gt(e),(g=t.getAttribute("id"))?m=g.replace(tt,"\\$&"):t.setAttribute("id",m),m="[id='"+m+"'] ",l=f.length;while(l--)f[l]=m+mt(f[l]);x=U.test(e)&&t.parentNode||t,w=f.join(",")}if(w)try{return O.apply(r,x.querySelectorAll(w)),r}catch(T){}finally{g||t.removeAttribute("id")}}}return kt(e.replace(z,"$1"),t,r,i)}function st(){var e=[];function t(n,r){return e.push(n+=" ")>i.cacheLength&&delete t[e.shift()],t[n]=r}return t}function at(e){return e[v]=!0,e}function ut(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),r=e.length;while(r--)i.attrHandle[n[r]]=t}function ct(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||D)-(~e.sourceIndex||D);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ft(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ht(e){return at(function(t){return t=+t,at(function(n,r){var i,o=e([],n.length,t),s=o.length;while(s--)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},n=ot.support={},c=ot.setDocument=function(e){var t=e?e.ownerDocument||e:b,r=t.defaultView;return t!==p&&9===t.nodeType&&t.documentElement?(p=t,f=t.documentElement,h=!s(t),r&&r.attachEvent&&r!==r.top&&r.attachEvent("onbeforeunload",function(){c()}),n.attributes=ut(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ut(function(e){return e.appendChild(t.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=ut(function(e){return e.innerHTML="
",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),n.getById=ut(function(e){return f.appendChild(e).id=v,!t.getElementsByName||!t.getElementsByName(v).length}),n.getById?(i.find.ID=function(e,t){if(typeof t.getElementById!==j&&h){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete i.find.ID,i.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!==j&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=n.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==j?t.getElementsByTagName(e):undefined}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==j&&h?t.getElementsByClassName(e):undefined},g=[],d=[],(n.qsa=Q.test(t.querySelectorAll))&&(ut(function(e){e.innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll(":checked").length||d.push(":checked")}),ut(function(e){var n=t.createElement("input");n.setAttribute("type","hidden"),e.appendChild(n).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&d.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||d.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),d.push(",.*:")})),(n.matchesSelector=Q.test(m=f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&ut(function(e){n.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",I)}),d=d.length&&RegExp(d.join("|")),g=g.length&&RegExp(g.join("|")),y=Q.test(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},S=f.compareDocumentPosition?function(e,r){if(e===r)return E=!0,0;var i=r.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(r);return i?1&i||!n.sortDetached&&r.compareDocumentPosition(e)===i?e===t||y(b,e)?-1:r===t||y(b,r)?1:l?P.call(l,e)-P.call(l,r):0:4&i?-1:1:e.compareDocumentPosition?-1:1}:function(e,n){var r,i=0,o=e.parentNode,s=n.parentNode,a=[e],u=[n];if(e===n)return E=!0,0;if(!o||!s)return e===t?-1:n===t?1:o?-1:s?1:l?P.call(l,e)-P.call(l,n):0;if(o===s)return ct(e,n);r=e;while(r=r.parentNode)a.unshift(r);r=n;while(r=r.parentNode)u.unshift(r);while(a[i]===u[i])i++;return i?ct(a[i],u[i]):a[i]===b?-1:u[i]===b?1:0},t):p},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Y,"='$1']"),!(!n.matchesSelector||!h||g&&g.test(t)||d&&d.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&c(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!h):undefined;return o===undefined?n.attributes||!h?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null:o},ot.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,o=0;if(E=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),E){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return e},o=ot.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=ot.selectors={cacheLength:50,createPseudo:at,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[4]||e[5]||"").replace(nt,rt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return J.CHILD.test(e[0])?null:(e[3]&&e[4]!==undefined?e[2]=e[4]:n&&V.test(n)&&(t=gt(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=C[e+" "];return t||(t=RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&C(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==j&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,h,d,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,y=a&&t.nodeName.toLowerCase(),x=!u&&!a;if(m){if(o){while(g){p=t;while(p=p[g])if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?m.firstChild:m.lastChild],s&&x){c=m[v]||(m[v]={}),l=c[e]||[],h=l[0]===w&&l[1],f=l[0]===w&&l[2],p=h&&m.childNodes[h];while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[w,h,f];break}}else if(x&&(l=(t[v]||(t[v]={}))[e])&&l[0]===w)f=l[1];else while(p=++h&&p&&p[g]||(f=h=0)||d.pop())if((a?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(x&&((p[v]||(p[v]={}))[e]=[w,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return r[v]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var i,o=r(e,t),s=o.length;while(s--)i=P.call(e,o[s]),e[i]=!(n[i]=o[s])}):function(e){return r(e,0,n)}):r}},pseudos:{not:at(function(e){var t=[],n=[],r=a(e.replace(z,"$1"));return r[v]?at(function(e,t,n,i){var o,s=r(e,null,i,[]),a=e.length;while(a--)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:at(function(e){return G.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return et.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:ht(function(){return[0]}),last:ht(function(e,t){return[t-1]}),eq:ht(function(e,t,n){return[0>n?n+t:n]}),even:ht(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:ht(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:ht(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:ht(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}},i.pseudos.nth=i.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=pt(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=ft(t);function dt(){}dt.prototype=i.filters=i.pseudos,i.setFilters=new dt;function gt(e,t){var n,r,o,s,a,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);a=e,u=[],l=i.preFilter;while(a){(!n||(r=_.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=X.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(z," ")}),a=a.slice(n.length));for(s in i.filter)!(r=J[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ot.error(e):k(e,u).slice(0)}function mt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function yt(e,t,n){var i=t.dir,o=n&&"parentNode"===i,s=T++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,a){var u,l,c,p=w+" "+s;if(a){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,a))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[v]||(t[v]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,a)||r,l[1]===!0)return!0}}function vt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xt(e,t,n,r,i){var o,s=[],a=0,u=e.length,l=null!=t;for(;u>a;a++)(o=e[a])&&(!n||n(o,r,i))&&(s.push(o),l&&t.push(a));return s}function bt(e,t,n,r,i,o){return r&&!r[v]&&(r=bt(r)),i&&!i[v]&&(i=bt(i,o)),at(function(o,s,a,u){var l,c,p,f=[],h=[],d=s.length,g=o||Ct(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:xt(g,f,e,a,u),y=n?i||(o?e:d||r)?[]:s:m;if(n&&n(m,y,a,u),r){l=xt(y,h),r(l,[],a,u),c=l.length;while(c--)(p=l[c])&&(y[h[c]]=!(m[h[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?P.call(o,p):f[c])>-1&&(o[l]=!(s[l]=p))}}else y=xt(y===s?y.splice(d,y.length):y),i?i(null,s,y,u):O.apply(s,y)})}function wt(e){var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,c=yt(function(e){return e===t},a,!0),p=yt(function(e){return P.call(t,e)>-1},a,!0),f=[function(e,n,r){return!s&&(r||n!==u)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>l;l++)if(n=i.relative[e[l].type])f=[yt(vt(f),n)];else{if(n=i.filter[e[l].type].apply(null,e[l].matches),n[v]){for(r=++l;o>r;r++)if(i.relative[e[r].type])break;return bt(l>1&&vt(f),l>1&&mt(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(z,"$1"),n,r>l&&wt(e.slice(l,r)),o>r&&wt(e=e.slice(r)),o>r&&mt(e))}f.push(n)}return vt(f)}function Tt(e,t){var n=0,o=t.length>0,s=e.length>0,a=function(a,l,c,f,h){var d,g,m,y=[],v=0,x="0",b=a&&[],T=null!=h,C=u,k=a||s&&i.find.TAG("*",h&&l.parentNode||l),N=w+=null==C?1:Math.random()||.1;for(T&&(u=l!==p&&l,r=n);null!=(d=k[x]);x++){if(s&&d){g=0;while(m=e[g++])if(m(d,l,c)){f.push(d);break}T&&(w=N,r=++n)}o&&((d=!m&&d)&&v--,a&&b.push(d))}if(v+=x,o&&x!==v){g=0;while(m=t[g++])m(b,y,l,c);if(a){if(v>0)while(x--)b[x]||y[x]||(y[x]=q.call(f));y=xt(y)}O.apply(f,y),T&&!a&&y.length>0&&v+t.length>1&&ot.uniqueSort(f)}return T&&(w=N,u=C),b};return o?at(a):a}a=ot.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){t||(t=gt(e)),n=t.length;while(n--)o=wt(t[n]),o[v]?r.push(o):i.push(o);o=N(e,Tt(i,r))}return o};function Ct(e,t,n){var r=0,i=t.length;for(;i>r;r++)ot(e,t[r],n);return n}function kt(e,t,r,o){var s,u,l,c,p,f=gt(e);if(!o&&1===f.length){if(u=f[0]=f[0].slice(0),u.length>2&&"ID"===(l=u[0]).type&&n.getById&&9===t.nodeType&&h&&i.relative[u[1].type]){if(t=(i.find.ID(l.matches[0].replace(nt,rt),t)||[])[0],!t)return r;e=e.slice(u.shift().value.length)}s=J.needsContext.test(e)?0:u.length;while(s--){if(l=u[s],i.relative[c=l.type])break;if((p=i.find[c])&&(o=p(l.matches[0].replace(nt,rt),U.test(u[0].type)&&t.parentNode||t))){if(u.splice(s,1),e=o.length&&mt(u),!e)return O.apply(r,o),r;break}}}return a(e,f)(o,t,!h,r,U.test(e)),r}n.sortStable=v.split("").sort(S).join("")===v,n.detectDuplicates=E,c(),n.sortDetached=ut(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),ut(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||lt("type|href|height|width",function(e,t,n){return n?undefined:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ut(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||lt("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?undefined:e.defaultValue}),ut(function(e){return null==e.getAttribute("disabled")})||lt(R,function(e,t,n){var r;return n?undefined:(r=e.getAttributeNode(t))&&r.specified?r.value:e[t]===!0?t.toLowerCase():null}),x.find=ot,x.expr=ot.selectors,x.expr[":"]=x.expr.pseudos,x.unique=ot.uniqueSort,x.text=ot.getText,x.isXMLDoc=ot.isXML,x.contains=ot.contains}(e);var D={};function A(e){var t=D[e]={};return x.each(e.match(w)||[],function(e,n){t[n]=!0}),t}x.Callbacks=function(e){e="string"==typeof e?D[e]||A(e):x.extend({},e);var t,n,r,i,o,s,a=[],u=!e.once&&[],l=function(p){for(t=e.memory&&p,n=!0,s=i||0,i=0,o=a.length,r=!0;a&&o>s;s++)if(a[s].apply(p[0],p[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,a&&(u?u.length&&l(u.shift()):t?a=[]:c.disable())},c={add:function(){if(a){var n=a.length;(function s(t){x.each(t,function(t,n){var r=x.type(n);"function"===r?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==r&&s(n)})})(arguments),r?o=a.length:t&&(i=n,l(t))}return this},remove:function(){return a&&x.each(arguments,function(e,t){var n;while((n=x.inArray(t,a,n))>-1)a.splice(n,1),r&&(o>=n&&o--,s>=n&&s--)}),this},has:function(e){return e?x.inArray(e,a)>-1:!(!a||!a.length)},empty:function(){return a=[],o=0,this},disable:function(){return a=u=t=undefined,this},disabled:function(){return!a},lock:function(){return u=undefined,t||c.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!a||n&&!u||(t=t||[],t=[e,t.slice?t.slice():t],r?u.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!n}};return c},x.extend({Deferred:function(e){var t=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return x.Deferred(function(n){x.each(t,function(t,o){var s=o[0],a=x.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&x.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?x.extend(e,r):r}},i={};return r.pipe=r.then,x.each(t,function(e,o){var s=o[2],a=o[3];r[o[1]]=s.add,a&&s.add(function(){n=a},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=s.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=d.call(arguments),r=n.length,i=1!==r||e&&x.isFunction(e.promise)?r:0,o=1===i?e:x.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?d.call(arguments):r,n===a?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},a,u,l;if(r>1)for(a=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&x.isFunction(n[t].promise)?n[t].promise().done(s(t,l,n)).fail(o.reject).progress(s(t,u,a)):--i;return i||o.resolveWith(l,n),o.promise()}}),x.support=function(t){var n=o.createElement("input"),r=o.createDocumentFragment(),i=o.createElement("div"),s=o.createElement("select"),a=s.appendChild(o.createElement("option"));return n.type?(n.type="checkbox",t.checkOn=""!==n.value,t.optSelected=a.selected,t.reliableMarginRight=!0,t.boxSizingReliable=!0,t.pixelPosition=!1,n.checked=!0,t.noCloneChecked=n.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!a.disabled,n=o.createElement("input"),n.value="t",n.type="radio",t.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),r.appendChild(n),t.checkClone=r.cloneNode(!0).cloneNode(!0).lastChild.checked,t.focusinBubbles="onfocusin"in e,i.style.backgroundClip="content-box",i.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===i.style.backgroundClip,x(function(){var n,r,s="padding:0;margin:0;border:0;display:block;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box",a=o.getElementsByTagName("body")[0];a&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",a.appendChild(n).appendChild(i),i.innerHTML="",i.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%",x.swap(a,null!=a.style.zoom?{zoom:1}:{},function(){t.boxSizing=4===i.offsetWidth}),e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(i,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(i,null)||{width:"4px"}).width,r=i.appendChild(o.createElement("div")),r.style.cssText=i.style.cssText=s,r.style.marginRight=r.style.width="0",i.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),a.removeChild(n))}),t):t}({});var L,q,H=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,O=/([A-Z])/g;function F(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=x.expando+Math.random()}F.uid=1,F.accepts=function(e){return e.nodeType?1===e.nodeType||9===e.nodeType:!0},F.prototype={key:function(e){if(!F.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=F.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,x.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(x.isEmptyObject(o))x.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return t===undefined?n:n[t]},access:function(e,t,n){var r;return t===undefined||t&&"string"==typeof t&&n===undefined?(r=this.get(e,t),r!==undefined?r:this.get(e,x.camelCase(t))):(this.set(e,t,n),n!==undefined?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),s=this.cache[o];if(t===undefined)this.cache[o]={};else{x.isArray(t)?r=t.concat(t.map(x.camelCase)):(i=x.camelCase(t),t in s?r=[t,i]:(r=i,r=r in s?[r]:r.match(w)||[])),n=r.length;while(n--)delete s[r[n]]}},hasData:function(e){return!x.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}},L=new F,q=new F,x.extend({acceptData:F.accepts,hasData:function(e){return L.hasData(e)||q.hasData(e)},data:function(e,t,n){return L.access(e,t,n)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,n){return q.access(e,t,n)},_removeData:function(e,t){q.remove(e,t)}}),x.fn.extend({data:function(e,t){var n,r,i=this[0],o=0,s=null;if(e===undefined){if(this.length&&(s=L.get(i),1===i.nodeType&&!q.get(i,"hasDataAttrs"))){for(n=i.attributes;n.length>o;o++)r=n[o].name,0===r.indexOf("data-")&&(r=x.camelCase(r.slice(5)),P(i,r,s[r]));q.set(i,"hasDataAttrs",!0)}return s}return"object"==typeof e?this.each(function(){L.set(this,e)}):x.access(this,function(t){var n,r=x.camelCase(e);if(i&&t===undefined){if(n=L.get(i,e),n!==undefined)return n;if(n=L.get(i,r),n!==undefined)return n;if(n=P(i,r,undefined),n!==undefined)return n}else this.each(function(){var n=L.get(this,r);L.set(this,r,t),-1!==e.indexOf("-")&&n!==undefined&&L.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){L.remove(this,e)})}});function P(e,t,n){var r;if(n===undefined&&1===e.nodeType)if(r="data-"+t.replace(O,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:H.test(n)?JSON.parse(n):n}catch(i){}L.set(e,t,n)}else n=undefined;return n}x.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=q.get(e,t),n&&(!r||x.isArray(n)?r=q.access(e,t,x.makeArray(n)):r.push(n)),r||[]):undefined},dequeue:function(e,t){t=t||"fx";var n=x.queue(e,t),r=n.length,i=n.shift(),o=x._queueHooks(e,t),s=function(){x.dequeue(e,t) +};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return q.get(e,n)||q.access(e,n,{empty:x.Callbacks("once memory").add(function(){q.remove(e,[t+"queue",n])})})}}),x.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),n>arguments.length?x.queue(this[0],e):t===undefined?this:this.each(function(){var n=x.queue(this,e,t);x._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&x.dequeue(this,e)})},dequeue:function(e){return this.each(function(){x.dequeue(this,e)})},delay:function(e,t){return e=x.fx?x.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=x.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=undefined),e=e||"fx";while(s--)n=q.get(o[s],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var R,M,W=/[\t\r\n\f]/g,$=/\r/g,B=/^(?:input|select|textarea|button)$/i;x.fn.extend({attr:function(e,t){return x.access(this,x.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){x.removeAttr(this,e)})},prop:function(e,t){return x.access(this,x.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[x.propFix[e]||e]})},addClass:function(e){var t,n,r,i,o,s=0,a=this.length,u="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=x.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,s=0,a=this.length,u=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];a>s;s++)if(n=this[s],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(W," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?x.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):x.isFunction(e)?this.each(function(n){x(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var t,i=0,o=x(this),s=e.match(w)||[];while(t=s[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else(n===r||"boolean"===n)&&(this.className&&q.set(this,"__className__",this.className),this.className=this.className||e===!1?"":q.get(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(W," ").indexOf(t)>=0)return!0;return!1},val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=x.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,x(this).val()):e,null==i?i="":"number"==typeof i?i+="":x.isArray(i)&&(i=x.map(i,function(e){return null==e?"":e+""})),t=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&t.set(this,i,"value")!==undefined||(this.value=i))});if(i)return t=x.valHooks[i.type]||x.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,"string"==typeof n?n.replace($,""):null==n?"":n)}}}),x.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,s=o?null:[],a=o?i+1:r.length,u=0>i?a:o?i:0;for(;a>u;u++)if(n=r[u],!(!n.selected&&u!==i||(x.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&x.nodeName(n.parentNode,"optgroup"))){if(t=x(n).val(),o)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=x.makeArray(t),s=i.length;while(s--)r=i[s],(r.selected=x.inArray(x(r).val(),o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return typeof e.getAttribute===r?x.prop(e,t,n):(1===s&&x.isXMLDoc(e)||(t=t.toLowerCase(),i=x.attrHooks[t]||(x.expr.match.bool.test(t)?M:R)),n===undefined?i&&"get"in i&&null!==(o=i.get(e,t))?o:(o=x.find.attr(e,t),null==o?undefined:o):null!==n?i&&"set"in i&&(o=i.set(e,n,t))!==undefined?o:(e.setAttribute(t,n+""),n):(x.removeAttr(e,t),undefined))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=x.propFix[n]||n,x.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!x.support.radioValue&&"radio"===t&&x.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return o=1!==s||!x.isXMLDoc(e),o&&(t=x.propFix[t]||t,i=x.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||B.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),M={set:function(e,t,n){return t===!1?x.removeAttr(e,n):e.setAttribute(n,n),n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(e,t){var n=x.expr.attrHandle[t]||x.find.attr;x.expr.attrHandle[t]=function(e,t,r){var i=x.expr.attrHandle[t],o=r?undefined:(x.expr.attrHandle[t]=undefined)!=n(e,t,r)?t.toLowerCase():null;return x.expr.attrHandle[t]=i,o}}),x.support.optSelected||(x.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(e,t){return x.isArray(t)?e.checked=x.inArray(x(e).val(),t)>=0:undefined}},x.support.checkOn||(x.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var I=/^key/,z=/^(?:mouse|contextmenu)|click/,_=/^(?:focusinfocus|focusoutblur)$/,X=/^([^.]*)(?:\.(.+)|)$/;function U(){return!0}function Y(){return!1}function V(){try{return o.activeElement}catch(e){}}x.event={global:{},add:function(e,t,n,i,o){var s,a,u,l,c,p,f,h,d,g,m,y=q.get(e);if(y){n.handler&&(s=n,n=s.handler,o=s.selector),n.guid||(n.guid=x.guid++),(l=y.events)||(l=y.events={}),(a=y.handle)||(a=y.handle=function(e){return typeof x===r||e&&x.event.triggered===e.type?undefined:x.event.dispatch.apply(a.elem,arguments)},a.elem=e),t=(t||"").match(w)||[""],c=t.length;while(c--)u=X.exec(t[c])||[],d=m=u[1],g=(u[2]||"").split(".").sort(),d&&(f=x.event.special[d]||{},d=(o?f.delegateType:f.bindType)||d,f=x.event.special[d]||{},p=x.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:g.join(".")},s),(h=l[d])||(h=l[d]=[],h.delegateCount=0,f.setup&&f.setup.call(e,i,g,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,p):h.push(p),x.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,s,a,u,l,c,p,f,h,d,g,m=q.hasData(e)&&q.get(e);if(m&&(u=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(a=X.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){p=x.event.special[h]||{},h=(r?p.delegateType:p.bindType)||h,f=u[h]||[],a=a[2]&&RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;while(o--)c=f[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(o,1),c.selector&&f.delegateCount--,p.remove&&p.remove.call(e,c));s&&!f.length&&(p.teardown&&p.teardown.call(e,d,m.handle)!==!1||x.removeEvent(e,h,m.handle),delete u[h])}else for(h in u)x.event.remove(e,h+t[l],n,r,!0);x.isEmptyObject(u)&&(delete m.handle,q.remove(e,"events"))}},trigger:function(t,n,r,i){var s,a,u,l,c,p,f,h=[r||o],d=y.call(t,"type")?t.type:t,g=y.call(t,"namespace")?t.namespace.split("."):[];if(a=u=r=r||o,3!==r.nodeType&&8!==r.nodeType&&!_.test(d+x.event.triggered)&&(d.indexOf(".")>=0&&(g=d.split("."),d=g.shift(),g.sort()),c=0>d.indexOf(":")&&"on"+d,t=t[x.expando]?t:new x.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.namespace_re=t.namespace?RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=null==n?[t]:x.makeArray(n,[t]),f=x.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!x.isWindow(r)){for(l=f.delegateType||d,_.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),u=a;u===(r.ownerDocument||o)&&h.push(u.defaultView||u.parentWindow||e)}s=0;while((a=h[s++])&&!t.isPropagationStopped())t.type=s>1?l:f.bindType||d,p=(q.get(a,"events")||{})[t.type]&&q.get(a,"handle"),p&&p.apply(a,n),p=c&&a[c],p&&x.acceptData(a)&&p.apply&&p.apply(a,n)===!1&&t.preventDefault();return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(h.pop(),n)!==!1||!x.acceptData(r)||c&&x.isFunction(r[d])&&!x.isWindow(r)&&(u=r[c],u&&(r[c]=null),x.event.triggered=d,r[d](),x.event.triggered=undefined,u&&(r[c]=u)),t.result}},dispatch:function(e){e=x.event.fix(e);var t,n,r,i,o,s=[],a=d.call(arguments),u=(q.get(this,"events")||{})[e.type]||[],l=x.event.special[e.type]||{};if(a[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){s=x.event.handlers.call(this,e,u),t=0;while((i=s[t++])&&!e.isPropagationStopped()){e.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a),r!==undefined&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,s=[],a=t.delegateCount,u=e.target;if(a&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;a>n;n++)o=t[n],i=o.selector+" ",r[i]===undefined&&(r[i]=o.needsContext?x(i,this).index(u)>=0:x.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&s.push({elem:u,handlers:r})}return t.length>a&&s.push({elem:this,handlers:t.slice(a)}),s},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,s=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||o,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||s===undefined||(e.which=1&s?1:2&s?3:4&s?2:0),e}},fix:function(e){if(e[x.expando])return e;var t,n,r,i=e.type,s=e,a=this.fixHooks[i];a||(this.fixHooks[i]=a=z.test(i)?this.mouseHooks:I.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new x.Event(s),t=r.length;while(t--)n=r[t],e[n]=s[n];return e.target||(e.target=o),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,s):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==V()&&this.focus?(this.focus(),!1):undefined},delegateType:"focusin"},blur:{trigger:function(){return this===V()&&this.blur?(this.blur(),!1):undefined},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&x.nodeName(this,"input")?(this.click(),!1):undefined},_default:function(e){return x.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==undefined&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=x.extend(new x.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?x.event.trigger(i,null,t):x.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},x.Event=function(e,t){return this instanceof x.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.getPreventDefault&&e.getPreventDefault()?U:Y):this.type=e,t&&x.extend(this,t),this.timeStamp=e&&e.timeStamp||x.now(),this[x.expando]=!0,undefined):new x.Event(e,t)},x.Event.prototype={isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=U,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=U,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=U,this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){x.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!x.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),x.support.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){x.event.simulate(t,e.target,x.event.fix(e),!0)};x.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),x.fn.extend({on:function(e,t,n,r,i){var o,s;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=undefined);for(s in e)this.on(s,t,n,e[s],i);return this}if(null==n&&null==r?(r=t,n=t=undefined):null==r&&("string"==typeof t?(r=n,n=undefined):(r=n,n=t,t=undefined)),r===!1)r=Y;else if(!r)return this;return 1===i&&(o=r,r=function(e){return x().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,x(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=undefined),n===!1&&(n=Y),this.each(function(){x.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){x.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?x.event.trigger(e,t,n,!0):undefined}});var G=/^.[^:#\[\.,]*$/,J=/^(?:parents|prev(?:Until|All))/,Q=x.expr.match.needsContext,K={children:!0,contents:!0,next:!0,prev:!0};x.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(x(e).filter(function(){for(t=0;i>t;t++)if(x.contains(r[t],this))return!0}));for(t=0;i>t;t++)x.find(e,r[t],n);return n=this.pushStack(i>1?x.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t=x(e,this),n=t.length;return this.filter(function(){var e=0;for(;n>e;e++)if(x.contains(this,t[e]))return!0})},not:function(e){return this.pushStack(et(this,e||[],!0))},filter:function(e){return this.pushStack(et(this,e||[],!1))},is:function(e){return!!et(this,"string"==typeof e&&Q.test(e)?x(e):e||[],!1).length},closest:function(e,t){var n,r=0,i=this.length,o=[],s=Q.test(e)||"string"!=typeof e?x(e,t||this.context):0;for(;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(11>n.nodeType&&(s?s.index(n)>-1:1===n.nodeType&&x.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(o.length>1?x.unique(o):o)},index:function(e){return e?"string"==typeof e?g.call(x(e),this[0]):g.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?x(e,t):x.makeArray(e&&e.nodeType?[e]:e),r=x.merge(this.get(),n);return this.pushStack(x.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function Z(e,t){while((e=e[t])&&1!==e.nodeType);return e}x.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x.dir(e,"parentNode")},parentsUntil:function(e,t,n){return x.dir(e,"parentNode",n)},next:function(e){return Z(e,"nextSibling")},prev:function(e){return Z(e,"previousSibling")},nextAll:function(e){return x.dir(e,"nextSibling")},prevAll:function(e){return x.dir(e,"previousSibling")},nextUntil:function(e,t,n){return x.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return x.dir(e,"previousSibling",n)},siblings:function(e){return x.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return x.sibling(e.firstChild)},contents:function(e){return e.contentDocument||x.merge([],e.childNodes)}},function(e,t){x.fn[e]=function(n,r){var i=x.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=x.filter(r,i)),this.length>1&&(K[e]||x.unique(i),J.test(e)&&i.reverse()),this.pushStack(i)}}),x.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?x.find.matchesSelector(r,e)?[r]:[]:x.find.matches(e,x.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){var r=[],i=n!==undefined;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&x(e).is(n))break;r.push(e)}return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function et(e,t,n){if(x.isFunction(t))return x.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return x.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(G.test(t))return x.filter(t,e,n);t=x.filter(t,e)}return x.grep(e,function(e){return g.call(t,e)>=0!==n})}var tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,nt=/<([\w:]+)/,rt=/<|&#?\w+;/,it=/<(?:script|style|link)/i,ot=/^(?:checkbox|radio)$/i,st=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^$|\/(?:java|ecma)script/i,ut=/^true\/(.*)/,lt=/^\s*\s*$/g,ct={option:[1,""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};ct.optgroup=ct.option,ct.tbody=ct.tfoot=ct.colgroup=ct.caption=ct.thead,ct.th=ct.td,x.fn.extend({text:function(e){return x.access(this,function(e){return e===undefined?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=pt(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?x.filter(e,this):this,i=0;for(;null!=(n=r[i]);i++)t||1!==n.nodeType||x.cleanData(mt(n)),n.parentNode&&(t&&x.contains(n.ownerDocument,n)&&dt(mt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++)1===e.nodeType&&(x.cleanData(mt(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return x.clone(this,e,t)})},html:function(e){return x.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!it.test(e)&&!ct[(nt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(tt,"<$1>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(x.cleanData(mt(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=x.map(this,function(e){return[e.nextSibling,e.parentNode]}),t=0;return this.domManip(arguments,function(n){var r=e[t++],i=e[t++];i&&(r&&r.parentNode!==i&&(r=this.nextSibling),x(this).remove(),i.insertBefore(n,r))},!0),t?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t,n){e=f.apply([],e);var r,i,o,s,a,u,l=0,c=this.length,p=this,h=c-1,d=e[0],g=x.isFunction(d);if(g||!(1>=c||"string"!=typeof d||x.support.checkClone)&&st.test(d))return this.each(function(r){var i=p.eq(r);g&&(e[0]=d.call(this,r,i.html())),i.domManip(e,t,n)});if(c&&(r=x.buildFragment(e,this[0].ownerDocument,!1,!n&&this),i=r.firstChild,1===r.childNodes.length&&(r=i),i)){for(o=x.map(mt(r,"script"),ft),s=o.length;c>l;l++)a=r,l!==h&&(a=x.clone(a,!0,!0),s&&x.merge(o,mt(a,"script"))),t.call(this[l],a,l);if(s)for(u=o[o.length-1].ownerDocument,x.map(o,ht),l=0;s>l;l++)a=o[l],at.test(a.type||"")&&!q.access(a,"globalEval")&&x.contains(u,a)&&(a.src?x._evalUrl(a.src):x.globalEval(a.textContent.replace(lt,"")))}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){x.fn[e]=function(e){var n,r=[],i=x(e),o=i.length-1,s=0;for(;o>=s;s++)n=s===o?this:this.clone(!0),x(i[s])[t](n),h.apply(r,n.get());return this.pushStack(r)}}),x.extend({clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=x.contains(e.ownerDocument,e);if(!(x.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||x.isXMLDoc(e)))for(s=mt(a),o=mt(e),r=0,i=o.length;i>r;r++)yt(o[r],s[r]);if(t)if(n)for(o=o||mt(e),s=s||mt(a),r=0,i=o.length;i>r;r++)gt(o[r],s[r]);else gt(e,a);return s=mt(a,"script"),s.length>0&&dt(s,!u&&mt(e,"script")),a},buildFragment:function(e,t,n,r){var i,o,s,a,u,l,c=0,p=e.length,f=t.createDocumentFragment(),h=[];for(;p>c;c++)if(i=e[c],i||0===i)if("object"===x.type(i))x.merge(h,i.nodeType?[i]:i);else if(rt.test(i)){o=o||f.appendChild(t.createElement("div")),s=(nt.exec(i)||["",""])[1].toLowerCase(),a=ct[s]||ct._default,o.innerHTML=a[1]+i.replace(tt,"<$1>")+a[2],l=a[0];while(l--)o=o.lastChild;x.merge(h,o.childNodes),o=f.firstChild,o.textContent=""}else h.push(t.createTextNode(i));f.textContent="",c=0;while(i=h[c++])if((!r||-1===x.inArray(i,r))&&(u=x.contains(i.ownerDocument,i),o=mt(f.appendChild(i),"script"),u&&dt(o),n)){l=0;while(i=o[l++])at.test(i.type||"")&&n.push(i)}return f},cleanData:function(e){var t,n,r,i,o,s,a=x.event.special,u=0;for(;(n=e[u])!==undefined;u++){if(F.accepts(n)&&(o=n[q.expando],o&&(t=q.cache[o]))){if(r=Object.keys(t.events||{}),r.length)for(s=0;(i=r[s])!==undefined;s++)a[i]?x.event.remove(n,i):x.removeEvent(n,i,t.handle);q.cache[o]&&delete q.cache[o]}delete L.cache[n[L.expando]]}},_evalUrl:function(e){return x.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}});function pt(e,t){return x.nodeName(e,"table")&&x.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function ft(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ht(e){var t=ut.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function dt(e,t){var n=e.length,r=0;for(;n>r;r++)q.set(e[r],"globalEval",!t||q.get(t[r],"globalEval"))}function gt(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(q.hasData(e)&&(o=q.access(e),s=q.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;r>n;n++)x.event.add(t,i,l[i][n])}L.hasData(e)&&(a=L.access(e),u=x.extend({},a),L.set(t,u))}}function mt(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return t===undefined||t&&x.nodeName(e,t)?x.merge([e],n):n}function yt(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ot.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return x.isFunction(e)?this.each(function(t){x(this).wrapInner(e.call(this,t))}):this.each(function(){var t=x(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=x.isFunction(e);return this.each(function(n){x(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}});var vt,xt,bt=/^(none|table(?!-c[ea]).+)/,wt=/^margin/,Tt=RegExp("^("+b+")(.*)$","i"),Ct=RegExp("^("+b+")(?!px)[a-z%]+$","i"),kt=RegExp("^([+-])=("+b+")","i"),Nt={BODY:"block"},Et={position:"absolute",visibility:"hidden",display:"block"},St={letterSpacing:0,fontWeight:400},jt=["Top","Right","Bottom","Left"],Dt=["Webkit","O","Moz","ms"];function At(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Dt.length;while(i--)if(t=Dt[i]+n,t in e)return t;return r}function Lt(e,t){return e=t||e,"none"===x.css(e,"display")||!x.contains(e.ownerDocument,e)}function qt(t){return e.getComputedStyle(t,null)}function Ht(e,t){var n,r,i,o=[],s=0,a=e.length;for(;a>s;s++)r=e[s],r.style&&(o[s]=q.get(r,"olddisplay"),n=r.style.display,t?(o[s]||"none"!==n||(r.style.display=""),""===r.style.display&&Lt(r)&&(o[s]=q.access(r,"olddisplay",Rt(r.nodeName)))):o[s]||(i=Lt(r),(n&&"none"!==n||!i)&&q.set(r,"olddisplay",i?n:x.css(r,"display"))));for(s=0;a>s;s++)r=e[s],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[s]||"":"none"));return e}x.fn.extend({css:function(e,t){return x.access(this,function(e,t,n){var r,i,o={},s=0;if(x.isArray(t)){for(r=qt(e),i=t.length;i>s;s++)o[t[s]]=x.css(e,t[s],!1,r);return o}return n!==undefined?x.style(e,t,n):x.css(e,t)},e,t,arguments.length>1)},show:function(){return Ht(this,!0)},hide:function(){return Ht(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Lt(this)?x(this).show():x(this).hide()})}}),x.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=x.camelCase(t),u=e.style;return t=x.cssProps[a]||(x.cssProps[a]=At(u,a)),s=x.cssHooks[t]||x.cssHooks[a],n===undefined?s&&"get"in s&&(i=s.get(e,!1,r))!==undefined?i:u[t]:(o=typeof n,"string"===o&&(i=kt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(x.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||x.cssNumber[a]||(n+="px"),x.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&(n=s.set(e,n,r))===undefined||(u[t]=n)),undefined)}},css:function(e,t,n,r){var i,o,s,a=x.camelCase(t);return t=x.cssProps[a]||(x.cssProps[a]=At(e.style,a)),s=x.cssHooks[t]||x.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),i===undefined&&(i=vt(e,t,r)),"normal"===i&&t in St&&(i=St[t]),""===n||n?(o=parseFloat(i),n===!0||x.isNumeric(o)?o||0:i):i}}),vt=function(e,t,n){var r,i,o,s=n||qt(e),a=s?s.getPropertyValue(t)||s[t]:undefined,u=e.style;return s&&(""!==a||x.contains(e.ownerDocument,e)||(a=x.style(e,t)),Ct.test(a)&&wt.test(t)&&(r=u.width,i=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=s.width,u.width=r,u.minWidth=i,u.maxWidth=o)),a};function Ot(e,t,n){var r=Tt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function Ft(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,s=0;for(;4>o;o+=2)"margin"===n&&(s+=x.css(e,n+jt[o],!0,i)),r?("content"===n&&(s-=x.css(e,"padding"+jt[o],!0,i)),"margin"!==n&&(s-=x.css(e,"border"+jt[o]+"Width",!0,i))):(s+=x.css(e,"padding"+jt[o],!0,i),"padding"!==n&&(s+=x.css(e,"border"+jt[o]+"Width",!0,i)));return s}function Pt(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=qt(e),s=x.support.boxSizing&&"border-box"===x.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=vt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Ct.test(i))return i;r=s&&(x.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+Ft(e,t,n||(s?"border":"content"),r,o)+"px"}function Rt(e){var t=o,n=Nt[e];return n||(n=Mt(e,t),"none"!==n&&n||(xt=(xt||x("').appendTo("body"),$("#IframeReportImg").attr("src")!=a?$("#IframeReportImg").attr("src",a):"about:blank"!=$("#IframeReportImg").src&&window.frames.IframeReportImg.document.execCommand("SaveAs"))})),n.find(".luckysheet-model-cancel-btn").click((function(){$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()})),$("#luckysheet-confirm .luckysheet-model-copy-btn").click((function(){var e=new clipboard.DT;e.setData("text/html",""),"1"==Ml.isIE()?alert(r.rightclickTip):(clipboard.write(e),alert(r.successTip))}))},chartPointConfig:function(e,t,a){$("body").append(_m(bn,{id:e,addclass:"luckysheet-chart-point-config-c",title:"数据点批量设置",content:'
选择维度
排序
全选 - 清除 - 反选可以直接框选数据点
数据点设置
图形颜色
图形大小
图形形状
边框粗细
边框样式
边框颜色
文字标签
数值比例
小数位数
标签格式
数据名称
标签位置
',botton:'',style:"z-index:100003;height:80%;width:80%;top:10%;left:10%;"})),$("#luckysheet-modal-dialog-mask").show();var r=$(window).width(),n=$(window).height();$("#"+e).find(".luckysheet-chart-point-config").css("height",n-160),$("#"+e).css({height:n-90,width:r-100,left:7,top:14}).show().find(".luckysheet-model-save-btn").click((function(){"function"==typeof t&&t(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()})),$("#"+e).find(".luckysheet-model-save-btn").click((function(){"function"==typeof a&&a(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()}))},sheetConfig:function(){},hoverTipshowState:!1,hoverTipshowTimeOut:null,createHoverTip:function(e,t){var a=this;$(e).on("mouseover",t,(function(e){a.hoverTipshowState||(clearTimeout(a.hoverTipshowTimeOut),a.hoverTipshowTimeOut=setTimeout((function(){var t=$(e.currentTarget),a=t.offset(),r=$("#luckysheet-tooltip-up"),n=t.data("tips");if(null!=n&&0!=n.length||null!=(n=t.prev().data("tips"))&&0!=n.length){0==r.length&&($("body").append(''),r=$("#luckysheet-tooltip-up")),r.removeClass("jfk-tooltip-hide").find("div.jfk-tooltip-contentId").html(n);var l=r.outerWidth();r.find("div.jfk-tooltip-arrow").css("left",l/2);var i=a.left+(t.outerWidth()-l)/2;i<2&&(i=2,r.find("div.jfk-tooltip-arrow").css("left",t.outerWidth()/2)),r.css({top:a.top+t.outerHeight()+1,left:i})}}),300))})).on("mouseout",t,(function(e){a.hoverTipshowState=!1,clearTimeout(a.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")})).on("click",t,(function(e){a.hoverTipshowState=!0,clearTimeout(a.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")}))},popover:function(e,t,a,r,n,l){var i=gn(),o=i.button,s=i.paint;null==n&&(n=o.close);var c='
'+s.start+'
'+n+"
";$("#luckysheetpopover").remove(),$("body").append(c),$("#luckysheetpopover .luckysheetpopover-content").html(e);var u=$("#luckysheetpopover").outerWidth(),d=$("#luckysheetpopover").outerHeight(),h={};"topLeft"==t?(h.top="20px",h.left="20px"):"topCenter"==t?(h.top="20px",h.left="50%",h["margin-left"]=-u/2):"topRight"==t?(h.top="20px",h.right="20px"):"midLeft"==t?(h.top="50%",h["margin-top"]=-d/2,h.left="20px"):"center"==t?(h.top="50%",h["margin-top"]=-d/2,h.left="50%",h["margin-left"]=-u/2):"midRight"==t?(h.top="50%",h["margin-top"]=-d/2,h.right="20px"):"bottomLeft"==t?(h.bottom="20px",h.left="20px"):"bottomCenter"==t?(h.bottom="20px",h.left="50%",h["margin-left"]=-u/2):"bottomRight"==t?(h.bottom="20px",h.right="20px"):(h.top="20px",h.left="50%",h["margin-left"]=-u/2),"white"==r&&(h.background="rgba(255, 255, 255, 0.65)",h.color="#000",$("#luckysheetpopover .luckysheetpopover-btn").css({border:"1px solid #000"})),setTimeout((function(){$("#luckysheetpopover .luckysheetpopover-content").css({"margin-left":-$("#luckysheetpopover .luckysheetpopover-btn").outerWidth()/2})}),1),$("#luckysheetpopover").css(h).fadeIn(),$("#luckysheetpopover .luckysheetpopover-btn").click((function(){"function"==typeof l&&l()})),null!=a&&"number"==typeof a&&setTimeout((function(){$("#luckysheetpopover").fadeOut().remove(),"function"==typeof l&&l()}),a)}},gd={fileClone:[],editorRule:null,ruleTypeHtml:function(){var e=gn().conditionformat;return'
\n
\n \n '.concat(e.ruleTypeItem1,'\n
\n
\n \n ').concat(e.ruleTypeItem2,'\n
\n
\n \n ').concat(e.ruleTypeItem3,'\n
\n
\n \n ').concat(e.ruleTypeItem4,'\n
\n
\n \n ').concat(e.ruleTypeItem5,'\n
\n
\n \n ').concat(e.ruleTypeItem6,"\n
\n
")},textCellColorHtml:function(){var e=gn().conditionformat;return'
\n
\n \n \n \n
\n
\n \n \n \n
\n
')},selectRange:[],selectStatus:!1,dataBarList:[{format:["#638ec6","#ffffff"]},{format:["#63c384","#ffffff"]},{format:["#ff555a","#ffffff"]},{format:["#ffb628","#ffffff"]},{format:["#008aef","#ffffff"]},{format:["#d6007b","#ffffff"]},{format:["#638ec6"]},{format:["#63c384"]},{format:["#ff555a"]},{format:["#ffb628"]},{format:["#008aef"]},{format:["#d6007b"]}],colorGradationList:[{format:["rgb(99, 190, 123)","rgb(255, 235, 132)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(255, 235, 132)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(90, 138, 198)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(90, 138, 198)"]},{format:["rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)"]},{format:["rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(255, 235, 132)"]},{format:["rgb(255, 235, 132)","rgb(99, 190, 123)"]}],init:function(){var e=this,t=gn().conditionformat;$(document).off("change.CFchooseSheet").on("change.CFchooseSheet","#luckysheet-administerRule-dialog .chooseSheet",(function(){var t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();e.getConditionRuleList(t)})),$(document).off("click.CFadministerRuleItem").on("click.CFadministerRuleItem","#luckysheet-administerRule-dialog .ruleList .listBox .item",(function(){$(this).addClass("on").siblings().removeClass("on")})),$(document).off("click.CFadministerRuleConfirm").on("click.CFadministerRuleConfirm","#luckysheet-administerRule-dialog-confirm",(function(){if(yu(ga.currentSheetIndex)){for(var t=$.extend(!0,[],ga.luckysheetfile),a=e.getHistoryRules(t),r=$.extend(!0,[],e.fileClone),n=0;n0)for(var l=0;l1)return void e.infoDialog(t.onlySingleCell,"");if(1==g.length){var v=g[0].row[0],y=g[0].row[1],b=g[0].column[0],k=g[0].column[1];if(v!=y||b!=k)return void e.infoDialog(t.onlySingleCell,"");p=Ko(v,b,ga.flowdata),h.push({row:g[0].row,column:g[0].column}),m.push(p)}else if(0==g.length){if(isNaN(p)||""==p)return void e.infoDialog(t.conditionValueCanOnly,"");m.push(p)}var x=e.getRangeByTxt(f);if(x.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==x.length){var w=x[0].row[0],_=x[0].row[1],C=x[0].column[0],T=x[0].column[1];if(w!=_||C!=T)return void e.infoDialog(t.onlySingleCell,"");f=Ko(w,C,ga.flowdata),h.push({row:x[0].row,column:x[0].column}),m.push(f)}else if(0==x.length){if(isNaN(f)||""==f)return void e.infoDialog(t.conditionValueCanOnly,"");m.push(f)}}else{var A=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),S=e.getRangeByTxt(A);if(S.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==S.length){var I=S[0].row[0],R=S[0].row[1],q=S[0].column[0],D=S[0].column[1];if(I!=R||q!=D)return void e.infoDialog(t.onlySingleCell,"");A=Ko(I,q,ga.flowdata),h.push({row:S[0].row,column:S[0].column}),m.push(A)}else if(0==S.length){if(isNaN(A)||""==A)return void e.infoDialog(t.conditionValueCanOnly,"");m.push(A)}}else if("text"==l){d="textContains";var F=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),E=e.getRangeByTxt(F);if(E.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==E.length){var M=E[0].row[0],N=E[0].row[1],P=E[0].column[0],z=E[0].column[1];if(M!=N||P!=z)return void e.infoDialog(t.onlySingleCell,"");F=Ko(M,P,ga.flowdata),h.push({row:E[0].row,column:E[0].column}),m.push(F)}else if(0==E.length){if(""==F)return void e.infoDialog(t.conditionValueCanOnly,"");m.push(F)}}else if("date"==l){d="occurrenceDate";var L=$("#luckysheet-newConditionRule-dialog #daterange-btn").val();if(""==L||null==L)return void e.infoDialog(t.pleaseSelectADate,"");m.push(L)}}else if(2==n){"top"==l?d=$("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?"top10%":"top10":"last"==l&&(d=$("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?"last10%":"last10");var O=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim();if(parseInt(O)!=O||parseInt(O)<1||parseInt(O)>1e3)return void e.infoDialog(t.pleaseEnterInteger,"");m.push(parseInt(O))}else if(3==n)"AboveAverage"==l?(d="AboveAverage",m.push("AboveAverage")):"SubAverage"==l&&(d="SubAverage",m.push("SubAverage"));else if(4==n)d="duplicateValue",m.push(l);else if(5==n){d="formula";var B=$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val().trim();if(""==B)return void e.infoDialog("Condition value cannot be empty!","");m.push(B)}a={textColor:$("#luckysheet-newConditionRule-dialog #checkTextColor").is(":checked")?$("#luckysheet-newConditionRule-dialog #textcolorshow").spectrum("get").toHexString():null,cellColor:$("#luckysheet-newConditionRule-dialog #checkCellColor").is(":checked")?$("#luckysheet-newConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():null},r={type:"default",cellrange:$.extend(!0,[],ga.luckysheet_select_save),format:a,conditionName:d,conditionRange:h,conditionValue:m}}$("#luckysheet-newConditionRule-dialog").hide();var V=$(this).attr("data-source");if(0==V){$("#luckysheet-modal-dialog-mask").hide();var H=$.extend(!0,[],ga.luckysheetfile),U=e.getHistoryRules(H),j=null==ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save?[]:ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save;j.push(r),ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save=j;var G=$.extend(!0,[],ga.luckysheetfile),W=e.getCurrentRules(G);e.ref(U,W),pd.allowUpdate&&pd.saveParam("all",ga.currentSheetIndex,j,{k:"luckysheet_conditionformat_save"})}else if(1==V){var Y=e.fileClone[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save?e.fileClone[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save:[];Y.push(r),e.fileClone[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save=Y,e.administerRuleDialog()}}})),$(document).off("click.CFnewConditionRuleClose").on("click.CFnewConditionRuleClose","#luckysheet-newConditionRule-dialog-close",(function(){var e=$(this).attr("data-source");0==e&&$("#luckysheet-modal-dialog-mask").hide(),1==e&&$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-newConditionRule-dialog").hide(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()})),$(document).off("click.CFeditorConditionRule").on("click.CFeditorConditionRule","#editorConditionRule",(function(){var t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(yu(t)){var a=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item"),r={sheetIndex:t,itemIndex:a,data:e.fileClone[_l(t)].luckysheet_conditionformat_save[a]};e.editorRule=r,e.editorConditionRuleDialog()}})),$(document).off("click.CFeditorConditionRuleConfirm").on("click.CFeditorConditionRuleConfirm","#luckysheet-editorConditionRule-dialog-confirm",(function(){var a,r,n=$("#luckysheet-editorConditionRule-dialog .ruleTypeItem.on").index(),l=$("#luckysheet-editorConditionRule-dialog #type1 option:selected").val(),i=$("#luckysheet-editorConditionRule-dialog ."+l+"Box #type2 option:selected").val(),o=e.editorRule.data.cellrange;if(0==n){if("dataBar"==l){var s=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".dataBarBox .luckysheet-conditionformat-config-color").spectrum("get").toHexString();"gradient"==i?a=[s,"#ffffff"]:"solid"==i&&(a=[s]),r={type:"dataBar",cellrange:o,format:a}}else if("colorGradation"==l){var c=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),u=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),d=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString();"threeColor"==i?a=[c,u,d]:"twoColor"==i&&(a=[c,d]),r={type:"colorGradation",cellrange:o,format:a}}else if("icons"==l){r={type:"icons",cellrange:o,format:a={len:$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-len"),leftMin:$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-leftmin"),top:$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-top")}}}}else{var h="",m=[],p=[];if(1==n){if("number"==l)if(h=i,"betweenness"==i){var f=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),g=$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val().trim(),v=e.getRangeByTxt(f);if(v.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==v.length){var y=v[0].row[0],b=v[0].row[1],k=v[0].column[0],x=v[0].column[1];if(y!=b||k!=x)return void e.infoDialog(t.onlySingleCell,"");f=Ko(y,k,ga.flowdata),m.push({row:v[0].row,column:v[0].column}),p.push(f)}else if(0==v.length){if(isNaN(f)||""==f)return void e.infoDialog(t.conditionValueCanOnly,"");p.push(f)}var w=e.getRangeByTxt(g);if(w.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==w.length){var _=w[0].row[0],C=w[0].row[1],T=w[0].column[0],A=w[0].column[1];if(_!=C||T!=A)return void e.infoDialog(t.onlySingleCell,"");g=Ko(_,T,ga.flowdata),m.push({row:w[0].row,column:w[0].column}),p.push(g)}else if(0==w.length){if(isNaN(g)||""==g)return void e.infoDialog(t.conditionValueCanOnly,"");p.push(g)}}else{var S=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),I=e.getRangeByTxt(S);if(I.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==I.length){var R=I[0].row[0],q=I[0].row[1],D=I[0].column[0],F=I[0].column[1];if(R!=q||D!=F)return void e.infoDialog(t.onlySingleCell,"");S=Ko(R,D,ga.flowdata),m.push({row:I[0].row,column:I[0].column}),p.push(S)}else if(0==I.length){if(isNaN(S)||""==S)return void e.infoDialog(t.conditionValueCanOnly,"");p.push(S)}}else if("text"==l){h="textContains";var E=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),M=e.getRangeByTxt(E);if(M.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==M.length){var N=M[0].row[0],P=M[0].row[1],z=M[0].column[0],L=M[0].column[1];if(N!=P||z!=L)return void e.infoDialog(t.onlySingleCell,"");E=Ko(N,z,ga.flowdata),m.push({row:M[0].row,column:M[0].column}),p.push(E)}else if(0==M.length){if(isNaN(E)||""==E)return void e.infoDialog(t.conditionValueCanOnly,"");p.push(E)}}else if("date"==l){h="occurrenceDate";var O=$("#luckysheet-editorConditionRule-dialog #daterange-btn").val();if(""==O||null==O)return void e.infoDialog(t.pleaseSelectADate,"");p.push(O)}}else if(2==n){"top"==l?h=$("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?"top10%":"top10":"last"==l&&(h=$("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?"last10%":"last10");var B=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim();if(parseInt(B)!=B||parseInt(B)<1||parseInt(B)>1e3)return void e.infoDialog(t.pleaseEnterInteger,"");p.push(B)}else if(3==n)"AboveAverage"==l?(h="AboveAverage",p.push("AboveAverage")):"SubAverage"==l&&(h="SubAverage",p.push("SubAverage"));else if(4==n)h="duplicateValue",p.push(l);else if(5==n){h="formula";var V=$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val().trim();if(console.log(V),""==V)return void e.infoDialog("Condition value cannot be empty!","");p.push(V)}r={type:"default",cellrange:o,format:a={textColor:$("#luckysheet-editorConditionRule-dialog #checkTextColor").is(":checked")?$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("get").toHexString():null,cellColor:$("#luckysheet-editorConditionRule-dialog #checkCellColor").is(":checked")?$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():null},conditionName:h,conditionRange:m,conditionValue:p}}var H=e.editorRule.sheetIndex,U=e.editorRule.itemIndex;e.fileClone[_l(H)].luckysheet_conditionformat_save[U]=r,$("#luckysheet-editorConditionRule-dialog").hide(),e.administerRuleDialog()})),$(document).off("click.CFeditorConditionRuleClose").on("click.CFeditorConditionRuleClose","#luckysheet-editorConditionRule-dialog-close",(function(){$("#luckysheet-editorConditionRule-dialog").hide(),$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()})),$(document).off("click.CFnewEditorRuleItem").on("click.CFnewEditorRuleItem",".luckysheet-newEditorRule-dialog .ruleTypeItem",(function(){$(this).addClass("on").siblings().removeClass("on");var t=$(this).index();$(this).parents(".luckysheet-newEditorRule-dialog").find(".ruleExplainBox").html(e.getRuleExplain(t)),e.colorSelectInit()})),$(document).off("change.CFnewEditorRuleType1").on("change.CFnewEditorRuleType1",".luckysheet-newEditorRule-dialog #type1",(function(){var t=$(this).find("option:selected").val();"dataBar"!=t&&"colorGradation"!=t&&"icons"!=t&&"number"!=t&&"text"!=t&&"date"!=t||$(this).parents(".luckysheet-newEditorRule-dialog").find("."+t+"Box").show().siblings().hide(),"date"==t&&e.daterangeInit($(this).parents(".luckysheet-newEditorRule-dialog").attr("id"))})),$(document).off("change.CFnewEditorRuleType2").on("change.CFnewEditorRuleType2",".luckysheet-newEditorRule-dialog #type2",(function(){var e=$(this).parents(".luckysheet-newEditorRule-dialog").find("#type1 option:selected").val();if("colorGradation"==e)"threeColor"==$(this).find("option:selected").val()?$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").show():$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").hide();else if("number"==e){"betweenness"==$(this).find("option:selected").val()?($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").show(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").show()):($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").hide(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").hide())}})),$(document).off("click.CFiconsShowbox").on("click.CFiconsShowbox",".luckysheet-newEditorRule-dialog .iconsBox .showbox",(function(){$(this).parents(".iconsBox").find("ul").toggle()})),$(document).off("click.CFiconsLi").on("click.CFiconsLi",".luckysheet-newEditorRule-dialog .iconsBox li",(function(){var e=$(this).find("div").attr("data-len"),t=$(this).find("div").attr("data-leftmin"),a=$(this).find("div").attr("data-top"),r=$(this).find("div").attr("title"),n=$(this).find("div").css("background-position");$(this).parents(".iconsBox").find(".showbox .model").css("background-position",n),$(this).parents(".iconsBox").find(".showbox .model").attr("data-len",e),$(this).parents(".iconsBox").find(".showbox .model").attr("data-leftmin",t),$(this).parents(".iconsBox").find(".showbox .model").attr("data-top",a),$(this).parents(".iconsBox").find(".showbox .model").attr("title",r),$(this).parents("ul").hide()})),$(document).off("click.CFdeleteConditionRule").on("click.CFdeleteConditionRule","#deleteConditionRule",(function(){var t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(yu(t)){var a=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item");e.fileClone[_l(t)].luckysheet_conditionformat_save.splice(a,1),e.administerRuleDialog()}})),$(document).off("click.CFdefault").on("click.CFdefault","#luckysheet-conditionformat-dialog-confirm",(function(){if(yu(ga.currentSheetIndex)){var a,r,n=$("#luckysheet-conditionformat-dialog .box").attr("data-itemvalue"),l=[],i=[];if("greaterThan"==n||"lessThan"==n||"equal"==n||"textContains"==n){var o=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),s=e.getRangeByTxt(o);if(s.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==s.length){var c=s[0].row[0],u=s[0].row[1],d=s[0].column[0],h=s[0].column[1];if(c!=u||d!=h)return void e.infoDialog(t.onlySingleCell,"");o=Ko(c,d,ga.flowdata),l.push({row:s[0].row,column:s[0].column}),i.push(o)}else if(0==s.length){if(isNaN(o)||""==o)return void e.infoDialog(t.conditionValueCanOnly,"");i.push(o)}}else if("betweenness"==n){var m=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),p=$("#luckysheet-conditionformat-dialog #conditionVal2").val().trim(),f=e.getRangeByTxt(m);if(f.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==f.length){var g=f[0].row[0],v=f[0].row[1],y=f[0].column[0],b=f[0].column[1];if(g!=v||y!=b)return void e.infoDialog(t.onlySingleCell,"");m=Ko(g,y,ga.flowdata),l.push({row:f[0].row,column:f[0].column}),i.push(m)}else if(0==f.length){if(isNaN(m)||""==m)return void e.infoDialog(t.conditionValueCanOnly,"");i.push(m)}var k=e.getRangeByTxt(p);if(k.length>1)return void e.infoDialog(t.onlySingleCell,"");if(1==k.length){var x=k[0].row[0],w=k[0].row[1],_=k[0].column[0],C=k[0].column[1];if(x!=w||_!=C)return void e.infoDialog(t.onlySingleCell,"");p=Ko(x,_,ga.flowdata),l.push({row:k[0].row,column:k[0].column}),i.push(p)}else if(0==k.length){if(isNaN(p)||""==p)return void e.infoDialog(t.conditionValueCanOnly,"");i.push(p)}}else if("occurrenceDate"==n){var T=$("#luckysheet-conditionformat-dialog #daterange-btn").val();if(""==T||null==T)return void e.infoDialog(t.pleaseSelectADate,"");i.push(T)}else if("duplicateValue"==n)i.push($("#luckysheet-conditionformat-dialog #conditionVal option:selected").val());else if("top10"==n||"top10%"==n||"last10"==n||"last10%"==n){var A=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim();if(parseInt(A)!=A||parseInt(A)<1||parseInt(A)>1e3)return void e.infoDialog(t.pleaseEnterInteger,"");i.push(A)}else"AboveAverage"==n?i.push("AboveAverage"):"SubAverage"==n&&i.push("SubAverage");a=$("#checkTextColor").is(":checked")?$("#textcolorshow").spectrum("get").toHexString():null,r=$("#checkCellColor").is(":checked")?$("#cellcolorshow").spectrum("get").toHexString():null;var S=$.extend(!0,[],ga.luckysheetfile),I=e.getHistoryRules(S),R={type:"default",cellrange:$.extend(!0,[],ga.luckysheet_select_save),format:{textColor:a,cellColor:r},conditionName:n,conditionRange:l,conditionValue:i},q=null==ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save?[]:ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save;q.push(R),ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save=q;var D=$.extend(!0,[],ga.luckysheetfile),F=e.getCurrentRules(D);e.ref(I,F),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-conditionformat-dialog").hide(),pd.allowUpdate&&pd.saveParam("all",ga.currentSheetIndex,q,{k:"luckysheet_conditionformat_save"})}})),$(document).off("click.CFicons").on("click.CFicons","#luckysheet-CFicons-dialog .item",(function(){if($("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-CFicons-dialog").hide(),ga.luckysheet_select_save.length>0){var t=$.extend(!0,[],ga.luckysheet_select_save),a={len:$(this).attr("data-len"),leftMin:$(this).attr("data-leftMin"),top:$(this).attr("data-top")};e.updateItem("icons",t,a)}})),$(document).on("click",".range .fa-table",(function(){var t,a=$(this).parents(".luckysheet-modal-dialog").attr("id");if($("#"+a).hide(),"luckysheet-conditionformat-dialog"==a)t="conditionVal"==$(this).siblings("input").attr("id")?"0_1":"0_2";else if("luckysheet-newConditionRule-dialog"==a){var r=$(this).parents(".range").attr("id");t="formulaConditionVal"==r?"1_0":"conditionVal"==r?"1_1":"1_2"}else if("luckysheet-editorConditionRule-dialog"==a){var n=$(this).parents(".range").attr("id");t="formulaConditionVal"==n?"2_0":"conditionVal"==n?"2_1":"2_2"}var l=$(this).siblings("input").val();e.singleRangeDialog(t,l),Eh(e.getRangeByTxt(l))})),$(document).on("click","#luckysheet-singleRange-dialog-confirm",(function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();var e=$(this).attr("data-source"),t=$(this).parents("#luckysheet-singleRange-dialog").find("input").val();"0_1"==e?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal").val(t)):"0_2"==e?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal2").val(t)):"1_0"==e?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val(t)):"1_1"==e?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal input").val(t)):"1_2"==e?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal2 input").val(t)):"2_0"==e?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(t)):"2_1"==e?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal input").val(t)):"2_2"==e&&($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val(t));Eh([])})),$(document).on("click","#luckysheet-singleRange-dialog-close",(function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();var e=$(this).attr("data-source");"0_1"==e||"0_2"==e?$("#luckysheet-conditionformat-dialog").show():"1_0"==e||"1_1"==e||"1_2"==e?$("#luckysheet-newConditionRule-dialog").show():"2_0"!=e&&"2_1"!=e&&"2_2"!=e||$("#luckysheet-editorConditionRule-dialog").show();Eh([])})),$(document).on("click",".luckysheet-modal-dialog-title-close",(function(){var e=$(this).parents(".luckysheet-modal-dialog").attr("id");"luckysheet-newConditionRule-dialog"==e&&(1==$("#"+e).find("#luckysheet-newConditionRule-dialog-close").attr("data-source")&&$("#luckysheet-administerRule-dialog").show());if("luckysheet-editorConditionRule-dialog"==e&&$("#luckysheet-administerRule-dialog").show(),"luckysheet-singleRange-dialog"==e){$("#luckysheet-modal-dialog-mask").show();var t=$(this).parents("#luckysheet-singleRange-dialog").find("#luckysheet-singleRange-dialog-confirm").attr("data-source");"0_1"==t||"0_2"==t?$("#luckysheet-conditionformat-dialog").show():"1_1"==t||"1_2"==t?$("#luckysheet-newConditionRule-dialog").show():"2_1"!=t&&"2_2"!=t||$("#luckysheet-editorConditionRule-dialog").show();Eh([])}if("luckysheet-multiRange-dialog"==e){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show();Eh([])}"luckysheet-conditionformat-info-dialog"==e&&$("#luckysheet-modal-dialog-mask").show()})),$(document).on("click","#luckysheet-conditionformat-info-dialog-close",(function(){$(this).parents("#luckysheet-conditionformat-info-dialog").hide()}))},singleRangeDialog:function(e,t){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-singleRange-dialog").remove();var a=gn().conditionformat;$("body").append(_m(bn,{id:"luckysheet-singleRange-dialog",addclass:"luckysheet-singleRange-dialog",title:a.selectCell,content:''),botton:'\n "),style:"z-index:100003"}));var r=$("#luckysheet-singleRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),n=r.outerHeight(),l=r.outerWidth(),i=$(window).width(),o=$(window).height(),s=$(document).scrollLeft(),c=$(document).scrollTop();$("#luckysheet-singleRange-dialog").css({left:(i+s-l)/2,top:(o+c-n)/3}).show()},multiRangeDialog:function(e,t){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-multiRange-dialog").remove();var a=gn().conditionformat;$("body").append(_m(bn,{id:"luckysheet-multiRange-dialog",addclass:"luckysheet-multiRange-dialog",title:a.selectRange,content:''),botton:'\n "),style:"z-index:100003"}));var r=$("#luckysheet-multiRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),n=r.outerHeight(),l=r.outerWidth(),i=$(window).width(),o=$(window).height(),s=$(document).scrollLeft(),c=$(document).scrollTop();$("#luckysheet-multiRange-dialog").css({left:(i+s-l)/2,top:(o+c-n)/3}).show(),Eh(this.getRangeByTxt(t))},getTxtByRange:function(e){if(e.length>0){for(var t=[],a=0;a'.concat(a.confirm,'\n "),style:"z-index:9999"}));var r=$("#luckysheet-conditionformat-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),n=r.outerHeight(),l=r.outerWidth(),i=$(window).width(),o=$(window).height(),s=$(document).scrollLeft(),c=$(document).scrollTop();$("#luckysheet-conditionformat-dialog").css({left:(i+s-l)/2,top:(o+c-n)/3}).show(),this.init(),this.colorSelectInit(),e==gn().conditionformat.conditionformat_occurrenceDate&&this.daterangeInit("luckysheet-conditionformat-dialog")},CFiconsDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-CFicons-dialog").remove();var e=gn().conditionformat,t='
\n
'.concat(e.pleaseSelectIcon,'
\n
').concat(e.direction,'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
').concat(e.shape,'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
').concat(e.mark,'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
').concat(e.grade,'
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
');$("body").append(_m(bn,{id:"luckysheet-CFicons-dialog",addclass:"luckysheet-CFicons-dialog",title:e.icons,content:t,botton:'"),style:"z-index:100003"}));var a=$("#luckysheet-CFicons-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),r=a.outerHeight(),n=a.outerWidth(),l=$(window).width(),i=$(window).height(),o=$(document).scrollLeft(),s=$(document).scrollTop();$("#luckysheet-CFicons-dialog").css({left:(l+o-n)/2,top:(i+s-r)/3}).show()},administerRuleDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").remove();for(var e=gn().conditionformat,t="",a=0;a\n ').concat(e.currentSheet,":").concat(ga.luckysheetfile[a].name,"\n "):t+='");var r='
\n \n \n
\n
\n
\n \n \n \n
\n
\n
\n ').concat(e.rule,"\n ").concat(e.format,"\n ").concat(e.applyRange,'\n
\n
\n
\n
');$("body").append(_m(bn,{id:"luckysheet-administerRule-dialog",addclass:"luckysheet-administerRule-dialog",title:e.conditionformatManageRules,content:r,botton:'\n "),style:"z-index:100003"}));var n=$("#luckysheet-administerRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),l=n.outerHeight(),i=n.outerWidth(),o=$(window).width(),s=$(window).height(),c=$(document).scrollLeft(),u=$(document).scrollTop();$("#luckysheet-administerRule-dialog").css({left:(o+c-i)/2,top:(s+u-l)/3}).show();var d=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();this.getConditionRuleList(d)},getConditionRuleList:function(e){$("#luckysheet-administerRule-dialog .ruleList .listBox").empty();var t=this.fileClone[_l(e)].luckysheet_conditionformat_save;if(null!=t&&t.length>0){for(var a=gn().conditionformat,r=0;r'):"colorGradation"==n?(o=a.colorGradation,s=''):"icons"==n?(o=a.icons,s=''):(o=this.getConditionRuleName(t[r].conditionName,t[r].conditionRange,t[r].conditionValue),null!=l.textColor&&(s+=''),null!=l.cellColor&&(s+=''));for(var c=[],u=0;u
'+o+'
'+s+'
';$("#luckysheet-administerRule-dialog .ruleList .listBox").prepend(f)}$("#luckysheet-administerRule-dialog .ruleList .listBox .item canvas").each((function(e){var a=$(this).closest(".item").attr("data-item"),r=t[a].type,n=t[a].format,l=$(this).get(0).getContext("2d");if("dataBar"==r)if(2==n.length){var i=l.createLinearGradient(0,0,46,0);i.addColorStop(0,n[0]),i.addColorStop(1,n[1]),l.fillStyle=i,l.fillRect(0,0,46,18),l.beginPath(),l.moveTo(0,0),l.lineTo(0,18),l.lineTo(46,18),l.lineTo(46,0),l.lineTo(0,0),l.lineWidth=ga.devicePixelRatio,l.strokeStyle=n[0],l.stroke(),l.closePath()}else 1==n.length&&(l.fillStyle=n[0],l.fillRect(0,0,46,18),l.beginPath(),l.moveTo(0,0),l.lineTo(0,18),l.lineTo(46,18),l.lineTo(46,0),l.lineTo(0,0),l.lineWidth=ga.devicePixelRatio,l.strokeStyle=n[0],l.stroke(),l.closePath());else if("colorGradation"==r){var o=l.createLinearGradient(0,0,46,0);3==n.length?(o.addColorStop(0,n[0]),o.addColorStop(.5,n[1]),o.addColorStop(1,n[2])):2==n.length&&(o.addColorStop(0,n[0]),o.addColorStop(1,n[1])),l.fillStyle=o,l.fillRect(0,0,46,18)}else if("icons"==r){var s=n.len,c=n.leftMin,u=n.top,d=32*s+10*(s-1),h=1472/d;"0"==c?l.drawImage(Un,0,32*u,d,32,0,(18-h)/2,46,h):"5"==c&&l.drawImage(Un,210,32*u,d,32,0,(18-h)/2,46,h)}})),$("#luckysheet-administerRule-dialog .ruleList .listBox .item").eq(0).addClass("on")}},getConditionRuleName:function(e,t,a){var r;r=null!=t[0]?Im(t[0].column[0])+(t[0].row[0]+1):a[0];var n,l=gn().conditionformat;if("greaterThan"==e)return l.cellValue+" > "+r;if("lessThan"==e)return l.cellValue+" < "+r;if("betweenness"==e)return n=null!=t[1]?Im(t[1].column[0])+(t[1].row[0]+1):a[1],l.cellValue+" "+l.between+" "+r+" "+l.in+" "+n+" "+l.between2;if("equal"==e)return l.cellValue+" = "+r;if("textContains"==e)return l.cellValue+l.contain+" ="+r;if("occurrenceDate"==e)return a;if("duplicateValue"==e){if("0"==a)return l.duplicateValue;if("1"==a)return l.uniqueValue}else{if("top10"==e)return l.top+" "+r+" "+l.oneself;if("top10%"==e)return l.top+" "+r+"% "+l.oneself;if("last10"==e)return l.last+" "+r+" "+l.oneself;if("last10%"==e)return l.last+" "+r+"% "+l.oneself;if("AboveAverage"==e)return l.aboveAverage;if("SubAverage"==e)return l.belowAverage;if("formula"==e)return"="!=r.slice(0,1)&&(r="="+r),l.formula+": "+r}},newConditionRuleDialog:function(e){var t=gn().conditionformat,a=this.getRuleExplain(0);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-newConditionRule-dialog").remove();var r='
'+t.chooseRuleType+":
"+this.ruleTypeHtml()+'
'+t.editRuleDescription+':
'+a+"
";$("body").append(_m(bn,{id:"luckysheet-newConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:t.newFormatRule,content:r,botton:'\n "),style:"z-index:100003"}));var n=$("#luckysheet-newConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),l=n.outerHeight(),i=n.outerWidth(),o=$(window).width(),s=$(window).height(),c=$(document).scrollLeft(),u=$(document).scrollTop();$("#luckysheet-newConditionRule-dialog").css({left:(o+c-i)/2,top:(s+u-l)/3}).show(),$("#luckysheet-newConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq(0)").addClass("on").siblings().removeClass("on"),this.colorSelectInit()},editorConditionRuleDialog:function(){var e=gn().conditionformat,t=this.editorRule.data;if(null!=t){var a,r,n=t.type,l=t.format,i=t.conditionName;"dataBar"==n||"colorGradation"==n||"icons"==n?(a=0,r=n):"greaterThan"==i||"lessThan"==i||"betweenness"==i||"equal"==i||"textContains"==i||"occurrenceDate"==i?(a=1,"greaterThan"==i||"lessThan"==i||"betweenness"==i||"equal"==i?r="number":"textContains"==i?r="text":"occurrenceDate"==i&&(r="date")):"top10"==i||"top10%"==i||"last10"==i||"last10%"==i?(a=2,"top10"==i||"top10%"==i?r="top":"last10"!=i&&"last10%"!=i||(r="last")):"AboveAverage"==i||"SubAverage"==i?(a=3,r=i):"duplicateValue"==i?(a=4,r=t.conditionValue):"formula"==i&&(a=5);var o=this.getRuleExplain(a);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-editorConditionRule-dialog").remove();var s='
'+e.chooseRuleType+":
"+this.ruleTypeHtml()+'
'+e.editRuleDescription+':
'+o+"
";$("body").append(_m(bn,{id:"luckysheet-editorConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:e.editFormatRule,content:s,botton:'\n "),style:"z-index:100003"}));var c=$("#luckysheet-editorConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),u=c.outerHeight(),d=c.outerWidth(),h=$(window).width(),m=$(window).height(),p=$(document).scrollLeft(),f=$(document).scrollTop();if($("#luckysheet-editorConditionRule-dialog").css({left:(h+p-d)/2,top:(m+f-u)/3}).show(),this.colorSelectInit(),$("#luckysheet-editorConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq("+a+")").addClass("on").siblings().removeClass("on"),$("#luckysheet-editorConditionRule-dialog #type1").val(r),"dataBar"!=r&&"colorGradation"!=r&&"icons"!=r&&"number"!=r&&"text"!=r&&"date"!=r||($("#luckysheet-editorConditionRule-dialog ."+r+"Box").show(),$("#luckysheet-editorConditionRule-dialog ."+r+"Box").siblings().hide()),"date"==r&&this.daterangeInit("luckysheet-editorConditionRule-dialog"),"dataBar"==n||"colorGradation"==n||"icons"==n){if("dataBar"==r)2==l.length?$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("gradient"):1==l.length&&$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("solid"),$("#luckysheet-editorConditionRule-dialog .dataBarBox .luckysheet-conditionformat-config-color").spectrum("set",l[0]);else if("colorGradation"==r)3==l.length?($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("threeColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").show(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",l[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("set",l[1]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",l[2])):2==l.length&&($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("twoColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").hide(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",l[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",l[1]));else if("icons"==r){var g=l.len,v=l.leftMin,y=l.top;$("#luckysheet-editorConditionRule-dialog .iconsBox li").each((function(e,t){if($(t).find("div").attr("data-len")==g&&$(t).find("div").attr("data-leftmin")==v&&$(t).find("div").attr("data-top")==y)return $("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").css("background-position",$(t).find("div").css("background-position")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-len",$(t).find("div").attr("data-len")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-leftmin",$(t).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-top",$(t).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("title",$(t).find("div").attr("title")),!0}))}}else{var b,k;if("number"==r)if($("#luckysheet-editorConditionRule-dialog .numberBox #type2").val(i),b=null!=t.conditionRange[0]?Cl(ga.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},ga.currentSheetIndex):t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal input").val(b),"betweenness"==i)$("#luckysheet-editorConditionRule-dialog .numberBox .txt").show(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").show(),k=null!=t.conditionRange[1]?Cl(ga.currentSheetIndex,{row:t.conditionRange[1].row,column:t.conditionRange[1].column},ga.currentSheetIndex):t.conditionValue[1],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2 input").val(k);else $("#luckysheet-editorConditionRule-dialog .numberBox .txt").hide(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").hide();else if("text"==r){var x;x=null!=t.conditionRange[0]?Cl(ga.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},ga.currentSheetIndex):t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .textBox #conditionVal input").val(x)}else if("date"==r){this.daterangeInit("luckysheet-editorConditionRule-dialog");var w=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog .dateBox #daterange-btn").val(w)}else if("top"==r||"last"==r){t.conditionValue[0];"top10%"!=i&&"last10%"!=i||$("#luckysheet-editorConditionRule-dialog #isPercent").attr("checked","checked")}else if("formula"==i){var _=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(_)}$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("set",l.textColor),$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("set",l.cellColor)}}},infoDialog:function(e,t){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-conditionformat-info-dialog").remove(),$("body").append(_m(bn,{id:"luckysheet-conditionformat-info-dialog",addclass:"",title:e,content:t,botton:'"),style:"z-index:100003"}));var a=$("#luckysheet-conditionformat-info-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),r=a.outerHeight(),n=a.outerWidth(),l=$(window).width(),i=$(window).height(),o=$(document).scrollLeft(),s=$(document).scrollTop();$("#luckysheet-conditionformat-info-dialog").css({left:(l+o-n)/2,top:(i+s-r)/3}).show()},getRuleExplain:function(e){var t,a=gn().conditionformat,r=this.textCellColorHtml();switch(e){case 0:t='
'.concat(a.ruleTypeItem1,':
\n
\n \n \n
\n
\n
\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
');break;case 1:t='
'.concat(a.ruleTypeItem2_title,':
\n
\n \n
\n
\n \n
\n \n \n
\n \n \n
\n \n \n
\n
\n
').concat(a.setFormat,":
").concat(r);break;case 2:t='
'.concat(a.ruleTypeItem3_title,':
\n
\n \n
\n \n
\n \n \n
\n
').concat(a.setFormat,":
").concat(r);break;case 3:t='
'.concat(a.ruleTypeItem4_title,':
\n
\n \n ').concat(a.selectRange_average,'\n
\n
').concat(a.setFormat,":
").concat(r);break;case 4:t='
'.concat(a.all,':
\n
\n \n ').concat(a.selectRange_value,'\n
\n
').concat(a.setFormat,":
").concat(r);break;case 5:t='
'.concat(a.ruleTypeItem2_title,':
\n
\n
\n \n \n
\n
\n
').concat(a.setFormat,":
").concat(r)}return t},daterangeInit:function(e){var t=gn().conditionformat;$(".ranges_1 ul").remove(),$("#"+e).find("#daterange-btn").flatpickr({mode:"range",onChange:function(e,a){var r=qa(e,2),n=r[0],l=r[1],i=[t.yesterday,t.today],o=[t.lastWeek,t.thisWeek,t.lastMonth,t.thisMonth,t.lastYear,t.thisYear,t.last7days,t.last30days];a==t.all?$("#daterange-btn").val(""):i.indexOf(a)>-1?$("#daterange-btn").val(us(n).format("YYYY/MM/DD")):o.indexOf(a)>-1&&$("#daterange-btn").val(us(n).format("YYYY/MM/DD")+"-"+us(l).format("YYYY/MM/DD"))}})},CFSplitRange:function(e,t,a,r){var n=[],l=a.row[0]-t.row[0],i=a.column[0]-t.column[0],o=e.row[0],s=e.row[1],c=e.column[0],u=e.column[1];return o>=t.row[0]&&s<=t.row[1]&&c>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o+l,s+l],column:[c+i,u+i]}]:"restPart"==r?n=[]:"operatePart"==r&&(n=[{row:[o+l,s+l],column:[c+i,u+i]}]):o>=t.row[0]&&o<=t.row[1]&&c>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[t.row[1]+1,s],column:[c,u]},{row:[o+l,t.row[1]+l],column:[c+i,u+i]}]:"restPart"==r?n=[{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[o+l,t.row[1]+l],column:[c+i,u+i]}]):s>=t.row[0]&&s<=t.row[1]&&c>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0]+l,s+l],column:[c+i,u+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,s+l],column:[c+i,u+i]}]):ot.row[1]&&c>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[1]+1,s],column:[c,u]},{row:[t.row[0]+l,t.row[1]+l],column:[c+i,u+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,t.row[1]+l],column:[c+i,u+i]}]):c>=t.column[0]&&c<=t.column[1]&&o>=t.row[0]&&s<=t.row[1]?"allPart"==r?n=[{row:[o,s],column:[t.column[1]+1,u]},{row:[o+l,s+l],column:[c+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,s],column:[t.column[1]+1,u]}]:"operatePart"==r&&(n=[{row:[o+l,s+l],column:[c+i,t.column[1]+i]}]):u>=t.column[0]&&u<=t.column[1]&&o>=t.row[0]&&s<=t.row[1]?"allPart"==r?n=[{row:[o,s],column:[c,t.column[0]-1]},{row:[o+l,s+l],column:[t.column[0]+i,u+i]}]:"restPart"==r?n=[{row:[o,s],column:[c,t.column[0]-1]}]:"operatePart"==r&&(n=[{row:[o+l,s+l],column:[t.column[0]+i,u+i]}]):ct.column[1]&&o>=t.row[0]&&s<=t.row[1]?"allPart"==r?n=[{row:[o,s],column:[c,t.column[0]-1]},{row:[o,s],column:[t.column[1]+1,u]},{row:[o+l,s+l],column:[t.column[0]+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,s],column:[c,t.column[0]-1]},{row:[o,s],column:[t.column[1]+1,u]}]:"operatePart"==r&&(n=[{row:[o+l,s+l],column:[t.column[0]+i,t.column[1]+i]}]):o>=t.row[0]&&o<=t.row[1]&&c>=t.column[0]&&c<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]},{row:[o+l,t.row[1]+l],column:[c+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[o+l,t.row[1]+l],column:[c+i,t.column[1]+i]}]):o>=t.row[0]&&o<=t.row[1]&&u>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[1]+1,s],column:[c,u]},{row:[o+l,t.row[1]+l],column:[t.column[0]+i,u+i]}]:"restPart"==r?n=[{row:[o,t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[o+l,t.row[1]+l],column:[t.column[0]+i,u+i]}]):s>=t.row[0]&&s<=t.row[1]&&c>=t.column[0]&&c<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[t.column[1]+1,u]},{row:[t.row[0]+l,s+l],column:[c+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[t.column[1]+1,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,s+l],column:[c+i,t.column[1]+i]}]):s>=t.row[0]&&s<=t.row[1]&&u>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[c,t.column[0]-1]},{row:[t.row[0]+l,s+l],column:[t.column[0]+i,u+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[c,t.column[0]-1]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,s+l],column:[t.column[0]+i,u+i]}]):ot.row[1]&&c>=t.column[0]&&c<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]},{row:[t.row[0]+l,t.row[1]+l],column:[c+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,t.row[1]+l],column:[c+i,t.column[1]+i]}]):ot.row[1]&&u>=t.column[0]&&u<=t.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[1]+1,s],column:[c,u]},{row:[t.row[0]+l,t.row[1]+l],column:[t.column[0]+i,u+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,t.row[1]+l],column:[t.column[0]+i,u+i]}]):ct.column[1]&&o>=t.row[0]&&o<=t.row[1]?"allPart"==r?n=[{row:[o,t.row[1]],column:[c,t.column[0]-1]},{row:[o,t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]},{row:[o+l,t.row[1]+l],column:[t.column[0]+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[1]],column:[c,t.column[0]-1]},{row:[o,t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[o+l,t.row[1]+l],column:[t.column[0]+i,t.column[1]+i]}]):ct.column[1]&&s>=t.row[0]&&s<=t.row[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[c,t.column[0]-1]},{row:[t.row[0],s],column:[t.column[1]+1,u]},{row:[t.row[0]+l,s+l],column:[t.column[0]+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],s],column:[c,t.column[0]-1]},{row:[t.row[0],s],column:[t.column[1]+1,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,s+l],column:[t.column[0]+i,t.column[1]+i]}]):ot.row[1]&&ct.column[1]?"allPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[0],t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]},{row:[t.row[0]+l,t.row[1]+l],column:[t.column[0]+i,t.column[1]+i]}]:"restPart"==r?n=[{row:[o,t.row[0]-1],column:[c,u]},{row:[t.row[0],t.row[1]],column:[c,t.column[0]-1]},{row:[t.row[0],t.row[1]],column:[t.column[1]+1,u]},{row:[t.row[1]+1,s],column:[c,u]}]:"operatePart"==r&&(n=[{row:[t.row[0]+l,t.row[1]+l],column:[t.column[0]+i,t.column[1]+i]}]):"allPart"==r||"restPart"==r?n=[{row:[o,s],column:[c,u]}]:"operatePart"==r&&(n=[]),n},getcolorGradation:function(e,t,a,r,n){var l=e.split(","),i=parseInt(l[0].split("(")[1]),o=parseInt(l[1]),s=parseInt(l[2].split(")")[0]),c=t.split(","),u=parseInt(c[0].split("(")[1]),d=parseInt(c[1]),h=parseInt(c[2].split(")")[0]);return"rgb("+Math.round(i-(i-u)/(a-r)*(a-n))+", "+Math.round(o-(o-d)/(a-r)*(a-n))+", "+Math.round(s-(s-h)/(a-r)*(a-n))+")"},getCFPartRange:function(e,t,a){var r=[],n=ga.luckysheetfile[_l(e)].luckysheet_conditionformat_save;if(null!=n&&n.length>0)e:for(var l=0;l=s&&range[h].row[0]<=c||range[h].row[1]>=s&&range[h].row[1]<=c||range[h].column[0]>=u&&range[h].column[0]<=d||range[h].column[1]>=u&&range[h].column[1]<=d){r.push(n[l]);continue e}return r},checksCF:function(e,t,a){return null!=a&&e+"_"+t in a?a[e+"_"+t]:null},getComputeMap:function(e){var t=_l(ga.currentSheetIndex);null!=e&&(t=_l(e));var a=ga.luckysheetfile[t].luckysheet_conditionformat_save,r=ga.luckysheetfile[t].data;return null==r?null:this.compute(a,r)},compute:function(e,t){null==e&&(e=[]);var a={};if(e.length>0)for(var r=0;ro)&&(o=parseInt(h.v)),(null==s||parseInt(h.v)0){var k=Math.round(parseInt(y.v)/o*100)/100;g+"_"+v in a?a[g+"_"+v].dataBar={valueType:"plus",plusLen:m,minusLen:p,valueLen:k,format:i}:a[g+"_"+v]={dataBar:{valueType:"plus",plusLen:m,minusLen:p,valueLen:k,format:i}}}}}}else for(var x=0;xA)&&(A=parseInt(F.v)),(null==S||parseInt(F.v)S&&parseInt(z.v)E&&parseInt(z.v)S&&parseInt(V.v)G)&&(G=parseInt(Z.v)),(null==W||parseInt(Z.v)=ee[0]&&parseInt(ie.v)<=ee[1]?ne+"_"+le in a?a[ne+"_"+le].icons={left:U+2,top:j}:a[ne+"_"+le]={icons:{left:U+2,top:j}}:parseInt(ie.v)>=te[0]&&parseInt(ie.v)<=te[1]?ne+"_"+le in a?a[ne+"_"+le].icons={left:U+1,top:j}:a[ne+"_"+le]={icons:{left:U+1,top:j}}:parseInt(ie.v)>=ae[0]&&parseInt(ie.v)<=ae[1]&&(ne+"_"+le in a?a[ne+"_"+le].icons={left:U,top:j}:a[ne+"_"+le]={icons:{left:U,top:j}}))}}else if(4==H){var oe=void 0,se=void 0,ce=void 0,ue=void 0;2==J?(oe=[W,W+Q],se=[W+Q+1,W+2*Q],ce=[W+2*Q+1,W+3*Q],ue=[W+3*Q+1,G]):3==J?(oe=[W,W+Q],se=[W+Q+1,W+2*Q],ce=[W+2*Q+1,W+3*Q+1],ue=[W+3*Q+2,G]):(oe=[W,W+Q-1],se=[W+Q,W+2*Q-1],ce=[W+2*Q,W+3*Q-1],ue=[W+3*Q,G]);for(var de=0;de=oe[0]&&parseInt(pe.v)<=oe[1]?he+"_"+me in a?a[he+"_"+me].icons={left:U+3,top:j}:a[he+"_"+me]={icons:{left:U+3,top:j}}:parseInt(pe.v)>=se[0]&&parseInt(pe.v)<=se[1]?he+"_"+me in a?a[he+"_"+me].icons={left:U+2,top:j}:a[he+"_"+me]={icons:{left:U+2,top:j}}:parseInt(pe.v)>=ce[0]&&parseInt(pe.v)<=ce[1]?he+"_"+me in a?a[he+"_"+me].icons={left:U+1,top:j}:a[he+"_"+me]={icons:{left:U+1,top:j}}:parseInt(pe.v)>=ue[0]&&parseInt(pe.v)<=ue[1]&&(he+"_"+me in a?a[he+"_"+me].icons={left:U,top:j}:a[he+"_"+me]={icons:{left:U,top:j}}))}}else if(5==H){var fe=void 0,ge=void 0,ve=void 0,ye=void 0,be=void 0;2==J?(fe=[W,W+Q],ge=[W+Q+1,W+2*Q],ve=[W+2*Q+1,W+3*Q],ye=[W+3*Q+1,W+4*Q],be=[W+4*Q+1,G]):3==J?(fe=[W,W+Q],ge=[W+Q+1,W+2*Q],ve=[W+2*Q+1,W+3*Q+1],ye=[W+3*Q+2,W+4*Q+1],be=[W+4*Q+2,G]):4==J?(fe=[W,W+Q],ge=[W+Q+1,W+2*Q+1],ve=[W+2*Q+2,W+3*Q+1],ye=[W+3*Q+2,W+4*Q+2],be=[W+4*Q+3,G]):(fe=[W,W+Q-1],ge=[W+Q,W+2*Q-1],ve=[W+2*Q,W+3*Q-1],ye=[W+3*Q,W+4*Q-1],be=[W+4*Q,G]);for(var ke=0;ke=fe[0]&&parseInt(_e.v)<=fe[1]?xe+"_"+we in a?a[xe+"_"+we].icons={left:U+4,top:j}:a[xe+"_"+we]={icons:{left:U+4,top:j}}:parseInt(_e.v)>=ge[0]&&parseInt(_e.v)<=ge[1]?xe+"_"+we in a?a[xe+"_"+we].icons={left:U+3,top:j}:a[xe+"_"+we]={icons:{left:U+3,top:j}}:parseInt(_e.v)>=ve[0]&&parseInt(_e.v)<=ve[1]?xe+"_"+we in a?a[xe+"_"+we].icons={left:U+2,top:j}:a[xe+"_"+we]={icons:{left:U+2,top:j}}:parseInt(_e.v)>=ye[0]&&parseInt(_e.v)<=ye[1]?xe+"_"+we in a?a[xe+"_"+we].icons={left:U+1,top:j}:a[xe+"_"+we]={icons:{left:U+1,top:j}}:parseInt(_e.v)>=be[0]&&parseInt(_e.v)<=be[1]&&(xe+"_"+we in a?a[xe+"_"+we].icons={left:U,top:j}:a[xe+"_"+we]={icons:{left:U,top:j}}))}}}}else for(var Ce=e[r].conditionName,Te=e[r].conditionValue[0],Ae=e[r].conditionValue[1],Se=i.textColor,Ie=i.cellColor,Re=0;ReTe||"lessThan"==Ce&&De.vAe?(Fe=Te,Ee=Ae):(Fe=Ae,Ee=Te);for(var Me=l[Re].row[0];Me<=l[Re].row[1];Me++)for(var Ne=l[Re].column[0];Ne<=l[Re].column[1];Ne++)if(null!=t[Me]&&null!=t[Me][Ne]){var Pe=t[Me][Ne];"object"!=Cm(Pe)||ya(Pe.v)||Pe.v>=Ee&&Pe.v<=Fe&&(Me+"_"+Ne in a?(a[Me+"_"+Ne].textColor=Se,a[Me+"_"+Ne].cellColor=Ie):a[Me+"_"+Ne]={textColor:Se,cellColor:Ie})}}else if("occurrenceDate"==Ce){var ze=void 0,Le=void 0;if(-1==Te.toString().indexOf("-"))ze=xs(Te)[2],Le=xs(Te)[2];else{var Oe=Te.toString().split("-");ze=xs(Oe[1].trim())[2],Le=xs(Oe[0].trim())[2]}for(var Be=l[Re].row[0];Be<=l[Re].row[1];Be++)for(var Ve=l[Re].column[0];Ve<=l[Re].column[1];Ve++)if(null!=t[Be]&&null!=t[Be][Ve]&&null!=t[Be][Ve].ct&&"d"==t[Be][Ve].ct.t){var He=Ko(Be,Ve,t);He>=Le&&He<=ze&&(Be+"_"+Ve in a?(a[Be+"_"+Ve].textColor=Se,a[Be+"_"+Ve].cellColor=Ie):a[Be+"_"+Ve]={textColor:Se,cellColor:Ie})}}else if("duplicateValue"==Ce){for(var Ue={},je=l[Re].row[0];je<=l[Re].row[1];je++)for(var Ge=l[Re].column[0];Ge<=l[Re].column[1];Ge++){var We=Ko(je,Ge,t);We in Ue||(Ue[We]=[]),Ue[We].push({r:je,c:Ge})}if("0"==Te)for(var Ye in Ue)if("null"!=Ye&&"undefined"!=Ye&&Ue[Ye].length>1)for(var Xe=0;Xect&&(ut+"_"+dt in a?(a[ut+"_"+dt].textColor=Se,a[ut+"_"+dt].cellColor=Ie):a[ut+"_"+dt]={textColor:Se,cellColor:Ie})}else if("SubAverage"==Ce)for(var ht=l[Re].row[0];ht<=l[Re].row[1];ht++)for(var mt=l[Re].column[0];mt<=l[Re].column[1];mt++){if(null!=t[ht]&&null!=t[ht][mt])Ko(ht,mt,t)0&&(xt="="+Ih.functionCopy(xt,"down",wt)),_t>0&&(xt="="+Ih.functionCopy(xt,"right",_t));var Ct=Ih.execfunction(xt)[1];"boolean"!=typeof Ct&&(Ct=!!Number(Ct)),Ct&&(bt+"_"+kt in a?(a[bt+"_"+kt].textColor=Se,a[bt+"_"+kt].cellColor=Ie):a[bt+"_"+kt]={textColor:Se,cellColor:Ie})}}}return a},updateItem:function(e,t,a){if(yu(ga.currentSheetIndex)){var r,n=_l(ga.currentSheetIndex),l=$.extend(!0,[],ga.luckysheetfile),i=this.getHistoryRules(l);if("delSheet"==e)r=[];else{var o={type:e,cellrange:t,format:a};(r=null==ga.luckysheetfile[n].luckysheet_conditionformat_save?[]:ga.luckysheetfile[n].luckysheet_conditionformat_save).push(o)}ga.luckysheetfile[n].luckysheet_conditionformat_save=r;var s=$.extend(!0,[],ga.luckysheetfile),c=this.getCurrentRules(s);this.ref(i,c),pd.allowUpdate&&pd.saveParam("all",ga.currentSheetIndex,r,{k:"luckysheet_conditionformat_save"})}},getHistoryRules:function(e){for(var t=[],a=0;a-1?a+="1pt ":a+="Thick"==e?"1.5pt ":"0.5pt ","Hair"==e?a+="double ":e.indexOf("DashDotDot")>-1?a+="dotted ":e.indexOf("DashDot")>-1?a+="dashed ":e.indexOf("Dotted")>-1?a+="dotted ":e.indexOf("Dashed")>-1?a+="dashed ":a+="solid ",a+t+";"},copy:function(e){var t=window.clipboardData;t||(t=e.originalEvent.clipboardData),ga.luckysheet_selection_range=[];for(var a=[],r=[],n=[],l=!1,i=!1,o=0;o0&&(g=Lc());for(var v="",y=rs.deepCopyFlowData(ga.flowdata),b="",k=0;k";for(var w=0;w':b+=''),_==r[0]&&(null==ga.config||null==ga.config.rowlen||null==ga.config.rowlen[x.toString()]?T+="height:19px;":T+="height:"+ga.config.rowlen[x.toString()]+"px;");var S=void 0;if(S=null!=y[x][_].ct&&null!=y[x][_].ct.fa&&y[x][_].ct.fa.match(/^(w|W)((0?)|(0\.0+))$/)?Ko(x,_,y):Ko(x,_,y,"m"),T+=xm.getStyleByCell(y,x,_),"object"==Cm(y[x][_])&&"mc"in y[x][_]){if(!("rs"in y[x][_].mc))continue;if(A='rowspan="'+y[x][_].mc.rs+'" colspan="'+y[x][_].mc.cs+'"',g&&g[x+"_"+_]){for(var I={color:{},style:{}},R={color:{},style:{}},$={color:{},style:{}},q={color:{},style:{}},D=x;D23){var U=null,j=null;for(var G in I.color)I.color[G]>=V/2&&(U=G);for(var W in I.style)I.style[W]>=V/2&&(j=W);null!=U&&null!=j&&(T+="border-left:"+this.getHtmlBorderStyle(j,U))}if(JSON.stringify(R).length>23){var Y=null,X=null;for(var K in R.color)R.color[K]>=V/2&&(Y=K);for(var Z in R.style)R.style[Z]>=V/2&&(X=Z);null!=Y&&null!=X&&(T+="border-right:"+this.getHtmlBorderStyle(X,Y))}if(JSON.stringify($).length>23){var Q=null,J=null;for(var ee in $.color)$.color[ee]>=H/2&&(Q=ee);for(var te in $.style)$.style[te]>=H/2&&(J=te);null!=Q&&null!=J&&(T+="border-top:"+this.getHtmlBorderStyle(J,Q))}if(JSON.stringify(q).length>23){var ae=null,re=null;for(var ne in q.color)q.color[ne]>=H/2&&(ae=ne);for(var le in q.style)q.style[le]>=H/2&&(re=le);null!=ae&&null!=re&&(T+="border-bottom:"+this.getHtmlBorderStyle(re,ae))}}}else if(g&&g[x+"_"+_]){if(g[x+"_"+_].l){var ie=g[x+"_"+_].l.style,oe=g[x+"_"+_].l.color;T+="border-left:"+this.getHtmlBorderStyle(ie,oe)}if(g[x+"_"+_].r){var se=g[x+"_"+_].r.style,ce=g[x+"_"+_].r.color;T+="border-right:"+this.getHtmlBorderStyle(se,ce)}if(g[x+"_"+_].b){var ue=g[x+"_"+_].b.style,de=g[x+"_"+_].b.color;T+="border-bottom:"+this.getHtmlBorderStyle(ue,de)}if(g[x+"_"+_].t){var he=g[x+"_"+_].t.style,me=g[x+"_"+_].t.color;T+="border-top:"+this.getHtmlBorderStyle(he,me)}}C=_m(C,{style:T,span:A}),null==S&&(S=Ko(x,_,y)),null==S&&(S=""),C+=S}else{var pe="";if(g&&g[x+"_"+_]){if(g[x+"_"+_].l){var fe=g[x+"_"+_].l.style,ge=g[x+"_"+_].l.color;pe+="border-left:"+this.getHtmlBorderStyle(fe,ge)}if(g[x+"_"+_].r){var ve=g[x+"_"+_].r.style,ye=g[x+"_"+_].r.color;pe+="border-right:"+this.getHtmlBorderStyle(ve,ye)}if(g[x+"_"+_].b){var be=g[x+"_"+_].b.style,ke=g[x+"_"+_].b.color;pe+="border-bottom:"+this.getHtmlBorderStyle(be,ke)}if(g[x+"_"+_].t){var xe=g[x+"_"+_].t.style,we=g[x+"_"+_].t.color;pe+="border-top:"+this.getHtmlBorderStyle(xe,we)}}C+="",x==a[0]&&(null==ga.config||null==ga.config.columnlen||null==ga.config.columnlen[_.toString()]?b+='':b+=''),_==r[0]&&(null==ga.config||null==ga.config.rowlen||null==ga.config.rowlen[x.toString()]?pe+="height:19px;":pe+="height:"+ga.config.rowlen[x.toString()]+"px;"),C=_m(C,{style:pe,span:""}),C+=""}v+=C+=""}}v+=""}}if(v=''+b+v+"
",ga.iscopyself=!0,t)return t.setData("Text",v),!1;var _e=document.createElement("input");_e.setAttribute("readonly","readonly"),_e.value=v,document.body.appendChild(_e),_e.select(),document.execCommand("Copy"),_e.style.display="none",document.body.removeChild(_e)},copybyformat:function(e,t){var a=window.clipboardData;a||(a=e.originalEvent&&e.originalEvent.clipboardData),ga.luckysheet_selection_range=[{row:ga.luckysheet_select_save[0].row,column:ga.luckysheet_select_save[0].column}],Eh();var r=t;if(ga.iscopyself=!0,a)return a.setData("Text",r),!1;var n=$("#luckysheet-copy-content");n.text(r),n.focus(),n.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout((function(){n.blur()}),10)},isPasteAction:!1,paste:function(e,t){var a=this;if(!1!==ga.allowEdit){var r=gn().drag,n=$("#luckysheet-copy-content");n.focus(),n.select(),setTimeout((function(){var l=n.html();l.indexOf("luckysheet_copy_action_table")>-1&&null!=ga.luckysheet_copy_save.copyRange&&ga.luckysheet_copy_save.copyRange.length>0?ga.luckysheet_paste_iscut?(ga.luckysheet_paste_iscut=!1,a.pasteHandlerOfCutPaste(ga.luckysheet_copy_save),a.clearcopy(e)):a.pasteHandlerOfCopyPaste(ga.luckysheet_copy_save):"btn"!=t?a.pasteHandler(l):wa()?alert(r.pasteMustKeybordAlert):fd.info(r.pasteMustKeybordAlertHTMLTitle,r.pasteMustKeybordAlertHTML)}),10)}},pasteHandler:function(e,t){if(fu(ga.luckysheet_select_save,ga.currentSheetIndex)&&!1!==ga.allowEdit)if(ga.luckysheet_select_save.length>1&&(wa()?alert("不能对多重选择区域执行此操作,请选择单个区域,然后再试"):fd.info('提示',"不能对多重选择区域执行此操作,请选择单个区域,然后再试")),"object"==Sa(e)){if(0==e.length)return;var a=$.extend(!0,{},ga.config);null==a.merge&&(a.merge={}),JSON.stringify(t).length>2&&null==a.borderInfo&&(a.borderInfo=[]);var r=e.length,n=e[0].length,l=ga.luckysheet_select_save[0].row[0],i=l+r-1,o=ga.luckysheet_select_save[0].column[0],s=o+n-1,c=!1;if(null!=a.merge&&(c=_a(a,l,i,o,s)),c)return void(wa()?alert("不能对合并单元格做部分更改"):fd.info('提示',"不能对合并单元格做部分更改"));var u=rs.deepCopyFlowData(ga.flowdata),d=i-u.length+1,h=s-u[0].length+1;(d>0||h>0)&&(u=Zo([].concat(u),d,h,!0)),null==a.rowlen&&(a.rowlen={});for(var m=!1,p={},f=l;f<=i;f++){var g=[].concat(u[f]),v=ga.defaultrowlen;null!=a.rowlen[f]&&(v=a.rowlen[f]);for(var y=o;y<=s;y++){"object"==Cm(g[y])&&"mc"in g[y]&&("rs"in g[y].mc&&delete a.merge[g[y].mc.r+"_"+g[y].mc.c],delete g[y].mc);var b=null;if(null!=e[f-l]&&null!=e[f-l][y-o]&&(b=e[f-l][y-o]),g[y]=$.extend(!0,{},b),null!=b&&"mc"in g[y]&&(null!=g[y].mc.rs?(g[y].mc.r=f,g[y].mc.c=y,a.merge[g[y].mc.r+"_"+g[y].mc.c]=g[y].mc,p[b.mc.r+"_"+b.mc.c]=[g[y].mc.r,g[y].mc.c]):g[y]={mc:{r:p[b.mc.r+"_"+b.mc.c][0],c:p[b.mc.r+"_"+b.mc.c][1]}}),t[f-l+"_"+(y-o)]){var k={rangeType:"cell",value:{row_index:f,col_index:y,l:t[f-l+"_"+(y-o)].l,r:t[f-l+"_"+(y-o)].r,t:t[f-l+"_"+(y-o)].t,b:t[f-l+"_"+(y-o)].b}};a.borderInfo.push(k)}var x=qm(g[y]),w=xm.getTextSize("田",x)[1];w>v&&(v=w,m=!0)}u[f]=g,v!=ga.defaultrowlen&&(a.rowlen[f]=v)}if(ga.luckysheet_select_save=[{row:[l,i],column:[o,s]}],d>0||h>0||m){var _={cfg:a,RowlChange:!0};id(u,ga.luckysheet_select_save,_)}else{var C={cfg:a};id(u,ga.luckysheet_select_save,C),Rh()}}else{for(var T=[],A=(e=e.replace(/\r/g,"")).split("\n"),S=A[0].split("\t").length,I=0;I提示',"不能对合并单元格做部分更改"));var P=D+E-R.length,z=F+M-R[0].length;(P>0||z>0)&&(R=Zo([].concat(R),P,z,!0));for(var L=0;L0&&(V.f="",Ih.delFunctionGroup(L+D,B+F,ga.currentSheetIndex));else{var U={},j=xs(H);U.v=j[2],U.ct=j[1],U.m=j[0],O[B+F]=U}}R[L+D]=O}if(q.row=[D,D+E-1],q.column=[F,F+M-1],P>0||z>0){id(R,ga.luckysheet_select_save,{RowlChange:!0})}else id(R,ga.luckysheet_select_save),Rh()}},pasteHandlerOfCutPaste:function(e){if(fu(ga.luckysheet_select_save,ga.currentSheetIndex)&&!1!==ga.allowEdit){var t=$.extend(!0,{},ga.config);null==t.merge&&(t.merge={});var a=e.HasMC,r=e.RowlChange,n=e.dataSheetIndex,l=e.copyRange[0].row[0],i=e.copyRange[0].row[1],o=e.copyRange[0].column[0],s=e.copyRange[0].column[1],c=$.extend(!0,[],Wo({row:[l,i],column:[o,s]},n)),u=c.length,d=c[0].length,h=ga.luckysheet_select_save[ga.luckysheet_select_save.length-1],m=h.row_focus,p=m+u-1,f=h.column_focus,g=f+d-1,v=!1;if(null!=t.merge&&(v=_a(t,m,p,f,g)),v)wa()?alert("不能对合并单元格做部分更改"):fd.info('提示',"不能对合并单元格做部分更改");else{var y=rs.deepCopyFlowData(ga.flowdata),b=u+m-y.length,k=d+f-y[0].length;(b>0||k>0)&&(y=Zo([].concat(y),b,k,!0));var x=Lc(n),w=$.extend(!0,{},ga.luckysheetfile[_l(n)].dataVerification),_=$.extend(!0,{},ga.luckysheetfile[_l(ga.currentSheetIndex)].dataVerification);if(ga.currentSheetIndex==n){for(var C=l;C<=i;C++)for(var T=o;T<=s;T++){var A=y[C][T];"object"==Cm(A)&&"mc"in A&&("rs"in A.mc&&delete t.merge[A.mc.r+"_"+A.mc.c],delete A.mc),y[C][T]=null,delete _[C+"_"+T]}if(t.borderInfo&&t.borderInfo.length>0){for(var S=[],I=0;I=l&&E<=i&&M>=o&&M<=s||S.push(t.borderInfo[I])}}t.borderInfo=S}}for(var N,P,z={},L=m;L<=p;L++){for(var O=[].concat(y[L]),B=f;B<=g;B++){if(x[l+L-m+"_"+(o+B-f)]){var V={rangeType:"cell",value:{row_index:L,col_index:B,l:x[l+L-m+"_"+(o+B-f)].l,r:x[l+L-m+"_"+(o+B-f)].r,t:x[l+L-m+"_"+(o+B-f)].t,b:x[l+L-m+"_"+(o+B-f)].b}};null==t.borderInfo&&(t.borderInfo=[]),t.borderInfo.push(V)}else if(x[L+"_"+B]){var H={rangeType:"cell",value:{row_index:L,col_index:B,l:null,r:null,t:null,b:null}};null==t.borderInfo&&(t.borderInfo=[]),t.borderInfo.push(H)}w[l+L-m+"_"+(o+B-f)]&&(_[L+"_"+B]=w[l+L-m+"_"+(o+B-f)]),"object"==Cm(O[B])&&"mc"in O[B]&&("rs"in O[B].mc&&delete t.merge[O[B].mc.r+"_"+O[B].mc.c],delete O[B].mc);var U=null;null!=c[L-m]&&null!=c[L-m][B-f]&&(U=c[L-m][B-f]),O[B]=$.extend(!0,{},U),null!=U&&a&&"mc"in O[B]&&(null!=O[B].mc.rs?(O[B].mc.r=L,O[B].mc.c=B,t.merge[O[B].mc.r+"_"+O[B].mc.c]=O[B].mc,z[U.mc.r+"_"+U.mc.c]=[O[B].mc.r,O[B].mc.c]):O[B]={mc:{r:z[U.mc.r+"_"+U.mc.c][0],c:z[U.mc.r+"_"+U.mc.c][1]}})}y[L]=O}if(h.row=[m,p],h.column=[f,g],r&&(ga.currentSheetIndex!=n||(t=qs(y,l,i,t)),t=qs(y,m,p,t)),ga.currentSheetIndex!=n){var j=$.extend(!0,[],ga.luckysheetfile[_l(n)].data),G=$.extend(!0,{},ga.luckysheetfile[_l(n)].config),W=$.extend(!0,[],j),Y=$.extend(!0,{},G);null==Y.merge&&(Y.merge={});for(var X=l;X<=i;X++)for(var K=o;K<=s;K++){var Z=W[X][K];"object"==Cm(Z)&&"mc"in Z&&("rs"in Z.mc&&delete Y.merge[Z.mc.r+"_"+Z.mc.c],delete Z.mc),W[X][K]=null}if(r&&(Y=qs(W,l,i,Y)),Y.borderInfo&&Y.borderInfo.length>0){for(var Q=[],J=0;J=l&&ne<=i&&le>=o&&le<=s||Q.push(Y.borderInfo[J])}}Y.borderInfo=Q}var ie=$.extend(!0,[],ga.luckysheetfile[_l(n)].luckysheet_conditionformat_save),oe=$.extend(!0,[],ie),se=[];if(null!=oe&&oe.length>0)for(var ce=0;ce0&&(he=he.concat(fe))}if(oe[ce].cellrange=de,he.length>0){var ge=$.extend(!0,{},oe[ce]);ge.cellrange=he,se.push(ge)}}var ve=$.extend(!0,[],ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save),ye=$.extend(!0,[],ve);se.length>0&&(ye=ye.concat(se));for(var be=l;be<=i;be++)for(var ke=o;ke<=s;ke++)delete w[be+"_"+ke];N={sheetIndex:n,data:j,curData:W,config:G,curConfig:Y,cdformat:ie,curCdformat:oe,dataVerification:$.extend(!0,{},ga.luckysheetfile[_l(n)].dataVerification),curDataVerification:w,range:{row:[l,i],column:[o,s]}},P={sheetIndex:ga.currentSheetIndex,data:ga.flowdata,curData:y,config:$.extend(!0,{},ga.config),curConfig:t,cdformat:ve,curCdformat:ye,dataVerification:$.extend(!0,{},ga.luckysheetfile[_l(ga.currentSheetIndex)].dataVerification),curDataVerification:_,range:{row:[m,p],column:[f,g]}}}else{var xe=$.extend(!0,[],ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save),we=$.extend(!0,[],xe);if(null!=we&&we.length>0)for(var _e=0;_e0||k>0||r)}}},pasteHandlerOfCopyPaste:function(e){if(fu(ga.luckysheet_select_save,ga.currentSheetIndex)){var t=$.extend(!0,{},ga.config);null==t.merge&&(t.merge={});for(var a=e.HasMC,r=e.RowlChange,n=e.dataSheetIndex,l=e.copyRange[0].row[0],i=e.copyRange[0].row[1],o=e.copyRange[0].column[0],s=e.copyRange[0].column[1],c=[],u=!1,d=function(t){var a=Wo({row:e.copyRange[t].row,column:e.copyRange[t].column},n);e.copyRange.length>1?l==e.copyRange[1].row[0]&&i==e.copyRange[1].row[1]?(a=a[0].map((function(e,t){return a.map((function(e){return e[t]}))})),c=c.concat(a),u=!0):o==e.copyRange[1].column[0]&&s==e.copyRange[1].column[1]&&(c=c.concat(a)):c=a},h=0;h1)for(var p=0;p提示',"不能对合并单元格做部分更改");else{var C=(k-b+1)/g,T=(w-x+1)/v,A=rs.deepCopyFlowData(ga.flowdata),S=g+b-A.length,I=v+x-A[0].length;(S>0||I>0)&&(A=Zo([].concat(A),S,I,!0));for(var R=Lc(n),q=$.extend(!0,{},ga.luckysheetfile[_l(n)].dataVerification),D=null,F=0,E=0,M=0,N=0,P=1;P<=C;P++)for(var z=1;z<=T;z++){N=b+P*g,M=x+z*v;for(var L=(F=b+(P-1)*g)-l,O=(E=x+(z-1)*v)-o,B={},V=F;V0&&(Y="="+Ih.functionCopy(Y,"down",L)),L<0&&(Y="="+Ih.functionCopy(Y,"up",Math.abs(L))),O>0&&(Y="="+Ih.functionCopy(Y,"right",O)),O<0&&(Y="="+Ih.functionCopy(Y,"left",Math.abs(O)));var X=Ih.execfunction(Y,V,U,void 0,!0);null!=W.spl?(W.f=X[2],W.v=X[1],W.spl=X[3].data):(W.f=X[2],W.v=X[1],null!=W.ct&&null!=W.ct.fa&&(W.m=ws(W.ct.fa,X[1])))}H[U]=$.extend(!0,{},W),null!=W&&a&&"mc"in H[U]&&(null!=H[U].mc.rs?(H[U].mc.r=V,H[U].mc.c=U,t.merge[H[U].mc.r+"_"+H[U].mc.c]=H[U].mc,B[W.mc.r+"_"+W.mc.c]=[H[U].mc.r,H[U].mc.c]):H[U]={mc:{r:B[W.mc.r+"_"+W.mc.c][0],c:B[W.mc.r+"_"+W.mc.c][1]}})}A[V]=H}}var K=null;if(1==e.copyRange.length){var Z=ga.luckysheetfile[_l(n)],Q=ga.luckysheetfile[_l(ga.currentSheetIndex)],J=$.extend(!0,[],Z.luckysheet_conditionformat_save);if(null!=J&&J.length>0){K=$.extend(!0,[],Q.luckysheet_conditionformat_save);for(var ee=0;ee0&&(ae=ae.concat(ie))}}ae.length>0&&(J[ee].cellrange=ae,K.push(J[ee]))}}}if(y.row=[b,k],y.column=[x,w],r||S>0||I>0){var oe={cfg:t=qs(A,b,k,t),RowlChange:!0,cdformat:K,dataVerification:D};id(A,ga.luckysheet_select_save,oe)}else{var se={cfg:t,cdformat:K,dataVerification:D};id(A,ga.luckysheet_select_save,se),Rh()}}}},pasteHandlerOfPaintModel:function(e){if(fu(ga.luckysheet_select_save,ga.currentSheetIndex)){var t=$.extend(!0,{},ga.config);null==t.merge&&(t.merge={});var a=e.HasMC,r=e.RowlChange,n=e.dataSheetIndex,l=e.copyRange[0].row[0],i=e.copyRange[0].row[1],o=e.copyRange[0].column[0],s=e.copyRange[0].column[1],c=$.extend(!0,[],Wo({row:[l,i],column:[o,s]},n)),u=ga.luckysheet_select_save[ga.luckysheet_select_save.length-1],d=u.row[0],h=u.row[1],m=u.column[0],p=u.column[1],f=c.length,g=c[0].length;if(d==h&&m==p){var v=!1;if(null!=t.merge&&(v=_a(t,d,d+f-1,m,m+g-1)),v)return void(wa()?alert("不能对合并单元格做部分更改"):fd.info('提示',"不能对合并单元格做部分更改"));h=d+f-1,p=m+g-1}for(var y=Math.ceil((h-d+1)/f),b=Math.ceil((p-m+1)/g),k=rs.deepCopyFlowData(ga.flowdata),x=k[0].length,w=k.length,_=Lc(n),C=$.extend(!0,{},ga.luckysheetfile[_l(n)].dataVerification),T=null,A=0,S=0,I=0,R=0,q=1;q<=y;q++)for(var D=1;D<=b;D++){S=m+(D-1)*g,(R=d+q*f>w?w:d+q*f)>h+1&&(R=h+1),(I=m+D*g>x?x:m+D*g)>p+1&&(I=p+1);for(var F={},E=A=d+(q-1)*f;E=R&&(M[N].mc.rs=R-E),M[N].mc.c=N,M[N].mc.cs+N>=I&&(M[N].mc.cs=I-N),t.merge[M[N].mc.r+"_"+M[N].mc.c]=M[N].mc,F[L.mc.r+"_"+L.mc.c]=[M[N].mc.r,M[N].mc.c]):M[N]={mc:{r:F[L.mc.r+"_"+L.mc.c][0],c:F[L.mc.r+"_"+L.mc.c][1]}}),null!=M[N].v&&null!=L.ct&&null!=L.ct.fa)){var O=ws(L.ct.fa,M[N].v);M[N].m=O}}k[E]=M}}var B=null,V=$.extend(!0,[],ga.luckysheetfile[_l(n)].luckysheet_conditionformat_save);if(null!=V&&V.length>0){B=$.extend(!0,[],ga.luckysheetfile[_l(ga.currentSheetIndex)].luckysheet_conditionformat_save);for(var H=0;H0&&(j=j.concat(W))}j.length>0&&(V[H].cellrange=[{row:[d,h],column:[m,p]}],B.push(V[H]))}}if(u.row=[d,h],u.column=[m,p],r){var Y={cfg:t=qs(k,d,h,t),RowlChange:!0,cdformat:B,dataVerification:T};id(k,ga.luckysheet_select_save,Y)}else{var X={cfg:t,cdformat:B,dataVerification:T};id(k,ga.luckysheet_select_save,X),Rh()}}},matchcopy:function(e,t){var a,r,n=[],l=[];if("object"==Sa(e))n=e;else{n=e.split("\n");for(var i=0;i